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

Description

 
Synopsis

Documentation

data InAppMessageContent Source #

The configuration for the message content.

See: newInAppMessageContent smart constructor.

Constructors

InAppMessageContent' 

Fields

Instances

Instances details
Eq InAppMessageContent Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.InAppMessageContent

Read InAppMessageContent Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.InAppMessageContent

Show InAppMessageContent Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.InAppMessageContent

Generic InAppMessageContent Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.InAppMessageContent

Associated Types

type Rep InAppMessageContent :: Type -> Type #

NFData InAppMessageContent Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.InAppMessageContent

Methods

rnf :: InAppMessageContent -> () #

Hashable InAppMessageContent Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.InAppMessageContent

ToJSON InAppMessageContent Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.InAppMessageContent

FromJSON InAppMessageContent Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.InAppMessageContent

type Rep InAppMessageContent Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.InAppMessageContent

type Rep InAppMessageContent = D1 ('MetaData "InAppMessageContent" "Amazonka.Pinpoint.Types.InAppMessageContent" "libZSservicesZSamazonka-pinpointZSamazonka-pinpoint" 'False) (C1 ('MetaCons "InAppMessageContent'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "primaryBtn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InAppMessageButton)) :*: (S1 ('MetaSel ('Just "bodyConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InAppMessageBodyConfig)) :*: S1 ('MetaSel ('Just "backgroundColor") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "imageUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "secondaryBtn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InAppMessageButton)) :*: S1 ('MetaSel ('Just "headerConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InAppMessageHeaderConfig))))))

newInAppMessageContent :: InAppMessageContent Source #

Create a value of InAppMessageContent 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:primaryBtn:InAppMessageContent', inAppMessageContent_primaryBtn - The first button inside the message.

$sel:bodyConfig:InAppMessageContent', inAppMessageContent_bodyConfig - The configuration for the message body.

$sel:backgroundColor:InAppMessageContent', inAppMessageContent_backgroundColor - The background color for the message.

$sel:imageUrl:InAppMessageContent', inAppMessageContent_imageUrl - The image url for the background of message.

$sel:secondaryBtn:InAppMessageContent', inAppMessageContent_secondaryBtn - The second button inside message.

$sel:headerConfig:InAppMessageContent', inAppMessageContent_headerConfig - The configuration for the message header.

inAppMessageContent_imageUrl :: Lens' InAppMessageContent (Maybe Text) Source #

The image url for the background of message.