aws-sdk-sesv2 1.45.0 → 1.47.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: 4942007074e385997db719b5c511a07074745f2d197014b32ae14e0662e6dafd
4
- data.tar.gz: 8389d520c6ce122893e1e75e296730a2d57aeba3ade48b890f1d49da059117da
3
+ metadata.gz: 33872f15745b951b46e9096ea76674a08d28693db62afc1de06b9560bf6c4f65
4
+ data.tar.gz: '08f53de29d55ece21ae5be2da3f90acfafea637581858298ac7704228e9e77f4'
5
5
  SHA512:
6
- metadata.gz: 265617041e4d183f6856380e8652fa800daad9116068fd6eb9d2ef84d6584de5c341287fee1f96c60418bcb01f225f2ed58d5c03683f9c96ac21907969d084ad
7
- data.tar.gz: bbef0db4a8b16d6ab3c11541d1579ac58d09d1ad2bd1b6081a40e295fd029c4aba4e13737adf07429f3b66902a66d8fdc949778e0a44242bbce5dee06aee7164
6
+ metadata.gz: ef076bb42297e0763da07d5bdd8ec94084fcd3f4d0f9b502a65d8ba19b2d33bf4b889cbb7d445b63d591e063a936ef0ff7463677d9d3ff4ea5306cfba7fed72d
7
+ data.tar.gz: 95b2f9c92b8fd58007386d5ecd2ac9b29bf131f13c3adcfd5e83ad73873ffe793d1247cc8d3bd3656044b1a81bd00c1d68f241b632518e2beb2b9a3f8772c56b
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.47.0 (2024-05-01)
5
+ ------------------
6
+
7
+ * Feature - Fixes ListContacts and ListImportJobs APIs to use POST instead of GET.
8
+
9
+ 1.46.0 (2024-04-25)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.45.0 (2024-03-05)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.45.0
1
+ 1.47.0
@@ -22,6 +22,7 @@ require 'aws-sdk-core/plugins/endpoint_pattern.rb'
22
22
  require 'aws-sdk-core/plugins/response_paging.rb'
23
23
  require 'aws-sdk-core/plugins/stub_responses.rb'
24
24
  require 'aws-sdk-core/plugins/idempotency_token.rb'
25
+ require 'aws-sdk-core/plugins/invocation_id.rb'
25
26
  require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
26
27
  require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
27
28
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
@@ -72,6 +73,7 @@ module Aws::SESV2
72
73
  add_plugin(Aws::Plugins::ResponsePaging)
73
74
  add_plugin(Aws::Plugins::StubResponses)
74
75
  add_plugin(Aws::Plugins::IdempotencyToken)
76
+ add_plugin(Aws::Plugins::InvocationId)
75
77
  add_plugin(Aws::Plugins::JsonvalueConverter)
76
78
  add_plugin(Aws::Plugins::ClientMetricsPlugin)
77
79
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
@@ -196,10 +198,17 @@ module Aws::SESV2
196
198
  # When set to 'true' the request body will not be compressed
197
199
  # for supported operations.
198
200
  #
199
- # @option options [String] :endpoint
200
- # The client endpoint is normally constructed from the `:region`
201
- # option. You should only configure an `:endpoint` when connecting
202
- # to test or custom endpoints. This should be a valid HTTP(S) URI.
201
+ # @option options [String, URI::HTTPS, URI::HTTP] :endpoint
202
+ # Normally you should not configure the `:endpoint` option
203
+ # directly. This is normally constructed from the `:region`
204
+ # option. Configuring `:endpoint` is normally reserved for
205
+ # connecting to test or custom endpoints. The endpoint should
206
+ # be a URI formatted like:
207
+ #
208
+ # 'http://example.com'
209
+ # 'https://example.com'
210
+ # 'http://example.com:123'
211
+ #
203
212
  #
204
213
  # @option options [Integer] :endpoint_cache_max_entries (1000)
205
214
  # Used for the maximum size limit of the LRU cache storing endpoints data
@@ -337,50 +346,65 @@ module Aws::SESV2
337
346
  # @option options [Aws::SESV2::EndpointProvider] :endpoint_provider
338
347
  # The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::SESV2::EndpointParameters`
339
348
  #
