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

Description

Returns information about the networks in which the current AWS account participates.

Applies to Hyperledger Fabric and Ethereum.

Synopsis

Creating a Request

data ListNetworks Source #

See: newListNetworks smart constructor.

Constructors

ListNetworks' 

Fields

Instances

Instances details
Eq ListNetworks Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.ListNetworks

Read ListNetworks Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.ListNetworks

Show ListNetworks Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.ListNetworks

Generic ListNetworks Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.ListNetworks

Associated Types

type Rep ListNetworks :: Type -> Type #

NFData ListNetworks Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.ListNetworks

Methods

rnf :: ListNetworks -> () #

Hashable ListNetworks Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.ListNetworks

AWSRequest ListNetworks Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.ListNetworks

Associated Types

type AWSResponse ListNetworks #

ToHeaders ListNetworks Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.ListNetworks

ToPath ListNetworks Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.ListNetworks

ToQuery ListNetworks Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.ListNetworks

type Rep ListNetworks Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.ListNetworks

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

Defined in Amazonka.ManagedBlockChain.ListNetworks

newListNetworks :: ListNetworks Source #

Create a value of ListNetworks 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:status:ListNetworks', listNetworks_status - An optional status specifier. If provided, only networks currently in this status are listed.

Applies only to Hyperledger Fabric.

$sel:framework:ListNetworks', listNetworks_framework - An optional framework specifier. If provided, only networks of this framework type are listed.

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

$sel:name:ListNetworks', listNetworks_name - The name of the network.

$sel:maxResults:ListNetworks', listNetworks_maxResults - The maximum number of networks to list.

Request Lenses

listNetworks_status :: Lens' ListNetworks (Maybe NetworkStatus) Source #

An optional status specifier. If provided, only networks currently in this status are listed.

Applies only to Hyperledger Fabric.

listNetworks_framework :: Lens' ListNetworks (Maybe Framework) Source #

An optional framework specifier. If provided, only networks of this framework type are listed.

listNetworks_nextToken :: Lens' ListNetworks (Maybe Text) Source #

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

listNetworks_name :: Lens' ListNetworks (Maybe Text) Source #

The name of the network.

listNetworks_maxResults :: Lens' ListNetworks (Maybe Natural) Source #

The maximum number of networks to list.

Destructuring the Response

data ListNetworksResponse Source #

See: newListNetworksResponse smart constructor.

Constructors

ListNetworksResponse' 

Fields

Instances

Instances details
Eq ListNetworksResponse Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.ListNetworks

Read ListNetworksResponse Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.ListNetworks

Show ListNetworksResponse Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.ListNetworks

Generic ListNetworksResponse Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.ListNetworks

Associated Types

type Rep ListNetworksResponse :: Type -> Type #

NFData ListNetworksResponse Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.ListNetworks

Methods

rnf :: ListNetworksResponse -> () #

type Rep ListNetworksResponse Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.ListNetworks

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

newListNetworksResponse Source #

Create a value of ListNetworksResponse 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:networks:ListNetworksResponse', listNetworksResponse_networks - An array of NetworkSummary objects that contain configuration properties for each network.

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

$sel:httpStatus:ListNetworksResponse', listNetworksResponse_httpStatus - The response's http status code.

Response Lenses

listNetworksResponse_networks :: Lens' ListNetworksResponse (Maybe [NetworkSummary]) Source #

An array of NetworkSummary objects that contain configuration properties for each network.

listNetworksResponse_nextToken :: Lens' ListNetworksResponse (Maybe Text) Source #

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