aws-sdk-sqs 1.38.0 → 1.39.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-sqs.rb +1 -1
- data/lib/aws-sdk-sqs/client.rb +34 -88
- data/lib/aws-sdk-sqs/queue.rb +11 -29
- data/lib/aws-sdk-sqs/resource.rb +11 -29
- data/lib/aws-sdk-sqs/types.rb +36 -90
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 54d7391153d44ce16fb9914dc31ea3ebbf91acf0f3792c3cf26aed4d0299b7c8
|
4
|
+
data.tar.gz: 6b05050194d4c64409d90139d3faf787def5e2bc4fac9f674e27bc8e4a5fb007
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ab084e79b071aea5c2b529d97c38e49ae20ebb6b9523172db948593d662b4ed4820331598537975e2aff4bc3088c8d572fd3ab82be36a5e9a1e62f8d62502f25
|
7
|
+
data.tar.gz: 7510f3dfd38bb682d6a987881b83a0f766483a80a20dc14ef37226d9a26785f49cee7fcbe58abf2ee174e981604126e13f3b080103cf1d136431120f83dabf3c
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.39.0
|
data/lib/aws-sdk-sqs.rb
CHANGED
data/lib/aws-sdk-sqs/client.rb
CHANGED
@@ -759,12 +759,12 @@ module Aws::SQS
|
|
759
759
|
# When you set this attribute, you must also provide the
|
760
760
|
# `MessageGroupId` for your messages explicitly.
|
761
761
|
#
|
762
|
-
# For more information, see [FIFO
|
762
|
+
# For more information, see [FIFO queue logic][10] in the *Amazon
|
763
763
|
# Simple Queue Service Developer Guide*.
|
764
764
|
#
|
765
765
|
# * `ContentBasedDeduplication` – Enables content-based deduplication.
|
766
766
|
# Valid values are `true` and `false`. For more information, see
|
767
|
-
# [Exactly-
|
767
|
+
# [Exactly-once processing][11] in the *Amazon Simple Queue Service
|
768
768
|
# Developer Guide*. Note the following:
|
769
769
|
#
|
770
770
|
# * Every message must have a unique `MessageDeduplicationId`.
|
@@ -795,15 +795,8 @@ module Aws::SQS
|
|
795
795
|
# `MessageDeduplicationId`, the two messages are treated as
|
796
796
|
# duplicates and only one copy of the message is delivered.
|
797
797
|
#
|
798
|
-
#
|
799
|
-
#
|
800
|
-
# **High throughput for Amazon SQS FIFO queues is in preview release and
|
801
|
-
# is subject to change.** This feature provides a high number of
|
802
|
-
# transactions per second (TPS) for messages in FIFO queues. For
|
803
|
-
# information on throughput quotas, see [Quotas related to messages][12]
|
804
|
-
# in the *Amazon Simple Queue Service Developer Guide*.
|
805
|
-
#
|
806
|
-
# This preview includes two new attributes:
|
798
|
+
# The following attributes apply only to [high throughput for FIFO
|
799
|
+
# queues][12]\:
|
807
800
|
#
|
808
801
|
# * `DeduplicationScope` – Specifies whether message deduplication
|
809
802
|
# occurs at the message group or queue level. Valid values are
|
@@ -822,22 +815,11 @@ module Aws::SQS
|
|
822
815
|
# * Set `FifoThroughputLimit` to `perMessageGroupId`.
|
823
816
|
#
|
824
817
|
# If you set these attributes to anything other than the values shown
|
825
|
-
# for enabling high throughput,
|
818
|
+
# for enabling high throughput, normal throughput is in effect and
|
826
819
|
# deduplication occurs as specified.
|
827
820
|
#
|
828
|
-
#
|
829
|
-
#
|
830
|
-
# * US East (Ohio); us-east-2
|
831
|
-
#
|
832
|
-
# * US East (N. Virginia); us-east-1
|
833
|
-
#
|
834
|
-
# * US West (Oregon); us-west-2
|
835
|
-
#
|
836
|
-
# * Europe (Ireland); eu-west-1
|
837
|
-
#
|
838
|
-
# For more information about high throughput for FIFO queues, see
|
839
|
-
# [Preview: High throughput for FIFO queues][13] in the *Amazon Simple
|
840
|
-
# Queue Service Developer Guide*.
|
821
|
+
# For information on throughput quotas, see [Quotas related to
|
822
|
+
# messages][13] in the *Amazon Simple Queue Service Developer Guide*.
|
841
823
|
#
|
842
824
|
#
|
843
825
|
#
|
@@ -850,10 +832,10 @@ module Aws::SQS
|
|
850
832
|
# [7]: https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#data-keys
|
851
833
|
# [8]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html#sqs-how-does-the-data-key-reuse-period-work
|
852
834
|
# [9]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html
|
853
|
-
# [10]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues
|
854
|
-
# [11]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues
|
855
|
-
# [12]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/
|
856
|
-
# [13]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/
|
835
|
+
# [10]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues-understanding-logic.html
|
836
|
+
# [11]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues-exactly-once-processing.html
|
837
|
+
# [12]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/high-throughput-fifo.html
|
838
|
+
# [13]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/quotas-messages.html
|
857
839
|
#
|
858
840
|
# @option params [Hash<String,String>] :tags
|
859
841
|
# Add cost allocation tags to the specified Amazon SQS queue. For an
|
@@ -1183,7 +1165,7 @@ module Aws::SQS
|
|
1183
1165
|
# queues][7]\:
|
1184
1166
|
#
|
1185
1167
|
# * `FifoQueue` – Returns information about whether the queue is FIFO.
|
1186
|
-
# For more information, see [FIFO
|
1168
|
+
# For more information, see [FIFO queue logic][8] in the *Amazon
|
1187
1169
|
# Simple Queue Service Developer Guide*.
|
1188
1170
|
#
|
1189
1171
|
# <note markdown="1"> To determine whether a queue is [FIFO][7], you can check whether
|
@@ -1193,18 +1175,11 @@ module Aws::SQS
|
|
1193
1175
|
#
|
1194
1176
|
# * `ContentBasedDeduplication` – Returns whether content-based
|
1195
1177
|
# deduplication is enabled for the queue. For more information, see
|
1196
|
-
# [Exactly-
|
1178
|
+
# [Exactly-once processing][9] in the *Amazon Simple Queue Service
|
1197
1179
|
# Developer Guide*.
|
1198
1180
|
#
|
1199
|
-
#
|
1200
|
-
#
|
1201
|
-
# **High throughput for Amazon SQS FIFO queues is in preview release and
|
1202
|
-
# is subject to change.** This feature provides a high number of
|
1203
|
-
# transactions per second (TPS) for messages in FIFO queues. For
|
1204
|
-
# information on throughput quotas, see [Quotas related to messages][10]
|
1205
|
-
# in the *Amazon Simple Queue Service Developer Guide*.
|
1206
|
-
#
|
1207
|
-
# This preview includes two new attributes:
|
1181
|
+
# The following attributes apply only to [high throughput for FIFO
|
1182
|
+
# queues][10]\:
|
1208
1183
|
#
|
1209
1184
|
# * `DeduplicationScope` – Specifies whether message deduplication
|
1210
1185
|
# occurs at the message group or queue level. Valid values are
|
@@ -1223,22 +1198,11 @@ module Aws::SQS
|
|
1223
1198
|
# * Set `FifoThroughputLimit` to `perMessageGroupId`.
|
1224
1199
|
#
|
1225
1200
|
# If you set these attributes to anything other than the values shown
|
1226
|
-
# for enabling high throughput,
|
1201
|
+
# for enabling high throughput, normal throughput is in effect and
|
1227
1202
|
# deduplication occurs as specified.
|
1228
1203
|
#
|
1229
|
-
#
|
1230
|
-
#
|
1231
|
-
# * US East (Ohio); us-east-2
|
1232
|
-
#
|
1233
|
-
# * US East (N. Virginia); us-east-1
|
1234
|
-
#
|
1235
|
-
# * US West (Oregon); us-west-2
|
1236
|
-
#
|
1237
|
-
# * Europe (Ireland); eu-west-1
|
1238
|
-
#
|
1239
|
-
# For more information about high throughput for FIFO queues, see
|
1240
|
-
# [Preview: High throughput for FIFO queues][11] in the *Amazon Simple
|
1241
|
-
# Queue Service Developer Guide*.
|
1204
|
+
# For information on throughput quotas, see [Quotas related to
|
1205
|
+
# messages][11] in the *Amazon Simple Queue Service Developer Guide*.
|
1242
1206
|
#
|
1243
1207
|
#
|
1244
1208
|
#
|
@@ -1249,10 +1213,10 @@ module Aws::SQS
|
|
1249
1213
|
# [5]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html#sqs-sse-key-terms
|
1250
1214
|
# [6]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html#sqs-how-does-the-data-key-reuse-period-work
|
1251
1215
|
# [7]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html
|
1252
|
-
# [8]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues
|
1253
|
-
# [9]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues
|
1254
|
-
# [10]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/
|
1255
|
-
# [11]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/
|
1216
|
+
# [8]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues-understanding-logic.html
|
1217
|
+
# [9]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues-exactly-once-processing.html
|
1218
|
+
# [10]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/high-throughput-fifo.html
|
1219
|
+
# [11]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/quotas-messages.html
|
1256
1220
|
#
|
1257
1221
|
# @return [Types::GetQueueAttributesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1258
1222
|
#
|
@@ -1917,7 +1881,7 @@ module Aws::SQS
|
|
1917
1881
|
# particular `MessageDeduplicationId` is sent successfully, any messages
|
1918
1882
|
# sent with the same `MessageDeduplicationId` are accepted successfully
|
1919
1883
|
# but aren't delivered during the 5-minute deduplication interval. For
|
1920
|
-
# more information, see [ Exactly-
|
1884
|
+
# more information, see [ Exactly-once processing][1] in the *Amazon
|
1921
1885
|
# Simple Queue Service Developer Guide*.
|
1922
1886
|
#
|
1923
1887
|
# * Every message must have a unique `MessageDeduplicationId`,
|
@@ -1969,7 +1933,7 @@ module Aws::SQS
|
|
1969
1933
|
#
|
1970
1934
|
#
|
1971
1935
|
#
|
1972
|
-
# [1]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues
|
1936
|
+
# [1]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues-exactly-once-processing.html
|
1973
1937
|
# [2]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/using-messagededuplicationid-property.html
|
1974
1938
|
#
|
1975
1939
|
# @option params [String] :message_group_id
|
@@ -2272,7 +2236,7 @@ module Aws::SQS
|
|
2272
2236
|
# queues][9]\:
|
2273
2237
|
#
|
2274
2238
|
# * `ContentBasedDeduplication` – Enables content-based deduplication.
|
2275
|
-
# For more information, see [Exactly-
|
2239
|
+
# For more information, see [Exactly-once processing][10] in the
|
2276
2240
|
# *Amazon Simple Queue Service Developer Guide*. Note the following:
|
2277
2241
|
#
|
2278
2242
|
# * Every message must have a unique `MessageDeduplicationId`.
|
@@ -2303,15 +2267,8 @@ module Aws::SQS
|
|
2303
2267
|
# `MessageDeduplicationId`, the two messages are treated as
|
2304
2268
|
# duplicates and only one copy of the message is delivered.
|
2305
2269
|
#
|
2306
|
-
#
|
2307
|
-
#
|
2308
|
-
# **High throughput for Amazon SQS FIFO queues is in preview release and
|
2309
|
-
# is subject to change.** This feature provides a high number of
|
2310
|
-
# transactions per second (TPS) for messages in FIFO queues. For
|
2311
|
-
# information on throughput quotas, see [Quotas related to messages][11]
|
2312
|
-
# in the *Amazon Simple Queue Service Developer Guide*.
|
2313
|
-
#
|
2314
|
-
# This preview includes two new attributes:
|
2270
|
+
# The following attributes apply only to [high throughput for FIFO
|
2271
|
+
# queues][11]\:
|
2315
2272
|
#
|
2316
2273
|
# * `DeduplicationScope` – Specifies whether message deduplication
|
2317
2274
|
# occurs at the message group or queue level. Valid values are
|
@@ -2330,22 +2287,11 @@ module Aws::SQS
|
|
2330
2287
|
# * Set `FifoThroughputLimit` to `perMessageGroupId`.
|
2331
2288
|
#
|
2332
2289
|
# If you set these attributes to anything other than the values shown
|
2333
|
-
# for enabling high throughput,
|
2290
|
+
# for enabling high throughput, normal throughput is in effect and
|
2334
2291
|
# deduplication occurs as specified.
|
2335
2292
|
#
|
2336
|
-
#
|
2337
|
-
#
|
2338
|
-
# * US East (Ohio); us-east-2
|
2339
|
-
#
|
2340
|
-
# * US East (N. Virginia); us-east-1
|
2341
|
-
#
|
2342
|
-
# * US West (Oregon); us-west-2
|
2343
|
-
#
|
2344
|
-
# * Europe (Ireland); eu-west-1
|
2345
|
-
#
|
2346
|
-
# For more information about high throughput for FIFO queues, see
|
2347
|
-
# [Preview: High throughput for FIFO queues][12] in the *Amazon Simple
|
2348
|
-
# Queue Service Developer Guide*.
|
2293
|
+
# For information on throughput quotas, see [Quotas related to
|
2294
|
+
# messages][12] in the *Amazon Simple Queue Service Developer Guide*.
|
2349
2295
|
#
|
2350
2296
|
#
|
2351
2297
|
#
|
@@ -2358,9 +2304,9 @@ module Aws::SQS
|
|
2358
2304
|
# [7]: https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#data-keys
|
2359
2305
|
# [8]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html#sqs-how-does-the-data-key-reuse-period-work
|
2360
2306
|
# [9]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html
|
2361
|
-
# [10]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues
|
2362
|
-
# [11]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/
|
2363
|
-
# [12]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/
|
2307
|
+
# [10]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues-exactly-once-processing.html
|
2308
|
+
# [11]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/high-throughput-fifo.html
|
2309
|
+
# [12]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/quotas-messages.html
|
2364
2310
|
#
|
2365
2311
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2366
2312
|
#
|
@@ -2491,7 +2437,7 @@ module Aws::SQS
|
|
2491
2437
|
params: params,
|
2492
2438
|
config: config)
|
2493
2439
|
context[:gem_name] = 'aws-sdk-sqs'
|
2494
|
-
context[:gem_version] = '1.
|
2440
|
+
context[:gem_version] = '1.39.0'
|
2495
2441
|
Seahorse::Client::Request.new(handlers, context)
|
2496
2442
|
end
|
2497
2443
|
|
data/lib/aws-sdk-sqs/queue.rb
CHANGED
@@ -461,7 +461,7 @@ module Aws::SQS
|
|
461
461
|
# particular `MessageDeduplicationId` is sent successfully, any messages
|
462
462
|
# sent with the same `MessageDeduplicationId` are accepted successfully
|
463
463
|
# but aren't delivered during the 5-minute deduplication interval. For
|
464
|
-
# more information, see [ Exactly-
|
464
|
+
# more information, see [ Exactly-once processing][1] in the *Amazon
|
465
465
|
# Simple Queue Service Developer Guide*.
|
466
466
|
#
|
467
467
|
# * Every message must have a unique `MessageDeduplicationId`,
|
@@ -513,7 +513,7 @@ module Aws::SQS
|
|
513
513
|
#
|
514
514
|
#
|
515
515
|
#
|
516
|
-
# [1]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues
|
516
|
+
# [1]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues-exactly-once-processing.html
|
517
517
|
# [2]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/using-messagededuplicationid-property.html
|
518
518
|
# @option options [String] :message_group_id
|
519
519
|
# This parameter applies only to FIFO (first-in-first-out) queues.
|
@@ -681,7 +681,7 @@ module Aws::SQS
|
|
681
681
|
# queues][9]\:
|
682
682
|
#
|
683
683
|
# * `ContentBasedDeduplication` – Enables content-based deduplication.
|
684
|
-
# For more information, see [Exactly-
|
684
|
+
# For more information, see [Exactly-once processing][10] in the
|
685
685
|
# *Amazon Simple Queue Service Developer Guide*. Note the following:
|
686
686
|
#
|
687
687
|
# * Every message must have a unique `MessageDeduplicationId`.
|
@@ -712,15 +712,8 @@ module Aws::SQS
|
|
712
712
|
# `MessageDeduplicationId`, the two messages are treated as
|
713
713
|
# duplicates and only one copy of the message is delivered.
|
714
714
|
#
|
715
|
-
#
|
716
|
-
#
|
717
|
-
# **High throughput for Amazon SQS FIFO queues is in preview release and
|
718
|
-
# is subject to change.** This feature provides a high number of
|
719
|
-
# transactions per second (TPS) for messages in FIFO queues. For
|
720
|
-
# information on throughput quotas, see [Quotas related to messages][11]
|
721
|
-
# in the *Amazon Simple Queue Service Developer Guide*.
|
722
|
-
#
|
723
|
-
# This preview includes two new attributes:
|
715
|
+
# The following attributes apply only to [high throughput for FIFO
|
716
|
+
# queues][11]\:
|
724
717
|
#
|
725
718
|
# * `DeduplicationScope` – Specifies whether message deduplication
|
726
719
|
# occurs at the message group or queue level. Valid values are
|
@@ -739,22 +732,11 @@ module Aws::SQS
|
|
739
732
|
# * Set `FifoThroughputLimit` to `perMessageGroupId`.
|
740
733
|
#
|
741
734
|
# If you set these attributes to anything other than the values shown
|
742
|
-
# for enabling high throughput,
|
735
|
+
# for enabling high throughput, normal throughput is in effect and
|
743
736
|
# deduplication occurs as specified.
|
744
737
|
#
|
745
|
-
#
|
746
|
-
#
|
747
|
-
# * US East (Ohio); us-east-2
|
748
|
-
#
|
749
|
-
# * US East (N. Virginia); us-east-1
|
750
|
-
#
|
751
|
-
# * US West (Oregon); us-west-2
|
752
|
-
#
|
753
|
-
# * Europe (Ireland); eu-west-1
|
754
|
-
#
|
755
|
-
# For more information about high throughput for FIFO queues, see
|
756
|
-
# [Preview: High throughput for FIFO queues][12] in the *Amazon Simple
|
757
|
-
# Queue Service Developer Guide*.
|
738
|
+
# For information on throughput quotas, see [Quotas related to
|
739
|
+
# messages][12] in the *Amazon Simple Queue Service Developer Guide*.
|
758
740
|
#
|
759
741
|
#
|
760
742
|
#
|
@@ -767,9 +749,9 @@ module Aws::SQS
|
|
767
749
|
# [7]: https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#data-keys
|
768
750
|
# [8]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html#sqs-how-does-the-data-key-reuse-period-work
|
769
751
|
# [9]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html
|
770
|
-
# [10]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues
|
771
|
-
# [11]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/
|
772
|
-
# [12]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/
|
752
|
+
# [10]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues-exactly-once-processing.html
|
753
|
+
# [11]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/high-throughput-fifo.html
|
754
|
+
# [12]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/quotas-messages.html
|
773
755
|
# @return [EmptyStructure]
|
774
756
|
def set_attributes(options = {})
|
775
757
|
options = options.merge(queue_url: @url)
|
data/lib/aws-sdk-sqs/resource.rb
CHANGED
@@ -141,12 +141,12 @@ module Aws::SQS
|
|
141
141
|
# When you set this attribute, you must also provide the
|
142
142
|
# `MessageGroupId` for your messages explicitly.
|
143
143
|
#
|
144
|
-
# For more information, see [FIFO
|
144
|
+
# For more information, see [FIFO queue logic][10] in the *Amazon
|
145
145
|
# Simple Queue Service Developer Guide*.
|
146
146
|
#
|
147
147
|
# * `ContentBasedDeduplication` – Enables content-based deduplication.
|
148
148
|
# Valid values are `true` and `false`. For more information, see
|
149
|
-
# [Exactly-
|
149
|
+
# [Exactly-once processing][11] in the *Amazon Simple Queue Service
|
150
150
|
# Developer Guide*. Note the following:
|
151
151
|
#
|
152
152
|
# * Every message must have a unique `MessageDeduplicationId`.
|
@@ -177,15 +177,8 @@ module Aws::SQS
|
|
177
177
|
# `MessageDeduplicationId`, the two messages are treated as
|
178
178
|
# duplicates and only one copy of the message is delivered.
|
179
179
|
#
|
180
|
-
#
|
181
|
-
#
|
182
|
-
# **High throughput for Amazon SQS FIFO queues is in preview release and
|
183
|
-
# is subject to change.** This feature provides a high number of
|
184
|
-
# transactions per second (TPS) for messages in FIFO queues. For
|
185
|
-
# information on throughput quotas, see [Quotas related to messages][12]
|
186
|
-
# in the *Amazon Simple Queue Service Developer Guide*.
|
187
|
-
#
|
188
|
-
# This preview includes two new attributes:
|
180
|
+
# The following attributes apply only to [high throughput for FIFO
|
181
|
+
# queues][12]\:
|
189
182
|
#
|
190
183
|
# * `DeduplicationScope` – Specifies whether message deduplication
|
191
184
|
# occurs at the message group or queue level. Valid values are
|
@@ -204,22 +197,11 @@ module Aws::SQS
|
|
204
197
|
# * Set `FifoThroughputLimit` to `perMessageGroupId`.
|
205
198
|
#
|
206
199
|
# If you set these attributes to anything other than the values shown
|
207
|
-
# for enabling high throughput,
|
200
|
+
# for enabling high throughput, normal throughput is in effect and
|
208
201
|
# deduplication occurs as specified.
|
209
202
|
#
|
210
|
-
#
|
211
|
-
#
|
212
|
-
# * US East (Ohio); us-east-2
|
213
|
-
#
|
214
|
-
# * US East (N. Virginia); us-east-1
|
215
|
-
#
|
216
|
-
# * US West (Oregon); us-west-2
|
217
|
-
#
|
218
|
-
# * Europe (Ireland); eu-west-1
|
219
|
-
#
|
220
|
-
# For more information about high throughput for FIFO queues, see
|
221
|
-
# [Preview: High throughput for FIFO queues][13] in the *Amazon Simple
|
222
|
-
# Queue Service Developer Guide*.
|
203
|
+
# For information on throughput quotas, see [Quotas related to
|
204
|
+
# messages][13] in the *Amazon Simple Queue Service Developer Guide*.
|
223
205
|
#
|
224
206
|
#
|
225
207
|
#
|
@@ -232,10 +214,10 @@ module Aws::SQS
|
|
232
214
|
# [7]: https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#data-keys
|
233
215
|
# [8]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html#sqs-how-does-the-data-key-reuse-period-work
|
234
216
|
# [9]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html
|
235
|
-
# [10]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues
|
236
|
-
# [11]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues
|
237
|
-
# [12]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/
|
238
|
-
# [13]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/
|
217
|
+
# [10]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues-understanding-logic.html
|
218
|
+
# [11]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues-exactly-once-processing.html
|
219
|
+
# [12]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/high-throughput-fifo.html
|
220
|
+
# [13]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/quotas-messages.html
|
239
221
|
# @option options [Hash<String,String>] :tags
|
240
222
|
# Add cost allocation tags to the specified Amazon SQS queue. For an
|
241
223
|
# overview, see [Tagging Your Amazon SQS Queues][1] in the *Amazon
|
data/lib/aws-sdk-sqs/types.rb
CHANGED
@@ -392,12 +392,12 @@ module Aws::SQS
|
|
392
392
|
# existing queue. When you set this attribute, you must also provide
|
393
393
|
# the `MessageGroupId` for your messages explicitly.
|
394
394
|
#
|
395
|
-
# For more information, see [FIFO
|
395
|
+
# For more information, see [FIFO queue logic][10] in the *Amazon
|
396
396
|
# Simple Queue Service Developer Guide*.
|
397
397
|
#
|
398
398
|
# * `ContentBasedDeduplication` – Enables content-based deduplication.
|
399
399
|
# Valid values are `true` and `false`. For more information, see
|
400
|
-
# [Exactly-
|
400
|
+
# [Exactly-once processing][11] in the *Amazon Simple Queue Service
|
401
401
|
# Developer Guide*. Note the following:
|
402
402
|
#
|
403
403
|
# * Every message must have a unique `MessageDeduplicationId`.
|
@@ -428,15 +428,8 @@ module Aws::SQS
|
|
428
428
|
# `MessageDeduplicationId`, the two messages are treated as
|
429
429
|
# duplicates and only one copy of the message is delivered.
|
430
430
|
#
|
431
|
-
#
|
432
|
-
#
|
433
|
-
# **High throughput for Amazon SQS FIFO queues is in preview release
|
434
|
-
# and is subject to change.** This feature provides a high number of
|
435
|
-
# transactions per second (TPS) for messages in FIFO queues. For
|
436
|
-
# information on throughput quotas, see [Quotas related to
|
437
|
-
# messages][12] in the *Amazon Simple Queue Service Developer Guide*.
|
438
|
-
#
|
439
|
-
# This preview includes two new attributes:
|
431
|
+
# The following attributes apply only to [high throughput for FIFO
|
432
|
+
# queues][12]\:
|
440
433
|
#
|
441
434
|
# * `DeduplicationScope` – Specifies whether message deduplication
|
442
435
|
# occurs at the message group or queue level. Valid values are
|
@@ -455,22 +448,11 @@ module Aws::SQS
|
|
455
448
|
# * Set `FifoThroughputLimit` to `perMessageGroupId`.
|
456
449
|
#
|
457
450
|
# If you set these attributes to anything other than the values shown
|
458
|
-
# for enabling high throughput,
|
451
|
+
# for enabling high throughput, normal throughput is in effect and
|
459
452
|
# deduplication occurs as specified.
|
460
453
|
#
|
461
|
-
#
|
462
|
-
#
|
463
|
-
# * US East (Ohio); us-east-2
|
464
|
-
#
|
465
|
-
# * US East (N. Virginia); us-east-1
|
466
|
-
#
|
467
|
-
# * US West (Oregon); us-west-2
|
468
|
-
#
|
469
|
-
# * Europe (Ireland); eu-west-1
|
470
|
-
#
|
471
|
-
# For more information about high throughput for FIFO queues, see
|
472
|
-
# [Preview: High throughput for FIFO queues][13] in the *Amazon Simple
|
473
|
-
# Queue Service Developer Guide*.
|
454
|
+
# For information on throughput quotas, see [Quotas related to
|
455
|
+
# messages][13] in the *Amazon Simple Queue Service Developer Guide*.
|
474
456
|
#
|
475
457
|
#
|
476
458
|
#
|
@@ -483,10 +465,10 @@ module Aws::SQS
|
|
483
465
|
# [7]: https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#data-keys
|
484
466
|
# [8]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html#sqs-how-does-the-data-key-reuse-period-work
|
485
467
|
# [9]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html
|
486
|
-
# [10]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues
|
487
|
-
# [11]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues
|
488
|
-
# [12]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/
|
489
|
-
# [13]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/
|
468
|
+
# [10]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues-understanding-logic.html
|
469
|
+
# [11]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues-exactly-once-processing.html
|
470
|
+
# [12]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/high-throughput-fifo.html
|
471
|
+
# [13]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/quotas-messages.html
|
490
472
|
# @return [Hash<String,String>]
|
491
473
|
#
|
492
474
|
# @!attribute [rw] tags
|
@@ -815,7 +797,7 @@ module Aws::SQS
|
|
815
797
|
# queues][7]\:
|
816
798
|
#
|
817
799
|
# * `FifoQueue` – Returns information about whether the queue is FIFO.
|
818
|
-
# For more information, see [FIFO
|
800
|
+
# For more information, see [FIFO queue logic][8] in the *Amazon
|
819
801
|
# Simple Queue Service Developer Guide*.
|
820
802
|
#
|
821
803
|
# <note markdown="1"> To determine whether a queue is [FIFO][7], you can check whether
|
@@ -825,18 +807,11 @@ module Aws::SQS
|
|
825
807
|
#
|
826
808
|
# * `ContentBasedDeduplication` – Returns whether content-based
|
827
809
|
# deduplication is enabled for the queue. For more information, see
|
828
|
-
# [Exactly-
|
810
|
+
# [Exactly-once processing][9] in the *Amazon Simple Queue Service
|
829
811
|
# Developer Guide*.
|
830
812
|
#
|
831
|
-
#
|
832
|
-
#
|
833
|
-
# **High throughput for Amazon SQS FIFO queues is in preview release
|
834
|
-
# and is subject to change.** This feature provides a high number of
|
835
|
-
# transactions per second (TPS) for messages in FIFO queues. For
|
836
|
-
# information on throughput quotas, see [Quotas related to
|
837
|
-
# messages][10] in the *Amazon Simple Queue Service Developer Guide*.
|
838
|
-
#
|
839
|
-
# This preview includes two new attributes:
|
813
|
+
# The following attributes apply only to [high throughput for FIFO
|
814
|
+
# queues][10]\:
|
840
815
|
#
|
841
816
|
# * `DeduplicationScope` – Specifies whether message deduplication
|
842
817
|
# occurs at the message group or queue level. Valid values are
|
@@ -855,22 +830,11 @@ module Aws::SQS
|
|
855
830
|
# * Set `FifoThroughputLimit` to `perMessageGroupId`.
|
856
831
|
#
|
857
832
|
# If you set these attributes to anything other than the values shown
|
858
|
-
# for enabling high throughput,
|
833
|
+
# for enabling high throughput, normal throughput is in effect and
|
859
834
|
# deduplication occurs as specified.
|
860
835
|
#
|
861
|
-
#
|
862
|
-
#
|
863
|
-
# * US East (Ohio); us-east-2
|
864
|
-
#
|
865
|
-
# * US East (N. Virginia); us-east-1
|
866
|
-
#
|
867
|
-
# * US West (Oregon); us-west-2
|
868
|
-
#
|
869
|
-
# * Europe (Ireland); eu-west-1
|
870
|
-
#
|
871
|
-
# For more information about high throughput for FIFO queues, see
|
872
|
-
# [Preview: High throughput for FIFO queues][11] in the *Amazon Simple
|
873
|
-
# Queue Service Developer Guide*.
|
836
|
+
# For information on throughput quotas, see [Quotas related to
|
837
|
+
# messages][11] in the *Amazon Simple Queue Service Developer Guide*.
|
874
838
|
#
|
875
839
|
#
|
876
840
|
#
|
@@ -881,10 +845,10 @@ module Aws::SQS
|
|
881
845
|
# [5]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html#sqs-sse-key-terms
|
882
846
|
# [6]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html#sqs-how-does-the-data-key-reuse-period-work
|
883
847
|
# [7]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html
|
884
|
-
# [8]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues
|
885
|
-
# [9]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues
|
886
|
-
# [10]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/
|
887
|
-
# [11]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/
|
848
|
+
# [8]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues-understanding-logic.html
|
849
|
+
# [9]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues-exactly-once-processing.html
|
850
|
+
# [10]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/high-throughput-fifo.html
|
851
|
+
# [11]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/quotas-messages.html
|
888
852
|
# @return [Array<String>]
|
889
853
|
#
|
890
854
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/GetQueueAttributesRequest AWS API Documentation
|
@@ -1803,8 +1767,8 @@ module Aws::SQS
|
|
1803
1767
|
# minimum deduplication interval. If a message with a particular
|
1804
1768
|
# `MessageDeduplicationId` is sent successfully, subsequent messages
|
1805
1769
|
# with the same `MessageDeduplicationId` are accepted successfully but
|
1806
|
-
# aren't delivered. For more information, see [ Exactly-
|
1807
|
-
#
|
1770
|
+
# aren't delivered. For more information, see [ Exactly-once
|
1771
|
+
# processing][1] in the *Amazon Simple Queue Service Developer Guide*.
|
1808
1772
|
#
|
1809
1773
|
# * Every message must have a unique `MessageDeduplicationId`,
|
1810
1774
|
#
|
@@ -1858,7 +1822,7 @@ module Aws::SQS
|
|
1858
1822
|
#
|
1859
1823
|
#
|
1860
1824
|
#
|
1861
|
-
# [1]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues
|
1825
|
+
# [1]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues-exactly-once-processing.html
|
1862
1826
|
# [2]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/using-messagededuplicationid-property.html
|
1863
1827
|
# @return [String]
|
1864
1828
|
#
|
@@ -2098,7 +2062,7 @@ module Aws::SQS
|
|
2098
2062
|
# a particular `MessageDeduplicationId` is sent successfully, any
|
2099
2063
|
# messages sent with the same `MessageDeduplicationId` are accepted
|
2100
2064
|
# successfully but aren't delivered during the 5-minute deduplication
|
2101
|
-
# interval. For more information, see [ Exactly-
|
2065
|
+
# interval. For more information, see [ Exactly-once processing][1] in
|
2102
2066
|
# the *Amazon Simple Queue Service Developer Guide*.
|
2103
2067
|
#
|
2104
2068
|
# * Every message must have a unique `MessageDeduplicationId`,
|
@@ -2153,7 +2117,7 @@ module Aws::SQS
|
|
2153
2117
|
#
|
2154
2118
|
#
|
2155
2119
|
#
|
2156
|
-
# [1]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues
|
2120
|
+
# [1]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues-exactly-once-processing.html
|
2157
2121
|
# [2]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/using-messagededuplicationid-property.html
|
2158
2122
|
# @return [String]
|
2159
2123
|
#
|
@@ -2367,7 +2331,7 @@ module Aws::SQS
|
|
2367
2331
|
# queues][9]\:
|
2368
2332
|
#
|
2369
2333
|
# * `ContentBasedDeduplication` – Enables content-based deduplication.
|
2370
|
-
# For more information, see [Exactly-
|
2334
|
+
# For more information, see [Exactly-once processing][10] in the
|
2371
2335
|
# *Amazon Simple Queue Service Developer Guide*. Note the following:
|
2372
2336
|
#
|
2373
2337
|
# * Every message must have a unique `MessageDeduplicationId`.
|
@@ -2398,15 +2362,8 @@ module Aws::SQS
|
|
2398
2362
|
# `MessageDeduplicationId`, the two messages are treated as
|
2399
2363
|
# duplicates and only one copy of the message is delivered.
|
2400
2364
|
#
|
2401
|
-
#
|
2402
|
-
#
|
2403
|
-
# **High throughput for Amazon SQS FIFO queues is in preview release
|
2404
|
-
# and is subject to change.** This feature provides a high number of
|
2405
|
-
# transactions per second (TPS) for messages in FIFO queues. For
|
2406
|
-
# information on throughput quotas, see [Quotas related to
|
2407
|
-
# messages][11] in the *Amazon Simple Queue Service Developer Guide*.
|
2408
|
-
#
|
2409
|
-
# This preview includes two new attributes:
|
2365
|
+
# The following attributes apply only to [high throughput for FIFO
|
2366
|
+
# queues][11]\:
|
2410
2367
|
#
|
2411
2368
|
# * `DeduplicationScope` – Specifies whether message deduplication
|
2412
2369
|
# occurs at the message group or queue level. Valid values are
|
@@ -2425,22 +2382,11 @@ module Aws::SQS
|
|
2425
2382
|
# * Set `FifoThroughputLimit` to `perMessageGroupId`.
|
2426
2383
|
#
|
2427
2384
|
# If you set these attributes to anything other than the values shown
|
2428
|
-
# for enabling high throughput,
|
2385
|
+
# for enabling high throughput, normal throughput is in effect and
|
2429
2386
|
# deduplication occurs as specified.
|
2430
2387
|
#
|
2431
|
-
#
|
2432
|
-
#
|
2433
|
-
# * US East (Ohio); us-east-2
|
2434
|
-
#
|
2435
|
-
# * US East (N. Virginia); us-east-1
|
2436
|
-
#
|
2437
|
-
# * US West (Oregon); us-west-2
|
2438
|
-
#
|
2439
|
-
# * Europe (Ireland); eu-west-1
|
2440
|
-
#
|
2441
|
-
# For more information about high throughput for FIFO queues, see
|
2442
|
-
# [Preview: High throughput for FIFO queues][12] in the *Amazon Simple
|
2443
|
-
# Queue Service Developer Guide*.
|
2388
|
+
# For information on throughput quotas, see [Quotas related to
|
2389
|
+
# messages][12] in the *Amazon Simple Queue Service Developer Guide*.
|
2444
2390
|
#
|
2445
2391
|
#
|
2446
2392
|
#
|
@@ -2453,9 +2399,9 @@ module Aws::SQS
|
|
2453
2399
|
# [7]: https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#data-keys
|
2454
2400
|
# [8]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html#sqs-how-does-the-data-key-reuse-period-work
|
2455
2401
|
# [9]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html
|
2456
|
-
# [10]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues
|
2457
|
-
# [11]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/
|
2458
|
-
# [12]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/
|
2402
|
+
# [10]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues-exactly-once-processing.html
|
2403
|
+
# [11]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/high-throughput-fifo.html
|
2404
|
+
# [12]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/quotas-messages.html
|
2459
2405
|
# @return [Hash<String,String>]
|
2460
2406
|
#
|
2461
2407
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/SetQueueAttributesRequest AWS API Documentation
|
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.39.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: 2021-
|
11
|
+
date: 2021-05-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -88,8 +88,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
88
88
|
- !ruby/object:Gem::Version
|
89
89
|
version: '0'
|
90
90
|
requirements: []
|
91
|
-
|
92
|
-
rubygems_version: 2.7.6.2
|
91
|
+
rubygems_version: 3.1.6
|
93
92
|
signing_key:
|
94
93
|
specification_version: 4
|
95
94
|
summary: AWS SDK for Ruby - Amazon SQS
|