list_proposal_votes
async
¶
list_proposal_votes(
network_id: ResourceIdString,
proposal_id: ResourceIdString,
*,
config_overrides: Optional[AsyncManagedBlockchainClientConfig] = 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/async_managed_blockchain.py
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 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 | |