Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

EventDestination

import type { EventDestination } from "https://aws-api.deno.dev/v0.3/services/pinpointemail.ts?docs=full";

In Amazon Pinpoint, events include message sends, deliveries, opens, clicks, bounces, and complaints. Event destinations are places that you can send information about these events to. For example, you can send event data to Amazon SNS to receive notifications when you receive bounces or complaints, or you can use Amazon Kinesis Data Firehose to stream data to Amazon S3 for long-term storage.

interface EventDestination {
CloudWatchDestination?: CloudWatchDestination | null;
Enabled?: boolean | null;
KinesisFirehoseDestination?: KinesisFirehoseDestination | null;
MatchingEventTypes: EventType[];
Name: string;
PinpointDestination?: PinpointDestination | null;
SnsDestination?: SnsDestination | null;
}

§Properties

§
CloudWatchDestination?: CloudWatchDestination | null
[src]

An object that defines an Amazon CloudWatch destination for email events. You can use Amazon CloudWatch to monitor and gain insights on your email sending metrics.

§
Enabled?: boolean | null
[src]

If true, the event destination is enabled. When the event destination is enabled, the specified event types are sent to the destinations in this EventDestinationDefinition.

If false, the event destination is disabled. When the event destination is disabled, events aren't sent to the specified destinations.

§
KinesisFirehoseDestination?: KinesisFirehoseDestination | null
[src]

An object that defines an Amazon Kinesis Data Firehose destination for email events. You can use Amazon Kinesis Data Firehose to stream data to other services, such as Amazon S3 and Amazon Redshift.

§
MatchingEventTypes: EventType[]
[src]

The types of events that Amazon Pinpoint sends to the specified event destinations.

§
Name: string
[src]

A name that identifies the event destination.

§
PinpointDestination?: PinpointDestination | null
[src]

An object that defines a Amazon Pinpoint destination for email events. You can use Amazon Pinpoint events to create attributes in Amazon Pinpoint projects. You can use these attributes to create segments for your campaigns.

§
SnsDestination?: SnsDestination | null
[src]

An object that defines an Amazon SNS destination for email events. You can use Amazon SNS to send notification when certain email events occur.