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

Description

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

Synopsis

Creating a Request

data CreateCoipPool Source #

See: newCreateCoipPool smart constructor.

Constructors

CreateCoipPool' 

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.

  • tagSpecifications :: Maybe [TagSpecification]

    The tags to assign to the CoIP address pool.

  • localGatewayRouteTableId :: Text

    The ID of the local gateway route table.

Instances

Instances details
ToHeaders CreateCoipPool Source # 
Instance details

Defined in Amazonka.EC2.CreateCoipPool

ToPath CreateCoipPool Source # 
Instance details

Defined in Amazonka.EC2.CreateCoipPool

ToQuery CreateCoipPool Source # 
Instance details

Defined in Amazonka.EC2.CreateCoipPool

AWSRequest CreateCoipPool Source # 
Instance details

Defined in Amazonka.EC2.CreateCoipPool

Associated Types

type AWSResponse CreateCoipPool #

Generic CreateCoipPool Source # 
Instance details

Defined in Amazonka.EC2.CreateCoipPool

Associated Types

type Rep CreateCoipPool :: Type -> Type #

Read CreateCoipPool Source # 
Instance details

Defined in Amazonka.EC2.CreateCoipPool

Show CreateCoipPool Source # 
Instance details

Defined in Amazonka.EC2.CreateCoipPool

NFData CreateCoipPool Source # 
Instance details

Defined in Amazonka.EC2.CreateCoipPool

Methods

rnf :: CreateCoipPool -> () #

Eq CreateCoipPool Source # 
Instance details

Defined in Amazonka.EC2.CreateCoipPool

Hashable CreateCoipPool Source # 
Instance details

Defined in Amazonka.EC2.CreateCoipPool

type AWSResponse CreateCoipPool Source # 
Instance details

Defined in Amazonka.EC2.CreateCoipPool

type Rep CreateCoipPool Source # 
Instance details

Defined in Amazonka.EC2.CreateCoipPool

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

newCreateCoipPool Source #

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

CreateCoipPool, createCoipPool_tagSpecifications - The tags to assign to the CoIP address pool.

CreateCoipPool, createCoipPool_localGatewayRouteTableId - The ID of the local gateway route table.

Request Lenses

createCoipPool_dryRun :: Lens' CreateCoipPool (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.

createCoipPool_tagSpecifications :: Lens' CreateCoipPool (Maybe [TagSpecification]) Source #

The tags to assign to the CoIP address pool.

createCoipPool_localGatewayRouteTableId :: Lens' CreateCoipPool Text Source #

The ID of the local gateway route table.

Destructuring the Response

data CreateCoipPoolResponse Source #

See: newCreateCoipPoolResponse smart constructor.

Constructors

CreateCoipPoolResponse' 

Fields

Instances

Instances details
Generic CreateCoipPoolResponse Source # 
Instance details

Defined in Amazonka.EC2.CreateCoipPool

Associated Types

type Rep CreateCoipPoolResponse :: Type -> Type #

Read CreateCoipPoolResponse Source # 
Instance details

Defined in Amazonka.EC2.CreateCoipPool

Show CreateCoipPoolResponse Source # 
Instance details

Defined in Amazonka.EC2.CreateCoipPool

NFData CreateCoipPoolResponse Source # 
Instance details

Defined in Amazonka.EC2.CreateCoipPool

Methods

rnf :: CreateCoipPoolResponse -> () #

Eq CreateCoipPoolResponse Source # 
Instance details

Defined in Amazonka.EC2.CreateCoipPool

type Rep CreateCoipPoolResponse Source # 
Instance details

Defined in Amazonka.EC2.CreateCoipPool

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

newCreateCoipPoolResponse Source #

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

$sel:httpStatus:CreateCoipPoolResponse', createCoipPoolResponse_httpStatus - The response's http status code.

Response Lenses