Class: Aws::SES::Types::Template

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 Template data as a 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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#html_partString

The HTML body of the email.

Returns:

  • (String)


5808
5809
5810
5811
5812
5813
5814
5815
# File 'gems/aws-sdk-ses/lib/aws-sdk-ses/types.rb', line 5808

class Template < Struct.new(
  :template_name,
  :subject_part,
  :text_part,
  :html_part)
  SENSITIVE = []
  include Aws::Structure
end

#subject_partString

The subject line of the email.

Returns:

  • (String)


5808
5809
5810
5811
5812
5813
5814
5815
# File 'gems/aws-sdk-ses/lib/aws-sdk-ses/types.rb', line 5808

class Template < Struct.new(
  :template_name,
  :subject_part,
  :text_part,
  :html_part)
  SENSITIVE = []
  include Aws::Structure
end

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


5808
5809
5810
5811
5812
5813
5814
5815
# File 'gems/aws-sdk-ses/lib/aws-sdk-ses/types.rb', line 5808

class Template < Struct.new(
  :template_name,
  :subject_part,
  :text_part,
  :html_part)
  SENSITIVE = []
  include Aws::Structure
end

#text_partString

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

Returns:

  • (String)


5808
5809
5810
5811
5812
5813
5814
5815
# File 'gems/aws-sdk-ses/lib/aws-sdk-ses/types.rb', line 5808

class Template < Struct.new(
  :template_name,
  :subject_part,
  :text_part,
  :html_part)
  SENSITIVE = []
  include Aws::Structure
end