- 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.
PutAccountVdmAttributesCommand
Update your Amazon SES account VDM attributes.
You can execute this operation no more than once per second.
Example Syntax
Use a bare-bones client and the command you need to make an API call.
import { SESv2Client, PutAccountVdmAttributesCommand } from "@aws-sdk/client-sesv2"; // ES Modules import
// const { SESv2Client, PutAccountVdmAttributesCommand } = require("@aws-sdk/client-sesv2"); // CommonJS import
const client = new SESv2Client(config);
const input = { // PutAccountVdmAttributesRequest
VdmAttributes: { // VdmAttributes
VdmEnabled: "ENABLED" || "DISABLED", // required
DashboardAttributes: { // DashboardAttributes
EngagementMetrics: "ENABLED" || "DISABLED",
},
GuardianAttributes: { // GuardianAttributes
OptimizedSharedDelivery: "ENABLED" || "DISABLED",
},
},
};
const command = new PutAccountVdmAttributesCommand(input);
const response = await client.send(command);
// {};
PutAccountVdmAttributesCommand Input
See PutAccountVdmAttributesCommandInput for more details
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|---|---|
VdmAttributes Required | VdmAttributes | undefined | The VDM attributes that you wish to apply to your Amazon SES account. |
PutAccountVdmAttributesCommand Output
See PutAccountVdmAttributesCommandOutput 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. |
TooManyRequestsException | client | Too many requests have been made to the operation. |
SESv2ServiceException | Base exception class for all service exceptions from SESv2 service. |