Jump to Content

New API Documentation - Developer Preview Available

We are excited to announce the developer preview of our new API documentation for AWS SDK for JavaScript v3. Please follow instructions on the landing page to leave us your feedback.

Class PutDedicatedIpInPoolCommandProtected

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 Pinpoint account.

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

</note>

Example

Use a bare-bones client and the command you need to make an API call.

import { PinpointEmailClient, PutDedicatedIpInPoolCommand } from "@aws-sdk/client-pinpoint-email"; // ES Modules import
// const { PinpointEmailClient, PutDedicatedIpInPoolCommand } = require("@aws-sdk/client-pinpoint-email"); // CommonJS import
const client = new PinpointEmailClient(config);
const input = { // PutDedicatedIpInPoolRequest
Ip: "STRING_VALUE", // required
DestinationPoolName: "STRING_VALUE", // required
};
const command = new PutDedicatedIpInPoolCommand(input);
const response = await client.send(command);
// {};

Param

PutDedicatedIpInPoolCommandInput

Returns

PutDedicatedIpInPoolCommandOutput

See

Throws

BadRequestException (client fault)

The input you provided is invalid.

Throws

NotFoundException (client fault)

The resource you attempted to access doesn't exist.

Throws

TooManyRequestsException (client fault)

Too many requests have been made to the operation.

Throws

PinpointEmailServiceException

Base exception class for all service exceptions from PinpointEmail service.

Hierarchy

Constructors

Properties

Methods