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

Description

Deletes a pool of customer-owned IP (CoIP) addresses.

Synopsis

Creating a Request

data DeleteCoipPool Source #

See: newDeleteCoipPool smart constructor.

Constructors

DeleteCoipPool' 

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.

  • coipPoolId :: Text

    The ID of the CoIP pool that you want to delete.

Instances

Instances details
ToHeaders DeleteCoipPool Source # 
Instance details

Defined in Amazonka.EC2.DeleteCoipPool

ToPath DeleteCoipPool Source # 
Instance details

Defined in Amazonka.EC2.DeleteCoipPool

ToQuery DeleteCoipPool Source # 
Instance details

Defined in Amazonka.EC2.DeleteCoipPool

AWSRequest DeleteCoipPool Source # 
Instance details

Defined in Amazonka.EC2.DeleteCoipPool

Associated Types

type AWSResponse DeleteCoipPool #

Generic DeleteCoipPool Source # 
Instance details

Defined in Amazonka.EC2.DeleteCoipPool

Associated Types

type Rep DeleteCoipPool :: Type -> Type #

Read DeleteCoipPool Source # 
Instance details

Defined in Amazonka.EC2.DeleteCoipPool

Show DeleteCoipPool Source # 
Instance details

Defined in Amazonka.EC2.DeleteCoipPool

NFData DeleteCoipPool Source # 
Instance details

Defined in Amazonka.EC2.DeleteCoipPool

Methods

rnf :: DeleteCoipPool -> () #

Eq DeleteCoipPool Source # 
Instance details

Defined in Amazonka.EC2.DeleteCoipPool

Hashable DeleteCoipPool Source # 
Instance details

Defined in Amazonka.EC2.DeleteCoipPool

type AWSResponse DeleteCoipPool Source # 
Instance details

Defined in Amazonka.EC2.DeleteCoipPool

type Rep DeleteCoipPool Source # 
Instance details

Defined in Amazonka.EC2.DeleteCoipPool

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

newDeleteCoipPool Source #

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

DeleteCoipPool, deleteCoipPool_coipPoolId - The ID of the CoIP pool that you want to delete.

Request Lenses

deleteCoipPool_dryRun :: Lens' DeleteCoipPool (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.

deleteCoipPool_coipPoolId :: Lens' DeleteCoipPool Text Source #

The ID of the CoIP pool that you want to delete.

Destructuring the Response

data DeleteCoipPoolResponse Source #

See: newDeleteCoipPoolResponse smart constructor.

Constructors

DeleteCoipPoolResponse' 

Fields

Instances

Instances details
Generic DeleteCoipPoolResponse Source # 
Instance details

Defined in Amazonka.EC2.DeleteCoipPool

Associated Types

type Rep DeleteCoipPoolResponse :: Type -> Type #

Read DeleteCoipPoolResponse Source # 
Instance details

Defined in Amazonka.EC2.DeleteCoipPool

Show DeleteCoipPoolResponse Source # 
Instance details

Defined in Amazonka.EC2.DeleteCoipPool

NFData DeleteCoipPoolResponse Source # 
Instance details

Defined in Amazonka.EC2.DeleteCoipPool

Methods

rnf :: DeleteCoipPoolResponse -> () #

Eq DeleteCoipPoolResponse Source # 
Instance details

Defined in Amazonka.EC2.DeleteCoipPool

type Rep DeleteCoipPoolResponse Source # 
Instance details

Defined in Amazonka.EC2.DeleteCoipPool

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

newDeleteCoipPoolResponse Source #

Create a value of DeleteCoipPoolResponse 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:coipPool:DeleteCoipPoolResponse', deleteCoipPoolResponse_coipPool - Information about the CoIP address pool.

$sel:httpStatus:DeleteCoipPoolResponse', deleteCoipPoolResponse_httpStatus - The response's http status code.

Response Lenses