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

Class: Aws::SESV2::Types::CreateEmailTemplateRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing CreateEmailTemplateRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  template_name: "EmailTemplateName", # required
  template_content: { # required
    subject: "EmailTemplateSubject",
    text: "EmailTemplateText",
    html: "EmailTemplateHtml",
  },
}

Represents a request to create an email template. For more information, see the Amazon SES Developer Guide.

Instance Attribute Summary collapse

Instance Attribute Details

#template_contentTypes::EmailTemplateContent

The content of the email template, composed of a subject line, an HTML part, and a text-only part.

Returns:

#template_nameString

The name of the template you want to create.

Returns:

  • (String)

    The name of the template you want to create.