Struct aws_sdk_pinpoint::model::TemplateResponse
source · [−]#[non_exhaustive]pub struct TemplateResponse {
pub arn: Option<String>,
pub creation_date: Option<String>,
pub default_substitutions: Option<String>,
pub last_modified_date: Option<String>,
pub tags: Option<HashMap<String, String>>,
pub template_description: Option<String>,
pub template_name: Option<String>,
pub template_type: Option<TemplateType>,
pub version: Option<String>,
}
Expand description
Provides information about a message template that's associated with your Amazon Pinpoint account.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.arn: Option<String>
The Amazon Resource Name (ARN) of the message template. This value isn't included in a TemplateResponse object. To retrieve the ARN of a template, use the GetEmailTemplate, GetPushTemplate, GetSmsTemplate, or GetVoiceTemplate operation, depending on the type of template that you want to retrieve the ARN for.
creation_date: Option<String>
The date, in ISO 8601 format, when the message template was created.
default_substitutions: Option<String>
The JSON object that specifies the default values that are used for message variables in the message template. This object isn't included in a TemplateResponse object. To retrieve this object for a template, use the GetEmailTemplate, GetPushTemplate, GetSmsTemplate, or GetVoiceTemplate operation, depending on the type of template that you want to retrieve the object for.
last_modified_date: Option<String>
The date, in ISO 8601 format, when the message template was last modified.
A map of key-value pairs that identifies the tags that are associated with the message template. This object isn't included in a TemplateResponse object. To retrieve this object for a template, use the GetEmailTemplate, GetPushTemplate, GetSmsTemplate, or GetVoiceTemplate operation, depending on the type of template that you want to retrieve the object for.
template_description: Option<String>
The custom description of the message template. This value isn't included in a TemplateResponse object. To retrieve the description of a template, use the GetEmailTemplate, GetPushTemplate, GetSmsTemplate, or GetVoiceTemplate operation, depending on the type of template that you want to retrieve the description for.
template_name: Option<String>
The name of the message template.
template_type: Option<TemplateType>
The type of channel that the message template is designed for. Possible values are: EMAIL, PUSH, SMS, and VOICE.
version: Option<String>
The unique identifier, as an integer, for the active version of the message template.
Implementations
The Amazon Resource Name (ARN) of the message template. This value isn't included in a TemplateResponse object. To retrieve the ARN of a template, use the GetEmailTemplate, GetPushTemplate, GetSmsTemplate, or GetVoiceTemplate operation, depending on the type of template that you want to retrieve the ARN for.
The date, in ISO 8601 format, when the message template was created.
The JSON object that specifies the default values that are used for message variables in the message template. This object isn't included in a TemplateResponse object. To retrieve this object for a template, use the GetEmailTemplate, GetPushTemplate, GetSmsTemplate, or GetVoiceTemplate operation, depending on the type of template that you want to retrieve the object for.
The date, in ISO 8601 format, when the message template was last modified.
A map of key-value pairs that identifies the tags that are associated with the message template. This object isn't included in a TemplateResponse object. To retrieve this object for a template, use the GetEmailTemplate, GetPushTemplate, GetSmsTemplate, or GetVoiceTemplate operation, depending on the type of template that you want to retrieve the object for.
The custom description of the message template. This value isn't included in a TemplateResponse object. To retrieve the description of a template, use the GetEmailTemplate, GetPushTemplate, GetSmsTemplate, or GetVoiceTemplate operation, depending on the type of template that you want to retrieve the description for.
The name of the message template.
The type of channel that the message template is designed for. Possible values are: EMAIL, PUSH, SMS, and VOICE.
Creates a new builder-style object to manufacture TemplateResponse
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for TemplateResponse
impl Send for TemplateResponse
impl Sync for TemplateResponse
impl Unpin for TemplateResponse
impl UnwindSafe for TemplateResponse
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more