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

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

Overview

Note:

When making an API call, you may pass CreateEmailTemplateRequest data as a 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.

Constant Summary collapse

SENSITIVE =
[]

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.



1192
1193
1194
1195
1196
1197
# File 'gems/aws-sdk-sesv2/lib/aws-sdk-sesv2/types.rb', line 1192

class CreateEmailTemplateRequest < Struct.new(
  :template_name,
  :template_content)
  SENSITIVE = []
  include Aws::Structure
end

#template_nameString

The name of the template.

Returns:

  • (String)


1192
1193
1194
1195
1196
1197
# File 'gems/aws-sdk-sesv2/lib/aws-sdk-sesv2/types.rb', line 1192

class CreateEmailTemplateRequest < Struct.new(
  :template_name,
  :template_content)
  SENSITIVE = []
  include Aws::Structure
end