list_proposal_votes
¶
list_proposal_votes(
network_id: ResourceIdString,
proposal_id: ResourceIdString,
*,
config_overrides: Optional[ManagedBlockchainClientConfig] = None,
max_results: Optional[ProposalListMaxResults] = None,
next_token: Optional[PaginationToken] = None,
) -> ListProposalVotesOutput
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.
Parameters:
-
network_id(ResourceIdString) –The unique identifier of the network.
-
proposal_id(ResourceIdString) –The unique identifier of the proposal.
-
max_results(Optional[ProposalListMaxResults], default:None) –The maximum number of votes to return.
-
next_token(Optional[PaginationToken], default:None) –The pagination token that indicates the next set of results to retrieve.
Raises:
-
AccessDeniedException–You don't have sufficient access to perform this action.
-
InternalServiceErrorException–The request processing has failed because of an unknown error, exception or failure.
-
InvalidRequestException–The action or operation requested is invalid. Verify that the action is typed correctly.
-
ThrottlingException–The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is creating resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources if possible.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_managedblockchain/_services/managed_blockchain.py
1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 | |