amazonka-sms-voice-2.0: Amazon Pinpoint SMS and Voice 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.SmsVoice.Types.EventDestination

Description

 
Synopsis

Documentation

data EventDestination Source #

An object that defines an event destination.

See: newEventDestination smart constructor.

Constructors

EventDestination' 

Fields

Instances

Instances details
FromJSON EventDestination Source # 
Instance details

Defined in Amazonka.SmsVoice.Types.EventDestination

Generic EventDestination Source # 
Instance details

Defined in Amazonka.SmsVoice.Types.EventDestination

Associated Types

type Rep EventDestination :: Type -> Type #

Read EventDestination Source # 
Instance details

Defined in Amazonka.SmsVoice.Types.EventDestination

Show EventDestination Source # 
Instance details

Defined in Amazonka.SmsVoice.Types.EventDestination

NFData EventDestination Source # 
Instance details

Defined in Amazonka.SmsVoice.Types.EventDestination

Methods

rnf :: EventDestination -> () #

Eq EventDestination Source # 
Instance details

Defined in Amazonka.SmsVoice.Types.EventDestination

Hashable EventDestination Source # 
Instance details

Defined in Amazonka.SmsVoice.Types.EventDestination

type Rep EventDestination Source # 
Instance details

Defined in Amazonka.SmsVoice.Types.EventDestination

type Rep EventDestination = D1 ('MetaData "EventDestination" "Amazonka.SmsVoice.Types.EventDestination" "amazonka-sms-voice-2.0-3p97esUzflC4CxQYj8cHEb" 'False) (C1 ('MetaCons "EventDestination'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "cloudWatchLogsDestination") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CloudWatchLogsDestination)) :*: (S1 ('MetaSel ('Just "enabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "kinesisFirehoseDestination") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe KinesisFirehoseDestination)))) :*: (S1 ('MetaSel ('Just "matchingEventTypes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [EventType])) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "snsDestination") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SnsDestination))))))

newEventDestination :: EventDestination 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 - Undocumented member.

$sel:enabled:EventDestination', eventDestination_enabled - Indicates whether or not the event destination is enabled. If the event destination is enabled, then Amazon Pinpoint sends response data to the specified event destination.

$sel:kinesisFirehoseDestination:EventDestination', eventDestination_kinesisFirehoseDestination - Undocumented member.

$sel:matchingEventTypes:EventDestination', eventDestination_matchingEventTypes - Undocumented member.

$sel:name:EventDestination', eventDestination_name - A name that identifies the event destination configuration.

$sel:snsDestination:EventDestination', eventDestination_snsDestination - Undocumented member.

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

Indicates whether or not the event destination is enabled. If the event destination is enabled, then Amazon Pinpoint sends response data to the specified event destination.

eventDestination_name :: Lens' EventDestination (Maybe Text) Source #

A name that identifies the event destination configuration.