EventDestination class
In the Amazon SES API v2, events include message sends, deliveries, opens, clicks, bounces, complaints and delivery delays. 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.
Constructors
-
EventDestination({required List<
EventType> matchingEventTypes, required String name, CloudWatchDestination? cloudWatchDestination, bool? enabled, KinesisFirehoseDestination? kinesisFirehoseDestination, PinpointDestination? pinpointDestination, SnsDestination? snsDestination}) -
EventDestination.fromJson(Map<
String, dynamic> json) -
factory
Properties
- cloudWatchDestination → CloudWatchDestination?
-
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.
final
- enabled → bool?
-
If
true
, the event destination is enabled. When the event destination is enabled, the specified event types are sent to the destinations in thisEventDestinationDefinition
.final - hashCode → int
-
The hash code for this object.
no setterinherited
- kinesisFirehoseDestination → KinesisFirehoseDestination?
-
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.
final
-
matchingEventTypes
→ List<
EventType> -
The types of events that Amazon SES sends to the specified event
destinations.
final
- name → String
-
A name that identifies the event destination.
final
- pinpointDestination → PinpointDestination?
-
An object that defines an Amazon Pinpoint project destination for email
events. You can send email event data to a Amazon Pinpoint project to view
metrics using the Transactional Messaging dashboards that are built in to
Amazon Pinpoint. For more information, see Transactional
Messaging Charts in the Amazon Pinpoint User Guide.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- snsDestination → SnsDestination?
-
An object that defines an Amazon SNS destination for email events. You can
use Amazon SNS to send notification when certain email events occur.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited