- Navigation GuideYou are on a Command (operation) page with structural examples. Use the navigation breadcrumb if you would like to return to the Client landing page.
PutDedicatedIpWarmupAttributesCommand
Example Syntax
Use a bare-bones client and the command you need to make an API call.
import { SESv2Client, PutDedicatedIpWarmupAttributesCommand } from "@aws-sdk/client-sesv2"; // ES Modules import
// const { SESv2Client, PutDedicatedIpWarmupAttributesCommand } = require("@aws-sdk/client-sesv2"); // CommonJS import
const client = new SESv2Client(config);
const input = { // PutDedicatedIpWarmupAttributesRequest
Ip: "STRING_VALUE", // required
WarmupPercentage: Number("int"), // required
};
const command = new PutDedicatedIpWarmupAttributesCommand(input);
const response = await client.send(command);
// {};
PutDedicatedIpWarmupAttributesCommand Input
See PutDedicatedIpWarmupAttributesCommandInput for more details
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|---|---|
Ip Required | string | undefined | The dedicated IP address that you want to update the warm-up attributes for. |
WarmupPercentage Required | number | undefined | The warm-up percentage that you want to associate with the dedicated IP address. |
PutDedicatedIpWarmupAttributesCommand Output
See PutDedicatedIpWarmupAttributesCommandOutput for details
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|---|---|
$metadata Required | ResponseMetadata | Metadata pertaining to this request. |
Throws
Name | Fault | Details |
---|
Name | Fault | Details |
---|---|---|
BadRequestException | client | The input you provided is invalid. |
NotFoundException | client | The resource you attempted to access doesn't exist. |
TooManyRequestsException | client | Too many requests have been made to the operation. |
SESv2ServiceException | Base exception class for all service exceptions from SESv2 service. |