Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data InAppTemplateRequest = InAppTemplateRequest' {}
- newInAppTemplateRequest :: InAppTemplateRequest
- inAppTemplateRequest_layout :: Lens' InAppTemplateRequest (Maybe Layout)
- inAppTemplateRequest_templateDescription :: Lens' InAppTemplateRequest (Maybe Text)
- inAppTemplateRequest_content :: Lens' InAppTemplateRequest (Maybe [InAppMessageContent])
- inAppTemplateRequest_customConfig :: Lens' InAppTemplateRequest (Maybe (HashMap Text Text))
- inAppTemplateRequest_tags :: Lens' InAppTemplateRequest (Maybe (HashMap Text Text))
Documentation
data InAppTemplateRequest Source #
InApp Template Request.
See: newInAppTemplateRequest
smart constructor.
InAppTemplateRequest' | |
|
Instances
newInAppTemplateRequest :: InAppTemplateRequest Source #
Create a value of InAppTemplateRequest
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:InAppTemplateRequest'
, inAppTemplateRequest_layout
- The layout of the message.
$sel:templateDescription:InAppTemplateRequest'
, inAppTemplateRequest_templateDescription
- The description of the template.
$sel:content:InAppTemplateRequest'
, inAppTemplateRequest_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:InAppTemplateRequest'
, inAppTemplateRequest_customConfig
- Custom config to be sent to client.
$sel:tags:InAppTemplateRequest'
, inAppTemplateRequest_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.
inAppTemplateRequest_layout :: Lens' InAppTemplateRequest (Maybe Layout) Source #
The layout of the message.
inAppTemplateRequest_templateDescription :: Lens' InAppTemplateRequest (Maybe Text) Source #
The description of the template.
inAppTemplateRequest_content :: Lens' InAppTemplateRequest (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.
inAppTemplateRequest_customConfig :: Lens' InAppTemplateRequest (Maybe (HashMap Text Text)) Source #
Custom config to be sent to client.
inAppTemplateRequest_tags :: Lens' InAppTemplateRequest (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.