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.
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 1.39.0
data/lib/aws-sdk-sqs.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/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -50,6 +50,6 @@ require_relative 'aws-sdk-sqs/customizations'
50
50
  # @!group service
51
51
  module Aws::SQS
52
52
 
53
- GEM_VERSION = '1.34.0'
53
+ GEM_VERSION = '1.39.0'
54
54
 
55
55
  end
@@ -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/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -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 Cross-Account Permissions to a Role and a User
372
- # Name][4] in the *Amazon Simple Queue Service Developer Guide*.
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 Cross-Account Permissions to a Role and a User
657
- # Name][3] in the *Amazon Simple Queue Service Developer Guide*.
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: `true`,
756
- # `false`. If you don't specify the `FifoQueue` attribute, Amazon SQS
757
- # creates a standard queue. You can provide this attribute only during
758
- # queue creation. You can't change it for an existing queue. When you
759
- # set this attribute, you must also provide the `MessageGroupId` for
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
- # For more information, see [FIFO Queue Logic][10] in the *Amazon
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: `true`, `false`. For more information, see
767
- # [Exactly-Once Processing][11] in the *Amazon Simple Queue Service
768
- # Developer Guide*.
766
+ # Valid values are `true` and `false`. For more information, see
767
+ # [Exactly-once processing][11] in the *Amazon Simple Queue Service
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,32 @@ 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
+ # The following attributes apply only to [high throughput for FIFO
799
+ # queues][12]\:
800
+ #
801
+ # * `DeduplicationScope` – Specifies whether message deduplication
802
+ # occurs at the message group or queue level. Valid values are
803
+ # `messageGroup` and `queue`.
804
+ #
805
+ # * `FifoThroughputLimit` – Specifies whether the FIFO queue throughput
806
+ # quota applies to the entire queue or per message group. Valid values
807
+ # are `perQueue` and `perMessageGroupId`. The `perMessageGroupId`
808
+ # value is allowed only when the value for `DeduplicationScope` is
809
+ # `messageGroup`.
810
+ #
811
+ # To enable high throughput for FIFO queues, do the following:
812
+ #
813
+ # * Set `DeduplicationScope` to `messageGroup`.
814
+ #
815
+ # * Set `FifoThroughputLimit` to `perMessageGroupId`.
816
+ #
817
+ # If you set these attributes to anything other than the values shown
818
+ # for enabling high throughput, normal throughput is in effect and
819
+ # deduplication occurs as specified.
820
+ #
821
+ # For information on throughput quotas, see [Quotas related to
822
+ # messages][13] in the *Amazon Simple Queue Service Developer Guide*.
823
+ #
798
824
  #
799
825
  #
800
826
  # [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/PoliciesOverview.html
@@ -806,8 +832,10 @@ module Aws::SQS
806
832
  # [7]: https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#data-keys
807
833
  # [8]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html#sqs-how-does-the-data-key-reuse-period-work
808
834
  # [9]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html
809
- # [10]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html#FIFO-queues-understanding-logic
810
- # [11]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html#FIFO-queues-exactly-once-processing
835
+ # [10]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues-understanding-logic.html
836
+ # [11]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues-exactly-once-processing.html
837
+ # [12]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/high-throughput-fifo.html
838
+ # [13]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/quotas-messages.html
811
839
  #
812
840
  # @option params [Hash<String,String>] :tags
813
841
  # Add cost allocation tags to the specified Amazon SQS queue. For an
@@ -833,8 +861,8 @@ module Aws::SQS
833
861
  # `sqs:CreateQueue` and `sqs:TagQueue` permissions.
834
862
  #
835
863
  # Cross-account permissions don't apply to this action. For more
836
- # information, see [Grant Cross-Account Permissions to a Role and a User
837
- # Name][3] in the *Amazon Simple Queue Service Developer Guide*.
864
+ # information, see [Grant cross-account permissions to a role and a user
865
+ # name][3] in the *Amazon Simple Queue Service Developer Guide*.
838
866
  #
839
867
  # </note>
840
868
  #
@@ -999,8 +1027,8 @@ module Aws::SQS
999
1027
  # creating a queue with the same name.
