aws-sdk-sqs 1.32.0 → 1.37.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 +278 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-sqs.rb +3 -2
- data/lib/aws-sdk-sqs/client.rb +176 -38
- data/lib/aws-sdk-sqs/client_api.rb +1 -1
- data/lib/aws-sdk-sqs/errors.rb +1 -1
- data/lib/aws-sdk-sqs/message.rb +1 -1
- data/lib/aws-sdk-sqs/queue.rb +50 -4
- data/lib/aws-sdk-sqs/queue_poller.rb +1 -1
- data/lib/aws-sdk-sqs/resource.rb +58 -12
- data/lib/aws-sdk-sqs/types.rb +157 -19
- metadata +8 -5
@@ -290,7 +290,7 @@ module Aws
|
|
290
290
|
# @option options [Integer] :visibility_timeout (nil)
|
291
291
|
# The number of seconds you have to process a message before
|
292
292
|
# it is put back into the queue and can be received again.
|
293
|
-
# By default, the queue's
|
293
|
+
# By default, the queue's visibility timeout is not set.
|
294
294
|
#
|
295
295
|
# @option options [Array<String>] :attribute_names ([])
|
296
296
|
# The list of attributes that need to be returned along with each
|
data/lib/aws-sdk-sqs/resource.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -134,22 +134,22 @@ module Aws::SQS
|
|
134
134
|
# The following attributes apply only to [FIFO (first-in-first-out)
|
135
135
|
# queues][9]\:
|
136
136
|
#
|
137
|
-
# * `FifoQueue` – Designates a queue as FIFO. Valid values
|
138
|
-
# `false`. If you don't specify the `FifoQueue` attribute, Amazon
|
139
|
-
# creates a standard queue. You can provide this attribute only
|
140
|
-
# queue creation. You can't change it for an existing queue.
|
141
|
-
# set this attribute, you must also provide the
|
142
|
-
# your messages explicitly.
|
137
|
+
# * `FifoQueue` – Designates a queue as FIFO. Valid values are `true`
|
138
|
+
# and `false`. If you don't specify the `FifoQueue` attribute, Amazon
|
139
|
+
# SQS creates a standard queue. You can provide this attribute only
|
140
|
+
# during queue creation. You can't change it for an existing queue.
|
141
|
+
# When you set this attribute, you must also provide the
|
142
|
+
# `MessageGroupId` for your messages explicitly.
|
143
143
|
#
|
144
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
|
-
# Valid values
|
148
|
+
# Valid values are `true` and `false`. For more information, see
|
149
149
|
# [Exactly-Once Processing][11] in the *Amazon Simple Queue Service
|
150
|
-
# Developer Guide*.
|
150
|
+
# Developer Guide*. Note the following:
|
151
151
|
#
|
152
|
-
# * Every message must have a unique `MessageDeduplicationId
|
152
|
+
# * Every message must have a unique `MessageDeduplicationId`.
|
153
153
|
#
|
154
154
|
# * You may provide a `MessageDeduplicationId` explicitly.
|
155
155
|
#
|
@@ -177,6 +177,50 @@ 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
|
+
# **Preview: High throughput for FIFO queues**
|
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:
|
189
|
+
#
|
190
|
+
# * `DeduplicationScope` – Specifies whether message deduplication
|
191
|
+
# occurs at the message group or queue level. Valid values are
|
192
|
+
# `messageGroup` and `queue`.
|
193
|
+
#
|
194
|
+
# * `FifoThroughputLimit` – Specifies whether the FIFO queue throughput
|
195
|
+
# quota applies to the entire queue or per message group. Valid values
|
196
|
+
# are `perQueue` and `perMessageGroupId`. The `perMessageGroupId`
|
197
|
+
# value is allowed only when the value for `DeduplicationScope` is
|
198
|
+
# `messageGroup`.
|
199
|
+
#
|
200
|
+
# To enable high throughput for FIFO queues, do the following:
|
201
|
+
#
|
202
|
+
# * Set `DeduplicationScope` to `messageGroup`.
|
203
|
+
#
|
204
|
+
# * Set `FifoThroughputLimit` to `perMessageGroupId`.
|
205
|
+
#
|
206
|
+
# If you set these attributes to anything other than the values shown
|
207
|
+
# for enabling high throughput, standard throughput is in effect and
|
208
|
+
# deduplication occurs as specified.
|
209
|
+
#
|
210
|
+
# This preview is available in the following AWS Regions:
|
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*.
|
223
|
+
#
|
180
224
|
#
|
181
225
|
#
|
182
226
|
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/PoliciesOverview.html
|
@@ -190,6 +234,8 @@ module Aws::SQS
|
|
190
234
|
# [9]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html
|
191
235
|
# [10]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html#FIFO-queues-understanding-logic
|
192
236
|
# [11]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html#FIFO-queues-exactly-once-processing
|
237
|
+
# [12]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/quotas-messages.html
|
238
|
+
# [13]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/high-throughput-fifo.html
|
193
239
|
# @option options [Hash<String,String>] :tags
|
194
240
|
# Add cost allocation tags to the specified Amazon SQS queue. For an
|
195
241
|
# overview, see [Tagging Your Amazon SQS Queues][1] in the *Amazon
|
@@ -214,8 +260,8 @@ module Aws::SQS
|
|
214
260
|
# `sqs:CreateQueue` and `sqs:TagQueue` permissions.
|
215
261
|
#
|
216
262
|
# Cross-account permissions don't apply to this action. For more
|
217
|
-
# information, see [Grant
|
218
|
-
#
|
263
|
+
# information, see [Grant cross-account permissions to a role and a user
|
264
|
+
# name][3] in the *Amazon Simple Queue Service Developer Guide*.
|
219
265
|
#
|
220
266
|
# </note>
|
221
267
|
#
|
data/lib/aws-sdk-sqs/types.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -385,22 +385,22 @@ module Aws::SQS
|
|
385
385
|
# The following attributes apply only to [FIFO (first-in-first-out)
|
386
386
|
# queues][9]\:
|
387
387
|
#
|
388
|
-
# * `FifoQueue` – Designates a queue as FIFO. Valid values
|
389
|
-
# `false`. If you don't specify the `FifoQueue` attribute,
|
390
|
-
# SQS creates a standard queue. You can provide this
|
391
|
-
# during queue creation. You can't change it for an
|
392
|
-
# When you set this attribute, you must also provide
|
393
|
-
# `MessageGroupId` for your messages explicitly.
|
388
|
+
# * `FifoQueue` – Designates a queue as FIFO. Valid values are `true`
|
389
|
+
# and `false`. If you don't specify the `FifoQueue` attribute,
|
390
|
+
# Amazon SQS creates a standard queue. You can provide this
|
391
|
+
# attribute only during queue creation. You can't change it for an
|
392
|
+
# existing queue. When you set this attribute, you must also provide
|
393
|
+
# the `MessageGroupId` for your messages explicitly.
|
394
394
|
#
|
395
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
|
-
# Valid values
|
399
|
+
# Valid values are `true` and `false`. For more information, see
|
400
400
|
# [Exactly-Once Processing][11] in the *Amazon Simple Queue Service
|
401
|
-
# Developer Guide*.
|
401
|
+
# Developer Guide*. Note the following:
|
402
402
|
#
|
403
|
-
# * Every message must have a unique `MessageDeduplicationId
|
403
|
+
# * Every message must have a unique `MessageDeduplicationId`.
|
404
404
|
#
|
405
405
|
# * You may provide a `MessageDeduplicationId` explicitly.
|
406
406
|
#
|
@@ -428,6 +428,50 @@ 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
|
+
# **Preview: High throughput for FIFO queues**
|
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:
|
440
|
+
#
|
441
|
+
# * `DeduplicationScope` – Specifies whether message deduplication
|
442
|
+
# occurs at the message group or queue level. Valid values are
|
443
|
+
# `messageGroup` and `queue`.
|
444
|
+
#
|
445
|
+
# * `FifoThroughputLimit` – Specifies whether the FIFO queue
|
446
|
+
# throughput quota applies to the entire queue or per message group.
|
447
|
+
# Valid values are `perQueue` and `perMessageGroupId`. The
|
448
|
+
# `perMessageGroupId` value is allowed only when the value for
|
449
|
+
# `DeduplicationScope` is `messageGroup`.
|
450
|
+
#
|
451
|
+
# To enable high throughput for FIFO queues, do the following:
|
452
|
+
#
|
453
|
+
# * Set `DeduplicationScope` to `messageGroup`.
|
454
|
+
#
|
455
|
+
# * Set `FifoThroughputLimit` to `perMessageGroupId`.
|
456
|
+
#
|
457
|
+
# If you set these attributes to anything other than the values shown
|
458
|
+
# for enabling high throughput, standard throughput is in effect and
|
459
|
+
# deduplication occurs as specified.
|
460
|
+
#
|
461
|
+
# This preview is available in the following AWS Regions:
|
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*.
|
474
|
+
#
|
431
475
|
#
|
432
476
|
#
|
433
477
|
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/PoliciesOverview.html
|
@@ -441,6 +485,8 @@ module Aws::SQS
|
|
441
485
|
# [9]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html
|
442
486
|
# [10]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html#FIFO-queues-understanding-logic
|
443
487
|
# [11]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html#FIFO-queues-exactly-once-processing
|
488
|
+
# [12]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/quotas-messages.html
|
489
|
+
# [13]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/high-throughput-fifo.html
|
444
490
|
# @return [Hash<String,String>]
|
445
491
|
#
|
446
492
|
# @!attribute [rw] tags
|
@@ -467,8 +513,8 @@ module Aws::SQS
|
|
467
513
|
# `sqs:CreateQueue` and `sqs:TagQueue` permissions.
|
468
514
|
#
|
469
515
|
# Cross-account permissions don't apply to this action. For more
|
470
|
-
# information, see [Grant
|
471
|
-
#
|
516
|
+
# information, see [Grant cross-account permissions to a role and a
|
517
|
+
# user name][3] in the *Amazon Simple Queue Service Developer Guide*.
|
472
518
|
#
|
473
519
|
# </note>
|
474
520
|
#
|
@@ -665,7 +711,7 @@ module Aws::SQS
|
|
665
711
|
#
|
666
712
|
# {
|
667
713
|
# queue_url: "String", # required
|
668
|
-
# attribute_names: ["All"], # accepts All, Policy, VisibilityTimeout, MaximumMessageSize, MessageRetentionPeriod, ApproximateNumberOfMessages, ApproximateNumberOfMessagesNotVisible, CreatedTimestamp, LastModifiedTimestamp, QueueArn, ApproximateNumberOfMessagesDelayed, DelaySeconds, ReceiveMessageWaitTimeSeconds, RedrivePolicy, FifoQueue, ContentBasedDeduplication, KmsMasterKeyId, KmsDataKeyReusePeriodSeconds
|
714
|
+
# attribute_names: ["All"], # accepts All, Policy, VisibilityTimeout, MaximumMessageSize, MessageRetentionPeriod, ApproximateNumberOfMessages, ApproximateNumberOfMessagesNotVisible, CreatedTimestamp, LastModifiedTimestamp, QueueArn, ApproximateNumberOfMessagesDelayed, DelaySeconds, ReceiveMessageWaitTimeSeconds, RedrivePolicy, FifoQueue, ContentBasedDeduplication, KmsMasterKeyId, KmsDataKeyReusePeriodSeconds, DeduplicationScope, FifoThroughputLimit
|
669
715
|
# }
|
670
716
|
#
|
671
717
|
# @!attribute [rw] queue_url
|
@@ -768,9 +814,9 @@ module Aws::SQS
|
|
768
814
|
# The following attributes apply only to [FIFO (first-in-first-out)
|
769
815
|
# queues][7]\:
|
770
816
|
#
|
771
|
-
# * `FifoQueue` – Returns whether the queue is FIFO.
|
772
|
-
# information, see [FIFO Queue Logic][8] in the *Amazon
|
773
|
-
# Service Developer Guide*.
|
817
|
+
# * `FifoQueue` – Returns information about whether the queue is FIFO.
|
818
|
+
# For more information, see [FIFO Queue Logic][8] in the *Amazon
|
819
|
+
# Simple Queue Service Developer Guide*.
|
774
820
|
#
|
775
821
|
# <note markdown="1"> To determine whether a queue is [FIFO][7], you can check whether
|
776
822
|
# `QueueName` ends with the `.fifo` suffix.
|
@@ -782,6 +828,50 @@ module Aws::SQS
|
|
782
828
|
# [Exactly-Once Processing][9] in the *Amazon Simple Queue Service
|
783
829
|
# Developer Guide*.
|
784
830
|
#
|
831
|
+
# **Preview: High throughput for FIFO queues**
|
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:
|
840
|
+
#
|
841
|
+
# * `DeduplicationScope` – Specifies whether message deduplication
|
842
|
+
# occurs at the message group or queue level. Valid values are
|
843
|
+
# `messageGroup` and `queue`.
|
844
|
+
#
|
845
|
+
# * `FifoThroughputLimit` – Specifies whether the FIFO queue
|
846
|
+
# throughput quota applies to the entire queue or per message group.
|
847
|
+
# Valid values are `perQueue` and `perMessageGroupId`. The
|
848
|
+
# `perMessageGroupId` value is allowed only when the value for
|
849
|
+
# `DeduplicationScope` is `messageGroup`.
|
850
|
+
#
|
851
|
+
# To enable high throughput for FIFO queues, do the following:
|
852
|
+
#
|
853
|
+
# * Set `DeduplicationScope` to `messageGroup`.
|
854
|
+
#
|
855
|
+
# * Set `FifoThroughputLimit` to `perMessageGroupId`.
|
856
|
+
#
|
857
|
+
# If you set these attributes to anything other than the values shown
|
858
|
+
# for enabling high throughput, standard throughput is in effect and
|
859
|
+
# deduplication occurs as specified.
|
860
|
+
#
|
861
|
+
# This preview is available in the following AWS Regions:
|
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*.
|
874
|
+
#
|
785
875
|
#
|
786
876
|
#
|
787
877
|
# [1]: http://en.wikipedia.org/wiki/Unix_time
|
@@ -793,6 +883,8 @@ module Aws::SQS
|
|
793
883
|
# [7]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html
|
794
884
|
# [8]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html#FIFO-queues-understanding-logic
|
795
885
|
# [9]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html#FIFO-queues-exactly-once-processing
|
886
|
+
# [10]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/quotas-messages.html
|
887
|
+
# [11]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/high-throughput-fifo.html
|
796
888
|
# @return [Array<String>]
|
797
889
|
#
|
798
890
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/GetQueueAttributesRequest AWS API Documentation
|
@@ -1333,7 +1425,7 @@ module Aws::SQS
|
|
1333
1425
|
#
|
1334
1426
|
# {
|
1335
1427
|
# queue_url: "String", # required
|
1336
|
-
# attribute_names: ["All"], # accepts All, Policy, VisibilityTimeout, MaximumMessageSize, MessageRetentionPeriod, ApproximateNumberOfMessages, ApproximateNumberOfMessagesNotVisible, CreatedTimestamp, LastModifiedTimestamp, QueueArn, ApproximateNumberOfMessagesDelayed, DelaySeconds, ReceiveMessageWaitTimeSeconds, RedrivePolicy, FifoQueue, ContentBasedDeduplication, KmsMasterKeyId, KmsDataKeyReusePeriodSeconds
|
1428
|
+
# attribute_names: ["All"], # accepts All, Policy, VisibilityTimeout, MaximumMessageSize, MessageRetentionPeriod, ApproximateNumberOfMessages, ApproximateNumberOfMessagesNotVisible, CreatedTimestamp, LastModifiedTimestamp, QueueArn, ApproximateNumberOfMessagesDelayed, DelaySeconds, ReceiveMessageWaitTimeSeconds, RedrivePolicy, FifoQueue, ContentBasedDeduplication, KmsMasterKeyId, KmsDataKeyReusePeriodSeconds, DeduplicationScope, FifoThroughputLimit
|
1337
1429
|
# message_attribute_names: ["MessageAttributeName"],
|
1338
1430
|
# max_number_of_messages: 1,
|
1339
1431
|
# visibility_timeout: 1,
|
@@ -2278,9 +2370,9 @@ module Aws::SQS
|
|
2278
2370
|
#
|
2279
2371
|
# * `ContentBasedDeduplication` – Enables content-based deduplication.
|
2280
2372
|
# For more information, see [Exactly-Once Processing][10] in the
|
2281
|
-
# *Amazon Simple Queue Service Developer Guide*.
|
2373
|
+
# *Amazon Simple Queue Service Developer Guide*. Note the following:
|
2282
2374
|
#
|
2283
|
-
# * Every message must have a unique `MessageDeduplicationId
|
2375
|
+
# * Every message must have a unique `MessageDeduplicationId`.
|
2284
2376
|
#
|
2285
2377
|
# * You may provide a `MessageDeduplicationId` explicitly.
|
2286
2378
|
#
|
@@ -2308,6 +2400,50 @@ module Aws::SQS
|
|
2308
2400
|
# `MessageDeduplicationId`, the two messages are treated as
|
2309
2401
|
# duplicates and only one copy of the message is delivered.
|
2310
2402
|
#
|
2403
|
+
# **Preview: High throughput for FIFO queues**
|
2404
|
+
#
|
2405
|
+
# **High throughput for Amazon SQS FIFO queues is in preview release
|
2406
|
+
# and is subject to change.** This feature provides a high number of
|
2407
|
+
# transactions per second (TPS) for messages in FIFO queues. For
|
2408
|
+
# information on throughput quotas, see [Quotas related to
|
2409
|
+
# messages][11] in the *Amazon Simple Queue Service Developer Guide*.
|
2410
|
+
#
|
2411
|
+
# This preview includes two new attributes:
|
2412
|
+
#
|
2413
|
+
# * `DeduplicationScope` – Specifies whether message deduplication
|
2414
|
+
# occurs at the message group or queue level. Valid values are
|
2415
|
+
# `messageGroup` and `queue`.
|
2416
|
+
#
|
2417
|
+
# * `FifoThroughputLimit` – Specifies whether the FIFO queue
|
2418
|
+
# throughput quota applies to the entire queue or per message group.
|
2419
|
+
# Valid values are `perQueue` and `perMessageGroupId`. The
|
2420
|
+
# `perMessageGroupId` value is allowed only when the value for
|
2421
|
+
# `DeduplicationScope` is `messageGroup`.
|
2422
|
+
#
|
2423
|
+
# To enable high throughput for FIFO queues, do the following:
|
2424
|
+
#
|
2425
|
+
# * Set `DeduplicationScope` to `messageGroup`.
|
2426
|
+
#
|
2427
|
+
# * Set `FifoThroughputLimit` to `perMessageGroupId`.
|
2428
|
+
#
|
2429
|
+
# If you set these attributes to anything other than the values shown
|
2430
|
+
# for enabling high throughput, standard throughput is in effect and
|
2431
|
+
# deduplication occurs as specified.
|
2432
|
+
#
|
2433
|
+
# This preview is available in the following AWS Regions:
|
2434
|
+
#
|
2435
|
+
# * US East (Ohio); us-east-2
|
2436
|
+
#
|
2437
|
+
# * US East (N. Virginia); us-east-1
|
2438
|
+
#
|
2439
|
+
# * US West (Oregon); us-west-2
|
2440
|
+
#
|
2441
|
+
# * Europe (Ireland); eu-west-1
|
2442
|
+
#
|
2443
|
+
# For more information about high throughput for FIFO queues, see
|
2444
|
+
# [Preview: High throughput for FIFO queues][12] in the *Amazon Simple
|
2445
|
+
# Queue Service Developer Guide*.
|
2446
|
+
#
|
2311
2447
|
#
|
2312
2448
|
#
|
2313
2449
|
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/PoliciesOverview.html
|
@@ -2320,6 +2456,8 @@ module Aws::SQS
|
|
2320
2456
|
# [8]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html#sqs-how-does-the-data-key-reuse-period-work
|
2321
2457
|
# [9]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html
|
2322
2458
|
# [10]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html#FIFO-queues-exactly-once-processing
|
2459
|
+
# [11]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/quotas-messages.html
|
2460
|
+
# [12]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/high-throughput-fifo.html
|
2323
2461
|
# @return [Hash<String,String>]
|
2324
2462
|
#
|
2325
2463
|
# @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.37.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:
|
11
|
+
date: 2021-03-10 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.
|
22
|
+
version: 3.112.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.
|
32
|
+
version: 3.112.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -47,11 +47,14 @@ dependencies:
|
|
47
47
|
description: Official AWS Ruby gem for Amazon Simple Queue Service (Amazon SQS). This
|
48
48
|
gem is part of the AWS SDK for Ruby.
|
49
49
|
email:
|
50
|
-
-
|
50
|
+
- aws-dr-rubygems@amazon.com
|
51
51
|
executables: []
|
52
52
|
extensions: []
|
53
53
|
extra_rdoc_files: []
|
54
54
|
files:
|
55
|
+
- CHANGELOG.md
|
56
|
+
- LICENSE.txt
|
57
|
+
- VERSION
|
55
58
|
- lib/aws-sdk-sqs.rb
|
56
59
|
- lib/aws-sdk-sqs/client.rb
|
57
60
|
- lib/aws-sdk-sqs/client_api.rb
|