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.ListProposals

Description

Returns a list of proposals for the network.

Applies only to Hyperledger Fabric.

Synopsis

Creating a Request

data ListProposals Source #

See: newListProposals smart constructor.

Constructors

ListProposals' 

Fields

Instances

Instances details
Eq ListProposals Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.ListProposals

Read ListProposals Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.ListProposals

Show ListProposals Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.ListProposals

Generic ListProposals Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.ListProposals

Associated Types

type Rep ListProposals :: Type -> Type #

NFData ListProposals Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.ListProposals

Methods

rnf :: ListProposals -> () #

Hashable ListProposals Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.ListProposals

AWSRequest ListProposals Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.ListProposals

Associated Types

type AWSResponse ListProposals #

ToHeaders ListProposals Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.ListProposals

ToPath ListProposals Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.ListProposals

ToQuery ListProposals Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.ListProposals

type Rep ListProposals Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.ListProposals

type Rep ListProposals = D1 ('MetaData "ListProposals" "Amazonka.ManagedBlockChain.ListProposals" "libZSservicesZSamazonka-managedblockchainZSamazonka-managedblockchain" 'False) (C1 ('MetaCons "ListProposals'" '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))))
type AWSResponse ListProposals Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.ListProposals

newListProposals Source #

Create a value of ListProposals 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:ListProposals', listProposals_nextToken - The pagination token that indicates the next set of results to retrieve.

$sel:maxResults:ListProposals', listProposals_maxResults - The maximum number of proposals to return.

$sel:networkId:ListProposals', listProposals_networkId - The unique identifier of the network.

Request Lenses

listProposals_nextToken :: Lens' ListProposals (Maybe Text) Source #

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

listProposals_maxResults :: Lens' ListProposals (Maybe Natural) Source #

The maximum number of proposals to return.

listProposals_networkId :: Lens' ListProposals Text Source #

The unique identifier of the network.

Destructuring the Response

data ListProposalsResponse Source #

See: newListProposalsResponse smart constructor.

Constructors

ListProposalsResponse' 

Fields

Instances

Instances details
Eq ListProposalsResponse Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.ListProposals

Read ListProposalsResponse Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.ListProposals

Show ListProposalsResponse Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.ListProposals

Generic ListProposalsResponse Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.ListProposals

Associated Types

type Rep ListProposalsResponse :: Type -> Type #

NFData ListProposalsResponse Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.ListProposals

Methods

rnf :: ListProposalsResponse -> () #

type Rep ListProposalsResponse Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.ListProposals

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

newListProposalsResponse Source #

Create a value of ListProposalsResponse 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:proposals:ListProposalsResponse', listProposalsResponse_proposals - The summary of each proposal made on the network.

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

$sel:httpStatus:ListProposalsResponse', listProposalsResponse_httpStatus - The response's http status code.

Response Lenses

listProposalsResponse_proposals :: Lens' ListProposalsResponse (Maybe [ProposalSummary]) Source #

The summary of each proposal made on the network.

listProposalsResponse_nextToken :: Lens' ListProposalsResponse (Maybe Text) Source #

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