Class: Aws::SES::Types::Template
- Inherits:
-
Struct
- Object
- Struct
- Aws::SES::Types::Template
- Includes:
- Aws::Structure
- Defined in:
- lib/aws-sdk-ses/types.rb
Overview
Note:
When making an API call, you may pass Template data as a 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.
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.
5163 5164 5165 5166 5167 5168 5169 |
# File 'lib/aws-sdk-ses/types.rb', line 5163 class Template < Struct.new( :template_name, :subject_part, :text_part, :html_part) include Aws::Structure end |
#subject_part ⇒ String
The subject line of the email.
5163 5164 5165 5166 5167 5168 5169 |
# File 'lib/aws-sdk-ses/types.rb', line 5163 class Template < Struct.new( :template_name, :subject_part, :text_part, :html_part) include Aws::Structure end |
#template_name ⇒ String
The name of the template. You will refer to this name when you send email using the ‘SendTemplatedEmail` or `SendBulkTemplatedEmail` operations.
5163 5164 5165 5166 5167 5168 5169 |
# File 'lib/aws-sdk-ses/types.rb', line 5163 class Template < Struct.new( :template_name, :subject_part, :text_part, :html_part) include Aws::Structure end |
#text_part ⇒ String
The email body that will be visible to recipients whose email clients do not display HTML.
5163 5164 5165 5166 5167 5168 5169 |
# File 'lib/aws-sdk-ses/types.rb', line 5163 class Template < Struct.new( :template_name, :subject_part, :text_part, :html_part) include Aws::Structure end |