Skip to content

/AWS1/CL_MBC=>VOTEONPROPOSAL()

About VoteOnProposal

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.

Method Signature

IMPORTING

Required arguments:

IV_NETWORKID TYPE /AWS1/MBCRESOURCEIDSTRING /AWS1/MBCRESOURCEIDSTRING

The unique identifier of the network.

IV_PROPOSALID TYPE /AWS1/MBCRESOURCEIDSTRING /AWS1/MBCRESOURCEIDSTRING

The unique identifier of the proposal.

IV_VOTERMEMBERID TYPE /AWS1/MBCRESOURCEIDSTRING /AWS1/MBCRESOURCEIDSTRING

The unique identifier of the member casting the vote.

IV_VOTE TYPE /AWS1/MBCVOTEVALUE /AWS1/MBCVOTEVALUE

The value of the vote.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_MBCVOTEONPROPOSALOUT /AWS1/CL_MBCVOTEONPROPOSALOUT