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 transit gateway route tables. By default, all transit gateway route tables are described. Alternatively, you can filter the results.
This operation returns paginated results.
Synopsis
- data DescribeTransitGatewayRouteTables = DescribeTransitGatewayRouteTables' {}
- newDescribeTransitGatewayRouteTables :: DescribeTransitGatewayRouteTables
- describeTransitGatewayRouteTables_dryRun :: Lens' DescribeTransitGatewayRouteTables (Maybe Bool)
- describeTransitGatewayRouteTables_filters :: Lens' DescribeTransitGatewayRouteTables (Maybe [Filter])
- describeTransitGatewayRouteTables_maxResults :: Lens' DescribeTransitGatewayRouteTables (Maybe Natural)
- describeTransitGatewayRouteTables_nextToken :: Lens' DescribeTransitGatewayRouteTables (Maybe Text)
- describeTransitGatewayRouteTables_transitGatewayRouteTableIds :: Lens' DescribeTransitGatewayRouteTables (Maybe [Text])
- data DescribeTransitGatewayRouteTablesResponse = DescribeTransitGatewayRouteTablesResponse' {}
- newDescribeTransitGatewayRouteTablesResponse :: Int -> DescribeTransitGatewayRouteTablesResponse
- describeTransitGatewayRouteTablesResponse_nextToken :: Lens' DescribeTransitGatewayRouteTablesResponse (Maybe Text)
- describeTransitGatewayRouteTablesResponse_transitGatewayRouteTables :: Lens' DescribeTransitGatewayRouteTablesResponse (Maybe [TransitGatewayRouteTable])
- describeTransitGatewayRouteTablesResponse_httpStatus :: Lens' DescribeTransitGatewayRouteTablesResponse Int
Creating a Request
data DescribeTransitGatewayRouteTables Source #
See: newDescribeTransitGatewayRouteTables
smart constructor.
DescribeTransitGatewayRouteTables' | |
|
Instances
newDescribeTransitGatewayRouteTables :: DescribeTransitGatewayRouteTables Source #
Create a value of DescribeTransitGatewayRouteTables
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:DescribeTransitGatewayRouteTables'
, describeTransitGatewayRouteTables_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:DescribeTransitGatewayRouteTables'
, describeTransitGatewayRouteTables_filters
- One or more filters. The possible values are:
default-association-route-table
- Indicates whether this is the default association route table for the transit gateway (true
|false
).default-propagation-route-table
- Indicates whether this is the default propagation route table for the transit gateway (true
|false
).state
- The state of the route table (available
|deleting
|deleted
|pending
).transit-gateway-id
- The ID of the transit gateway.transit-gateway-route-table-id
- The ID of the transit gateway route table.
$sel:maxResults:DescribeTransitGatewayRouteTables'
, describeTransitGatewayRouteTables_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.
DescribeTransitGatewayRouteTables
, describeTransitGatewayRouteTables_nextToken
- The token for the next page of results.
$sel:transitGatewayRouteTableIds:DescribeTransitGatewayRouteTables'
, describeTransitGatewayRouteTables_transitGatewayRouteTableIds
- The IDs of the transit gateway route tables.
Request Lenses
describeTransitGatewayRouteTables_dryRun :: Lens' DescribeTransitGatewayRouteTables (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
.
describeTransitGatewayRouteTables_filters :: Lens' DescribeTransitGatewayRouteTables (Maybe [Filter]) Source #
One or more filters. The possible values are:
default-association-route-table
- Indicates whether this is the default association route table for the transit gateway (true
|false
).default-propagation-route-table
- Indicates whether this is the default propagation route table for the transit gateway (true
|false
).state
- The state of the route table (available
|deleting
|deleted
|pending
).transit-gateway-id
- The ID of the transit gateway.transit-gateway-route-table-id
- The ID of the transit gateway route table.
describeTransitGatewayRouteTables_maxResults :: Lens' DescribeTransitGatewayRouteTables (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.
describeTransitGatewayRouteTables_nextToken :: Lens' DescribeTransitGatewayRouteTables (Maybe Text) Source #
The token for the next page of results.
describeTransitGatewayRouteTables_transitGatewayRouteTableIds :: Lens' DescribeTransitGatewayRouteTables (Maybe [Text]) Source #
The IDs of the transit gateway route tables.
Destructuring the Response
data DescribeTransitGatewayRouteTablesResponse Source #
See: newDescribeTransitGatewayRouteTablesResponse
smart constructor.
DescribeTransitGatewayRouteTablesResponse' | |
|
Instances
newDescribeTransitGatewayRouteTablesResponse Source #
Create a value of DescribeTransitGatewayRouteTablesResponse
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:
DescribeTransitGatewayRouteTables
, describeTransitGatewayRouteTablesResponse_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:transitGatewayRouteTables:DescribeTransitGatewayRouteTablesResponse'
, describeTransitGatewayRouteTablesResponse_transitGatewayRouteTables
- Information about the transit gateway route tables.
$sel:httpStatus:DescribeTransitGatewayRouteTablesResponse'
, describeTransitGatewayRouteTablesResponse_httpStatus
- The response's http status code.
Response Lenses
describeTransitGatewayRouteTablesResponse_nextToken :: Lens' DescribeTransitGatewayRouteTablesResponse (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.
describeTransitGatewayRouteTablesResponse_transitGatewayRouteTables :: Lens' DescribeTransitGatewayRouteTablesResponse (Maybe [TransitGatewayRouteTable]) Source #
Information about the transit gateway route tables.
describeTransitGatewayRouteTablesResponse_httpStatus :: Lens' DescribeTransitGatewayRouteTablesResponse Int Source #
The response's http status code.