aws-sdk-sesv2 1.65.0 → 1.66.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c0f34a1099f30e82b9c1450db9578c11b9a795ee1c9a69b9095353d7d413c92c
4
- data.tar.gz: a3f12da584bad0ce341200278c158a68948ee6f0a961b5c596bb3cfd62ef0844
3
+ metadata.gz: 72f8eded409f873d6c7913616d72c25b98c2270ad52cd178696e7df7bcb2f778
4
+ data.tar.gz: 4d855662cc268093fcb4365175bbf42499d412921ae9826612352bca25f53f35
5
5
  SHA512:
6
- metadata.gz: 4fecef66e0486e3dc56c005b2d5c3f33007370351724ec339acb875974c833f9cfced20eb63e78af91c255046f0b900bbab6ba00eed061497369d8a3ff1e59ad
7
- data.tar.gz: 7176d62219b710e3a84726b589657af6ae935b6392cd823988c23f535d257e6cee661b5ebf9c1ce78129cad05e9f772dc079f16a01e9295ee6533822eeae9146
6
+ metadata.gz: 8477f5524b55181864c802f50ba6d1016f8fc5717a81c2d7dca98a9b64d7e95f02b8bb0017218c360b8a998cec65ef9e00e4c8738749122c9898d75cd1974f32
7
+ data.tar.gz: 6a6a704798d9a400822f217400cd814c27e2ef62c306adfa28ec7162e32d6709694af26940f0d4051fdf60e710f9d9d34fe79203c8d3b6f44c0e95c6722e56d4
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.66.0 (2024-10-31)
5
+ ------------------
6
+
7
+ * Feature - This release enables customers to provide the email template content in the SESv2 SendEmail and SendBulkEmail APIs instead of the name or the ARN of a stored email template.
8
+
4
9
  1.65.0 (2024-10-18)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.65.0
1
+ 1.66.0
@@ -943,6 +943,11 @@ module Aws::SESV2
943
943
  # template: {
944
944
  # template_name: "EmailTemplateName",
945
945
  # template_arn: "AmazonResourceName",
946
+ # template_content: {
947
+ # subject: "EmailTemplateSubject",
948
+ # text: "EmailTemplateText",
949
+ # html: "EmailTemplateHtml",
950
+ # },
946
951
  # template_data: "EmailTemplateData",
947
952
  # headers: [
948
953
  # {
@@ -4460,6 +4465,11 @@ module Aws::SESV2
4460
4465
  # template: {
4461
4466
  # template_name: "EmailTemplateName",
4462
4467
  # template_arn: "AmazonResourceName",
4468
+ # template_content: {
4469
+ # subject: "EmailTemplateSubject",
4470
+ # text: "EmailTemplateText",
4471
+ # html: "EmailTemplateHtml",
4472
+ # },
4463
4473
  # template_data: "EmailTemplateData",
4464
4474
  # headers: [
4465
4475
  # {
@@ -4705,6 +4715,11 @@ module Aws::SESV2
4705
4715
  # template: {
4706
4716
  # template_name: "EmailTemplateName",
4707
4717
  # template_arn: "AmazonResourceName",
4718
+ # template_content: {
4719
+ # subject: "EmailTemplateSubject",
4720
+ # text: "EmailTemplateText",
4721
+ # html: "EmailTemplateHtml",
4722
+ # },
4708
4723
  # template_data: "EmailTemplateData",
4709
4724
  # headers: [
4710
4725
  # {
@@ -5185,7 +5200,7 @@ module Aws::SESV2
5185
5200
  tracer: tracer
5186
5201
  )
5187
5202
  context[:gem_name] = 'aws-sdk-sesv2'
5188
- context[:gem_version] = '1.65.0'
5203
+ context[:gem_version] = '1.66.0'
5189
5204
  Seahorse::Client::Request.new(handlers, context)
5190
5205
  end
5191
5206
 
@@ -1728,6 +1728,7 @@ module Aws::SESV2
1728
1728
 
1729
1729
  Template.add_member(:template_name, Shapes::ShapeRef.new(shape: EmailTemplateName, location_name: "TemplateName"))
1730
1730
  Template.add_member(:template_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, location_name: "TemplateArn"))
1731
+ Template.add_member(:template_content, Shapes::ShapeRef.new(shape: EmailTemplateContent, location_name: "TemplateContent"))
1731
1732
  Template.add_member(:template_data, Shapes::ShapeRef.new(shape: EmailTemplateData, location_name: "TemplateData"))
