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

Description

Deletes an egress-only internet gateway.

Synopsis

Creating a Request

data DeleteEgressOnlyInternetGateway Source #

See: newDeleteEgressOnlyInternetGateway smart constructor.

Constructors

DeleteEgressOnlyInternetGateway' 

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.

  • egressOnlyInternetGatewayId :: Text

    The ID of the egress-only internet gateway.

Instances

Instances details
ToHeaders DeleteEgressOnlyInternetGateway Source # 
Instance details

Defined in Amazonka.EC2.DeleteEgressOnlyInternetGateway

ToPath DeleteEgressOnlyInternetGateway Source # 
Instance details

Defined in Amazonka.EC2.DeleteEgressOnlyInternetGateway

ToQuery DeleteEgressOnlyInternetGateway Source # 
Instance details

Defined in Amazonka.EC2.DeleteEgressOnlyInternetGateway

AWSRequest DeleteEgressOnlyInternetGateway Source # 
Instance details

Defined in Amazonka.EC2.DeleteEgressOnlyInternetGateway

Generic DeleteEgressOnlyInternetGateway Source # 
Instance details

Defined in Amazonka.EC2.DeleteEgressOnlyInternetGateway

Associated Types

type Rep DeleteEgressOnlyInternetGateway :: Type -> Type #

Read DeleteEgressOnlyInternetGateway Source # 
Instance details

Defined in Amazonka.EC2.DeleteEgressOnlyInternetGateway

Show DeleteEgressOnlyInternetGateway Source # 
Instance details

Defined in Amazonka.EC2.DeleteEgressOnlyInternetGateway

NFData DeleteEgressOnlyInternetGateway Source # 
Instance details

Defined in Amazonka.EC2.DeleteEgressOnlyInternetGateway

Eq DeleteEgressOnlyInternetGateway Source # 
Instance details

Defined in Amazonka.EC2.DeleteEgressOnlyInternetGateway

Hashable DeleteEgressOnlyInternetGateway Source # 
Instance details

Defined in Amazonka.EC2.DeleteEgressOnlyInternetGateway

type AWSResponse DeleteEgressOnlyInternetGateway Source # 
Instance details

Defined in Amazonka.EC2.DeleteEgressOnlyInternetGateway

type Rep DeleteEgressOnlyInternetGateway Source # 
Instance details

Defined in Amazonka.EC2.DeleteEgressOnlyInternetGateway

type Rep DeleteEgressOnlyInternetGateway = D1 ('MetaData "DeleteEgressOnlyInternetGateway" "Amazonka.EC2.DeleteEgressOnlyInternetGateway" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "DeleteEgressOnlyInternetGateway'" 'PrefixI 'True) (S1 ('MetaSel ('Just "dryRun") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "egressOnlyInternetGatewayId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDeleteEgressOnlyInternetGateway Source #

Create a value of DeleteEgressOnlyInternetGateway 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:DeleteEgressOnlyInternetGateway', deleteEgressOnlyInternetGateway_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.

DeleteEgressOnlyInternetGateway, deleteEgressOnlyInternetGateway_egressOnlyInternetGatewayId - The ID of the egress-only internet gateway.

Request Lenses

deleteEgressOnlyInternetGateway_dryRun :: Lens' DeleteEgressOnlyInternetGateway (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.

Destructuring the Response

data DeleteEgressOnlyInternetGatewayResponse Source #

Constructors

DeleteEgressOnlyInternetGatewayResponse' 

Fields

Instances

Instances details
Generic DeleteEgressOnlyInternetGatewayResponse Source # 
Instance details

Defined in Amazonka.EC2.DeleteEgressOnlyInternetGateway

Read DeleteEgressOnlyInternetGatewayResponse Source # 
Instance details

Defined in Amazonka.EC2.DeleteEgressOnlyInternetGateway

Show DeleteEgressOnlyInternetGatewayResponse Source # 
Instance details

Defined in Amazonka.EC2.DeleteEgressOnlyInternetGateway

NFData DeleteEgressOnlyInternetGatewayResponse Source # 
Instance details

Defined in Amazonka.EC2.DeleteEgressOnlyInternetGateway

Eq DeleteEgressOnlyInternetGatewayResponse Source # 
Instance details

Defined in Amazonka.EC2.DeleteEgressOnlyInternetGateway

type Rep DeleteEgressOnlyInternetGatewayResponse Source # 
Instance details

Defined in Amazonka.EC2.DeleteEgressOnlyInternetGateway

type Rep DeleteEgressOnlyInternetGatewayResponse = D1 ('MetaData "DeleteEgressOnlyInternetGatewayResponse" "Amazonka.EC2.DeleteEgressOnlyInternetGateway" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "DeleteEgressOnlyInternetGatewayResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "returnCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeleteEgressOnlyInternetGatewayResponse Source #

Create a value of DeleteEgressOnlyInternetGatewayResponse 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:returnCode:DeleteEgressOnlyInternetGatewayResponse', deleteEgressOnlyInternetGatewayResponse_returnCode - Returns true if the request succeeds; otherwise, it returns an error.

$sel:httpStatus:DeleteEgressOnlyInternetGatewayResponse', deleteEgressOnlyInternetGatewayResponse_httpStatus - The response's http status code.

Response Lenses

deleteEgressOnlyInternetGatewayResponse_returnCode :: Lens' DeleteEgressOnlyInternetGatewayResponse (Maybe Bool) Source #

Returns true if the request succeeds; otherwise, it returns an error.