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.EventDestinationDefinition

Description

 
Synopsis

Documentation

data EventDestinationDefinition Source #

An object that defines a single event destination.

See: newEventDestinationDefinition smart constructor.

Constructors

EventDestinationDefinition' 

Fields

Instances

Instances details
ToJSON EventDestinationDefinition Source # 
Instance details

Defined in Amazonka.SmsVoice.Types.EventDestinationDefinition

Generic EventDestinationDefinition Source # 
Instance details

Defined in Amazonka.SmsVoice.Types.EventDestinationDefinition

Associated Types

type Rep EventDestinationDefinition :: Type -> Type #

Read EventDestinationDefinition Source # 
Instance details

Defined in Amazonka.SmsVoice.Types.EventDestinationDefinition

Show EventDestinationDefinition Source # 
Instance details

Defined in Amazonka.SmsVoice.Types.EventDestinationDefinition

NFData EventDestinationDefinition Source # 
Instance details

Defined in Amazonka.SmsVoice.Types.EventDestinationDefinition

Eq EventDestinationDefinition Source # 
Instance details

Defined in Amazonka.SmsVoice.Types.EventDestinationDefinition

Hashable EventDestinationDefinition Source # 
Instance details

Defined in Amazonka.SmsVoice.Types.EventDestinationDefinition

type Rep EventDestinationDefinition Source # 
Instance details

Defined in Amazonka.SmsVoice.Types.EventDestinationDefinition

type Rep EventDestinationDefinition = D1 ('MetaData "EventDestinationDefinition" "Amazonka.SmsVoice.Types.EventDestinationDefinition" "amazonka-sms-voice-2.0-3p97esUzflC4CxQYj8cHEb" 'False) (C1 ('MetaCons "EventDestinationDefinition'" '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 "snsDestination") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SnsDestination))))))

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:cloudWatchLogsDestination:EventDestinationDefinition', eventDestinationDefinition_cloudWatchLogsDestination - Undocumented member.

$sel:enabled:EventDestinationDefinition', eventDestinationDefinition_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:EventDestinationDefinition', eventDestinationDefinition_kinesisFirehoseDestination - Undocumented member.

$sel:matchingEventTypes:EventDestinationDefinition', eventDestinationDefinition_matchingEventTypes - Undocumented member.

$sel:snsDestination:EventDestinationDefinition', eventDestinationDefinition_snsDestination - Undocumented member.

eventDestinationDefinition_enabled :: Lens' EventDestinationDefinition (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.