aws-sdk-sqs 1.39.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 +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-sqs/client.rb +226 -140
- data/lib/aws-sdk-sqs/message.rb +3 -3
- data/lib/aws-sdk-sqs/queue.rb +76 -51
- data/lib/aws-sdk-sqs/resource.rb +67 -40
- data/lib/aws-sdk-sqs/types.rb +212 -127
- data/lib/aws-sdk-sqs.rb +1 -1
- metadata +4 -4
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,26 @@
|
|
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
|
+
|
9
|
+
1.42.0 (2021-07-30)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
1.41.0 (2021-07-28)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
19
|
+
1.40.0 (2021-07-01)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Documentation updates for Amazon SQS.
|
23
|
+
|
4
24
|
1.39.0 (2021-05-27)
|
5
25
|
------------------
|
6
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.43.0
|
data/lib/aws-sdk-sqs/client.rb
CHANGED
@@ -343,13 +343,13 @@ module Aws::SQS
|
|
343
343
|
# When you create a queue, you have full control access rights for the
|
344
344
|
# queue. Only you, the owner of the queue, can grant or deny permissions
|
345
345
|
# to the queue. For more information about these permissions, see [Allow
|
346
|
-
# Developers to Write Messages to a Shared Queue][2] in the *Amazon
|
347
|
-
#
|
346
|
+
# Developers to Write Messages to a Shared Queue][2] in the *Amazon SQS
|
347
|
+
# Developer Guide*.
|
348
348
|
#
|
349
349
|
# <note markdown="1"> * `AddPermission` generates a policy for you. You can use `
|
350
350
|
# SetQueueAttributes ` to upload your policy. For more information,
|
351
351
|
# see [Using Custom Policies with the Amazon SQS Access Policy
|
352
|
-
# Language][3] in the *Amazon
|
352
|
+
# Language][3] in the *Amazon SQS Developer Guide*.
|
353
353
|
#
|
354
354
|
# * An Amazon SQS policy can have a maximum of 7 actions.
|
355
355
|
#
|
@@ -369,7 +369,7 @@ module Aws::SQS
|
|
369
369
|
#
|
370
370
|
# <note markdown="1"> Cross-account permissions don't apply to this action. For more
|
371
371
|
# information, see [Grant cross-account permissions to a role and a user
|
372
|
-
# name][4] in the *Amazon
|
372
|
+
# name][4] in the *Amazon SQS Developer Guide*.
|
373
373
|
#
|
374
374
|
# </note>
|
375
375
|
#
|
@@ -392,11 +392,10 @@ module Aws::SQS
|
|
392
392
|
# underscores (`_`).
|
393
393
|
#
|
394
394
|
# @option params [required, Array<String>] :aws_account_ids
|
395
|
-
# The
|
396
|
-
#
|
397
|
-
#
|
398
|
-
#
|
399
|
-
# Queue Service Developer Guide*.
|
395
|
+
# The account numbers of the [principals][1] who are to receive
|
396
|
+
# permission. For information about locating the account identification,
|
397
|
+
# see [Your Amazon Web Services Identifiers][2] in the *Amazon SQS
|
398
|
+
# Developer Guide*.
|
400
399
|
#
|
401
400
|
#
|
402
401
|
#
|
@@ -409,7 +408,7 @@ module Aws::SQS
|
|
409
408
|
#
|
410
409
|
# For more information about these actions, see [Overview of Managing
|
411
410
|
# Access Permissions to Your Amazon Simple Queue Service Resource][1] in
|
412
|
-
# the *Amazon
|
411
|
+
# the *Amazon SQS Developer Guide*.
|
413
412
|
#
|
414
413
|
# Specifying `SendMessage`, `DeleteMessage`, or
|
415
414
|
# `ChangeMessageVisibility` for `ActionName.n` also grants permissions
|
@@ -444,8 +443,8 @@ module Aws::SQS
|
|
444
443
|
# Changes the visibility timeout of a specified message in a queue to a
|
445
444
|
# new value. The default visibility timeout for a message is 30 seconds.
|
446
445
|
# The minimum is 0 seconds. The maximum is 12 hours. For more
|
447
|
-
# information, see [Visibility Timeout][1] in the *Amazon
|
448
|
-
#
|
446
|
+
# information, see [Visibility Timeout][1] in the *Amazon SQS Developer
|
447
|
+
# Guide*.
|
449
448
|
#
|
450
449
|
# For example, you have a message with a visibility timeout of 5
|
451
450
|
# minutes. After 3 minutes, you call `ChangeMessageVisibility` with a
|
@@ -614,7 +613,7 @@ module Aws::SQS
|
|
614
613
|
# either create a new FIFO queue for your application or delete your
|
615
614
|
# existing standard queue and recreate it as a FIFO queue. For more
|
616
615
|
# information, see [Moving From a Standard Queue to a FIFO Queue][1]
|
617
|
-
# in the *Amazon
|
616
|
+
# in the *Amazon SQS Developer Guide*.
|
618
617
|
#
|
619
618
|
# </note>
|
620
619
|
#
|
@@ -654,7 +653,7 @@ module Aws::SQS
|
|
654
653
|
#
|
655
654
|
# <note markdown="1"> Cross-account permissions don't apply to this action. For more
|
656
655
|
# information, see [Grant cross-account permissions to a role and a user
|
657
|
-
# name][3] in the *Amazon
|
656
|
+
# name][3] in the *Amazon SQS Developer Guide*.
|
658
657
|
#
|
659
658
|
# </note>
|
660
659
|
#
|
@@ -696,19 +695,24 @@ module Aws::SQS
|
|
696
695
|
# seconds (1 minute) to 1,209,600 seconds (14 days). Default: 345,600
|
697
696
|
# (4 days).
|
698
697
|
#
|
699
|
-
# * `Policy` – The queue's policy. A valid
|
700
|
-
# information about policy structure, see [Overview of
|
701
|
-
# Policies][1] in the *Amazon IAM User Guide*.
|
698
|
+
# * `Policy` – The queue's policy. A valid Amazon Web Services policy.
|
699
|
+
# For more information about policy structure, see [Overview of Amazon
|
700
|
+
# Web Services IAM Policies][1] in the *Amazon IAM User Guide*.
|
702
701
|
#
|
703
702
|
# * `ReceiveMessageWaitTimeSeconds` – The length of time, in seconds,
|
704
703
|
# for which a ` ReceiveMessage ` action waits for a message to arrive.
|
705
704
|
# Valid values: An integer from 0 to 20 (seconds). Default: 0.
|
706
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
|
+
#
|
707
713
|
# * `RedrivePolicy` – The string that includes the parameters for the
|
708
714
|
# dead-letter queue functionality of the source queue as a JSON
|
709
|
-
# object.
|
710
|
-
# dead-letter queues, see [Using Amazon SQS Dead-Letter Queues][2] in
|
711
|
-
# the *Amazon Simple Queue Service Developer Guide*.
|
715
|
+
# object. The parameters are as follows:
|
712
716
|
#
|
713
717
|
# * `deadLetterTargetArn` – The Amazon Resource Name (ARN) of the
|
714
718
|
# dead-letter queue to which Amazon SQS moves messages after the
|
@@ -719,35 +723,57 @@ module Aws::SQS
|
|
719
723
|
# the `ReceiveCount` for a message exceeds the `maxReceiveCount` for
|
720
724
|
# a queue, Amazon SQS moves the message to the dead-letter-queue.
|
721
725
|
#
|
722
|
-
#
|
723
|
-
#
|
724
|
-
#
|
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:
|
725
730
|
#
|
726
|
-
#
|
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:
|
727
734
|
#
|
728
|
-
#
|
729
|
-
#
|
730
|
-
#
|
731
|
-
#
|
732
|
-
#
|
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>
|
733
758
|
#
|
734
759
|
# The following attributes apply only to [server-side-encryption][4]\:
|
735
760
|
#
|
736
|
-
# * `KmsMasterKeyId` – The ID of an
|
737
|
-
# (CMK) for Amazon SQS or a custom CMK. For more
|
738
|
-
# Terms][5]. While the alias of the
|
739
|
-
# always `alias/aws/sqs`, the
|
740
|
-
#
|
741
|
-
# Key Management Service API
|
761
|
+
# * `KmsMasterKeyId` – The ID of an Amazon Web Services managed customer
|
762
|
+
# master key (CMK) for Amazon SQS or a custom CMK. For more
|
763
|
+
# information, see [Key Terms][5]. While the alias of the Amazon Web
|
764
|
+
# Services managed CMK for Amazon SQS is always `alias/aws/sqs`, the
|
765
|
+
# alias of a custom CMK can, for example, be `alias/MyAlias `. For
|
766
|
+
# more examples, see [KeyId][6] in the *Key Management Service API
|
767
|
+
# Reference*.
|
742
768
|
#
|
743
769
|
# * `KmsDataKeyReusePeriodSeconds` – The length of time, in seconds, for
|
744
770
|
# which Amazon SQS can reuse a [data key][7] to encrypt or decrypt
|
745
|
-
# messages before calling
|
746
|
-
#
|
747
|
-
#
|
748
|
-
#
|
749
|
-
#
|
750
|
-
#
|
771
|
+
# messages before calling KMS again. An integer representing seconds,
|
772
|
+
# between 60 seconds (1 minute) and 86,400 seconds (24 hours).
|
773
|
+
# Default: 300 (5 minutes). A shorter time period provides better
|
774
|
+
# security but results in more calls to KMS which might incur charges
|
775
|
+
# after Free Tier. For more information, see [How Does the Data Key
|
776
|
+
# Reuse Period Work?][8].
|
751
777
|
#
|
752
778
|
# The following attributes apply only to [FIFO (first-in-first-out)
|
753
779
|
# queues][9]\:
|
@@ -759,13 +785,13 @@ module Aws::SQS
|
|
759
785
|
# When you set this attribute, you must also provide the
|
760
786
|
# `MessageGroupId` for your messages explicitly.
|
761
787
|
#
|
762
|
-
# For more information, see [FIFO queue logic][10] in the *Amazon
|
763
|
-
#
|
788
|
+
# For more information, see [FIFO queue logic][10] in the *Amazon SQS
|
789
|
+
# Developer Guide*.
|
764
790
|
#
|
765
791
|
# * `ContentBasedDeduplication` – Enables content-based deduplication.
|
766
792
|
# Valid values are `true` and `false`. For more information, see
|
767
|
-
# [Exactly-once processing][11] in the *Amazon
|
768
|
-
#
|
793
|
+
# [Exactly-once processing][11] in the *Amazon SQS Developer Guide*.
|
794
|
+
# Note the following:
|
769
795
|
#
|
770
796
|
# * Every message must have a unique `MessageDeduplicationId`.
|
771
797
|
#
|
@@ -819,13 +845,13 @@ module Aws::SQS
|
|
819
845
|
# deduplication occurs as specified.
|
820
846
|
#
|
821
847
|
# For information on throughput quotas, see [Quotas related to
|
822
|
-
# messages][13] in the *Amazon
|
848
|
+
# messages][13] in the *Amazon SQS Developer Guide*.
|
823
849
|
#
|
824
850
|
#
|
825
851
|
#
|
826
852
|
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/PoliciesOverview.html
|
827
|
-
# [2]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-
|
828
|
-
# [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
|
829
855
|
# [4]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html
|
830
856
|
# [5]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html#sqs-sse-key-terms
|
831
857
|
# [6]: https://docs.aws.amazon.com/kms/latest/APIReference/API_DescribeKey.html#API_DescribeKey_RequestParameters
|
@@ -839,8 +865,8 @@ module Aws::SQS
|
|
839
865
|
#
|
840
866
|
# @option params [Hash<String,String>] :tags
|
841
867
|
# Add cost allocation tags to the specified Amazon SQS queue. For an
|
842
|
-
# overview, see [Tagging Your Amazon SQS Queues][1] in the *Amazon
|
843
|
-
#
|
868
|
+
# overview, see [Tagging Your Amazon SQS Queues][1] in the *Amazon SQS
|
869
|
+
# Developer Guide*.
|
844
870
|
#
|
845
871
|
# When you use queue tags, keep the following guidelines in mind:
|
846
872
|
#
|
@@ -854,15 +880,15 @@ module Aws::SQS
|
|
854
880
|
# * A new tag with a key identical to that of an existing tag overwrites
|
855
881
|
# the existing tag.
|
856
882
|
#
|
857
|
-
# For a full list of tag restrictions, see [
|
858
|
-
# in the *Amazon
|
883
|
+
# For a full list of tag restrictions, see [Quotas related to queues][2]
|
884
|
+
# in the *Amazon SQS Developer Guide*.
|
859
885
|
#
|
860
886
|
# <note markdown="1"> To be able to tag a queue on creation, you must have the
|
861
887
|
# `sqs:CreateQueue` and `sqs:TagQueue` permissions.
|
862
888
|
#
|
863
889
|
# Cross-account permissions don't apply to this action. For more
|
864
890
|
# information, see [Grant cross-account permissions to a role and a user
|
865
|
-
# name][3] in the *Amazon
|
891
|
+
# name][3] in the *Amazon SQS Developer Guide*.
|
866
892
|
#
|
867
893
|
# </note>
|
868
894
|
#
|
@@ -1028,7 +1054,7 @@ module Aws::SQS
|
|
1028
1054
|
#
|
1029
1055
|
# <note markdown="1"> Cross-account permissions don't apply to this action. For more
|
1030
1056
|
# information, see [Grant cross-account permissions to a role and a user
|
1031
|
-
# name][1] in the *Amazon
|
1057
|
+
# name][1] in the *Amazon SQS Developer Guide*.
|
1032
1058
|
#
|
1033
1059
|
# </note>
|
1034
1060
|
#
|
@@ -1078,6 +1104,9 @@ module Aws::SQS
|
|
1078
1104
|
# @option params [Array<String>] :attribute_names
|
1079
1105
|
# A list of attributes for which to retrieve information.
|
1080
1106
|
#
|
1107
|
+
# The `AttributeName.N` parameter is optional, but if you don't specify
|
1108
|
+
# values for this parameter, the request returns empty results.
|
1109
|
+
#
|
1081
1110
|
# <note markdown="1"> In the future, new attributes might be added. If you write code that
|
1082
1111
|
# calls this action, we recommend that you structure your code so that
|
1083
1112
|
# it can handle new attributes gracefully.
|
@@ -1131,11 +1160,15 @@ module Aws::SQS
|
|
1131
1160
|
# seconds, for which the `ReceiveMessage` action waits for a message
|
1132
1161
|
# to arrive.
|
1133
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
|
+
#
|
1134
1169
|
# * `RedrivePolicy` – The string that includes the parameters for the
|
1135
1170
|
# dead-letter queue functionality of the source queue as a JSON
|
1136
|
-
# object.
|
1137
|
-
# dead-letter queues, see [Using Amazon SQS Dead-Letter Queues][2] in
|
1138
|
-
# the *Amazon Simple Queue Service Developer Guide*.
|
1171
|
+
# object. The parameters are as follows:
|
1139
1172
|
#
|
1140
1173
|
# * `deadLetterTargetArn` – The Amazon Resource Name (ARN) of the
|
1141
1174
|
# dead-letter queue to which Amazon SQS moves messages after the
|
@@ -1146,27 +1179,56 @@ module Aws::SQS
|
|
1146
1179
|
# the `ReceiveCount` for a message exceeds the `maxReceiveCount` for
|
1147
1180
|
# a queue, Amazon SQS moves the message to the dead-letter-queue.
|
1148
1181
|
#
|
1149
|
-
# * `
|
1150
|
-
#
|
1151
|
-
#
|
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>
|
1152
1214
|
#
|
1153
1215
|
# The following attributes apply only to [server-side-encryption][4]\:
|
1154
1216
|
#
|
1155
|
-
# * `KmsMasterKeyId` – Returns the ID of an
|
1156
|
-
# key (CMK) for Amazon SQS or a custom CMK. For more
|
1157
|
-
# [Key Terms][5].
|
1217
|
+
# * `KmsMasterKeyId` – Returns the ID of an Amazon Web Services managed
|
1218
|
+
# customer master key (CMK) for Amazon SQS or a custom CMK. For more
|
1219
|
+
# information, see [Key Terms][5].
|
1158
1220
|
#
|
1159
1221
|
# * `KmsDataKeyReusePeriodSeconds` – Returns the length of time, in
|
1160
1222
|
# seconds, for which Amazon SQS can reuse a data key to encrypt or
|
1161
|
-
# decrypt messages before calling
|
1162
|
-
#
|
1223
|
+
# decrypt messages before calling KMS again. For more information, see
|
1224
|
+
# [How Does the Data Key Reuse Period Work?][6].
|
1163
1225
|
#
|
1164
1226
|
# The following attributes apply only to [FIFO (first-in-first-out)
|
1165
1227
|
# queues][7]\:
|
1166
1228
|
#
|
1167
1229
|
# * `FifoQueue` – Returns information about whether the queue is FIFO.
|
1168
|
-
# For more information, see [FIFO queue logic][8] in the *Amazon
|
1169
|
-
#
|
1230
|
+
# For more information, see [FIFO queue logic][8] in the *Amazon SQS
|
1231
|
+
# Developer Guide*.
|
1170
1232
|
#
|
1171
1233
|
# <note markdown="1"> To determine whether a queue is [FIFO][7], you can check whether
|
1172
1234
|
# `QueueName` ends with the `.fifo` suffix.
|
@@ -1175,8 +1237,7 @@ module Aws::SQS
|
|
1175
1237
|
#
|
1176
1238
|
# * `ContentBasedDeduplication` – Returns whether content-based
|
1177
1239
|
# deduplication is enabled for the queue. For more information, see
|
1178
|
-
# [Exactly-once processing][9] in the *Amazon
|
1179
|
-
# Developer Guide*.
|
1240
|
+
# [Exactly-once processing][9] in the *Amazon SQS Developer Guide*.
|
1180
1241
|
#
|
1181
1242
|
# The following attributes apply only to [high throughput for FIFO
|
1182
1243
|
# queues][10]\:
|
@@ -1202,13 +1263,13 @@ module Aws::SQS
|
|
1202
1263
|
# deduplication occurs as specified.
|
1203
1264
|
#
|
1204
1265
|
# For information on throughput quotas, see [Quotas related to
|
1205
|
-
# messages][11] in the *Amazon
|
1266
|
+
# messages][11] in the *Amazon SQS Developer Guide*.
|
1206
1267
|
#
|
1207
1268
|
#
|
1208
1269
|
#
|
1209
1270
|
# [1]: http://en.wikipedia.org/wiki/Unix_time
|
1210
|
-
# [2]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-
|
1211
|
-
# [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
|
1212
1273
|
# [4]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html
|
1213
1274
|
# [5]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html#sqs-sse-key-terms
|
1214
1275
|
# [6]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html#sqs-how-does-the-data-key-reuse-period-work
|
@@ -1226,7 +1287,7 @@ module Aws::SQS
|
|
1226
1287
|
#
|
1227
1288
|
# resp = client.get_queue_attributes({
|
1228
1289
|
# queue_url: "String", # required
|
1229
|
-
# attribute_names: ["All"], # accepts All, Policy, VisibilityTimeout, MaximumMessageSize, MessageRetentionPeriod, ApproximateNumberOfMessages, ApproximateNumberOfMessagesNotVisible, CreatedTimestamp, LastModifiedTimestamp, QueueArn, ApproximateNumberOfMessagesDelayed, DelaySeconds, ReceiveMessageWaitTimeSeconds, RedrivePolicy, FifoQueue, ContentBasedDeduplication, KmsMasterKeyId, KmsDataKeyReusePeriodSeconds, DeduplicationScope, FifoThroughputLimit
|
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
|
1230
1291
|
# })
|
1231
1292
|
#
|
1232
1293
|
# @example Response structure
|
@@ -1250,7 +1311,7 @@ module Aws::SQS
|
|
1250
1311
|
# queue's owner. The queue's owner must grant you permission to access
|
1251
1312
|
# the queue. For more information about shared queue access, see `
|
1252
1313
|
# AddPermission ` or see [Allow Developers to Write Messages to a Shared
|
1253
|
-
# Queue][1] in the *Amazon
|
1314
|
+
# Queue][1] in the *Amazon SQS Developer Guide*.
|
1254
1315
|
#
|
1255
1316
|
#
|
1256
1317
|
#
|
@@ -1264,7 +1325,7 @@ module Aws::SQS
|
|
1264
1325
|
# Queue URLs and names are case-sensitive.
|
1265
1326
|
#
|
1266
1327
|
# @option params [String] :queue_owner_aws_account_id
|
1267
|
-
# The
|
1328
|
+
# The account ID of the account that created the queue.
|
1268
1329
|
#
|
1269
1330
|
# @return [Types::GetQueueUrlResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1270
1331
|
#
|
@@ -1303,8 +1364,7 @@ module Aws::SQS
|
|
1303
1364
|
# receive the next page of results.
|
1304
1365
|
#
|
1305
1366
|
# For more information about using dead-letter queues, see [Using Amazon
|
1306
|
-
# SQS Dead-Letter Queues][1] in the *Amazon
|
1307
|
-
# Developer Guide*.
|
1367
|
+
# SQS Dead-Letter Queues][1] in the *Amazon SQS Developer Guide*.
|
1308
1368
|
#
|
1309
1369
|
#
|
1310
1370
|
#
|
@@ -1355,11 +1415,11 @@ module Aws::SQS
|
|
1355
1415
|
|
1356
1416
|
# List all cost allocation tags added to the specified Amazon SQS queue.
|
1357
1417
|
# For an overview, see [Tagging Your Amazon SQS Queues][1] in the
|
1358
|
-
# *Amazon
|
1418
|
+
# *Amazon SQS Developer Guide*.
|
1359
1419
|
#
|
1360
1420
|
# <note markdown="1"> Cross-account permissions don't apply to this action. For more
|
1361
1421
|
# information, see [Grant cross-account permissions to a role and a user
|
1362
|
-
# name][2] in the *Amazon
|
1422
|
+
# name][2] in the *Amazon SQS Developer Guide*.
|
1363
1423
|
#
|
1364
1424
|
# </note>
|
1365
1425
|
#
|
@@ -1410,7 +1470,7 @@ module Aws::SQS
|
|
1410
1470
|
#
|
1411
1471
|
# <note markdown="1"> Cross-account permissions don't apply to this action. For more
|
1412
1472
|
# information, see [Grant cross-account permissions to a role and a user
|
1413
|
-
# name][1] in the *Amazon
|
1473
|
+
# name][1] in the *Amazon SQS Developer Guide*.
|
1414
1474
|
#
|
1415
1475
|
# </note>
|
1416
1476
|
#
|
@@ -1501,8 +1561,8 @@ module Aws::SQS
|
|
1501
1561
|
|
1502
1562
|
# Retrieves one or more messages (up to 10), from the specified queue.
|
1503
1563
|
# Using the `WaitTimeSeconds` parameter enables long-poll support. For
|
1504
|
-
# more information, see [Amazon SQS Long Polling][1] in the *Amazon
|
1505
|
-
#
|
1564
|
+
# more information, see [Amazon SQS Long Polling][1] in the *Amazon SQS
|
1565
|
+
# Developer Guide*.
|
1506
1566
|
#
|
1507
1567
|
# Short poll is the default behavior where a weighted random set of
|
1508
1568
|
# machines is sampled on a `ReceiveMessage` call. Thus, only the
|
@@ -1530,14 +1590,14 @@ module Aws::SQS
|
|
1530
1590
|
#
|
1531
1591
|
# The receipt handle is the identifier you must provide when deleting
|
1532
1592
|
# the message. For more information, see [Queue and Message
|
1533
|
-
# Identifiers][3] in the *Amazon
|
1593
|
+
# Identifiers][3] in the *Amazon SQS Developer Guide*.
|
1534
1594
|
#
|
1535
1595
|
# You can provide the `VisibilityTimeout` parameter in your request. The
|
1536
1596
|
# parameter is applied to the messages that Amazon SQS returns in the
|
1537
1597
|
# response. If you don't include the parameter, the overall visibility
|
1538
1598
|
# timeout for the queue is used for the returned messages. For more
|
1539
|
-
# information, see [Visibility Timeout][4] in the *Amazon
|
1540
|
-
#
|
1599
|
+
# information, see [Visibility Timeout][4] in the *Amazon SQS Developer
|
1600
|
+
# Guide*.
|
1541
1601
|
#
|
1542
1602
|
# A message that isn't deleted or a message whose visibility isn't
|
1543
1603
|
# extended before the visibility timeout expires counts as a failed
|
@@ -1574,7 +1634,7 @@ module Aws::SQS
|
|
1574
1634
|
# * `ApproximateReceiveCount` – Returns the number of times a message
|
1575
1635
|
# has been received across all queues but not deleted.
|
1576
1636
|
#
|
1577
|
-
# * `AWSTraceHeader` – Returns the
|
1637
|
+
# * `AWSTraceHeader` – Returns the X-Ray trace header string.
|
1578
1638
|
#
|
1579
1639
|
# * `SenderId`
|
1580
1640
|
#
|
@@ -1678,7 +1738,7 @@ module Aws::SQS
|
|
1678
1738
|
# `ReceiveRequestAttemptId` return the same messages and receipt
|
1679
1739
|
# handles. If a retry occurs within the deduplication interval, it
|
1680
1740
|
# resets the visibility timeout. For more information, see [Visibility
|
1681
|
-
# Timeout][1] in the *Amazon
|
1741
|
+
# Timeout][1] in the *Amazon SQS Developer Guide*.
|
1682
1742
|
#
|
1683
1743
|
# If a caller of the `ReceiveMessage` action still processes messages
|
1684
1744
|
# when the visibility timeout expires and messages become visible,
|
@@ -1707,8 +1767,8 @@ module Aws::SQS
|
|
1707
1767
|
# ``).
|
1708
1768
|
#
|
1709
1769
|
# For best practices of using `ReceiveRequestAttemptId`, see [Using the
|
1710
|
-
# ReceiveRequestAttemptId Request Parameter][2] in the *Amazon
|
1711
|
-
#
|
1770
|
+
# ReceiveRequestAttemptId Request Parameter][2] in the *Amazon SQS
|
1771
|
+
# Developer Guide*.
|
1712
1772
|
#
|
1713
1773
|
#
|
1714
1774
|
#
|
@@ -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,
|
@@ -1766,7 +1826,7 @@ module Aws::SQS
|
|
1766
1826
|
#
|
1767
1827
|
# * Cross-account permissions don't apply to this action. For more
|
1768
1828
|
# information, see [Grant cross-account permissions to a role and a
|
1769
|
-
# user name][1] in the *Amazon
|
1829
|
+
# user name][1] in the *Amazon SQS Developer Guide*.
|
1770
1830
|
#
|
1771
1831
|
# * To remove the ability to change queue permissions, you must deny
|
1772
1832
|
# permission to the `AddPermission`, `RemovePermission`, and
|
@@ -1856,8 +1916,8 @@ module Aws::SQS
|
|
1856
1916
|
#
|
1857
1917
|
# @option params [Hash<String,Types::MessageAttributeValue>] :message_attributes
|
1858
1918
|
# Each message attribute consists of a `Name`, `Type`, and `Value`. For
|
1859
|
-
# more information, see [Amazon SQS
|
1860
|
-
# *Amazon
|
1919
|
+
# more information, see [Amazon SQS message attributes][1] in the
|
1920
|
+
# *Amazon SQS Developer Guide*.
|
1861
1921
|
#
|
1862
1922
|
#
|
1863
1923
|
#
|
@@ -1869,7 +1929,7 @@ module Aws::SQS
|
|
1869
1929
|
#
|
1870
1930
|
# * Currently, the only supported message system attribute is
|
1871
1931
|
# `AWSTraceHeader`. Its type must be `String` and its value must be a
|
1872
|
-
# correctly formatted
|
1932
|
+
# correctly formatted X-Ray trace header string.
|
1873
1933
|
#
|
1874
1934
|
# * The size of a message system attribute doesn't count towards the
|
1875
1935
|
# total size of a message.
|
@@ -1881,8 +1941,8 @@ module Aws::SQS
|
|
1881
1941
|
# particular `MessageDeduplicationId` is sent successfully, any messages
|
1882
1942
|
# sent with the same `MessageDeduplicationId` are accepted successfully
|
1883
1943
|
# but aren't delivered during the 5-minute deduplication interval. For
|
1884
|
-
# more information, see [ Exactly-once processing][1] in the *Amazon
|
1885
|
-
#
|
1944
|
+
# more information, see [ Exactly-once processing][1] in the *Amazon SQS
|
1945
|
+
# Developer Guide*.
|
1886
1946
|
#
|
1887
1947
|
# * Every message must have a unique `MessageDeduplicationId`,
|
1888
1948
|
#
|
@@ -1928,8 +1988,8 @@ module Aws::SQS
|
|
1928
1988
|
# ``).
|
1929
1989
|
#
|
1930
1990
|
# For best practices of using `MessageDeduplicationId`, see [Using the
|
1931
|
-
# MessageDeduplicationId Property][2] in the *Amazon
|
1932
|
-
#
|
1991
|
+
# MessageDeduplicationId Property][2] in the *Amazon SQS Developer
|
1992
|
+
# Guide*.
|
1933
1993
|
#
|
1934
1994
|
#
|
1935
1995
|
#
|
@@ -1960,8 +2020,7 @@ module Aws::SQS
|
|
1960
2020
|
# (!"#$%&'()*+,-./:;<=>?@[\]^_`\{|\}~) ``.
|
1961
2021
|
#
|
1962
2022
|
# For best practices of using `MessageGroupId`, see [Using the
|
1963
|
-
# MessageGroupId Property][1] in the *Amazon
|
1964
|
-
# Developer Guide*.
|
2023
|
+
# MessageGroupId Property][1] in the *Amazon SQS Developer Guide*.
|
1965
2024
|
#
|
1966
2025
|
# `MessageGroupId` is required for FIFO queues. You can't use it for
|
1967
2026
|
# Standard queues.
|
@@ -2142,7 +2201,7 @@ module Aws::SQS
|
|
2142
2201
|
#
|
2143
2202
|
# * Cross-account permissions don't apply to this action. For more
|
2144
2203
|
# information, see [Grant cross-account permissions to a role and a
|
2145
|
-
# user name][1] in the *Amazon
|
2204
|
+
# user name][1] in the *Amazon SQS Developer Guide*.
|
2146
2205
|
#
|
2147
2206
|
# * To remove the ability to change queue permissions, you must deny
|
2148
2207
|
# permission to the `AddPermission`, `RemovePermission`, and
|
@@ -2179,19 +2238,25 @@ module Aws::SQS
|
|
2179
2238
|
# seconds, from 60 (1 minute) to 1,209,600 (14 days). Default: 345,600
|
2180
2239
|
# (4 days).
|
2181
2240
|
#
|
2182
|
-
# * `Policy` – The queue's policy. A valid
|
2183
|
-
# information about policy structure, see [Overview of
|
2184
|
-
# Policies][1] in the *
|
2241
|
+
# * `Policy` – The queue's policy. A valid Amazon Web Services policy.
|
2242
|
+
# For more information about policy structure, see [Overview of Amazon
|
2243
|
+
# Web Services IAM Policies][1] in the *Identity and Access Management
|
2244
|
+
# User Guide*.
|
2185
2245
|
#
|
2186
2246
|
# * `ReceiveMessageWaitTimeSeconds` – The length of time, in seconds,
|
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 Simple Queue Service 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,42 +2267,63 @@ 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
|
-
#
|
2215
|
-
#
|
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>
|
2216
2302
|
#
|
2217
2303
|
# The following attributes apply only to [server-side-encryption][4]\:
|
2218
2304
|
#
|
2219
|
-
# * `KmsMasterKeyId` – The ID of an
|
2220
|
-
# (CMK) for Amazon SQS or a custom CMK. For more
|
2221
|
-
# Terms][5]. While the alias of the AWS-managed
|
2222
|
-
# always `alias/aws/sqs`, the alias of a custom
|
2223
|
-
# be `alias/MyAlias `. For more examples, see
|
2224
|
-
# Key Management Service API Reference*.
|
2305
|
+
# * `KmsMasterKeyId` – The ID of an Amazon Web Services managed customer
|
2306
|
+
# master key (CMK) for Amazon SQS or a custom CMK. For more
|
2307
|
+
# information, see [Key Terms][5]. While the alias of the AWS-managed
|
2308
|
+
# CMK for Amazon SQS is always `alias/aws/sqs`, the alias of a custom
|
2309
|
+
# CMK can, for example, be `alias/MyAlias `. For more examples, see
|
2310
|
+
# [KeyId][6] in the *Key Management Service API Reference*.
|
2225
2311
|
#
|
2226
2312
|
# * `KmsDataKeyReusePeriodSeconds` – The length of time, in seconds, for
|
2227
2313
|
# which Amazon SQS can reuse a [data key][7] to encrypt or decrypt
|
2228
|
-
# messages before calling
|
2229
|
-
#
|
2230
|
-
#
|
2231
|
-
#
|
2232
|
-
#
|
2233
|
-
#
|
2314
|
+
# messages before calling KMS again. An integer representing seconds,
|
2315
|
+
# between 60 seconds (1 minute) and 86,400 seconds (24 hours).
|
2316
|
+
# Default: 300 (5 minutes). A shorter time period provides better
|
2317
|
+
# security but results in more calls to KMS which might incur charges
|
2318
|
+
# after Free Tier. For more information, see [How Does the Data Key
|
2319
|
+
# Reuse Period Work?][8].
|
2234
2320
|
#
|
2235
2321
|
# The following attribute applies only to [FIFO (first-in-first-out)
|
2236
2322
|
# queues][9]\:
|
2237
2323
|
#
|
2238
2324
|
# * `ContentBasedDeduplication` – Enables content-based deduplication.
|
2239
2325
|
# For more information, see [Exactly-once processing][10] in the
|
2240
|
-
# *Amazon
|
2326
|
+
# *Amazon SQS Developer Guide*. Note the following:
|
2241
2327
|
#
|
2242
2328
|
# * Every message must have a unique `MessageDeduplicationId`.
|
2243
2329
|
#
|
@@ -2291,13 +2377,13 @@ module Aws::SQS
|
|
2291
2377
|
# deduplication occurs as specified.
|
2292
2378
|
#
|
2293
2379
|
# For information on throughput quotas, see [Quotas related to
|
2294
|
-
# messages][12] in the *Amazon
|
2380
|
+
# messages][12] in the *Amazon SQS Developer Guide*.
|
2295
2381
|
#
|
2296
2382
|
#
|
2297
2383
|
#
|
2298
2384
|
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/PoliciesOverview.html
|
2299
|
-
# [2]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-
|
2300
|
-
# [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
|
2301
2387
|
# [4]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html
|
2302
2388
|
# [5]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html#sqs-sse-key-terms
|
2303
2389
|
# [6]: https://docs.aws.amazon.com/kms/latest/APIReference/API_DescribeKey.html#API_DescribeKey_RequestParameters
|
@@ -2329,8 +2415,8 @@ module Aws::SQS
|
|
2329
2415
|
end
|
2330
2416
|
|
2331
2417
|
# Add cost allocation tags to the specified Amazon SQS queue. For an
|
2332
|
-
# overview, see [Tagging Your Amazon SQS Queues][1] in the *Amazon
|
2333
|
-
#
|
2418
|
+
# overview, see [Tagging Your Amazon SQS Queues][1] in the *Amazon SQS
|
2419
|
+
# Developer Guide*.
|
2334
2420
|
#
|
2335
2421
|
# When you use queue tags, keep the following guidelines in mind:
|
2336
2422
|
#
|
@@ -2344,12 +2430,12 @@ module Aws::SQS
|
|
2344
2430
|
# * A new tag with a key identical to that of an existing tag overwrites
|
2345
2431
|
# the existing tag.
|
2346
2432
|
#
|
2347
|
-
# For a full list of tag restrictions, see [
|
2348
|
-
# in the *Amazon
|
2433
|
+
# For a full list of tag restrictions, see [Quotas related to queues][2]
|
2434
|
+
# in the *Amazon SQS Developer Guide*.
|
2349
2435
|
#
|
2350
2436
|
# <note markdown="1"> Cross-account permissions don't apply to this action. For more
|
2351
2437
|
# information, see [Grant cross-account permissions to a role and a user
|
2352
|
-
# name][3] in the *Amazon
|
2438
|
+
# name][3] in the *Amazon SQS Developer Guide*.
|
2353
2439
|
#
|
2354
2440
|
# </note>
|
2355
2441
|
#
|
@@ -2387,11 +2473,11 @@ module Aws::SQS
|
|
2387
2473
|
|
2388
2474
|
# Remove cost allocation tags from the specified Amazon SQS queue. For
|
2389
2475
|
# an overview, see [Tagging Your Amazon SQS Queues][1] in the *Amazon
|
2390
|
-
#
|
2476
|
+
# SQS Developer Guide*.
|
2391
2477
|
#
|
2392
2478
|
# <note markdown="1"> Cross-account permissions don't apply to this action. For more
|
2393
2479
|
# information, see [Grant cross-account permissions to a role and a user
|
2394
|
-
# name][2] in the *Amazon
|
2480
|
+
# name][2] in the *Amazon SQS Developer Guide*.
|
2395
2481
|
#
|
2396
2482
|
# </note>
|
2397
2483
|
#
|
@@ -2437,7 +2523,7 @@ module Aws::SQS
|
|
2437
2523
|
params: params,
|
2438
2524
|
config: config)
|
2439
2525
|
context[:gem_name] = 'aws-sdk-sqs'
|
2440
|
-
context[:gem_version] = '1.
|
2526
|
+
context[:gem_version] = '1.43.0'
|
2441
2527
|
Seahorse::Client::Request.new(handlers, context)
|
2442
2528
|
end
|
2443
2529
|
|