340
- # @option options [URI::HTTP,String] :http_proxy A proxy to send
341
- # requests through. Formatted like 'http://proxy.com:123'.
342
- #
343
- # @option options [Float] :http_open_timeout (15) The number of
344
- # seconds to wait when opening a HTTP session before raising a
345
- # `Timeout::Error`.
346
- #
347
- # @option options [Float] :http_read_timeout (60) The default
348
- # number of seconds to wait for response data. This value can
349
- # safely be set per-request on the session.
350
- #
351
- # @option options [Float] :http_idle_timeout (5) The number of
352
- # seconds a connection is allowed to sit idle before it is
353
- # considered stale. Stale connections are closed and removed
354
- # from the pool before making a request.
355
- #
356
- # @option options [Float] :http_continue_timeout (1) The number of
357
- # seconds to wait for a 100-continue response before sending the
358
- # request body. This option has no effect unless the request has
359
- # "Expect" header set to "100-continue". Defaults to `nil` which
360
- # disables this behaviour. This value can safely be set per
361
- # request on the session.
362
- #
363
- # @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
364
- # in seconds.
349
+ # @option options [Float] :http_continue_timeout (1)
350
+ # The number of seconds to wait for a 100-continue response before sending the
351
+ # request body. This option has no effect unless the request has "Expect"
352
+ # header set to "100-continue". Defaults to `nil` which disables this
353
+ # behaviour. This value can safely be set per request on the session.
354
+ #
355
+ # @option options [Float] :http_idle_timeout (5)
356
+ # The number of seconds a connection is allowed to sit idle before it
357
+ # is considered stale. Stale connections are closed and removed from the
358
+ # pool before making a request.
359
+ #
360
+ # @option options [Float] :http_open_timeout (15)
361
+ # The default number of seconds to wait for response data.
362
+ # This value can safely be set per-request on the session.
363
+ #
364
+ # @option options [URI::HTTP,String] :http_proxy
365
+ # A proxy to send requests through. Formatted like 'http://proxy.com:123'.
366
+ #
367
+ # @option options [Float] :http_read_timeout (60)
368
+ # The default number of seconds to wait for response data.
369
+ # This value can safely be set per-request on the session.
370
+ #
371
+ # @option options [Boolean] :http_wire_trace (false)
372
+ # When `true`, HTTP debug output will be sent to the `:logger`.
373
+ #
374
+ # @option options [Proc] :on_chunk_received
375
+ # When a Proc object is provided, it will be used as callback when each chunk
376
+ # of the response body is received. It provides three arguments: the chunk,
377
+ # the number of bytes received, and the total number of
378
+ # bytes in the response (or nil if the server did not send a `content-length`).
379
+ #
380
+ # @option options [Proc] :on_chunk_sent
381
+ # When a Proc object is provided, it will be used as callback when each chunk
382
+ # of the request body is sent. It provides three arguments: the chunk,
383
+ # the number of bytes read from the body, and the total number of
384
+ # bytes in the body.
385
+ #
386
+ # @option options [Boolean] :raise_response_errors (true)
387
+ # When `true`, response errors are raised.
388
+ #
389
+ # @option options [String] :ssl_ca_bundle
390
+ # Full path to the SSL certificate authority bundle file that should be used when
391
+ # verifying peer certificates. If you do not pass `:ssl_ca_bundle` or
392
+ # `:ssl_ca_directory` the the system default will be used if available.
393
+ #
394
+ # @option options [String] :ssl_ca_directory
395
+ # Full path of the directory that contains the unbundled SSL certificate
396
+ # authority files for verifying peer certificates. If you do
397
+ # not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the system
398
+ # default will be used if available.
365
399
  #
366
- # @option options [Boolean] :http_wire_trace (false) When `true`,
367
- # HTTP debug output will be sent to the `:logger`.
400
+ # @option options [String] :ssl_ca_store
401
+ # Sets the X509::Store to verify peer certificate.
368
402
  #
369
- # @option options [Boolean] :ssl_verify_peer (true) When `true`,
370
- # SSL peer certificates are verified when establishing a
371
- # connection.
403
+ # @option options [Float] :ssl_timeout
404
+ # Sets the SSL timeout in seconds
372
405
  #
373
- # @option options [String] :ssl_ca_bundle Full path to the SSL
374
- # certificate authority bundle file that should be used when
375
- # verifying peer certificates. If you do not pass
376
- # `:ssl_ca_bundle` or `:ssl_ca_directory` the the system default
377
- # will be used if available.
378
- #
379
- # @option options [String] :ssl_ca_directory Full path of the
380
- # directory that contains the unbundled SSL certificate
381
- # authority files for verifying peer certificates. If you do
382
- # not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the
383
- # system default will be used if available.
406
+ # @option options [Boolean] :ssl_verify_peer (true)
407
+ # When `true`, SSL peer certificates are verified when establishing a connection.
384
408
  #
