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

Description

Creates a public IPv4 address 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. To monitor the status of pool creation, use DescribePublicIpv4Pools.

Synopsis

Creating a Request

data CreatePublicIpv4Pool Source #

See: newCreatePublicIpv4Pool smart constructor.

Constructors

CreatePublicIpv4Pool' 

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.

  • tagSpecifications :: Maybe [TagSpecification]

    The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

Instances

Instances details
ToHeaders CreatePublicIpv4Pool Source # 
Instance details

Defined in Amazonka.EC2.CreatePublicIpv4Pool

ToPath CreatePublicIpv4Pool Source # 
Instance details

Defined in Amazonka.EC2.CreatePublicIpv4Pool

ToQuery CreatePublicIpv4Pool Source # 
Instance details

Defined in Amazonka.EC2.CreatePublicIpv4Pool

AWSRequest CreatePublicIpv4Pool Source # 
Instance details

Defined in Amazonka.EC2.CreatePublicIpv4Pool

Associated Types

type AWSResponse CreatePublicIpv4Pool #

Generic CreatePublicIpv4Pool Source # 
Instance details

Defined in Amazonka.EC2.CreatePublicIpv4Pool

Associated Types

type Rep CreatePublicIpv4Pool :: Type -> Type #

Read CreatePublicIpv4Pool Source # 
Instance details

Defined in Amazonka.EC2.CreatePublicIpv4Pool

Show CreatePublicIpv4Pool Source # 
Instance details

Defined in Amazonka.EC2.CreatePublicIpv4Pool

NFData CreatePublicIpv4Pool Source # 
Instance details

Defined in Amazonka.EC2.CreatePublicIpv4Pool

Methods

rnf :: CreatePublicIpv4Pool -> () #

Eq CreatePublicIpv4Pool Source # 
Instance details

Defined in Amazonka.EC2.CreatePublicIpv4Pool

Hashable CreatePublicIpv4Pool Source # 
Instance details

Defined in Amazonka.EC2.CreatePublicIpv4Pool

type AWSResponse CreatePublicIpv4Pool Source # 
Instance details

Defined in Amazonka.EC2.CreatePublicIpv4Pool

type Rep CreatePublicIpv4Pool Source # 
Instance details

Defined in Amazonka.EC2.CreatePublicIpv4Pool

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

newCreatePublicIpv4Pool :: CreatePublicIpv4Pool Source #

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

CreatePublicIpv4Pool, createPublicIpv4Pool_tagSpecifications - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

Request Lenses

createPublicIpv4Pool_dryRun :: Lens' CreatePublicIpv4Pool (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.

createPublicIpv4Pool_tagSpecifications :: Lens' CreatePublicIpv4Pool (Maybe [TagSpecification]) Source #

The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

Destructuring the Response

data CreatePublicIpv4PoolResponse Source #

See: newCreatePublicIpv4PoolResponse smart constructor.

Constructors

CreatePublicIpv4PoolResponse' 

Fields

Instances

Instances details
Generic CreatePublicIpv4PoolResponse Source # 
Instance details

Defined in Amazonka.EC2.CreatePublicIpv4Pool

Associated Types

type Rep CreatePublicIpv4PoolResponse :: Type -> Type #

Read CreatePublicIpv4PoolResponse Source # 
Instance details

Defined in Amazonka.EC2.CreatePublicIpv4Pool

Show CreatePublicIpv4PoolResponse Source # 
Instance details

Defined in Amazonka.EC2.CreatePublicIpv4Pool

NFData CreatePublicIpv4PoolResponse Source # 
Instance details

Defined in Amazonka.EC2.CreatePublicIpv4Pool

Eq CreatePublicIpv4PoolResponse Source # 
Instance details

Defined in Amazonka.EC2.CreatePublicIpv4Pool

type Rep CreatePublicIpv4PoolResponse Source # 
Instance details

Defined in Amazonka.EC2.CreatePublicIpv4Pool

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

newCreatePublicIpv4PoolResponse Source #

Create a value of CreatePublicIpv4PoolResponse 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:

CreatePublicIpv4PoolResponse, createPublicIpv4PoolResponse_poolId - The ID of the public IPv4 pool.

$sel:httpStatus:CreatePublicIpv4PoolResponse', createPublicIpv4PoolResponse_httpStatus - The response's http status code.

Response Lenses