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 the association information for customer gateways that are associated with devices and links in your global network.
This operation returns paginated results.
Synopsis
- data GetCustomerGatewayAssociations = GetCustomerGatewayAssociations' {}
- newGetCustomerGatewayAssociations :: Text -> GetCustomerGatewayAssociations
- getCustomerGatewayAssociations_nextToken :: Lens' GetCustomerGatewayAssociations (Maybe Text)
- getCustomerGatewayAssociations_customerGatewayArns :: Lens' GetCustomerGatewayAssociations (Maybe [Text])
- getCustomerGatewayAssociations_maxResults :: Lens' GetCustomerGatewayAssociations (Maybe Natural)
- getCustomerGatewayAssociations_globalNetworkId :: Lens' GetCustomerGatewayAssociations Text
- data GetCustomerGatewayAssociationsResponse = GetCustomerGatewayAssociationsResponse' {}
- newGetCustomerGatewayAssociationsResponse :: Int -> GetCustomerGatewayAssociationsResponse
- getCustomerGatewayAssociationsResponse_nextToken :: Lens' GetCustomerGatewayAssociationsResponse (Maybe Text)
- getCustomerGatewayAssociationsResponse_customerGatewayAssociations :: Lens' GetCustomerGatewayAssociationsResponse (Maybe [CustomerGatewayAssociation])
- getCustomerGatewayAssociationsResponse_httpStatus :: Lens' GetCustomerGatewayAssociationsResponse Int
Creating a Request
data GetCustomerGatewayAssociations Source #
See: newGetCustomerGatewayAssociations
smart constructor.
GetCustomerGatewayAssociations' | |
|
Instances
newGetCustomerGatewayAssociations Source #
Create a value of GetCustomerGatewayAssociations
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:GetCustomerGatewayAssociations'
, getCustomerGatewayAssociations_nextToken
- The token for the next page of results.
$sel:customerGatewayArns:GetCustomerGatewayAssociations'
, getCustomerGatewayAssociations_customerGatewayArns
- One or more customer gateway Amazon Resource Names (ARNs). For more
information, see
Resources Defined by Amazon EC2.
The maximum is 10.
$sel:maxResults:GetCustomerGatewayAssociations'
, getCustomerGatewayAssociations_maxResults
- The maximum number of results to return.
$sel:globalNetworkId:GetCustomerGatewayAssociations'
, getCustomerGatewayAssociations_globalNetworkId
- The ID of the global network.
Request Lenses
getCustomerGatewayAssociations_nextToken :: Lens' GetCustomerGatewayAssociations (Maybe Text) Source #
The token for the next page of results.
getCustomerGatewayAssociations_customerGatewayArns :: Lens' GetCustomerGatewayAssociations (Maybe [Text]) Source #
One or more customer gateway Amazon Resource Names (ARNs). For more information, see Resources Defined by Amazon EC2. The maximum is 10.
getCustomerGatewayAssociations_maxResults :: Lens' GetCustomerGatewayAssociations (Maybe Natural) Source #
The maximum number of results to return.
getCustomerGatewayAssociations_globalNetworkId :: Lens' GetCustomerGatewayAssociations Text Source #
The ID of the global network.
Destructuring the Response
data GetCustomerGatewayAssociationsResponse Source #
See: newGetCustomerGatewayAssociationsResponse
smart constructor.
GetCustomerGatewayAssociationsResponse' | |
|
Instances
newGetCustomerGatewayAssociationsResponse Source #
Create a value of GetCustomerGatewayAssociationsResponse
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:GetCustomerGatewayAssociations'
, getCustomerGatewayAssociationsResponse_nextToken
- The token for the next page of results.
$sel:customerGatewayAssociations:GetCustomerGatewayAssociationsResponse'
, getCustomerGatewayAssociationsResponse_customerGatewayAssociations
- The customer gateway associations.
$sel:httpStatus:GetCustomerGatewayAssociationsResponse'
, getCustomerGatewayAssociationsResponse_httpStatus
- The response's http status code.
Response Lenses
getCustomerGatewayAssociationsResponse_nextToken :: Lens' GetCustomerGatewayAssociationsResponse (Maybe Text) Source #
The token for the next page of results.
getCustomerGatewayAssociationsResponse_customerGatewayAssociations :: Lens' GetCustomerGatewayAssociationsResponse (Maybe [CustomerGatewayAssociation]) Source #
The customer gateway associations.
getCustomerGatewayAssociationsResponse_httpStatus :: Lens' GetCustomerGatewayAssociationsResponse Int Source #
The response's http status code.