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 EventDestinationDefinition = EventDestinationDefinition' {}
- newEventDestinationDefinition :: EventDestinationDefinition
- eventDestinationDefinition_matchingEventTypes :: Lens' EventDestinationDefinition (Maybe [EventType])
- eventDestinationDefinition_pinpointDestination :: Lens' EventDestinationDefinition (Maybe PinpointDestination)
- eventDestinationDefinition_enabled :: Lens' EventDestinationDefinition (Maybe Bool)
- eventDestinationDefinition_kinesisFirehoseDestination :: Lens' EventDestinationDefinition (Maybe KinesisFirehoseDestination)
- eventDestinationDefinition_cloudWatchDestination :: Lens' EventDestinationDefinition (Maybe CloudWatchDestination)
- eventDestinationDefinition_snsDestination :: Lens' EventDestinationDefinition (Maybe SnsDestination)
Documentation
data EventDestinationDefinition Source #
An object that defines the event destination. Specifically, it defines which services receive events from emails sent using the configuration set that the event destination is associated with. Also defines the types of events that are sent to the event destination.
See: newEventDestinationDefinition
smart constructor.
EventDestinationDefinition' | |
|
Instances
newEventDestinationDefinition :: EventDestinationDefinition Source #
Create a value of EventDestinationDefinition
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:matchingEventTypes:EventDestinationDefinition'
, eventDestinationDefinition_matchingEventTypes
- An array that specifies which events Amazon Pinpoint should send to the
destinations in this EventDestinationDefinition
.
$sel:pinpointDestination:EventDestinationDefinition'
, eventDestinationDefinition_pinpointDestination
- 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.
$sel:enabled:EventDestinationDefinition'
, eventDestinationDefinition_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:EventDestinationDefinition'
, eventDestinationDefinition_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:EventDestinationDefinition'
, eventDestinationDefinition_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:EventDestinationDefinition'
, eventDestinationDefinition_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.
eventDestinationDefinition_matchingEventTypes :: Lens' EventDestinationDefinition (Maybe [EventType]) Source #
An array that specifies which events Amazon Pinpoint should send to the
destinations in this EventDestinationDefinition
.
eventDestinationDefinition_pinpointDestination :: Lens' EventDestinationDefinition (Maybe PinpointDestination) Source #
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.
eventDestinationDefinition_enabled :: Lens' EventDestinationDefinition (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.
eventDestinationDefinition_kinesisFirehoseDestination :: Lens' EventDestinationDefinition (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.
eventDestinationDefinition_cloudWatchDestination :: Lens' EventDestinationDefinition (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.
eventDestinationDefinition_snsDestination :: Lens' EventDestinationDefinition (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.