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 gateways. By default, all local gateways are described. Alternatively, you can filter the results.
This operation returns paginated results.
Synopsis
- data DescribeLocalGateways = DescribeLocalGateways' {}
- newDescribeLocalGateways :: DescribeLocalGateways
- describeLocalGateways_dryRun :: Lens' DescribeLocalGateways (Maybe Bool)
- describeLocalGateways_filters :: Lens' DescribeLocalGateways (Maybe [Filter])
- describeLocalGateways_localGatewayIds :: Lens' DescribeLocalGateways (Maybe [Text])
- describeLocalGateways_maxResults :: Lens' DescribeLocalGateways (Maybe Natural)
- describeLocalGateways_nextToken :: Lens' DescribeLocalGateways (Maybe Text)
- data DescribeLocalGatewaysResponse = DescribeLocalGatewaysResponse' {
- localGateways :: Maybe [LocalGateway]
- nextToken :: Maybe Text
- httpStatus :: Int
- newDescribeLocalGatewaysResponse :: Int -> DescribeLocalGatewaysResponse
- describeLocalGatewaysResponse_localGateways :: Lens' DescribeLocalGatewaysResponse (Maybe [LocalGateway])
- describeLocalGatewaysResponse_nextToken :: Lens' DescribeLocalGatewaysResponse (Maybe Text)
- describeLocalGatewaysResponse_httpStatus :: Lens' DescribeLocalGatewaysResponse Int
Creating a Request
data DescribeLocalGateways Source #
See: newDescribeLocalGateways
smart constructor.
DescribeLocalGateways' | |
|
Instances
newDescribeLocalGateways :: DescribeLocalGateways Source #
Create a value of DescribeLocalGateways
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:DescribeLocalGateways'
, describeLocalGateways_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:DescribeLocalGateways'
, describeLocalGateways_filters
- One or more filters.
local-gateway-id
- The ID of a local gateway.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.state
- The state of the association.
$sel:localGatewayIds:DescribeLocalGateways'
, describeLocalGateways_localGatewayIds
- The IDs of the local gateways.
$sel:maxResults:DescribeLocalGateways'
, describeLocalGateways_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.
DescribeLocalGateways
, describeLocalGateways_nextToken
- The token for the next page of results.
Request Lenses
describeLocalGateways_dryRun :: Lens' DescribeLocalGateways (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
.
describeLocalGateways_filters :: Lens' DescribeLocalGateways (Maybe [Filter]) Source #
One or more filters.
local-gateway-id
- The ID of a local gateway.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.state
- The state of the association.
describeLocalGateways_localGatewayIds :: Lens' DescribeLocalGateways (Maybe [Text]) Source #
The IDs of the local gateways.
describeLocalGateways_maxResults :: Lens' DescribeLocalGateways (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.
describeLocalGateways_nextToken :: Lens' DescribeLocalGateways (Maybe Text) Source #
The token for the next page of results.
Destructuring the Response
data DescribeLocalGatewaysResponse Source #
See: newDescribeLocalGatewaysResponse
smart constructor.
DescribeLocalGatewaysResponse' | |
|
Instances
newDescribeLocalGatewaysResponse Source #
Create a value of DescribeLocalGatewaysResponse
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:localGateways:DescribeLocalGatewaysResponse'
, describeLocalGatewaysResponse_localGateways
- Information about the local gateways.
DescribeLocalGateways
, describeLocalGatewaysResponse_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:DescribeLocalGatewaysResponse'
, describeLocalGatewaysResponse_httpStatus
- The response's http status code.
Response Lenses
describeLocalGatewaysResponse_localGateways :: Lens' DescribeLocalGatewaysResponse (Maybe [LocalGateway]) Source #
Information about the local gateways.
describeLocalGatewaysResponse_nextToken :: Lens' DescribeLocalGatewaysResponse (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.
describeLocalGatewaysResponse_httpStatus :: Lens' DescribeLocalGatewaysResponse Int Source #
The response's http status code.