Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Lists the peerings for a core network.
This operation returns paginated results.
Synopsis
- data ListPeerings = ListPeerings' {}
- newListPeerings :: ListPeerings
- listPeerings_coreNetworkId :: Lens' ListPeerings (Maybe Text)
- listPeerings_edgeLocation :: Lens' ListPeerings (Maybe Text)
- listPeerings_maxResults :: Lens' ListPeerings (Maybe Natural)
- listPeerings_nextToken :: Lens' ListPeerings (Maybe Text)
- listPeerings_peeringType :: Lens' ListPeerings (Maybe PeeringType)
- listPeerings_state :: Lens' ListPeerings (Maybe PeeringState)
- data ListPeeringsResponse = ListPeeringsResponse' {}
- newListPeeringsResponse :: Int -> ListPeeringsResponse
- listPeeringsResponse_nextToken :: Lens' ListPeeringsResponse (Maybe Text)
- listPeeringsResponse_peerings :: Lens' ListPeeringsResponse (Maybe [Peering])
- listPeeringsResponse_httpStatus :: Lens' ListPeeringsResponse Int
Creating a Request
data ListPeerings Source #
See: newListPeerings
smart constructor.
ListPeerings' | |
|
Instances
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_coreNetworkId :: Lens' ListPeerings (Maybe Text) Source #
The ID of a core network.
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.
Instances
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.
listPeeringsResponse_httpStatus :: Lens' ListPeeringsResponse Int Source #
The response's http status code.