amazonka-networkmanager-2.0: Amazon Network Manager SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.NetworkManager.ListPeerings

Description

Lists the peerings for a core network.

This operation returns paginated results.

Synopsis

Creating a Request

data ListPeerings Source #

See: newListPeerings smart constructor.

Constructors

ListPeerings' 

Fields

Instances

Instances details
ToHeaders ListPeerings Source # 
Instance details

Defined in Amazonka.NetworkManager.ListPeerings

ToPath ListPeerings Source # 
Instance details

Defined in Amazonka.NetworkManager.ListPeerings

ToQuery ListPeerings Source # 
Instance details

Defined in Amazonka.NetworkManager.ListPeerings

AWSPager ListPeerings Source # 
Instance details

Defined in Amazonka.NetworkManager.ListPeerings

AWSRequest ListPeerings Source # 
Instance details

Defined in Amazonka.NetworkManager.ListPeerings

Associated Types

type AWSResponse ListPeerings #

Generic ListPeerings Source # 
Instance details

Defined in Amazonka.NetworkManager.ListPeerings

Associated Types

type Rep ListPeerings :: Type -> Type #

Read ListPeerings Source # 
Instance details

Defined in Amazonka.NetworkManager.ListPeerings

Show ListPeerings Source # 
Instance details

Defined in Amazonka.NetworkManager.ListPeerings

NFData ListPeerings Source # 
Instance details

Defined in Amazonka.NetworkManager.ListPeerings

Methods

rnf :: ListPeerings -> () #

Eq ListPeerings Source # 
Instance details

Defined in Amazonka.NetworkManager.ListPeerings

Hashable ListPeerings Source # 
Instance details

Defined in Amazonka.NetworkManager.ListPeerings

type AWSResponse ListPeerings Source # 
Instance details

Defined in Amazonka.NetworkManager.ListPeerings

type Rep ListPeerings Source # 
Instance details

Defined in Amazonka.NetworkManager.ListPeerings

type Rep ListPeerings = D1 ('MetaData "ListPeerings" "Amazonka.NetworkManager.ListPeerings" "amazonka-networkmanager-2.0-4HNcDlBc00x67cUJWWz3sw" 'False) (C1 ('MetaCons "ListPeerings'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "coreNetworkId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "edgeLocation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)))) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "peeringType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PeeringType)) :*: S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PeeringState))))))

newListPeerings :: ListPeerings Source #

Create a value of ListPeerings 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:

ListPeerings, listPeerings_coreNetworkId - The ID of a core network.

ListPeerings, listPeerings_edgeLocation - Returns a list edge locations for the

$sel:maxResults:ListPeerings', listPeerings_maxResults - The maximum number of results to return.

ListPeerings, listPeerings_nextToken - The token for the next page of results.

ListPeerings, listPeerings_peeringType - Returns a list of a peering requests.

ListPeerings, listPeerings_state - Returns a list of the peering request states.

Request Lenses

listPeerings_edgeLocation :: Lens' ListPeerings (Maybe Text) Source #

Returns a list edge locations for the

listPeerings_maxResults :: Lens' ListPeerings (Maybe Natural) Source #

The maximum number of results to return.

listPeerings_nextToken :: Lens' ListPeerings (Maybe Text) Source #

The token for the next page of results.

listPeerings_peeringType :: Lens' ListPeerings (Maybe PeeringType) Source #

Returns a list of a peering requests.

listPeerings_state :: Lens' ListPeerings (Maybe PeeringState) Source #

Returns a list of the peering request states.

Destructuring the Response

data ListPeeringsResponse Source #

See: newListPeeringsResponse smart constructor.

Constructors

ListPeeringsResponse' 

Fields

Instances

Instances details
Generic ListPeeringsResponse Source # 
Instance details

Defined in Amazonka.NetworkManager.ListPeerings

Associated Types

type Rep ListPeeringsResponse :: Type -> Type #

Read ListPeeringsResponse Source # 
Instance details

Defined in Amazonka.NetworkManager.ListPeerings

Show ListPeeringsResponse Source # 
Instance details

Defined in Amazonka.NetworkManager.ListPeerings

NFData ListPeeringsResponse Source # 
Instance details

Defined in Amazonka.NetworkManager.ListPeerings

Methods

rnf :: ListPeeringsResponse -> () #

Eq ListPeeringsResponse Source # 
Instance details

Defined in Amazonka.NetworkManager.ListPeerings

type Rep ListPeeringsResponse Source # 
Instance details

Defined in Amazonka.NetworkManager.ListPeerings

type Rep ListPeeringsResponse = D1 ('MetaData "ListPeeringsResponse" "Amazonka.NetworkManager.ListPeerings" "amazonka-networkmanager-2.0-4HNcDlBc00x67cUJWWz3sw" 'False) (C1 ('MetaCons "ListPeeringsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "peerings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Peering])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListPeeringsResponse Source #

Create a value of ListPeeringsResponse 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:

ListPeerings, listPeeringsResponse_nextToken - The token for the next page of results.

$sel:peerings:ListPeeringsResponse', listPeeringsResponse_peerings - Lists the transit gateway peerings for the ListPeerings request.

$sel:httpStatus:ListPeeringsResponse', listPeeringsResponse_httpStatus - The response's http status code.

Response Lenses

listPeeringsResponse_nextToken :: Lens' ListPeeringsResponse (Maybe Text) Source #

The token for the next page of results.

listPeeringsResponse_peerings :: Lens' ListPeeringsResponse (Maybe [Peering]) Source #

Lists the transit gateway peerings for the ListPeerings request.