Jump to Content

Class UpdateConfigurationSetEventDestinationCommandProtected

Updates the event destination of a configuration set. Event destinations are associated with configuration sets, which enable you to publish email sending events to Amazon CloudWatch, Amazon Kinesis Firehose, or Amazon Simple Notification Service (Amazon SNS). For information about using configuration sets, see Monitoring Your Amazon SES Sending Activity in the Amazon SES Developer Guide.

When you create or update an event destination, you must provide one, and only one, destination. The destination can be Amazon CloudWatch, Amazon Kinesis Firehose, or Amazon Simple Notification Service (Amazon SNS).

You can execute this operation no more than once per second.

Example

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

import { SESClient, UpdateConfigurationSetEventDestinationCommand } from "@aws-sdk/client-ses"; // ES Modules import
// const { SESClient, UpdateConfigurationSetEventDestinationCommand } = require("@aws-sdk/client-ses"); // CommonJS import
const client = new SESClient(config);
const command = new UpdateConfigurationSetEventDestinationCommand(input);
const response = await client.send(command);

See

Throws

ConfigurationSetDoesNotExistException (client fault)

Indicates that the configuration set does not exist.

Throws

EventDestinationDoesNotExistException (client fault)

Indicates that the event destination does not exist.

Throws

InvalidCloudWatchDestinationException (client fault)

Indicates that the Amazon CloudWatch destination is invalid. See the error message for details.

Throws

InvalidFirehoseDestinationException (client fault)

Indicates that the Amazon Kinesis Firehose destination is invalid. See the error message for details.

Throws

InvalidSNSDestinationException (client fault)

Indicates that the Amazon Simple Notification Service (Amazon SNS) destination is invalid. See the error message for details.

Hierarchy

Constructors

Properties

Methods