vote_on_proposal

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'
)
Parameters
  • NetworkId (string) --

    [REQUIRED]

    The unique identifier of the network.

  • ProposalId (string) --

    [REQUIRED]

    The unique identifier of the proposal.

  • VoterMemberId (string) --

    [REQUIRED]

    The unique identifier of the member casting the vote.

  • Vote (string) --

    [REQUIRED]

    The value of the vote.

Return type

dict

Returns

Response Syntax

{}

Response Structure

  • (dict) --

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