aws-sdk-sesv2 1.47.0 → 1.49.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: 33872f15745b951b46e9096ea76674a08d28693db62afc1de06b9560bf6c4f65
4
- data.tar.gz: '08f53de29d55ece21ae5be2da3f90acfafea637581858298ac7704228e9e77f4'
3
+ metadata.gz: 6aec98a184351bf1d4124dbc7835ef07003cbab1957ffa35c6c850c50e41e36b
4
+ data.tar.gz: 14b18f45d9b1c24574e68d65dfb112de8b2f3f224097f82f780b6d5f43aa9d5e
5
5
  SHA512:
6
- metadata.gz: ef076bb42297e0763da07d5bdd8ec94084fcd3f4d0f9b502a65d8ba19b2d33bf4b889cbb7d445b63d591e063a936ef0ff7463677d9d3ff4ea5306cfba7fed72d
7
- data.tar.gz: 95b2f9c92b8fd58007386d5ecd2ac9b29bf131f13c3adcfd5e83ad73873ffe793d1247cc8d3bd3656044b1a81bd00c1d68f241b632518e2beb2b9a3f8772c56b
6
+ metadata.gz: f932b9806ca6872f58ab2d7f61f22c62be637ef3a40ecb5575623c99dfc8be582257f147ca38ee7dfaa507a699c3992732d101d3d1aec0d04b4817cc49726317
7
+ data.tar.gz: bedbb4a25e3805ed82a993fc605c9920405b24af9e1d6eee52247faa1f07839ec0aee0d0b70f1ef96e32de5d72dc8e7bba9a500cccbfed6fe67fe7e676b242ac
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.49.0 (2024-05-13)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.48.0 (2024-05-03)
10
+ ------------------
11
+
12
+ * Feature - Adds support for specifying replacement headers per BulkEmailEntry in SendBulkEmail in SESv2.
13
+
4
14
  1.47.0 (2024-05-01)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.47.0
1
+ 1.49.0
@@ -301,8 +301,9 @@ module Aws::SESV2
301
301
  #
302
302
  # @option options [String] :sdk_ua_app_id
303
303
  # A unique and opaque application ID that is appended to the
304
- # User-Agent header as app/<sdk_ua_app_id>. It should have a
305
- # maximum length of 50.
304
+ # User-Agent header as app/sdk_ua_app_id. It should have a
305
+ # maximum length of 50. This variable is sourced from environment
306
+ # variable AWS_SDK_UA_APP_ID or the shared config profile attribute sdk_ua_app_id.
306
307
  #
307
308
  # @option options [String] :secret_access_key
308
309
  #
@@ -4432,6 +4433,12 @@ module Aws::SESV2
4432
4433
  # replacement_template_data: "EmailTemplateData",
4433
4434
  # },
4434
4435
  # },
4436
+ # replacement_headers: [
4437
+ # {
4438
+ # name: "MessageHeaderName", # required
4439
+ # value: "MessageHeaderValue", # required
4440
+ # },
4441
+ # ],
4435
4442
  # },
4436
4443
  # ],
4437
4444
  # configuration_set_name: "ConfigurationSetName",
@@ -5117,7 +5124,7 @@ module Aws::SESV2
5117
5124
  params: params,
5118
5125
  config: config)
5119
5126
  context[:gem_name] = 'aws-sdk-sesv2'
5120
- context[:gem_version] = '1.47.0'
5127
+ context[:gem_version] = '1.49.0'
5121
5128
  Seahorse::Client::Request.new(handlers, context)
5122
5129
  end
5123
5130
 
@@ -558,6 +558,7 @@ module Aws::SESV2
558
558
  BulkEmailEntry.add_member(:destination, Shapes::ShapeRef.new(shape: Destination, required: true, location_name: "Destination"))
559
559
  BulkEmailEntry.add_member(:replacement_tags, Shapes::ShapeRef.new(shape: MessageTagList, location_name: "ReplacementTags"))
560
560
  BulkEmailEntry.add_member(:replacement_email_content, Shapes::ShapeRef.new(shape: ReplacementEmailContent, location_name: "ReplacementEmailContent"))
561
+ BulkEmailEntry.add_member(:replacement_headers, Shapes::ShapeRef.new(shape: MessageHeaderList, location_name: "ReplacementHeaders"))
561
562
  BulkEmailEntry.struct_class = Types::BulkEmailEntry
562
563
 
563
564
  BulkEmailEntryList.member = Shapes::ShapeRef.new(shape: BulkEmailEntry)
@@ -322,12 +322,36 @@ module Aws::SESV2
322
322
  # The `ReplacementEmailContent` associated with a `BulkEmailEntry`.
323
323
  # @return [Types::ReplacementEmailContent]
324
324
  #
325
+ # @!attribute [rw] replacement_headers
326
+ # The list of message headers associated with the `BulkEmailEntry`
327
+ # data type.
328
+ #
329
+ # * Headers Not Present in `BulkEmailEntry`: If a header is specified
330
+ # in [ `Template` ][1] but not in `BulkEmailEntry`, the header from
331
+ # `Template` will be added to the outgoing email.
332
+ #
333
+ # * Headers Present in `BulkEmailEntry`: If a header is specified in
334
+ # `BulkEmailEntry`, it takes precedence over any header of the same
335
+ # name specified in [ `Template` ][1]:
336
+ #
337
+ # * If the header is also defined within `Template`, the value from
338
+ # `BulkEmailEntry` will replace the header's value in the email.
339
+ #
340
+ # * If the header is not defined within `Template`, it will simply
341
+ # be added to the email as specified in `BulkEmailEntry`.
342
+ #
343
+ #
344
+ #
345
+ # [1]: https://docs.aws.amazon.com/ses/latest/APIReference-V2/API_Template.html
346
+ # @return [Array<Types::MessageHeader>]
347
+ #
325
348
  # @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/BulkEmailEntry AWS API Documentation
326
349
  #
327
350
  class BulkEmailEntry < Struct.new(
328
351
  :destination,
329
352
  :replacement_tags,
330
- :replacement_email_content)
353
+ :replacement_email_content,
354
+ :replacement_headers)
331
355
  SENSITIVE = []
332
356
  include Aws::Structure
333
357
  end
data/lib/aws-sdk-sesv2.rb CHANGED
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-sesv2/customizations'
52
52
  # @!group service
53
53
  module Aws::SESV2
54
54
 
55
- GEM_VERSION = '1.47.0'
55
+ GEM_VERSION = '1.49.0'
56
56
 
57
57
  end
data/sig/client.rbs CHANGED
@@ -1272,7 +1272,13 @@ module Aws
1272
1272
  replacement_template: {
1273
1273
  replacement_template_data: ::String?
1274
1274
  }?
1275
- }?
1275
+ }?,
1276
+ replacement_headers: Array[
1277
+ {
1278
+ name: ::String,
1279
+ value: ::String
1280
+ },
1281
+ ]?
1276
1282
  },
1277
1283
  ],
1278
1284
  ?configuration_set_name: ::String
data/sig/types.rbs CHANGED
@@ -77,6 +77,7 @@ module Aws::SESV2
77
77
  attr_accessor destination: Types::Destination
78
78
  attr_accessor replacement_tags: ::Array[Types::MessageTag]
79
79
  attr_accessor replacement_email_content: Types::ReplacementEmailContent
80
+ attr_accessor replacement_headers: ::Array[Types::MessageHeader]
80
81
  SENSITIVE: []
81
82
  end
82
83
 
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.47.0
4
+ version: 1.49.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-05-01 00:00:00.000000000 Z
11
+ date: 2024-05-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core