ManagedBlockchain / Client / list_proposal_votes
list_proposal_votes#
- ManagedBlockchain.Client.list_proposal_votes(**kwargs)#
Returns the list of votes for a specified proposal, including the value of each vote and the unique identifier of the member that cast the vote.
Applies only to Hyperledger Fabric.
See also: AWS API Documentation
Request Syntax
response = client.list_proposal_votes( NetworkId='string', ProposalId='string', MaxResults=123, NextToken='string' )
- Parameters:
NetworkId (string) –
[REQUIRED]
The unique identifier of the network.
ProposalId (string) –
[REQUIRED]
The unique identifier of the proposal.
MaxResults (integer) – The maximum number of votes to return.
NextToken (string) – The pagination token that indicates the next set of results to retrieve.
- Return type:
dict
- Returns:
Response Syntax
{ 'ProposalVotes': [ { 'Vote': 'YES'|'NO', 'MemberName': 'string', 'MemberId': 'string' }, ], 'NextToken': 'string' }
Response Structure
(dict) –
ProposalVotes (list) –
The list of votes.
(dict) –
Properties of an individual vote that a member cast for a proposal.
Applies only to Hyperledger Fabric.
Vote (string) –
The vote value, either
YES
orNO
.MemberName (string) –
The name of the member that cast the vote.
MemberId (string) –
The unique identifier of the member that cast the vote.
NextToken (string) –
The pagination token that indicates the next set of results to retrieve.
Exceptions