Paws::ManagedBlockchain::CreateProposal - Arguments for method CreateProposal on Paws::ManagedBlockchain
This class represents the parameters used for calling the method CreateProposal on the Amazon Managed Blockchain service. Use the attributes of this class as arguments to method CreateProposal.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateProposal.
my $managedblockchain = Paws->service('ManagedBlockchain'); my $CreateProposalOutput = $managedblockchain->CreateProposal( Actions => { Invitations => [ { Principal => 'MyPrincipalString', }, ... ], # OPTIONAL Removals => [ { MemberId => 'MyResourceIdString', # min: 1, max: 32 }, ... ], # OPTIONAL }, ClientRequestToken => 'MyClientRequestTokenString', MemberId => 'MyResourceIdString', NetworkId => 'MyResourceIdString', Description => 'MyDescriptionString', # OPTIONAL Tags => { 'MyTagKey' => 'MyTagValue', # key: min: 1, max: 128, value: max: 256 }, # OPTIONAL ); # Results: my $ProposalId = $CreateProposalOutput->ProposalId; # Returns a L<Paws::ManagedBlockchain::CreateProposalOutput> object.
Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/managedblockchain/CreateProposal
The type of actions proposed, such as inviting a member or removing a member. The types of Actions in a proposal are mutually exclusive. For example, a proposal with Invitations actions cannot also contain Removals actions.
Actions
Invitations
Removals
A unique, case-sensitive identifier that you provide to ensure the idempotency of the operation. An idempotent operation completes no more than one time. This identifier is required only if you make a service request directly using an HTTP client. It is generated automatically if you use an AWS SDK or the AWS CLI.
A description for the proposal that is visible to voting members, for example, "Proposal to add Example Corp. as member."
The unique identifier of the member that is creating the proposal. This identifier is especially useful for identifying the member making the proposal when multiple members exist in a single AWS account.
The unique identifier of the network for which the proposal is made.
Tags to assign to the proposal. Each tag consists of a key and optional value.
When specifying tags during creation, you can specify multiple key-value pairs in a single request, with an overall maximum of 50 tags added to each resource. If the proposal is for a network invitation, the invitation inherits the tags added to the proposal.
For more information about tags, see Tagging Resources (https://docs.aws.amazon.com/managed-blockchain/latest/ethereum-dev/tagging-resources.html) in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources (https://docs.aws.amazon.com/managed-blockchain/latest/hyperledger-fabric-dev/tagging-resources.html) in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.
This class forms part of Paws, documenting arguments for method CreateProposal in Paws::ManagedBlockchain
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
To install Paws, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Paws
CPAN shell
perl -MCPAN -e shell install Paws
For more information on module installation, please visit the detailed CPAN module installation guide.