| 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 |
Amazonka.NetworkManager.GetTransitGatewayConnectPeerAssociations
Description
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_maxResults :: Lens' GetTransitGatewayConnectPeerAssociations (Maybe Natural)
- getTransitGatewayConnectPeerAssociations_nextToken :: Lens' GetTransitGatewayConnectPeerAssociations (Maybe Text)
- getTransitGatewayConnectPeerAssociations_transitGatewayConnectPeerArns :: Lens' GetTransitGatewayConnectPeerAssociations (Maybe [Text])
- 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.
Constructors
| GetTransitGatewayConnectPeerAssociations' | |
Fields
| |
Instances
newGetTransitGatewayConnectPeerAssociations Source #
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:maxResults:GetTransitGatewayConnectPeerAssociations', getTransitGatewayConnectPeerAssociations_maxResults - The maximum number of results to return.
GetTransitGatewayConnectPeerAssociations, getTransitGatewayConnectPeerAssociations_nextToken - The token for the next page of results.
$sel:transitGatewayConnectPeerArns:GetTransitGatewayConnectPeerAssociations', getTransitGatewayConnectPeerAssociations_transitGatewayConnectPeerArns - One or more transit gateway Connect peer Amazon Resource Names (ARNs).
GetTransitGatewayConnectPeerAssociations, getTransitGatewayConnectPeerAssociations_globalNetworkId - The ID of the global network.
Request Lenses
getTransitGatewayConnectPeerAssociations_maxResults :: Lens' GetTransitGatewayConnectPeerAssociations (Maybe Natural) Source #
The maximum number of results to return.
getTransitGatewayConnectPeerAssociations_nextToken :: Lens' GetTransitGatewayConnectPeerAssociations (Maybe Text) Source #
The token for the next page of results.
getTransitGatewayConnectPeerAssociations_transitGatewayConnectPeerArns :: Lens' GetTransitGatewayConnectPeerAssociations (Maybe [Text]) Source #
One or more transit gateway Connect peer Amazon Resource Names (ARNs).
getTransitGatewayConnectPeerAssociations_globalNetworkId :: Lens' GetTransitGatewayConnectPeerAssociations Text Source #
The ID of the global network.
Destructuring the Response
data GetTransitGatewayConnectPeerAssociationsResponse Source #
See: newGetTransitGatewayConnectPeerAssociationsResponse smart constructor.
Constructors
| GetTransitGatewayConnectPeerAssociationsResponse' | |
Fields
| |
Instances
newGetTransitGatewayConnectPeerAssociationsResponse Source #
Arguments
| :: 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:
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.