aws-sdk-sesv2 1.65.0 → 1.66.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-sesv2/client.rb +16 -1
- data/lib/aws-sdk-sesv2/client_api.rb +1 -0
- data/lib/aws-sdk-sesv2/types.rb +15 -2
- data/lib/aws-sdk-sesv2.rb +1 -1
- data/sig/client.rbs +15 -0
- data/sig/types.rbs +1 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 72f8eded409f873d6c7913616d72c25b98c2270ad52cd178696e7df7bcb2f778
|
4
|
+
data.tar.gz: 4d855662cc268093fcb4365175bbf42499d412921ae9826612352bca25f53f35
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
1
|
+
1.66.0
|
data/lib/aws-sdk-sesv2/client.rb
CHANGED
@@ -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.
|
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
|
data/lib/aws-sdk-sesv2/types.rb
CHANGED
@@ -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
|
6896
|
-
#
|
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
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.
|
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-
|
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
|