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

Description

Returns detailed information about a network.

Applies to Hyperledger Fabric and Ethereum.

Synopsis

Creating a Request

data GetNetwork Source #

See: newGetNetwork smart constructor.

Constructors

GetNetwork' 

Fields

  • networkId :: Text

    The unique identifier of the network to get information about.

Instances

Instances details
Eq GetNetwork Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.GetNetwork

Read GetNetwork Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.GetNetwork

Show GetNetwork Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.GetNetwork

Generic GetNetwork Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.GetNetwork

Associated Types

type Rep GetNetwork :: Type -> Type #

NFData GetNetwork Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.GetNetwork

Methods

rnf :: GetNetwork -> () #

Hashable GetNetwork Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.GetNetwork

AWSRequest GetNetwork Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.GetNetwork

Associated Types

type AWSResponse GetNetwork #

ToHeaders GetNetwork Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.GetNetwork

Methods

toHeaders :: GetNetwork -> [Header] #

ToPath GetNetwork Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.GetNetwork

ToQuery GetNetwork Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.GetNetwork

type Rep GetNetwork Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.GetNetwork

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

Defined in Amazonka.ManagedBlockChain.GetNetwork

newGetNetwork Source #

Create a value of GetNetwork 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:GetNetwork', getNetwork_networkId - The unique identifier of the network to get information about.

Request Lenses

getNetwork_networkId :: Lens' GetNetwork Text Source #

The unique identifier of the network to get information about.

Destructuring the Response

data GetNetworkResponse Source #

See: newGetNetworkResponse smart constructor.

Constructors

GetNetworkResponse' 

Fields

Instances

Instances details
Eq GetNetworkResponse Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.GetNetwork

Read GetNetworkResponse Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.GetNetwork

Show GetNetworkResponse Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.GetNetwork

Generic GetNetworkResponse Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.GetNetwork

Associated Types

type Rep GetNetworkResponse :: Type -> Type #

NFData GetNetworkResponse Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.GetNetwork

Methods

rnf :: GetNetworkResponse -> () #

type Rep GetNetworkResponse Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.GetNetwork

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

newGetNetworkResponse Source #

Create a value of GetNetworkResponse 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:network:GetNetworkResponse', getNetworkResponse_network - An object containing network configuration parameters.

$sel:httpStatus:GetNetworkResponse', getNetworkResponse_httpStatus - The response's http status code.

Response Lenses

getNetworkResponse_network :: Lens' GetNetworkResponse (Maybe Network) Source #

An object containing network configuration parameters.