@aws-sdk/client-sqs 3.716.0 → 3.723.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 (34) hide show
  1. package/dist-cjs/index.js +277 -219
  2. package/dist-es/SQSClient.js +1 -0
  3. package/dist-es/models/models_0.js +56 -56
  4. package/dist-types/commands/AddPermissionCommand.d.ts +9 -13
  5. package/dist-types/commands/CancelMessageMoveTaskCommand.d.ts +7 -12
  6. package/dist-types/commands/ChangeMessageVisibilityBatchCommand.d.ts +11 -14
  7. package/dist-types/commands/ChangeMessageVisibilityCommand.d.ts +10 -14
  8. package/dist-types/commands/CreateQueueCommand.d.ts +22 -24
  9. package/dist-types/commands/DeleteMessageBatchCommand.d.ts +11 -14
  10. package/dist-types/commands/DeleteMessageCommand.d.ts +16 -19
  11. package/dist-types/commands/DeleteQueueCommand.d.ts +9 -13
  12. package/dist-types/commands/GetQueueAttributesCommand.d.ts +9 -13
  13. package/dist-types/commands/GetQueueUrlCommand.d.ts +17 -19
  14. package/dist-types/commands/ListDeadLetterSourceQueuesCommand.d.ts +9 -13
  15. package/dist-types/commands/ListMessageMoveTasksCommand.d.ts +7 -12
  16. package/dist-types/commands/ListQueueTagsCommand.d.ts +9 -13
  17. package/dist-types/commands/ListQueuesCommand.d.ts +7 -12
  18. package/dist-types/commands/PurgeQueueCommand.d.ts +9 -13
  19. package/dist-types/commands/ReceiveMessageCommand.d.ts +16 -24
  20. package/dist-types/commands/RemovePermissionCommand.d.ts +9 -13
  21. package/dist-types/commands/SendMessageBatchCommand.d.ts +11 -14
  22. package/dist-types/commands/SendMessageCommand.d.ts +9 -13
  23. package/dist-types/commands/SetQueueAttributesCommand.d.ts +9 -13
  24. package/dist-types/commands/StartMessageMoveTaskCommand.d.ts +7 -12
  25. package/dist-types/commands/TagQueueCommand.d.ts +9 -13
  26. package/dist-types/commands/UntagQueueCommand.d.ts +9 -13
  27. package/dist-types/models/models_0.d.ts +58 -24
  28. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  29. package/dist-types/runtimeConfig.d.ts +1 -1
  30. package/dist-types/runtimeConfig.native.d.ts +2 -2
  31. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -3
  32. package/dist-types/ts3.4/runtimeConfig.d.ts +9 -7
  33. package/dist-types/ts3.4/runtimeConfig.native.d.ts +20 -8
  34. package/package.json +45 -45
@@ -15,6 +15,7 @@ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
15
15
  import { resolveRuntimeExtensions } from "./runtimeExtensions";
16
16
  export { __Client };
