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

Description

Deletes a range of customer-owned IP addresses.

Synopsis

Creating a Request

data DeleteCoipCidr Source #

See: newDeleteCoipCidr smart constructor.

Constructors

DeleteCoipCidr' 

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.

  • cidr :: Text

    A customer-owned IP address range that you want to delete.

  • coipPoolId :: Text

    The ID of the customer-owned address pool.

Instances

Instances details
ToHeaders DeleteCoipCidr Source # 
Instance details

Defined in Amazonka.EC2.DeleteCoipCidr

ToPath DeleteCoipCidr Source # 
Instance details

Defined in Amazonka.EC2.DeleteCoipCidr

ToQuery DeleteCoipCidr Source # 
Instance details

Defined in Amazonka.EC2.DeleteCoipCidr

AWSRequest DeleteCoipCidr Source # 
Instance details

Defined in Amazonka.EC2.DeleteCoipCidr

Associated Types

type AWSResponse DeleteCoipCidr #

Generic DeleteCoipCidr Source # 
Instance details

Defined in Amazonka.EC2.DeleteCoipCidr

Associated Types

type Rep DeleteCoipCidr :: Type -> Type #

Read DeleteCoipCidr Source # 
Instance details

Defined in Amazonka.EC2.DeleteCoipCidr

Show DeleteCoipCidr Source # 
Instance details

Defined in Amazonka.EC2.DeleteCoipCidr

NFData DeleteCoipCidr Source # 
Instance details

Defined in Amazonka.EC2.DeleteCoipCidr

Methods

rnf :: DeleteCoipCidr -> () #

Eq DeleteCoipCidr Source # 
Instance details

Defined in Amazonka.EC2.DeleteCoipCidr

Hashable DeleteCoipCidr Source # 
Instance details

Defined in Amazonka.EC2.DeleteCoipCidr

type AWSResponse DeleteCoipCidr Source # 
Instance details

Defined in Amazonka.EC2.DeleteCoipCidr

type Rep DeleteCoipCidr Source # 
Instance details

Defined in Amazonka.EC2.DeleteCoipCidr

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

newDeleteCoipCidr Source #

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

DeleteCoipCidr, deleteCoipCidr_cidr - A customer-owned IP address range that you want to delete.

DeleteCoipCidr, deleteCoipCidr_coipPoolId - The ID of the customer-owned address pool.

Request Lenses

deleteCoipCidr_dryRun :: Lens' DeleteCoipCidr (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.

deleteCoipCidr_cidr :: Lens' DeleteCoipCidr Text Source #

A customer-owned IP address range that you want to delete.

deleteCoipCidr_coipPoolId :: Lens' DeleteCoipCidr Text Source #

The ID of the customer-owned address pool.

Destructuring the Response

data DeleteCoipCidrResponse Source #

See: newDeleteCoipCidrResponse smart constructor.

Constructors

DeleteCoipCidrResponse' 

Fields

Instances

Instances details
Generic DeleteCoipCidrResponse Source # 
Instance details

Defined in Amazonka.EC2.DeleteCoipCidr

Associated Types

type Rep DeleteCoipCidrResponse :: Type -> Type #

Read DeleteCoipCidrResponse Source # 
Instance details

Defined in Amazonka.EC2.DeleteCoipCidr

Show DeleteCoipCidrResponse Source # 
Instance details

Defined in Amazonka.EC2.DeleteCoipCidr

NFData DeleteCoipCidrResponse Source # 
Instance details

Defined in Amazonka.EC2.DeleteCoipCidr

Methods

rnf :: DeleteCoipCidrResponse -> () #

Eq DeleteCoipCidrResponse Source # 
Instance details

Defined in Amazonka.EC2.DeleteCoipCidr

type Rep DeleteCoipCidrResponse Source # 
Instance details

Defined in Amazonka.EC2.DeleteCoipCidr

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

newDeleteCoipCidrResponse Source #

Create a value of DeleteCoipCidrResponse 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:coipCidr:DeleteCoipCidrResponse', deleteCoipCidrResponse_coipCidr - Information about a range of customer-owned IP addresses.

$sel:httpStatus:DeleteCoipCidrResponse', deleteCoipCidrResponse_httpStatus - The response's http status code.

Response Lenses

deleteCoipCidrResponse_coipCidr :: Lens' DeleteCoipCidrResponse (Maybe CoipCidr) Source #

Information about a range of customer-owned IP addresses.