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

Description

 
Synopsis

Documentation

data InAppTemplateResponse Source #

In-App Template Response.

See: newInAppTemplateResponse smart constructor.

Constructors

InAppTemplateResponse' 

Fields

Instances

Instances details
FromJSON InAppTemplateResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.InAppTemplateResponse

Generic InAppTemplateResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.InAppTemplateResponse

Associated Types

type Rep InAppTemplateResponse :: Type -> Type #

Read InAppTemplateResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.InAppTemplateResponse

Show InAppTemplateResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.InAppTemplateResponse

NFData InAppTemplateResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.InAppTemplateResponse

Methods

rnf :: InAppTemplateResponse -> () #

Eq InAppTemplateResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.InAppTemplateResponse

Hashable InAppTemplateResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.InAppTemplateResponse

type Rep InAppTemplateResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.InAppTemplateResponse

type Rep InAppTemplateResponse = D1 ('MetaData "InAppTemplateResponse" "Amazonka.Pinpoint.Types.InAppTemplateResponse" "amazonka-pinpoint-2.0-GBFs9S7wa7bFiDe66NqAzt" 'False) (C1 ('MetaCons "InAppTemplateResponse'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "arn") '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)) :*: S1 ('MetaSel ('Just "templateDescription") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "version") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "lastModifiedDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) :*: (S1 ('MetaSel ('Just "creationDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "templateName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "templateType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TemplateType))))))

newInAppTemplateResponse Source #

Create a value of InAppTemplateResponse 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:arn:InAppTemplateResponse', inAppTemplateResponse_arn - The resource arn of the template.

$sel:content:InAppTemplateResponse', inAppTemplateResponse_content - The content of the message, can include up to 5 modals. Each modal must contain a message, a header, and background color. ImageUrl and buttons are optional.

$sel:customConfig:InAppTemplateResponse', inAppTemplateResponse_customConfig - Custom config to be sent to client.

$sel:layout:InAppTemplateResponse', inAppTemplateResponse_layout - The layout of the message.

$sel:templateDescription:InAppTemplateResponse', inAppTemplateResponse_templateDescription - The description of the template.

$sel:version:InAppTemplateResponse', inAppTemplateResponse_version - The version id of the template.

$sel:tags:InAppTemplateResponse', inAppTemplateResponse_tags - A string-to-string map of key-value pairs that defines the tags to associate with the message template. Each tag consists of a required tag key and an associated tag value.

$sel:lastModifiedDate:InAppTemplateResponse', inAppTemplateResponse_lastModifiedDate - The last modified date of the template.

$sel:creationDate:InAppTemplateResponse', inAppTemplateResponse_creationDate - The creation date of the template.

$sel:templateName:InAppTemplateResponse', inAppTemplateResponse_templateName - The name of the template.

$sel:templateType:InAppTemplateResponse', inAppTemplateResponse_templateType - The type of the template.

inAppTemplateResponse_content :: Lens' InAppTemplateResponse (Maybe [InAppMessageContent]) Source #

The content of the message, can include up to 5 modals. Each modal must contain a message, a header, and background color. ImageUrl and buttons are optional.

inAppTemplateResponse_tags :: Lens' InAppTemplateResponse (Maybe (HashMap Text Text)) Source #

A string-to-string map of key-value pairs that defines the tags to associate with the message template. Each tag consists of a required tag key and an associated tag value.