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

Description

Returns detailed information about a proposal.

Applies only to Hyperledger Fabric.

Synopsis

Creating a Request

data GetProposal Source #

See: newGetProposal smart constructor.

Constructors

GetProposal' 

Fields

  • networkId :: Text

    The unique identifier of the network for which the proposal is made.

  • proposalId :: Text

    The unique identifier of the proposal.

Instances

Instances details
Eq GetProposal Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.GetProposal

Read GetProposal Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.GetProposal

Show GetProposal Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.GetProposal

Generic GetProposal Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.GetProposal

Associated Types

type Rep GetProposal :: Type -> Type #

NFData GetProposal Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.GetProposal

Methods

rnf :: GetProposal -> () #

Hashable GetProposal Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.GetProposal

AWSRequest GetProposal Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.GetProposal

Associated Types

type AWSResponse GetProposal #

ToHeaders GetProposal Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.GetProposal

Methods

toHeaders :: GetProposal -> [Header] #

ToPath GetProposal Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.GetProposal

ToQuery GetProposal Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.GetProposal

type Rep GetProposal Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.GetProposal

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

Defined in Amazonka.ManagedBlockChain.GetProposal

newGetProposal Source #

Create a value of GetProposal 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:networkId:GetProposal', getProposal_networkId - The unique identifier of the network for which the proposal is made.

$sel:proposalId:GetProposal', getProposal_proposalId - The unique identifier of the proposal.

Request Lenses

getProposal_networkId :: Lens' GetProposal Text Source #

The unique identifier of the network for which the proposal is made.

getProposal_proposalId :: Lens' GetProposal Text Source #

The unique identifier of the proposal.

Destructuring the Response

data GetProposalResponse Source #

See: newGetProposalResponse smart constructor.

Constructors

GetProposalResponse' 

Fields

Instances

Instances details
Eq GetProposalResponse Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.GetProposal

Read GetProposalResponse Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.GetProposal

Show GetProposalResponse Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.GetProposal

Generic GetProposalResponse Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.GetProposal

Associated Types

type Rep GetProposalResponse :: Type -> Type #

NFData GetProposalResponse Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.GetProposal

Methods

rnf :: GetProposalResponse -> () #

type Rep GetProposalResponse Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.GetProposal

type Rep GetProposalResponse = D1 ('MetaData "GetProposalResponse" "Amazonka.ManagedBlockChain.GetProposal" "libZSservicesZSamazonka-managedblockchainZSamazonka-managedblockchain" 'False) (C1 ('MetaCons "GetProposalResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "proposal") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Proposal)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetProposalResponse Source #

Create a value of GetProposalResponse 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:proposal:GetProposalResponse', getProposalResponse_proposal - Information about a proposal.

$sel:httpStatus:GetProposalResponse', getProposalResponse_httpStatus - The response's http status code.

Response Lenses