385
409
  def initialize(*args)
386
410
  super
@@ -5093,7 +5117,7 @@ module Aws::SESV2
5093
5117
  params: params,
5094
5118
  config: config)
5095
5119
  context[:gem_name] = 'aws-sdk-sesv2'
5096
- context[:gem_version] = '1.45.0'
5120
+ context[:gem_version] = '1.47.0'
5097
5121
  Seahorse::Client::Request.new(handlers, context)
5098
5122
  end
5099
5123
 
@@ -1256,8 +1256,8 @@ module Aws::SESV2
1256
1256
 
1257
1257
  ListContactsRequest.add_member(:contact_list_name, Shapes::ShapeRef.new(shape: ContactListName, required: true, location: "uri", location_name: "ContactListName"))
1258
1258
  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"))
1259
+ ListContactsRequest.add_member(:page_size, Shapes::ShapeRef.new(shape: MaxItems, location_name: "PageSize"))
1260
+ ListContactsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
1261
1261
  ListContactsRequest.struct_class = Types::ListContactsRequest
1262
1262
 
1263
1263
  ListContactsResponse.add_member(:contacts, Shapes::ShapeRef.new(shape: ListOfContacts, location_name: "Contacts"))
@@ -1326,8 +1326,8 @@ module Aws::SESV2
1326
1326
  ListExportJobsResponse.struct_class = Types::ListExportJobsResponse
1327
1327
 
1328
1328
  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"))
1329
+ ListImportJobsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
1330
+ ListImportJobsRequest.add_member(:page_size, Shapes::ShapeRef.new(shape: MaxItems, location_name: "PageSize"))
1331
1331
  ListImportJobsRequest.struct_class = Types::ListImportJobsRequest
1332
1332
 
1333
1333
  ListImportJobsResponse.add_member(:import_jobs, Shapes::ShapeRef.new(shape: ImportJobSummaryList, location_name: "ImportJobs"))
@@ -1835,6 +1835,7 @@ module Aws::SESV2
1835
1835
  "endpointPrefix" => "email",
1836
1836
  "jsonVersion" => "1.1",
1837
1837
  "protocol" => "rest-json",
1838
+ "protocols" => ["rest-json"],
1838
1839
  "serviceAbbreviation" => "Amazon SES V2",
1839
1840
  "serviceFullName" => "Amazon Simple Email Service",
1840
1841
  "serviceId" => "SESv2",
@@ -2406,8 +2407,8 @@ module Aws::SESV2
2406
2407
 
2407
2408
  api.add_operation(:list_contacts, Seahorse::Model::Operation.new.tap do |o|
2408
2409
  o.name = "ListContacts"
2409
- o.http_method = "GET"
2410
- o.http_request_uri = "/v2/email/contact-lists/{ContactListName}/contacts"
2410
+ o.http_method = "POST"
2411
+ o.http_request_uri = "/v2/email/contact-lists/{ContactListName}/contacts/list"
2411
2412
  o.input = Shapes::ShapeRef.new(shape: ListContactsRequest)
2412
2413
  o.output = Shapes::ShapeRef.new(shape: ListContactsResponse)
2413
2414
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
@@ -2537,8 +2538,8 @@ module Aws::SESV2
2537
2538
 
2538
2539
  api.add_operation(:list_import_jobs, Seahorse::Model::Operation.new.tap do |o|
2539
2540
  o.name = "ListImportJobs"
2540
- o.http_method = "GET"
2541
- o.http_request_uri = "/v2/email/import-jobs"
2541
+ o.http_method = "POST"
2542
+ o.http_request_uri = "/v2/email/import-jobs/list"
2542
2543
  o.input = Shapes::ShapeRef.new(shape: ListImportJobsRequest)
2543
2544
  o.output = Shapes::ShapeRef.new(shape: ListImportJobsResponse)
2544
2545
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
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.45.0'
55
+ GEM_VERSION = '1.47.0'
56
56
 
57
57
  end
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.45.0
4
+ version: 1.47.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-03-05 00:00:00.000000000 Z
11
+ date: 2024-05-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.191.0
22
+ version: 3.193.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.191.0
32
+ version: 3.193.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement