Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
Returns a list of all direct connect gateway and virtual private gateway (VGW) associations. Either a direct connect gateway ID or a VGW ID must be provided in the request. If a direct connect gateway ID is provided, the response returns all VGWs associated with the direct connect gateway. If a VGW ID is provided, the response returns all direct connect gateways associated with the VGW. If both are provided, the response only returns the association that matches both the direct connect gateway and the VGW.
- describeDirectConnectGatewayAssociations :: DescribeDirectConnectGatewayAssociations
- data DescribeDirectConnectGatewayAssociations
- ddcgaVirtualGatewayId :: Lens' DescribeDirectConnectGatewayAssociations (Maybe Text)
- ddcgaDirectConnectGatewayId :: Lens' DescribeDirectConnectGatewayAssociations (Maybe Text)
- ddcgaNextToken :: Lens' DescribeDirectConnectGatewayAssociations (Maybe Text)
- ddcgaMaxResults :: Lens' DescribeDirectConnectGatewayAssociations (Maybe Int)
- describeDirectConnectGatewayAssociationsResponse :: Int -> DescribeDirectConnectGatewayAssociationsResponse
- data DescribeDirectConnectGatewayAssociationsResponse
- ddcgarsNextToken :: Lens' DescribeDirectConnectGatewayAssociationsResponse (Maybe Text)
- ddcgarsDirectConnectGatewayAssociations :: Lens' DescribeDirectConnectGatewayAssociationsResponse [DirectConnectGatewayAssociation]
- ddcgarsResponseStatus :: Lens' DescribeDirectConnectGatewayAssociationsResponse Int
Creating a Request
describeDirectConnectGatewayAssociations :: DescribeDirectConnectGatewayAssociations Source #
Creates a value of DescribeDirectConnectGatewayAssociations
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ddcgaVirtualGatewayId
- The ID of the virtual private gateway. Example: "vgw-abc123ef" Default: NoneddcgaDirectConnectGatewayId
- The ID of the direct connect gateway. Example: "abcd1234-dcba-5678-be23-cdef9876ab45" Default: NoneddcgaNextToken
- The token provided in the previous describe result to retrieve the next page of the result. Default: NoneddcgaMaxResults
- The maximum number of direct connect gateway associations to return per page. Example: 15 Default: None
data DescribeDirectConnectGatewayAssociations Source #
Container for the parameters to the DescribeDirectConnectGatewayAssociations operation.
See: describeDirectConnectGatewayAssociations
smart constructor.
Request Lenses
ddcgaVirtualGatewayId :: Lens' DescribeDirectConnectGatewayAssociations (Maybe Text) Source #
The ID of the virtual private gateway. Example: "vgw-abc123ef" Default: None
ddcgaDirectConnectGatewayId :: Lens' DescribeDirectConnectGatewayAssociations (Maybe Text) Source #
The ID of the direct connect gateway. Example: "abcd1234-dcba-5678-be23-cdef9876ab45" Default: None
ddcgaNextToken :: Lens' DescribeDirectConnectGatewayAssociations (Maybe Text) Source #
The token provided in the previous describe result to retrieve the next page of the result. Default: None
ddcgaMaxResults :: Lens' DescribeDirectConnectGatewayAssociations (Maybe Int) Source #
The maximum number of direct connect gateway associations to return per page. Example: 15 Default: None
Destructuring the Response
describeDirectConnectGatewayAssociationsResponse Source #
Creates a value of DescribeDirectConnectGatewayAssociationsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ddcgarsNextToken
- Undocumented member.ddcgarsDirectConnectGatewayAssociations
- Information about the direct connect gateway associations.ddcgarsResponseStatus
- -- | The response status code.
data DescribeDirectConnectGatewayAssociationsResponse Source #
Container for the response from the DescribeDirectConnectGatewayAssociations API call
See: describeDirectConnectGatewayAssociationsResponse
smart constructor.
Response Lenses
ddcgarsNextToken :: Lens' DescribeDirectConnectGatewayAssociationsResponse (Maybe Text) Source #
Undocumented member.
ddcgarsDirectConnectGatewayAssociations :: Lens' DescribeDirectConnectGatewayAssociationsResponse [DirectConnectGatewayAssociation] Source #
Information about the direct connect gateway associations.
ddcgarsResponseStatus :: Lens' DescribeDirectConnectGatewayAssociationsResponse Int Source #
- - | The response status code.