aws-sdk-sqs 1.18.1 → 1.19.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 +144 -153
- data/lib/aws-sdk-sqs/message.rb +1 -1
- data/lib/aws-sdk-sqs/queue.rb +21 -21
- data/lib/aws-sdk-sqs/resource.rb +16 -15
- data/lib/aws-sdk-sqs/types.rb +53 -52
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e975c10deedc016ad778ea5340952cac596ab3ba
|
4
|
+
data.tar.gz: ce43be20eea8067ea0fdde43777c0def6d93b3e7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a6d05f13cf457106da0aa64e1cc9261eabb95cc34cee491f3862cda54dda43ea571ceb11c926bd6c5c19f2435f380fc9df83adfd7ab0b5af3a9fe00f286b46e6
|
7
|
+
data.tar.gz: 3d55ca093aefc18b1f69a5a2f96d1b9ae0e2c3fa48339cd51eb360fc404d91e0025d4b99e2fffe22c4aa3eb4a148208a13724bdaa901eef381a471b0c28fab12
|
data/lib/aws-sdk-sqs.rb
CHANGED
data/lib/aws-sdk-sqs/client.rb
CHANGED
@@ -273,13 +273,16 @@ module Aws::SQS
|
|
273
273
|
# Developers to Write Messages to a Shared Queue][2] in the *Amazon
|
274
274
|
# Simple Queue Service Developer Guide*.
|
275
275
|
#
|
276
|
-
# <note markdown="1"> `AddPermission`
|
277
|
-
#
|
278
|
-
#
|
279
|
-
#
|
280
|
-
#
|
276
|
+
# <note markdown="1"> * `AddPermission` generates a policy for you. You can use `
|
277
|
+
# SetQueueAttributes ` to upload your policy. For more information,
|
278
|
+
# see [Using Custom Policies with the Amazon SQS Access Policy
|
279
|
+
# Language][3] in the *Amazon Simple Queue Service Developer Guide*.
|
280
|
+
#
|
281
|
+
# * An Amazon SQS policy can have a maximum of 7 actions.
|
281
282
|
#
|
282
|
-
#
|
283
|
+
# * To remove the ability to change queue permissions, you must deny
|
284
|
+
# permission to the `AddPermission`, `RemovePermission`, and
|
285
|
+
# `SetQueueAttributes` actions in your IAM policy.
|
283
286
|
#
|
284
287
|
# </note>
|
285
288
|
#
|
@@ -292,17 +295,17 @@ module Aws::SQS
|
|
292
295
|
# `&Attribute.2=second`
|
293
296
|
#
|
294
297
|
# <note markdown="1"> Cross-account permissions don't apply to this action. For more
|
295
|
-
# information, see
|
296
|
-
#
|
298
|
+
# information, see [Grant Cross-Account Permissions to a Role and a User
|
299
|
+
# Name][4] in the *Amazon Simple Queue Service Developer Guide*.
|
297
300
|
#
|
298
301
|
# </note>
|
299
302
|
#
|
300
303
|
#
|
301
304
|
#
|
302
|
-
# [1]:
|
303
|
-
# [2]:
|
304
|
-
# [3]:
|
305
|
-
# [4]:
|
305
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/glos-chap.html#P
|
306
|
+
# [2]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-writing-an-sqs-policy.html#write-messages-to-shared-queue
|
307
|
+
# [3]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-creating-custom-policies.html
|
308
|
+
# [4]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-customer-managed-policy-examples.html#grant-cross-account-permissions-to-role-and-user-name
|
306
309
|
#
|
307
310
|
# @option params [required, String] :queue_url
|
308
311
|
# The URL of the Amazon SQS queue to which permissions are added.
|
@@ -324,8 +327,8 @@ module Aws::SQS
|
|
324
327
|
#
|
325
328
|
#
|
326
329
|
#
|
327
|
-
# [1]:
|
328
|
-
# [2]:
|
330
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/glos-chap.html#P
|
331
|
+
# [2]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-making-api-requests.html#sqs-api-request-authentication
|
329
332
|
#
|
330
333
|
# @option params [required, Array<String>] :actions
|
331
334
|
# The action the client wants to allow for the specified principal.
|
@@ -343,7 +346,7 @@ module Aws::SQS
|
|
343
346
|
#
|
344
347
|
#
|
345
348
|
#
|
346
|
-
# [1]:
|
349
|
+
# [1]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-overview-of-managing-access.html
|
347
350
|
#
|
348
351
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
349
352
|
#
|
@@ -366,29 +369,49 @@ module Aws::SQS
|
|
366
369
|
end
|
367
370
|
|
368
371
|
# Changes the visibility timeout of a specified message in a queue to a
|
369
|
-
# new value. The
|
372
|
+
# new value. The default visibility timeout for a message is 30 seconds.
|
373
|
+
# The minimum is 0 seconds. The maximum is 12 hours. For more
|
370
374
|
# information, see [Visibility Timeout][1] in the *Amazon Simple Queue
|
371
375
|
# Service Developer Guide*.
|
372
376
|
#
|
373
377
|
# For example, you have a message with a visibility timeout of 5
|
374
378
|
# minutes. After 3 minutes, you call `ChangeMessageVisibility` with a
|
375
379
|
# timeout of 10 minutes. You can continue to call
|
376
|
-
# `ChangeMessageVisibility` to extend the visibility timeout to
|
377
|
-
# maximum
|
378
|
-
# beyond
|
380
|
+
# `ChangeMessageVisibility` to extend the visibility timeout to the
|
381
|
+
# maximum allowed time. If you try to extend the visibility timeout
|
382
|
+
# beyond the maximum, your request is rejected.
|
383
|
+
#
|
384
|
+
# An Amazon SQS message has three basic states:
|
385
|
+
#
|
386
|
+
# 1. Sent to a queue by a producer.
|
387
|
+
#
|
388
|
+
# 2. Received from the queue by a consumer.
|
389
|
+
#
|
390
|
+
# 3. Deleted from the queue.
|
391
|
+
#
|
392
|
+
# A message is considered to be *stored* after it is sent to a queue by
|
393
|
+
# a producer, but not yet received from the queue by a consumer (that
|
394
|
+
# is, between states 1 and 2). There is no limit to the number of stored
|
395
|
+
# messages. A message is considered to be *in flight* after it is
|
396
|
+
# received from a queue by a consumer, but not yet deleted from the
|
397
|
+
# queue (that is, between states 2 and 3). There is a limit to the
|
398
|
+
# number of inflight messages.
|
379
399
|
#
|
380
|
-
#
|
381
|
-
#
|
400
|
+
# Limits that apply to inflight messages are unrelated to the
|
401
|
+
# *unlimited* number of stored messages.
|
382
402
|
#
|
383
|
-
# For standard queues
|
384
|
-
#
|
403
|
+
# For most standard queues (depending on queue traffic and message
|
404
|
+
# backlog), there can be a maximum of approximately 120,000 inflight
|
405
|
+
# messages (received from a queue by a consumer, but not yet deleted
|
406
|
+
# from the queue). If you reach this limit, Amazon SQS returns the
|
385
407
|
# `OverLimit` error message. To avoid reaching the limit, you should
|
386
408
|
# delete messages from the queue after they're processed. You can also
|
387
|
-
# increase the number of queues you use to process your messages.
|
409
|
+
# increase the number of queues you use to process your messages. To
|
410
|
+
# request a limit increase, [file a support request][2].
|
388
411
|
#
|
389
412
|
# For FIFO queues, there can be a maximum of 20,000 inflight messages
|
390
|
-
#
|
391
|
-
# messages.
|
413
|
+
# (received from a queue by a consumer, but not yet deleted from the
|
414
|
+
# queue). If you reach this limit, Amazon SQS returns no error messages.
|
392
415
|
#
|
393
416
|
# If you attempt to set the `VisibilityTimeout` to a value greater than
|
394
417
|
# the maximum time left, Amazon SQS returns an error. Amazon SQS
|
@@ -405,7 +428,8 @@ module Aws::SQS
|
|
405
428
|
#
|
406
429
|
#
|
407
430
|
#
|
408
|
-
# [1]:
|
431
|
+
# [1]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-visibility-timeout.html
|
432
|
+
# [2]: https://console.aws.amazon.com/support/home#/case/create?issueType=service-limit-increase&limitType=service-code-sqs
|
409
433
|
#
|
410
434
|
# @option params [required, String] :queue_url
|
411
435
|
# The URL of the Amazon SQS queue whose message's visibility is
|
@@ -551,16 +575,16 @@ module Aws::SQS
|
|
551
575
|
# `&Attribute.2=second`
|
552
576
|
#
|
553
577
|
# <note markdown="1"> Cross-account permissions don't apply to this action. For more
|
554
|
-
# information, see
|
555
|
-
#
|
578
|
+
# information, see [Grant Cross-Account Permissions to a Role and a User
|
579
|
+
# Name][3] in the *Amazon Simple Queue Service Developer Guide*.
|
556
580
|
#
|
557
581
|
# </note>
|
558
582
|
#
|
559
583
|
#
|
560
584
|
#
|
561
|
-
# [1]:
|
562
|
-
# [2]:
|
563
|
-
# [3]:
|
585
|
+
# [1]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html#FIFO-queues-moving
|
586
|
+
# [2]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/limits-queues.html
|
587
|
+
# [3]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-customer-managed-policy-examples.html#grant-cross-account-permissions-to-role-and-user-name
|
564
588
|
#
|
565
589
|
# @option params [required, String] :queue_name
|
566
590
|
# The name of the new queue. The following limits apply to this name:
|
@@ -651,10 +675,11 @@ module Aws::SQS
|
|
651
675
|
# queues][9]\:
|
652
676
|
#
|
653
677
|
# * `FifoQueue` - Designates a queue as FIFO. Valid values: `true`,
|
654
|
-
# `false`.
|
655
|
-
#
|
656
|
-
#
|
657
|
-
#
|
678
|
+
# `false`. If you don't specify the `FifoQueue` attribute, Amazon SQS
|
679
|
+
# creates a standard queue. You can provide this attribute only during
|
680
|
+
# queue creation. You can't change it for an existing queue. When you
|
681
|
+
# set this attribute, you must also provide the `MessageGroupId` for
|
682
|
+
# your messages explicitly.
|
658
683
|
#
|
659
684
|
# For more information, see [FIFO Queue Logic][10] in the *Amazon
|
660
685
|
# Simple Queue Service Developer Guide*.
|
@@ -694,17 +719,17 @@ module Aws::SQS
|
|
694
719
|
#
|
695
720
|
#
|
696
721
|
#
|
697
|
-
# [1]:
|
698
|
-
# [2]:
|
699
|
-
# [3]:
|
700
|
-
# [4]:
|
701
|
-
# [5]:
|
702
|
-
# [6]:
|
703
|
-
# [7]:
|
704
|
-
# [8]:
|
705
|
-
# [9]:
|
706
|
-
# [10]:
|
707
|
-
# [11]:
|
722
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/PoliciesOverview.html
|
723
|
+
# [2]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-dead-letter-queues.html
|
724
|
+
# [3]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-visibility-timeout.html
|
725
|
+
# [4]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html
|
726
|
+
# [5]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html#sqs-sse-key-terms
|
727
|
+
# [6]: https://docs.aws.amazon.com/kms/latest/APIReference/API_DescribeKey.html#API_DescribeKey_RequestParameters
|
728
|
+
# [7]: https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#data-keys
|
729
|
+
# [8]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html#sqs-how-does-the-data-key-reuse-period-work
|
730
|
+
# [9]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html
|
731
|
+
# [10]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html#FIFO-queues-understanding-logic
|
732
|
+
# [11]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html#FIFO-queues-exactly-once-processing
|
708
733
|
#
|
709
734
|
# @return [Types::CreateQueueResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
710
735
|
#
|
@@ -859,14 +884,14 @@ module Aws::SQS
|
|
859
884
|
# creating a queue with the same name.
|
860
885
|
#
|
861
886
|
# <note markdown="1"> Cross-account permissions don't apply to this action. For more
|
862
|
-
# information, see
|
863
|
-
#
|
887
|
+
# information, see [Grant Cross-Account Permissions to a Role and a User
|
888
|
+
# Name][1] in the *Amazon Simple Queue Service Developer Guide*.
|
864
889
|
#
|
865
890
|
# </note>
|
866
891
|
#
|
867
892
|
#
|
868
893
|
#
|
869
|
-
# [1]:
|
894
|
+
# [1]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-customer-managed-policy-examples.html#grant-cross-account-permissions-to-role-and-user-name
|
870
895
|
#
|
871
896
|
# @option params [required, String] :queue_url
|
872
897
|
# The URL of the Amazon SQS queue to delete.
|
@@ -907,7 +932,7 @@ module Aws::SQS
|
|
907
932
|
#
|
908
933
|
#
|
909
934
|
#
|
910
|
-
# [1]:
|
935
|
+
# [1]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html
|
911
936
|
#
|
912
937
|
# @option params [required, String] :queue_url
|
913
938
|
# The URL of the Amazon SQS queue whose attribute information is
|
@@ -1014,14 +1039,14 @@ module Aws::SQS
|
|
1014
1039
|
#
|
1015
1040
|
#
|
1016
1041
|
# [1]: http://en.wikipedia.org/wiki/Unix_time
|
1017
|
-
# [2]:
|
1018
|
-
# [3]:
|
1019
|
-
# [4]:
|
1020
|
-
# [5]:
|
1021
|
-
# [6]:
|
1022
|
-
# [7]:
|
1023
|
-
# [8]:
|
1024
|
-
# [9]:
|
1042
|
+
# [2]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-dead-letter-queues.html
|
1043
|
+
# [3]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-visibility-timeout.html
|
1044
|
+
# [4]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html
|
1045
|
+
# [5]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html#sqs-sse-key-terms
|
1046
|
+
# [6]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html#sqs-how-does-the-data-key-reuse-period-work
|
1047
|
+
# [7]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html
|
1048
|
+
# [8]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html#FIFO-queues-understanding-logic
|
1049
|
+
# [9]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html#FIFO-queues-exactly-once-processing
|
1025
1050
|
#
|
1026
1051
|
# @return [Types::GetQueueAttributesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1027
1052
|
#
|
@@ -1059,7 +1084,7 @@ module Aws::SQS
|
|
1059
1084
|
#
|
1060
1085
|
#
|
1061
1086
|
#
|
1062
|
-
# [1]:
|
1087
|
+
# [1]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-writing-an-sqs-policy.html#write-messages-to-shared-queue
|
1063
1088
|
#
|
1064
1089
|
# @option params [required, String] :queue_name
|
1065
1090
|
# The name of the queue whose URL must be fetched. Maximum 80
|
@@ -1104,7 +1129,7 @@ module Aws::SQS
|
|
1104
1129
|
#
|
1105
1130
|
#
|
1106
1131
|
#
|
1107
|
-
# [1]:
|
1132
|
+
# [1]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-dead-letter-queues.html
|
1108
1133
|
#
|
1109
1134
|
# @option params [required, String] :queue_url
|
1110
1135
|
# The URL of a dead-letter queue.
|
@@ -1139,37 +1164,16 @@ module Aws::SQS
|
|
1139
1164
|
# For an overview, see [Tagging Your Amazon SQS Queues][1] in the
|
1140
1165
|
# *Amazon Simple Queue Service Developer Guide*.
|
1141
1166
|
#
|
1142
|
-
# When you use queue tags, keep the following guidelines in mind:
|
1143
|
-
#
|
1144
|
-
# * Adding more than 50 tags to a queue isn't recommended.
|
1145
|
-
#
|
1146
|
-
# * Tags don't have any semantic meaning. Amazon SQS interprets tags as
|
1147
|
-
# character strings.
|
1148
|
-
#
|
1149
|
-
# * Tags are case-sensitive.
|
1150
|
-
#
|
1151
|
-
# * A new tag with a key identical to that of an existing tag overwrites
|
1152
|
-
# the existing tag.
|
1153
|
-
#
|
1154
|
-
# * Tagging actions are limited to 5 TPS per AWS account. If your
|
1155
|
-
# application requires a higher throughput, file a [technical support
|
1156
|
-
# request][2].
|
1157
|
-
#
|
1158
|
-
# For a full list of tag restrictions, see [Limits Related to Queues][3]
|
1159
|
-
# in the *Amazon Simple Queue Service Developer Guide*.
|
1160
|
-
#
|
1161
1167
|
# <note markdown="1"> Cross-account permissions don't apply to this action. For more
|
1162
|
-
# information, see
|
1163
|
-
#
|
1168
|
+
# information, see [Grant Cross-Account Permissions to a Role and a User
|
1169
|
+
# Name][2] in the *Amazon Simple Queue Service Developer Guide*.
|
1164
1170
|
#
|
1165
1171
|
# </note>
|
1166
1172
|
#
|
1167
1173
|
#
|
1168
1174
|
#
|
1169
|
-
# [1]:
|
1170
|
-
# [2]: https://
|
1171
|
-
# [3]: http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-limits.html#limits-queues
|
1172
|
-
# [4]: http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-customer-managed-policy-examples.html#grant-cross-account-permissions-to-role-and-user-name
|
1175
|
+
# [1]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-queue-tags.html
|
1176
|
+
# [2]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-customer-managed-policy-examples.html#grant-cross-account-permissions-to-role-and-user-name
|
1173
1177
|
#
|
1174
1178
|
# @option params [required, String] :queue_url
|
1175
1179
|
# The URL of the queue.
|
@@ -1204,14 +1208,14 @@ module Aws::SQS
|
|
1204
1208
|
# the specified value are returned.
|
1205
1209
|
#
|
1206
1210
|
# <note markdown="1"> Cross-account permissions don't apply to this action. For more
|
1207
|
-
# information, see
|
1208
|
-
#
|
1211
|
+
# information, see [Grant Cross-Account Permissions to a Role and a User
|
1212
|
+
# Name][1] in the *Amazon Simple Queue Service Developer Guide*.
|
1209
1213
|
#
|
1210
1214
|
# </note>
|
1211
1215
|
#
|
1212
1216
|
#
|
1213
1217
|
#
|
1214
|
-
# [1]:
|
1218
|
+
# [1]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-customer-managed-policy-examples.html#grant-cross-account-permissions-to-role-and-user-name
|
1215
1219
|
#
|
1216
1220
|
# @option params [String] :queue_name_prefix
|
1217
1221
|
# A string to use for filtering the list results. Only those queues
|
@@ -1333,10 +1337,10 @@ module Aws::SQS
|
|
1333
1337
|
#
|
1334
1338
|
#
|
1335
1339
|
#
|
1336
|
-
# [1]:
|
1340
|
+
# [1]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-long-polling.html
|
1337
1341
|
# [2]: https://www.ietf.org/rfc/rfc1321.txt
|
1338
|
-
# [3]:
|
1339
|
-
# [4]:
|
1342
|
+
# [3]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-queue-message-identifiers.html
|
1343
|
+
# [4]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-visibility-timeout.html
|
1340
1344
|
#
|
1341
1345
|
# @option params [required, String] :queue_url
|
1342
1346
|
# The URL of the Amazon SQS queue from which messages are received.
|
@@ -1344,8 +1348,8 @@ module Aws::SQS
|
|
1344
1348
|
# Queue URLs and names are case-sensitive.
|
1345
1349
|
#
|
1346
1350
|
# @option params [Array<String>] :attribute_names
|
1347
|
-
# A list of
|
1348
|
-
# attributes include:
|
1351
|
+
# A list of attributes that need to be returned along with each message.
|
1352
|
+
# These attributes include:
|
1349
1353
|
#
|
1350
1354
|
# * `All` - Returns all values.
|
1351
1355
|
#
|
@@ -1480,8 +1484,8 @@ module Aws::SQS
|
|
1480
1484
|
#
|
1481
1485
|
#
|
1482
1486
|
#
|
1483
|
-
# [1]:
|
1484
|
-
# [2]:
|
1487
|
+
# [1]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-visibility-timeout.html
|
1488
|
+
# [2]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/using-receiverequestattemptid-request-parameter.html
|
1485
1489
|
#
|
1486
1490
|
# @return [Types::ReceiveMessageResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1487
1491
|
#
|
@@ -1530,17 +1534,21 @@ module Aws::SQS
|
|
1530
1534
|
# Revokes any permissions in the queue policy that matches the specified
|
1531
1535
|
# `Label` parameter.
|
1532
1536
|
#
|
1533
|
-
# <note markdown="1"> Only the owner of a queue can remove permissions from it.
|
1537
|
+
# <note markdown="1"> * Only the owner of a queue can remove permissions from it.
|
1534
1538
|
#
|
1535
|
-
#
|
1536
|
-
#
|
1537
|
-
#
|
1539
|
+
# * Cross-account permissions don't apply to this action. For more
|
1540
|
+
# information, see [Grant Cross-Account Permissions to a Role and a
|
1541
|
+
# User Name][1] in the *Amazon Simple Queue Service Developer Guide*.
|
1542
|
+
#
|
1543
|
+
# * To remove the ability to change queue permissions, you must deny
|
1544
|
+
# permission to the `AddPermission`, `RemovePermission`, and
|
1545
|
+
# `SetQueueAttributes` actions in your IAM policy.
|
1538
1546
|
#
|
1539
1547
|
# </note>
|
1540
1548
|
#
|
1541
1549
|
#
|
1542
1550
|
#
|
1543
|
-
# [1]:
|
1551
|
+
# [1]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-customer-managed-policy-examples.html#grant-cross-account-permissions-to-role-and-user-name
|
1544
1552
|
#
|
1545
1553
|
# @option params [required, String] :queue_url
|
1546
1554
|
# The URL of the Amazon SQS queue from which permissions are removed.
|
@@ -1624,7 +1632,7 @@ module Aws::SQS
|
|
1624
1632
|
#
|
1625
1633
|
#
|
1626
1634
|
#
|
1627
|
-
# [1]:
|
1635
|
+
# [1]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-message-attributes.html
|
1628
1636
|
#
|
1629
1637
|
# @option params [String] :message_deduplication_id
|
1630
1638
|
# This parameter applies only to FIFO (first-in-first-out) queues.
|
@@ -1685,8 +1693,8 @@ module Aws::SQS
|
|
1685
1693
|
#
|
1686
1694
|
#
|
1687
1695
|
#
|
1688
|
-
# [1]:
|
1689
|
-
# [2]:
|
1696
|
+
# [1]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html#FIFO-queues-exactly-once-processing
|
1697
|
+
# [2]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/using-messagededuplicationid-property.html
|
1690
1698
|
#
|
1691
1699
|
# @option params [String] :message_group_id
|
1692
1700
|
# This parameter applies only to FIFO (first-in-first-out) queues.
|
@@ -1720,7 +1728,7 @@ module Aws::SQS
|
|
1720
1728
|
#
|
1721
1729
|
#
|
1722
1730
|
#
|
1723
|
-
# [1]:
|
1731
|
+
# [1]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/using-messagegroupid-property.html
|
1724
1732
|
#
|
1725
1733
|
# @return [Types::SendMessageResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1726
1734
|
#
|
@@ -1867,19 +1875,23 @@ module Aws::SQS
|
|
1867
1875
|
# made to the `MessageRetentionPeriod` attribute can take up to 15
|
1868
1876
|
# minutes.
|
1869
1877
|
#
|
1870
|
-
# <note markdown="1"> In the future, new attributes might be added. If you write code that
|
1871
|
-
#
|
1872
|
-
#
|
1878
|
+
# <note markdown="1"> * In the future, new attributes might be added. If you write code that
|
1879
|
+
# calls this action, we recommend that you structure your code so that
|
1880
|
+
# it can handle new attributes gracefully.
|
1881
|
+
#
|
1882
|
+
# * Cross-account permissions don't apply to this action. For more
|
1883
|
+
# information, see [Grant Cross-Account Permissions to a Role and a
|
1884
|
+
# User Name][1] in the *Amazon Simple Queue Service Developer Guide*.
|
1873
1885
|
#
|
1874
|
-
#
|
1875
|
-
#
|
1876
|
-
#
|
1886
|
+
# * To remove the ability to change queue permissions, you must deny
|
1887
|
+
# permission to the `AddPermission`, `RemovePermission`, and
|
1888
|
+
# `SetQueueAttributes` actions in your IAM policy.
|
1877
1889
|
#
|
1878
1890
|
# </note>
|
1879
1891
|
#
|
1880
1892
|
#
|
1881
1893
|
#
|
1882
|
-
# [1]:
|
1894
|
+
# [1]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-customer-managed-policy-examples.html#grant-cross-account-permissions-to-role-and-user-name
|
1883
1895
|
#
|
1884
1896
|
# @option params [required, String] :queue_url
|
1885
1897
|
# The URL of the Amazon SQS queue whose attributes are set.
|
@@ -1996,16 +2008,16 @@ module Aws::SQS
|
|
1996
2008
|
#
|
1997
2009
|
#
|
1998
2010
|
#
|
1999
|
-
# [1]:
|
2000
|
-
# [2]:
|
2001
|
-
# [3]:
|
2002
|
-
# [4]:
|
2003
|
-
# [5]:
|
2004
|
-
# [6]:
|
2005
|
-
# [7]:
|
2006
|
-
# [8]:
|
2007
|
-
# [9]:
|
2008
|
-
# [10]:
|
2011
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/PoliciesOverview.html
|
2012
|
+
# [2]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-dead-letter-queues.html
|
2013
|
+
# [3]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-visibility-timeout.html
|
2014
|
+
# [4]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html
|
2015
|
+
# [5]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html#sqs-sse-key-terms
|
2016
|
+
# [6]: https://docs.aws.amazon.com/kms/latest/APIReference/API_DescribeKey.html#API_DescribeKey_RequestParameters
|
2017
|
+
# [7]: https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#data-keys
|
2018
|
+
# [8]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html#sqs-how-does-the-data-key-reuse-period-work
|
2019
|
+
# [9]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html
|
2020
|
+
# [10]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html#FIFO-queues-exactly-once-processing
|
2009
2021
|
#
|
2010
2022
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2011
2023
|
#
|
@@ -2051,17 +2063,17 @@ module Aws::SQS
|
|
2051
2063
|
# in the *Amazon Simple Queue Service Developer Guide*.
|
2052
2064
|
#
|
2053
2065
|
# <note markdown="1"> Cross-account permissions don't apply to this action. For more
|
2054
|
-
# information, see
|
2055
|
-
#
|
2066
|
+
# information, see [Grant Cross-Account Permissions to a Role and a User
|
2067
|
+
# Name][4] in the *Amazon Simple Queue Service Developer Guide*.
|
2056
2068
|
#
|
2057
2069
|
# </note>
|
2058
2070
|
#
|
2059
2071
|
#
|
2060
2072
|
#
|
2061
|
-
# [1]:
|
2073
|
+
# [1]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-queue-tags.html
|
2062
2074
|
# [2]: https://console.aws.amazon.com/support/home#/case/create?issueType=technical
|
2063
|
-
# [3]:
|
2064
|
-
# [4]:
|
2075
|
+
# [3]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-limits.html#limits-queues
|
2076
|
+
# [4]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-customer-managed-policy-examples.html#grant-cross-account-permissions-to-role-and-user-name
|
2065
2077
|
#
|
2066
2078
|
# @option params [required, String] :queue_url
|
2067
2079
|
# The URL of the queue.
|
@@ -2093,37 +2105,16 @@ module Aws::SQS
|
|
2093
2105
|
# an overview, see [Tagging Your Amazon SQS Queues][1] in the *Amazon
|
2094
2106
|
# Simple Queue Service Developer Guide*.
|
2095
2107
|
#
|
2096
|
-
# When you use queue tags, keep the following guidelines in mind:
|
2097
|
-
#
|
2098
|
-
# * Adding more than 50 tags to a queue isn't recommended.
|
2099
|
-
#
|
2100
|
-
# * Tags don't have any semantic meaning. Amazon SQS interprets tags as
|
2101
|
-
# character strings.
|
2102
|
-
#
|
2103
|
-
# * Tags are case-sensitive.
|
2104
|
-
#
|
2105
|
-
# * A new tag with a key identical to that of an existing tag overwrites
|
2106
|
-
# the existing tag.
|
2107
|
-
#
|
2108
|
-
# * Tagging actions are limited to 5 TPS per AWS account. If your
|
2109
|
-
# application requires a higher throughput, file a [technical support
|
2110
|
-
# request][2].
|
2111
|
-
#
|
2112
|
-
# For a full list of tag restrictions, see [Limits Related to Queues][3]
|
2113
|
-
# in the *Amazon Simple Queue Service Developer Guide*.
|
2114
|
-
#
|
2115
2108
|
# <note markdown="1"> Cross-account permissions don't apply to this action. For more
|
2116
|
-
# information, see
|
2117
|
-
#
|
2109
|
+
# information, see [Grant Cross-Account Permissions to a Role and a User
|
2110
|
+
# Name][2] in the *Amazon Simple Queue Service Developer Guide*.
|
2118
2111
|
#
|
2119
2112
|
# </note>
|
2120
2113
|
#
|
2121
2114
|
#
|
2122
2115
|
#
|
2123
|
-
# [1]:
|
2124
|
-
# [2]: https://
|
2125
|
-
# [3]: http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-limits.html#limits-queues
|
2126
|
-
# [4]: http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-customer-managed-policy-examples.html#grant-cross-account-permissions-to-role-and-user-name
|
2116
|
+
# [1]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-queue-tags.html
|
2117
|
+
# [2]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-customer-managed-policy-examples.html#grant-cross-account-permissions-to-role-and-user-name
|
2127
2118
|
#
|
2128
2119
|
# @option params [required, String] :queue_url
|
2129
2120
|
# The URL of the queue.
|
@@ -2162,7 +2153,7 @@ module Aws::SQS
|
|
2162
2153
|
params: params,
|
2163
2154
|
config: config)
|
2164
2155
|
context[:gem_name] = 'aws-sdk-sqs'
|
2165
|
-
context[:gem_version] = '1.
|
2156
|
+
context[:gem_version] = '1.19.0'
|
2166
2157
|
Seahorse::Client::Request.new(handlers, context)
|
2167
2158
|
end
|
2168
2159
|
|
data/lib/aws-sdk-sqs/message.rb
CHANGED
@@ -105,7 +105,7 @@ module Aws::SQS
|
|
105
105
|
#
|
106
106
|
#
|
107
107
|
#
|
108
|
-
# [1]:
|
108
|
+
# [1]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-message-attributes.html
|
109
109
|
# @return [Hash<String,Types::MessageAttributeValue>]
|
110
110
|
def message_attributes
|
111
111
|
data[:message_attributes]
|
data/lib/aws-sdk-sqs/queue.rb
CHANGED
@@ -98,8 +98,8 @@ module Aws::SQS
|
|
98
98
|
#
|
99
99
|
#
|
100
100
|
#
|
101
|
-
# [1]:
|
102
|
-
# [2]:
|
101
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/glos-chap.html#P
|
102
|
+
# [2]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-making-api-requests.html#sqs-api-request-authentication
|
103
103
|
# @option options [required, Array<String>] :actions
|
104
104
|
# The action the client wants to allow for the specified principal.
|
105
105
|
# Valid values: the name of any action or `*`.
|
@@ -116,7 +116,7 @@ module Aws::SQS
|
|
116
116
|
#
|
117
117
|
#
|
118
118
|
#
|
119
|
-
# [1]:
|
119
|
+
# [1]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-overview-of-managing-access.html
|
120
120
|
# @return [EmptyStructure]
|
121
121
|
def add_permission(options = {})
|
122
122
|
options = options.merge(queue_url: @url)
|
@@ -200,8 +200,8 @@ module Aws::SQS
|
|
200
200
|
# })
|
201
201
|
# @param [Hash] options ({})
|
202
202
|
# @option options [Array<String>] :attribute_names
|
203
|
-
# A list of
|
204
|
-
# attributes include:
|
203
|
+
# A list of attributes that need to be returned along with each message.
|
204
|
+
# These attributes include:
|
205
205
|
#
|
206
206
|
# * `All` - Returns all values.
|
207
207
|
#
|
@@ -331,8 +331,8 @@ module Aws::SQS
|
|
331
331
|
#
|
332
332
|
#
|
333
333
|
#
|
334
|
-
# [1]:
|
335
|
-
# [2]:
|
334
|
+
# [1]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-visibility-timeout.html
|
335
|
+
# [2]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/using-receiverequestattemptid-request-parameter.html
|
336
336
|
# @return [Message::Collection]
|
337
337
|
def receive_messages(options = {})
|
338
338
|
batch = []
|
@@ -416,7 +416,7 @@ module Aws::SQS
|
|
416
416
|
#
|
417
417
|
#
|
418
418
|
#
|
419
|
-
# [1]:
|
419
|
+
# [1]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-message-attributes.html
|
420
420
|
# @option options [String] :message_deduplication_id
|
421
421
|
# This parameter applies only to FIFO (first-in-first-out) queues.
|
422
422
|
#
|
@@ -476,8 +476,8 @@ module Aws::SQS
|
|
476
476
|
#
|
477
477
|
#
|
478
478
|
#
|
479
|
-
# [1]:
|
480
|
-
# [2]:
|
479
|
+
# [1]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html#FIFO-queues-exactly-once-processing
|
480
|
+
# [2]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/using-messagededuplicationid-property.html
|
481
481
|
# @option options [String] :message_group_id
|
482
482
|
# This parameter applies only to FIFO (first-in-first-out) queues.
|
483
483
|
#
|
@@ -510,7 +510,7 @@ module Aws::SQS
|
|
510
510
|
#
|
511
511
|
#
|
512
512
|
#
|
513
|
-
# [1]:
|
513
|
+
# [1]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/using-messagegroupid-property.html
|
514
514
|
# @return [Types::SendMessageResult]
|
515
515
|
def send_message(options = {})
|
516
516
|
options = options.merge(queue_url: @url)
|
@@ -668,16 +668,16 @@ module Aws::SQS
|
|
668
668
|
#
|
669
669
|
#
|
670
670
|
#
|
671
|
-
# [1]:
|
672
|
-
# [2]:
|
673
|
-
# [3]:
|
674
|
-
# [4]:
|
675
|
-
# [5]:
|
676
|
-
# [6]:
|
677
|
-
# [7]:
|
678
|
-
# [8]:
|
679
|
-
# [9]:
|
680
|
-
# [10]:
|
671
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/PoliciesOverview.html
|
672
|
+
# [2]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-dead-letter-queues.html
|
673
|
+
# [3]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-visibility-timeout.html
|
674
|
+
# [4]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html
|
675
|
+
# [5]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html#sqs-sse-key-terms
|
676
|
+
# [6]: https://docs.aws.amazon.com/kms/latest/APIReference/API_DescribeKey.html#API_DescribeKey_RequestParameters
|
677
|
+
# [7]: https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#data-keys
|
678
|
+
# [8]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html#sqs-how-does-the-data-key-reuse-period-work
|
679
|
+
# [9]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html
|
680
|
+
# [10]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html#FIFO-queues-exactly-once-processing
|
681
681
|
# @return [EmptyStructure]
|
682
682
|
def set_attributes(options = {})
|
683
683
|
options = options.merge(queue_url: @url)
|
data/lib/aws-sdk-sqs/resource.rb
CHANGED
@@ -118,10 +118,11 @@ module Aws::SQS
|
|
118
118
|
# queues][9]\:
|
119
119
|
#
|
120
120
|
# * `FifoQueue` - Designates a queue as FIFO. Valid values: `true`,
|
121
|
-
# `false`.
|
122
|
-
#
|
123
|
-
#
|
124
|
-
#
|
121
|
+
# `false`. If you don't specify the `FifoQueue` attribute, Amazon SQS
|
122
|
+
# creates a standard queue. You can provide this attribute only during
|
123
|
+
# queue creation. You can't change it for an existing queue. When you
|
124
|
+
# set this attribute, you must also provide the `MessageGroupId` for
|
125
|
+
# your messages explicitly.
|
125
126
|
#
|
126
127
|
# For more information, see [FIFO Queue Logic][10] in the *Amazon
|
127
128
|
# Simple Queue Service Developer Guide*.
|
@@ -161,17 +162,17 @@ module Aws::SQS
|
|
161
162
|
#
|
162
163
|
#
|
163
164
|
#
|
164
|
-
# [1]:
|
165
|
-
# [2]:
|
166
|
-
# [3]:
|
167
|
-
# [4]:
|
168
|
-
# [5]:
|
169
|
-
# [6]:
|
170
|
-
# [7]:
|
171
|
-
# [8]:
|
172
|
-
# [9]:
|
173
|
-
# [10]:
|
174
|
-
# [11]:
|
165
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/PoliciesOverview.html
|
166
|
+
# [2]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-dead-letter-queues.html
|
167
|
+
# [3]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-visibility-timeout.html
|
168
|
+
# [4]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html
|
169
|
+
# [5]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html#sqs-sse-key-terms
|
170
|
+
# [6]: https://docs.aws.amazon.com/kms/latest/APIReference/API_DescribeKey.html#API_DescribeKey_RequestParameters
|
171
|
+
# [7]: https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#data-keys
|
172
|
+
# [8]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html#sqs-how-does-the-data-key-reuse-period-work
|
173
|
+
# [9]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html
|
174
|
+
# [10]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html#FIFO-queues-understanding-logic
|
175
|
+
# [11]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html#FIFO-queues-exactly-once-processing
|
175
176
|
# @return [Queue]
|
176
177
|
def create_queue(options = {})
|
177
178
|
resp = @client.create_queue(options)
|
data/lib/aws-sdk-sqs/types.rb
CHANGED
@@ -40,8 +40,8 @@ module Aws::SQS
|
|
40
40
|
#
|
41
41
|
#
|
42
42
|
#
|
43
|
-
# [1]:
|
44
|
-
# [2]:
|
43
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/glos-chap.html#P
|
44
|
+
# [2]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-making-api-requests.html#sqs-api-request-authentication
|
45
45
|
# @return [Array<String>]
|
46
46
|
#
|
47
47
|
# @!attribute [rw] actions
|
@@ -60,7 +60,7 @@ module Aws::SQS
|
|
60
60
|
#
|
61
61
|
#
|
62
62
|
#
|
63
|
-
# [1]:
|
63
|
+
# [1]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-overview-of-managing-access.html
|
64
64
|
# @return [Array<String>]
|
65
65
|
#
|
66
66
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/AddPermissionRequest AWS API Documentation
|
@@ -357,10 +357,11 @@ module Aws::SQS
|
|
357
357
|
# queues][9]\:
|
358
358
|
#
|
359
359
|
# * `FifoQueue` - Designates a queue as FIFO. Valid values: `true`,
|
360
|
-
# `false`.
|
361
|
-
#
|
362
|
-
#
|
363
|
-
#
|
360
|
+
# `false`. If you don't specify the `FifoQueue` attribute, Amazon
|
361
|
+
# SQS creates a standard queue. You can provide this attribute only
|
362
|
+
# during queue creation. You can't change it for an existing queue.
|
363
|
+
# When you set this attribute, you must also provide the
|
364
|
+
# `MessageGroupId` for your messages explicitly.
|
364
365
|
#
|
365
366
|
# For more information, see [FIFO Queue Logic][10] in the *Amazon
|
366
367
|
# Simple Queue Service Developer Guide*.
|
@@ -400,17 +401,17 @@ module Aws::SQS
|
|
400
401
|
#
|
401
402
|
#
|
402
403
|
#
|
403
|
-
# [1]:
|
404
|
-
# [2]:
|
405
|
-
# [3]:
|
406
|
-
# [4]:
|
407
|
-
# [5]:
|
408
|
-
# [6]:
|
409
|
-
# [7]:
|
410
|
-
# [8]:
|
411
|
-
# [9]:
|
412
|
-
# [10]:
|
413
|
-
# [11]:
|
404
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/PoliciesOverview.html
|
405
|
+
# [2]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-dead-letter-queues.html
|
406
|
+
# [3]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-visibility-timeout.html
|
407
|
+
# [4]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html
|
408
|
+
# [5]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html#sqs-sse-key-terms
|
409
|
+
# [6]: https://docs.aws.amazon.com/kms/latest/APIReference/API_DescribeKey.html#API_DescribeKey_RequestParameters
|
410
|
+
# [7]: https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#data-keys
|
411
|
+
# [8]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html#sqs-how-does-the-data-key-reuse-period-work
|
412
|
+
# [9]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html
|
413
|
+
# [10]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html#FIFO-queues-understanding-logic
|
414
|
+
# [11]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html#FIFO-queues-exactly-once-processing
|
414
415
|
# @return [Hash<String,String>]
|
415
416
|
#
|
416
417
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/CreateQueueRequest AWS API Documentation
|
@@ -693,14 +694,14 @@ module Aws::SQS
|
|
693
694
|
#
|
694
695
|
#
|
695
696
|
# [1]: http://en.wikipedia.org/wiki/Unix_time
|
696
|
-
# [2]:
|
697
|
-
# [3]:
|
698
|
-
# [4]:
|
699
|
-
# [5]:
|
700
|
-
# [6]:
|
701
|
-
# [7]:
|
702
|
-
# [8]:
|
703
|
-
# [9]:
|
697
|
+
# [2]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-dead-letter-queues.html
|
698
|
+
# [3]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-visibility-timeout.html
|
699
|
+
# [4]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html
|
700
|
+
# [5]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html#sqs-sse-key-terms
|
701
|
+
# [6]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html#sqs-how-does-the-data-key-reuse-period-work
|
702
|
+
# [7]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html
|
703
|
+
# [8]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html#FIFO-queues-understanding-logic
|
704
|
+
# [9]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html#FIFO-queues-exactly-once-processing
|
704
705
|
# @return [Array<String>]
|
705
706
|
#
|
706
707
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/GetQueueAttributesRequest AWS API Documentation
|
@@ -757,7 +758,7 @@ module Aws::SQS
|
|
757
758
|
#
|
758
759
|
#
|
759
760
|
#
|
760
|
-
# [1]:
|
761
|
+
# [1]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-api-responses.html
|
761
762
|
#
|
762
763
|
# @!attribute [rw] queue_url
|
763
764
|
# The URL of the queue.
|
@@ -935,7 +936,7 @@ module Aws::SQS
|
|
935
936
|
#
|
936
937
|
#
|
937
938
|
#
|
938
|
-
# [1]:
|
939
|
+
# [1]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-message-attributes.html
|
939
940
|
# @return [Hash<String,Types::MessageAttributeValue>]
|
940
941
|
#
|
941
942
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/Message AWS API Documentation
|
@@ -1004,7 +1005,7 @@ module Aws::SQS
|
|
1004
1005
|
#
|
1005
1006
|
#
|
1006
1007
|
#
|
1007
|
-
# [1]:
|
1008
|
+
# [1]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-message-attributes.html
|
1008
1009
|
# @return [String]
|
1009
1010
|
#
|
1010
1011
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/MessageAttributeValue AWS API Documentation
|
@@ -1059,8 +1060,8 @@ module Aws::SQS
|
|
1059
1060
|
# @return [String]
|
1060
1061
|
#
|
1061
1062
|
# @!attribute [rw] attribute_names
|
1062
|
-
# A list of
|
1063
|
-
# attributes include:
|
1063
|
+
# A list of attributes that need to be returned along with each
|
1064
|
+
# message. These attributes include:
|
1064
1065
|
#
|
1065
1066
|
# * `All` - Returns all values.
|
1066
1067
|
#
|
@@ -1204,8 +1205,8 @@ module Aws::SQS
|
|
1204
1205
|
#
|
1205
1206
|
#
|
1206
1207
|
#
|
1207
|
-
# [1]:
|
1208
|
-
# [2]:
|
1208
|
+
# [1]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-visibility-timeout.html
|
1209
|
+
# [2]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/using-receiverequestattemptid-request-parameter.html
|
1209
1210
|
# @return [String]
|
1210
1211
|
#
|
1211
1212
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/ReceiveMessageRequest AWS API Documentation
|
@@ -1364,7 +1365,7 @@ module Aws::SQS
|
|
1364
1365
|
#
|
1365
1366
|
#
|
1366
1367
|
#
|
1367
|
-
# [1]:
|
1368
|
+
# [1]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-message-attributes.html
|
1368
1369
|
# @return [Hash<String,Types::MessageAttributeValue>]
|
1369
1370
|
#
|
1370
1371
|
# @!attribute [rw] message_deduplication_id
|
@@ -1429,8 +1430,8 @@ module Aws::SQS
|
|
1429
1430
|
#
|
1430
1431
|
#
|
1431
1432
|
#
|
1432
|
-
# [1]:
|
1433
|
-
# [2]:
|
1433
|
+
# [1]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html#FIFO-queues-exactly-once-processing
|
1434
|
+
# [2]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/using-messagededuplicationid-property.html
|
1434
1435
|
# @return [String]
|
1435
1436
|
#
|
1436
1437
|
# @!attribute [rw] message_group_id
|
@@ -1466,7 +1467,7 @@ module Aws::SQS
|
|
1466
1467
|
#
|
1467
1468
|
#
|
1468
1469
|
#
|
1469
|
-
# [1]:
|
1470
|
+
# [1]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/using-messagegroupid-property.html
|
1470
1471
|
# @return [String]
|
1471
1472
|
#
|
1472
1473
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/SendMessageBatchRequestEntry AWS API Documentation
|
@@ -1621,7 +1622,7 @@ module Aws::SQS
|
|
1621
1622
|
#
|
1622
1623
|
#
|
1623
1624
|
#
|
1624
|
-
# [1]:
|
1625
|
+
# [1]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-message-attributes.html
|
1625
1626
|
# @return [Hash<String,Types::MessageAttributeValue>]
|
1626
1627
|
#
|
1627
1628
|
# @!attribute [rw] message_deduplication_id
|
@@ -1686,8 +1687,8 @@ module Aws::SQS
|
|
1686
1687
|
#
|
1687
1688
|
#
|
1688
1689
|
#
|
1689
|
-
# [1]:
|
1690
|
-
# [2]:
|
1690
|
+
# [1]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html#FIFO-queues-exactly-once-processing
|
1691
|
+
# [2]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/using-messagededuplicationid-property.html
|
1691
1692
|
# @return [String]
|
1692
1693
|
#
|
1693
1694
|
# @!attribute [rw] message_group_id
|
@@ -1723,7 +1724,7 @@ module Aws::SQS
|
|
1723
1724
|
#
|
1724
1725
|
#
|
1725
1726
|
#
|
1726
|
-
# [1]:
|
1727
|
+
# [1]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/using-messagegroupid-property.html
|
1727
1728
|
# @return [String]
|
1728
1729
|
#
|
1729
1730
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/SendMessageRequest AWS API Documentation
|
@@ -1771,7 +1772,7 @@ module Aws::SQS
|
|
1771
1772
|
#
|
1772
1773
|
#
|
1773
1774
|
#
|
1774
|
-
# [1]:
|
1775
|
+
# [1]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-queue-message-identifiers.html
|
1775
1776
|
# @return [String]
|
1776
1777
|
#
|
1777
1778
|
# @!attribute [rw] sequence_number
|
@@ -1923,16 +1924,16 @@ module Aws::SQS
|
|
1923
1924
|
#
|
1924
1925
|
#
|
1925
1926
|
#
|
1926
|
-
# [1]:
|
1927
|
-
# [2]:
|
1928
|
-
# [3]:
|
1929
|
-
# [4]:
|
1930
|
-
# [5]:
|
1931
|
-
# [6]:
|
1932
|
-
# [7]:
|
1933
|
-
# [8]:
|
1934
|
-
# [9]:
|
1935
|
-
# [10]:
|
1927
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/PoliciesOverview.html
|
1928
|
+
# [2]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-dead-letter-queues.html
|
1929
|
+
# [3]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-visibility-timeout.html
|
1930
|
+
# [4]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html
|
1931
|
+
# [5]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html#sqs-sse-key-terms
|
1932
|
+
# [6]: https://docs.aws.amazon.com/kms/latest/APIReference/API_DescribeKey.html#API_DescribeKey_RequestParameters
|
1933
|
+
# [7]: https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#data-keys
|
1934
|
+
# [8]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html#sqs-how-does-the-data-key-reuse-period-work
|
1935
|
+
# [9]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html
|
1936
|
+
# [10]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html#FIFO-queues-exactly-once-processing
|
1936
1937
|
# @return [Hash<String,String>]
|
1937
1938
|
#
|
1938
1939
|
# @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.19.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: 2019-07-
|
11
|
+
date: 2019-07-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|