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

Description

Delete a public IPv4 pool. A public IPv4 pool is an EC2 IP address pool required for the public IPv4 CIDRs that you own and bring to Amazon Web Services to manage with IPAM. IPv6 addresses you bring to Amazon Web Services, however, use IPAM pools only.

Synopsis

Creating a Request

data DeletePublicIpv4Pool Source #

See: newDeletePublicIpv4Pool smart constructor.

Constructors

DeletePublicIpv4Pool' 

Fields

  • dryRun :: Maybe Bool

    A check for 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.

  • poolId :: Text

    The ID of the public IPv4 pool you want to delete.

Instances

Instances details
ToHeaders DeletePublicIpv4Pool Source # 
Instance details

Defined in Amazonka.EC2.DeletePublicIpv4Pool

ToPath DeletePublicIpv4Pool Source # 
Instance details

Defined in Amazonka.EC2.DeletePublicIpv4Pool

ToQuery DeletePublicIpv4Pool Source # 
Instance details

Defined in Amazonka.EC2.DeletePublicIpv4Pool

AWSRequest DeletePublicIpv4Pool Source # 
Instance details

Defined in Amazonka.EC2.DeletePublicIpv4Pool

Associated Types

type AWSResponse DeletePublicIpv4Pool #

Generic DeletePublicIpv4Pool Source # 
Instance details

Defined in Amazonka.EC2.DeletePublicIpv4Pool

Associated Types

type Rep DeletePublicIpv4Pool :: Type -> Type #

Read DeletePublicIpv4Pool Source # 
Instance details

Defined in Amazonka.EC2.DeletePublicIpv4Pool

Show DeletePublicIpv4Pool Source # 
Instance details

Defined in Amazonka.EC2.DeletePublicIpv4Pool

NFData DeletePublicIpv4Pool Source # 
Instance details

Defined in Amazonka.EC2.DeletePublicIpv4Pool

Methods

rnf :: DeletePublicIpv4Pool -> () #

Eq DeletePublicIpv4Pool Source # 
Instance details

Defined in Amazonka.EC2.DeletePublicIpv4Pool

Hashable DeletePublicIpv4Pool Source # 
Instance details

Defined in Amazonka.EC2.DeletePublicIpv4Pool

type AWSResponse DeletePublicIpv4Pool Source # 
Instance details

Defined in Amazonka.EC2.DeletePublicIpv4Pool

type Rep DeletePublicIpv4Pool Source # 
Instance details

Defined in Amazonka.EC2.DeletePublicIpv4Pool

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

newDeletePublicIpv4Pool Source #

Create a value of DeletePublicIpv4Pool 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:DeletePublicIpv4Pool', deletePublicIpv4Pool_dryRun - A check for 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.

DeletePublicIpv4Pool, deletePublicIpv4Pool_poolId - The ID of the public IPv4 pool you want to delete.

Request Lenses

deletePublicIpv4Pool_dryRun :: Lens' DeletePublicIpv4Pool (Maybe Bool) Source #

A check for 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.

deletePublicIpv4Pool_poolId :: Lens' DeletePublicIpv4Pool Text Source #

The ID of the public IPv4 pool you want to delete.

Destructuring the Response

data DeletePublicIpv4PoolResponse Source #

See: newDeletePublicIpv4PoolResponse smart constructor.

Constructors

DeletePublicIpv4PoolResponse' 

Fields

Instances

Instances details
Generic DeletePublicIpv4PoolResponse Source # 
Instance details

Defined in Amazonka.EC2.DeletePublicIpv4Pool

Associated Types

type Rep DeletePublicIpv4PoolResponse :: Type -> Type #

Read DeletePublicIpv4PoolResponse Source # 
Instance details

Defined in Amazonka.EC2.DeletePublicIpv4Pool

Show DeletePublicIpv4PoolResponse Source # 
Instance details

Defined in Amazonka.EC2.DeletePublicIpv4Pool

NFData DeletePublicIpv4PoolResponse Source # 
Instance details

Defined in Amazonka.EC2.DeletePublicIpv4Pool

Eq DeletePublicIpv4PoolResponse Source # 
Instance details

Defined in Amazonka.EC2.DeletePublicIpv4Pool

type Rep DeletePublicIpv4PoolResponse Source # 
Instance details

Defined in Amazonka.EC2.DeletePublicIpv4Pool

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

newDeletePublicIpv4PoolResponse Source #

Create a value of DeletePublicIpv4PoolResponse 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:returnValue:DeletePublicIpv4PoolResponse', deletePublicIpv4PoolResponse_returnValue - Information about the result of deleting the public IPv4 pool.

$sel:httpStatus:DeletePublicIpv4PoolResponse', deletePublicIpv4PoolResponse_httpStatus - The response's http status code.

Response Lenses

deletePublicIpv4PoolResponse_returnValue :: Lens' DeletePublicIpv4PoolResponse (Maybe Bool) Source #

Information about the result of deleting the public IPv4 pool.