| 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.TemplateVersionResponse
Description
Synopsis
- data TemplateVersionResponse = TemplateVersionResponse' {}
- newTemplateVersionResponse :: Text -> Text -> Text -> Text -> TemplateVersionResponse
- templateVersionResponse_defaultSubstitutions :: Lens' TemplateVersionResponse (Maybe Text)
- templateVersionResponse_templateDescription :: Lens' TemplateVersionResponse (Maybe Text)
- templateVersionResponse_version :: Lens' TemplateVersionResponse (Maybe Text)
- templateVersionResponse_lastModifiedDate :: Lens' TemplateVersionResponse Text
- templateVersionResponse_creationDate :: Lens' TemplateVersionResponse Text
- templateVersionResponse_templateName :: Lens' TemplateVersionResponse Text
- templateVersionResponse_templateType :: Lens' TemplateVersionResponse Text
Documentation
data TemplateVersionResponse Source #
Provides information about a specific version of a message template.
See: newTemplateVersionResponse smart constructor.
Constructors
| TemplateVersionResponse' | |
Fields
| |
Instances
newTemplateVersionResponse Source #
Arguments
| :: Text | |
| -> Text | |
| -> Text | |
| -> Text | |
| -> TemplateVersionResponse |
Create a value of TemplateVersionResponse 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:defaultSubstitutions:TemplateVersionResponse', templateVersionResponse_defaultSubstitutions - A JSON object that specifies the default values that are used for
message variables in the version of the message template. This object is
a set of key-value pairs. Each key defines a message variable in the
template. The corresponding value defines the default value for that
variable.
$sel:templateDescription:TemplateVersionResponse', templateVersionResponse_templateDescription - The custom description of the version of the message template.
$sel:version:TemplateVersionResponse', templateVersionResponse_version - The unique identifier for the version of the message template. This
value is an integer that Amazon Pinpoint automatically increments and
assigns to each new version of a template.
$sel:lastModifiedDate:TemplateVersionResponse', templateVersionResponse_lastModifiedDate - The date, in ISO 8601 format, when the version of the message template
was last modified.
$sel:creationDate:TemplateVersionResponse', templateVersionResponse_creationDate - The date, in ISO 8601 format, when the version of the message template
was created.
$sel:templateName:TemplateVersionResponse', templateVersionResponse_templateName - The name of the message template.
$sel:templateType:TemplateVersionResponse', templateVersionResponse_templateType - The type of channel that the message template is designed for. Possible
values are: EMAIL, PUSH, SMS, and VOICE.
templateVersionResponse_defaultSubstitutions :: Lens' TemplateVersionResponse (Maybe Text) Source #
A JSON object that specifies the default values that are used for message variables in the version of the message template. This object is a set of key-value pairs. Each key defines a message variable in the template. The corresponding value defines the default value for that variable.
templateVersionResponse_templateDescription :: Lens' TemplateVersionResponse (Maybe Text) Source #
The custom description of the version of the message template.
templateVersionResponse_version :: Lens' TemplateVersionResponse (Maybe Text) Source #
The unique identifier for the version of the message template. This value is an integer that Amazon Pinpoint automatically increments and assigns to each new version of a template.
templateVersionResponse_lastModifiedDate :: Lens' TemplateVersionResponse Text Source #
The date, in ISO 8601 format, when the version of the message template was last modified.
templateVersionResponse_creationDate :: Lens' TemplateVersionResponse Text Source #
The date, in ISO 8601 format, when the version of the message template was created.
templateVersionResponse_templateName :: Lens' TemplateVersionResponse Text Source #
The name of the message template.
templateVersionResponse_templateType :: Lens' TemplateVersionResponse Text Source #
The type of channel that the message template is designed for. Possible values are: EMAIL, PUSH, SMS, and VOICE.