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 |
Gets information about the associations for the specified transit gateway route table.
This operation returns paginated results.
Synopsis
- data GetTransitGatewayRouteTableAssociations = GetTransitGatewayRouteTableAssociations' {}
- newGetTransitGatewayRouteTableAssociations :: Text -> GetTransitGatewayRouteTableAssociations
- getTransitGatewayRouteTableAssociations_dryRun :: Lens' GetTransitGatewayRouteTableAssociations (Maybe Bool)
- getTransitGatewayRouteTableAssociations_filters :: Lens' GetTransitGatewayRouteTableAssociations (Maybe [Filter])
- getTransitGatewayRouteTableAssociations_maxResults :: Lens' GetTransitGatewayRouteTableAssociations (Maybe Natural)
- getTransitGatewayRouteTableAssociations_nextToken :: Lens' GetTransitGatewayRouteTableAssociations (Maybe Text)
- getTransitGatewayRouteTableAssociations_transitGatewayRouteTableId :: Lens' GetTransitGatewayRouteTableAssociations Text
- data GetTransitGatewayRouteTableAssociationsResponse = GetTransitGatewayRouteTableAssociationsResponse' {}
- newGetTransitGatewayRouteTableAssociationsResponse :: Int -> GetTransitGatewayRouteTableAssociationsResponse
- getTransitGatewayRouteTableAssociationsResponse_associations :: Lens' GetTransitGatewayRouteTableAssociationsResponse (Maybe [TransitGatewayRouteTableAssociation])
- getTransitGatewayRouteTableAssociationsResponse_nextToken :: Lens' GetTransitGatewayRouteTableAssociationsResponse (Maybe Text)
- getTransitGatewayRouteTableAssociationsResponse_httpStatus :: Lens' GetTransitGatewayRouteTableAssociationsResponse Int
Creating a Request
data GetTransitGatewayRouteTableAssociations Source #
See: newGetTransitGatewayRouteTableAssociations
smart constructor.
GetTransitGatewayRouteTableAssociations' | |
|
Instances
newGetTransitGatewayRouteTableAssociations Source #
Create a value of GetTransitGatewayRouteTableAssociations
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:GetTransitGatewayRouteTableAssociations'
, getTransitGatewayRouteTableAssociations_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:GetTransitGatewayRouteTableAssociations'
, getTransitGatewayRouteTableAssociations_filters
- One or more filters. The possible values are:
resource-id
- The ID of the resource.resource-type
- The resource type. Valid values arevpc
|vpn
|direct-connect-gateway
|peering
|connect
.transit-gateway-attachment-id
- The ID of the attachment.
$sel:maxResults:GetTransitGatewayRouteTableAssociations'
, getTransitGatewayRouteTableAssociations_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.
GetTransitGatewayRouteTableAssociations
, getTransitGatewayRouteTableAssociations_nextToken
- The token for the next page of results.
GetTransitGatewayRouteTableAssociations
, getTransitGatewayRouteTableAssociations_transitGatewayRouteTableId
- The ID of the transit gateway route table.
Request Lenses
getTransitGatewayRouteTableAssociations_dryRun :: Lens' GetTransitGatewayRouteTableAssociations (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
.
getTransitGatewayRouteTableAssociations_filters :: Lens' GetTransitGatewayRouteTableAssociations (Maybe [Filter]) Source #
One or more filters. The possible values are:
resource-id
- The ID of the resource.resource-type
- The resource type. Valid values arevpc
|vpn
|direct-connect-gateway
|peering
|connect
.transit-gateway-attachment-id
- The ID of the attachment.
getTransitGatewayRouteTableAssociations_maxResults :: Lens' GetTransitGatewayRouteTableAssociations (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.
getTransitGatewayRouteTableAssociations_nextToken :: Lens' GetTransitGatewayRouteTableAssociations (Maybe Text) Source #
The token for the next page of results.
getTransitGatewayRouteTableAssociations_transitGatewayRouteTableId :: Lens' GetTransitGatewayRouteTableAssociations Text Source #
The ID of the transit gateway route table.
Destructuring the Response
data GetTransitGatewayRouteTableAssociationsResponse Source #
See: newGetTransitGatewayRouteTableAssociationsResponse
smart constructor.
GetTransitGatewayRouteTableAssociationsResponse' | |
|
Instances
newGetTransitGatewayRouteTableAssociationsResponse Source #
:: Int |
|
-> GetTransitGatewayRouteTableAssociationsResponse |
Create a value of GetTransitGatewayRouteTableAssociationsResponse
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:
GetTransitGatewayRouteTableAssociationsResponse
, getTransitGatewayRouteTableAssociationsResponse_associations
- Information about the associations.
GetTransitGatewayRouteTableAssociations
, getTransitGatewayRouteTableAssociationsResponse_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:httpStatus:GetTransitGatewayRouteTableAssociationsResponse'
, getTransitGatewayRouteTableAssociationsResponse_httpStatus
- The response's http status code.
Response Lenses
getTransitGatewayRouteTableAssociationsResponse_associations :: Lens' GetTransitGatewayRouteTableAssociationsResponse (Maybe [TransitGatewayRouteTableAssociation]) Source #
Information about the associations.
getTransitGatewayRouteTableAssociationsResponse_nextToken :: Lens' GetTransitGatewayRouteTableAssociationsResponse (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.
getTransitGatewayRouteTableAssociationsResponse_httpStatus :: Lens' GetTransitGatewayRouteTableAssociationsResponse Int Source #
The response's http status code.