aws-sdk-sesv2 1.46.0 → 1.48.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 24ed710785d61a2902f5df85a54c70aef175669f038e55ad7e26703fc1c15d2c
4
- data.tar.gz: f936a0915c8f69b8a72a15bbc335fc2c0bdd6db27716cc8cbafe9e669d9f6759
3
+ metadata.gz: bc5f2240cd5dd3c8b52ceb02a5f2227c5e5f7c99c24e799bbd1b09135c389323
4
+ data.tar.gz: c7c92257b0bf5b213c1a0126462dfa71350a78f417b0563a9507edd0eee75acd
5
5
  SHA512:
6
- metadata.gz: e20e6a217143a9e73d62613aee8e8dede34122b18832349052636a8049c8526f0e4fa6df0ea59b463e8545d75860b1f759fa78020c55eb6ae546feba106293e2
7
- data.tar.gz: 1e03469a58ea14e944a5371753f45e833ab0060bb72088c378602bb9ddcfa26a032f98eba323312fffcbf5782138573b8e8cba5e8e0d8eb0b9df94b913508481
6
+ metadata.gz: ad7c085265c7086edf139905fb06845ba92025a70ee431d0974c7d69de27cbc08c119c00d6964243c0d28a4acb8e24496b8386364c16ae0ca16992fe9a809b47
7
+ data.tar.gz: 0dd6674e513e3716f5e7d45a8932c47e13b9cc70dc7dd6cf232c6fbd77d633d73b5eaea5c5f4487f16daee1e6e532b41eda8622426a980fbc963bcf8770d1b8b
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
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
+
9
+ 1.47.0 (2024-05-01)
10
+ ------------------
11
+
12
+ * Feature - Fixes ListContacts and ListImportJobs APIs to use POST instead of GET.
13
+
4
14
  1.46.0 (2024-04-25)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.46.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.46.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)
@@ -1256,8 +1257,8 @@ module Aws::SESV2
1256
1257
 
1257
1258
  ListContactsRequest.add_member(:contact_list_name, Shapes::ShapeRef.new(shape: ContactListName, required: true, location: "uri", location_name: "ContactListName"))
1258
1259
  ListContactsRequest.add_member(:filter, Shapes::ShapeRef.new(shape: ListContactsFilter, location_name: "Filter"))
1259
- ListContactsRequest.add_member(:page_size, Shapes::ShapeRef.new(shape: MaxItems, location: "querystring", location_name: "PageSize"))
1260
- ListContactsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "NextToken"))
1260
+ ListContactsRequest.add_member(:page_size, Shapes::ShapeRef.new(shape: MaxItems, location_name: "PageSize"))
1261
+ ListContactsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
1261
1262
  ListContactsRequest.struct_class = Types::ListContactsRequest
1262
1263
 
1263
1264
  ListContactsResponse.add_member(:contacts, Shapes::ShapeRef.new(shape: ListOfContacts, location_name: "Contacts"))
@@ -1326,8 +1327,8 @@ module Aws::SESV2
1326
1327
  ListExportJobsResponse.struct_class = Types::ListExportJobsResponse
1327
1328
 
1328
1329
  ListImportJobsRequest.add_member(:import_destination_type, Shapes::ShapeRef.new(shape: ImportDestinationType, location_name: "ImportDestinationType"))
1329
- ListImportJobsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "NextToken"))
1330
- ListImportJobsRequest.add_member(:page_size, Shapes::ShapeRef.new(shape: MaxItems, location: "querystring", location_name: "PageSize"))
1330
+ ListImportJobsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
1331
+ ListImportJobsRequest.add_member(:page_size, Shapes::ShapeRef.new(shape: MaxItems, location_name: "PageSize"))
1331
1332
  ListImportJobsRequest.struct_class = Types::ListImportJobsRequest
1332
1333
 
1333
1334
  ListImportJobsResponse.add_member(:import_jobs, Shapes::ShapeRef.new(shape: ImportJobSummaryList, location_name: "ImportJobs"))
@@ -1835,6 +1836,7 @@ module Aws::SESV2
1835
1836
  "endpointPrefix" => "email",
1836
1837
  "jsonVersion" => "1.1",
1837
1838
  "protocol" => "rest-json",
1839
+ "protocols" => ["rest-json"],
1838
1840
  "serviceAbbreviation" => "Amazon SES V2",
1839
1841
  "serviceFullName" => "Amazon Simple Email Service",
1840
1842
  "serviceId" => "SESv2",
@@ -2406,8 +2408,8 @@ module Aws::SESV2
2406
2408
 
2407
2409
  api.add_operation(:list_contacts, Seahorse::Model::Operation.new.tap do |o|
2408
2410
  o.name = "ListContacts"
2409
- o.http_method = "GET"
2410
- o.http_request_uri = "/v2/email/contact-lists/{ContactListName}/contacts"
2411
+ o.http_method = "POST"
2412
+ o.http_request_uri = "/v2/email/contact-lists/{ContactListName}/contacts/list"
2411
2413
  o.input = Shapes::ShapeRef.new(shape: ListContactsRequest)
2412
2414
  o.output = Shapes::ShapeRef.new(shape: ListContactsResponse)
2413
2415
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
@@ -2537,8 +2539,8 @@ module Aws::SESV2
2537
2539
 
2538
2540
  api.add_operation(:list_import_jobs, Seahorse::Model::Operation.new.tap do |o|
2539
2541
  o.name = "ListImportJobs"
2540
- o.http_method = "GET"
2541
- o.http_request_uri = "/v2/email/import-jobs"
2542
+ o.http_method = "POST"
2543
+ o.http_request_uri = "/v2/email/import-jobs/list"
2542
2544
  o.input = Shapes::ShapeRef.new(shape: ListImportJobsRequest)
2543
2545
  o.output = Shapes::ShapeRef.new(shape: ListImportJobsResponse)
2544
2546
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
@@ -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.46.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.46.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-04-25 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