aws-sdk-sqs 1.43.0 → 1.47.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 +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-sqs/client.rb +106 -158
- data/lib/aws-sdk-sqs/message.rb +2 -1
- data/lib/aws-sdk-sqs/queue.rb +38 -53
- data/lib/aws-sdk-sqs/resource.rb +31 -51
- data/lib/aws-sdk-sqs/types.rb +101 -159
- data/lib/aws-sdk-sqs.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d4314b9618e1dd3901ba8c4231eb897df9708d8fff9e91f5563b407b16ec1162
|
4
|
+
data.tar.gz: f38a9506b4550f51890ac1b12341ae98f197fa990013e088f29ff8c185f5eb1a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 61c959f9e7bea486f0411d61d56002c3cf0a222b137d35d06af27a73b72f498afcb71edd3570a476bcbb981e8f775727c659624cffd1e64308b43209b7a32b7b
|
7
|
+
data.tar.gz: 3016cf5a8bffa74341b4cacc658b1c0cad2648909ae94cbc97dbbe144ebc6c4d333c3bb20891f813ce61203aca04274602a53e377bb79e8c3154f2420162d303
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,26 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.47.0 (2021-11-23)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Amazon SQS adds a new queue attribute, SqsManagedSseEnabled, which enables server-side queue encryption using SQS owned encryption keys.
|
8
|
+
|
9
|
+
1.46.0 (2021-11-04)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
1.45.0 (2021-10-18)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
19
|
+
1.44.0 (2021-09-01)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
23
|
+
|
4
24
|
1.43.0 (2021-08-31)
|
5
25
|
------------------
|
6
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.47.0
|
data/lib/aws-sdk-sqs/client.rb
CHANGED
@@ -279,6 +279,15 @@ module Aws::SQS
|
|
279
279
|
# ** Please note ** When response stubbing is enabled, no HTTP
|
280
280
|
# requests are made, and retries are disabled.
|
281
281
|
#
|
282
|
+
# @option options [Boolean] :use_dualstack_endpoint
|
283
|
+
# When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
|
284
|
+
# will be used if available.
|
285
|
+
#
|
286
|
+
# @option options [Boolean] :use_fips_endpoint
|
287
|
+
# When set to `true`, fips compatible endpoints will be used if available.
|
288
|
+
# When a `fips` region is used, the region is normalized and this config
|
289
|
+
# is set to `true`.
|
290
|
+
#
|
282
291
|
# @option options [Boolean] :validate_params (true)
|
283
292
|
# When `true`, request parameters are validated before
|
284
293
|
# sending the request.
|
@@ -392,10 +401,10 @@ module Aws::SQS
|
|
392
401
|
# underscores (`_`).
|
393
402
|
#
|
394
403
|
# @option params [required, Array<String>] :aws_account_ids
|
395
|
-
# The account numbers of the [principals][1] who are
|
396
|
-
# permission. For information about locating the
|
397
|
-
# see [Your Amazon Web Services
|
398
|
-
# Developer Guide*.
|
404
|
+
# The Amazon Web Services account numbers of the [principals][1] who are
|
405
|
+
# to receive permission. For information about locating the Amazon Web
|
406
|
+
# Services account identification, see [Your Amazon Web Services
|
407
|
+
# Identifiers][2] in the *Amazon SQS Developer Guide*.
|
399
408
|
#
|
400
409
|
#
|
401
410
|
#
|
@@ -703,16 +712,11 @@ module Aws::SQS
|
|
703
712
|
# for which a ` ReceiveMessage ` action waits for a message to arrive.
|
704
713
|
# Valid values: An integer from 0 to 20 (seconds). Default: 0.
|
705
714
|
#
|
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
|
-
#
|
713
715
|
# * `RedrivePolicy` – The string that includes the parameters for the
|
714
716
|
# dead-letter queue functionality of the source queue as a JSON
|
715
|
-
# object.
|
717
|
+
# object. For more information about the redrive policy and
|
718
|
+
# dead-letter queues, see [Using Amazon SQS Dead-Letter Queues][2] in
|
719
|
+
# the *Amazon SQS Developer Guide*.
|
716
720
|
#
|
717
721
|
# * `deadLetterTargetArn` – The Amazon Resource Name (ARN) of the
|
718
722
|
# dead-letter queue to which Amazon SQS moves messages after the
|
@@ -723,38 +727,16 @@ module Aws::SQS
|
|
723
727
|
# the `ReceiveCount` for a message exceeds the `maxReceiveCount` for
|
724
728
|
# a queue, Amazon SQS moves the message to the dead-letter-queue.
|
725
729
|
#
|
726
|
-
#
|
727
|
-
#
|
728
|
-
#
|
729
|
-
# The parameters are as follows:
|
730
|
-
#
|
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:
|
730
|
+
# <note markdown="1"> The dead-letter queue of a FIFO queue must also be a FIFO queue.
|
731
|
+
# Similarly, the dead-letter queue of a standard queue must also be a
|
732
|
+
# standard queue.
|
734
733
|
#
|
735
|
-
#
|
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.
|
734
|
+
# </note>
|
756
735
|
#
|
757
|
-
#
|
736
|
+
# * `VisibilityTimeout` – The visibility timeout for the queue, in
|
737
|
+
# seconds. Valid values: An integer from 0 to 43,200 (12 hours).
|
738
|
+
# Default: 30. For more information about the visibility timeout, see
|
739
|
+
# [Visibility Timeout][3] in the *Amazon SQS Developer Guide*.
|
758
740
|
#
|
759
741
|
# The following attributes apply only to [server-side-encryption][4]\:
|
760
742
|
#
|
@@ -775,8 +757,12 @@ module Aws::SQS
|
|
775
757
|
# after Free Tier. For more information, see [How Does the Data Key
|
776
758
|
# Reuse Period Work?][8].
|
777
759
|
#
|
760
|
+
# * `SqsManagedSseEnabled` – Enables server-side queue encryption using
|
761
|
+
# SQS owned encryption keys. Only one server-side encryption option is
|
762
|
+
# supported per queue (e.g. [SSE-KMS][9] or [SSE-SQS][10]).
|
763
|
+
#
|
778
764
|
# The following attributes apply only to [FIFO (first-in-first-out)
|
779
|
-
# queues][
|
765
|
+
# queues][11]\:
|
780
766
|
#
|
781
767
|
# * `FifoQueue` – Designates a queue as FIFO. Valid values are `true`
|
782
768
|
# and `false`. If you don't specify the `FifoQueue` attribute, Amazon
|
@@ -785,12 +771,12 @@ module Aws::SQS
|
|
785
771
|
# When you set this attribute, you must also provide the
|
786
772
|
# `MessageGroupId` for your messages explicitly.
|
787
773
|
#
|
788
|
-
# For more information, see [FIFO queue logic][
|
774
|
+
# For more information, see [FIFO queue logic][12] in the *Amazon SQS
|
789
775
|
# Developer Guide*.
|
790
776
|
#
|
791
777
|
# * `ContentBasedDeduplication` – Enables content-based deduplication.
|
792
778
|
# Valid values are `true` and `false`. For more information, see
|
793
|
-
# [Exactly-once processing][
|
779
|
+
# [Exactly-once processing][13] in the *Amazon SQS Developer Guide*.
|
794
780
|
# Note the following:
|
795
781
|
#
|
796
782
|
# * Every message must have a unique `MessageDeduplicationId`.
|
@@ -822,7 +808,7 @@ module Aws::SQS
|
|
822
808
|
# duplicates and only one copy of the message is delivered.
|
823
809
|
#
|
824
810
|
# The following attributes apply only to [high throughput for FIFO
|
825
|
-
# queues][
|
811
|
+
# queues][14]\:
|
826
812
|
#
|
827
813
|
# * `DeduplicationScope` – Specifies whether message deduplication
|
828
814
|
# occurs at the message group or queue level. Valid values are
|
@@ -845,23 +831,25 @@ module Aws::SQS
|
|
845
831
|
# deduplication occurs as specified.
|
846
832
|
#
|
847
833
|
# For information on throughput quotas, see [Quotas related to
|
848
|
-
# messages][
|
834
|
+
# messages][15] in the *Amazon SQS Developer Guide*.
|
849
835
|
#
|
850
836
|
#
|
851
837
|
#
|
852
838
|
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/PoliciesOverview.html
|
853
|
-
# [2]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-
|
854
|
-
# [3]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-
|
839
|
+
# [2]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-dead-letter-queues.html
|
840
|
+
# [3]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-visibility-timeout.html
|
855
841
|
# [4]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html
|
856
842
|
# [5]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html#sqs-sse-key-terms
|
857
843
|
# [6]: https://docs.aws.amazon.com/kms/latest/APIReference/API_DescribeKey.html#API_DescribeKey_RequestParameters
|
858
844
|
# [7]: https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#data-keys
|
859
845
|
# [8]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html#sqs-how-does-the-data-key-reuse-period-work
|
860
|
-
# [9]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/
|
861
|
-
# [10]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/
|
862
|
-
# [11]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues
|
863
|
-
# [12]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/
|
864
|
-
# [13]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/
|
846
|
+
# [9]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-configure-sse-existing-queue.html
|
847
|
+
# [10]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-configure-sqs-sse-queue.html
|
848
|
+
# [11]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html
|
849
|
+
# [12]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues-understanding-logic.html
|
850
|
+
# [13]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues-exactly-once-processing.html
|
851
|
+
# [14]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/high-throughput-fifo.html
|
852
|
+
# [15]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/quotas-messages.html
|
865
853
|
#
|
866
854
|
# @option params [Hash<String,String>] :tags
|
867
855
|
# Add cost allocation tags to the specified Amazon SQS queue. For an
|
@@ -1160,15 +1148,11 @@ module Aws::SQS
|
|
1160
1148
|
# seconds, for which the `ReceiveMessage` action waits for a message
|
1161
1149
|
# to arrive.
|
1162
1150
|
#
|
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
|
-
#
|
1169
1151
|
# * `RedrivePolicy` – The string that includes the parameters for the
|
1170
1152
|
# dead-letter queue functionality of the source queue as a JSON
|
1171
|
-
# object.
|
1153
|
+
# object. For more information about the redrive policy and
|
1154
|
+
# dead-letter queues, see [Using Amazon SQS Dead-Letter Queues][2] in
|
1155
|
+
# the *Amazon SQS Developer Guide*.
|
1172
1156
|
#
|
1173
1157
|
# * `deadLetterTargetArn` – The Amazon Resource Name (ARN) of the
|
1174
1158
|
# dead-letter queue to which Amazon SQS moves messages after the
|
@@ -1179,38 +1163,9 @@ module Aws::SQS
|
|
1179
1163
|
# the `ReceiveCount` for a message exceeds the `maxReceiveCount` for
|
1180
1164
|
# a queue, Amazon SQS moves the message to the dead-letter-queue.
|
1181
1165
|
#
|
1182
|
-
# * `
|
1183
|
-
#
|
1184
|
-
#
|
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>
|
1166
|
+
# * `VisibilityTimeout` – Returns the visibility timeout for the queue.
|
1167
|
+
# For more information about the visibility timeout, see [Visibility
|
1168
|
+
# Timeout][3] in the *Amazon SQS Developer Guide*.
|
1214
1169
|
#
|
1215
1170
|
# The following attributes apply only to [server-side-encryption][4]\:
|
1216
1171
|
#
|
@@ -1223,24 +1178,29 @@ module Aws::SQS
|
|
1223
1178
|
# decrypt messages before calling KMS again. For more information, see
|
1224
1179
|
# [How Does the Data Key Reuse Period Work?][6].
|
1225
1180
|
#
|
1181
|
+
# * `SqsManagedSseEnabled` – Returns information about whether the queue
|
1182
|
+
# is using SSE-SQS encryption using SQS owned encryption keys. Only
|
1183
|
+
# one server-side encryption option is supported per queue (e.g.
|
1184
|
+
# [SSE-KMS][7] or [SSE-SQS][8]).
|
1185
|
+
#
|
1226
1186
|
# The following attributes apply only to [FIFO (first-in-first-out)
|
1227
|
-
# queues][
|
1187
|
+
# queues][9]\:
|
1228
1188
|
#
|
1229
1189
|
# * `FifoQueue` – Returns information about whether the queue is FIFO.
|
1230
|
-
# For more information, see [FIFO queue logic][
|
1190
|
+
# For more information, see [FIFO queue logic][10] in the *Amazon SQS
|
1231
1191
|
# Developer Guide*.
|
1232
1192
|
#
|
1233
|
-
# <note markdown="1"> To determine whether a queue is [FIFO][
|
1193
|
+
# <note markdown="1"> To determine whether a queue is [FIFO][9], you can check whether
|
1234
1194
|
# `QueueName` ends with the `.fifo` suffix.
|
1235
1195
|
#
|
1236
1196
|
# </note>
|
1237
1197
|
#
|
1238
1198
|
# * `ContentBasedDeduplication` – Returns whether content-based
|
1239
1199
|
# deduplication is enabled for the queue. For more information, see
|
1240
|
-
# [Exactly-once processing][
|
1200
|
+
# [Exactly-once processing][11] in the *Amazon SQS Developer Guide*.
|
1241
1201
|
#
|
1242
1202
|
# The following attributes apply only to [high throughput for FIFO
|
1243
|
-
# queues][
|
1203
|
+
# queues][12]\:
|
1244
1204
|
#
|
1245
1205
|
# * `DeduplicationScope` – Specifies whether message deduplication
|
1246
1206
|
# occurs at the message group or queue level. Valid values are
|
@@ -1263,21 +1223,23 @@ module Aws::SQS
|
|
1263
1223
|
# deduplication occurs as specified.
|
1264
1224
|
#
|
1265
1225
|
# For information on throughput quotas, see [Quotas related to
|
1266
|
-
# messages][
|
1226
|
+
# messages][13] in the *Amazon SQS Developer Guide*.
|
1267
1227
|
#
|
1268
1228
|
#
|
1269
1229
|
#
|
1270
1230
|
# [1]: http://en.wikipedia.org/wiki/Unix_time
|
1271
|
-
# [2]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-
|
1272
|
-
# [3]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-
|
1231
|
+
# [2]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-dead-letter-queues.html
|
1232
|
+
# [3]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-visibility-timeout.html
|
1273
1233
|
# [4]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html
|
1274
1234
|
# [5]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html#sqs-sse-key-terms
|
1275
1235
|
# [6]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html#sqs-how-does-the-data-key-reuse-period-work
|
1276
|
-
# [7]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/
|
1277
|
-
# [8]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/
|
1278
|
-
# [9]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues
|
1279
|
-
# [10]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/
|
1280
|
-
# [11]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/
|
1236
|
+
# [7]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-configure-sse-existing-queue.html
|
1237
|
+
# [8]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-configure-sqs-sse-queue.html
|
1238
|
+
# [9]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html
|
1239
|
+
# [10]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues-understanding-logic.html
|
1240
|
+
# [11]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues-exactly-once-processing.html
|
1241
|
+
# [12]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/high-throughput-fifo.html
|
1242
|
+
# [13]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/quotas-messages.html
|
1281
1243
|
#
|
1282
1244
|
# @return [Types::GetQueueAttributesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1283
1245
|
#
|
@@ -1287,7 +1249,7 @@ module Aws::SQS
|
|
1287
1249
|
#
|
1288
1250
|
# resp = client.get_queue_attributes({
|
1289
1251
|
# queue_url: "String", # required
|
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
|
1252
|
+
# 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, SqsManagedSseEnabled
|
1291
1253
|
# })
|
1292
1254
|
#
|
1293
1255
|
# @example Response structure
|
@@ -1325,7 +1287,8 @@ module Aws::SQS
|
|
1325
1287
|
# Queue URLs and names are case-sensitive.
|
1326
1288
|
#
|
1327
1289
|
# @option params [String] :queue_owner_aws_account_id
|
1328
|
-
# The account ID of the account that created the
|
1290
|
+
# The Amazon Web Services account ID of the account that created the
|
1291
|
+
# queue.
|
1329
1292
|
#
|
1330
1293
|
# @return [Types::GetQueueUrlResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1331
1294
|
#
|
@@ -1647,6 +1610,10 @@ module Aws::SQS
|
|
1647
1610
|
# * `SentTimestamp` – Returns the time the message was sent to the queue
|
1648
1611
|
# ([epoch time][1] in milliseconds).
|
1649
1612
|
#
|
1613
|
+
# * `SqsManagedSseEnabled` – Enables server-side queue encryption using
|
1614
|
+
# SQS owned encryption keys. Only one server-side encryption option is
|
1615
|
+
# supported per queue (e.g. [SSE-KMS][2] or [SSE-SQS][3]).
|
1616
|
+
#
|
1650
1617
|
# * `MessageDeduplicationId` – Returns the value provided by the
|
1651
1618
|
# producer that calls the ` SendMessage ` action.
|
1652
1619
|
#
|
@@ -1659,6 +1626,8 @@ module Aws::SQS
|
|
1659
1626
|
#
|
1660
1627
|
#
|
1661
1628
|
# [1]: http://en.wikipedia.org/wiki/Unix_time
|
1629
|
+
# [2]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-configure-sse-existing-queue.html
|
1630
|
+
# [3]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-configure-sqs-sse-queue.html
|
1662
1631
|
#
|
1663
1632
|
# @option params [Array<String>] :message_attribute_names
|
1664
1633
|
# The name of the message attribute, where *N* is the index.
|
@@ -1783,7 +1752,7 @@ module Aws::SQS
|
|
1783
1752
|
#
|
1784
1753
|
# resp = client.receive_message({
|
1785
1754
|
# queue_url: "String", # required
|
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
|
1755
|
+
# 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, SqsManagedSseEnabled
|
1787
1756
|
# message_attribute_names: ["MessageAttributeName"],
|
1788
1757
|
# max_number_of_messages: 1,
|
1789
1758
|
# visibility_timeout: 1,
|
@@ -2247,16 +2216,11 @@ module Aws::SQS
|
|
2247
2216
|
# for which a ` ReceiveMessage ` action waits for a message to arrive.
|
2248
2217
|
# Valid values: An integer from 0 to 20 (seconds). Default: 0.
|
2249
2218
|
#
|
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
|
-
#
|
2257
2219
|
# * `RedrivePolicy` – The string that includes the parameters for the
|
2258
2220
|
# dead-letter queue functionality of the source queue as a JSON
|
2259
|
-
# object.
|
2221
|
+
# object. For more information about the redrive policy and
|
2222
|
+
# dead-letter queues, see [Using Amazon SQS Dead-Letter Queues][2] in
|
2223
|
+
# the *Amazon SQS Developer Guide*.
|
2260
2224
|
#
|
2261
2225
|
# * `deadLetterTargetArn` – The Amazon Resource Name (ARN) of the
|
2262
2226
|
# dead-letter queue to which Amazon SQS moves messages after the
|
@@ -2267,38 +2231,16 @@ module Aws::SQS
|
|
2267
2231
|
# the `ReceiveCount` for a message exceeds the `maxReceiveCount` for
|
2268
2232
|
# a queue, Amazon SQS moves the message to the dead-letter-queue.
|
2269
2233
|
#
|
2270
|
-
#
|
2271
|
-
#
|
2272
|
-
#
|
2273
|
-
# The parameters are as follows:
|
2274
|
-
#
|
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:
|
2234
|
+
# <note markdown="1"> The dead-letter queue of a FIFO queue must also be a FIFO queue.
|
2235
|
+
# Similarly, the dead-letter queue of a standard queue must also be a
|
2236
|
+
# standard queue.
|
2278
2237
|
#
|
2279
|
-
#
|
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.
|
2238
|
+
# </note>
|
2300
2239
|
#
|
2301
|
-
#
|
2240
|
+
# * `VisibilityTimeout` – The visibility timeout for the queue, in
|
2241
|
+
# seconds. Valid values: An integer from 0 to 43,200 (12 hours).
|
2242
|
+
# Default: 30. For more information about the visibility timeout, see
|
2243
|
+
# [Visibility Timeout][3] in the *Amazon SQS Developer Guide*.
|
2302
2244
|
#
|
2303
2245
|
# The following attributes apply only to [server-side-encryption][4]\:
|
2304
2246
|
#
|
@@ -2318,11 +2260,15 @@ module Aws::SQS
|
|
2318
2260
|
# after Free Tier. For more information, see [How Does the Data Key
|
2319
2261
|
# Reuse Period Work?][8].
|
2320
2262
|
#
|
2263
|
+
# * `SqsManagedSseEnabled` – Enables server-side queue encryption using
|
2264
|
+
# SQS owned encryption keys. Only one server-side encryption option is
|
2265
|
+
# supported per queue (e.g. [SSE-KMS][9] or [SSE-SQS][10]).
|
2266
|
+
#
|
2321
2267
|
# The following attribute applies only to [FIFO (first-in-first-out)
|
2322
|
-
# queues][
|
2268
|
+
# queues][11]\:
|
2323
2269
|
#
|
2324
2270
|
# * `ContentBasedDeduplication` – Enables content-based deduplication.
|
2325
|
-
# For more information, see [Exactly-once processing][
|
2271
|
+
# For more information, see [Exactly-once processing][12] in the
|
2326
2272
|
# *Amazon SQS Developer Guide*. Note the following:
|
2327
2273
|
#
|
2328
2274
|
# * Every message must have a unique `MessageDeduplicationId`.
|
@@ -2354,7 +2300,7 @@ module Aws::SQS
|
|
2354
2300
|
# duplicates and only one copy of the message is delivered.
|
2355
2301
|
#
|
2356
2302
|
# The following attributes apply only to [high throughput for FIFO
|
2357
|
-
# queues][
|
2303
|
+
# queues][13]\:
|
2358
2304
|
#
|
2359
2305
|
# * `DeduplicationScope` – Specifies whether message deduplication
|
2360
2306
|
# occurs at the message group or queue level. Valid values are
|
@@ -2377,22 +2323,24 @@ module Aws::SQS
|
|
2377
2323
|
# deduplication occurs as specified.
|
2378
2324
|
#
|
2379
2325
|
# For information on throughput quotas, see [Quotas related to
|
2380
|
-
# messages][
|
2326
|
+
# messages][14] in the *Amazon SQS Developer Guide*.
|
2381
2327
|
#
|
2382
2328
|
#
|
2383
2329
|
#
|
2384
2330
|
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/PoliciesOverview.html
|
2385
|
-
# [2]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-
|
2386
|
-
# [3]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-
|
2331
|
+
# [2]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-dead-letter-queues.html
|
2332
|
+
# [3]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-visibility-timeout.html
|
2387
2333
|
# [4]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html
|
2388
2334
|
# [5]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html#sqs-sse-key-terms
|
2389
2335
|
# [6]: https://docs.aws.amazon.com/kms/latest/APIReference/API_DescribeKey.html#API_DescribeKey_RequestParameters
|
2390
2336
|
# [7]: https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#data-keys
|
2391
2337
|
# [8]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html#sqs-how-does-the-data-key-reuse-period-work
|
2392
|
-
# [9]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/
|
2393
|
-
# [10]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/
|
2394
|
-
# [11]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/
|
2395
|
-
# [12]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/
|
2338
|
+
# [9]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-configure-sse-existing-queue.html
|
2339
|
+
# [10]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-configure-sqs-sse-queue.html
|
2340
|
+
# [11]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html
|
2341
|
+
# [12]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues-exactly-once-processing.html
|
2342
|
+
# [13]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/high-throughput-fifo.html
|
2343
|
+
# [14]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/quotas-messages.html
|
2396
2344
|
#
|
2397
2345
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2398
2346
|
#
|
@@ -2523,7 +2471,7 @@ module Aws::SQS
|
|
2523
2471
|
params: params,
|
2524
2472
|
config: config)
|
2525
2473
|
context[:gem_name] = 'aws-sdk-sqs'
|
2526
|
-
context[:gem_version] = '1.
|
2474
|
+
context[:gem_version] = '1.47.0'
|
2527
2475
|
Seahorse::Client::Request.new(handlers, context)
|
2528
2476
|
end
|
2529
2477
|
|
data/lib/aws-sdk-sqs/message.rb
CHANGED
@@ -43,7 +43,8 @@ module Aws::SQS
|
|
43
43
|
end
|
44
44
|
|
45
45
|
# A unique identifier for the message. A `MessageId`is considered unique
|
46
|
-
# across all accounts for an extended period of
|
46
|
+
# across all Amazon Web Services accounts for an extended period of
|
47
|
+
# time.
|
47
48
|
# @return [String]
|
48
49
|
def message_id
|
49
50
|
data[:message_id]
|