libZSservicesZSamazonka-managedblockchainZSamazonka-managedblockchain
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.ManagedBlockChain.ListProposalVotes

Description

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.

Synopsis

Creating a Request

data ListProposalVotes Source #

See: newListProposalVotes smart constructor.

Constructors

ListProposalVotes' 

Fields

Instances

Instances details
Eq ListProposalVotes Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.ListProposalVotes

Read ListProposalVotes Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.ListProposalVotes

Show ListProposalVotes Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.ListProposalVotes

Generic ListProposalVotes Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.ListProposalVotes

Associated Types

type Rep ListProposalVotes :: Type -> Type #

NFData ListProposalVotes Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.ListProposalVotes

Methods

rnf :: ListProposalVotes -> () #

Hashable ListProposalVotes Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.ListProposalVotes

AWSRequest ListProposalVotes Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.ListProposalVotes

Associated Types

type AWSResponse ListProposalVotes #

ToHeaders ListProposalVotes Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.ListProposalVotes

ToPath ListProposalVotes Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.ListProposalVotes

ToQuery ListProposalVotes Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.ListProposalVotes

type Rep ListProposalVotes Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.ListProposalVotes

type Rep ListProposalVotes = D1 ('MetaData "ListProposalVotes" "Amazonka.ManagedBlockChain.ListProposalVotes" "libZSservicesZSamazonka-managedblockchainZSamazonka-managedblockchain" 'False) (C1 ('MetaCons "ListProposalVotes'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))) :*: (S1 ('MetaSel ('Just "networkId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "proposalId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse ListProposalVotes Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.ListProposalVotes

newListProposalVotes Source #

Create a value of ListProposalVotes with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:nextToken:ListProposalVotes', listProposalVotes_nextToken - The pagination token that indicates the next set of results to retrieve.

$sel:maxResults:ListProposalVotes', listProposalVotes_maxResults - The maximum number of votes to return.

$sel:networkId:ListProposalVotes', listProposalVotes_networkId - The unique identifier of the network.

$sel:proposalId:ListProposalVotes', listProposalVotes_proposalId - The unique identifier of the proposal.

Request Lenses

listProposalVotes_nextToken :: Lens' ListProposalVotes (Maybe Text) Source #

The pagination token that indicates the next set of results to retrieve.

listProposalVotes_maxResults :: Lens' ListProposalVotes (Maybe Natural) Source #

The maximum number of votes to return.

listProposalVotes_networkId :: Lens' ListProposalVotes Text Source #

The unique identifier of the network.

listProposalVotes_proposalId :: Lens' ListProposalVotes Text Source #

The unique identifier of the proposal.

Destructuring the Response

data ListProposalVotesResponse Source #

See: newListProposalVotesResponse smart constructor.

Constructors

ListProposalVotesResponse' 

Fields

Instances

Instances details
Eq ListProposalVotesResponse Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.ListProposalVotes

Read ListProposalVotesResponse Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.ListProposalVotes

Show ListProposalVotesResponse Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.ListProposalVotes

Generic ListProposalVotesResponse Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.ListProposalVotes

Associated Types

type Rep ListProposalVotesResponse :: Type -> Type #

NFData ListProposalVotesResponse Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.ListProposalVotes

type Rep ListProposalVotesResponse Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.ListProposalVotes

type Rep ListProposalVotesResponse = D1 ('MetaData "ListProposalVotesResponse" "Amazonka.ManagedBlockChain.ListProposalVotes" "libZSservicesZSamazonka-managedblockchainZSamazonka-managedblockchain" 'False) (C1 ('MetaCons "ListProposalVotesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "proposalVotes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [VoteSummary])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListProposalVotesResponse Source #

Create a value of ListProposalVotesResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:nextToken:ListProposalVotes', listProposalVotesResponse_nextToken - The pagination token that indicates the next set of results to retrieve.

$sel:proposalVotes:ListProposalVotesResponse', listProposalVotesResponse_proposalVotes - The list of votes.

$sel:httpStatus:ListProposalVotesResponse', listProposalVotesResponse_httpStatus - The response's http status code.

Response Lenses

listProposalVotesResponse_nextToken :: Lens' ListProposalVotesResponse (Maybe Text) Source #

The pagination token that indicates the next set of results to retrieve.