@aws-sdk/client-sqs 3.569.0 → 3.572.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (31) hide show
  1. package/README.md +7 -8
  2. package/dist-cjs/index.js +7 -0
  3. package/dist-es/models/models_0.js +1 -0
  4. package/dist-es/protocols/Aws_json1_0.js +8 -0
  5. package/dist-types/SQS.d.ts +7 -8
  6. package/dist-types/SQSClient.d.ts +7 -8
  7. package/dist-types/commands/AddPermissionCommand.d.ts +11 -15
  8. package/dist-types/commands/CancelMessageMoveTaskCommand.d.ts +0 -3
  9. package/dist-types/commands/ChangeMessageVisibilityBatchCommand.d.ts +1 -3
  10. package/dist-types/commands/ChangeMessageVisibilityCommand.d.ts +8 -17
  11. package/dist-types/commands/CreateQueueCommand.d.ts +8 -9
  12. package/dist-types/commands/DeleteMessageBatchCommand.d.ts +1 -3
  13. package/dist-types/commands/DeleteMessageCommand.d.ts +6 -6
  14. package/dist-types/commands/DeleteQueueCommand.d.ts +3 -3
  15. package/dist-types/commands/GetQueueAttributesCommand.d.ts +1 -2
  16. package/dist-types/commands/GetQueueUrlCommand.d.ts +2 -2
  17. package/dist-types/commands/ListMessageMoveTasksCommand.d.ts +0 -3
  18. package/dist-types/commands/ListQueueTagsCommand.d.ts +6 -7
  19. package/dist-types/commands/ListQueuesCommand.d.ts +3 -3
  20. package/dist-types/commands/ReceiveMessageCommand.d.ts +9 -8
  21. package/dist-types/commands/RemovePermissionCommand.d.ts +4 -6
  22. package/dist-types/commands/SendMessageBatchCommand.d.ts +9 -16
  23. package/dist-types/commands/SendMessageCommand.d.ts +3 -8
  24. package/dist-types/commands/SetQueueAttributesCommand.d.ts +10 -14
  25. package/dist-types/commands/StartMessageMoveTaskCommand.d.ts +0 -4
  26. package/dist-types/commands/TagQueueCommand.d.ts +10 -13
  27. package/dist-types/commands/UntagQueueCommand.d.ts +5 -7
  28. package/dist-types/index.d.ts +7 -8
  29. package/dist-types/models/models_0.d.ts +420 -419
  30. package/dist-types/ts3.4/models/models_0.d.ts +11 -9
  31. package/package.json +8 -8
@@ -26,28 +26,24 @@ declare const SetQueueAttributesCommand_base: {
26
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
27
  };
