amazonka-ses-2.0: Amazon Simple Email Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.SES.Types.EventDestination

Description

 
Synopsis

Documentation

data EventDestination Source #

Contains information about the event destination that the specified email sending events will be published to.

When you create or update an event destination, you must provide one, and only one, destination. The destination can be Amazon CloudWatch, Amazon Kinesis Firehose or Amazon Simple Notification Service (Amazon SNS).

Event destinations are associated with configuration sets, which enable you to publish email sending events to Amazon CloudWatch, Amazon Kinesis Firehose, or Amazon Simple Notification Service (Amazon SNS). For information about using configuration sets, see the Amazon SES Developer Guide.

See: newEventDestination smart constructor.

Constructors

EventDestination' 

Fields

  • cloudWatchDestination :: Maybe CloudWatchDestination

    An object that contains the names, default values, and sources of the dimensions associated with an Amazon CloudWatch event destination.

  • enabled :: Maybe Bool

    Sets whether Amazon SES publishes events to this destination when you send an email with the associated configuration set. Set to true to enable publishing to this destination; set to false to prevent publishing to this destination. The default value is false.

  • kinesisFirehoseDestination :: Maybe KinesisFirehoseDestination

    An object that contains the delivery stream ARN and the IAM role ARN associated with an Amazon Kinesis Firehose event destination.

  • sNSDestination :: Maybe SNSDestination

    An object that contains the topic ARN associated with an Amazon Simple Notification Service (Amazon SNS) event destination.

  • name :: Text

    The name of the event destination. The name must:

    • This value can only contain ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
    • Contain less than 64 characters.
  • matchingEventTypes :: [EventType]

    The type of email sending events to publish to the event destination.

Instances

Instances details
ToQuery EventDestination Source # 
Instance details

Defined in Amazonka.SES.Types.EventDestination

FromXML EventDestination Source # 
Instance details

Defined in Amazonka.SES.Types.EventDestination

Generic EventDestination Source # 
Instance details

Defined in Amazonka.SES.Types.EventDestination

Associated Types

type Rep EventDestination :: Type -> Type #

Read EventDestination Source # 
Instance details

Defined in Amazonka.SES.Types.EventDestination

Show EventDestination Source # 
Instance details

Defined in Amazonka.SES.Types.EventDestination

NFData EventDestination Source # 
Instance details

Defined in Amazonka.SES.Types.EventDestination

Methods

rnf :: EventDestination -> () #

Eq EventDestination Source # 
Instance details

Defined in Amazonka.SES.Types.EventDestination

Hashable EventDestination Source # 
Instance details

Defined in Amazonka.SES.Types.EventDestination

type Rep EventDestination Source # 
Instance details

Defined in Amazonka.SES.Types.EventDestination

type Rep EventDestination = D1 ('MetaData "EventDestination" "Amazonka.SES.Types.EventDestination" "amazonka-ses-2.0-Gc6VkOIX7Sd2eunWehphuf" 'False) (C1 ('MetaCons "EventDestination'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "cloudWatchDestination") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CloudWatchDestination)) :*: (S1 ('MetaSel ('Just "enabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "kinesisFirehoseDestination") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe KinesisFirehoseDestination)))) :*: (S1 ('MetaSel ('Just "sNSDestination") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SNSDestination)) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "matchingEventTypes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [EventType])))))

newEventDestination Source #

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:cloudWatchDestination:EventDestination', eventDestination_cloudWatchDestination - An object that contains the names, default values, and sources of the dimensions associated with an Amazon CloudWatch event destination.

$sel:enabled:EventDestination', eventDestination_enabled - Sets whether Amazon SES publishes events to this destination when you send an email with the associated configuration set. Set to true to enable publishing to this destination; set to false to prevent publishing to this destination. The default value is false.

$sel:kinesisFirehoseDestination:EventDestination', eventDestination_kinesisFirehoseDestination - An object that contains the delivery stream ARN and the IAM role ARN associated with an Amazon Kinesis Firehose event destination.

$sel:sNSDestination:EventDestination', eventDestination_sNSDestination - An object that contains the topic ARN associated with an Amazon Simple Notification Service (Amazon SNS) event destination.

$sel:name:EventDestination', eventDestination_name - The name of the event destination. The name must:

  • This value can only contain ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
  • Contain less than 64 characters.

$sel:matchingEventTypes:EventDestination', eventDestination_matchingEventTypes - The type of email sending events to publish to the event destination.

eventDestination_cloudWatchDestination :: Lens' EventDestination (Maybe CloudWatchDestination) Source #

An object that contains the names, default values, and sources of the dimensions associated with an Amazon CloudWatch event destination.

eventDestination_enabled :: Lens' EventDestination (Maybe Bool) Source #

Sets whether Amazon SES publishes events to this destination when you send an email with the associated configuration set. Set to true to enable publishing to this destination; set to false to prevent publishing to this destination. The default value is false.

eventDestination_kinesisFirehoseDestination :: Lens' EventDestination (Maybe KinesisFirehoseDestination) Source #

An object that contains the delivery stream ARN and the IAM role ARN associated with an Amazon Kinesis Firehose event destination.

eventDestination_sNSDestination :: Lens' EventDestination (Maybe SNSDestination) Source #

An object that contains the topic ARN associated with an Amazon Simple Notification Service (Amazon SNS) event destination.

eventDestination_name :: Lens' EventDestination Text Source #

The name of the event destination. The name must:

  • This value can only contain ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
  • Contain less than 64 characters.

eventDestination_matchingEventTypes :: Lens' EventDestination [EventType] Source #

The type of email sending events to publish to the event destination.