amazonka-ec2-2.0: Amazon Elastic Compute Cloud SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.EC2.DescribeEgressOnlyInternetGateways

Description

Describes one or more of your egress-only internet gateways.

This operation returns paginated results.

Synopsis

Creating a Request

data DescribeEgressOnlyInternetGateways Source #

Constructors

DescribeEgressOnlyInternetGateways' 

Fields

  • dryRun :: Maybe Bool

    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.

  • egressOnlyInternetGatewayIds :: Maybe [Text]

    One or more egress-only internet gateway IDs.

  • filters :: Maybe [Filter]

    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 key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA 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.
  • maxResults :: Maybe Natural

    The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.

  • nextToken :: Maybe Text

    The token for the next page of results.

Instances

Instances details
ToHeaders DescribeEgressOnlyInternetGateways Source # 
Instance details

Defined in Amazonka.EC2.DescribeEgressOnlyInternetGateways

ToPath DescribeEgressOnlyInternetGateways Source # 
Instance details

Defined in Amazonka.EC2.DescribeEgressOnlyInternetGateways

ToQuery DescribeEgressOnlyInternetGateways Source # 
Instance details

Defined in Amazonka.EC2.DescribeEgressOnlyInternetGateways

AWSPager DescribeEgressOnlyInternetGateways Source # 
Instance details

Defined in Amazonka.EC2.DescribeEgressOnlyInternetGateways

AWSRequest DescribeEgressOnlyInternetGateways Source # 
Instance details

Defined in Amazonka.EC2.DescribeEgressOnlyInternetGateways

Generic DescribeEgressOnlyInternetGateways Source # 
Instance details

Defined in Amazonka.EC2.DescribeEgressOnlyInternetGateways

Associated Types

type Rep DescribeEgressOnlyInternetGateways :: Type -> Type #

Read DescribeEgressOnlyInternetGateways Source # 
Instance details

Defined in Amazonka.EC2.DescribeEgressOnlyInternetGateways

Show DescribeEgressOnlyInternetGateways Source # 
Instance details

Defined in Amazonka.EC2.DescribeEgressOnlyInternetGateways

NFData DescribeEgressOnlyInternetGateways Source # 
Instance details

Defined in Amazonka.EC2.DescribeEgressOnlyInternetGateways

Eq DescribeEgressOnlyInternetGateways Source # 
Instance details

Defined in Amazonka.EC2.DescribeEgressOnlyInternetGateways

Hashable DescribeEgressOnlyInternetGateways Source # 
Instance details

Defined in Amazonka.EC2.DescribeEgressOnlyInternetGateways

type AWSResponse DescribeEgressOnlyInternetGateways Source # 
Instance details

Defined in Amazonka.EC2.DescribeEgressOnlyInternetGateways

type Rep DescribeEgressOnlyInternetGateways Source # 
Instance details

Defined in Amazonka.EC2.DescribeEgressOnlyInternetGateways

type Rep DescribeEgressOnlyInternetGateways = D1 ('MetaData "DescribeEgressOnlyInternetGateways" "Amazonka.EC2.DescribeEgressOnlyInternetGateways" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "DescribeEgressOnlyInternetGateways'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "dryRun") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "egressOnlyInternetGatewayIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))) :*: (S1 ('MetaSel ('Just "filters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Filter])) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

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 key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA 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_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 key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA 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.

Destructuring the Response

data DescribeEgressOnlyInternetGatewaysResponse Source #

Constructors

DescribeEgressOnlyInternetGatewaysResponse' 

Fields

Instances

Instances details
Generic DescribeEgressOnlyInternetGatewaysResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeEgressOnlyInternetGateways

Read DescribeEgressOnlyInternetGatewaysResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeEgressOnlyInternetGateways

Show DescribeEgressOnlyInternetGatewaysResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeEgressOnlyInternetGateways

NFData DescribeEgressOnlyInternetGatewaysResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeEgressOnlyInternetGateways

Eq DescribeEgressOnlyInternetGatewaysResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeEgressOnlyInternetGateways

type Rep DescribeEgressOnlyInternetGatewaysResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeEgressOnlyInternetGateways

type Rep DescribeEgressOnlyInternetGatewaysResponse = D1 ('MetaData "DescribeEgressOnlyInternetGatewaysResponse" "Amazonka.EC2.DescribeEgressOnlyInternetGateways" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "DescribeEgressOnlyInternetGatewaysResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "egressOnlyInternetGateways") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [EgressOnlyInternetGateway])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

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_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.