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 SMSTemplateResponse = SMSTemplateResponse' {
- arn :: Maybe Text
- body :: Maybe Text
- templateDescription :: Maybe Text
- defaultSubstitutions :: Maybe Text
- version :: Maybe Text
- recommenderId :: Maybe Text
- tags :: Maybe (HashMap Text Text)
- lastModifiedDate :: Text
- creationDate :: Text
- templateName :: Text
- templateType :: TemplateType
- newSMSTemplateResponse :: Text -> Text -> Text -> TemplateType -> SMSTemplateResponse
- sMSTemplateResponse_arn :: Lens' SMSTemplateResponse (Maybe Text)
- sMSTemplateResponse_body :: Lens' SMSTemplateResponse (Maybe Text)
- sMSTemplateResponse_templateDescription :: Lens' SMSTemplateResponse (Maybe Text)
- sMSTemplateResponse_defaultSubstitutions :: Lens' SMSTemplateResponse (Maybe Text)
- sMSTemplateResponse_version :: Lens' SMSTemplateResponse (Maybe Text)
- sMSTemplateResponse_recommenderId :: Lens' SMSTemplateResponse (Maybe Text)
- sMSTemplateResponse_tags :: Lens' SMSTemplateResponse (Maybe (HashMap Text Text))
- sMSTemplateResponse_lastModifiedDate :: Lens' SMSTemplateResponse Text
- sMSTemplateResponse_creationDate :: Lens' SMSTemplateResponse Text
- sMSTemplateResponse_templateName :: Lens' SMSTemplateResponse Text
- sMSTemplateResponse_templateType :: Lens' SMSTemplateResponse TemplateType
Documentation
data SMSTemplateResponse Source #
Provides information about the content and settings for a message template that can be used in text messages that are sent through the SMS channel.
See: newSMSTemplateResponse
smart constructor.
SMSTemplateResponse' | |
|
Instances
newSMSTemplateResponse Source #
:: Text | |
-> Text | |
-> Text | |
-> TemplateType | |
-> SMSTemplateResponse |
Create a value of SMSTemplateResponse
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:SMSTemplateResponse'
, sMSTemplateResponse_arn
- The Amazon Resource Name (ARN) of the message template.
$sel:body:SMSTemplateResponse'
, sMSTemplateResponse_body
- The message body that's used in text messages that are based on the
message template.
$sel:templateDescription:SMSTemplateResponse'
, sMSTemplateResponse_templateDescription
- The custom description of the message template.
$sel:defaultSubstitutions:SMSTemplateResponse'
, sMSTemplateResponse_defaultSubstitutions
- The JSON object that specifies the default values that are used for
message variables in 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:version:SMSTemplateResponse'
, sMSTemplateResponse_version
- The unique identifier, as an integer, for the active version of the
message template, or the version of the template that you specified by
using the version parameter in your request.
$sel:recommenderId:SMSTemplateResponse'
, sMSTemplateResponse_recommenderId
- The unique identifier for the recommender model that's used by the
message template.
$sel:tags:SMSTemplateResponse'
, sMSTemplateResponse_tags
- A string-to-string map of key-value pairs that identifies the tags that
are associated with the message template. Each tag consists of a
required tag key and an associated tag value.
$sel:lastModifiedDate:SMSTemplateResponse'
, sMSTemplateResponse_lastModifiedDate
- The date, in ISO 8601 format, when the message template was last
modified.
$sel:creationDate:SMSTemplateResponse'
, sMSTemplateResponse_creationDate
- The date, in ISO 8601 format, when the message template was created.
$sel:templateName:SMSTemplateResponse'
, sMSTemplateResponse_templateName
- The name of the message template.
$sel:templateType:SMSTemplateResponse'
, sMSTemplateResponse_templateType
- The type of channel that the message template is designed for. For an
SMS template, this value is SMS.
sMSTemplateResponse_arn :: Lens' SMSTemplateResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the message template.
sMSTemplateResponse_body :: Lens' SMSTemplateResponse (Maybe Text) Source #
The message body that's used in text messages that are based on the message template.
sMSTemplateResponse_templateDescription :: Lens' SMSTemplateResponse (Maybe Text) Source #
The custom description of the message template.
sMSTemplateResponse_defaultSubstitutions :: Lens' SMSTemplateResponse (Maybe Text) Source #
The JSON object that specifies the default values that are used for message variables in 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.
sMSTemplateResponse_version :: Lens' SMSTemplateResponse (Maybe Text) Source #
The unique identifier, as an integer, for the active version of the message template, or the version of the template that you specified by using the version parameter in your request.
sMSTemplateResponse_recommenderId :: Lens' SMSTemplateResponse (Maybe Text) Source #
The unique identifier for the recommender model that's used by the message template.
sMSTemplateResponse_tags :: Lens' SMSTemplateResponse (Maybe (HashMap Text Text)) Source #
A string-to-string map of key-value pairs that identifies the tags that are associated with the message template. Each tag consists of a required tag key and an associated tag value.
sMSTemplateResponse_lastModifiedDate :: Lens' SMSTemplateResponse Text Source #
The date, in ISO 8601 format, when the message template was last modified.
sMSTemplateResponse_creationDate :: Lens' SMSTemplateResponse Text Source #
The date, in ISO 8601 format, when the message template was created.
sMSTemplateResponse_templateName :: Lens' SMSTemplateResponse Text Source #
The name of the message template.
sMSTemplateResponse_templateType :: Lens' SMSTemplateResponse TemplateType Source #
The type of channel that the message template is designed for. For an SMS template, this value is SMS.