PutAccountDedicatedIpWarmupAttributesCommand

Enable or disable the automatic warm-up feature for dedicated IP addresses.

Example Syntax

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

import { SESv2Client, PutAccountDedicatedIpWarmupAttributesCommand } from "@aws-sdk/client-sesv2"; // ES Modules import
// const { SESv2Client, PutAccountDedicatedIpWarmupAttributesCommand } = require("@aws-sdk/client-sesv2"); // CommonJS import
const client = new SESv2Client(config);
const input = { // PutAccountDedicatedIpWarmupAttributesRequest
  AutoWarmupEnabled: true || false,
};
const command = new PutAccountDedicatedIpWarmupAttributesCommand(input);
const response = await client.send(command);
// {};

PutAccountDedicatedIpWarmupAttributesCommand Input

Parameter
Type
Description
AutoWarmupEnabled
boolean | undefined

Enables or disables the automatic warm-up feature for dedicated IP addresses that are associated with your Amazon SES account in the current Amazon Web Services Region. Set to true to enable the automatic warm-up feature, or set to false to disable it.

PutAccountDedicatedIpWarmupAttributesCommand Output

Parameter
Type
Description
$metadata
Required
ResponseMetadata
Metadata pertaining to this request.

Throws

Name
Fault
Details
BadRequestException
client

The input you provided is invalid.

TooManyRequestsException
client

Too many requests have been made to the operation.

SESv2ServiceException
Base exception class for all service exceptions from SESv2 service.