28
28
  /**
29
- * <p>Sets the value of one or more queue attributes. When you change a queue's attributes,
29
+ * <p>Sets the value of one or more queue attributes, like a policy. When you change a queue's attributes,
30
30
  * the change can take up to 60 seconds for most of the attributes to propagate throughout
31
- * the Amazon SQS system. Changes made to the <code>MessageRetentionPeriod</code> attribute
32
- * can take up to 15 minutes and will impact existing messages in the queue potentially
33
- * causing them to be expired and deleted if the <code>MessageRetentionPeriod</code> is
34
- * reduced below the age of existing messages.</p>
31
+ * the Amazon SQS system. Changes made to the <code>MessageRetentionPeriod</code> attribute can
32
+ * take up to 15 minutes and will impact existing messages in the queue potentially causing
33
+ * them to be expired and deleted if the <code>MessageRetentionPeriod</code> is reduced
34
+ * below the age of existing messages.</p>
35
35
  * <note>
36
36
  * <ul>
37
37
  * <li>
38
- * <p>In the future, new attributes might be added. If you write code that calls
39
- * this action, we recommend that you structure your code so that it can handle
40
- * new attributes gracefully.</p>
38
+ * <p>In the future, new attributes might be added. If you write code that calls this action, we recommend that you structure your code so that it can handle new attributes gracefully.</p>
41
39
  * </li>
42
40
  * <li>
43
- * <p>Cross-account permissions don't apply to this action. For more
44
- * information, see <a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-customer-managed-policy-examples.html#grant-cross-account-permissions-to-role-and-user-name">Grant cross-account permissions to a role and a username</a> in the
45
- * <i>Amazon SQS Developer Guide</i>.</p>
41
+ * <p>Cross-account permissions don't apply to this action. For more information,
42
+ * see <a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-customer-managed-policy-examples.html#grant-cross-account-permissions-to-role-and-user-name">Grant
43
+ * cross-account permissions to a role and a username</a> in the <i>Amazon SQS Developer Guide</i>.</p>
46
44
  * </li>
47
45
  * <li>
48
- * <p>To remove the ability to change queue permissions, you must deny
49
- * permission to the <code>AddPermission</code>, <code>RemovePermission</code>,
50
- * and <code>SetQueueAttributes</code> actions in your IAM policy.</p>
46
+ * <p>To remove the ability to change queue permissions, you must deny permission to the <code>AddPermission</code>, <code>RemovePermission</code>, and <code>SetQueueAttributes</code> actions in your IAM policy.</p>
51
47
  * </li>
52
48
  * </ul>
53
49
  * </note>
@@ -43,10 +43,6 @@ declare const StartMessageMoveTaskCommand_base: {
43
43
  * were driven to the dead-letter-queue), or a custom destination queue.</p>
44
44
  * </li>
45
45
  * <li>
46
- * <p>Currently, only standard queues support redrive. FIFO queues don't support
47
- * redrive.</p>
48
- * </li>
49
- * <li>
50
46
  * <p>Only one active message movement task is supported per queue at any given
51
47
  * time.</p>
52
48
  * </li>
@@ -26,33 +26,30 @@ declare const TagQueueCommand_base: {
26
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
27
  };
28
28
  /**
29
- * <p>Add cost allocation tags to the specified Amazon SQS queue. For an overview, see
30
- * <a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-queue-tags.html">Tagging
31
- * Your Amazon SQS Queues</a> in the <i>Amazon SQS Developer
32
- * Guide</i>.</p>
29
+ * <p>Add cost allocation tags to the specified Amazon SQS queue. For an overview, see <a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-queue-tags.html">Tagging
30
+ * Your Amazon SQS Queues</a> in the <i>Amazon SQS Developer Guide</i>.</p>
33
31
  * <p>When you use queue tags, keep the following guidelines in mind:</p>
34
32
  * <ul>
35
33
  * <li>
36
34
  * <p>Adding more than 50 tags to a queue isn't recommended.</p>
37
35
  * </li>
38
36
  * <li>
39
- * <p>Tags don't have any semantic meaning. Amazon SQS interprets tags as character
40
- * strings.</p>
37
+ * <p>Tags don't have any semantic meaning. Amazon SQS interprets tags as character strings.</p>
41
38
  * </li>
42
39
  * <li>
43
40
  * <p>Tags are case-sensitive.</p>
44
41
  * </li>
45
42
  * <li>
46
- * <p>A new tag with a key identical to that of an existing tag overwrites the
47
- * existing tag.</p>
43
+ * <p>A new tag with a key identical to that of an existing tag overwrites the existing tag.</p>
48
44
  * </li>
49
45
  * </ul>
50
- * <p>For a full list of tag restrictions, see <a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-limits.html#limits-queues">Quotas related to queues</a> in the <i>Amazon SQS Developer
51
- * Guide</i>.</p>
46
+ * <p>For a full list of tag restrictions, see
47
+ * <a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-limits.html#limits-queues">Quotas related to queues</a>
48
+ * in the <i>Amazon SQS Developer Guide</i>.</p>
52
49
  * <note>
53
- * <p>Cross-account permissions don't apply to this action. For more information, see
54
- * <a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-customer-managed-policy-examples.html#grant-cross-account-permissions-to-role-and-user-name">Grant cross-account permissions to a role and a username</a> in the
55
- * <i>Amazon SQS Developer Guide</i>.</p>
50
+ * <p>Cross-account permissions don't apply to this action. For more information,
51
+ * see <a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-customer-managed-policy-examples.html#grant-cross-account-permissions-to-role-and-user-name">Grant
52
+ * cross-account permissions to a role and a username</a> in the <i>Amazon SQS Developer Guide</i>.</p>
56
53
  * </note>
57
54
  * @example
58
55
  * Use a bare-bones client and the command you need to make an API call.
@@ -26,14 +26,12 @@ declare const UntagQueueCommand_base: {
26
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
27
  };
28
28
  /**
29
- * <p>Remove cost allocation tags from the specified Amazon SQS queue. For an overview, see
30
- * <a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-queue-tags.html">Tagging
31
- * Your Amazon SQS Queues</a> in the <i>Amazon SQS Developer
32
- * Guide</i>.</p>
29
+ * <p>Remove cost allocation tags from the specified Amazon SQS queue. For an overview, see <a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-queue-tags.html">Tagging
30
+ * Your Amazon SQS Queues</a> in the <i>Amazon SQS Developer Guide</i>.</p>
33
31
  * <note>
34
- * <p>Cross-account permissions don't apply to this action. For more information, see
35
- * <a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-customer-managed-policy-examples.html#grant-cross-account-permissions-to-role-and-user-name">Grant cross-account permissions to a role and a username</a> in the
36
- * <i>Amazon SQS Developer Guide</i>.</p>
32
+ * <p>Cross-account permissions don't apply to this action. For more information,
33
+ * see <a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-customer-managed-policy-examples.html#grant-cross-account-permissions-to-role-and-user-name">Grant
34
+ * cross-account permissions to a role and a username</a> in the <i>Amazon SQS Developer Guide</i>.</p>
37
35
  * </note>
38
36
  * @example
39
37
  * Use a bare-bones client and the command you need to make an API call.
@@ -1,14 +1,14 @@
1
1
  /**
2
2
  * <p>Welcome to the <i>Amazon SQS API Reference</i>.</p>
3
- * <p>Amazon SQS is a reliable, highly-scalable hosted queue for storing messages as they
4
- * travel between applications or microservices. Amazon SQS moves data between distributed
5
- * application components and helps you decouple these components.</p>
3
+ * <p>Amazon SQS is a reliable, highly-scalable hosted queue for storing messages as they travel
4
+ * between applications or microservices. Amazon SQS moves data between distributed application
5
+ * components and helps you decouple these components.</p>
6
6
  * <p>For information on the permissions you need to use this API, see <a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-authentication-and-access-control.html">Identity and access management</a> in the <i>Amazon SQS Developer
7
7
  * Guide.</i>
8
8
  * </p>
9
- * <p>You can use <a href="http://aws.amazon.com/tools/#sdk">Amazon Web Services
10
- * SDKs</a> to access Amazon SQS using your favorite programming language. The SDKs
11
- * perform tasks such as the following automatically:</p>
9
+ * <p>You can use <a href="http://aws.amazon.com/tools/#sdk">Amazon Web Services SDKs</a> to access
10
+ * Amazon SQS using your favorite programming language. The SDKs perform tasks such as the
11
+ * following automatically:</p>
12
12
  * <ul>
13
13
  * <li>
14
14
  * <p>Cryptographically sign your service requests</p>
@@ -53,8 +53,7 @@
53
53
  * </li>
54
54
  * <li>
55
55
  * <p>
56
- * <a href="http://docs.aws.amazon.com/cli/latest/reference/sqs/index.html">Amazon SQS in the <i>Command Line
57
- * Interface</i>
56
+ * <a href="http://docs.aws.amazon.com/cli/latest/reference/sqs/index.html">Amazon SQS in the <i>Command Line Interface</i>
58
57
  * </a>
59
58
  * </p>
60
59
  * </li>