libZSservicesZSamazonka-sesv2ZSamazonka-sesv2
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.SESV2.PutDedicatedIpInPool

Description

Move a dedicated IP address to an existing dedicated IP pool.

The dedicated IP address that you specify must already exist, and must be associated with your Amazon Web Services account.

The dedicated IP pool you specify must already exist. You can create a new pool by using the CreateDedicatedIpPool operation.

Synopsis

Creating a Request

data PutDedicatedIpInPool Source #

A request to move a dedicated IP address to a dedicated IP pool.

See: newPutDedicatedIpInPool smart constructor.

Constructors

PutDedicatedIpInPool' 

Fields

  • ip :: Text

    The IP address that you want to move to the dedicated IP pool. The value you specify has to be a dedicated IP address that's associated with your Amazon Web Services account.

  • destinationPoolName :: Text

    The name of the IP pool that you want to add the dedicated IP address to. You have to specify an IP pool that already exists.

Instances

Instances details
Eq PutDedicatedIpInPool Source # 
Instance details

Defined in Amazonka.SESV2.PutDedicatedIpInPool

Read PutDedicatedIpInPool Source # 
Instance details

Defined in Amazonka.SESV2.PutDedicatedIpInPool

Show PutDedicatedIpInPool Source # 
Instance details

Defined in Amazonka.SESV2.PutDedicatedIpInPool

Generic PutDedicatedIpInPool Source # 
Instance details

Defined in Amazonka.SESV2.PutDedicatedIpInPool

Associated Types

type Rep PutDedicatedIpInPool :: Type -> Type #

NFData PutDedicatedIpInPool Source # 
Instance details

Defined in Amazonka.SESV2.PutDedicatedIpInPool

Methods

rnf :: PutDedicatedIpInPool -> () #

Hashable PutDedicatedIpInPool Source # 
Instance details

Defined in Amazonka.SESV2.PutDedicatedIpInPool

ToJSON PutDedicatedIpInPool Source # 
Instance details

Defined in Amazonka.SESV2.PutDedicatedIpInPool

AWSRequest PutDedicatedIpInPool Source # 
Instance details

Defined in Amazonka.SESV2.PutDedicatedIpInPool

Associated Types

type AWSResponse PutDedicatedIpInPool #

ToHeaders PutDedicatedIpInPool Source # 
Instance details

Defined in Amazonka.SESV2.PutDedicatedIpInPool

ToPath PutDedicatedIpInPool Source # 
Instance details

Defined in Amazonka.SESV2.PutDedicatedIpInPool

ToQuery PutDedicatedIpInPool Source # 
Instance details

Defined in Amazonka.SESV2.PutDedicatedIpInPool

type Rep PutDedicatedIpInPool Source # 
Instance details

Defined in Amazonka.SESV2.PutDedicatedIpInPool

type Rep PutDedicatedIpInPool = D1 ('MetaData "PutDedicatedIpInPool" "Amazonka.SESV2.PutDedicatedIpInPool" "libZSservicesZSamazonka-sesv2ZSamazonka-sesv2" 'False) (C1 ('MetaCons "PutDedicatedIpInPool'" 'PrefixI 'True) (S1 ('MetaSel ('Just "ip") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "destinationPoolName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse PutDedicatedIpInPool Source # 
Instance details

Defined in Amazonka.SESV2.PutDedicatedIpInPool

newPutDedicatedIpInPool Source #

Create a value of PutDedicatedIpInPool 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:ip:PutDedicatedIpInPool', putDedicatedIpInPool_ip - The IP address that you want to move to the dedicated IP pool. The value you specify has to be a dedicated IP address that's associated with your Amazon Web Services account.

$sel:destinationPoolName:PutDedicatedIpInPool', putDedicatedIpInPool_destinationPoolName - The name of the IP pool that you want to add the dedicated IP address to. You have to specify an IP pool that already exists.

Request Lenses

putDedicatedIpInPool_ip :: Lens' PutDedicatedIpInPool Text Source #

The IP address that you want to move to the dedicated IP pool. The value you specify has to be a dedicated IP address that's associated with your Amazon Web Services account.

putDedicatedIpInPool_destinationPoolName :: Lens' PutDedicatedIpInPool Text Source #

The name of the IP pool that you want to add the dedicated IP address to. You have to specify an IP pool that already exists.

Destructuring the Response

data PutDedicatedIpInPoolResponse Source #

An HTTP 200 response if the request succeeds, or an error message if the request fails.

See: newPutDedicatedIpInPoolResponse smart constructor.

Constructors

PutDedicatedIpInPoolResponse' 

Fields

Instances

Instances details
Eq PutDedicatedIpInPoolResponse Source # 
Instance details

Defined in Amazonka.SESV2.PutDedicatedIpInPool

Read PutDedicatedIpInPoolResponse Source # 
Instance details

Defined in Amazonka.SESV2.PutDedicatedIpInPool

Show PutDedicatedIpInPoolResponse Source # 
Instance details

Defined in Amazonka.SESV2.PutDedicatedIpInPool

Generic PutDedicatedIpInPoolResponse Source # 
Instance details

Defined in Amazonka.SESV2.PutDedicatedIpInPool

Associated Types

type Rep PutDedicatedIpInPoolResponse :: Type -> Type #

NFData PutDedicatedIpInPoolResponse Source # 
Instance details

Defined in Amazonka.SESV2.PutDedicatedIpInPool

type Rep PutDedicatedIpInPoolResponse Source # 
Instance details

Defined in Amazonka.SESV2.PutDedicatedIpInPool

type Rep PutDedicatedIpInPoolResponse = D1 ('MetaData "PutDedicatedIpInPoolResponse" "Amazonka.SESV2.PutDedicatedIpInPool" "libZSservicesZSamazonka-sesv2ZSamazonka-sesv2" 'False) (C1 ('MetaCons "PutDedicatedIpInPoolResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newPutDedicatedIpInPoolResponse Source #

Create a value of PutDedicatedIpInPoolResponse 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:httpStatus:PutDedicatedIpInPoolResponse', putDedicatedIpInPoolResponse_httpStatus - The response's http status code.

Response Lenses