amazonka-pinpoint-2.0: Amazon Pinpoint 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.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
FromJSON InAppMessageContent Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.InAppMessageContent

ToJSON 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 #

Read InAppMessageContent Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.InAppMessageContent

Show InAppMessageContent Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.InAppMessageContent

NFData InAppMessageContent Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.InAppMessageContent

Methods

rnf :: InAppMessageContent -> () #

Eq InAppMessageContent Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.InAppMessageContent

Hashable InAppMessageContent Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.InAppMessageContent

type Rep InAppMessageContent Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.InAppMessageContent

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:backgroundColor:InAppMessageContent', inAppMessageContent_backgroundColor - The background color for the message.

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

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

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

$sel:primaryBtn:InAppMessageContent', inAppMessageContent_primaryBtn - The first button inside the message.

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

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

The image url for the background of message.