aws-sdk-sqs 1.42.0 → 1.43.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-sqs/client.rb +124 -37
- data/lib/aws-sdk-sqs/queue.rb +41 -14
- data/lib/aws-sdk-sqs/resource.rb +40 -13
- data/lib/aws-sdk-sqs/types.rb +123 -36
- data/lib/aws-sdk-sqs.rb +1 -1
- 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: 07d351c1d3efc6a6739e1d44a33db3ffa6ce26566bc72c1920b7076c4545f356
|
4
|
+
data.tar.gz: 9a1c7018da81a20224a1802b7525889d45033ccf6a7194ca039c47ac4d8322a4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a8824fc413724c71ca3dac806306a61968e0732559541f8abcd353d05fdc2d248c09f91691b3c527cc5979253f235c132437904bf3e52f4c2d7a838977c164b8
|
7
|
+
data.tar.gz: 947d0bef6178900d267aae2b2a35fe3da6f2877ef659c76ed2cc37c3c5506e1d70fbe387b4e2beb132560532b100bf08e2112a675c3353787e7552d6d3eea95e
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.43.0 (2021-08-31)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Amazon SQS adds a new queue attribute, RedriveAllowPolicy, which includes the dead-letter queue redrive permission parameters. It defines which source queues can specify dead-letter queues as a JSON object.
|
8
|
+
|
4
9
|
1.42.0 (2021-07-30)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.43.0
|
data/lib/aws-sdk-sqs/client.rb
CHANGED
@@ -703,11 +703,16 @@ module Aws::SQS
|
|
703
703
|
# for which a ` ReceiveMessage ` action waits for a message to arrive.
|
704
704
|
# Valid values: An integer from 0 to 20 (seconds). Default: 0.
|
705
705
|
#
|
706
|
+
# * `VisibilityTimeout` – The visibility timeout for the queue, in
|
707
|
+
# seconds. Valid values: An integer from 0 to 43,200 (12 hours).
|
708
|
+
# Default: 30. For more information about the visibility timeout, see
|
709
|
+
# [Visibility Timeout][2] in the *Amazon SQS Developer Guide*.
|
710
|
+
#
|
711
|
+
# The following attributes apply only to [dead-letter queues:][3]
|
712
|
+
#
|
706
713
|
# * `RedrivePolicy` – The string that includes the parameters for the
|
707
714
|
# dead-letter queue functionality of the source queue as a JSON
|
708
|
-
# object.
|
709
|
-
# dead-letter queues, see [Using Amazon SQS Dead-Letter Queues][2] in
|
710
|
-
# the *Amazon SQS Developer Guide*.
|
715
|
+
# object. The parameters are as follows:
|
711
716
|
#
|
712
717
|
# * `deadLetterTargetArn` – The Amazon Resource Name (ARN) of the
|
713
718
|
# dead-letter queue to which Amazon SQS moves messages after the
|
@@ -718,16 +723,38 @@ module Aws::SQS
|
|
718
723
|
# the `ReceiveCount` for a message exceeds the `maxReceiveCount` for
|
719
724
|
# a queue, Amazon SQS moves the message to the dead-letter-queue.
|
720
725
|
#
|
721
|
-
#
|
722
|
-
#
|
723
|
-
#
|
726
|
+
# * `RedriveAllowPolicy` – The string that includes the parameters for
|
727
|
+
# the permissions for the dead-letter queue redrive permission and
|
728
|
+
# which source queues can specify dead-letter queues as a JSON object.
|
729
|
+
# The parameters are as follows:
|
724
730
|
#
|
725
|
-
#
|
731
|
+
# * `redrivePermission` – The permission type that defines which
|
732
|
+
# source queues can specify the current queue as the dead-letter
|
733
|
+
# queue. Valid values are:
|
726
734
|
#
|
727
|
-
#
|
728
|
-
#
|
729
|
-
#
|
730
|
-
#
|
735
|
+
# * `allowAll` – (Default) Any source queues in this Amazon Web
|
736
|
+
# Services account in the same Region can specify this queue as
|
737
|
+
# the dead-letter queue.
|
738
|
+
#
|
739
|
+
# * `denyAll` – No source queues can specify this queue as the
|
740
|
+
# dead-letter queue.
|
741
|
+
#
|
742
|
+
# * `byQueue` – Only queues specified by the `sourceQueueArns`
|
743
|
+
# parameter can specify this queue as the dead-letter queue.
|
744
|
+
#
|
745
|
+
# * `sourceQueueArns` – The Amazon Resource Names (ARN)s of the source
|
746
|
+
# queues that can specify this queue as the dead-letter queue and
|
747
|
+
# redrive messages. You can specify this parameter only when the
|
748
|
+
# `redrivePermission` parameter is set to `byQueue`. You can specify
|
749
|
+
# up to 10 source queue ARNs. To allow more than 10 source queues to
|
750
|
+
# specify dead-letter queues, set the `redrivePermission` parameter
|
751
|
+
# to `allowAll`.
|
752
|
+
#
|
753
|
+
# <note markdown="1"> The dead-letter queue of a FIFO queue must also be a FIFO queue.
|
754
|
+
# Similarly, the dead-letter queue of a standard queue must also be a
|
755
|
+
# standard queue.
|
756
|
+
#
|
757
|
+
# </note>
|
731
758
|
#
|
732
759
|
# The following attributes apply only to [server-side-encryption][4]\:
|
733
760
|
#
|
@@ -823,8 +850,8 @@ module Aws::SQS
|
|
823
850
|
#
|
824
851
|
#
|
825
852
|
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/PoliciesOverview.html
|
826
|
-
# [2]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-
|
827
|
-
# [3]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-
|
853
|
+
# [2]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-visibility-timeout.html
|
854
|
+
# [3]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-dead-letter-queues.html
|
828
855
|
# [4]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html
|
829
856
|
# [5]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html#sqs-sse-key-terms
|
830
857
|
# [6]: https://docs.aws.amazon.com/kms/latest/APIReference/API_DescribeKey.html#API_DescribeKey_RequestParameters
|
@@ -1133,11 +1160,15 @@ module Aws::SQS
|
|
1133
1160
|
# seconds, for which the `ReceiveMessage` action waits for a message
|
1134
1161
|
# to arrive.
|
1135
1162
|
#
|
1163
|
+
# * `VisibilityTimeout` – Returns the visibility timeout for the queue.
|
1164
|
+
# For more information about the visibility timeout, see [Visibility
|
1165
|
+
# Timeout][2] in the *Amazon SQS Developer Guide*.
|
1166
|
+
#
|
1167
|
+
# The following attributes apply only to [dead-letter queues:][3]
|
1168
|
+
#
|
1136
1169
|
# * `RedrivePolicy` – The string that includes the parameters for the
|
1137
1170
|
# dead-letter queue functionality of the source queue as a JSON
|
1138
|
-
# object.
|
1139
|
-
# dead-letter queues, see [Using Amazon SQS Dead-Letter Queues][2] in
|
1140
|
-
# the *Amazon SQS Developer Guide*.
|
1171
|
+
# object. The parameters are as follows:
|
1141
1172
|
#
|
1142
1173
|
# * `deadLetterTargetArn` – The Amazon Resource Name (ARN) of the
|
1143
1174
|
# dead-letter queue to which Amazon SQS moves messages after the
|
@@ -1148,9 +1179,38 @@ module Aws::SQS
|
|
1148
1179
|
# the `ReceiveCount` for a message exceeds the `maxReceiveCount` for
|
1149
1180
|
# a queue, Amazon SQS moves the message to the dead-letter-queue.
|
1150
1181
|
#
|
1151
|
-
# * `
|
1152
|
-
#
|
1153
|
-
#
|
1182
|
+
# * `RedriveAllowPolicy` – The string that includes the parameters for
|
1183
|
+
# the permissions for the dead-letter queue redrive permission and
|
1184
|
+
# which source queues can specify dead-letter queues as a JSON object.
|
1185
|
+
# The parameters are as follows:
|
1186
|
+
#
|
1187
|
+
# * `redrivePermission` – The permission type that defines which
|
1188
|
+
# source queues can specify the current queue as the dead-letter
|
1189
|
+
# queue. Valid values are:
|
1190
|
+
#
|
1191
|
+
# * `allowAll` – (Default) Any source queues in this Amazon Web
|
1192
|
+
# Services account in the same Region can specify this queue as
|
1193
|
+
# the dead-letter queue.
|
1194
|
+
#
|
1195
|
+
# * `denyAll` – No source queues can specify this queue as the
|
1196
|
+
# dead-letter queue.
|
1197
|
+
#
|
1198
|
+
# * `byQueue` – Only queues specified by the `sourceQueueArns`
|
1199
|
+
# parameter can specify this queue as the dead-letter queue.
|
1200
|
+
#
|
1201
|
+
# * `sourceQueueArns` – The Amazon Resource Names (ARN)s of the source
|
1202
|
+
# queues that can specify this queue as the dead-letter queue and
|
1203
|
+
# redrive messages. You can specify this parameter only when the
|
1204
|
+
# `redrivePermission` parameter is set to `byQueue`. You can specify
|
1205
|
+
# up to 10 source queue ARNs. To allow more than 10 source queues to
|
1206
|
+
# specify dead-letter queues, set the `redrivePermission` parameter
|
1207
|
+
# to `allowAll`.
|
1208
|
+
#
|
1209
|
+
# <note markdown="1"> The dead-letter queue of a FIFO queue must also be a FIFO queue.
|
1210
|
+
# Similarly, the dead-letter queue of a standard queue must also be a
|
1211
|
+
# standard queue.
|
1212
|
+
#
|
1213
|
+
# </note>
|
1154
1214
|
#
|
1155
1215
|
# The following attributes apply only to [server-side-encryption][4]\:
|
1156
1216
|
#
|
@@ -1208,8 +1268,8 @@ module Aws::SQS
|
|
1208
1268
|
#
|
1209
1269
|
#
|
1210
1270
|
# [1]: http://en.wikipedia.org/wiki/Unix_time
|
1211
|
-
# [2]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-
|
1212
|
-
# [3]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-
|
1271
|
+
# [2]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-visibility-timeout.html
|
1272
|
+
# [3]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-dead-letter-queues.html
|
1213
1273
|
# [4]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html
|
1214
1274
|
# [5]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html#sqs-sse-key-terms
|
1215
1275
|
# [6]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html#sqs-how-does-the-data-key-reuse-period-work
|
@@ -1227,7 +1287,7 @@ module Aws::SQS
|
|
1227
1287
|
#
|
1228
1288
|
# resp = client.get_queue_attributes({
|
1229
1289
|
# queue_url: "String", # required
|
1230
|
-
# attribute_names: ["All"], # accepts All, Policy, VisibilityTimeout, MaximumMessageSize, MessageRetentionPeriod, ApproximateNumberOfMessages, ApproximateNumberOfMessagesNotVisible, CreatedTimestamp, LastModifiedTimestamp, QueueArn, ApproximateNumberOfMessagesDelayed, DelaySeconds, ReceiveMessageWaitTimeSeconds, RedrivePolicy, FifoQueue, ContentBasedDeduplication, KmsMasterKeyId, KmsDataKeyReusePeriodSeconds, DeduplicationScope, FifoThroughputLimit
|
1290
|
+
# attribute_names: ["All"], # accepts All, Policy, VisibilityTimeout, MaximumMessageSize, MessageRetentionPeriod, ApproximateNumberOfMessages, ApproximateNumberOfMessagesNotVisible, CreatedTimestamp, LastModifiedTimestamp, QueueArn, ApproximateNumberOfMessagesDelayed, DelaySeconds, ReceiveMessageWaitTimeSeconds, RedrivePolicy, FifoQueue, ContentBasedDeduplication, KmsMasterKeyId, KmsDataKeyReusePeriodSeconds, DeduplicationScope, FifoThroughputLimit, RedriveAllowPolicy
|
1231
1291
|
# })
|
1232
1292
|
#
|
1233
1293
|
# @example Response structure
|
@@ -1723,7 +1783,7 @@ module Aws::SQS
|
|
1723
1783
|
#
|
1724
1784
|
# resp = client.receive_message({
|
1725
1785
|
# queue_url: "String", # required
|
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
|
1786
|
+
# attribute_names: ["All"], # accepts All, Policy, VisibilityTimeout, MaximumMessageSize, MessageRetentionPeriod, ApproximateNumberOfMessages, ApproximateNumberOfMessagesNotVisible, CreatedTimestamp, LastModifiedTimestamp, QueueArn, ApproximateNumberOfMessagesDelayed, DelaySeconds, ReceiveMessageWaitTimeSeconds, RedrivePolicy, FifoQueue, ContentBasedDeduplication, KmsMasterKeyId, KmsDataKeyReusePeriodSeconds, DeduplicationScope, FifoThroughputLimit, RedriveAllowPolicy
|
1727
1787
|
# message_attribute_names: ["MessageAttributeName"],
|
1728
1788
|
# max_number_of_messages: 1,
|
1729
1789
|
# visibility_timeout: 1,
|
@@ -2187,11 +2247,16 @@ module Aws::SQS
|
|
2187
2247
|
# for which a ` ReceiveMessage ` action waits for a message to arrive.
|
2188
2248
|
# Valid values: An integer from 0 to 20 (seconds). Default: 0.
|
2189
2249
|
#
|
2250
|
+
# * `VisibilityTimeout` – The visibility timeout for the queue, in
|
2251
|
+
# seconds. Valid values: An integer from 0 to 43,200 (12 hours).
|
2252
|
+
# Default: 30. For more information about the visibility timeout, see
|
2253
|
+
# [Visibility Timeout][2] in the *Amazon SQS Developer Guide*.
|
2254
|
+
#
|
2255
|
+
# The following attributes apply only to [dead-letter queues:][3]
|
2256
|
+
#
|
2190
2257
|
# * `RedrivePolicy` – The string that includes the parameters for the
|
2191
2258
|
# dead-letter queue functionality of the source queue as a JSON
|
2192
|
-
# object.
|
2193
|
-
# dead-letter queues, see [Using Amazon SQS Dead-Letter Queues][2] in
|
2194
|
-
# the *Amazon SQS Developer Guide*.
|
2259
|
+
# object. The parameters are as follows:
|
2195
2260
|
#
|
2196
2261
|
# * `deadLetterTargetArn` – The Amazon Resource Name (ARN) of the
|
2197
2262
|
# dead-letter queue to which Amazon SQS moves messages after the
|
@@ -2202,16 +2267,38 @@ module Aws::SQS
|
|
2202
2267
|
# the `ReceiveCount` for a message exceeds the `maxReceiveCount` for
|
2203
2268
|
# a queue, Amazon SQS moves the message to the dead-letter-queue.
|
2204
2269
|
#
|
2205
|
-
#
|
2206
|
-
#
|
2207
|
-
#
|
2270
|
+
# * `RedriveAllowPolicy` – The string that includes the parameters for
|
2271
|
+
# the permissions for the dead-letter queue redrive permission and
|
2272
|
+
# which source queues can specify dead-letter queues as a JSON object.
|
2273
|
+
# The parameters are as follows:
|
2208
2274
|
#
|
2209
|
-
#
|
2275
|
+
# * `redrivePermission` – The permission type that defines which
|
2276
|
+
# source queues can specify the current queue as the dead-letter
|
2277
|
+
# queue. Valid values are:
|
2210
2278
|
#
|
2211
|
-
#
|
2212
|
-
#
|
2213
|
-
#
|
2214
|
-
#
|
2279
|
+
# * `allowAll` – (Default) Any source queues in this Amazon Web
|
2280
|
+
# Services account in the same Region can specify this queue as
|
2281
|
+
# the dead-letter queue.
|
2282
|
+
#
|
2283
|
+
# * `denyAll` – No source queues can specify this queue as the
|
2284
|
+
# dead-letter queue.
|
2285
|
+
#
|
2286
|
+
# * `byQueue` – Only queues specified by the `sourceQueueArns`
|
2287
|
+
# parameter can specify this queue as the dead-letter queue.
|
2288
|
+
#
|
2289
|
+
# * `sourceQueueArns` – The Amazon Resource Names (ARN)s of the source
|
2290
|
+
# queues that can specify this queue as the dead-letter queue and
|
2291
|
+
# redrive messages. You can specify this parameter only when the
|
2292
|
+
# `redrivePermission` parameter is set to `byQueue`. You can specify
|
2293
|
+
# up to 10 source queue ARNs. To allow more than 10 source queues to
|
2294
|
+
# specify dead-letter queues, set the `redrivePermission` parameter
|
2295
|
+
# to `allowAll`.
|
2296
|
+
#
|
2297
|
+
# <note markdown="1"> The dead-letter queue of a FIFO queue must also be a FIFO queue.
|
2298
|
+
# Similarly, the dead-letter queue of a standard queue must also be a
|
2299
|
+
# standard queue.
|
2300
|
+
#
|
2301
|
+
# </note>
|
2215
2302
|
#
|
2216
2303
|
# The following attributes apply only to [server-side-encryption][4]\:
|
2217
2304
|
#
|
@@ -2295,8 +2382,8 @@ module Aws::SQS
|
|
2295
2382
|
#
|
2296
2383
|
#
|
2297
2384
|
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/PoliciesOverview.html
|
2298
|
-
# [2]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-
|
2299
|
-
# [3]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-
|
2385
|
+
# [2]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-visibility-timeout.html
|
2386
|
+
# [3]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-dead-letter-queues.html
|
2300
2387
|
# [4]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html
|
2301
2388
|
# [5]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html#sqs-sse-key-terms
|
2302
2389
|
# [6]: https://docs.aws.amazon.com/kms/latest/APIReference/API_DescribeKey.html#API_DescribeKey_RequestParameters
|
@@ -2436,7 +2523,7 @@ module Aws::SQS
|
|
2436
2523
|
params: params,
|
2437
2524
|
config: config)
|
2438
2525
|
context[:gem_name] = 'aws-sdk-sqs'
|
2439
|
-
context[:gem_version] = '1.
|
2526
|
+
context[:gem_version] = '1.43.0'
|
2440
2527
|
Seahorse::Client::Request.new(handlers, context)
|
2441
2528
|
end
|
2442
2529
|
|
data/lib/aws-sdk-sqs/queue.rb
CHANGED
@@ -194,7 +194,7 @@ module Aws::SQS
|
|
194
194
|
# @example Request syntax with placeholder values
|
195
195
|
#
|
196
196
|
# message = queue.receive_messages({
|
197
|
-
# attribute_names: ["All"], # accepts All, Policy, VisibilityTimeout, MaximumMessageSize, MessageRetentionPeriod, ApproximateNumberOfMessages, ApproximateNumberOfMessagesNotVisible, CreatedTimestamp, LastModifiedTimestamp, QueueArn, ApproximateNumberOfMessagesDelayed, DelaySeconds, ReceiveMessageWaitTimeSeconds, RedrivePolicy, FifoQueue, ContentBasedDeduplication, KmsMasterKeyId, KmsDataKeyReusePeriodSeconds, DeduplicationScope, FifoThroughputLimit
|
197
|
+
# attribute_names: ["All"], # accepts All, Policy, VisibilityTimeout, MaximumMessageSize, MessageRetentionPeriod, ApproximateNumberOfMessages, ApproximateNumberOfMessagesNotVisible, CreatedTimestamp, LastModifiedTimestamp, QueueArn, ApproximateNumberOfMessagesDelayed, DelaySeconds, ReceiveMessageWaitTimeSeconds, RedrivePolicy, FifoQueue, ContentBasedDeduplication, KmsMasterKeyId, KmsDataKeyReusePeriodSeconds, DeduplicationScope, FifoThroughputLimit, RedriveAllowPolicy
|
198
198
|
# message_attribute_names: ["MessageAttributeName"],
|
199
199
|
# max_number_of_messages: 1,
|
200
200
|
# visibility_timeout: 1,
|
@@ -631,11 +631,16 @@ module Aws::SQS
|
|
631
631
|
# for which a ` ReceiveMessage ` action waits for a message to arrive.
|
632
632
|
# Valid values: An integer from 0 to 20 (seconds). Default: 0.
|
633
633
|
#
|
634
|
+
# * `VisibilityTimeout` – The visibility timeout for the queue, in
|
635
|
+
# seconds. Valid values: An integer from 0 to 43,200 (12 hours).
|
636
|
+
# Default: 30. For more information about the visibility timeout, see
|
637
|
+
# [Visibility Timeout][2] in the *Amazon SQS Developer Guide*.
|
638
|
+
#
|
639
|
+
# The following attributes apply only to [dead-letter queues:][3]
|
640
|
+
#
|
634
641
|
# * `RedrivePolicy` – The string that includes the parameters for the
|
635
642
|
# dead-letter queue functionality of the source queue as a JSON
|
636
|
-
# object.
|
637
|
-
# dead-letter queues, see [Using Amazon SQS Dead-Letter Queues][2] in
|
638
|
-
# the *Amazon SQS Developer Guide*.
|
643
|
+
# object. The parameters are as follows:
|
639
644
|
#
|
640
645
|
# * `deadLetterTargetArn` – The Amazon Resource Name (ARN) of the
|
641
646
|
# dead-letter queue to which Amazon SQS moves messages after the
|
@@ -646,16 +651,38 @@ module Aws::SQS
|
|
646
651
|
# the `ReceiveCount` for a message exceeds the `maxReceiveCount` for
|
647
652
|
# a queue, Amazon SQS moves the message to the dead-letter-queue.
|
648
653
|
#
|
649
|
-
#
|
650
|
-
#
|
651
|
-
#
|
654
|
+
# * `RedriveAllowPolicy` – The string that includes the parameters for
|
655
|
+
# the permissions for the dead-letter queue redrive permission and
|
656
|
+
# which source queues can specify dead-letter queues as a JSON object.
|
657
|
+
# The parameters are as follows:
|
652
658
|
#
|
653
|
-
#
|
659
|
+
# * `redrivePermission` – The permission type that defines which
|
660
|
+
# source queues can specify the current queue as the dead-letter
|
661
|
+
# queue. Valid values are:
|
654
662
|
#
|
655
|
-
#
|
656
|
-
#
|
657
|
-
#
|
658
|
-
#
|
663
|
+
# * `allowAll` – (Default) Any source queues in this Amazon Web
|
664
|
+
# Services account in the same Region can specify this queue as
|
665
|
+
# the dead-letter queue.
|
666
|
+
#
|
667
|
+
# * `denyAll` – No source queues can specify this queue as the
|
668
|
+
# dead-letter queue.
|
669
|
+
#
|
670
|
+
# * `byQueue` – Only queues specified by the `sourceQueueArns`
|
671
|
+
# parameter can specify this queue as the dead-letter queue.
|
672
|
+
#
|
673
|
+
# * `sourceQueueArns` – The Amazon Resource Names (ARN)s of the source
|
674
|
+
# queues that can specify this queue as the dead-letter queue and
|
675
|
+
# redrive messages. You can specify this parameter only when the
|
676
|
+
# `redrivePermission` parameter is set to `byQueue`. You can specify
|
677
|
+
# up to 10 source queue ARNs. To allow more than 10 source queues to
|
678
|
+
# specify dead-letter queues, set the `redrivePermission` parameter
|
679
|
+
# to `allowAll`.
|
680
|
+
#
|
681
|
+
# <note markdown="1"> The dead-letter queue of a FIFO queue must also be a FIFO queue.
|
682
|
+
# Similarly, the dead-letter queue of a standard queue must also be a
|
683
|
+
# standard queue.
|
684
|
+
#
|
685
|
+
# </note>
|
659
686
|
#
|
660
687
|
# The following attributes apply only to [server-side-encryption][4]\:
|
661
688
|
#
|
@@ -739,8 +766,8 @@ module Aws::SQS
|
|
739
766
|
#
|
740
767
|
#
|
741
768
|
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/PoliciesOverview.html
|
742
|
-
# [2]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-
|
743
|
-
# [3]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-
|
769
|
+
# [2]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-visibility-timeout.html
|
770
|
+
# [3]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-dead-letter-queues.html
|
744
771
|
# [4]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html
|
745
772
|
# [5]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html#sqs-sse-key-terms
|
746
773
|
# [6]: https://docs.aws.amazon.com/kms/latest/APIReference/API_DescribeKey.html#API_DescribeKey_RequestParameters
|
data/lib/aws-sdk-sqs/resource.rb
CHANGED
@@ -86,11 +86,16 @@ module Aws::SQS
|
|
86
86
|
# for which a ` ReceiveMessage ` action waits for a message to arrive.
|
87
87
|
# Valid values: An integer from 0 to 20 (seconds). Default: 0.
|
88
88
|
#
|
89
|
+
# * `VisibilityTimeout` – The visibility timeout for the queue, in
|
90
|
+
# seconds. Valid values: An integer from 0 to 43,200 (12 hours).
|
91
|
+
# Default: 30. For more information about the visibility timeout, see
|
92
|
+
# [Visibility Timeout][2] in the *Amazon SQS Developer Guide*.
|
93
|
+
#
|
94
|
+
# The following attributes apply only to [dead-letter queues:][3]
|
95
|
+
#
|
89
96
|
# * `RedrivePolicy` – The string that includes the parameters for the
|
90
97
|
# dead-letter queue functionality of the source queue as a JSON
|
91
|
-
# object.
|
92
|
-
# dead-letter queues, see [Using Amazon SQS Dead-Letter Queues][2] in
|
93
|
-
# the *Amazon SQS Developer Guide*.
|
98
|
+
# object. The parameters are as follows:
|
94
99
|
#
|
95
100
|
# * `deadLetterTargetArn` – The Amazon Resource Name (ARN) of the
|
96
101
|
# dead-letter queue to which Amazon SQS moves messages after the
|
@@ -101,16 +106,38 @@ module Aws::SQS
|
|
101
106
|
# the `ReceiveCount` for a message exceeds the `maxReceiveCount` for
|
102
107
|
# a queue, Amazon SQS moves the message to the dead-letter-queue.
|
103
108
|
#
|
104
|
-
#
|
105
|
-
#
|
106
|
-
#
|
109
|
+
# * `RedriveAllowPolicy` – The string that includes the parameters for
|
110
|
+
# the permissions for the dead-letter queue redrive permission and
|
111
|
+
# which source queues can specify dead-letter queues as a JSON object.
|
112
|
+
# The parameters are as follows:
|
107
113
|
#
|
108
|
-
#
|
114
|
+
# * `redrivePermission` – The permission type that defines which
|
115
|
+
# source queues can specify the current queue as the dead-letter
|
116
|
+
# queue. Valid values are:
|
109
117
|
#
|
110
|
-
#
|
111
|
-
#
|
112
|
-
#
|
113
|
-
#
|
118
|
+
# * `allowAll` – (Default) Any source queues in this Amazon Web
|
119
|
+
# Services account in the same Region can specify this queue as
|
120
|
+
# the dead-letter queue.
|
121
|
+
#
|
122
|
+
# * `denyAll` – No source queues can specify this queue as the
|
123
|
+
# dead-letter queue.
|
124
|
+
#
|
125
|
+
# * `byQueue` – Only queues specified by the `sourceQueueArns`
|
126
|
+
# parameter can specify this queue as the dead-letter queue.
|
127
|
+
#
|
128
|
+
# * `sourceQueueArns` – The Amazon Resource Names (ARN)s of the source
|
129
|
+
# queues that can specify this queue as the dead-letter queue and
|
130
|
+
# redrive messages. You can specify this parameter only when the
|
131
|
+
# `redrivePermission` parameter is set to `byQueue`. You can specify
|
132
|
+
# up to 10 source queue ARNs. To allow more than 10 source queues to
|
133
|
+
# specify dead-letter queues, set the `redrivePermission` parameter
|
134
|
+
# to `allowAll`.
|
135
|
+
#
|
136
|
+
# <note markdown="1"> The dead-letter queue of a FIFO queue must also be a FIFO queue.
|
137
|
+
# Similarly, the dead-letter queue of a standard queue must also be a
|
138
|
+
# standard queue.
|
139
|
+
#
|
140
|
+
# </note>
|
114
141
|
#
|
115
142
|
# The following attributes apply only to [server-side-encryption][4]\:
|
116
143
|
#
|
@@ -206,8 +233,8 @@ module Aws::SQS
|
|
206
233
|
#
|
207
234
|
#
|
208
235
|
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/PoliciesOverview.html
|
209
|
-
# [2]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-
|
210
|
-
# [3]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-
|
236
|
+
# [2]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-visibility-timeout.html
|
237
|
+
# [3]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-dead-letter-queues.html
|
211
238
|
# [4]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html
|
212
239
|
# [5]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html#sqs-sse-key-terms
|
213
240
|
# [6]: https://docs.aws.amazon.com/kms/latest/APIReference/API_DescribeKey.html#API_DescribeKey_RequestParameters
|
data/lib/aws-sdk-sqs/types.rb
CHANGED
@@ -336,11 +336,16 @@ module Aws::SQS
|
|
336
336
|
# arrive. Valid values: An integer from 0 to 20 (seconds). Default:
|
337
337
|
# 0.
|
338
338
|
#
|
339
|
+
# * `VisibilityTimeout` – The visibility timeout for the queue, in
|
340
|
+
# seconds. Valid values: An integer from 0 to 43,200 (12 hours).
|
341
|
+
# Default: 30. For more information about the visibility timeout,
|
342
|
+
# see [Visibility Timeout][2] in the *Amazon SQS Developer Guide*.
|
343
|
+
#
|
344
|
+
# The following attributes apply only to [dead-letter queues:][3]
|
345
|
+
#
|
339
346
|
# * `RedrivePolicy` – The string that includes the parameters for the
|
340
347
|
# dead-letter queue functionality of the source queue as a JSON
|
341
|
-
# object.
|
342
|
-
# dead-letter queues, see [Using Amazon SQS Dead-Letter Queues][2]
|
343
|
-
# in the *Amazon SQS Developer Guide*.
|
348
|
+
# object. The parameters are as follows:
|
344
349
|
#
|
345
350
|
# * `deadLetterTargetArn` – The Amazon Resource Name (ARN) of the
|
346
351
|
# dead-letter queue to which Amazon SQS moves messages after the
|
@@ -352,16 +357,38 @@ module Aws::SQS
|
|
352
357
|
# `maxReceiveCount` for a queue, Amazon SQS moves the message to
|
353
358
|
# the dead-letter-queue.
|
354
359
|
#
|
355
|
-
#
|
356
|
-
#
|
357
|
-
# a
|
360
|
+
# * `RedriveAllowPolicy` – The string that includes the parameters for
|
361
|
+
# the permissions for the dead-letter queue redrive permission and
|
362
|
+
# which source queues can specify dead-letter queues as a JSON
|
363
|
+
# object. The parameters are as follows:
|
358
364
|
#
|
359
|
-
#
|
365
|
+
# * `redrivePermission` – The permission type that defines which
|
366
|
+
# source queues can specify the current queue as the dead-letter
|
367
|
+
# queue. Valid values are:
|
360
368
|
#
|
361
|
-
#
|
362
|
-
#
|
363
|
-
#
|
364
|
-
#
|
369
|
+
# * `allowAll` – (Default) Any source queues in this Amazon Web
|
370
|
+
# Services account in the same Region can specify this queue as
|
371
|
+
# the dead-letter queue.
|
372
|
+
#
|
373
|
+
# * `denyAll` – No source queues can specify this queue as the
|
374
|
+
# dead-letter queue.
|
375
|
+
#
|
376
|
+
# * `byQueue` – Only queues specified by the `sourceQueueArns`
|
377
|
+
# parameter can specify this queue as the dead-letter queue.
|
378
|
+
#
|
379
|
+
# * `sourceQueueArns` – The Amazon Resource Names (ARN)s of the
|
380
|
+
# source queues that can specify this queue as the dead-letter
|
381
|
+
# queue and redrive messages. You can specify this parameter only
|
382
|
+
# when the `redrivePermission` parameter is set to `byQueue`. You
|
383
|
+
# can specify up to 10 source queue ARNs. To allow more than 10
|
384
|
+
# source queues to specify dead-letter queues, set the
|
385
|
+
# `redrivePermission` parameter to `allowAll`.
|
386
|
+
#
|
387
|
+
# <note markdown="1"> The dead-letter queue of a FIFO queue must also be a FIFO queue.
|
388
|
+
# Similarly, the dead-letter queue of a standard queue must also be a
|
389
|
+
# standard queue.
|
390
|
+
#
|
391
|
+
# </note>
|
365
392
|
#
|
366
393
|
# The following attributes apply only to [server-side-encryption][4]\:
|
367
394
|
#
|
@@ -457,8 +484,8 @@ module Aws::SQS
|
|
457
484
|
#
|
458
485
|
#
|
459
486
|
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/PoliciesOverview.html
|
460
|
-
# [2]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-
|
461
|
-
# [3]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-
|
487
|
+
# [2]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-visibility-timeout.html
|
488
|
+
# [3]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-dead-letter-queues.html
|
462
489
|
# [4]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html
|
463
490
|
# [5]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html#sqs-sse-key-terms
|
464
491
|
# [6]: https://docs.aws.amazon.com/kms/latest/APIReference/API_DescribeKey.html#API_DescribeKey_RequestParameters
|
@@ -693,7 +720,7 @@ module Aws::SQS
|
|
693
720
|
#
|
694
721
|
# {
|
695
722
|
# queue_url: "String", # required
|
696
|
-
# attribute_names: ["All"], # accepts All, Policy, VisibilityTimeout, MaximumMessageSize, MessageRetentionPeriod, ApproximateNumberOfMessages, ApproximateNumberOfMessagesNotVisible, CreatedTimestamp, LastModifiedTimestamp, QueueArn, ApproximateNumberOfMessagesDelayed, DelaySeconds, ReceiveMessageWaitTimeSeconds, RedrivePolicy, FifoQueue, ContentBasedDeduplication, KmsMasterKeyId, KmsDataKeyReusePeriodSeconds, DeduplicationScope, FifoThroughputLimit
|
723
|
+
# attribute_names: ["All"], # accepts All, Policy, VisibilityTimeout, MaximumMessageSize, MessageRetentionPeriod, ApproximateNumberOfMessages, ApproximateNumberOfMessagesNotVisible, CreatedTimestamp, LastModifiedTimestamp, QueueArn, ApproximateNumberOfMessagesDelayed, DelaySeconds, ReceiveMessageWaitTimeSeconds, RedrivePolicy, FifoQueue, ContentBasedDeduplication, KmsMasterKeyId, KmsDataKeyReusePeriodSeconds, DeduplicationScope, FifoThroughputLimit, RedriveAllowPolicy
|
697
724
|
# }
|
698
725
|
#
|
699
726
|
# @!attribute [rw] queue_url
|
@@ -765,11 +792,15 @@ module Aws::SQS
|
|
765
792
|
# seconds, for which the `ReceiveMessage` action waits for a message
|
766
793
|
# to arrive.
|
767
794
|
#
|
795
|
+
# * `VisibilityTimeout` – Returns the visibility timeout for the
|
796
|
+
# queue. For more information about the visibility timeout, see
|
797
|
+
# [Visibility Timeout][2] in the *Amazon SQS Developer Guide*.
|
798
|
+
#
|
799
|
+
# The following attributes apply only to [dead-letter queues:][3]
|
800
|
+
#
|
768
801
|
# * `RedrivePolicy` – The string that includes the parameters for the
|
769
802
|
# dead-letter queue functionality of the source queue as a JSON
|
770
|
-
# object.
|
771
|
-
# dead-letter queues, see [Using Amazon SQS Dead-Letter Queues][2]
|
772
|
-
# in the *Amazon SQS Developer Guide*.
|
803
|
+
# object. The parameters are as follows:
|
773
804
|
#
|
774
805
|
# * `deadLetterTargetArn` – The Amazon Resource Name (ARN) of the
|
775
806
|
# dead-letter queue to which Amazon SQS moves messages after the
|
@@ -781,9 +812,38 @@ module Aws::SQS
|
|
781
812
|
# `maxReceiveCount` for a queue, Amazon SQS moves the message to
|
782
813
|
# the dead-letter-queue.
|
783
814
|
#
|
784
|
-
# * `
|
785
|
-
#
|
786
|
-
#
|
815
|
+
# * `RedriveAllowPolicy` – The string that includes the parameters for
|
816
|
+
# the permissions for the dead-letter queue redrive permission and
|
817
|
+
# which source queues can specify dead-letter queues as a JSON
|
818
|
+
# object. The parameters are as follows:
|
819
|
+
#
|
820
|
+
# * `redrivePermission` – The permission type that defines which
|
821
|
+
# source queues can specify the current queue as the dead-letter
|
822
|
+
# queue. Valid values are:
|
823
|
+
#
|
824
|
+
# * `allowAll` – (Default) Any source queues in this Amazon Web
|
825
|
+
# Services account in the same Region can specify this queue as
|
826
|
+
# the dead-letter queue.
|
827
|
+
#
|
828
|
+
# * `denyAll` – No source queues can specify this queue as the
|
829
|
+
# dead-letter queue.
|
830
|
+
#
|
831
|
+
# * `byQueue` – Only queues specified by the `sourceQueueArns`
|
832
|
+
# parameter can specify this queue as the dead-letter queue.
|
833
|
+
#
|
834
|
+
# * `sourceQueueArns` – The Amazon Resource Names (ARN)s of the
|
835
|
+
# source queues that can specify this queue as the dead-letter
|
836
|
+
# queue and redrive messages. You can specify this parameter only
|
837
|
+
# when the `redrivePermission` parameter is set to `byQueue`. You
|
838
|
+
# can specify up to 10 source queue ARNs. To allow more than 10
|
839
|
+
# source queues to specify dead-letter queues, set the
|
840
|
+
# `redrivePermission` parameter to `allowAll`.
|
841
|
+
#
|
842
|
+
# <note markdown="1"> The dead-letter queue of a FIFO queue must also be a FIFO queue.
|
843
|
+
# Similarly, the dead-letter queue of a standard queue must also be a
|
844
|
+
# standard queue.
|
845
|
+
#
|
846
|
+
# </note>
|
787
847
|
#
|
788
848
|
# The following attributes apply only to [server-side-encryption][4]\:
|
789
849
|
#
|
@@ -841,8 +901,8 @@ module Aws::SQS
|
|
841
901
|
#
|
842
902
|
#
|
843
903
|
# [1]: http://en.wikipedia.org/wiki/Unix_time
|
844
|
-
# [2]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-
|
845
|
-
# [3]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-
|
904
|
+
# [2]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-visibility-timeout.html
|
905
|
+
# [3]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-dead-letter-queues.html
|
846
906
|
# [4]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html
|
847
907
|
# [5]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html#sqs-sse-key-terms
|
848
908
|
# [6]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html#sqs-how-does-the-data-key-reuse-period-work
|
@@ -1389,7 +1449,7 @@ module Aws::SQS
|
|
1389
1449
|
#
|
1390
1450
|
# {
|
1391
1451
|
# queue_url: "String", # required
|
1392
|
-
# attribute_names: ["All"], # accepts All, Policy, VisibilityTimeout, MaximumMessageSize, MessageRetentionPeriod, ApproximateNumberOfMessages, ApproximateNumberOfMessagesNotVisible, CreatedTimestamp, LastModifiedTimestamp, QueueArn, ApproximateNumberOfMessagesDelayed, DelaySeconds, ReceiveMessageWaitTimeSeconds, RedrivePolicy, FifoQueue, ContentBasedDeduplication, KmsMasterKeyId, KmsDataKeyReusePeriodSeconds, DeduplicationScope, FifoThroughputLimit
|
1452
|
+
# attribute_names: ["All"], # accepts All, Policy, VisibilityTimeout, MaximumMessageSize, MessageRetentionPeriod, ApproximateNumberOfMessages, ApproximateNumberOfMessagesNotVisible, CreatedTimestamp, LastModifiedTimestamp, QueueArn, ApproximateNumberOfMessagesDelayed, DelaySeconds, ReceiveMessageWaitTimeSeconds, RedrivePolicy, FifoQueue, ContentBasedDeduplication, KmsMasterKeyId, KmsDataKeyReusePeriodSeconds, DeduplicationScope, FifoThroughputLimit, RedriveAllowPolicy
|
1393
1453
|
# message_attribute_names: ["MessageAttributeName"],
|
1394
1454
|
# max_number_of_messages: 1,
|
1395
1455
|
# visibility_timeout: 1,
|
@@ -2279,11 +2339,16 @@ module Aws::SQS
|
|
2279
2339
|
# arrive. Valid values: An integer from 0 to 20 (seconds). Default:
|
2280
2340
|
# 0.
|
2281
2341
|
#
|
2342
|
+
# * `VisibilityTimeout` – The visibility timeout for the queue, in
|
2343
|
+
# seconds. Valid values: An integer from 0 to 43,200 (12 hours).
|
2344
|
+
# Default: 30. For more information about the visibility timeout,
|
2345
|
+
# see [Visibility Timeout][2] in the *Amazon SQS Developer Guide*.
|
2346
|
+
#
|
2347
|
+
# The following attributes apply only to [dead-letter queues:][3]
|
2348
|
+
#
|
2282
2349
|
# * `RedrivePolicy` – The string that includes the parameters for the
|
2283
2350
|
# dead-letter queue functionality of the source queue as a JSON
|
2284
|
-
# object.
|
2285
|
-
# dead-letter queues, see [Using Amazon SQS Dead-Letter Queues][2]
|
2286
|
-
# in the *Amazon SQS Developer Guide*.
|
2351
|
+
# object. The parameters are as follows:
|
2287
2352
|
#
|
2288
2353
|
# * `deadLetterTargetArn` – The Amazon Resource Name (ARN) of the
|
2289
2354
|
# dead-letter queue to which Amazon SQS moves messages after the
|
@@ -2295,16 +2360,38 @@ module Aws::SQS
|
|
2295
2360
|
# `maxReceiveCount` for a queue, Amazon SQS moves the message to
|
2296
2361
|
# the dead-letter-queue.
|
2297
2362
|
#
|
2298
|
-
#
|
2299
|
-
#
|
2300
|
-
# a
|
2363
|
+
# * `RedriveAllowPolicy` – The string that includes the parameters for
|
2364
|
+
# the permissions for the dead-letter queue redrive permission and
|
2365
|
+
# which source queues can specify dead-letter queues as a JSON
|
2366
|
+
# object. The parameters are as follows:
|
2301
2367
|
#
|
2302
|
-
#
|
2368
|
+
# * `redrivePermission` – The permission type that defines which
|
2369
|
+
# source queues can specify the current queue as the dead-letter
|
2370
|
+
# queue. Valid values are:
|
2303
2371
|
#
|
2304
|
-
#
|
2305
|
-
#
|
2306
|
-
#
|
2307
|
-
#
|
2372
|
+
# * `allowAll` – (Default) Any source queues in this Amazon Web
|
2373
|
+
# Services account in the same Region can specify this queue as
|
2374
|
+
# the dead-letter queue.
|
2375
|
+
#
|
2376
|
+
# * `denyAll` – No source queues can specify this queue as the
|
2377
|
+
# dead-letter queue.
|
2378
|
+
#
|
2379
|
+
# * `byQueue` – Only queues specified by the `sourceQueueArns`
|
2380
|
+
# parameter can specify this queue as the dead-letter queue.
|
2381
|
+
#
|
2382
|
+
# * `sourceQueueArns` – The Amazon Resource Names (ARN)s of the
|
2383
|
+
# source queues that can specify this queue as the dead-letter
|
2384
|
+
# queue and redrive messages. You can specify this parameter only
|
2385
|
+
# when the `redrivePermission` parameter is set to `byQueue`. You
|
2386
|
+
# can specify up to 10 source queue ARNs. To allow more than 10
|
2387
|
+
# source queues to specify dead-letter queues, set the
|
2388
|
+
# `redrivePermission` parameter to `allowAll`.
|
2389
|
+
#
|
2390
|
+
# <note markdown="1"> The dead-letter queue of a FIFO queue must also be a FIFO queue.
|
2391
|
+
# Similarly, the dead-letter queue of a standard queue must also be a
|
2392
|
+
# standard queue.
|
2393
|
+
#
|
2394
|
+
# </note>
|
2308
2395
|
#
|
2309
2396
|
# The following attributes apply only to [server-side-encryption][4]\:
|
2310
2397
|
#
|
@@ -2389,8 +2476,8 @@ module Aws::SQS
|
|
2389
2476
|
#
|
2390
2477
|
#
|
2391
2478
|
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/PoliciesOverview.html
|
2392
|
-
# [2]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-
|
2393
|
-
# [3]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-
|
2479
|
+
# [2]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-visibility-timeout.html
|
2480
|
+
# [3]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-dead-letter-queues.html
|
2394
2481
|
# [4]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html
|
2395
2482
|
# [5]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html#sqs-sse-key-terms
|
2396
2483
|
# [6]: https://docs.aws.amazon.com/kms/latest/APIReference/API_DescribeKey.html#API_DescribeKey_RequestParameters
|
data/lib/aws-sdk-sqs.rb
CHANGED
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.43.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: 2021-
|
11
|
+
date: 2021-08-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|