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'
)
[REQUIRED]
The unique identifier of the network.
[REQUIRED]
The unique identifier of the proposal.
dict
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
or NO
.
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
ManagedBlockchain.Client.exceptions.InvalidRequestException
ManagedBlockchain.Client.exceptions.AccessDeniedException
ManagedBlockchain.Client.exceptions.ThrottlingException
ManagedBlockchain.Client.exceptions.InternalServiceErrorException