You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::SES::Types::Template
- Inherits:
-
Struct
- Object
- Struct
- Aws::SES::Types::Template
- Defined in:
- (unknown)
Overview
When passing Template as input to an Aws::Client method, you can use a vanilla Hash:
{
template_name: "TemplateName", # required
subject_part: "SubjectPart",
text_part: "TextPart",
html_part: "HtmlPart",
}
The content of the email, composed of a subject line, an HTML part, and a text-only part.
Returned by:
Instance Attribute Summary collapse
-
#html_part ⇒ String
The HTML body of the email.
-
#subject_part ⇒ String
The subject line of the email.
-
#template_name ⇒ String
The name of the template.
-
#text_part ⇒ String
The email body that will be visible to recipients whose email clients do not display HTML.
Instance Attribute Details
#html_part ⇒ String
The HTML body of the email.
#subject_part ⇒ String
The subject line of the email.
#template_name ⇒ String
The name of the template. You will refer to this name when you send
email using the SendTemplatedEmail
or SendBulkTemplatedEmail
operations.
#text_part ⇒ String
The email body that will be visible to recipients whose email clients do not display HTML.