1000
1028
  #
1001
1029
  # <note markdown="1"> Cross-account permissions don't apply to this action. For more
1002
- # information, see [Grant Cross-Account Permissions to a Role and a User
1003
- # Name][1] in the *Amazon Simple Queue Service Developer Guide*.
1030
+ # information, see [Grant cross-account permissions to a role and a user
1031
+ # name][1] in the *Amazon Simple Queue Service Developer Guide*.
1004
1032
  #
1005
1033
  # </note>
1006
1034
  #
@@ -1136,9 +1164,9 @@ module Aws::SQS
1136
1164
  # The following attributes apply only to [FIFO (first-in-first-out)
1137
1165
  # queues][7]\:
1138
1166
  #
1139
- # * `FifoQueue` – Returns whether the queue is FIFO. For more
1140
- # information, see [FIFO Queue Logic][8] in the *Amazon Simple Queue
1141
- # Service Developer Guide*.
1167
+ # * `FifoQueue` – Returns information about whether the queue is FIFO.
1168
+ # For more information, see [FIFO queue logic][8] in the *Amazon
1169
+ # Simple Queue Service Developer Guide*.
1142
1170
  #
1143
1171
  # <note markdown="1"> To determine whether a queue is [FIFO][7], you can check whether
1144
1172
  # `QueueName` ends with the `.fifo` suffix.
@@ -1147,9 +1175,35 @@ module Aws::SQS
1147
1175
  #
1148
1176
  # * `ContentBasedDeduplication` – Returns whether content-based
1149
1177
  # deduplication is enabled for the queue. For more information, see
1150
- # [Exactly-Once Processing][9] in the *Amazon Simple Queue Service
1178
+ # [Exactly-once processing][9] in the *Amazon Simple Queue Service
1151
1179
  # Developer Guide*.
1152
1180
  #
1181
+ # The following attributes apply only to [high throughput for FIFO
1182
+ # queues][10]\:
1183
+ #
1184
+ # * `DeduplicationScope` – Specifies whether message deduplication
1185
+ # occurs at the message group or queue level. Valid values are
1186
+ # `messageGroup` and `queue`.
1187
+ #
1188
+ # * `FifoThroughputLimit` – Specifies whether the FIFO queue throughput
1189
+ # quota applies to the entire queue or per message group. Valid values
1190
+ # are `perQueue` and `perMessageGroupId`. The `perMessageGroupId`
1191
+ # value is allowed only when the value for `DeduplicationScope` is
1192
+ # `messageGroup`.
1193
+ #
1194
+ # To enable high throughput for FIFO queues, do the following:
1195
+ #
1196
+ # * Set `DeduplicationScope` to `messageGroup`.
1197
+ #
1198
+ # * Set `FifoThroughputLimit` to `perMessageGroupId`.
1199
+ #
1200
+ # If you set these attributes to anything other than the values shown
1201
+ # for enabling high throughput, normal throughput is in effect and
1202
+ # deduplication occurs as specified.
1203
+ #
1204
+ # For information on throughput quotas, see [Quotas related to
1205
+ # messages][11] in the *Amazon Simple Queue Service Developer Guide*.
1206
+ #
1153
1207
  #
1154
1208
  #
1155
1209
  # [1]: http://en.wikipedia.org/wiki/Unix_time
@@ -1159,8 +1213,10 @@ module Aws::SQS
1159
1213
  # [5]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html#sqs-sse-key-terms
1160
1214
  # [6]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html#sqs-how-does-the-data-key-reuse-period-work
1161
1215
  # [7]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html
1162
- # [8]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html#FIFO-queues-understanding-logic
1163
- # [9]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html#FIFO-queues-exactly-once-processing
1216
+ # [8]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues-understanding-logic.html
1217
+ # [9]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues-exactly-once-processing.html
1218
+ # [10]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/high-throughput-fifo.html
1219
+ # [11]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/quotas-messages.html
1164
1220
  #
1165
1221
  # @return [Types::GetQueueAttributesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1166
1222
  #
@@ -1170,7 +1226,7 @@ module Aws::SQS
1170
1226
  #
1171
1227
  # resp = client.get_queue_attributes({
