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 local gateway route tables. By default, all local gateway route tables are described. Alternatively, you can filter the results.
This operation returns paginated results.
Synopsis
- data DescribeLocalGatewayRouteTables = DescribeLocalGatewayRouteTables' {}
- newDescribeLocalGatewayRouteTables :: DescribeLocalGatewayRouteTables
- describeLocalGatewayRouteTables_dryRun :: Lens' DescribeLocalGatewayRouteTables (Maybe Bool)
- describeLocalGatewayRouteTables_filters :: Lens' DescribeLocalGatewayRouteTables (Maybe [Filter])
- describeLocalGatewayRouteTables_localGatewayRouteTableIds :: Lens' DescribeLocalGatewayRouteTables (Maybe [Text])
- describeLocalGatewayRouteTables_maxResults :: Lens' DescribeLocalGatewayRouteTables (Maybe Natural)
- describeLocalGatewayRouteTables_nextToken :: Lens' DescribeLocalGatewayRouteTables (Maybe Text)
- data DescribeLocalGatewayRouteTablesResponse = DescribeLocalGatewayRouteTablesResponse' {}
- newDescribeLocalGatewayRouteTablesResponse :: Int -> DescribeLocalGatewayRouteTablesResponse
- describeLocalGatewayRouteTablesResponse_localGatewayRouteTables :: Lens' DescribeLocalGatewayRouteTablesResponse (Maybe [LocalGatewayRouteTable])
- describeLocalGatewayRouteTablesResponse_nextToken :: Lens' DescribeLocalGatewayRouteTablesResponse (Maybe Text)
- describeLocalGatewayRouteTablesResponse_httpStatus :: Lens' DescribeLocalGatewayRouteTablesResponse Int
Creating a Request
data DescribeLocalGatewayRouteTables Source #
See: newDescribeLocalGatewayRouteTables
smart constructor.
DescribeLocalGatewayRouteTables' | |
|
Instances
newDescribeLocalGatewayRouteTables :: DescribeLocalGatewayRouteTables Source #
Create a value of DescribeLocalGatewayRouteTables
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:DescribeLocalGatewayRouteTables'
, describeLocalGatewayRouteTables_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:DescribeLocalGatewayRouteTables'
, describeLocalGatewayRouteTables_filters
- One or more filters.
local-gateway-id
- The ID of a local gateway.local-gateway-route-table-arn
- The Amazon Resource Name (ARN) of the local gateway route table.local-gateway-route-table-id
- The ID of a local gateway route table.outpost-arn
- The Amazon Resource Name (ARN) of the Outpost.owner-id
- The ID of the Amazon Web Services account that owns the local gateway route table.state
- The state of the local gateway route table.
$sel:localGatewayRouteTableIds:DescribeLocalGatewayRouteTables'
, describeLocalGatewayRouteTables_localGatewayRouteTableIds
- The IDs of the local gateway route tables.
$sel:maxResults:DescribeLocalGatewayRouteTables'
, describeLocalGatewayRouteTables_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.
DescribeLocalGatewayRouteTables
, describeLocalGatewayRouteTables_nextToken
- The token for the next page of results.
Request Lenses
describeLocalGatewayRouteTables_dryRun :: Lens' DescribeLocalGatewayRouteTables (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
.
describeLocalGatewayRouteTables_filters :: Lens' DescribeLocalGatewayRouteTables (Maybe [Filter]) Source #
One or more filters.
local-gateway-id
- The ID of a local gateway.local-gateway-route-table-arn
- The Amazon Resource Name (ARN) of the local gateway route table.local-gateway-route-table-id
- The ID of a local gateway route table.outpost-arn
- The Amazon Resource Name (ARN) of the Outpost.owner-id
- The ID of the Amazon Web Services account that owns the local gateway route table.state
- The state of the local gateway route table.
describeLocalGatewayRouteTables_localGatewayRouteTableIds :: Lens' DescribeLocalGatewayRouteTables (Maybe [Text]) Source #
The IDs of the local gateway route tables.
describeLocalGatewayRouteTables_maxResults :: Lens' DescribeLocalGatewayRouteTables (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.
describeLocalGatewayRouteTables_nextToken :: Lens' DescribeLocalGatewayRouteTables (Maybe Text) Source #
The token for the next page of results.
Destructuring the Response
data DescribeLocalGatewayRouteTablesResponse Source #
See: newDescribeLocalGatewayRouteTablesResponse
smart constructor.
DescribeLocalGatewayRouteTablesResponse' | |
|
Instances
newDescribeLocalGatewayRouteTablesResponse Source #
Create a value of DescribeLocalGatewayRouteTablesResponse
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:localGatewayRouteTables:DescribeLocalGatewayRouteTablesResponse'
, describeLocalGatewayRouteTablesResponse_localGatewayRouteTables
- Information about the local gateway route tables.
DescribeLocalGatewayRouteTables
, describeLocalGatewayRouteTablesResponse_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:DescribeLocalGatewayRouteTablesResponse'
, describeLocalGatewayRouteTablesResponse_httpStatus
- The response's http status code.
Response Lenses
describeLocalGatewayRouteTablesResponse_localGatewayRouteTables :: Lens' DescribeLocalGatewayRouteTablesResponse (Maybe [LocalGatewayRouteTable]) Source #
Information about the local gateway route tables.
describeLocalGatewayRouteTablesResponse_nextToken :: Lens' DescribeLocalGatewayRouteTablesResponse (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.
describeLocalGatewayRouteTablesResponse_httpStatus :: Lens' DescribeLocalGatewayRouteTablesResponse Int Source #
The response's http status code.