amazonka-managedblockchain-2.0: Amazon Managed Blockchain SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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 Amazon Web Services 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
FromJSON ProposalActions Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.ProposalActions

ToJSON 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 #

Read ProposalActions Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.ProposalActions

Show ProposalActions Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.ProposalActions

NFData ProposalActions Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.ProposalActions

Methods

rnf :: ProposalActions -> () #

Eq ProposalActions Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.ProposalActions

Hashable 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" "amazonka-managedblockchain-2.0-7ETEoTxOH0EDuOBkhEvxdC" '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 Amazon Web Services 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 Amazon Web Services 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.