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 InAppTemplateResponse = InAppTemplateResponse' {
- layout :: Maybe Layout
- arn :: Maybe Text
- templateDescription :: Maybe Text
- content :: Maybe [InAppMessageContent]
- customConfig :: Maybe (HashMap Text Text)
- version :: Maybe Text
- tags :: Maybe (HashMap Text Text)
- lastModifiedDate :: Text
- creationDate :: Text
- templateName :: Text
- templateType :: TemplateType
- newInAppTemplateResponse :: Text -> Text -> Text -> TemplateType -> InAppTemplateResponse
- inAppTemplateResponse_layout :: Lens' InAppTemplateResponse (Maybe Layout)
- inAppTemplateResponse_arn :: Lens' InAppTemplateResponse (Maybe Text)
- inAppTemplateResponse_templateDescription :: Lens' InAppTemplateResponse (Maybe Text)
- inAppTemplateResponse_content :: Lens' InAppTemplateResponse (Maybe [InAppMessageContent])
- inAppTemplateResponse_customConfig :: Lens' InAppTemplateResponse (Maybe (HashMap Text Text))
- inAppTemplateResponse_version :: Lens' InAppTemplateResponse (Maybe Text)
- inAppTemplateResponse_tags :: Lens' InAppTemplateResponse (Maybe (HashMap Text Text))
- inAppTemplateResponse_lastModifiedDate :: Lens' InAppTemplateResponse Text
- inAppTemplateResponse_creationDate :: Lens' InAppTemplateResponse Text
- inAppTemplateResponse_templateName :: Lens' InAppTemplateResponse Text
- inAppTemplateResponse_templateType :: Lens' InAppTemplateResponse TemplateType
Documentation
data InAppTemplateResponse Source #
In-App Template Response.
See: newInAppTemplateResponse
smart constructor.
InAppTemplateResponse' | |
|
Instances
newInAppTemplateResponse Source #
:: Text | |
-> Text | |
-> Text | |
-> TemplateType | |
-> InAppTemplateResponse |
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:layout:InAppTemplateResponse'
, inAppTemplateResponse_layout
- The layout of the message.
$sel:arn:InAppTemplateResponse'
, inAppTemplateResponse_arn
- The resource arn of the template.
$sel:templateDescription:InAppTemplateResponse'
, inAppTemplateResponse_templateDescription
- The description 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: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_layout :: Lens' InAppTemplateResponse (Maybe Layout) Source #
The layout of the message.
inAppTemplateResponse_arn :: Lens' InAppTemplateResponse (Maybe Text) Source #
The resource arn of the template.
inAppTemplateResponse_templateDescription :: Lens' InAppTemplateResponse (Maybe Text) Source #
The description 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_customConfig :: Lens' InAppTemplateResponse (Maybe (HashMap Text Text)) Source #
Custom config to be sent to client.
inAppTemplateResponse_version :: Lens' InAppTemplateResponse (Maybe Text) Source #
The version id of the template.
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.
inAppTemplateResponse_lastModifiedDate :: Lens' InAppTemplateResponse Text Source #
The last modified date of the template.
inAppTemplateResponse_creationDate :: Lens' InAppTemplateResponse Text Source #
The creation date of the template.
inAppTemplateResponse_templateName :: Lens' InAppTemplateResponse Text Source #
The name of the template.
inAppTemplateResponse_templateType :: Lens' InAppTemplateResponse TemplateType Source #
The type of the template.