NAME
Paws::ManagedBlockchain::Proposal
USAGE
This class represents one of two things:
Arguments in a call to a service
Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.
As an example, if Att1 is expected to be a Paws::ManagedBlockchain::Proposal object:
$service_obj->Method(Att1 => { Actions => $value, ..., YesVoteCount => $value });
Results returned from an API call
Use accessors for each attribute. If Att1 is expected to be an Paws::ManagedBlockchain::Proposal object:
$result = $service_obj->Method(...);
$result->Att1->Actions
DESCRIPTION
Properties of a proposal on a Managed Blockchain network.
Applies only to Hyperledger Fabric.
ATTRIBUTES
Actions => Paws::ManagedBlockchain::ProposalActions
The actions to perform on the network if the proposal is APPROVED
.
Arn => Str
The Amazon Resource Name (ARN) of the proposal. For more information about ARNs and their format, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) in the AWS General Reference.
CreationDate => Str
The date and time that the proposal was created.
Description => Str
The description of the proposal.
ExpirationDate => Str
The date and time that the proposal expires. This is the CreationDate
plus the ProposalDurationInHours
that is specified in the ProposalThresholdPolicy
. After this date and time, if members have not cast enough votes to determine the outcome according to the voting policy, the proposal is EXPIRED
and Actions
are not carried out.
NetworkId => Str
The unique identifier of the network for which the proposal is made.
NoVoteCount => Int
The current total of NO
votes cast on the proposal by members.
OutstandingVoteCount => Int
The number of votes remaining to be cast on the proposal by members. In other words, the number of members minus the sum of YES
votes and NO
votes.
ProposalId => Str
The unique identifier of the proposal.
ProposedByMemberId => Str
The unique identifier of the member that created the proposal.
ProposedByMemberName => Str
The name of the member that created the proposal.
Status => Str
The status of the proposal. Values are as follows:
IN_PROGRESS
- The proposal is active and open for member voting.APPROVED
- The proposal was approved with sufficientYES
votes among members according to theVotingPolicy
specified for theNetwork
. The specified proposal actions are carried out.REJECTED
- The proposal was rejected with insufficientYES
votes among members according to theVotingPolicy
specified for theNetwork
. The specifiedProposalActions
are not carried out.EXPIRED
- Members did not cast the number of votes required to determine the proposal outcome before the proposal expired. The specifiedProposalActions
are not carried out.ACTION_FAILED
- One or more of the specifiedProposalActions
in a proposal that was approved could not be completed because of an error. TheACTION_FAILED
status occurs even if only one ProposalAction fails and other actions are successful.
Tags => Paws::ManagedBlockchain::OutputTagMap
Tags assigned to the proposal. Each tag consists of a key and optional value.
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.
YesVoteCount => Int
The current total of YES
votes cast on the proposal by members.
SEE ALSO
This class forms part of Paws, describing an object used in Paws::ManagedBlockchain
BUGS and CONTRIBUTIONS
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