1172
1228
  # 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
1229
+ # 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
1230
  # })
1175
1231
  #
1176
1232
  # @example Response structure
@@ -1302,8 +1358,8 @@ module Aws::SQS
1302
1358
  # *Amazon Simple Queue Service Developer Guide*.
1303
1359
  #
1304
1360
  # <note markdown="1"> Cross-account permissions don't apply to this action. For more
1305
- # information, see [Grant Cross-Account Permissions to a Role and a User
1306
- # Name][2] in the *Amazon Simple Queue Service Developer Guide*.
1361
+ # information, see [Grant cross-account permissions to a role and a user
1362
+ # name][2] in the *Amazon Simple Queue Service Developer Guide*.
1307
1363
  #
1308
1364
  # </note>
1309
1365
  #
@@ -1353,8 +1409,8 @@ module Aws::SQS
1353
1409
  # request to `listQueues` to receive the next page of results.
1354
1410
  #
1355
1411
  # <note markdown="1"> Cross-account permissions don't apply to this action. For more
1356
- # information, see [Grant Cross-Account Permissions to a Role and a User
1357
- # Name][1] in the *Amazon Simple Queue Service Developer Guide*.
1412
+ # information, see [Grant cross-account permissions to a role and a user
1413
+ # name][1] in the *Amazon Simple Queue Service Developer Guide*.
1358
1414
  #
1359
1415
  # </note>
1360
1416
  #
@@ -1667,7 +1723,7 @@ module Aws::SQS
1667
1723
  #
1668
1724
  # resp = client.receive_message({
1669
1725
  # 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
1726
+ # 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
1727
  # message_attribute_names: ["MessageAttributeName"],
1672
1728
  # max_number_of_messages: 1,
1673
1729
  # visibility_timeout: 1,
@@ -1709,8 +1765,8 @@ module Aws::SQS
1709
1765
  # <note markdown="1"> * Only the owner of a queue can remove permissions from it.
1710
1766
  #
1711
1767
  # * Cross-account permissions don't apply to this action. For more
1712
- # information, see [Grant Cross-Account Permissions to a Role and a
1713
- # User Name][1] in the *Amazon Simple Queue Service Developer Guide*.
1768
+ # information, see [Grant cross-account permissions to a role and a
1769
+ # user name][1] in the *Amazon Simple Queue Service Developer Guide*.
1714
1770
  #
1715
1771
  # * To remove the ability to change queue permissions, you must deny
1716
1772
  # permission to the `AddPermission`, `RemovePermission`, and
@@ -1825,7 +1881,7 @@ module Aws::SQS
1825
1881
  # particular `MessageDeduplicationId` is sent successfully, any messages
1826
1882
  # sent with the same `MessageDeduplicationId` are accepted successfully
1827
1883
  # but aren't delivered during the 5-minute deduplication interval. For
1828
- # more information, see [ Exactly-Once Processing][1] in the *Amazon
1884
+ # more information, see [ Exactly-once processing][1] in the *Amazon
1829
1885
  # Simple Queue Service Developer Guide*.
1830
1886
  #
1831
1887
  # * Every message must have a unique `MessageDeduplicationId`,
@@ -1877,7 +1933,7 @@ module Aws::SQS
1877
1933
  #
1878
1934
  #
1879
1935
  #
1880
- # [1]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html#FIFO-queues-exactly-once-processing
1936
+ # [1]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues-exactly-once-processing.html
1881
1937
  # [2]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/using-messagededuplicationid-property.html
1882
1938
  #
1883
1939
  # @option params [String] :message_group_id
@@ -2085,8 +2141,8 @@ module Aws::SQS
2085
2141
  # it can handle new attributes gracefully.
2086
2142
  #
2087
2143
  # * Cross-account permissions don't apply to this action. For more
2088
- # information, see [Grant Cross-Account Permissions to a Role and a
2089
- # User Name][1] in the *Amazon Simple Queue Service Developer Guide*.
2144
+ # information, see [Grant cross-account permissions to a role and a
2145
+ # user name][1] in the *Amazon Simple Queue Service Developer Guide*.
2090
2146
  #
