aws-sdk-sqs 1.34.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 +288 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-sqs.rb +2 -2
- data/lib/aws-sdk-sqs/client.rb +133 -49
- 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 +36 -8
- data/lib/aws-sdk-sqs/resource.rb +44 -16
- data/lib/aws-sdk-sqs/types.rb +125 -43
- metadata +11 -9
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
|
-
# 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
|
-
# Valid values
|
149
|
-
# [Exactly-
|
150
|
-
# Developer Guide*.
|
148
|
+
# Valid values are `true` and `false`. For more information, see
|
149
|
+
# [Exactly-once processing][11] in the *Amazon Simple Queue Service
|
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,32 @@ 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
|
+
# The following attributes apply only to [high throughput for FIFO
|
181
|
+
# queues][12]\:
|
182
|
+
#
|
183
|
+
# * `DeduplicationScope` – Specifies whether message deduplication
|
184
|
+
# occurs at the message group or queue level. Valid values are
|
185
|
+
# `messageGroup` and `queue`.
|
186
|
+
#
|
187
|
+
# * `FifoThroughputLimit` – Specifies whether the FIFO queue throughput
|
188
|
+
# quota applies to the entire queue or per message group. Valid values
|
189
|
+
# are `perQueue` and `perMessageGroupId`. The `perMessageGroupId`
|
190
|
+
# value is allowed only when the value for `DeduplicationScope` is
|
191
|
+
# `messageGroup`.
|
192
|
+
#
|
193
|
+
# To enable high throughput for FIFO queues, do the following:
|
194
|
+
#
|
195
|
+
# * Set `DeduplicationScope` to `messageGroup`.
|
196
|
+
#
|
197
|
+
# * Set `FifoThroughputLimit` to `perMessageGroupId`.
|
198
|
+
#
|
199
|
+
# If you set these attributes to anything other than the values shown
|
200
|
+
# for enabling high throughput, normal throughput is in effect and
|
201
|
+
# deduplication occurs as specified.
|
202
|
+
#
|
203
|
+
# For information on throughput quotas, see [Quotas related to
|
204
|
+
# messages][13] in the *Amazon Simple Queue Service Developer Guide*.
|
205
|
+
#
|
180
206
|
#
|
181
207
|
#
|
182
208
|
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/PoliciesOverview.html
|
@@ -188,8 +214,10 @@ module Aws::SQS
|
|
188
214
|
# [7]: https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#data-keys
|
189
215
|
# [8]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html#sqs-how-does-the-data-key-reuse-period-work
|
190
216
|
# [9]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html
|
191
|
-
# [10]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues
|
192
|
-
# [11]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues
|
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
|
193
221
|
# @option options [Hash<String,String>] :tags
|
194
222
|
# Add cost allocation tags to the specified Amazon SQS queue. For an
|
195
223
|
# overview, see [Tagging Your Amazon SQS Queues][1] in the *Amazon
|
@@ -214,8 +242,8 @@ module Aws::SQS
|
|
214
242
|
# `sqs:CreateQueue` and `sqs:TagQueue` permissions.
|
215
243
|
#
|
216
244
|
# Cross-account permissions don't apply to this action. For more
|
217
|
-
# information, see [Grant
|
218
|
-
#
|
245
|
+
# information, see [Grant cross-account permissions to a role and a user
|
246
|
+
# name][3] in the *Amazon Simple Queue Service Developer Guide*.
|
219
247
|
#
|
220
248
|
# </note>
|
221
249
|
#
|
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
|
-
# 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
|
-
# Valid values
|
400
|
-
# [Exactly-
|
401
|
-
# Developer Guide*.
|
399
|
+
# Valid values are `true` and `false`. For more information, see
|
400
|
+
# [Exactly-once processing][11] in the *Amazon Simple Queue Service
|
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,32 @@ 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
|
+
# The following attributes apply only to [high throughput for FIFO
|
432
|
+
# queues][12]\:
|
433
|
+
#
|
434
|
+
# * `DeduplicationScope` – Specifies whether message deduplication
|
435
|
+
# occurs at the message group or queue level. Valid values are
|
436
|
+
# `messageGroup` and `queue`.
|
437
|
+
#
|
438
|
+
# * `FifoThroughputLimit` – Specifies whether the FIFO queue
|
439
|
+
# throughput quota applies to the entire queue or per message group.
|
440
|
+
# Valid values are `perQueue` and `perMessageGroupId`. The
|
441
|
+
# `perMessageGroupId` value is allowed only when the value for
|
442
|
+
# `DeduplicationScope` is `messageGroup`.
|
443
|
+
#
|
444
|
+
# To enable high throughput for FIFO queues, do the following:
|
445
|
+
#
|
446
|
+
# * Set `DeduplicationScope` to `messageGroup`.
|
447
|
+
#
|
448
|
+
# * Set `FifoThroughputLimit` to `perMessageGroupId`.
|
449
|
+
#
|
450
|
+
# If you set these attributes to anything other than the values shown
|
451
|
+
# for enabling high throughput, normal throughput is in effect and
|
452
|
+
# deduplication occurs as specified.
|
453
|
+
#
|
454
|
+
# For information on throughput quotas, see [Quotas related to
|
455
|
+
# messages][13] in the *Amazon Simple Queue Service Developer Guide*.
|
456
|
+
#
|
431
457
|
#
|
432
458
|
#
|
433
459
|
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/PoliciesOverview.html
|
@@ -439,8 +465,10 @@ module Aws::SQS
|
|
439
465
|
# [7]: https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#data-keys
|
440
466
|
# [8]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html#sqs-how-does-the-data-key-reuse-period-work
|
441
467
|
# [9]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html
|
442
|
-
# [10]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues
|
443
|
-
# [11]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues
|
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
|
444
472
|
# @return [Hash<String,String>]
|
445
473
|
#
|
446
474
|
# @!attribute [rw] tags
|
@@ -467,8 +495,8 @@ module Aws::SQS
|
|
467
495
|
# `sqs:CreateQueue` and `sqs:TagQueue` permissions.
|
468
496
|
#
|
469
497
|
# Cross-account permissions don't apply to this action. For more
|
470
|
-
# information, see [Grant
|
471
|
-
#
|
498
|
+
# information, see [Grant cross-account permissions to a role and a
|
499
|
+
# user name][3] in the *Amazon Simple Queue Service Developer Guide*.
|
472
500
|
#
|
473
501
|
# </note>
|
474
502
|
#
|
@@ -665,7 +693,7 @@ module Aws::SQS
|
|
665
693
|
#
|
666
694
|
# {
|
667
695
|
# 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
|
696
|
+
# 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
697
|
# }
|
670
698
|
#
|
671
699
|
# @!attribute [rw] queue_url
|
@@ -768,9 +796,9 @@ module Aws::SQS
|
|
768
796
|
# The following attributes apply only to [FIFO (first-in-first-out)
|
769
797
|
# queues][7]\:
|
770
798
|
#
|
771
|
-
# * `FifoQueue` – Returns whether the queue is FIFO.
|
772
|
-
# information, see [FIFO
|
773
|
-
# Service Developer Guide*.
|
799
|
+
# * `FifoQueue` – Returns information about whether the queue is FIFO.
|
800
|
+
# For more information, see [FIFO queue logic][8] in the *Amazon
|
801
|
+
# Simple Queue Service Developer Guide*.
|
774
802
|
#
|
775
803
|
# <note markdown="1"> To determine whether a queue is [FIFO][7], you can check whether
|
776
804
|
# `QueueName` ends with the `.fifo` suffix.
|
@@ -779,9 +807,35 @@ module Aws::SQS
|
|
779
807
|
#
|
780
808
|
# * `ContentBasedDeduplication` – Returns whether content-based
|
781
809
|
# deduplication is enabled for the queue. For more information, see
|
782
|
-
# [Exactly-
|
810
|
+
# [Exactly-once processing][9] in the *Amazon Simple Queue Service
|
783
811
|
# Developer Guide*.
|
784
812
|
#
|
813
|
+
# The following attributes apply only to [high throughput for FIFO
|
814
|
+
# queues][10]\:
|
815
|
+
#
|
816
|
+
# * `DeduplicationScope` – Specifies whether message deduplication
|
817
|
+
# occurs at the message group or queue level. Valid values are
|
818
|
+
# `messageGroup` and `queue`.
|
819
|
+
#
|
820
|
+
# * `FifoThroughputLimit` – Specifies whether the FIFO queue
|
821
|
+
# throughput quota applies to the entire queue or per message group.
|
822
|
+
# Valid values are `perQueue` and `perMessageGroupId`. The
|
823
|
+
# `perMessageGroupId` value is allowed only when the value for
|
824
|
+
# `DeduplicationScope` is `messageGroup`.
|
825
|
+
#
|
826
|
+
# To enable high throughput for FIFO queues, do the following:
|
827
|
+
#
|
828
|
+
# * Set `DeduplicationScope` to `messageGroup`.
|
829
|
+
#
|
830
|
+
# * Set `FifoThroughputLimit` to `perMessageGroupId`.
|
831
|
+
#
|
832
|
+
# If you set these attributes to anything other than the values shown
|
833
|
+
# for enabling high throughput, normal throughput is in effect and
|
834
|
+
# deduplication occurs as specified.
|
835
|
+
#
|
836
|
+
# For information on throughput quotas, see [Quotas related to
|
837
|
+
# messages][11] in the *Amazon Simple Queue Service Developer Guide*.
|
838
|
+
#
|
785
839
|
#
|
786
840
|
#
|
787
841
|
# [1]: http://en.wikipedia.org/wiki/Unix_time
|
@@ -791,8 +845,10 @@ module Aws::SQS
|
|
791
845
|
# [5]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html#sqs-sse-key-terms
|
792
846
|
# [6]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html#sqs-how-does-the-data-key-reuse-period-work
|
793
847
|
# [7]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html
|
794
|
-
# [8]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues
|
795
|
-
# [9]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues
|
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
|
796
852
|
# @return [Array<String>]
|
797
853
|
#
|
798
854
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/GetQueueAttributesRequest AWS API Documentation
|
@@ -1333,7 +1389,7 @@ module Aws::SQS
|
|
1333
1389
|
#
|
1334
1390
|
# {
|
1335
1391
|
# 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
|
1392
|
+
# 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
1393
|
# message_attribute_names: ["MessageAttributeName"],
|
1338
1394
|
# max_number_of_messages: 1,
|
1339
1395
|
# visibility_timeout: 1,
|
@@ -1711,8 +1767,8 @@ module Aws::SQS
|
|
1711
1767
|
# minimum deduplication interval. If a message with a particular
|
1712
1768
|
# `MessageDeduplicationId` is sent successfully, subsequent messages
|
1713
1769
|
# with the same `MessageDeduplicationId` are accepted successfully but
|
1714
|
-
# aren't delivered. For more information, see [ Exactly-
|
1715
|
-
#
|
1770
|
+
# aren't delivered. For more information, see [ Exactly-once
|
1771
|
+
# processing][1] in the *Amazon Simple Queue Service Developer Guide*.
|
1716
1772
|
#
|
1717
1773
|
# * Every message must have a unique `MessageDeduplicationId`,
|
1718
1774
|
#
|
@@ -1766,7 +1822,7 @@ module Aws::SQS
|
|
1766
1822
|
#
|
1767
1823
|
#
|
1768
1824
|
#
|
1769
|
-
# [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
|
1770
1826
|
# [2]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/using-messagededuplicationid-property.html
|
1771
1827
|
# @return [String]
|
1772
1828
|
#
|
@@ -1854,11 +1910,10 @@ module Aws::SQS
|
|
1854
1910
|
# @return [String]
|
1855
1911
|
#
|
1856
1912
|
# @!attribute [rw] md5_of_message_body
|
1857
|
-
# An MD5 digest of the non-URL-encoded message
|
1858
|
-
#
|
1859
|
-
#
|
1860
|
-
#
|
1861
|
-
# [RFC1321][1].
|
1913
|
+
# An MD5 digest of the non-URL-encoded message body string. You can
|
1914
|
+
# use this attribute to verify that Amazon SQS received the message
|
1915
|
+
# correctly. Amazon SQS URL-decodes the message before creating the
|
1916
|
+
# MD5 digest. For information about MD5, see [RFC1321][1].
|
1862
1917
|
#
|
1863
1918
|
#
|
1864
1919
|
#
|
@@ -2007,7 +2062,7 @@ module Aws::SQS
|
|
2007
2062
|
# a particular `MessageDeduplicationId` is sent successfully, any
|
2008
2063
|
# messages sent with the same `MessageDeduplicationId` are accepted
|
2009
2064
|
# successfully but aren't delivered during the 5-minute deduplication
|
2010
|
-
# interval. For more information, see [ Exactly-
|
2065
|
+
# interval. For more information, see [ Exactly-once processing][1] in
|
2011
2066
|
# the *Amazon Simple Queue Service Developer Guide*.
|
2012
2067
|
#
|
2013
2068
|
# * Every message must have a unique `MessageDeduplicationId`,
|
@@ -2062,7 +2117,7 @@ module Aws::SQS
|
|
2062
2117
|
#
|
2063
2118
|
#
|
2064
2119
|
#
|
2065
|
-
# [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
|
2066
2121
|
# [2]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/using-messagededuplicationid-property.html
|
2067
2122
|
# @return [String]
|
2068
2123
|
#
|
@@ -2119,11 +2174,10 @@ module Aws::SQS
|
|
2119
2174
|
# The `MD5OfMessageBody` and `MessageId` elements.
|
2120
2175
|
#
|
2121
2176
|
# @!attribute [rw] md5_of_message_body
|
2122
|
-
# An MD5 digest of the non-URL-encoded message
|
2123
|
-
#
|
2124
|
-
#
|
2125
|
-
#
|
2126
|
-
# [RFC1321][1].
|
2177
|
+
# An MD5 digest of the non-URL-encoded message body string. You can
|
2178
|
+
# use this attribute to verify that Amazon SQS received the message
|
2179
|
+
# correctly. Amazon SQS URL-decodes the message before creating the
|
2180
|
+
# MD5 digest. For information about MD5, see [RFC1321][1].
|
2127
2181
|
#
|
2128
2182
|
#
|
2129
2183
|
#
|
@@ -2277,10 +2331,10 @@ module Aws::SQS
|
|
2277
2331
|
# queues][9]\:
|
2278
2332
|
#
|
2279
2333
|
# * `ContentBasedDeduplication` – Enables content-based deduplication.
|
2280
|
-
# For more information, see [Exactly-
|
2281
|
-
# *Amazon Simple Queue Service Developer Guide*.
|
2334
|
+
# For more information, see [Exactly-once processing][10] in the
|
2335
|
+
# *Amazon Simple Queue Service Developer Guide*. Note the following:
|
2282
2336
|
#
|
2283
|
-
# * Every message must have a unique `MessageDeduplicationId
|
2337
|
+
# * Every message must have a unique `MessageDeduplicationId`.
|
2284
2338
|
#
|
2285
2339
|
# * You may provide a `MessageDeduplicationId` explicitly.
|
2286
2340
|
#
|
@@ -2308,6 +2362,32 @@ module Aws::SQS
|
|
2308
2362
|
# `MessageDeduplicationId`, the two messages are treated as
|
2309
2363
|
# duplicates and only one copy of the message is delivered.
|
2310
2364
|
#
|
2365
|
+
# The following attributes apply only to [high throughput for FIFO
|
2366
|
+
# queues][11]\:
|
2367
|
+
#
|
2368
|
+
# * `DeduplicationScope` – Specifies whether message deduplication
|
2369
|
+
# occurs at the message group or queue level. Valid values are
|
2370
|
+
# `messageGroup` and `queue`.
|
2371
|
+
#
|
2372
|
+
# * `FifoThroughputLimit` – Specifies whether the FIFO queue
|
2373
|
+
# throughput quota applies to the entire queue or per message group.
|
2374
|
+
# Valid values are `perQueue` and `perMessageGroupId`. The
|
2375
|
+
# `perMessageGroupId` value is allowed only when the value for
|
2376
|
+
# `DeduplicationScope` is `messageGroup`.
|
2377
|
+
#
|
2378
|
+
# To enable high throughput for FIFO queues, do the following:
|
2379
|
+
#
|
2380
|
+
# * Set `DeduplicationScope` to `messageGroup`.
|
2381
|
+
#
|
2382
|
+
# * Set `FifoThroughputLimit` to `perMessageGroupId`.
|
2383
|
+
#
|
2384
|
+
# If you set these attributes to anything other than the values shown
|
2385
|
+
# for enabling high throughput, normal throughput is in effect and
|
2386
|
+
# deduplication occurs as specified.
|
2387
|
+
#
|
2388
|
+
# For information on throughput quotas, see [Quotas related to
|
2389
|
+
# messages][12] in the *Amazon Simple Queue Service Developer Guide*.
|
2390
|
+
#
|
2311
2391
|
#
|
2312
2392
|
#
|
2313
2393
|
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/PoliciesOverview.html
|
@@ -2319,7 +2399,9 @@ module Aws::SQS
|
|
2319
2399
|
# [7]: https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#data-keys
|
2320
2400
|
# [8]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html#sqs-how-does-the-data-key-reuse-period-work
|
2321
2401
|
# [9]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html
|
2322
|
-
# [10]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues
|
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
|
2323
2405
|
# @return [Hash<String,String>]
|
2324
2406
|
#
|
2325
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:
|
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
|
@@ -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
|
@@ -68,8 +71,8 @@ homepage: https://github.com/aws/aws-sdk-ruby
|
|
68
71
|
licenses:
|
69
72
|
- Apache-2.0
|
70
73
|
metadata:
|
71
|
-
source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/
|
72
|
-
changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/
|
74
|
+
source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-sqs
|
75
|
+
changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-sqs/CHANGELOG.md
|
73
76
|
post_install_message:
|
74
77
|
rdoc_options: []
|
75
78
|
require_paths:
|
@@ -85,8 +88,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
85
88
|
- !ruby/object:Gem::Version
|
86
89
|
version: '0'
|
87
90
|
requirements: []
|
88
|
-
|
89
|
-
rubygems_version: 2.7.6.2
|
91
|
+
rubygems_version: 3.1.6
|
90
92
|
signing_key:
|
91
93
|
specification_version: 4
|
92
94
|
summary: AWS SDK for Ruby - Amazon SQS
|