aws-sdk-sqs 1.34.0 → 1.35.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-sqs.rb +1 -1
- data/lib/aws-sdk-sqs/client.rb +175 -37
- data/lib/aws-sdk-sqs/queue.rb +49 -3
- data/lib/aws-sdk-sqs/resource.rb +57 -11
- data/lib/aws-sdk-sqs/types.rb +156 -18
- 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: dbce67a43e0664fd8755ad1f20631934a97159a8c2299113a2475903d58f73fd
|
4
|
+
data.tar.gz: eb03e73924f36fbbae23f600790076cc64a8be349bec4bf78657125c271a434b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 35092c039c91742d2d3c9861ee5a4dbfb1de8c3001cfbfae3adb0d305dd4bb525f3b08b80d4eb3b17628873cbb5eb1bd153b982331d3c8b3b68cae0ac888fa84
|
7
|
+
data.tar.gz: 9d40dd1bdb7ec855ddeb1d33c00d62c693006487380f33c17b4052c302db259c0bcd7519cc60a5666113aba6e5310308bf20a2a0c0b1112cd1d360688d591cbf
|
data/lib/aws-sdk-sqs.rb
CHANGED
data/lib/aws-sdk-sqs/client.rb
CHANGED
@@ -368,8 +368,8 @@ module Aws::SQS
|
|
368
368
|
# `&AttributeName.2=second`
|
369
369
|
#
|
370
370
|
# <note markdown="1"> Cross-account permissions don't apply to this action. For more
|
371
|
-
# information, see [Grant
|
372
|
-
#
|
371
|
+
# information, see [Grant cross-account permissions to a role and a user
|
372
|
+
# name][4] in the *Amazon Simple Queue Service Developer Guide*.
|
373
373
|
#
|
374
374
|
# </note>
|
375
375
|
#
|
@@ -653,8 +653,8 @@ module Aws::SQS
|
|
653
653
|
# `&AttributeName.2=second`
|
654
654
|
#
|
655
655
|
# <note markdown="1"> Cross-account permissions don't apply to this action. For more
|
656
|
-
# information, see [Grant
|
657
|
-
#
|
656
|
+
# information, see [Grant cross-account permissions to a role and a user
|
657
|
+
# name][3] in the *Amazon Simple Queue Service Developer Guide*.
|
658
658
|
#
|
659
659
|
# </note>
|
660
660
|
#
|
@@ -752,22 +752,22 @@ module Aws::SQS
|
|
752
752
|
# The following attributes apply only to [FIFO (first-in-first-out)
|
753
753
|
# queues][9]\:
|
754
754
|
#
|
755
|
-
# * `FifoQueue` – Designates a queue as FIFO. Valid values
|
756
|
-
# `false`. If you don't specify the `FifoQueue` attribute, Amazon
|
757
|
-
# creates a standard queue. You can provide this attribute only
|
758
|
-
# queue creation. You can't change it for an existing queue.
|
759
|
-
# set this attribute, you must also provide the
|
760
|
-
# your messages explicitly.
|
755
|
+
# * `FifoQueue` – Designates a queue as FIFO. Valid values are `true`
|
756
|
+
# and `false`. If you don't specify the `FifoQueue` attribute, Amazon
|
757
|
+
# SQS creates a standard queue. You can provide this attribute only
|
758
|
+
# during queue creation. You can't change it for an existing queue.
|
759
|
+
# When you set this attribute, you must also provide the
|
760
|
+
# `MessageGroupId` for your messages explicitly.
|
761
761
|
#
|
762
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
|
-
# Valid values
|
766
|
+
# Valid values are `true` and `false`. For more information, see
|
767
767
|
# [Exactly-Once Processing][11] in the *Amazon Simple Queue Service
|
768
|
-
# Developer Guide*.
|
768
|
+
# Developer Guide*. Note the following:
|
769
769
|
#
|
770
|
-
# * Every message must have a unique `MessageDeduplicationId
|
770
|
+
# * Every message must have a unique `MessageDeduplicationId`.
|
771
771
|
#
|
772
772
|
# * You may provide a `MessageDeduplicationId` explicitly.
|
773
773
|
#
|
@@ -795,6 +795,50 @@ 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
|
+
# **Preview: High throughput for FIFO queues**
|
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:
|
807
|
+
#
|
808
|
+
# * `DeduplicationScope` – Specifies whether message deduplication
|
809
|
+
# occurs at the message group or queue level. Valid values are
|
810
|
+
# `messageGroup` and `queue`.
|
811
|
+
#
|
812
|
+
# * `FifoThroughputLimit` – Specifies whether the FIFO queue throughput
|
813
|
+
# quota applies to the entire queue or per message group. Valid values
|
814
|
+
# are `perQueue` and `perMessageGroupId`. The `perMessageGroupId`
|
815
|
+
# value is allowed only when the value for `DeduplicationScope` is
|
816
|
+
# `messageGroup`.
|
817
|
+
#
|
818
|
+
# To enable high throughput for FIFO queues, do the following:
|
819
|
+
#
|
820
|
+
# * Set `DeduplicationScope` to `messageGroup`.
|
821
|
+
#
|
822
|
+
# * Set `FifoThroughputLimit` to `perMessageGroupId`.
|
823
|
+
#
|
824
|
+
# If you set these attributes to anything other than the values shown
|
825
|
+
# for enabling high throughput, standard throughput is in effect and
|
826
|
+
# deduplication occurs as specified.
|
827
|
+
#
|
828
|
+
# This preview is available in the following AWS Regions:
|
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*.
|
841
|
+
#
|
798
842
|
#
|
799
843
|
#
|
800
844
|
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/PoliciesOverview.html
|
@@ -808,6 +852,8 @@ module Aws::SQS
|
|
808
852
|
# [9]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html
|
809
853
|
# [10]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html#FIFO-queues-understanding-logic
|
810
854
|
# [11]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html#FIFO-queues-exactly-once-processing
|
855
|
+
# [12]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/quotas-messages.html
|
856
|
+
# [13]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/high-throughput-fifo.html
|
811
857
|
#
|
812
858
|
# @option params [Hash<String,String>] :tags
|
813
859
|
# Add cost allocation tags to the specified Amazon SQS queue. For an
|
@@ -833,8 +879,8 @@ module Aws::SQS
|
|
833
879
|
# `sqs:CreateQueue` and `sqs:TagQueue` permissions.
|
834
880
|
#
|
835
881
|
# Cross-account permissions don't apply to this action. For more
|
836
|
-
# information, see [Grant
|
837
|
-
#
|
882
|
+
# information, see [Grant cross-account permissions to a role and a user
|
883
|
+
# name][3] in the *Amazon Simple Queue Service Developer Guide*.
|
838
884
|
#
|
839
885
|
# </note>
|
840
886
|
#
|
@@ -999,8 +1045,8 @@ module Aws::SQS
|
|
999
1045
|
# creating a queue with the same name.
|
1000
1046
|
#
|
1001
1047
|
# <note markdown="1"> Cross-account permissions don't apply to this action. For more
|
1002
|
-
# information, see [Grant
|
1003
|
-
#
|
1048
|
+
# information, see [Grant cross-account permissions to a role and a user
|
1049
|
+
# name][1] in the *Amazon Simple Queue Service Developer Guide*.
|
1004
1050
|
#
|
1005
1051
|
# </note>
|
1006
1052
|
#
|
@@ -1136,9 +1182,9 @@ module Aws::SQS
|
|
1136
1182
|
# The following attributes apply only to [FIFO (first-in-first-out)
|
1137
1183
|
# queues][7]\:
|
1138
1184
|
#
|
1139
|
-
# * `FifoQueue` – Returns whether the queue is FIFO.
|
1140
|
-
# information, see [FIFO Queue Logic][8] in the *Amazon
|
1141
|
-
# Service Developer Guide*.
|
1185
|
+
# * `FifoQueue` – Returns information about whether the queue is FIFO.
|
1186
|
+
# For more information, see [FIFO Queue Logic][8] in the *Amazon
|
1187
|
+
# Simple Queue Service Developer Guide*.
|
1142
1188
|
#
|
1143
1189
|
# <note markdown="1"> To determine whether a queue is [FIFO][7], you can check whether
|
1144
1190
|
# `QueueName` ends with the `.fifo` suffix.
|
@@ -1150,6 +1196,50 @@ module Aws::SQS
|
|
1150
1196
|
# [Exactly-Once Processing][9] in the *Amazon Simple Queue Service
|
1151
1197
|
# Developer Guide*.
|
1152
1198
|
#
|
1199
|
+
# **Preview: High throughput for FIFO queues**
|
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:
|
1208
|
+
#
|
1209
|
+
# * `DeduplicationScope` – Specifies whether message deduplication
|
1210
|
+
# occurs at the message group or queue level. Valid values are
|
1211
|
+
# `messageGroup` and `queue`.
|
1212
|
+
#
|
1213
|
+
# * `FifoThroughputLimit` – Specifies whether the FIFO queue throughput
|
1214
|
+
# quota applies to the entire queue or per message group. Valid values
|
1215
|
+
# are `perQueue` and `perMessageGroupId`. The `perMessageGroupId`
|
1216
|
+
# value is allowed only when the value for `DeduplicationScope` is
|
1217
|
+
# `messageGroup`.
|
1218
|
+
#
|
1219
|
+
# To enable high throughput for FIFO queues, do the following:
|
1220
|
+
#
|
1221
|
+
# * Set `DeduplicationScope` to `messageGroup`.
|
1222
|
+
#
|
1223
|
+
# * Set `FifoThroughputLimit` to `perMessageGroupId`.
|
1224
|
+
#
|
1225
|
+
# If you set these attributes to anything other than the values shown
|
1226
|
+
# for enabling high throughput, standard throughput is in effect and
|
1227
|
+
# deduplication occurs as specified.
|
1228
|
+
#
|
1229
|
+
# This preview is available in the following AWS Regions:
|
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*.
|
1242
|
+
#
|
1153
1243
|
#
|
1154
1244
|
#
|
1155
1245
|
# [1]: http://en.wikipedia.org/wiki/Unix_time
|
@@ -1161,6 +1251,8 @@ module Aws::SQS
|
|
1161
1251
|
# [7]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html
|
1162
1252
|
# [8]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html#FIFO-queues-understanding-logic
|
1163
1253
|
# [9]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html#FIFO-queues-exactly-once-processing
|
1254
|
+
# [10]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/quotas-messages.html
|
1255
|
+
# [11]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/high-throughput-fifo.html
|
1164
1256
|
#
|
1165
1257
|
# @return [Types::GetQueueAttributesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1166
1258
|
#
|
@@ -1170,7 +1262,7 @@ module Aws::SQS
|
|
1170
1262
|
#
|
1171
1263
|
# resp = client.get_queue_attributes({
|
1172
1264
|
# queue_url: "String", # required
|
1173
|
-
# attribute_names: ["All"], # accepts All, Policy, VisibilityTimeout, MaximumMessageSize, MessageRetentionPeriod, ApproximateNumberOfMessages, ApproximateNumberOfMessagesNotVisible, CreatedTimestamp, LastModifiedTimestamp, QueueArn, ApproximateNumberOfMessagesDelayed, DelaySeconds, ReceiveMessageWaitTimeSeconds, RedrivePolicy, FifoQueue, ContentBasedDeduplication, KmsMasterKeyId, KmsDataKeyReusePeriodSeconds
|
1265
|
+
# attribute_names: ["All"], # accepts All, Policy, VisibilityTimeout, MaximumMessageSize, MessageRetentionPeriod, ApproximateNumberOfMessages, ApproximateNumberOfMessagesNotVisible, CreatedTimestamp, LastModifiedTimestamp, QueueArn, ApproximateNumberOfMessagesDelayed, DelaySeconds, ReceiveMessageWaitTimeSeconds, RedrivePolicy, FifoQueue, ContentBasedDeduplication, KmsMasterKeyId, KmsDataKeyReusePeriodSeconds, DeduplicationScope, FifoThroughputLimit
|
1174
1266
|
# })
|
1175
1267
|
#
|
1176
1268
|
# @example Response structure
|
@@ -1302,8 +1394,8 @@ module Aws::SQS
|
|
1302
1394
|
# *Amazon Simple Queue Service Developer Guide*.
|
1303
1395
|
#
|
1304
1396
|
# <note markdown="1"> Cross-account permissions don't apply to this action. For more
|
1305
|
-
# information, see [Grant
|
1306
|
-
#
|
1397
|
+
# information, see [Grant cross-account permissions to a role and a user
|
1398
|
+
# name][2] in the *Amazon Simple Queue Service Developer Guide*.
|
1307
1399
|
#
|
1308
1400
|
# </note>
|
1309
1401
|
#
|
@@ -1353,8 +1445,8 @@ module Aws::SQS
|
|
1353
1445
|
# request to `listQueues` to receive the next page of results.
|
1354
1446
|
#
|
1355
1447
|
# <note markdown="1"> Cross-account permissions don't apply to this action. For more
|
1356
|
-
# information, see [Grant
|
1357
|
-
#
|
1448
|
+
# information, see [Grant cross-account permissions to a role and a user
|
1449
|
+
# name][1] in the *Amazon Simple Queue Service Developer Guide*.
|
1358
1450
|
#
|
1359
1451
|
# </note>
|
1360
1452
|
#
|
@@ -1667,7 +1759,7 @@ module Aws::SQS
|
|
1667
1759
|
#
|
1668
1760
|
# resp = client.receive_message({
|
1669
1761
|
# queue_url: "String", # required
|
1670
|
-
# attribute_names: ["All"], # accepts All, Policy, VisibilityTimeout, MaximumMessageSize, MessageRetentionPeriod, ApproximateNumberOfMessages, ApproximateNumberOfMessagesNotVisible, CreatedTimestamp, LastModifiedTimestamp, QueueArn, ApproximateNumberOfMessagesDelayed, DelaySeconds, ReceiveMessageWaitTimeSeconds, RedrivePolicy, FifoQueue, ContentBasedDeduplication, KmsMasterKeyId, KmsDataKeyReusePeriodSeconds
|
1762
|
+
# attribute_names: ["All"], # accepts All, Policy, VisibilityTimeout, MaximumMessageSize, MessageRetentionPeriod, ApproximateNumberOfMessages, ApproximateNumberOfMessagesNotVisible, CreatedTimestamp, LastModifiedTimestamp, QueueArn, ApproximateNumberOfMessagesDelayed, DelaySeconds, ReceiveMessageWaitTimeSeconds, RedrivePolicy, FifoQueue, ContentBasedDeduplication, KmsMasterKeyId, KmsDataKeyReusePeriodSeconds, DeduplicationScope, FifoThroughputLimit
|
1671
1763
|
# message_attribute_names: ["MessageAttributeName"],
|
1672
1764
|
# max_number_of_messages: 1,
|
1673
1765
|
# visibility_timeout: 1,
|
@@ -1709,8 +1801,8 @@ module Aws::SQS
|
|
1709
1801
|
# <note markdown="1"> * Only the owner of a queue can remove permissions from it.
|
1710
1802
|
#
|
1711
1803
|
# * Cross-account permissions don't apply to this action. For more
|
1712
|
-
# information, see [Grant
|
1713
|
-
#
|
1804
|
+
# information, see [Grant cross-account permissions to a role and a
|
1805
|
+
# user name][1] in the *Amazon Simple Queue Service Developer Guide*.
|
1714
1806
|
#
|
1715
1807
|
# * To remove the ability to change queue permissions, you must deny
|
1716
1808
|
# permission to the `AddPermission`, `RemovePermission`, and
|
@@ -2085,8 +2177,8 @@ module Aws::SQS
|
|
2085
2177
|
# it can handle new attributes gracefully.
|
2086
2178
|
#
|
2087
2179
|
# * Cross-account permissions don't apply to this action. For more
|
2088
|
-
# information, see [Grant
|
2089
|
-
#
|
2180
|
+
# information, see [Grant cross-account permissions to a role and a
|
2181
|
+
# user name][1] in the *Amazon Simple Queue Service Developer Guide*.
|
2090
2182
|
#
|
2091
2183
|
# * To remove the ability to change queue permissions, you must deny
|
2092
2184
|
# permission to the `AddPermission`, `RemovePermission`, and
|
@@ -2181,9 +2273,9 @@ module Aws::SQS
|
|
2181
2273
|
#
|
2182
2274
|
# * `ContentBasedDeduplication` – Enables content-based deduplication.
|
2183
2275
|
# For more information, see [Exactly-Once Processing][10] in the
|
2184
|
-
# *Amazon Simple Queue Service Developer Guide*.
|
2276
|
+
# *Amazon Simple Queue Service Developer Guide*. Note the following:
|
2185
2277
|
#
|
2186
|
-
# * Every message must have a unique `MessageDeduplicationId
|
2278
|
+
# * Every message must have a unique `MessageDeduplicationId`.
|
2187
2279
|
#
|
2188
2280
|
# * You may provide a `MessageDeduplicationId` explicitly.
|
2189
2281
|
#
|
@@ -2211,6 +2303,50 @@ module Aws::SQS
|
|
2211
2303
|
# `MessageDeduplicationId`, the two messages are treated as
|
2212
2304
|
# duplicates and only one copy of the message is delivered.
|
2213
2305
|
#
|
2306
|
+
# **Preview: High throughput for FIFO queues**
|
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:
|
2315
|
+
#
|
2316
|
+
# * `DeduplicationScope` – Specifies whether message deduplication
|
2317
|
+
# occurs at the message group or queue level. Valid values are
|
2318
|
+
# `messageGroup` and `queue`.
|
2319
|
+
#
|
2320
|
+
# * `FifoThroughputLimit` – Specifies whether the FIFO queue throughput
|
2321
|
+
# quota applies to the entire queue or per message group. Valid values
|
2322
|
+
# are `perQueue` and `perMessageGroupId`. The `perMessageGroupId`
|
2323
|
+
# value is allowed only when the value for `DeduplicationScope` is
|
2324
|
+
# `messageGroup`.
|
2325
|
+
#
|
2326
|
+
# To enable high throughput for FIFO queues, do the following:
|
2327
|
+
#
|
2328
|
+
# * Set `DeduplicationScope` to `messageGroup`.
|
2329
|
+
#
|
2330
|
+
# * Set `FifoThroughputLimit` to `perMessageGroupId`.
|
2331
|
+
#
|
2332
|
+
# If you set these attributes to anything other than the values shown
|
2333
|
+
# for enabling high throughput, standard throughput is in effect and
|
2334
|
+
# deduplication occurs as specified.
|
2335
|
+
#
|
2336
|
+
# This preview is available in the following AWS Regions:
|
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*.
|
2349
|
+
#
|
2214
2350
|
#
|
2215
2351
|
#
|
2216
2352
|
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/PoliciesOverview.html
|
@@ -2223,6 +2359,8 @@ module Aws::SQS
|
|
2223
2359
|
# [8]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html#sqs-how-does-the-data-key-reuse-period-work
|
2224
2360
|
# [9]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html
|
2225
2361
|
# [10]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html#FIFO-queues-exactly-once-processing
|
2362
|
+
# [11]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/quotas-messages.html
|
2363
|
+
# [12]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/high-throughput-fifo.html
|
2226
2364
|
#
|
2227
2365
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2228
2366
|
#
|
@@ -2264,8 +2402,8 @@ module Aws::SQS
|
|
2264
2402
|
# in the *Amazon Simple Queue Service Developer Guide*.
|
2265
2403
|
#
|
2266
2404
|
# <note markdown="1"> Cross-account permissions don't apply to this action. For more
|
2267
|
-
# information, see [Grant
|
2268
|
-
#
|
2405
|
+
# information, see [Grant cross-account permissions to a role and a user
|
2406
|
+
# name][3] in the *Amazon Simple Queue Service Developer Guide*.
|
2269
2407
|
#
|
2270
2408
|
# </note>
|
2271
2409
|
#
|
@@ -2306,8 +2444,8 @@ module Aws::SQS
|
|
2306
2444
|
# Simple Queue Service Developer Guide*.
|
2307
2445
|
#
|
2308
2446
|
# <note markdown="1"> Cross-account permissions don't apply to this action. For more
|
2309
|
-
# information, see [Grant
|
2310
|
-
#
|
2447
|
+
# information, see [Grant cross-account permissions to a role and a user
|
2448
|
+
# name][2] in the *Amazon Simple Queue Service Developer Guide*.
|
2311
2449
|
#
|
2312
2450
|
# </note>
|
2313
2451
|
#
|
@@ -2353,7 +2491,7 @@ module Aws::SQS
|
|
2353
2491
|
params: params,
|
2354
2492
|
config: config)
|
2355
2493
|
context[:gem_name] = 'aws-sdk-sqs'
|
2356
|
-
context[:gem_version] = '1.
|
2494
|
+
context[:gem_version] = '1.35.0'
|
2357
2495
|
Seahorse::Client::Request.new(handlers, context)
|
2358
2496
|
end
|
2359
2497
|
|
data/lib/aws-sdk-sqs/queue.rb
CHANGED
@@ -195,7 +195,7 @@ module Aws::SQS
|
|
195
195
|
# @example Request syntax with placeholder values
|
196
196
|
#
|
197
197
|
# message = queue.receive_messages({
|
198
|
-
# attribute_names: ["All"], # accepts All, Policy, VisibilityTimeout, MaximumMessageSize, MessageRetentionPeriod, ApproximateNumberOfMessages, ApproximateNumberOfMessagesNotVisible, CreatedTimestamp, LastModifiedTimestamp, QueueArn, ApproximateNumberOfMessagesDelayed, DelaySeconds, ReceiveMessageWaitTimeSeconds, RedrivePolicy, FifoQueue, ContentBasedDeduplication, KmsMasterKeyId, KmsDataKeyReusePeriodSeconds
|
198
|
+
# attribute_names: ["All"], # accepts All, Policy, VisibilityTimeout, MaximumMessageSize, MessageRetentionPeriod, ApproximateNumberOfMessages, ApproximateNumberOfMessagesNotVisible, CreatedTimestamp, LastModifiedTimestamp, QueueArn, ApproximateNumberOfMessagesDelayed, DelaySeconds, ReceiveMessageWaitTimeSeconds, RedrivePolicy, FifoQueue, ContentBasedDeduplication, KmsMasterKeyId, KmsDataKeyReusePeriodSeconds, DeduplicationScope, FifoThroughputLimit
|
199
199
|
# message_attribute_names: ["MessageAttributeName"],
|
200
200
|
# max_number_of_messages: 1,
|
201
201
|
# visibility_timeout: 1,
|
@@ -682,9 +682,9 @@ module Aws::SQS
|
|
682
682
|
#
|
683
683
|
# * `ContentBasedDeduplication` – Enables content-based deduplication.
|
684
684
|
# For more information, see [Exactly-Once Processing][10] in the
|
685
|
-
# *Amazon Simple Queue Service Developer Guide*.
|
685
|
+
# *Amazon Simple Queue Service Developer Guide*. Note the following:
|
686
686
|
#
|
687
|
-
# * Every message must have a unique `MessageDeduplicationId
|
687
|
+
# * Every message must have a unique `MessageDeduplicationId`.
|
688
688
|
#
|
689
689
|
# * You may provide a `MessageDeduplicationId` explicitly.
|
690
690
|
#
|
@@ -712,6 +712,50 @@ 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
|
+
# **Preview: High throughput for FIFO queues**
|
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:
|
724
|
+
#
|
725
|
+
# * `DeduplicationScope` – Specifies whether message deduplication
|
726
|
+
# occurs at the message group or queue level. Valid values are
|
727
|
+
# `messageGroup` and `queue`.
|
728
|
+
#
|
729
|
+
# * `FifoThroughputLimit` – Specifies whether the FIFO queue throughput
|
730
|
+
# quota applies to the entire queue or per message group. Valid values
|
731
|
+
# are `perQueue` and `perMessageGroupId`. The `perMessageGroupId`
|
732
|
+
# value is allowed only when the value for `DeduplicationScope` is
|
733
|
+
# `messageGroup`.
|
734
|
+
#
|
735
|
+
# To enable high throughput for FIFO queues, do the following:
|
736
|
+
#
|
737
|
+
# * Set `DeduplicationScope` to `messageGroup`.
|
738
|
+
#
|
739
|
+
# * Set `FifoThroughputLimit` to `perMessageGroupId`.
|
740
|
+
#
|
741
|
+
# If you set these attributes to anything other than the values shown
|
742
|
+
# for enabling high throughput, standard throughput is in effect and
|
743
|
+
# deduplication occurs as specified.
|
744
|
+
#
|
745
|
+
# This preview is available in the following AWS Regions:
|
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*.
|
758
|
+
#
|
715
759
|
#
|
716
760
|
#
|
717
761
|
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/PoliciesOverview.html
|
@@ -724,6 +768,8 @@ module Aws::SQS
|
|
724
768
|
# [8]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html#sqs-how-does-the-data-key-reuse-period-work
|
725
769
|
# [9]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html
|
726
770
|
# [10]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html#FIFO-queues-exactly-once-processing
|
771
|
+
# [11]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/quotas-messages.html
|
772
|
+
# [12]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/high-throughput-fifo.html
|
727
773
|
# @return [EmptyStructure]
|
728
774
|
def set_attributes(options = {})
|
729
775
|
options = options.merge(queue_url: @url)
|
data/lib/aws-sdk-sqs/resource.rb
CHANGED
@@ -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
@@ -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.35.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: 2020-
|
11
|
+
date: 2020-12-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|