1732
1733
  Template.add_member(:headers, Shapes::ShapeRef.new(shape: MessageHeaderList, location_name: "Headers"))
1733
1734
  Template.struct_class = Types::Template
@@ -6892,8 +6892,10 @@ module Aws::SESV2
6892
6892
  # An object that defines the email template to use for an email message,
6893
6893
  # and the values to use for any message variables in that template. An
6894
6894
  # *email template* is a type of message template that contains content
6895
- # that you want to define, save, and reuse in email messages that you
6896
- # send.
6895
+ # that you want to reuse in email messages that you send. You can
6896
+ # specifiy the email template by providing the name or ARN of an *email
6897
+ # template* previously saved in your Amazon SES account or by providing
6898
+ # the full template content.
6897
6899
  #
6898
6900
  # @!attribute [rw] template_name
6899
6901
  # The name of the template. You will refer to this name when you send
@@ -6905,6 +6907,16 @@ module Aws::SESV2
6905
6907
  # The Amazon Resource Name (ARN) of the template.
6906
6908
  # @return [String]
6907
6909
  #
6910
+ # @!attribute [rw] template_content
6911
+ # The content of the template.
6912
+ #
6913
+ # <note markdown="1"> Amazon SES supports only simple substitions when you send email
6914
+ # using the `SendEmail` or `SendBulkEmail` operations and you provide
6915
+ # the full template content in the request.
6916
+ #
6917
+ # </note>
6918
+ # @return [Types::EmailTemplateContent]
6919
+ #
6908
6920
  # @!attribute [rw] template_data
6909
6921
  # An object that defines the values to use for message variables in
6910
6922
  # the template. This object is a set of key-value pairs. Each key
@@ -6921,6 +6933,7 @@ module Aws::SESV2
6921
6933
  class Template < Struct.new(
6922
6934
  :template_name,
6923
6935
  :template_arn,
6936
+ :template_content,
6924
6937
  :template_data,
6925
6938
  :headers)
6926
6939
  SENSITIVE = []
data/lib/aws-sdk-sesv2.rb CHANGED
@@ -54,7 +54,7 @@ module Aws::SESV2
54
54
  autoload :EndpointProvider, 'aws-sdk-sesv2/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-sesv2/endpoints'
56
56
 
57
- GEM_VERSION = '1.65.0'
57
+ GEM_VERSION = '1.66.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -292,6 +292,11 @@ module Aws
292
292
  template: {
293
293
  template_name: ::String?,
294
294
  template_arn: ::String?,
295
+ template_content: {
296
+ subject: ::String?,
297
+ text: ::String?,
298
+ html: ::String?
299
+ }?,
295
300
  template_data: ::String?,
296
301
  headers: Array[
297
302
  {
@@ -1256,6 +1261,11 @@ module Aws
1256
1261
  template: {
1257
1262
  template_name: ::String?,
1258
1263
  template_arn: ::String?,
1264
+ template_content: {
1265
+ subject: ::String?,
1266
+ text: ::String?,
1267
+ html: ::String?
1268
+ }?,
1259
1269
  template_data: ::String?,
1260
1270
  headers: Array[
1261
1271
  {
@@ -1352,6 +1362,11 @@ module Aws
1352
1362
  template: {
1353
1363
  template_name: ::String?,
1354
1364
  template_arn: ::String?,
1365
+ template_content: {
1366
+ subject: ::String?,
1367
+ text: ::String?,
1368
+ html: ::String?
1369
+ }?,
1355
1370
  template_data: ::String?,
1356
1371
  headers: Array[
1357
1372
  {
data/sig/types.rbs CHANGED
@@ -1596,6 +1596,7 @@ module Aws::SESV2
1596
1596
  class Template
1597
1597
  attr_accessor template_name: ::String
1598
1598
  attr_accessor template_arn: ::String
1599
+ attr_accessor template_content: Types::EmailTemplateContent
1599
1600
  attr_accessor template_data: ::String
1600
1601
  attr_accessor headers: ::Array[Types::MessageHeader]
1601
1602
  SENSITIVE: []
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-sesv2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.65.0
4
+ version: 1.66.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-10-18 00:00:00.000000000 Z
11
+ date: 2024-10-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core