libZSservicesZSamazonka-pinpoint-sms-voiceZSamazonka-pinpoint-sms-voice
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.PinpointSMSVoice.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
Eq EventDestination Source # 
Instance details

Defined in Amazonka.PinpointSMSVoice.Types.EventDestination

Read EventDestination Source # 
Instance details

Defined in Amazonka.PinpointSMSVoice.Types.EventDestination

Show EventDestination Source # 
Instance details

Defined in Amazonka.PinpointSMSVoice.Types.EventDestination

Generic EventDestination Source # 
Instance details

Defined in Amazonka.PinpointSMSVoice.Types.EventDestination

Associated Types

type Rep EventDestination :: Type -> Type #

NFData EventDestination Source # 
Instance details

Defined in Amazonka.PinpointSMSVoice.Types.EventDestination

Methods

rnf :: EventDestination -> () #

Hashable EventDestination Source # 
Instance details

Defined in Amazonka.PinpointSMSVoice.Types.EventDestination

FromJSON EventDestination Source # 
Instance details

Defined in Amazonka.PinpointSMSVoice.Types.EventDestination

type Rep EventDestination Source # 
Instance details

Defined in Amazonka.PinpointSMSVoice.Types.EventDestination

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

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:matchingEventTypes:EventDestination', eventDestination_matchingEventTypes - 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:name:EventDestination', eventDestination_name - A name that identifies the event destination configuration.

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

$sel:cloudWatchLogsDestination:EventDestination', eventDestination_cloudWatchLogsDestination - 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.