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

Description

 
Synopsis

Documentation

data InAppMessage Source #

Provides all fields required for building an in-app message.

See: newInAppMessage smart constructor.

Constructors

InAppMessage' 

Fields

Instances

Instances details
Eq InAppMessage Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.InAppMessage

Read InAppMessage Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.InAppMessage

Show InAppMessage Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.InAppMessage

Generic InAppMessage Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.InAppMessage

Associated Types

type Rep InAppMessage :: Type -> Type #

NFData InAppMessage Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.InAppMessage

Methods

rnf :: InAppMessage -> () #

Hashable InAppMessage Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.InAppMessage

FromJSON InAppMessage Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.InAppMessage

type Rep InAppMessage Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.InAppMessage

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

newInAppMessage :: InAppMessage Source #

Create a value of InAppMessage 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:layout:InAppMessage', inAppMessage_layout - The layout of the message.

$sel:content:InAppMessage', inAppMessage_content - In-app message content.

$sel:customConfig:InAppMessage', inAppMessage_customConfig - Custom config to be sent to SDK.

inAppMessage_layout :: Lens' InAppMessage (Maybe Layout) Source #

The layout of the message.

inAppMessage_customConfig :: Lens' InAppMessage (Maybe (HashMap Text Text)) Source #

Custom config to be sent to SDK.