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 CreateDedicatedIpPoolCommandProtected

Create a new pool of dedicated IP addresses. A pool can include one or more dedicated IP addresses that are associated with your Amazon Pinpoint account. You can associate a pool with a configuration set. When you send an email that uses that configuration set, Amazon Pinpoint sends it using only the IP addresses in the associated pool.

Example

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

import { PinpointEmailClient, CreateDedicatedIpPoolCommand } from "@aws-sdk/client-pinpoint-email"; // ES Modules import
// const { PinpointEmailClient, CreateDedicatedIpPoolCommand } = require("@aws-sdk/client-pinpoint-email"); // CommonJS import
const client = new PinpointEmailClient(config);
const input = { // CreateDedicatedIpPoolRequest
PoolName: "STRING_VALUE", // required
Tags: [ // TagList
{ // Tag
Key: "STRING_VALUE", // required
Value: "STRING_VALUE", // required
},
],
};
const command = new CreateDedicatedIpPoolCommand(input);
const response = await client.send(command);
// {};

Param

CreateDedicatedIpPoolCommandInput

Returns

CreateDedicatedIpPoolCommandOutput

See

Throws

AlreadyExistsException (client fault)

The resource specified in your request already exists.

Throws

BadRequestException (client fault)

The input you provided is invalid.

Throws

ConcurrentModificationException (server fault)

The resource is being modified by another operation or thread.

Throws

LimitExceededException (client fault)

There are too many instances of the specified resource type.

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