You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::SESV2::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: "EmailTemplateName",
  template_arn: "AmazonResourceName",
  template_data: "EmailTemplateData",
}

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.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#template_arnString

The Amazon Resource Name (ARN) of the template.

Returns:

  • (String)

    The Amazon Resource Name (ARN) of the template.

#template_dataString

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.

Returns:

  • (String)

    An object that defines the values to use for message variables in the template.

#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.