EventDestination - Amazon Pinpoint SMS and Voice v2 API

EventDestination

Contains information about an event destination.

Event destinations are associated with configuration sets, which enable you to publish message sending events to CloudWatch, Firehose, or Amazon SNS.

Contents

Enabled

When set to true events will be logged.

Type: Boolean

Required: Yes

EventDestinationName

The name of the EventDestination.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 64.

Pattern: [A-Za-z0-9_-]+

Required: Yes

MatchingEventTypes

An array of event types that determine which events to log.

Note

The TEXT_SENT event type is not supported.

Type: Array of strings

Array Members: Minimum number of 1 item. Maximum number of 25 items.

Valid Values: ALL | TEXT_ALL | TEXT_SENT | TEXT_PENDING | TEXT_QUEUED | TEXT_SUCCESSFUL | TEXT_DELIVERED | TEXT_INVALID | TEXT_INVALID_MESSAGE | TEXT_UNREACHABLE | TEXT_CARRIER_UNREACHABLE | TEXT_BLOCKED | TEXT_CARRIER_BLOCKED | TEXT_SPAM | TEXT_UNKNOWN | TEXT_TTL_EXPIRED | VOICE_ALL | VOICE_INITIATED | VOICE_RINGING | VOICE_ANSWERED | VOICE_COMPLETED | VOICE_BUSY | VOICE_NO_ANSWER | VOICE_FAILED | VOICE_TTL_EXPIRED

Required: Yes

CloudWatchLogsDestination

An object that contains information about an event destination that sends logging events to Amazon CloudWatch logs.

Type: CloudWatchLogsDestination object

Required: No

KinesisFirehoseDestination

An object that contains information about an event destination for logging to Amazon Data Firehose.

Type: KinesisFirehoseDestination object

Required: No

SnsDestination

An object that contains information about an event destination that sends logging events to Amazon SNS.

Type: SnsDestination object

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: