Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data EventDestination = EventDestination' {}
- newEventDestination :: Text -> EventDestination
- eventDestination_pinpointDestination :: Lens' EventDestination (Maybe PinpointDestination)
- eventDestination_enabled :: Lens' EventDestination (Maybe Bool)
- eventDestination_kinesisFirehoseDestination :: Lens' EventDestination (Maybe KinesisFirehoseDestination)
- eventDestination_cloudWatchDestination :: Lens' EventDestination (Maybe CloudWatchDestination)
- eventDestination_snsDestination :: Lens' EventDestination (Maybe SnsDestination)
- eventDestination_name :: Lens' EventDestination Text
- eventDestination_matchingEventTypes :: Lens' EventDestination [EventType]
Documentation
data EventDestination Source #
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.
See: newEventDestination
smart constructor.
EventDestination' | |
|
Instances
Create a value of EventDestination
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:pinpointDestination:EventDestination'
, eventDestination_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.
$sel:enabled:EventDestination'
, eventDestination_enabled
- 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.
$sel:kinesisFirehoseDestination:EventDestination'
, eventDestination_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.
$sel:cloudWatchDestination:EventDestination'
, eventDestination_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.
$sel:snsDestination:EventDestination'
, eventDestination_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.
$sel:name:EventDestination'
, eventDestination_name
- A name that identifies the event destination.
$sel:matchingEventTypes:EventDestination'
, eventDestination_matchingEventTypes
- The types of events that Amazon SES sends to the specified event
destinations.
eventDestination_pinpointDestination :: Lens' EventDestination (Maybe PinpointDestination) Source #
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.
eventDestination_enabled :: Lens' EventDestination (Maybe Bool) Source #
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.
eventDestination_kinesisFirehoseDestination :: Lens' EventDestination (Maybe KinesisFirehoseDestination) Source #
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.
eventDestination_cloudWatchDestination :: Lens' EventDestination (Maybe CloudWatchDestination) Source #
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.
eventDestination_snsDestination :: Lens' EventDestination (Maybe SnsDestination) Source #
An object that defines an Amazon SNS destination for email events. You can use Amazon SNS to send notification when certain email events occur.
eventDestination_name :: Lens' EventDestination Text Source #
A name that identifies the event destination.
eventDestination_matchingEventTypes :: Lens' EventDestination [EventType] Source #
The types of events that Amazon SES sends to the specified event destinations.