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
show all
Defined in:
(unknown)

Overview

Note:

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

Instance Attribute Details

#html_partString

The HTML body of the email.

Returns:

  • (String)

    The HTML body of the email.

#subject_partString

The subject line of the email.

Returns:

  • (String)

    The subject line of the email.

#template_nameString

The name of the template. You will refer to this name when you send email using the SendTemplatedEmail or SendBulkTemplatedEmail operations.

Returns:

  • (String)

    The name of the template.

#text_partString

The email body that will be visible to recipients whose email clients do not display HTML.

Returns:

  • (String)

    The email body that will be visible to recipients whose email clients do not display HTML.