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 interface (VIF) attachments. Either a direct connect gateway ID or a VIF ID must be provided in the request. If a direct connect gateway ID is provided, the response returns all VIFs attached to the direct connect gateway. If a VIF ID is provided, the response returns all direct connect gateways attached to the VIF. If both are provided, the response only returns the attachment that matches both the direct connect gateway and the VIF.
Synopsis
- describeDirectConnectGatewayAttachments :: DescribeDirectConnectGatewayAttachments
- data DescribeDirectConnectGatewayAttachments
- ddcgasDirectConnectGatewayId :: Lens' DescribeDirectConnectGatewayAttachments (Maybe Text)
- ddcgasNextToken :: Lens' DescribeDirectConnectGatewayAttachments (Maybe Text)
- ddcgasMaxResults :: Lens' DescribeDirectConnectGatewayAttachments (Maybe Int)
- ddcgasVirtualInterfaceId :: Lens' DescribeDirectConnectGatewayAttachments (Maybe Text)
- describeDirectConnectGatewayAttachmentsResponse :: Int -> DescribeDirectConnectGatewayAttachmentsResponse
- data DescribeDirectConnectGatewayAttachmentsResponse
- ddcgasrsNextToken :: Lens' DescribeDirectConnectGatewayAttachmentsResponse (Maybe Text)
- ddcgasrsDirectConnectGatewayAttachments :: Lens' DescribeDirectConnectGatewayAttachmentsResponse [DirectConnectGatewayAttachment]
- ddcgasrsResponseStatus :: Lens' DescribeDirectConnectGatewayAttachmentsResponse Int
Creating a Request
describeDirectConnectGatewayAttachments :: DescribeDirectConnectGatewayAttachments Source #
Creates a value of DescribeDirectConnectGatewayAttachments
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ddcgasDirectConnectGatewayId
- The ID of the direct connect gateway. Example: "abcd1234-dcba-5678-be23-cdef9876ab45" Default: NoneddcgasNextToken
- The token provided in the previous describe result to retrieve the next page of the result. Default: NoneddcgasMaxResults
- The maximum number of direct connect gateway attachments to return per page. Example: 15 Default: NoneddcgasVirtualInterfaceId
- The ID of the virtual interface. Example: "dxvif-abc123ef" Default: None
data DescribeDirectConnectGatewayAttachments Source #
Container for the parameters to the DescribeDirectConnectGatewayAttachments operation.
See: describeDirectConnectGatewayAttachments
smart constructor.
Instances
Request Lenses
ddcgasDirectConnectGatewayId :: Lens' DescribeDirectConnectGatewayAttachments (Maybe Text) Source #
The ID of the direct connect gateway. Example: "abcd1234-dcba-5678-be23-cdef9876ab45" Default: None
ddcgasNextToken :: Lens' DescribeDirectConnectGatewayAttachments (Maybe Text) Source #
The token provided in the previous describe result to retrieve the next page of the result. Default: None
ddcgasMaxResults :: Lens' DescribeDirectConnectGatewayAttachments (Maybe Int) Source #
The maximum number of direct connect gateway attachments to return per page. Example: 15 Default: None
ddcgasVirtualInterfaceId :: Lens' DescribeDirectConnectGatewayAttachments (Maybe Text) Source #
The ID of the virtual interface. Example: "dxvif-abc123ef" Default: None
Destructuring the Response
describeDirectConnectGatewayAttachmentsResponse Source #
Creates a value of DescribeDirectConnectGatewayAttachmentsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ddcgasrsNextToken
- Undocumented member.ddcgasrsDirectConnectGatewayAttachments
- Information about the direct connect gateway attachments.ddcgasrsResponseStatus
- -- | The response status code.
data DescribeDirectConnectGatewayAttachmentsResponse Source #
Container for the response from the DescribeDirectConnectGatewayAttachments API call
See: describeDirectConnectGatewayAttachmentsResponse
smart constructor.
Instances
Response Lenses
ddcgasrsNextToken :: Lens' DescribeDirectConnectGatewayAttachmentsResponse (Maybe Text) Source #
Undocumented member.
ddcgasrsDirectConnectGatewayAttachments :: Lens' DescribeDirectConnectGatewayAttachmentsResponse [DirectConnectGatewayAttachment] Source #
Information about the direct connect gateway attachments.
ddcgasrsResponseStatus :: Lens' DescribeDirectConnectGatewayAttachmentsResponse Int Source #
- - | The response status code.