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 of your egress-only internet gateways.
This operation returns paginated results.
Synopsis
- data DescribeEgressOnlyInternetGateways = DescribeEgressOnlyInternetGateways' {}
- newDescribeEgressOnlyInternetGateways :: DescribeEgressOnlyInternetGateways
- describeEgressOnlyInternetGateways_dryRun :: Lens' DescribeEgressOnlyInternetGateways (Maybe Bool)
- describeEgressOnlyInternetGateways_egressOnlyInternetGatewayIds :: Lens' DescribeEgressOnlyInternetGateways (Maybe [Text])
- describeEgressOnlyInternetGateways_filters :: Lens' DescribeEgressOnlyInternetGateways (Maybe [Filter])
- describeEgressOnlyInternetGateways_maxResults :: Lens' DescribeEgressOnlyInternetGateways (Maybe Natural)
- describeEgressOnlyInternetGateways_nextToken :: Lens' DescribeEgressOnlyInternetGateways (Maybe Text)
- data DescribeEgressOnlyInternetGatewaysResponse = DescribeEgressOnlyInternetGatewaysResponse' {}
- newDescribeEgressOnlyInternetGatewaysResponse :: Int -> DescribeEgressOnlyInternetGatewaysResponse
- describeEgressOnlyInternetGatewaysResponse_egressOnlyInternetGateways :: Lens' DescribeEgressOnlyInternetGatewaysResponse (Maybe [EgressOnlyInternetGateway])
- describeEgressOnlyInternetGatewaysResponse_nextToken :: Lens' DescribeEgressOnlyInternetGatewaysResponse (Maybe Text)
- describeEgressOnlyInternetGatewaysResponse_httpStatus :: Lens' DescribeEgressOnlyInternetGatewaysResponse Int
Creating a Request
data DescribeEgressOnlyInternetGateways Source #
See: newDescribeEgressOnlyInternetGateways
smart constructor.
DescribeEgressOnlyInternetGateways' | |
|
Instances
newDescribeEgressOnlyInternetGateways :: DescribeEgressOnlyInternetGateways Source #
Create a value of DescribeEgressOnlyInternetGateways
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:DescribeEgressOnlyInternetGateways'
, describeEgressOnlyInternetGateways_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:egressOnlyInternetGatewayIds:DescribeEgressOnlyInternetGateways'
, describeEgressOnlyInternetGateways_egressOnlyInternetGatewayIds
- One or more egress-only internet gateway IDs.
$sel:filters:DescribeEgressOnlyInternetGateways'
, describeEgressOnlyInternetGateways_filters
- One or more filters.
tag
:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the keyOwner
and the valueTeamA
, specifytag:Owner
for the filter name andTeamA
for the filter value.tag-key
- The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.
$sel:maxResults:DescribeEgressOnlyInternetGateways'
, describeEgressOnlyInternetGateways_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.
DescribeEgressOnlyInternetGateways
, describeEgressOnlyInternetGateways_nextToken
- The token for the next page of results.
Request Lenses
describeEgressOnlyInternetGateways_dryRun :: Lens' DescribeEgressOnlyInternetGateways (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
.
describeEgressOnlyInternetGateways_egressOnlyInternetGatewayIds :: Lens' DescribeEgressOnlyInternetGateways (Maybe [Text]) Source #
One or more egress-only internet gateway IDs.
describeEgressOnlyInternetGateways_filters :: Lens' DescribeEgressOnlyInternetGateways (Maybe [Filter]) Source #
One or more filters.
tag
:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the keyOwner
and the valueTeamA
, specifytag:Owner
for the filter name andTeamA
for the filter value.tag-key
- The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.
describeEgressOnlyInternetGateways_maxResults :: Lens' DescribeEgressOnlyInternetGateways (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.
describeEgressOnlyInternetGateways_nextToken :: Lens' DescribeEgressOnlyInternetGateways (Maybe Text) Source #
The token for the next page of results.
Destructuring the Response
data DescribeEgressOnlyInternetGatewaysResponse Source #
See: newDescribeEgressOnlyInternetGatewaysResponse
smart constructor.
DescribeEgressOnlyInternetGatewaysResponse' | |
|
Instances
newDescribeEgressOnlyInternetGatewaysResponse Source #
Create a value of DescribeEgressOnlyInternetGatewaysResponse
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:egressOnlyInternetGateways:DescribeEgressOnlyInternetGatewaysResponse'
, describeEgressOnlyInternetGatewaysResponse_egressOnlyInternetGateways
- Information about the egress-only internet gateways.
DescribeEgressOnlyInternetGateways
, describeEgressOnlyInternetGatewaysResponse_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:DescribeEgressOnlyInternetGatewaysResponse'
, describeEgressOnlyInternetGatewaysResponse_httpStatus
- The response's http status code.
Response Lenses
describeEgressOnlyInternetGatewaysResponse_egressOnlyInternetGateways :: Lens' DescribeEgressOnlyInternetGatewaysResponse (Maybe [EgressOnlyInternetGateway]) Source #
Information about the egress-only internet gateways.
describeEgressOnlyInternetGatewaysResponse_nextToken :: Lens' DescribeEgressOnlyInternetGatewaysResponse (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.
describeEgressOnlyInternetGatewaysResponse_httpStatus :: Lens' DescribeEgressOnlyInternetGatewaysResponse Int Source #
The response's http status code.