import { _KinesisFirehoseDestination, _UnmarshalledKinesisFirehoseDestination } from "./_KinesisFirehoseDestination"; import { _CloudWatchDestination, _UnmarshalledCloudWatchDestination } from "./_CloudWatchDestination"; import { _SNSDestination, _UnmarshalledSNSDestination } from "./_SNSDestination"; /** *

Contains information about the event destination that the specified email sending events will be published to.

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).

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 the Amazon SES Developer Guide.

*/ export interface _EventDestination { /** *

The name of the event destination. The name must:

*/ Name: string; /** *

Sets whether Amazon SES publishes events to this destination when you send an email with the associated configuration set. Set to true to enable publishing to this destination; set to false to prevent publishing to this destination. The default value is false.

*/ Enabled?: boolean; /** *

The type of email sending events to publish to the event destination.

*/ MatchingEventTypes: Array<"send" | "reject" | "bounce" | "complaint" | "delivery" | "open" | "click" | "renderingFailure" | string> | Iterable<"send" | "reject" | "bounce" | "complaint" | "delivery" | "open" | "click" | "renderingFailure" | string>; /** *

An object that contains the delivery stream ARN and the IAM role ARN associated with an Amazon Kinesis Firehose event destination.

*/ KinesisFirehoseDestination?: _KinesisFirehoseDestination; /** *

An object that contains the names, default values, and sources of the dimensions associated with an Amazon CloudWatch event destination.

*/ CloudWatchDestination?: _CloudWatchDestination; /** *

An object that contains the topic ARN associated with an Amazon Simple Notification Service (Amazon SNS) event destination.

*/ SNSDestination?: _SNSDestination; } export interface _UnmarshalledEventDestination extends _EventDestination { /** *

The type of email sending events to publish to the event destination.

*/ MatchingEventTypes: Array<"send" | "reject" | "bounce" | "complaint" | "delivery" | "open" | "click" | "renderingFailure" | string>; /** *

An object that contains the delivery stream ARN and the IAM role ARN associated with an Amazon Kinesis Firehose event destination.

*/ KinesisFirehoseDestination?: _UnmarshalledKinesisFirehoseDestination; /** *

An object that contains the names, default values, and sources of the dimensions associated with an Amazon CloudWatch event destination.

*/ CloudWatchDestination?: _UnmarshalledCloudWatchDestination; /** *

An object that contains the topic ARN associated with an Amazon Simple Notification Service (Amazon SNS) event destination.

*/ SNSDestination?: _UnmarshalledSNSDestination; }