2091
2147
  # * To remove the ability to change queue permissions, you must deny
2092
2148
  # permission to the `AddPermission`, `RemovePermission`, and
@@ -2180,10 +2236,10 @@ module Aws::SQS
2180
2236
  # queues][9]\:
2181
2237
  #
2182
2238
  # * `ContentBasedDeduplication` – Enables content-based deduplication.
2183
- # For more information, see [Exactly-Once Processing][10] in the
2184
- # *Amazon Simple Queue Service Developer Guide*.
2239
+ # For more information, see [Exactly-once processing][10] in the
2240
+ # *Amazon Simple Queue Service Developer Guide*. Note the following:
2185
2241
  #
2186
- # * Every message must have a unique `MessageDeduplicationId`,
2242
+ # * Every message must have a unique `MessageDeduplicationId`.
2187
2243
  #
2188
2244
  # * You may provide a `MessageDeduplicationId` explicitly.
2189
2245
  #
@@ -2211,6 +2267,32 @@ module Aws::SQS
2211
2267
  # `MessageDeduplicationId`, the two messages are treated as
2212
2268
  # duplicates and only one copy of the message is delivered.
2213
2269
  #
2270
+ # The following attributes apply only to [high throughput for FIFO
2271
+ # queues][11]\:
2272
+ #
2273
+ # * `DeduplicationScope` – Specifies whether message deduplication
2274
+ # occurs at the message group or queue level. Valid values are
2275
+ # `messageGroup` and `queue`.
2276
+ #
2277
+ # * `FifoThroughputLimit` – Specifies whether the FIFO queue throughput
2278
+ # quota applies to the entire queue or per message group. Valid values
2279
+ # are `perQueue` and `perMessageGroupId`. The `perMessageGroupId`
2280
+ # value is allowed only when the value for `DeduplicationScope` is
2281
+ # `messageGroup`.
2282
+ #
2283
+ # To enable high throughput for FIFO queues, do the following:
2284
+ #
2285
+ # * Set `DeduplicationScope` to `messageGroup`.
2286
+ #
2287
+ # * Set `FifoThroughputLimit` to `perMessageGroupId`.
2288
+ #
2289
+ # If you set these attributes to anything other than the values shown
2290
+ # for enabling high throughput, normal throughput is in effect and
2291
+ # deduplication occurs as specified.
2292
+ #
2293
+ # For information on throughput quotas, see [Quotas related to
2294
+ # messages][12] in the *Amazon Simple Queue Service Developer Guide*.
2295
+ #
2214
2296
  #
2215
2297
  #
2216
2298
  # [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/PoliciesOverview.html
@@ -2222,7 +2304,9 @@ module Aws::SQS
2222
2304
  # [7]: https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#data-keys
2223
2305
  # [8]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html#sqs-how-does-the-data-key-reuse-period-work
2224
2306
  # [9]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html
2225
- # [10]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html#FIFO-queues-exactly-once-processing
2307
+ # [10]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues-exactly-once-processing.html
2308
+ # [11]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/high-throughput-fifo.html
2309
+ # [12]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/quotas-messages.html
2226
2310
  #
2227
2311
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2228
2312
  #
@@ -2264,8 +2348,8 @@ module Aws::SQS
2264
2348
  # in the *Amazon Simple Queue Service Developer Guide*.
2265
2349
  #
2266
2350
  # <note markdown="1"> Cross-account permissions don't apply to this action. For more
2267
- # information, see [Grant Cross-Account Permissions to a Role and a User
2268
- # Name][3] in the *Amazon Simple Queue Service Developer Guide*.
2351
+ # information, see [Grant cross-account permissions to a role and a user
2352
+ # name][3] in the *Amazon Simple Queue Service Developer Guide*.
2269
2353
  #
2270
2354
  # </note>
2271
2355
  #
@@ -2306,8 +2390,8 @@ module Aws::SQS
2306
2390
  # Simple Queue Service Developer Guide*.
2307
2391
  #
2308
2392
  # <note markdown="1"> Cross-account permissions don't apply to this action. For more
