libZSservicesZSamazonka-managedblockchainZSamazonka-managedblockchain
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.ManagedBlockChain.Types.ProposalActions

Description

 
Synopsis

Documentation

data ProposalActions Source #

The actions to carry out if a proposal is APPROVED.

Applies only to Hyperledger Fabric.

See: newProposalActions smart constructor.

Constructors

ProposalActions' 

Fields

  • invitations :: Maybe [InviteAction]

    The actions to perform for an APPROVED proposal to invite an AWS account to create a member and join the network.

  • removals :: Maybe [RemoveAction]

    The actions to perform for an APPROVED proposal to remove a member from the network, which deletes the member and all associated member resources from the network.

Instances

Instances details
Eq ProposalActions Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.ProposalActions

Read ProposalActions Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.ProposalActions

Show ProposalActions Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.ProposalActions

Generic ProposalActions Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.ProposalActions

Associated Types

type Rep ProposalActions :: Type -> Type #

NFData ProposalActions Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.ProposalActions

Methods

rnf :: ProposalActions -> () #

Hashable ProposalActions Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.ProposalActions

ToJSON ProposalActions Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.ProposalActions

FromJSON ProposalActions Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.ProposalActions

type Rep ProposalActions Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.ProposalActions

type Rep ProposalActions = D1 ('MetaData "ProposalActions" "Amazonka.ManagedBlockChain.Types.ProposalActions" "libZSservicesZSamazonka-managedblockchainZSamazonka-managedblockchain" 'False) (C1 ('MetaCons "ProposalActions'" 'PrefixI 'True) (S1 ('MetaSel ('Just "invitations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [InviteAction])) :*: S1 ('MetaSel ('Just "removals") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [RemoveAction]))))

newProposalActions :: ProposalActions Source #

Create a value of ProposalActions with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:invitations:ProposalActions', proposalActions_invitations - The actions to perform for an APPROVED proposal to invite an AWS account to create a member and join the network.

$sel:removals:ProposalActions', proposalActions_removals - The actions to perform for an APPROVED proposal to remove a member from the network, which deletes the member and all associated member resources from the network.

proposalActions_invitations :: Lens' ProposalActions (Maybe [InviteAction]) Source #

The actions to perform for an APPROVED proposal to invite an AWS account to create a member and join the network.

proposalActions_removals :: Lens' ProposalActions (Maybe [RemoveAction]) Source #

The actions to perform for an APPROVED proposal to remove a member from the network, which deletes the member and all associated member resources from the network.