@aws-sdk/client-sqs 3.714.0 → 3.721.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 (25) hide show
  1. package/dist-types/commands/AddPermissionCommand.d.ts +9 -13
  2. package/dist-types/commands/CancelMessageMoveTaskCommand.d.ts +7 -12
  3. package/dist-types/commands/ChangeMessageVisibilityBatchCommand.d.ts +11 -14
  4. package/dist-types/commands/ChangeMessageVisibilityCommand.d.ts +10 -14
  5. package/dist-types/commands/CreateQueueCommand.d.ts +22 -24
  6. package/dist-types/commands/DeleteMessageBatchCommand.d.ts +11 -14
  7. package/dist-types/commands/DeleteMessageCommand.d.ts +16 -19
  8. package/dist-types/commands/DeleteQueueCommand.d.ts +9 -13
  9. package/dist-types/commands/GetQueueAttributesCommand.d.ts +9 -13
  10. package/dist-types/commands/GetQueueUrlCommand.d.ts +17 -19
  11. package/dist-types/commands/ListDeadLetterSourceQueuesCommand.d.ts +9 -13
  12. package/dist-types/commands/ListMessageMoveTasksCommand.d.ts +7 -12
  13. package/dist-types/commands/ListQueueTagsCommand.d.ts +9 -13
  14. package/dist-types/commands/ListQueuesCommand.d.ts +7 -12
  15. package/dist-types/commands/PurgeQueueCommand.d.ts +9 -13
  16. package/dist-types/commands/ReceiveMessageCommand.d.ts +16 -24
  17. package/dist-types/commands/RemovePermissionCommand.d.ts +9 -13
  18. package/dist-types/commands/SendMessageBatchCommand.d.ts +11 -14
  19. package/dist-types/commands/SendMessageCommand.d.ts +9 -13
  20. package/dist-types/commands/SetQueueAttributesCommand.d.ts +9 -13
  21. package/dist-types/commands/StartMessageMoveTaskCommand.d.ts +7 -12
  22. package/dist-types/commands/TagQueueCommand.d.ts +9 -13
  23. package/dist-types/commands/UntagQueueCommand.d.ts +9 -13
  24. package/dist-types/models/models_0.d.ts +58 -24
  25. package/package.json +13 -13
