amazonka-pinpoint-sms-voice-v2-2.0: Amazon Pinpoint SMS Voice V2 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.PinpointSmsVoiceV2.Types.EventDestination

Description

 
Synopsis

Documentation

data EventDestination Source #

Contains information about an event destination.

Event destinations are associated with configuration sets, which enable you to publish message sending events to Amazon CloudWatch, Amazon Kinesis Data Firehose, or Amazon SNS.

See: newEventDestination smart constructor.

Constructors

EventDestination' 

Fields

Instances

Instances details
FromJSON EventDestination Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.Types.EventDestination

Generic EventDestination Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.Types.EventDestination

Associated Types

type Rep EventDestination :: Type -> Type #

Read EventDestination Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.Types.EventDestination

Show EventDestination Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.Types.EventDestination

NFData EventDestination Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.Types.EventDestination

Methods

rnf :: EventDestination -> () #

Eq EventDestination Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.Types.EventDestination

Hashable EventDestination Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.Types.EventDestination

type Rep EventDestination Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.Types.EventDestination

type Rep EventDestination = D1 ('MetaData "EventDestination" "Amazonka.PinpointSmsVoiceV2.Types.EventDestination" "amazonka-pinpoint-sms-voice-v2-2.0-HnPsQLyg04lAXcjcfRtbC7" 'False) (C1 ('MetaCons "EventDestination'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "cloudWatchLogsDestination") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CloudWatchLogsDestination)) :*: (S1 ('MetaSel ('Just "kinesisFirehoseDestination") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe KinesisFirehoseDestination)) :*: S1 ('MetaSel ('Just "snsDestination") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SnsDestination)))) :*: (S1 ('MetaSel ('Just "eventDestinationName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "enabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool) :*: S1 ('MetaSel ('Just "matchingEventTypes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty 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:cloudWatchLogsDestination:EventDestination', eventDestination_cloudWatchLogsDestination - An object that contains information about an event destination that sends logging events to Amazon CloudWatch logs.

$sel:kinesisFirehoseDestination:EventDestination', eventDestination_kinesisFirehoseDestination - An object that contains information about an event destination for logging to Amazon Kinesis Data Firehose.

$sel:snsDestination:EventDestination', eventDestination_snsDestination - An object that contains information about an event destination that sends logging events to Amazon SNS.

$sel:eventDestinationName:EventDestination', eventDestination_eventDestinationName - The name of the EventDestination.

$sel:enabled:EventDestination', eventDestination_enabled - When set to true events will be logged.

$sel:matchingEventTypes:EventDestination', eventDestination_matchingEventTypes - An array of event types that determine which events to log.

eventDestination_cloudWatchLogsDestination :: Lens' EventDestination (Maybe CloudWatchLogsDestination) Source #

An object that contains information about an event destination that sends logging events to Amazon CloudWatch logs.

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

An object that contains information about an event destination for logging to Amazon Kinesis Data Firehose.

eventDestination_snsDestination :: Lens' EventDestination (Maybe SnsDestination) Source #

An object that contains information about an event destination that sends logging events to Amazon SNS.

eventDestination_enabled :: Lens' EventDestination Bool Source #

When set to true events will be logged.

eventDestination_matchingEventTypes :: Lens' EventDestination (NonEmpty EventType) Source #

An array of event types that determine which events to log.