| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Pinpoint.Types.InAppTemplateRequest
Description
Synopsis
- data InAppTemplateRequest = InAppTemplateRequest' {}
- newInAppTemplateRequest :: InAppTemplateRequest
- inAppTemplateRequest_content :: Lens' InAppTemplateRequest (Maybe [InAppMessageContent])
- inAppTemplateRequest_customConfig :: Lens' InAppTemplateRequest (Maybe (HashMap Text Text))
- inAppTemplateRequest_layout :: Lens' InAppTemplateRequest (Maybe Layout)
- inAppTemplateRequest_templateDescription :: Lens' InAppTemplateRequest (Maybe Text)
- inAppTemplateRequest_tags :: Lens' InAppTemplateRequest (Maybe (HashMap Text Text))
Documentation
data InAppTemplateRequest Source #
InApp Template Request.
See: newInAppTemplateRequest smart constructor.
Constructors
| InAppTemplateRequest' | |
Fields
| |
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: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:layout:InAppTemplateRequest', inAppTemplateRequest_layout - The layout of the message.
$sel:templateDescription:InAppTemplateRequest', inAppTemplateRequest_templateDescription - The description of the template.
$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_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_layout :: Lens' InAppTemplateRequest (Maybe Layout) Source #
The layout of the message.
inAppTemplateRequest_templateDescription :: Lens' InAppTemplateRequest (Maybe Text) Source #
The description of the template.
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.