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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 94dc4bc753251a3c3189b30ec740771309a9e9d758b8611d05a31225a96d446a
4
- data.tar.gz: b26b5ac1779942c70ed6e8e5974cd410a440d65211619c1331f30d204511e98e
3
+ metadata.gz: 72f8eded409f873d6c7913616d72c25b98c2270ad52cd178696e7df7bcb2f778
4
+ data.tar.gz: 4d855662cc268093fcb4365175bbf42499d412921ae9826612352bca25f53f35
5
5
  SHA512:
6
- metadata.gz: b3acfa47cfe8b7983c7bd8d7533ea1c268e0bb249ca55d512c7f11ce892a294d53dae840f48309ae0b79e86f21f49d2f16274d599c592dc42280d5bd930df537
7
- data.tar.gz: 66019a97808747a16f8052467fbfa0654c903684fc1c5f805a26c3b1290c75d5f6c1282fb014c3c6977ae813abfe766acfede55f2701b9620003452af399d8d6
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.64.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.64.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
@@ -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