ManagedBlockchain.Client.
vote_on_proposal
(**kwargs)¶Casts a vote for a specified ProposalId
on behalf of a member. The member to vote as, specified by VoterMemberId
, must be in the same Amazon Web Services account as the principal that calls the action.
Applies only to Hyperledger Fabric.
See also: AWS API Documentation
Request Syntax
response = client.vote_on_proposal(
NetworkId='string',
ProposalId='string',
VoterMemberId='string',
Vote='YES'|'NO'
)
[REQUIRED]
The unique identifier of the network.
[REQUIRED]
The unique identifier of the proposal.
[REQUIRED]
The unique identifier of the member casting the vote.
[REQUIRED]
The value of the vote.
dict
Response Syntax
{}
Response Structure
Exceptions
ManagedBlockchain.Client.exceptions.InvalidRequestException
ManagedBlockchain.Client.exceptions.IllegalActionException
ManagedBlockchain.Client.exceptions.AccessDeniedException
ManagedBlockchain.Client.exceptions.ResourceNotFoundException
ManagedBlockchain.Client.exceptions.ThrottlingException
ManagedBlockchain.Client.exceptions.InternalServiceErrorException