| Copyright | (c) 2013-2021 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
Amazonka.ManagedBlockChain.Types.ProposalSummary
Description
Synopsis
- data ProposalSummary = ProposalSummary' {}
- newProposalSummary :: ProposalSummary
- proposalSummary_status :: Lens' ProposalSummary (Maybe ProposalStatus)
- proposalSummary_arn :: Lens' ProposalSummary (Maybe Text)
- proposalSummary_proposedByMemberId :: Lens' ProposalSummary (Maybe Text)
- proposalSummary_proposalId :: Lens' ProposalSummary (Maybe Text)
- proposalSummary_proposedByMemberName :: Lens' ProposalSummary (Maybe Text)
- proposalSummary_expirationDate :: Lens' ProposalSummary (Maybe UTCTime)
- proposalSummary_creationDate :: Lens' ProposalSummary (Maybe UTCTime)
- proposalSummary_description :: Lens' ProposalSummary (Maybe Text)
Documentation
data ProposalSummary Source #
Properties of a proposal.
Applies only to Hyperledger Fabric.
See: newProposalSummary smart constructor.
Constructors
| ProposalSummary' | |
Fields
| |
Instances
newProposalSummary :: ProposalSummary Source #
Create a value of ProposalSummary 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:status:ProposalSummary', proposalSummary_status - 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 sufficientYESvotes among members according to theVotingPolicyspecified for theNetwork. The specified proposal actions are carried out.REJECTED- The proposal was rejected with insufficientYESvotes among members according to theVotingPolicyspecified for theNetwork. The specifiedProposalActionsare not carried out.EXPIRED- Members did not cast the number of votes required to determine the proposal outcome before the proposal expired. The specifiedProposalActionsare not carried out.ACTION_FAILED- One or more of the specifiedProposalActionsin a proposal that was approved could not be completed because of an error.
$sel:arn:ProposalSummary', proposalSummary_arn - The Amazon Resource Name (ARN) of the proposal. For more information
about ARNs and their format, see
Amazon Resource Names (ARNs)
in the AWS General Reference.
$sel:proposedByMemberId:ProposalSummary', proposalSummary_proposedByMemberId - The unique identifier of the member that created the proposal.
$sel:proposalId:ProposalSummary', proposalSummary_proposalId - The unique identifier of the proposal.
$sel:proposedByMemberName:ProposalSummary', proposalSummary_proposedByMemberName - The name of the member that created the proposal.
$sel:expirationDate:ProposalSummary', proposalSummary_expirationDate - 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.
$sel:creationDate:ProposalSummary', proposalSummary_creationDate - The date and time that the proposal was created.
$sel:description:ProposalSummary', proposalSummary_description - The description of the proposal.
proposalSummary_status :: Lens' ProposalSummary (Maybe ProposalStatus) Source #
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 sufficientYESvotes among members according to theVotingPolicyspecified for theNetwork. The specified proposal actions are carried out.REJECTED- The proposal was rejected with insufficientYESvotes among members according to theVotingPolicyspecified for theNetwork. The specifiedProposalActionsare not carried out.EXPIRED- Members did not cast the number of votes required to determine the proposal outcome before the proposal expired. The specifiedProposalActionsare not carried out.ACTION_FAILED- One or more of the specifiedProposalActionsin a proposal that was approved could not be completed because of an error.
proposalSummary_arn :: Lens' ProposalSummary (Maybe Text) Source #
The Amazon Resource Name (ARN) of the proposal. For more information about ARNs and their format, see Amazon Resource Names (ARNs) in the AWS General Reference.
proposalSummary_proposedByMemberId :: Lens' ProposalSummary (Maybe Text) Source #
The unique identifier of the member that created the proposal.
proposalSummary_proposalId :: Lens' ProposalSummary (Maybe Text) Source #
The unique identifier of the proposal.
proposalSummary_proposedByMemberName :: Lens' ProposalSummary (Maybe Text) Source #
The name of the member that created the proposal.
proposalSummary_expirationDate :: Lens' ProposalSummary (Maybe UTCTime) Source #
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.
proposalSummary_creationDate :: Lens' ProposalSummary (Maybe UTCTime) Source #
The date and time that the proposal was created.
proposalSummary_description :: Lens' ProposalSummary (Maybe Text) Source #
The description of the proposal.