aws-sdk-sqs 1.53.0 → 1.55.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 +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-sqs/client.rb +10 -10
- data/lib/aws-sdk-sqs/endpoint_provider.rb +29 -26
- data/lib/aws-sdk-sqs/queue.rb +3 -3
- data/lib/aws-sdk-sqs/resource.rb +3 -3
- data/lib/aws-sdk-sqs/types.rb +9 -9
- data/lib/aws-sdk-sqs.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 05c5cfff9a8da4fa4d54569b3a844e07cd3d96ffffb11e177d8a9707dfff149a
|
4
|
+
data.tar.gz: 9850e849bb7af9b574824ffd7632271c6005bc4f76f181c4bf778ce2299726fa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5f152fa6d92905b66cdb7a3467dc5a5586934061000f4ed1d50a838f7cfe807a9cf56ff6959bdb33bba58733d8432adc11ceba4f9ae069f9f17581656186384e
|
7
|
+
data.tar.gz: 0cdb958b2d8b93b17aa9da2a2f6336176b68f912aa348807692aee3f9744a1f61f7f050221f0f449579086142f84f116b8a85cc8f5c57c99aab0706c35f6117c
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.55.0 (2023-05-05)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Revert previous SQS protocol change.
|
8
|
+
|
9
|
+
1.54.0 (2023-05-04)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - This release enables customers to call SQS using AWS JSON-1.0 protocol.
|
13
|
+
|
4
14
|
1.53.0 (2023-01-18)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.55.0
|
data/lib/aws-sdk-sqs/client.rb
CHANGED
@@ -770,7 +770,7 @@ module Aws::SQS
|
|
770
770
|
# Default: 30. For more information about the visibility timeout, see
|
771
771
|
# [Visibility Timeout][3] in the *Amazon SQS Developer Guide*.
|
772
772
|
#
|
773
|
-
# The following attributes apply only to [server-side-encryption][4]
|
773
|
+
# The following attributes apply only to [server-side-encryption][4]:
|
774
774
|
#
|
775
775
|
# * `KmsMasterKeyId` – The ID of an Amazon Web Services managed customer
|
776
776
|
# master key (CMK) for Amazon SQS or a custom CMK. For more
|
@@ -794,7 +794,7 @@ module Aws::SQS
|
|
794
794
|
# supported per queue (e.g. [SSE-KMS][9] or [SSE-SQS][10]).
|
795
795
|
#
|
796
796
|
# The following attributes apply only to [FIFO (first-in-first-out)
|
797
|
-
# queues][11]
|
797
|
+
# queues][11]:
|
798
798
|
#
|
799
799
|
# * `FifoQueue` – Designates a queue as FIFO. Valid values are `true`
|
800
800
|
# and `false`. If you don't specify the `FifoQueue` attribute, Amazon
|
@@ -840,7 +840,7 @@ module Aws::SQS
|
|
840
840
|
# duplicates and only one copy of the message is delivered.
|
841
841
|
#
|
842
842
|
# The following attributes apply only to [high throughput for FIFO
|
843
|
-
# queues][14]
|
843
|
+
# queues][14]:
|
844
844
|
#
|
845
845
|
# * `DeduplicationScope` – Specifies whether message deduplication
|
846
846
|
# occurs at the message group or queue level. Valid values are
|
@@ -1199,7 +1199,7 @@ module Aws::SQS
|
|
1199
1199
|
# For more information about the visibility timeout, see [Visibility
|
1200
1200
|
# Timeout][3] in the *Amazon SQS Developer Guide*.
|
1201
1201
|
#
|
1202
|
-
# The following attributes apply only to [server-side-encryption][4]
|
1202
|
+
# The following attributes apply only to [server-side-encryption][4]:
|
1203
1203
|
#
|
1204
1204
|
# * `KmsMasterKeyId` – Returns the ID of an Amazon Web Services managed
|
1205
1205
|
# customer master key (CMK) for Amazon SQS or a custom CMK. For more
|
@@ -1216,7 +1216,7 @@ module Aws::SQS
|
|
1216
1216
|
# [SSE-KMS][7] or [SSE-SQS][8]).
|
1217
1217
|
#
|
1218
1218
|
# The following attributes apply only to [FIFO (first-in-first-out)
|
1219
|
-
# queues][9]
|
1219
|
+
# queues][9]:
|
1220
1220
|
#
|
1221
1221
|
# * `FifoQueue` – Returns information about whether the queue is FIFO.
|
1222
1222
|
# For more information, see [FIFO queue logic][10] in the *Amazon SQS
|
@@ -1232,7 +1232,7 @@ module Aws::SQS
|
|
1232
1232
|
# [Exactly-once processing][11] in the *Amazon SQS Developer Guide*.
|
1233
1233
|
#
|
1234
1234
|
# The following attributes apply only to [high throughput for FIFO
|
1235
|
-
# queues][12]
|
1235
|
+
# queues][12]:
|
1236
1236
|
#
|
1237
1237
|
# * `DeduplicationScope` – Specifies whether message deduplication
|
1238
1238
|
# occurs at the message group or queue level. Valid values are
|
@@ -2274,7 +2274,7 @@ module Aws::SQS
|
|
2274
2274
|
# Default: 30. For more information about the visibility timeout, see
|
2275
2275
|
# [Visibility Timeout][3] in the *Amazon SQS Developer Guide*.
|
2276
2276
|
#
|
2277
|
-
# The following attributes apply only to [server-side-encryption][4]
|
2277
|
+
# The following attributes apply only to [server-side-encryption][4]:
|
2278
2278
|
#
|
2279
2279
|
# * `KmsMasterKeyId` – The ID of an Amazon Web Services managed customer
|
2280
2280
|
# master key (CMK) for Amazon SQS or a custom CMK. For more
|
@@ -2297,7 +2297,7 @@ module Aws::SQS
|
|
2297
2297
|
# supported per queue (e.g. [SSE-KMS][9] or [SSE-SQS][10]).
|
2298
2298
|
#
|
2299
2299
|
# The following attribute applies only to [FIFO (first-in-first-out)
|
2300
|
-
# queues][11]
|
2300
|
+
# queues][11]:
|
2301
2301
|
#
|
2302
2302
|
# * `ContentBasedDeduplication` – Enables content-based deduplication.
|
2303
2303
|
# For more information, see [Exactly-once processing][12] in the
|
@@ -2332,7 +2332,7 @@ module Aws::SQS
|
|
2332
2332
|
# duplicates and only one copy of the message is delivered.
|
2333
2333
|
#
|
2334
2334
|
# The following attributes apply only to [high throughput for FIFO
|
2335
|
-
# queues][13]
|
2335
|
+
# queues][13]:
|
2336
2336
|
#
|
2337
2337
|
# * `DeduplicationScope` – Specifies whether message deduplication
|
2338
2338
|
# occurs at the message group or queue level. Valid values are
|
@@ -2503,7 +2503,7 @@ module Aws::SQS
|
|
2503
2503
|
params: params,
|
2504
2504
|
config: config)
|
2505
2505
|
context[:gem_name] = 'aws-sdk-sqs'
|
2506
|
-
context[:gem_version] = '1.
|
2506
|
+
context[:gem_version] = '1.55.0'
|
2507
2507
|
Seahorse::Client::Request.new(handlers, context)
|
2508
2508
|
end
|
2509
2509
|
|
@@ -14,39 +14,42 @@ module Aws::SQS
|
|
14
14
|
use_dual_stack = parameters.use_dual_stack
|
15
15
|
use_fips = parameters.use_fips
|
16
16
|
endpoint = parameters.endpoint
|
17
|
-
if
|
18
|
-
if Aws::Endpoints::Matchers.
|
19
|
-
|
20
|
-
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
21
|
-
end
|
22
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
23
|
-
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
24
|
-
end
|
25
|
-
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
17
|
+
if Aws::Endpoints::Matchers.set?(endpoint)
|
18
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
19
|
+
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
26
20
|
end
|
27
|
-
if Aws::Endpoints::Matchers.boolean_equals?(
|
28
|
-
|
29
|
-
return Aws::Endpoints::Endpoint.new(url: "https://sqs-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
30
|
-
end
|
31
|
-
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
21
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
22
|
+
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
32
23
|
end
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
24
|
+
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
25
|
+
end
|
26
|
+
if Aws::Endpoints::Matchers.set?(region)
|
27
|
+
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
28
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
29
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
30
|
+
return Aws::Endpoints::Endpoint.new(url: "https://sqs-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
37
31
|
end
|
38
|
-
|
32
|
+
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
39
33
|
end
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
34
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
35
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
36
|
+
if Aws::Endpoints::Matchers.string_equals?("aws-us-gov", Aws::Endpoints::Matchers.attr(partition_result, "name"))
|
37
|
+
return Aws::Endpoints::Endpoint.new(url: "https://sqs.#{region}.amazonaws.com", headers: {}, properties: {})
|
38
|
+
end
|
39
|
+
return Aws::Endpoints::Endpoint.new(url: "https://sqs-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
40
|
+
end
|
41
|
+
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
42
|
+
end
|
43
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
44
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
45
|
+
return Aws::Endpoints::Endpoint.new(url: "https://sqs.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
46
|
+
end
|
47
|
+
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
45
48
|
end
|
46
|
-
|
49
|
+
return Aws::Endpoints::Endpoint.new(url: "https://sqs.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
47
50
|
end
|
48
|
-
return Aws::Endpoints::Endpoint.new(url: "https://sqs.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
49
51
|
end
|
52
|
+
raise ArgumentError, "Invalid Configuration: Missing Region"
|
50
53
|
raise ArgumentError, 'No endpoint could be resolved'
|
51
54
|
|
52
55
|
end
|
data/lib/aws-sdk-sqs/queue.rb
CHANGED
@@ -663,7 +663,7 @@ module Aws::SQS
|
|
663
663
|
# Default: 30. For more information about the visibility timeout, see
|
664
664
|
# [Visibility Timeout][3] in the *Amazon SQS Developer Guide*.
|
665
665
|
#
|
666
|
-
# The following attributes apply only to [server-side-encryption][4]
|
666
|
+
# The following attributes apply only to [server-side-encryption][4]:
|
667
667
|
#
|
668
668
|
# * `KmsMasterKeyId` – The ID of an Amazon Web Services managed customer
|
669
669
|
# master key (CMK) for Amazon SQS or a custom CMK. For more
|
@@ -686,7 +686,7 @@ module Aws::SQS
|
|
686
686
|
# supported per queue (e.g. [SSE-KMS][9] or [SSE-SQS][10]).
|
687
687
|
#
|
688
688
|
# The following attribute applies only to [FIFO (first-in-first-out)
|
689
|
-
# queues][11]
|
689
|
+
# queues][11]:
|
690
690
|
#
|
691
691
|
# * `ContentBasedDeduplication` – Enables content-based deduplication.
|
692
692
|
# For more information, see [Exactly-once processing][12] in the
|
@@ -721,7 +721,7 @@ module Aws::SQS
|
|
721
721
|
# duplicates and only one copy of the message is delivered.
|
722
722
|
#
|
723
723
|
# The following attributes apply only to [high throughput for FIFO
|
724
|
-
# queues][13]
|
724
|
+
# queues][13]:
|
725
725
|
#
|
726
726
|
# * `DeduplicationScope` – Specifies whether message deduplication
|
727
727
|
# occurs at the message group or queue level. Valid values are
|
data/lib/aws-sdk-sqs/resource.rb
CHANGED
@@ -112,7 +112,7 @@ module Aws::SQS
|
|
112
112
|
# Default: 30. For more information about the visibility timeout, see
|
113
113
|
# [Visibility Timeout][3] in the *Amazon SQS Developer Guide*.
|
114
114
|
#
|
115
|
-
# The following attributes apply only to [server-side-encryption][4]
|
115
|
+
# The following attributes apply only to [server-side-encryption][4]:
|
116
116
|
#
|
117
117
|
# * `KmsMasterKeyId` – The ID of an Amazon Web Services managed customer
|
118
118
|
# master key (CMK) for Amazon SQS or a custom CMK. For more
|
@@ -136,7 +136,7 @@ module Aws::SQS
|
|
136
136
|
# supported per queue (e.g. [SSE-KMS][9] or [SSE-SQS][10]).
|
137
137
|
#
|
138
138
|
# The following attributes apply only to [FIFO (first-in-first-out)
|
139
|
-
# queues][11]
|
139
|
+
# queues][11]:
|
140
140
|
#
|
141
141
|
# * `FifoQueue` – Designates a queue as FIFO. Valid values are `true`
|
142
142
|
# and `false`. If you don't specify the `FifoQueue` attribute, Amazon
|
@@ -182,7 +182,7 @@ module Aws::SQS
|
|
182
182
|
# duplicates and only one copy of the message is delivered.
|
183
183
|
#
|
184
184
|
# The following attributes apply only to [high throughput for FIFO
|
185
|
-
# queues][14]
|
185
|
+
# queues][14]:
|
186
186
|
#
|
187
187
|
# * `DeduplicationScope` – Specifies whether message deduplication
|
188
188
|
# occurs at the message group or queue level. Valid values are
|
data/lib/aws-sdk-sqs/types.rb
CHANGED
@@ -308,7 +308,7 @@ module Aws::SQS
|
|
308
308
|
# Default: 30. For more information about the visibility timeout,
|
309
309
|
# see [Visibility Timeout][3] in the *Amazon SQS Developer Guide*.
|
310
310
|
#
|
311
|
-
# The following attributes apply only to [server-side-encryption][4]
|
311
|
+
# The following attributes apply only to [server-side-encryption][4]:
|
312
312
|
#
|
313
313
|
# * `KmsMasterKeyId` – The ID of an Amazon Web Services managed
|
314
314
|
# customer master key (CMK) for Amazon SQS or a custom CMK. For more
|
@@ -333,7 +333,7 @@ module Aws::SQS
|
|
333
333
|
# [SSE-SQS][10]).
|
334
334
|
#
|
335
335
|
# The following attributes apply only to [FIFO (first-in-first-out)
|
336
|
-
# queues][11]
|
336
|
+
# queues][11]:
|
337
337
|
#
|
338
338
|
# * `FifoQueue` – Designates a queue as FIFO. Valid values are `true`
|
339
339
|
# and `false`. If you don't specify the `FifoQueue` attribute,
|
@@ -379,7 +379,7 @@ module Aws::SQS
|
|
379
379
|
# duplicates and only one copy of the message is delivered.
|
380
380
|
#
|
381
381
|
# The following attributes apply only to [high throughput for FIFO
|
382
|
-
# queues][14]
|
382
|
+
# queues][14]:
|
383
383
|
#
|
384
384
|
# * `DeduplicationScope` – Specifies whether message deduplication
|
385
385
|
# occurs at the message group or queue level. Valid values are
|
@@ -693,7 +693,7 @@ module Aws::SQS
|
|
693
693
|
# queue. For more information about the visibility timeout, see
|
694
694
|
# [Visibility Timeout][3] in the *Amazon SQS Developer Guide*.
|
695
695
|
#
|
696
|
-
# The following attributes apply only to [server-side-encryption][4]
|
696
|
+
# The following attributes apply only to [server-side-encryption][4]:
|
697
697
|
#
|
698
698
|
# * `KmsMasterKeyId` – Returns the ID of an Amazon Web Services
|
699
699
|
# managed customer master key (CMK) for Amazon SQS or a custom CMK.
|
@@ -710,7 +710,7 @@ module Aws::SQS
|
|
710
710
|
# (e.g. [SSE-KMS][7] or [SSE-SQS][8]).
|
711
711
|
#
|
712
712
|
# The following attributes apply only to [FIFO (first-in-first-out)
|
713
|
-
# queues][9]
|
713
|
+
# queues][9]:
|
714
714
|
#
|
715
715
|
# * `FifoQueue` – Returns information about whether the queue is FIFO.
|
716
716
|
# For more information, see [FIFO queue logic][10] in the *Amazon
|
@@ -726,7 +726,7 @@ module Aws::SQS
|
|
726
726
|
# [Exactly-once processing][11] in the *Amazon SQS Developer Guide*.
|
727
727
|
#
|
728
728
|
# The following attributes apply only to [high throughput for FIFO
|
729
|
-
# queues][12]
|
729
|
+
# queues][12]:
|
730
730
|
#
|
731
731
|
# * `DeduplicationScope` – Specifies whether message deduplication
|
732
732
|
# occurs at the message group or queue level. Valid values are
|
@@ -2044,7 +2044,7 @@ module Aws::SQS
|
|
2044
2044
|
# Default: 30. For more information about the visibility timeout,
|
2045
2045
|
# see [Visibility Timeout][3] in the *Amazon SQS Developer Guide*.
|
2046
2046
|
#
|
2047
|
-
# The following attributes apply only to [server-side-encryption][4]
|
2047
|
+
# The following attributes apply only to [server-side-encryption][4]:
|
2048
2048
|
#
|
2049
2049
|
# * `KmsMasterKeyId` – The ID of an Amazon Web Services managed
|
2050
2050
|
# customer master key (CMK) for Amazon SQS or a custom CMK. For more
|
@@ -2069,7 +2069,7 @@ module Aws::SQS
|
|
2069
2069
|
# [SSE-SQS][10]).
|
2070
2070
|
#
|
2071
2071
|
# The following attribute applies only to [FIFO (first-in-first-out)
|
2072
|
-
# queues][11]
|
2072
|
+
# queues][11]:
|
2073
2073
|
#
|
2074
2074
|
# * `ContentBasedDeduplication` – Enables content-based deduplication.
|
2075
2075
|
# For more information, see [Exactly-once processing][12] in the
|
@@ -2104,7 +2104,7 @@ module Aws::SQS
|
|
2104
2104
|
# duplicates and only one copy of the message is delivered.
|
2105
2105
|
#
|
2106
2106
|
# The following attributes apply only to [high throughput for FIFO
|
2107
|
-
# queues][13]
|
2107
|
+
# queues][13]:
|
2108
2108
|
#
|
2109
2109
|
# * `DeduplicationScope` – Specifies whether message deduplication
|
2110
2110
|
# occurs at the message group or queue level. Valid values are
|
data/lib/aws-sdk-sqs.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-sqs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.55.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: 2023-
|
11
|
+
date: 2023-05-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|