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

Description

Creates a range of customer-owned IP addresses.

Synopsis

Creating a Request

data CreateCoipCidr Source #

See: newCreateCoipCidr smart constructor.

Constructors

CreateCoipCidr' 

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 to create.

  • coipPoolId :: Text

    The ID of the address pool.

Instances

Instances details
ToHeaders CreateCoipCidr Source # 
Instance details

Defined in Amazonka.EC2.CreateCoipCidr

ToPath CreateCoipCidr Source # 
Instance details

Defined in Amazonka.EC2.CreateCoipCidr

ToQuery CreateCoipCidr Source # 
Instance details

Defined in Amazonka.EC2.CreateCoipCidr

AWSRequest CreateCoipCidr Source # 
Instance details

Defined in Amazonka.EC2.CreateCoipCidr

Associated Types

type AWSResponse CreateCoipCidr #

Generic CreateCoipCidr Source # 
Instance details

Defined in Amazonka.EC2.CreateCoipCidr

Associated Types

type Rep CreateCoipCidr :: Type -> Type #

Read CreateCoipCidr Source # 
Instance details

Defined in Amazonka.EC2.CreateCoipCidr

Show CreateCoipCidr Source # 
Instance details

Defined in Amazonka.EC2.CreateCoipCidr

NFData CreateCoipCidr Source # 
Instance details

Defined in Amazonka.EC2.CreateCoipCidr

Methods

rnf :: CreateCoipCidr -> () #

Eq CreateCoipCidr Source # 
Instance details

Defined in Amazonka.EC2.CreateCoipCidr

Hashable CreateCoipCidr Source # 
Instance details

Defined in Amazonka.EC2.CreateCoipCidr

type AWSResponse CreateCoipCidr Source # 
Instance details

Defined in Amazonka.EC2.CreateCoipCidr

type Rep CreateCoipCidr Source # 
Instance details

Defined in Amazonka.EC2.CreateCoipCidr

type Rep CreateCoipCidr = D1 ('MetaData "CreateCoipCidr" "Amazonka.EC2.CreateCoipCidr" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "CreateCoipCidr'" '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))))

newCreateCoipCidr Source #

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

CreateCoipCidr, createCoipCidr_cidr - A customer-owned IP address range to create.

CreateCoipCidr, createCoipCidr_coipPoolId - The ID of the address pool.

Request Lenses

createCoipCidr_dryRun :: Lens' CreateCoipCidr (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.

createCoipCidr_cidr :: Lens' CreateCoipCidr Text Source #

A customer-owned IP address range to create.

Destructuring the Response

data CreateCoipCidrResponse Source #

See: newCreateCoipCidrResponse smart constructor.

Constructors

CreateCoipCidrResponse' 

Fields

Instances

Instances details
Generic CreateCoipCidrResponse Source # 
Instance details

Defined in Amazonka.EC2.CreateCoipCidr

Associated Types

type Rep CreateCoipCidrResponse :: Type -> Type #

Read CreateCoipCidrResponse Source # 
Instance details

Defined in Amazonka.EC2.CreateCoipCidr

Show CreateCoipCidrResponse Source # 
Instance details

Defined in Amazonka.EC2.CreateCoipCidr

NFData CreateCoipCidrResponse Source # 
Instance details

Defined in Amazonka.EC2.CreateCoipCidr

Methods

rnf :: CreateCoipCidrResponse -> () #

Eq CreateCoipCidrResponse Source # 
Instance details

Defined in Amazonka.EC2.CreateCoipCidr

type Rep CreateCoipCidrResponse Source # 
Instance details

Defined in Amazonka.EC2.CreateCoipCidr

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

newCreateCoipCidrResponse Source #

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

$sel:httpStatus:CreateCoipCidrResponse', createCoipCidrResponse_httpStatus - The response's http status code.

Response Lenses

createCoipCidrResponse_coipCidr :: Lens' CreateCoipCidrResponse (Maybe CoipCidr) Source #

Information about a range of customer-owned IP addresses.