2309
- # information, see [Grant Cross-Account Permissions to a Role and a User
2310
- # Name][2] in the *Amazon Simple Queue Service Developer Guide*.
2393
+ # information, see [Grant cross-account permissions to a role and a user
2394
+ # name][2] in the *Amazon Simple Queue Service Developer Guide*.
2311
2395
  #
2312
2396
  # </note>
2313
2397
  #
@@ -2353,7 +2437,7 @@ module Aws::SQS
2353
2437
  params: params,
2354
2438
  config: config)
2355
2439
  context[:gem_name] = 'aws-sdk-sqs'
2356
- context[:gem_version] = '1.34.0'
2440
+ context[:gem_version] = '1.39.0'
2357
2441
  Seahorse::Client::Request.new(handlers, context)
2358
2442
  end
2359
2443
 
@@ -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/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -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/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -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/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -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/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -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,
@@ -461,7 +461,7 @@ module Aws::SQS
461
461
  # particular `MessageDeduplicationId` is sent successfully, any messages
462
462
  # sent with the same `MessageDeduplicationId` are accepted successfully
463
463
  # but aren't delivered during the 5-minute deduplication interval. For
464
- # more information, see [ Exactly-Once Processing][1] in the *Amazon
464
+ # more information, see [ Exactly-once processing][1] in the *Amazon
465
465
  # Simple Queue Service Developer Guide*.
466
466
  #
467
467
  # * Every message must have a unique `MessageDeduplicationId`,
@@ -513,7 +513,7 @@ module Aws::SQS
513
513
  #
514
514
  #
515
515
  #
516
- # [1]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html#FIFO-queues-exactly-once-processing
516
+ # [1]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues-exactly-once-processing.html
517
517
  # [2]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/using-messagededuplicationid-property.html
518
518
  # @option options [String] :message_group_id
519
519
  # This parameter applies only to FIFO (first-in-first-out) queues.
@@ -681,10 +681,10 @@ module Aws::SQS
681
681
  # queues][9]\:
682
682
  #
683
683
  # * `ContentBasedDeduplication` – Enables content-based deduplication.
684
- # For more information, see [Exactly-Once Processing][10] in the
685
- # *Amazon Simple Queue Service Developer Guide*.
684
+ # For more information, see [Exactly-once processing][10] in the
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,32 @@ 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
+ # The following attributes apply only to [high throughput for FIFO
716
+ # queues][11]\:
717
+ #
718
+ # * `DeduplicationScope` – Specifies whether message deduplication
719
+ # occurs at the message group or queue level. Valid values are
720
+ # `messageGroup` and `queue`.
721
+ #
722
+ # * `FifoThroughputLimit` – Specifies whether the FIFO queue throughput
723
+ # quota applies to the entire queue or per message group. Valid values
724
+ # are `perQueue` and `perMessageGroupId`. The `perMessageGroupId`
725
+ # value is allowed only when the value for `DeduplicationScope` is
726
+ # `messageGroup`.
727
+ #
728
+ # To enable high throughput for FIFO queues, do the following:
729
+ #
730
+ # * Set `DeduplicationScope` to `messageGroup`.
731
+ #
732
+ # * Set `FifoThroughputLimit` to `perMessageGroupId`.
733
+ #
734
+ # If you set these attributes to anything other than the values shown
735
+ # for enabling high throughput, normal throughput is in effect and
736
+ # deduplication occurs as specified.
737
+ #
738
+ # For information on throughput quotas, see [Quotas related to
739
+ # messages][12] in the *Amazon Simple Queue Service Developer Guide*.
740
+ #
715
741
  #
716
742
  #
717
743
  # [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/PoliciesOverview.html
@@ -723,7 +749,9 @@ module Aws::SQS
723
749
  # [7]: https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#data-keys
724
750
  # [8]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html#sqs-how-does-the-data-key-reuse-period-work
725
751
  # [9]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html
726
- # [10]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html#FIFO-queues-exactly-once-processing
752
+ # [10]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues-exactly-once-processing.html
753
+ # [11]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/high-throughput-fifo.html
754
+ # [12]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/quotas-messages.html
727
755
  # @return [EmptyStructure]
728
756
  def set_attributes(options = {})
729
757
  options = options.merge(queue_url: @url)