Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Gets information about one or more of your transit gateway Connect peer associations in a global network.
This operation returns paginated results.
Synopsis
- data GetTransitGatewayConnectPeerAssociations = GetTransitGatewayConnectPeerAssociations' {}
- newGetTransitGatewayConnectPeerAssociations :: Text -> GetTransitGatewayConnectPeerAssociations
- getTransitGatewayConnectPeerAssociations_transitGatewayConnectPeerArns :: Lens' GetTransitGatewayConnectPeerAssociations (Maybe [Text])
- getTransitGatewayConnectPeerAssociations_nextToken :: Lens' GetTransitGatewayConnectPeerAssociations (Maybe Text)
- getTransitGatewayConnectPeerAssociations_maxResults :: Lens' GetTransitGatewayConnectPeerAssociations (Maybe Natural)
- getTransitGatewayConnectPeerAssociations_globalNetworkId :: Lens' GetTransitGatewayConnectPeerAssociations Text
- data GetTransitGatewayConnectPeerAssociationsResponse = GetTransitGatewayConnectPeerAssociationsResponse' {}
- newGetTransitGatewayConnectPeerAssociationsResponse :: Int -> GetTransitGatewayConnectPeerAssociationsResponse
- getTransitGatewayConnectPeerAssociationsResponse_nextToken :: Lens' GetTransitGatewayConnectPeerAssociationsResponse (Maybe Text)
- getTransitGatewayConnectPeerAssociationsResponse_transitGatewayConnectPeerAssociations :: Lens' GetTransitGatewayConnectPeerAssociationsResponse (Maybe [TransitGatewayConnectPeerAssociation])
- getTransitGatewayConnectPeerAssociationsResponse_httpStatus :: Lens' GetTransitGatewayConnectPeerAssociationsResponse Int
Creating a Request
data GetTransitGatewayConnectPeerAssociations Source #
See: newGetTransitGatewayConnectPeerAssociations
smart constructor.
GetTransitGatewayConnectPeerAssociations' | |
|
Instances
newGetTransitGatewayConnectPeerAssociations Source #
:: Text |
|
-> GetTransitGatewayConnectPeerAssociations |
Create a value of GetTransitGatewayConnectPeerAssociations
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:transitGatewayConnectPeerArns:GetTransitGatewayConnectPeerAssociations'
, getTransitGatewayConnectPeerAssociations_transitGatewayConnectPeerArns
- One or more transit gateway Connect peer Amazon Resource Names (ARNs).
$sel:nextToken:GetTransitGatewayConnectPeerAssociations'
, getTransitGatewayConnectPeerAssociations_nextToken
- The token for the next page of results.
$sel:maxResults:GetTransitGatewayConnectPeerAssociations'
, getTransitGatewayConnectPeerAssociations_maxResults
- The maximum number of results to return.
$sel:globalNetworkId:GetTransitGatewayConnectPeerAssociations'
, getTransitGatewayConnectPeerAssociations_globalNetworkId
- The ID of the global network.
Request Lenses
getTransitGatewayConnectPeerAssociations_transitGatewayConnectPeerArns :: Lens' GetTransitGatewayConnectPeerAssociations (Maybe [Text]) Source #
One or more transit gateway Connect peer Amazon Resource Names (ARNs).
getTransitGatewayConnectPeerAssociations_nextToken :: Lens' GetTransitGatewayConnectPeerAssociations (Maybe Text) Source #
The token for the next page of results.
getTransitGatewayConnectPeerAssociations_maxResults :: Lens' GetTransitGatewayConnectPeerAssociations (Maybe Natural) Source #
The maximum number of results to return.
getTransitGatewayConnectPeerAssociations_globalNetworkId :: Lens' GetTransitGatewayConnectPeerAssociations Text Source #
The ID of the global network.
Destructuring the Response
data GetTransitGatewayConnectPeerAssociationsResponse Source #
See: newGetTransitGatewayConnectPeerAssociationsResponse
smart constructor.
GetTransitGatewayConnectPeerAssociationsResponse' | |
|
Instances
newGetTransitGatewayConnectPeerAssociationsResponse Source #
:: Int |
|
-> GetTransitGatewayConnectPeerAssociationsResponse |
Create a value of GetTransitGatewayConnectPeerAssociationsResponse
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:nextToken:GetTransitGatewayConnectPeerAssociations'
, getTransitGatewayConnectPeerAssociationsResponse_nextToken
- The token to use for the next page of results.
$sel:transitGatewayConnectPeerAssociations:GetTransitGatewayConnectPeerAssociationsResponse'
, getTransitGatewayConnectPeerAssociationsResponse_transitGatewayConnectPeerAssociations
- Information about the transit gateway Connect peer associations.
$sel:httpStatus:GetTransitGatewayConnectPeerAssociationsResponse'
, getTransitGatewayConnectPeerAssociationsResponse_httpStatus
- The response's http status code.
Response Lenses
getTransitGatewayConnectPeerAssociationsResponse_nextToken :: Lens' GetTransitGatewayConnectPeerAssociationsResponse (Maybe Text) Source #
The token to use for the next page of results.
getTransitGatewayConnectPeerAssociationsResponse_transitGatewayConnectPeerAssociations :: Lens' GetTransitGatewayConnectPeerAssociationsResponse (Maybe [TransitGatewayConnectPeerAssociation]) Source #
Information about the transit gateway Connect peer associations.
getTransitGatewayConnectPeerAssociationsResponse_httpStatus :: Lens' GetTransitGatewayConnectPeerAssociationsResponse Int Source #
The response's http status code.