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

Description

 
Synopsis

Documentation

data DefaultMessage Source #

Specifies the default message for all channels.

See: newDefaultMessage smart constructor.

Constructors

DefaultMessage' 

Fields

Instances

Instances details
Eq DefaultMessage Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.DefaultMessage

Read DefaultMessage Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.DefaultMessage

Show DefaultMessage Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.DefaultMessage

Generic DefaultMessage Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.DefaultMessage

Associated Types

type Rep DefaultMessage :: Type -> Type #

NFData DefaultMessage Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.DefaultMessage

Methods

rnf :: DefaultMessage -> () #

Hashable DefaultMessage Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.DefaultMessage

ToJSON DefaultMessage Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.DefaultMessage

type Rep DefaultMessage Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.DefaultMessage

type Rep DefaultMessage = D1 ('MetaData "DefaultMessage" "Amazonka.Pinpoint.Types.DefaultMessage" "libZSservicesZSamazonka-pinpointZSamazonka-pinpoint" 'False) (C1 ('MetaCons "DefaultMessage'" 'PrefixI 'True) (S1 ('MetaSel ('Just "substitutions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text [Text]))) :*: S1 ('MetaSel ('Just "body") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newDefaultMessage :: DefaultMessage Source #

Create a value of DefaultMessage 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:substitutions:DefaultMessage', defaultMessage_substitutions - The default message variables to use in the message. You can override these default variables with individual address variables.

$sel:body:DefaultMessage', defaultMessage_body - The default body of the message.

defaultMessage_substitutions :: Lens' DefaultMessage (Maybe (HashMap Text [Text])) Source #

The default message variables to use in the message. You can override these default variables with individual address variables.

defaultMessage_body :: Lens' DefaultMessage (Maybe Text) Source #

The default body of the message.