Class: Aws::SESV2::Types::Template
- Inherits:
-
Struct
- Object
- Struct
- Aws::SESV2::Types::Template
- 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 reuse in email messages that you send. You can specifiy the email template by providing the name or ARN of an *email template* previously saved in your Amazon SES account or by providing the full template content.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#headers ⇒ Array<Types::MessageHeader>
The list of message headers that will be added to the email message.
-
#template_arn ⇒ String
The Amazon Resource Name (ARN) of the template.
-
#template_content ⇒ Types::EmailTemplateContent
The content of the template.
-
#template_data ⇒ String
An object that defines the values to use for message variables in the template.
-
#template_name ⇒ String
The name of the template.
Instance Attribute Details
#headers ⇒ Array<Types::MessageHeader>
The list of message headers that will be added to the email message.
7470 7471 7472 7473 7474 7475 7476 7477 7478 |
# File 'lib/aws-sdk-sesv2/types.rb', line 7470 class Template < Struct.new( :template_name, :template_arn, :template_content, :template_data, :headers) SENSITIVE = [] include Aws::Structure end |
#template_arn ⇒ String
The Amazon Resource Name (ARN) of the template.
7470 7471 7472 7473 7474 7475 7476 7477 7478 |
# File 'lib/aws-sdk-sesv2/types.rb', line 7470 class Template < Struct.new( :template_name, :template_arn, :template_content, :template_data, :headers) SENSITIVE = [] include Aws::Structure end |
#template_content ⇒ Types::EmailTemplateContent
The content of the template.
<note markdown=“1”> Amazon SES supports only simple substitions when you send email using the ‘SendEmail` or `SendBulkEmail` operations and you provide the full template content in the request.
</note>
7470 7471 7472 7473 7474 7475 7476 7477 7478 |
# File 'lib/aws-sdk-sesv2/types.rb', line 7470 class Template < Struct.new( :template_name, :template_arn, :template_content, :template_data, :headers) SENSITIVE = [] include Aws::Structure end |
#template_data ⇒ String
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.
7470 7471 7472 7473 7474 7475 7476 7477 7478 |
# File 'lib/aws-sdk-sesv2/types.rb', line 7470 class Template < Struct.new( :template_name, :template_arn, :template_content, :template_data, :headers) SENSITIVE = [] include Aws::Structure end |
#template_name ⇒ String
The name of the template. You will refer to this name when you send email using the ‘SendTemplatedEmail` or `SendBulkTemplatedEmail` operations.
7470 7471 7472 7473 7474 7475 7476 7477 7478 |
# File 'lib/aws-sdk-sesv2/types.rb', line 7470 class Template < Struct.new( :template_name, :template_arn, :template_content, :template_data, :headers) SENSITIVE = [] include Aws::Structure end |