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 |
Lists the attachments between your Direct Connect gateways and virtual interfaces. You must specify a Direct Connect gateway, a virtual interface, or both. If you specify a Direct Connect gateway, the response contains all virtual interfaces attached to the Direct Connect gateway. If you specify a virtual interface, the response contains all Direct Connect gateways attached to the virtual interface. If you specify both, the response contains the attachment between the Direct Connect gateway and the virtual interface.
This operation returns paginated results.
Synopsis
- data DescribeDirectConnectGatewayAttachments = DescribeDirectConnectGatewayAttachments' {}
- newDescribeDirectConnectGatewayAttachments :: DescribeDirectConnectGatewayAttachments
- describeDirectConnectGatewayAttachments_directConnectGatewayId :: Lens' DescribeDirectConnectGatewayAttachments (Maybe Text)
- describeDirectConnectGatewayAttachments_nextToken :: Lens' DescribeDirectConnectGatewayAttachments (Maybe Text)
- describeDirectConnectGatewayAttachments_maxResults :: Lens' DescribeDirectConnectGatewayAttachments (Maybe Int)
- describeDirectConnectGatewayAttachments_virtualInterfaceId :: Lens' DescribeDirectConnectGatewayAttachments (Maybe Text)
- data DescribeDirectConnectGatewayAttachmentsResponse = DescribeDirectConnectGatewayAttachmentsResponse' {}
- newDescribeDirectConnectGatewayAttachmentsResponse :: Int -> DescribeDirectConnectGatewayAttachmentsResponse
- describeDirectConnectGatewayAttachmentsResponse_nextToken :: Lens' DescribeDirectConnectGatewayAttachmentsResponse (Maybe Text)
- describeDirectConnectGatewayAttachmentsResponse_directConnectGatewayAttachments :: Lens' DescribeDirectConnectGatewayAttachmentsResponse (Maybe [DirectConnectGatewayAttachment])
- describeDirectConnectGatewayAttachmentsResponse_httpStatus :: Lens' DescribeDirectConnectGatewayAttachmentsResponse Int
Creating a Request
data DescribeDirectConnectGatewayAttachments Source #
See: newDescribeDirectConnectGatewayAttachments
smart constructor.
DescribeDirectConnectGatewayAttachments' | |
|
Instances
newDescribeDirectConnectGatewayAttachments :: DescribeDirectConnectGatewayAttachments Source #
Create a value of DescribeDirectConnectGatewayAttachments
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:directConnectGatewayId:DescribeDirectConnectGatewayAttachments'
, describeDirectConnectGatewayAttachments_directConnectGatewayId
- The ID of the Direct Connect gateway.
$sel:nextToken:DescribeDirectConnectGatewayAttachments'
, describeDirectConnectGatewayAttachments_nextToken
- The token provided in the previous call to retrieve the next page.
$sel:maxResults:DescribeDirectConnectGatewayAttachments'
, describeDirectConnectGatewayAttachments_maxResults
- The maximum number of results to return with a single call. To retrieve
the remaining results, make another call with the returned nextToken
value.
If MaxResults
is given a value larger than 100, only 100 results are
returned.
$sel:virtualInterfaceId:DescribeDirectConnectGatewayAttachments'
, describeDirectConnectGatewayAttachments_virtualInterfaceId
- The ID of the virtual interface.
Request Lenses
describeDirectConnectGatewayAttachments_directConnectGatewayId :: Lens' DescribeDirectConnectGatewayAttachments (Maybe Text) Source #
The ID of the Direct Connect gateway.
describeDirectConnectGatewayAttachments_nextToken :: Lens' DescribeDirectConnectGatewayAttachments (Maybe Text) Source #
The token provided in the previous call to retrieve the next page.
describeDirectConnectGatewayAttachments_maxResults :: Lens' DescribeDirectConnectGatewayAttachments (Maybe Int) Source #
The maximum number of results to return with a single call. To retrieve
the remaining results, make another call with the returned nextToken
value.
If MaxResults
is given a value larger than 100, only 100 results are
returned.
describeDirectConnectGatewayAttachments_virtualInterfaceId :: Lens' DescribeDirectConnectGatewayAttachments (Maybe Text) Source #
The ID of the virtual interface.
Destructuring the Response
data DescribeDirectConnectGatewayAttachmentsResponse Source #
See: newDescribeDirectConnectGatewayAttachmentsResponse
smart constructor.
DescribeDirectConnectGatewayAttachmentsResponse' | |
|
Instances
newDescribeDirectConnectGatewayAttachmentsResponse Source #
:: Int |
|
-> DescribeDirectConnectGatewayAttachmentsResponse |
Create a value of DescribeDirectConnectGatewayAttachmentsResponse
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:DescribeDirectConnectGatewayAttachments'
, describeDirectConnectGatewayAttachmentsResponse_nextToken
- The token to retrieve the next page.
$sel:directConnectGatewayAttachments:DescribeDirectConnectGatewayAttachmentsResponse'
, describeDirectConnectGatewayAttachmentsResponse_directConnectGatewayAttachments
- The attachments.
$sel:httpStatus:DescribeDirectConnectGatewayAttachmentsResponse'
, describeDirectConnectGatewayAttachmentsResponse_httpStatus
- The response's http status code.
Response Lenses
describeDirectConnectGatewayAttachmentsResponse_nextToken :: Lens' DescribeDirectConnectGatewayAttachmentsResponse (Maybe Text) Source #
The token to retrieve the next page.
describeDirectConnectGatewayAttachmentsResponse_directConnectGatewayAttachments :: Lens' DescribeDirectConnectGatewayAttachmentsResponse (Maybe [DirectConnectGatewayAttachment]) Source #
The attachments.
describeDirectConnectGatewayAttachmentsResponse_httpStatus :: Lens' DescribeDirectConnectGatewayAttachmentsResponse Int Source #
The response's http status code.