Struct aws_sdk_sesv2::types::Template
source · #[non_exhaustive]pub struct Template {
pub template_name: Option<String>,
pub template_arn: Option<String>,
pub template_data: Option<String>,
}Expand description
An object that defines the email template to use for an email message, and the values to use for any message variables in that template. An email template is a type of message template that contains content that you want to define, save, and reuse in email messages that you send.
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.template_name: Option<String>The name of the template. You will refer to this name when you send email using the SendTemplatedEmail or SendBulkTemplatedEmail operations.
template_arn: Option<String>The Amazon Resource Name (ARN) of the template.
template_data: Option<String>An object that defines the values to use for message variables in the template. This object is a set of key-value pairs. Each key defines a message variable in the template. The corresponding value defines the value to use for that variable.
Implementations§
source§impl Template
impl Template
sourcepub fn template_name(&self) -> Option<&str>
pub fn template_name(&self) -> Option<&str>
The name of the template. You will refer to this name when you send email using the SendTemplatedEmail or SendBulkTemplatedEmail operations.
sourcepub fn template_arn(&self) -> Option<&str>
pub fn template_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the template.
sourcepub fn template_data(&self) -> Option<&str>
pub fn template_data(&self) -> Option<&str>
An object that defines the values to use for message variables in the template. This object is a set of key-value pairs. Each key defines a message variable in the template. The corresponding value defines the value to use for that variable.