aws-sdk-sesv2 1.47.0 → 1.48.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: bc5f2240cd5dd3c8b52ceb02a5f2227c5e5f7c99c24e799bbd1b09135c389323
4
+ data.tar.gz: c7c92257b0bf5b213c1a0126462dfa71350a78f417b0563a9507edd0eee75acd
5
5
  SHA512:
6
- metadata.gz: ef076bb42297e0763da07d5bdd8ec94084fcd3f4d0f9b502a65d8ba19b2d33bf4b889cbb7d445b63d591e063a936ef0ff7463677d9d3ff4ea5306cfba7fed72d
7
- data.tar.gz: 95b2f9c92b8fd58007386d5ecd2ac9b29bf131f13c3adcfd5e83ad73873ffe793d1247cc8d3bd3656044b1a81bd00c1d68f241b632518e2beb2b9a3f8772c56b
6
+ metadata.gz: ad7c085265c7086edf139905fb06845ba92025a70ee431d0974c7d69de27cbc08c119c00d6964243c0d28a4acb8e24496b8386364c16ae0ca16992fe9a809b47
7
+ data.tar.gz: 0dd6674e513e3716f5e7d45a8932c47e13b9cc70dc7dd6cf232c6fbd77d633d73b5eaea5c5f4487f16daee1e6e532b41eda8622426a980fbc963bcf8770d1b8b
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.48.0 (2024-05-03)
5
+ ------------------
6
+
7
+ * Feature - Adds support for specifying replacement headers per BulkEmailEntry in SendBulkEmail in SESv2.
8
+
4
9
  1.47.0 (2024-05-01)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.47.0
1
+ 1.48.0
@@ -4432,6 +4432,12 @@ module Aws::SESV2
4432
4432
  # replacement_template_data: "EmailTemplateData",
4433
4433
  # },
4434
4434
  # },
4435
+ # replacement_headers: [
4436
+ # {
4437
+ # name: "MessageHeaderName", # required
4438
+ # value: "MessageHeaderValue", # required
4439
+ # },
4440
+ # ],
4435
4441
  # },
4436
4442
  # ],
4437
4443
  # configuration_set_name: "ConfigurationSetName",
@@ -5117,7 +5123,7 @@ module Aws::SESV2
5117
5123
  params: params,
5118
5124
  config: config)
5119
5125
  context[:gem_name] = 'aws-sdk-sesv2'
5120
- context[:gem_version] = '1.47.0'
5126
+ context[:gem_version] = '1.48.0'
5121
5127
  Seahorse::Client::Request.new(handlers, context)
5122
5128
  end
5123
5129
 
@@ -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.48.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.48.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-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core