proposal_votes
Creates, updates, deletes, gets or lists a proposal_votes resource.
Overview
| Name | proposal_votes |
| Type | Resource |
| Id | aws.managedblockchain.proposal_votes |
Fields
The following fields are returned by SELECT queries:
- list_proposal_votes
| Name | Datatype | Description |
|---|---|---|
next_token | string | The pagination token that indicates the next set of results to retrieve. |
proposal_votes | array | The list of votes. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_proposal_votes | select | network_id, proposal_id, region | maxResults, nextToken | 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
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
network_id | string | The unique identifier of the network. |
proposal_id | string | The unique identifier of the proposal. |
region | string | AWS region (default: us-east-1) |
maxResults | integer | The maximum number of votes to return. |
nextToken | string | The pagination token that indicates the next set of results to retrieve. |
SELECT examples
- list_proposal_votes
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.
SELECT
next_token,
proposal_votes
FROM aws.managedblockchain.proposal_votes
WHERE network_id = '{{ network_id }}' -- required
AND proposal_id = '{{ proposal_id }}' -- required
AND region = '{{ region }}' -- required
AND maxResults = '{{ maxResults }}'
AND nextToken = '{{ nextToken }}'
;