aws-sdk-sqs 1.110.0 → 1.111.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: 0de7d2ed450954c057519fe8394e9e1644f4f7eb24871c5e8ee673223fe343cf
4
- data.tar.gz: 70bfd24c3ac20d7ef944f8f6a3478e09597c1e849e77a95b887341cec33b443a
3
+ metadata.gz: 86f6c58be2b36fefa07d48750b82ce457a9037ac64d68b646419f2d6cba27379
4
+ data.tar.gz: c2ca52609d26c188ab1d49c4040fe34f9ad3c312a8a697d05e74ab72969de681
5
5
  SHA512:
6
- metadata.gz: 123e2dc1710cf996c4f2e2873965fcf37ac59e8e6edc896abe40b5d4219f31398415db14df0658e1c29bc38eb21074f858ffd8d9b31a5370025c3e70cbeda133
7
- data.tar.gz: 6b8770fe599d7fc0105fdc223de4c9e82a63bc94acb432c91ef56bfa4ca9ad1e565b296c05e666a6b1fa812156551a08f7e55c5bb024e33576a5a2bf1263cadd
6
+ metadata.gz: 00cf7e858f7e0efc7bb96b4d9edecf0978ee8298e1d73c0a5321cc87bc122dd162c3cb06ab0575ef1b8ea7e7d186d9919566e9bc6c0ac5c60b5aac141dbe51b7
7
+ data.tar.gz: 31ab4a109369a7f84d0890149dad3827bbf7de7ea1672e998ae647b4d4ac181dd8a34753d0cff224b0ca5b91dd95ae10183c77078dc9c8e9c2bf5e9b6f05c39e
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.111.0 (2026-01-22)
5
+ ------------------
6
+
7
+ * Feature - Support disabling queue url region detection through `disable_queue_url_region_detection`.
8
+
4
9
  1.110.0 (2026-01-16)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.110.0
1
+ 1.111.0
@@ -213,6 +213,9 @@ module Aws::SQS
213
213
  # @option options [Boolean] :disable_host_prefix_injection (false)
214
214
  # When `true`, the SDK will not prepend the modeled host prefix to the endpoint.
215
215
  #
216
+ # @option options [Boolean] :disable_queue_url_region_detection (false)
217
+ # When set to `true`, the region will not be extracted from a provided queue url. Defaults to `false`.
218
+ #
216
219
  # @option options [Boolean] :disable_request_compression (false)
217
220
  # When set to 'true' the request body will not be compressed
218
221
  # for supported operations.
@@ -2980,7 +2983,7 @@ module Aws::SQS
2980
2983
  tracer: tracer
2981
2984
  )
2982
2985
  context[:gem_name] = 'aws-sdk-sqs'
2983
- context[:gem_version] = '1.110.0'
2986
+ context[:gem_version] = '1.111.0'
2984
2987
  Seahorse::Client::Request.new(handlers, context)
2985
2988
  end
2986
2989
 
@@ -5,6 +5,19 @@ module Aws
5
5
  module Plugins
6
6
  # @api private
7
7
  class QueueUrls < Seahorse::Client::Plugin
8
+ # When set to `true`, the signing region will not be modified if the configured
9
+ # region does not match the region extracted from a provided queue url.
10
+ #
11
+ # When set to 'false', the signing region will be modified to use the region
12
+ # extracted from a provided queue url if it differs from the configured region.
13
+ option(
14
+ :disable_queue_url_region_detection,
15
+ default: false,
16
+ doc_type: 'Boolean',
17
+ docstring: <<~DOCS)
18
+ When set to `true`, the region will not be extracted from a provided queue url. Defaults to `false`.
19
+ DOCS
20
+
8
21
  # Extract region from a provided queue_url
9
22
  class Handler < Seahorse::Client::Handler
10
23
  def call(context)
@@ -22,6 +35,8 @@ module Aws
22
35
  # If the region in the queue url is not the configured
23
36
  # region, then we will modify signing to use it
24
37
  def update_region(context, queue_url)
38
+ return if context.config.disable_queue_url_region_detection
39
+
25
40
  if (queue_region = parse_region(queue_url)) &&
26
41
  queue_region != context.config.region
27
42
  context[:auth_scheme]['signingRegion'] = queue_region
data/lib/aws-sdk-sqs.rb CHANGED
@@ -56,7 +56,7 @@ module Aws::SQS
56
56
  autoload :Message, 'aws-sdk-sqs/message'
57
57
  autoload :Queue, 'aws-sdk-sqs/queue'
58
58
 
59
- GEM_VERSION = '1.110.0'
59
+ GEM_VERSION = '1.111.0'
60
60
 
61
61
  end
62
62
 
data/sig/client.rbs CHANGED
@@ -28,6 +28,7 @@ module Aws
28
28
  ?correct_clock_skew: bool,
29
29
  ?defaults_mode: String,
30
30
  ?disable_host_prefix_injection: bool,
31
+ ?disable_queue_url_region_detection: bool,
31
32
  ?disable_request_compression: bool,
32
33
  ?endpoint: String,
33
34
  ?endpoint_cache_max_entries: Integer,
data/sig/resource.rbs CHANGED
@@ -28,6 +28,7 @@ module Aws
28
28
  ?correct_clock_skew: bool,
29
29
  ?defaults_mode: String,
30
30
  ?disable_host_prefix_injection: bool,
31
+ ?disable_queue_url_region_detection: bool,
31
32
  ?disable_request_compression: bool,
32
33
  ?endpoint: String,
33
34
  ?endpoint_cache_max_entries: Integer,
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-sqs
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.110.0
4
+ version: 1.111.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services