@@ -90,10 +90,10 @@ declare const AddPermissionCommand_base: {
90
90
  * @see {@link SQSClientResolvedConfig | config} for SQSClient's `config` shape.
91
91
  *
92
92
  * @throws {@link InvalidAddress} (client fault)
93
- * <p>The <code>accountId</code> is invalid.</p>
93
+ * <p>The specified ID is invalid.</p>
94
94
  *
95
95
  * @throws {@link InvalidSecurity} (client fault)
96
- * <p>When the request to a queue is not HTTPS and SigV4.</p>
96
+ * <p>The request was not made over HTTPS or did not use SigV4 for signing.</p>
97
97
  *
98
98
  * @throws {@link OverLimit} (client fault)
99
99
  * <p>The specified action violates a limit. For example, <code>ReceiveMessage</code>
@@ -102,24 +102,20 @@ declare const AddPermissionCommand_base: {
102
102
  * for the queue is reached.</p>
103
103
  *
104
104
  * @throws {@link QueueDoesNotExist} (client fault)
105
- * <p>The specified queue doesn't exist.</p>
105
+ * <p>Ensure that the <code>QueueUrl</code> is correct and that the queue has not been
106
+ * deleted.</p>
106
107
  *
107
108
  * @throws {@link RequestThrottled} (client fault)
108
109
  * <p>The request was denied due to request throttling.</p>
109
110
  * <ul>
110
111
  * <li>
111
- * <p>The rate of requests per second exceeds the Amazon Web Services KMS request
112
- * quota for an account and Region. </p>
112
+ * <p>Exceeds the permitted request rate for the queue or for the recipient of the
113
+ * request.</p>
113
114
  * </li>
114
115
  * <li>
115
- * <p>A burst or sustained high rate of requests to change the state of the same KMS
116
- * key. This condition is often known as a "hot key."</p>
117
- * </li>
118
- * <li>
119
- * <p>Requests for operations on KMS keys in a Amazon Web Services CloudHSM key store
120
- * might be throttled at a lower-than-expected rate when the Amazon Web Services
121
- * CloudHSM cluster associated with the Amazon Web Services CloudHSM key store is
122
- * processing numerous commands, including those unrelated to the Amazon Web Services CloudHSM key store.</p>
116
+ * <p>Ensure that the request rate is within the Amazon SQS limits for
117
+ * sending messages. For more information, see <a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-quotas.html#quotas-requests">Amazon SQS quotas</a> in the <i>Amazon SQS
118
+ * Developer Guide</i>.</p>
123
119
  * </li>
124
120
  * </ul>
125
121
  *
@@ -69,27 +69,22 @@ declare const CancelMessageMoveTaskCommand_base: {
69
69
  * @see {@link SQSClientResolvedConfig | config} for SQSClient's `config` shape.
70
70
  *
71
71
  * @throws {@link InvalidAddress} (client fault)
72
- * <p>The <code>accountId</code> is invalid.</p>
72
+ * <p>The specified ID is invalid.</p>
73
73
  *
74
74
  * @throws {@link InvalidSecurity} (client fault)
75
- * <p>When the request to a queue is not HTTPS and SigV4.</p>
75
+ * <p>The request was not made over HTTPS or did not use SigV4 for signing.</p>
76
76
  *
77
77
  * @throws {@link RequestThrottled} (client fault)
78
78
  * <p>The request was denied due to request throttling.</p>
79
79
  * <ul>
80
80
  * <li>
81
- * <p>The rate of requests per second exceeds the Amazon Web Services KMS request
82
- * quota for an account and Region. </p>
81
+ * <p>Exceeds the permitted request rate for the queue or for the recipient of the
82
+ * request.</p>
83
83
  * </li>
84
84
  * <li>
85
- * <p>A burst or sustained high rate of requests to change the state of the same KMS
86
- * key. This condition is often known as a "hot key."</p>
87
- * </li>
88
- * <li>
89
- * <p>Requests for operations on KMS keys in a Amazon Web Services CloudHSM key store
90
- * might be throttled at a lower-than-expected rate when the Amazon Web Services
91
- * CloudHSM cluster associated with the Amazon Web Services CloudHSM key store is
92
- * processing numerous commands, including those unrelated to the Amazon Web Services CloudHSM key store.</p>
85
+ * <p>Ensure that the request rate is within the Amazon SQS limits for
86
+ * sending messages. For more information, see <a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-quotas.html#quotas-requests">Amazon SQS quotas</a> in the <i>Amazon SQS
87
+ * Developer Guide</i>.</p>
93
88
  * </li>
94
89
  * </ul>
95
90
  *
@@ -87,39 +87,36 @@ declare const ChangeMessageVisibilityBatchCommand_base: {
87
87
  * <p>The batch request doesn't contain any entries.</p>
88
88
  *
89
89
  * @throws {@link InvalidAddress} (client fault)
90
- * <p>The <code>accountId</code> is invalid.</p>
90
+ * <p>The specified ID is invalid.</p>
91
91
  *
92
92
  * @throws {@link InvalidBatchEntryId} (client fault)
93
93
  * <p>The <code>Id</code> of a batch entry in a batch request doesn't abide by the
94
94
  * specification.</p>
95
95
  *
96
96
  * @throws {@link InvalidSecurity} (client fault)
97
- * <p>When the request to a queue is not HTTPS and SigV4.</p>
97
+ * <p>The request was not made over HTTPS or did not use SigV4 for signing.</p>
98
98
  *
99
99
  * @throws {@link QueueDoesNotExist} (client fault)
100
- * <p>The specified queue doesn't exist.</p>
100
+ * <p>Ensure that the <code>QueueUrl</code> is correct and that the queue has not been
101
+ * deleted.</p>
101
102
  *
102
103
  * @throws {@link RequestThrottled} (client fault)
103
104
  * <p>The request was denied due to request throttling.</p>
104
105
  * <ul>
105
106
  * <li>
106
- * <p>The rate of requests per second exceeds the Amazon Web Services KMS request
107
- * quota for an account and Region. </p>
107
+ * <p>Exceeds the permitted request rate for the queue or for the recipient of the
108
+ * request.</p>
108
109
  * </li>
109
110
  * <li>
110
- * <p>A burst or sustained high rate of requests to change the state of the same KMS
111
- * key. This condition is often known as a "hot key."</p>
112
- * </li>
113
- * <li>
114
- * <p>Requests for operations on KMS keys in a Amazon Web Services CloudHSM key store
115
- * might be throttled at a lower-than-expected rate when the Amazon Web Services
116
- * CloudHSM cluster associated with the Amazon Web Services CloudHSM key store is
117
- * processing numerous commands, including those unrelated to the Amazon Web Services CloudHSM key store.</p>
111
+ * <p>Ensure that the request rate is within the Amazon SQS limits for
112
+ * sending messages. For more information, see <a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-quotas.html#quotas-requests">Amazon SQS quotas</a> in the <i>Amazon SQS
113
+ * Developer Guide</i>.</p>
118
114
  * </li>
119
115
  * </ul>
120
116
  *
121
117
  * @throws {@link TooManyEntriesInBatchRequest} (client fault)
122
- * <p>The batch request contains more entries than permissible.</p>
118
+ * <p>The batch request contains more entries than permissible. For Amazon SQS, the
119
+ * maximum number of entries you can include in a single <a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/APIReference/API_SendMessageBatch.html">SendMessageBatch</a>, <a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/APIReference/API_DeleteMessageBatch.html">DeleteMessageBatch</a>, or <a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/APIReference/API_ChangeMessageVisibilityBatch.html">ChangeMessageVisibilityBatch</a> request is 10.</p>
123
120
  *
124
121
  * @throws {@link UnsupportedOperation} (client fault)
125
122
  * <p>Error code 400. Unsupported operation.</p>
@@ -57,7 +57,7 @@ declare const ChangeMessageVisibilityCommand_base: {
57
57
  * If you reach this limit, Amazon SQS returns the <code>OverLimit</code> error message.
58
58
  * To avoid reaching the limit, you should delete messages from the queue after they're processed. You can also increase the number of queues you use to process your messages.
59
59
  * To request a limit increase, <a href="https://console.aws.amazon.com/support/home#/case/create?issueType=service-limit-increase&limitType=service-code-sqs">file a support request</a>.</p>
60
- * <p>For FIFO queues, there can be a maximum of 20,000 in flight messages (received from a queue by a consumer, but not yet deleted from the queue). If you reach this limit, Amazon SQS returns no error messages.</p>
60
+ * <p>For FIFO queues, there can be a maximum of 120,000 in flight messages (received from a queue by a consumer, but not yet deleted from the queue). If you reach this limit, Amazon SQS returns no error messages.</p>
61
61
  * <important>
62
62
  * <p>If you attempt to set the <code>VisibilityTimeout</code> to a value greater than
63
63
  * the maximum time left, Amazon SQS returns an error. Amazon SQS doesn't automatically
@@ -93,16 +93,17 @@ declare const ChangeMessageVisibilityCommand_base: {
93
93
  * @see {@link SQSClientResolvedConfig | config} for SQSClient's `config` shape.
94
94
  *
95
95
  * @throws {@link InvalidAddress} (client fault)
96
- * <p>The <code>accountId</code> is invalid.</p>
96
+ * <p>The specified ID is invalid.</p>
97
97
  *
98
98
  * @throws {@link InvalidSecurity} (client fault)
99
- * <p>When the request to a queue is not HTTPS and SigV4.</p>
99
+ * <p>The request was not made over HTTPS or did not use SigV4 for signing.</p>
100
100
  *
101
101
  * @throws {@link MessageNotInflight} (client fault)
102
102
  * <p>The specified message isn't in flight.</p>
103
103
  *
104
104
  * @throws {@link QueueDoesNotExist} (client fault)
105
- * <p>The specified queue doesn't exist.</p>
105
+ * <p>Ensure that the <code>QueueUrl</code> is correct and that the queue has not been
106
+ * deleted.</p>
106
107
  *
107
108
  * @throws {@link ReceiptHandleIsInvalid} (client fault)
108
109
  * <p>The specified receipt handle isn't valid.</p>
@@ -111,18 +112,13 @@ declare const ChangeMessageVisibilityCommand_base: {
111
112
  * <p>The request was denied due to request throttling.</p>
112
113
  * <ul>
113
114
  * <li>
114
- * <p>The rate of requests per second exceeds the Amazon Web Services KMS request
115
- * quota for an account and Region. </p>
115
+ * <p>Exceeds the permitted request rate for the queue or for the recipient of the
116
+ * request.</p>
116
117
  * </li>
117
118
  * <li>
118
- * <p>A burst or sustained high rate of requests to change the state of the same KMS
119
- * key. This condition is often known as a "hot key."</p>
120
- * </li>
121
- * <li>
122
- * <p>Requests for operations on KMS keys in a Amazon Web Services CloudHSM key store
123
- * might be throttled at a lower-than-expected rate when the Amazon Web Services
124
- * CloudHSM cluster associated with the Amazon Web Services CloudHSM key store is
125
- * processing numerous commands, including those unrelated to the Amazon Web Services CloudHSM key store.</p>
119
+ * <p>Ensure that the request rate is within the Amazon SQS limits for
120
+ * sending messages. For more information, see <a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-quotas.html#quotas-requests">Amazon SQS quotas</a> in the <i>Amazon SQS
121
+ * Developer Guide</i>.</p>
126
122
  * </li>
127
123
  * </ul>
128
124
  *
@@ -56,22 +56,25 @@ declare const CreateQueueCommand_base: {
56
56
  * <p>After you create a queue, you must wait at least one second after the queue is
57
57
  * created to be able to use the queue.</p>
58
58
  * </note>
59
- * <p>To get the queue URL, use the <code>
60
- * <a>GetQueueUrl</a>
61
- * </code> action.
62
- * <code>
63
- * <a>GetQueueUrl</a>
64
- * </code> requires only the
65
- * <code>QueueName</code> parameter. be aware of existing queue names:</p>
59
+ * <p>To retrieve the URL of a queue, use the <a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/APIReference/API_GetQueueUrl.html">
60
+ * <code>GetQueueUrl</code>
61
+ * </a> action. This action only requires the <a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/APIReference/API_CreateQueue.html#API_CreateQueue_RequestSyntax">
62
+ * <code>QueueName</code>
63
+ * </a> parameter.</p>
64
+ * <p>When creating queues, keep the following points in mind:</p>
66
65
  * <ul>
67
66
  * <li>
68
- * <p>If you provide the name of an existing queue along with the exact names and
69
- * values of all the queue's attributes, <code>CreateQueue</code> returns the queue
70
- * URL for the existing queue.</p>
67
+ * <p>If you specify the name of an existing queue and provide the exact same names
68
+ * and values for all its attributes, the <a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/APIReference/API_CreateQueue.html">
69
+ * <code>CreateQueue</code>
70
+ * </a> action will return the URL of the
71
+ * existing queue instead of creating a new one.</p>
71
72
  * </li>
72
73
  * <li>
73
- * <p>If the queue name, attribute names, or attribute values don't match an
74
- * existing queue, <code>CreateQueue</code> returns an error.</p>
74
+ * <p>If you attempt to create a queue with a name that already exists but with
75
+ * different attribute names or values, the <code>CreateQueue</code> action will
76
+ * return an error. This ensures that existing queues are not inadvertently
77
+ * altered.</p>
75
78
  * </li>
76
79
  * </ul>
77
80
  * <note>
@@ -109,7 +112,7 @@ declare const CreateQueueCommand_base: {
109
112
  * @see {@link SQSClientResolvedConfig | config} for SQSClient's `config` shape.
110
113
  *
111
114
  * @throws {@link InvalidAddress} (client fault)
112
- * <p>The <code>accountId</code> is invalid.</p>
115
+ * <p>The specified ID is invalid.</p>
113
116
  *
114
117
  * @throws {@link InvalidAttributeName} (client fault)
115
118
  * <p>The specified attribute doesn't exist.</p>
@@ -118,7 +121,7 @@ declare const CreateQueueCommand_base: {
118
121
  * <p>A queue attribute value is invalid.</p>
119
122
  *
120
123
  * @throws {@link InvalidSecurity} (client fault)
121
- * <p>When the request to a queue is not HTTPS and SigV4.</p>
124
+ * <p>The request was not made over HTTPS or did not use SigV4 for signing.</p>
122
125
  *
123
126
  * @throws {@link QueueDeletedRecently} (client fault)
124
127
  * <p>You must wait 60 seconds after deleting a queue before you can create another queue
@@ -132,18 +135,13 @@ declare const CreateQueueCommand_base: {
132
135
  * <p>The request was denied due to request throttling.</p>
133
136
  * <ul>
134
137
  * <li>
135
- * <p>The rate of requests per second exceeds the Amazon Web Services KMS request
136
- * quota for an account and Region. </p>
138
+ * <p>Exceeds the permitted request rate for the queue or for the recipient of the
139
+ * request.</p>
137
140
  * </li>
138
141
  * <li>
139
- * <p>A burst or sustained high rate of requests to change the state of the same KMS
140
- * key. This condition is often known as a "hot key."</p>
141
- * </li>
142
- * <li>
143
- * <p>Requests for operations on KMS keys in a Amazon Web Services CloudHSM key store
144
- * might be throttled at a lower-than-expected rate when the Amazon Web Services
145
- * CloudHSM cluster associated with the Amazon Web Services CloudHSM key store is
146
- * processing numerous commands, including those unrelated to the Amazon Web Services CloudHSM key store.</p>
142
+ * <p>Ensure that the request rate is within the Amazon SQS limits for
143
+ * sending messages. For more information, see <a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-quotas.html#quotas-requests">Amazon SQS quotas</a> in the <i>Amazon SQS
144
+ * Developer Guide</i>.</p>
147
145
  * </li>
148
146
  * </ul>
149
147
  *
@@ -82,39 +82,36 @@ declare const DeleteMessageBatchCommand_base: {
82
82
  * <p>The batch request doesn't contain any entries.</p>
83
83
  *
84
84
  * @throws {@link InvalidAddress} (client fault)
85
- * <p>The <code>accountId</code> is invalid.</p>
85
+ * <p>The specified ID is invalid.</p>
86
86
  *
87
87
  * @throws {@link InvalidBatchEntryId} (client fault)
88
88
  * <p>The <code>Id</code> of a batch entry in a batch request doesn't abide by the
89
89
  * specification.</p>
90
90
  *
91
91
  * @throws {@link InvalidSecurity} (client fault)
92
- * <p>When the request to a queue is not HTTPS and SigV4.</p>
92
+ * <p>The request was not made over HTTPS or did not use SigV4 for signing.</p>
93
93
  *
94
94
  * @throws {@link QueueDoesNotExist} (client fault)
95
- * <p>The specified queue doesn't exist.</p>
95
+ * <p>Ensure that the <code>QueueUrl</code> is correct and that the queue has not been
96
+ * deleted.</p>
96
97
  *
97
98
  * @throws {@link RequestThrottled} (client fault)
98
99
  * <p>The request was denied due to request throttling.</p>
99
100
  * <ul>
100
101
  * <li>
101
- * <p>The rate of requests per second exceeds the Amazon Web Services KMS request
102
- * quota for an account and Region. </p>
102
+ * <p>Exceeds the permitted request rate for the queue or for the recipient of the
103
+ * request.</p>
103
104
  * </li>
104
105
  * <li>
105
- * <p>A burst or sustained high rate of requests to change the state of the same KMS
106
- * key. This condition is often known as a "hot key."</p>
107
- * </li>
108
- * <li>
109
- * <p>Requests for operations on KMS keys in a Amazon Web Services CloudHSM key store
110
- * might be throttled at a lower-than-expected rate when the Amazon Web Services
111
- * CloudHSM cluster associated with the Amazon Web Services CloudHSM key store is
112
- * processing numerous commands, including those unrelated to the Amazon Web Services CloudHSM key store.</p>
106
+ * <p>Ensure that the request rate is within the Amazon SQS limits for
107
+ * sending messages. For more information, see <a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-quotas.html#quotas-requests">Amazon SQS quotas</a> in the <i>Amazon SQS
108
+ * Developer Guide</i>.</p>
113
109
  * </li>
114
110
  * </ul>
115
111
  *
116
112
  * @throws {@link TooManyEntriesInBatchRequest} (client fault)
117
- * <p>The batch request contains more entries than permissible.</p>
113
+ * <p>The batch request contains more entries than permissible. For Amazon SQS, the
114
+ * maximum number of entries you can include in a single <a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/APIReference/API_SendMessageBatch.html">SendMessageBatch</a>, <a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/APIReference/API_DeleteMessageBatch.html">DeleteMessageBatch</a>, or <a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/APIReference/API_ChangeMessageVisibilityBatch.html">ChangeMessageVisibilityBatch</a> request is 10.</p>
118
115
  *
119
116
  * @throws {@link UnsupportedOperation} (client fault)
120
117
  * <p>Error code 400. Unsupported operation.</p>
@@ -34,12 +34,13 @@ declare const DeleteMessageCommand_base: {
34
34
  * be locked by another consumer. Amazon SQS automatically deletes messages left in a queue
35
35
  * longer than the retention period configured for the queue. </p>
36
36
  * <note>
37
- * <p>The <code>ReceiptHandle</code> is associated with a <i>specific
38
- * instance</i> of receiving a message. If you receive a message more than
39
- * once, the <code>ReceiptHandle</code> is different each time you receive a message.
40
- * When you use the <code>DeleteMessage</code> action, you must provide the most
41
- * recently received <code>ReceiptHandle</code> for the message (otherwise, the request
42
- * succeeds, but the message will not be deleted).</p>
37
+ * <p>Each time you receive a message, meaning when a consumer retrieves a message from
38
+ * the queue, it comes with a unique <code>ReceiptHandle</code>. If you receive the
39
+ * same message more than once, you will get a different <code>ReceiptHandle</code>
40
+ * each time. When you want to delete a message using the <code>DeleteMessage</code>
41
+ * action, you must use the <code>ReceiptHandle</code> from the most recent time you
42
+ * received the message. If you use an old <code>ReceiptHandle</code>, the request will
43
+ * succeed, but the message might not be deleted. </p>
43
44
  * <p>For standard queues, it is possible to receive a message even after you
44
45
  * delete it. This might happen on rare occasions if one of the servers which stores a
45
46
  * copy of the message is unavailable when you send the request to delete the message.
@@ -70,16 +71,17 @@ declare const DeleteMessageCommand_base: {
70
71
  * @see {@link SQSClientResolvedConfig | config} for SQSClient's `config` shape.
71
72
  *
72
73
  * @throws {@link InvalidAddress} (client fault)
73
- * <p>The <code>accountId</code> is invalid.</p>
74
+ * <p>The specified ID is invalid.</p>
74
75
  *
75
76
  * @throws {@link InvalidIdFormat} (client fault)
76
77
  * <p>The specified receipt handle isn't valid for the current version.</p>
77
78
  *
78
79
  * @throws {@link InvalidSecurity} (client fault)
79
- * <p>When the request to a queue is not HTTPS and SigV4.</p>
80
+ * <p>The request was not made over HTTPS or did not use SigV4 for signing.</p>
80
81
  *
81
82
  * @throws {@link QueueDoesNotExist} (client fault)
82
- * <p>The specified queue doesn't exist.</p>
83
+ * <p>Ensure that the <code>QueueUrl</code> is correct and that the queue has not been
84
+ * deleted.</p>
83
85
  *
84
86
  * @throws {@link ReceiptHandleIsInvalid} (client fault)
85
87
  * <p>The specified receipt handle isn't valid.</p>
@@ -88,18 +90,13 @@ declare const DeleteMessageCommand_base: {
88
90
  * <p>The request was denied due to request throttling.</p>
89
91
  * <ul>
90
92
  * <li>
91
- * <p>The rate of requests per second exceeds the Amazon Web Services KMS request
92
- * quota for an account and Region. </p>
93
+ * <p>Exceeds the permitted request rate for the queue or for the recipient of the
94
+ * request.</p>
93
95
  * </li>
94
96
  * <li>
95
- * <p>A burst or sustained high rate of requests to change the state of the same KMS
96
- * key. This condition is often known as a "hot key."</p>
97
- * </li>
98
- * <li>
99
- * <p>Requests for operations on KMS keys in a Amazon Web Services CloudHSM key store
100
- * might be throttled at a lower-than-expected rate when the Amazon Web Services
101
- * CloudHSM cluster associated with the Amazon Web Services CloudHSM key store is
102
- * processing numerous commands, including those unrelated to the Amazon Web Services CloudHSM key store.</p>
97
+ * <p>Ensure that the request rate is within the Amazon SQS limits for
98
+ * sending messages. For more information, see <a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-quotas.html#quotas-requests">Amazon SQS quotas</a> in the <i>Amazon SQS
99
+ * Developer Guide</i>.</p>
103
100
  * </li>
104
101
  * </ul>
105
102
  *
@@ -69,30 +69,26 @@ declare const DeleteQueueCommand_base: {
69
69
  * @see {@link SQSClientResolvedConfig | config} for SQSClient's `config` shape.
70
70
  *
71
71
  * @throws {@link InvalidAddress} (client fault)
72
- * <p>The <code>accountId</code> is invalid.</p>
72
+ * <p>The specified ID is invalid.</p>
73
73
  *
74
74
  * @throws {@link InvalidSecurity} (client fault)
75
- * <p>When the request to a queue is not HTTPS and SigV4.</p>
75
+ * <p>The request was not made over HTTPS or did not use SigV4 for signing.</p>
76
76
  *
77
77
  * @throws {@link QueueDoesNotExist} (client fault)
78
- * <p>The specified queue doesn't exist.</p>
78
+ * <p>Ensure that the <code>QueueUrl</code> is correct and that the queue has not been
79
+ * deleted.</p>
79
80
  *
80
81
  * @throws {@link RequestThrottled} (client fault)
81
82
  * <p>The request was denied due to request throttling.</p>
82
83
  * <ul>
83
84
  * <li>
84
- * <p>The rate of requests per second exceeds the Amazon Web Services KMS request
85
- * quota for an account and Region. </p>
85
+ * <p>Exceeds the permitted request rate for the queue or for the recipient of the
86
+ * request.</p>
86
87
  * </li>
87
88
  * <li>
88
- * <p>A burst or sustained high rate of requests to change the state of the same KMS
89
- * key. This condition is often known as a "hot key."</p>
90
- * </li>
91
- * <li>
92
- * <p>Requests for operations on KMS keys in a Amazon Web Services CloudHSM key store
93
- * might be throttled at a lower-than-expected rate when the Amazon Web Services
94
- * CloudHSM cluster associated with the Amazon Web Services CloudHSM key store is
95
- * processing numerous commands, including those unrelated to the Amazon Web Services CloudHSM key store.</p>
89
+ * <p>Ensure that the request rate is within the Amazon SQS limits for
90
+ * sending messages. For more information, see <a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-quotas.html#quotas-requests">Amazon SQS quotas</a> in the <i>Amazon SQS
91
+ * Developer Guide</i>.</p>
96
92
  * </li>
97
93
  * </ul>
98
94
  *
@@ -60,33 +60,29 @@ declare const GetQueueAttributesCommand_base: {
60
60
  * @see {@link SQSClientResolvedConfig | config} for SQSClient's `config` shape.
61
61
  *
62
62
  * @throws {@link InvalidAddress} (client fault)
63
- * <p>The <code>accountId</code> is invalid.</p>
63
+ * <p>The specified ID is invalid.</p>
64
64
  *
65
65
  * @throws {@link InvalidAttributeName} (client fault)
66
66
  * <p>The specified attribute doesn't exist.</p>
67
67
  *
68
68
  * @throws {@link InvalidSecurity} (client fault)
69
- * <p>When the request to a queue is not HTTPS and SigV4.</p>
69
+ * <p>The request was not made over HTTPS or did not use SigV4 for signing.</p>
70
70
  *
71
71
  * @throws {@link QueueDoesNotExist} (client fault)
72
- * <p>The specified queue doesn't exist.</p>
72
+ * <p>Ensure that the <code>QueueUrl</code> is correct and that the queue has not been
73
+ * deleted.</p>
73
74
  *
74
75
  * @throws {@link RequestThrottled} (client fault)
75
76
  * <p>The request was denied due to request throttling.</p>
76
77
  * <ul>
77
78
  * <li>
78
- * <p>The rate of requests per second exceeds the Amazon Web Services KMS request
79
- * quota for an account and Region. </p>
79
+ * <p>Exceeds the permitted request rate for the queue or for the recipient of the
80
+ * request.</p>
80
81
  * </li>
81
82
  * <li>
82
- * <p>A burst or sustained high rate of requests to change the state of the same KMS
83
- * key. This condition is often known as a "hot key."</p>
84
- * </li>
85
- * <li>
86
- * <p>Requests for operations on KMS keys in a Amazon Web Services CloudHSM key store
87
- * might be throttled at a lower-than-expected rate when the Amazon Web Services
88
- * CloudHSM cluster associated with the Amazon Web Services CloudHSM key store is
89
- * processing numerous commands, including those unrelated to the Amazon Web Services CloudHSM key store.</p>
83
+ * <p>Ensure that the request rate is within the Amazon SQS limits for
84
+ * sending messages. For more information, see <a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-quotas.html#quotas-requests">Amazon SQS quotas</a> in the <i>Amazon SQS
85
+ * Developer Guide</i>.</p>
90
86
  * </li>
91
87
  * </ul>
92
88
  *
@@ -27,14 +27,16 @@ declare const GetQueueUrlCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Returns the URL of an existing Amazon SQS queue.</p>
31
- * <p>To access a queue that belongs to another AWS account, use the
30
+ * <p>The <code>GetQueueUrl</code> API returns the URL of an existing Amazon SQS queue. This is
31
+ * useful when you know the queue's name but need to retrieve its URL for further
32
+ * operations.</p>
33
+ * <p>To access a queue owned by another Amazon Web Services account, use the
32
34
  * <code>QueueOwnerAWSAccountId</code> parameter to specify the account ID of the
33
- * queue's owner. The queue's owner must grant you permission to access the queue. For more
34
- * information about shared queue access, see <code>
35
+ * queue's owner. Note that the queue owner must grant you the necessary permissions to
36
+ * access the queue. For more information about accessing shared queues, see the
37
+ * <code>
35
38
  * <a>AddPermission</a>
36
- * </code>
37
- * or see <a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-writing-an-sqs-policy.html#write-messages-to-shared-queue">Allow Developers to Write Messages to a Shared Queue</a> in the <i>Amazon SQS
39
+ * </code> API or <a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-writing-an-sqs-policy.html#write-messages-to-shared-queue">Allow developers to write messages to a shared queue</a> in the <i>Amazon SQS
38
40
  * Developer Guide</i>. </p>
39
41
  * @example
40
42
  * Use a bare-bones client and the command you need to make an API call.
@@ -61,30 +63,26 @@ declare const GetQueueUrlCommand_base: {
61
63
  * @see {@link SQSClientResolvedConfig | config} for SQSClient's `config` shape.
62
64
  *
63
65
  * @throws {@link InvalidAddress} (client fault)
64
- * <p>The <code>accountId</code> is invalid.</p>
66
+ * <p>The specified ID is invalid.</p>
65
67
  *
66
68
  * @throws {@link InvalidSecurity} (client fault)
67
- * <p>When the request to a queue is not HTTPS and SigV4.</p>
69
+ * <p>The request was not made over HTTPS or did not use SigV4 for signing.</p>
68
70
  *
69
71
  * @throws {@link QueueDoesNotExist} (client fault)
70
- * <p>The specified queue doesn't exist.</p>
72
+ * <p>Ensure that the <code>QueueUrl</code> is correct and that the queue has not been
73
+ * deleted.</p>
71
74
  *
72
75
  * @throws {@link RequestThrottled} (client fault)
73
76
  * <p>The request was denied due to request throttling.</p>
74
77
  * <ul>
75
78
  * <li>
76
- * <p>The rate of requests per second exceeds the Amazon Web Services KMS request
77
- * quota for an account and Region. </p>
79
+ * <p>Exceeds the permitted request rate for the queue or for the recipient of the
80
+ * request.</p>
78
81
  * </li>
79
82
  * <li>
80
- * <p>A burst or sustained high rate of requests to change the state of the same KMS
81
- * key. This condition is often known as a "hot key."</p>
82
- * </li>
83
- * <li>
84
- * <p>Requests for operations on KMS keys in a Amazon Web Services CloudHSM key store
85
- * might be throttled at a lower-than-expected rate when the Amazon Web Services
86
- * CloudHSM cluster associated with the Amazon Web Services CloudHSM key store is
87
- * processing numerous commands, including those unrelated to the Amazon Web Services CloudHSM key store.</p>
83
+ * <p>Ensure that the request rate is within the Amazon SQS limits for
84
+ * sending messages. For more information, see <a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-quotas.html#quotas-requests">Amazon SQS quotas</a> in the <i>Amazon SQS
85
+ * Developer Guide</i>.</p>
88
86
  * </li>
89
87
  * </ul>
90
88
  *
@@ -67,30 +67,26 @@ declare const ListDeadLetterSourceQueuesCommand_base: {
67
67
  * @see {@link SQSClientResolvedConfig | config} for SQSClient's `config` shape.
68
68
  *
69
69
  * @throws {@link InvalidAddress} (client fault)
70
- * <p>The <code>accountId</code> is invalid.</p>
70
+ * <p>The specified ID is invalid.</p>
71
71
  *
72
72
  * @throws {@link InvalidSecurity} (client fault)
73
- * <p>When the request to a queue is not HTTPS and SigV4.</p>
73
+ * <p>The request was not made over HTTPS or did not use SigV4 for signing.</p>
74
74
  *
75
75
  * @throws {@link QueueDoesNotExist} (client fault)
76
- * <p>The specified queue doesn't exist.</p>
76
+ * <p>Ensure that the <code>QueueUrl</code> is correct and that the queue has not been
77
+ * deleted.</p>
77
78
  *
78
79
  * @throws {@link RequestThrottled} (client fault)
79
80
  * <p>The request was denied due to request throttling.</p>
80
81
  * <ul>
81
82
  * <li>
82
- * <p>The rate of requests per second exceeds the Amazon Web Services KMS request
83
- * quota for an account and Region. </p>
83
+ * <p>Exceeds the permitted request rate for the queue or for the recipient of the
84
+ * request.</p>
84
85
  * </li>
85
86
  * <li>
86
- * <p>A burst or sustained high rate of requests to change the state of the same KMS
87
- * key. This condition is often known as a "hot key."</p>
88
- * </li>
89
- * <li>
90
- * <p>Requests for operations on KMS keys in a Amazon Web Services CloudHSM key store
91
- * might be throttled at a lower-than-expected rate when the Amazon Web Services
92
- * CloudHSM cluster associated with the Amazon Web Services CloudHSM key store is
93
- * processing numerous commands, including those unrelated to the Amazon Web Services CloudHSM key store.</p>
87
+ * <p>Ensure that the request rate is within the Amazon SQS limits for
88
+ * sending messages. For more information, see <a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-quotas.html#quotas-requests">Amazon SQS quotas</a> in the <i>Amazon SQS
89
+ * Developer Guide</i>.</p>
94
90
  * </li>
95
91
  * </ul>
96
92
  *