libZSservicesZSamazonka-pinpointZSamazonka-pinpoint
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.Pinpoint.Types.TemplateConfiguration

Description

 
Synopsis

Documentation

data TemplateConfiguration Source #

Specifies the message template to use for the message, for each type of channel.

See: newTemplateConfiguration smart constructor.

Constructors

TemplateConfiguration' 

Fields

Instances

Instances details
Eq TemplateConfiguration Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.TemplateConfiguration

Read TemplateConfiguration Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.TemplateConfiguration

Show TemplateConfiguration Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.TemplateConfiguration

Generic TemplateConfiguration Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.TemplateConfiguration

Associated Types

type Rep TemplateConfiguration :: Type -> Type #

NFData TemplateConfiguration Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.TemplateConfiguration

Methods

rnf :: TemplateConfiguration -> () #

Hashable TemplateConfiguration Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.TemplateConfiguration

ToJSON TemplateConfiguration Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.TemplateConfiguration

FromJSON TemplateConfiguration Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.TemplateConfiguration

type Rep TemplateConfiguration Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.TemplateConfiguration

type Rep TemplateConfiguration = D1 ('MetaData "TemplateConfiguration" "Amazonka.Pinpoint.Types.TemplateConfiguration" "libZSservicesZSamazonka-pinpointZSamazonka-pinpoint" 'False) (C1 ('MetaCons "TemplateConfiguration'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "sMSTemplate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Template)) :*: S1 ('MetaSel ('Just "voiceTemplate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Template))) :*: (S1 ('MetaSel ('Just "pushTemplate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Template)) :*: S1 ('MetaSel ('Just "emailTemplate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Template)))))

newTemplateConfiguration :: TemplateConfiguration Source #

Create a value of TemplateConfiguration 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:sMSTemplate:TemplateConfiguration', templateConfiguration_sMSTemplate - The SMS template to use for the message.

$sel:voiceTemplate:TemplateConfiguration', templateConfiguration_voiceTemplate - The voice template to use for the message. This object isn't supported for campaigns.

$sel:pushTemplate:TemplateConfiguration', templateConfiguration_pushTemplate - The push notification template to use for the message.

$sel:emailTemplate:TemplateConfiguration', templateConfiguration_emailTemplate - The email template to use for the message.

templateConfiguration_voiceTemplate :: Lens' TemplateConfiguration (Maybe Template) Source #

The voice template to use for the message. This object isn't supported for campaigns.

templateConfiguration_pushTemplate :: Lens' TemplateConfiguration (Maybe Template) Source #

The push notification template to use for the message.