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

Class: Aws::SES::Types::CreateTemplateRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ses/lib/aws-sdk-ses/types.rb

Overview

Note:

When making an API call, you may pass CreateTemplateRequest data as a hash:

{
  template: { # required
    template_name: "TemplateName", # required
    subject_part: "SubjectPart",
    text_part: "TextPart",
    html_part: "HtmlPart",
  },
}

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

Instance Attribute Summary collapse

Instance Attribute Details

#templateTypes::Template

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

Returns:



970
971
972
973
# File 'gems/aws-sdk-ses/lib/aws-sdk-ses/types.rb', line 970

class CreateTemplateRequest < Struct.new(
  :template)
  include Aws::Structure
end