17
17
  export class SQSClient extends __Client {
18
+ config;
18
19
  constructor(...[configuration]) {
19
20
  const _config_0 = __getRuntimeConfig(configuration || {});
20
21
  const _config_1 = resolveClientEndpointParameters(_config_0);
@@ -1,157 +1,157 @@
1
1
  import { SQSServiceException as __BaseException } from "./SQSServiceException";
2
2
  export class InvalidAddress extends __BaseException {
3
+ name = "InvalidAddress";
4
+ $fault = "client";
3
5
  constructor(opts) {
4
6
  super({
5
7
  name: "InvalidAddress",
6
8
  $fault: "client",
7
9
  ...opts,
8
10
  });
9
- this.name = "InvalidAddress";
10
- this.$fault = "client";
11
11
  Object.setPrototypeOf(this, InvalidAddress.prototype);
12
12
  }
13
13
  }
14
14
  export class InvalidSecurity extends __BaseException {
15
+ name = "InvalidSecurity";
16
+ $fault = "client";
15
17
  constructor(opts) {
16
18
  super({
17
19
  name: "InvalidSecurity",
18
20
  $fault: "client",
19
21
  ...opts,
20
22
  });
21
- this.name = "InvalidSecurity";
22
- this.$fault = "client";
23
23
  Object.setPrototypeOf(this, InvalidSecurity.prototype);
24
24
  }
25
25
  }
26
26
  export class OverLimit extends __BaseException {
27
+ name = "OverLimit";
28
+ $fault = "client";
27
29
  constructor(opts) {
28
30
  super({
29
31
  name: "OverLimit",
30
32
  $fault: "client",
31
33
  ...opts,
32
34
  });
33
- this.name = "OverLimit";
34
- this.$fault = "client";
35
35
  Object.setPrototypeOf(this, OverLimit.prototype);
36
36
  }
37
37
  }
38
38
  export class QueueDoesNotExist extends __BaseException {
39
+ name = "QueueDoesNotExist";
40
+ $fault = "client";
39
41
  constructor(opts) {
40
42
  super({
41
43
  name: "QueueDoesNotExist",
42
44
  $fault: "client",
43
45
  ...opts,
44
46
  });
45
- this.name = "QueueDoesNotExist";
46
- this.$fault = "client";
47
47
  Object.setPrototypeOf(this, QueueDoesNotExist.prototype);
48
48
  }
49
49
  }
50
50
  export class RequestThrottled extends __BaseException {
51
+ name = "RequestThrottled";
52
+ $fault = "client";
51
53
  constructor(opts) {
52
54
  super({
53
55
  name: "RequestThrottled",
54
56
  $fault: "client",
55
57
  ...opts,
56
58
  });
57
- this.name = "RequestThrottled";
58
- this.$fault = "client";
59
59
  Object.setPrototypeOf(this, RequestThrottled.prototype);
60
60
  }
61
61
  }
62
62
  export class UnsupportedOperation extends __BaseException {
63
+ name = "UnsupportedOperation";
64
+ $fault = "client";
63
65
  constructor(opts) {
64
66
  super({
65
67
  name: "UnsupportedOperation",
66
68
  $fault: "client",
67
69
  ...opts,
68
70
  });
69
- this.name = "UnsupportedOperation";
70
- this.$fault = "client";
71
71
  Object.setPrototypeOf(this, UnsupportedOperation.prototype);
72
72
  }
73
73
  }
74
74
  export class ResourceNotFoundException extends __BaseException {
75
+ name = "ResourceNotFoundException";
76
+ $fault = "client";
75
77
  constructor(opts) {
76
78
  super({
77
79
  name: "ResourceNotFoundException",
78
80
  $fault: "client",
79
81
  ...opts,
80
82
  });
81
- this.name = "ResourceNotFoundException";
82
- this.$fault = "client";
83
83
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
84
84
  }
85
85
  }
86
86
  export class MessageNotInflight extends __BaseException {
87
+ name = "MessageNotInflight";
88
+ $fault = "client";
87
89
  constructor(opts) {
88
90
  super({
89
91
  name: "MessageNotInflight",
90
92
  $fault: "client",
91
93
  ...opts,
92
94
  });
93
- this.name = "MessageNotInflight";
94
- this.$fault = "client";
95
95
  Object.setPrototypeOf(this, MessageNotInflight.prototype);
96
96
  }
97
97
  }
98
98
  export class ReceiptHandleIsInvalid extends __BaseException {
99
+ name = "ReceiptHandleIsInvalid";
100
+ $fault = "client";
99
101
  constructor(opts) {
100
102
  super({
101
103
  name: "ReceiptHandleIsInvalid",
102
104
  $fault: "client",
103
105
  ...opts,
104
106
  });
105
- this.name = "ReceiptHandleIsInvalid";
106
- this.$fault = "client";
107
107
  Object.setPrototypeOf(this, ReceiptHandleIsInvalid.prototype);
108
108
  }
109
109
  }
110
110
  export class BatchEntryIdsNotDistinct extends __BaseException {
111
+ name = "BatchEntryIdsNotDistinct";
112
+ $fault = "client";
111
113
  constructor(opts) {
112
114
  super({
113
115
  name: "BatchEntryIdsNotDistinct",
114
116
  $fault: "client",
115
117
  ...opts,
116
118
  });
117
- this.name = "BatchEntryIdsNotDistinct";
118
- this.$fault = "client";
119
119
  Object.setPrototypeOf(this, BatchEntryIdsNotDistinct.prototype);
120
120
  }
121
121
  }
122
122
  export class EmptyBatchRequest extends __BaseException {
123
+ name = "EmptyBatchRequest";
124
+ $fault = "client";
123
125
  constructor(opts) {
124
126
  super({
125
127
  name: "EmptyBatchRequest",
126
128
  $fault: "client",
127
129
  ...opts,
128
130
  });
129
- this.name = "EmptyBatchRequest";
130
- this.$fault = "client";
131
131
  Object.setPrototypeOf(this, EmptyBatchRequest.prototype);
132
132
  }
133
133
  }
134
134
  export class InvalidBatchEntryId extends __BaseException {
135
+ name = "InvalidBatchEntryId";
136
+ $fault = "client";
135
137
  constructor(opts) {
136
138
  super({
137
139
  name: "InvalidBatchEntryId",
138
140
  $fault: "client",
139
141
  ...opts,
140
142
  });
141
- this.name = "InvalidBatchEntryId";
142
- this.$fault = "client";
143
143
  Object.setPrototypeOf(this, InvalidBatchEntryId.prototype);
144
144
  }
145
145
  }
146
146
  export class TooManyEntriesInBatchRequest extends __BaseException {
147
+ name = "TooManyEntriesInBatchRequest";
148
+ $fault = "client";
147
149
  constructor(opts) {
148
150
  super({
149
151
  name: "TooManyEntriesInBatchRequest",
150
152
  $fault: "client",
151
153
  ...opts,
152
154
  });
153
- this.name = "TooManyEntriesInBatchRequest";
154
- this.$fault = "client";
155
155
  Object.setPrototypeOf(this, TooManyEntriesInBatchRequest.prototype);
156
156
  }
157
157
  }
@@ -180,158 +180,158 @@ export const QueueAttributeName = {
180
180
  VisibilityTimeout: "VisibilityTimeout",
181
181
  };
182
182
  export class InvalidAttributeName extends __BaseException {
183
+ name = "InvalidAttributeName";
184
+ $fault = "client";
183
185
  constructor(opts) {
184
186
  super({
185
187
  name: "InvalidAttributeName",
186
188
  $fault: "client",
187
189
  ...opts,
188
190
  });
189
- this.name = "InvalidAttributeName";
190
- this.$fault = "client";
191
191
  Object.setPrototypeOf(this, InvalidAttributeName.prototype);
192
192
  }
193
193
  }
194
194
  export class InvalidAttributeValue extends __BaseException {
195
+ name = "InvalidAttributeValue";
196
+ $fault = "client";
195
197
  constructor(opts) {
196
198
  super({
197
199
  name: "InvalidAttributeValue",
198
200
  $fault: "client",
199
201
  ...opts,
200
202
  });
201
- this.name = "InvalidAttributeValue";
202
- this.$fault = "client";
203
203
  Object.setPrototypeOf(this, InvalidAttributeValue.prototype);
204
204
  }
205
205
  }
206
206
  export class QueueDeletedRecently extends __BaseException {
207
+ name = "QueueDeletedRecently";
208
+ $fault = "client";
207
209
  constructor(opts) {
208
210
  super({
209
211
  name: "QueueDeletedRecently",
210
212
  $fault: "client",
211
213
  ...opts,
212
214
  });
213
- this.name = "QueueDeletedRecently";
214
- this.$fault = "client";
215
215
  Object.setPrototypeOf(this, QueueDeletedRecently.prototype);
216
216
  }
217
217
  }
218
218
  export class QueueNameExists extends __BaseException {
219
+ name = "QueueNameExists";
220
+ $fault = "client";
219
221
  constructor(opts) {
220
222
  super({
221
223
  name: "QueueNameExists",
222
224
  $fault: "client",
223
225
  ...opts,
224
226
  });
225
- this.name = "QueueNameExists";
226
- this.$fault = "client";
227
227
  Object.setPrototypeOf(this, QueueNameExists.prototype);
228
228
  }
229
229
  }
230
230
  export class InvalidIdFormat extends __BaseException {
231
+ name = "InvalidIdFormat";
232
+ $fault = "client";
231
233
  constructor(opts) {
232
234
  super({
233
235
  name: "InvalidIdFormat",
234
236
  $fault: "client",
235
237
  ...opts,
236
238
  });
237
- this.name = "InvalidIdFormat";
238
- this.$fault = "client";
239
239
  Object.setPrototypeOf(this, InvalidIdFormat.prototype);
240
240
  }
241
241
  }
242
242
  export class PurgeQueueInProgress extends __BaseException {
243
+ name = "PurgeQueueInProgress";
244
+ $fault = "client";
243
245
  constructor(opts) {
244
246
  super({
245
247
  name: "PurgeQueueInProgress",
246
248
  $fault: "client",
247
249
  ...opts,
248
250
  });
249
- this.name = "PurgeQueueInProgress";
250
- this.$fault = "client";
251
251
  Object.setPrototypeOf(this, PurgeQueueInProgress.prototype);
252
252
  }
253
253
  }
254
254
  export class KmsAccessDenied extends __BaseException {
255
+ name = "KmsAccessDenied";
256
+ $fault = "client";
255
257
  constructor(opts) {
256
258
  super({
257
259
  name: "KmsAccessDenied",
258
260
  $fault: "client",
259
261
  ...opts,
260
262
  });
261
- this.name = "KmsAccessDenied";
262
- this.$fault = "client";
263
263
  Object.setPrototypeOf(this, KmsAccessDenied.prototype);
264
264
  }
265
265
  }
266
266
  export class KmsDisabled extends __BaseException {
267
+ name = "KmsDisabled";
268
+ $fault = "client";
267
269
  constructor(opts) {
268
270
  super({
269
271
  name: "KmsDisabled",
270
272
  $fault: "client",
271
273
  ...opts,
272
274
  });
273
- this.name = "KmsDisabled";
274
- this.$fault = "client";
275
275
  Object.setPrototypeOf(this, KmsDisabled.prototype);
276
276
  }
277
277
  }
278
278
  export class KmsInvalidKeyUsage extends __BaseException {
279
+ name = "KmsInvalidKeyUsage";
280
+ $fault = "client";
279
281
  constructor(opts) {
280
282
  super({
281
283
  name: "KmsInvalidKeyUsage",
282
284
  $fault: "client",
283
285
  ...opts,
284
286
  });
285
- this.name = "KmsInvalidKeyUsage";
286
- this.$fault = "client";
287
287
  Object.setPrototypeOf(this, KmsInvalidKeyUsage.prototype);
288
288
  }
289
289
  }
290
290
  export class KmsInvalidState extends __BaseException {
291
+ name = "KmsInvalidState";
292
+ $fault = "client";
291
293
  constructor(opts) {
292
294
  super({
293
295
  name: "KmsInvalidState",
294
296
  $fault: "client",
295
297
  ...opts,
296
298
  });
297
- this.name = "KmsInvalidState";
298
- this.$fault = "client";
299
299
  Object.setPrototypeOf(this, KmsInvalidState.prototype);
300
300
  }
301
301
  }
302
302
  export class KmsNotFound extends __BaseException {
303
+ name = "KmsNotFound";
304
+ $fault = "client";
303
305
  constructor(opts) {
304
306
  super({
305
307
  name: "KmsNotFound",
306
308
  $fault: "client",
307
309
  ...opts,
308
310
  });
309
- this.name = "KmsNotFound";
310
- this.$fault = "client";
311
311
  Object.setPrototypeOf(this, KmsNotFound.prototype);
312
312
  }
313
313
  }
314
314
  export class KmsOptInRequired extends __BaseException {
315
+ name = "KmsOptInRequired";
316
+ $fault = "client";
315
317
  constructor(opts) {
316
318
  super({
317
319
  name: "KmsOptInRequired",
318
320
  $fault: "client",
319
321
  ...opts,
320
322
  });
321
- this.name = "KmsOptInRequired";
322
- this.$fault = "client";
323
323
  Object.setPrototypeOf(this, KmsOptInRequired.prototype);
324
324
  }
325
325
  }
326
326
  export class KmsThrottled extends __BaseException {
327
+ name = "KmsThrottled";
328
+ $fault = "client";
327
329
  constructor(opts) {
328
330
  super({
329
331
  name: "KmsThrottled",
330
332
  $fault: "client",
331
333
  ...opts,
332
334
  });
333
- this.name = "KmsThrottled";
334
- this.$fault = "client";
335
335
  Object.setPrototypeOf(this, KmsThrottled.prototype);
336
336
  }
337
337
  }
@@ -348,14 +348,14 @@ export const MessageSystemAttributeName = {
348
348
  SequenceNumber: "SequenceNumber",
349
349
  };
350
350
  export class InvalidMessageContents extends __BaseException {
351
+ name = "InvalidMessageContents";
352
+ $fault = "client";
351
353
  constructor(opts) {
352
354
  super({
353
355
  name: "InvalidMessageContents",
354
356
  $fault: "client",
355
357
  ...opts,
356
358
  });
357
- this.name = "InvalidMessageContents";
358
- this.$fault = "client";
359
359
  Object.setPrototypeOf(this, InvalidMessageContents.prototype);
360
360
  }
361
361
  }
@@ -363,14 +363,14 @@ export const MessageSystemAttributeNameForSends = {
363
363
  AWSTraceHeader: "AWSTraceHeader",
364
364
  };
365
365
  export class BatchRequestTooLong extends __BaseException {
366
+ name = "BatchRequestTooLong";
367
+ $fault = "client";
366
368
  constructor(opts) {
367
369
  super({
368
370
  name: "BatchRequestTooLong",
369
371
  $fault: "client",
370
372
  ...opts,
371
373
  });
372
- this.name = "BatchRequestTooLong";
373
- this.$fault = "client";
374
374
  Object.setPrototypeOf(this, BatchRequestTooLong.prototype);
375
375
  }
376
376
  }
@@ -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
  *