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 |
Describes one or more VPC attachments. By default, all VPC attachments are described. Alternatively, you can filter the results.
This operation returns paginated results.
Synopsis
- data DescribeTransitGatewayVpcAttachments = DescribeTransitGatewayVpcAttachments' {}
- newDescribeTransitGatewayVpcAttachments :: DescribeTransitGatewayVpcAttachments
- describeTransitGatewayVpcAttachments_dryRun :: Lens' DescribeTransitGatewayVpcAttachments (Maybe Bool)
- describeTransitGatewayVpcAttachments_filters :: Lens' DescribeTransitGatewayVpcAttachments (Maybe [Filter])
- describeTransitGatewayVpcAttachments_maxResults :: Lens' DescribeTransitGatewayVpcAttachments (Maybe Natural)
- describeTransitGatewayVpcAttachments_nextToken :: Lens' DescribeTransitGatewayVpcAttachments (Maybe Text)
- describeTransitGatewayVpcAttachments_transitGatewayAttachmentIds :: Lens' DescribeTransitGatewayVpcAttachments (Maybe [Text])
- data DescribeTransitGatewayVpcAttachmentsResponse = DescribeTransitGatewayVpcAttachmentsResponse' {}
- newDescribeTransitGatewayVpcAttachmentsResponse :: Int -> DescribeTransitGatewayVpcAttachmentsResponse
- describeTransitGatewayVpcAttachmentsResponse_nextToken :: Lens' DescribeTransitGatewayVpcAttachmentsResponse (Maybe Text)
- describeTransitGatewayVpcAttachmentsResponse_transitGatewayVpcAttachments :: Lens' DescribeTransitGatewayVpcAttachmentsResponse (Maybe [TransitGatewayVpcAttachment])
- describeTransitGatewayVpcAttachmentsResponse_httpStatus :: Lens' DescribeTransitGatewayVpcAttachmentsResponse Int
Creating a Request
data DescribeTransitGatewayVpcAttachments Source #
See: newDescribeTransitGatewayVpcAttachments
smart constructor.
DescribeTransitGatewayVpcAttachments' | |
|
Instances
newDescribeTransitGatewayVpcAttachments :: DescribeTransitGatewayVpcAttachments Source #
Create a value of DescribeTransitGatewayVpcAttachments
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:dryRun:DescribeTransitGatewayVpcAttachments'
, describeTransitGatewayVpcAttachments_dryRun
- Checks whether you have the required permissions for the action, without
actually making the request, and provides an error response. If you have
the required permissions, the error response is DryRunOperation
.
Otherwise, it is UnauthorizedOperation
.
$sel:filters:DescribeTransitGatewayVpcAttachments'
, describeTransitGatewayVpcAttachments_filters
- One or more filters. The possible values are:
state
- The state of the attachment. Valid values areavailable
|deleted
|deleting
|failed
|failing
|initiatingRequest
|modifying
|pendingAcceptance
|pending
|rollingBack
|rejected
|rejecting
.transit-gateway-attachment-id
- The ID of the attachment.transit-gateway-id
- The ID of the transit gateway.vpc-id
- The ID of the VPC.
$sel:maxResults:DescribeTransitGatewayVpcAttachments'
, describeTransitGatewayVpcAttachments_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.
DescribeTransitGatewayVpcAttachments
, describeTransitGatewayVpcAttachments_nextToken
- The token for the next page of results.
$sel:transitGatewayAttachmentIds:DescribeTransitGatewayVpcAttachments'
, describeTransitGatewayVpcAttachments_transitGatewayAttachmentIds
- The IDs of the attachments.
Request Lenses
describeTransitGatewayVpcAttachments_dryRun :: Lens' DescribeTransitGatewayVpcAttachments (Maybe Bool) Source #
Checks whether you have the required permissions for the action, without
actually making the request, and provides an error response. If you have
the required permissions, the error response is DryRunOperation
.
Otherwise, it is UnauthorizedOperation
.
describeTransitGatewayVpcAttachments_filters :: Lens' DescribeTransitGatewayVpcAttachments (Maybe [Filter]) Source #
One or more filters. The possible values are:
state
- The state of the attachment. Valid values areavailable
|deleted
|deleting
|failed
|failing
|initiatingRequest
|modifying
|pendingAcceptance
|pending
|rollingBack
|rejected
|rejecting
.transit-gateway-attachment-id
- The ID of the attachment.transit-gateway-id
- The ID of the transit gateway.vpc-id
- The ID of the VPC.
describeTransitGatewayVpcAttachments_maxResults :: Lens' DescribeTransitGatewayVpcAttachments (Maybe Natural) 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.
describeTransitGatewayVpcAttachments_nextToken :: Lens' DescribeTransitGatewayVpcAttachments (Maybe Text) Source #
The token for the next page of results.
describeTransitGatewayVpcAttachments_transitGatewayAttachmentIds :: Lens' DescribeTransitGatewayVpcAttachments (Maybe [Text]) Source #
The IDs of the attachments.
Destructuring the Response
data DescribeTransitGatewayVpcAttachmentsResponse Source #
See: newDescribeTransitGatewayVpcAttachmentsResponse
smart constructor.
DescribeTransitGatewayVpcAttachmentsResponse' | |
|
Instances
newDescribeTransitGatewayVpcAttachmentsResponse Source #
:: Int |
|
-> DescribeTransitGatewayVpcAttachmentsResponse |
Create a value of DescribeTransitGatewayVpcAttachmentsResponse
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:
DescribeTransitGatewayVpcAttachments
, describeTransitGatewayVpcAttachmentsResponse_nextToken
- The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.
$sel:transitGatewayVpcAttachments:DescribeTransitGatewayVpcAttachmentsResponse'
, describeTransitGatewayVpcAttachmentsResponse_transitGatewayVpcAttachments
- Information about the VPC attachments.
$sel:httpStatus:DescribeTransitGatewayVpcAttachmentsResponse'
, describeTransitGatewayVpcAttachmentsResponse_httpStatus
- The response's http status code.
Response Lenses
describeTransitGatewayVpcAttachmentsResponse_nextToken :: Lens' DescribeTransitGatewayVpcAttachmentsResponse (Maybe Text) Source #
The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.
describeTransitGatewayVpcAttachmentsResponse_transitGatewayVpcAttachments :: Lens' DescribeTransitGatewayVpcAttachmentsResponse (Maybe [TransitGatewayVpcAttachment]) Source #
Information about the VPC attachments.
describeTransitGatewayVpcAttachmentsResponse_httpStatus :: Lens' DescribeTransitGatewayVpcAttachmentsResponse Int Source #
The response's http status code.