aws-sdk-sesv2 1.64.0 → 1.66.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -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/endpoint_parameters.rb +9 -6
- data/lib/aws-sdk-sesv2/endpoints.rb +2 -1010
- data/lib/aws-sdk-sesv2/plugins/endpoints.rb +1 -190
- 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 +4 -4
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,16 @@
|
|
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
|
+
|
9
|
+
1.65.0 (2024-10-18)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
4
14
|
1.64.0 (2024-10-15)
|
5
15
|
------------------
|
6
16
|
|
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
|
@@ -52,15 +52,18 @@ module Aws::SESV2
|
|
52
52
|
self[:region] = options[:region]
|
53
53
|
self[:use_dual_stack] = options[:use_dual_stack]
|
54
54
|
self[:use_dual_stack] = false if self[:use_dual_stack].nil?
|
55
|
-
if self[:use_dual_stack].nil?
|
56
|
-
raise ArgumentError, "Missing required EndpointParameter: :use_dual_stack"
|
57
|
-
end
|
58
55
|
self[:use_fips] = options[:use_fips]
|
59
56
|
self[:use_fips] = false if self[:use_fips].nil?
|
60
|
-
if self[:use_fips].nil?
|
61
|
-
raise ArgumentError, "Missing required EndpointParameter: :use_fips"
|
62
|
-
end
|
63
57
|
self[:endpoint] = options[:endpoint]
|
64
58
|
end
|
59
|
+
|
60
|
+
def self.create(config, options={})
|
61
|
+
new({
|
62
|
+
region: config.region,
|
63
|
+
use_dual_stack: config.use_dualstack_endpoint,
|
64
|
+
use_fips: config.use_fips_endpoint,
|
65
|
+
endpoint: (config.endpoint.to_s unless config.regional_endpoint),
|
66
|
+
}.merge(options))
|
67
|
+
end
|
65
68
|
end
|
66
69
|
end
|