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

Description

 
Synopsis

Documentation

data CampaignInAppMessage Source #

In-app message configuration.

See: newCampaignInAppMessage smart constructor.

Constructors

CampaignInAppMessage' 

Fields

Instances

Instances details
FromJSON CampaignInAppMessage Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.CampaignInAppMessage

ToJSON CampaignInAppMessage Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.CampaignInAppMessage

Generic CampaignInAppMessage Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.CampaignInAppMessage

Associated Types

type Rep CampaignInAppMessage :: Type -> Type #

Read CampaignInAppMessage Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.CampaignInAppMessage

Show CampaignInAppMessage Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.CampaignInAppMessage

NFData CampaignInAppMessage Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.CampaignInAppMessage

Methods

rnf :: CampaignInAppMessage -> () #

Eq CampaignInAppMessage Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.CampaignInAppMessage

Hashable CampaignInAppMessage Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.CampaignInAppMessage

type Rep CampaignInAppMessage Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.CampaignInAppMessage

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

newCampaignInAppMessage :: CampaignInAppMessage Source #

Create a value of CampaignInAppMessage 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:body:CampaignInAppMessage', campaignInAppMessage_body - The message body of the notification, the email body or the text message.

$sel:content:CampaignInAppMessage', campaignInAppMessage_content - In-app message content.

$sel:customConfig:CampaignInAppMessage', campaignInAppMessage_customConfig - Custom config to be sent to client.

$sel:layout:CampaignInAppMessage', campaignInAppMessage_layout - In-app message layout.

campaignInAppMessage_body :: Lens' CampaignInAppMessage (Maybe Text) Source #

The message body of the notification, the email body or the text message.