Class: Aws::SESV2::Types::Template

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

Overview

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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#headersArray<Types::MessageHeader>

The list of message headers that will be added to the email message.

Returns:



6905
6906
6907
6908
6909
6910
6911
6912
# File 'lib/aws-sdk-sesv2/types.rb', line 6905

class Template < Struct.new(
  :template_name,
  :template_arn,
  :template_data,
  :headers)
  SENSITIVE = []
  include Aws::Structure
end

#template_arnString

The Amazon Resource Name (ARN) of the template.

Returns:

  • (String)


6905
6906
6907
6908
6909
6910
6911
6912
# File 'lib/aws-sdk-sesv2/types.rb', line 6905

class Template < Struct.new(
  :template_name,
  :template_arn,
  :template_data,
  :headers)
  SENSITIVE = []
  include Aws::Structure
end

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


6905
6906
6907
6908
6909
6910
6911
6912
# File 'lib/aws-sdk-sesv2/types.rb', line 6905

class Template < Struct.new(
  :template_name,
  :template_arn,
  :template_data,
  :headers)
  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)


6905
6906
6907
6908
6909
6910
6911
6912
# File 'lib/aws-sdk-sesv2/types.rb', line 6905

class Template < Struct.new(
  :template_name,
  :template_arn,
  :template_data,
  :headers)
  SENSITIVE = []
  include Aws::Structure
end