@aws-sdk/client-sqs 3.445.0 → 3.446.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.
- package/README.md +8 -7
- package/dist-cjs/commands/AddPermissionCommand.js +3 -3
- package/dist-cjs/commands/CancelMessageMoveTaskCommand.js +3 -3
- package/dist-cjs/commands/ChangeMessageVisibilityBatchCommand.js +3 -3
- package/dist-cjs/commands/ChangeMessageVisibilityCommand.js +3 -3
- package/dist-cjs/commands/CreateQueueCommand.js +3 -3
- package/dist-cjs/commands/DeleteMessageBatchCommand.js +3 -3
- package/dist-cjs/commands/DeleteMessageCommand.js +3 -3
- package/dist-cjs/commands/DeleteQueueCommand.js +3 -3
- package/dist-cjs/commands/GetQueueAttributesCommand.js +3 -3
- package/dist-cjs/commands/GetQueueUrlCommand.js +3 -3
- package/dist-cjs/commands/ListDeadLetterSourceQueuesCommand.js +3 -3
- package/dist-cjs/commands/ListMessageMoveTasksCommand.js +3 -3
- package/dist-cjs/commands/ListQueueTagsCommand.js +3 -3
- package/dist-cjs/commands/ListQueuesCommand.js +3 -3
- package/dist-cjs/commands/PurgeQueueCommand.js +3 -3
- package/dist-cjs/commands/ReceiveMessageCommand.js +3 -3
- package/dist-cjs/commands/RemovePermissionCommand.js +3 -3
- package/dist-cjs/commands/SendMessageBatchCommand.js +3 -3
- package/dist-cjs/commands/SendMessageCommand.js +3 -3
- package/dist-cjs/commands/SetQueueAttributesCommand.js +3 -3
- package/dist-cjs/commands/StartMessageMoveTaskCommand.js +3 -3
- package/dist-cjs/commands/TagQueueCommand.js +3 -3
- package/dist-cjs/commands/UntagQueueCommand.js +3 -3
- package/dist-cjs/models/models_0.js +171 -21
- package/dist-cjs/protocols/Aws_json1_0.js +2025 -0
- package/dist-es/commands/AddPermissionCommand.js +1 -1
- package/dist-es/commands/CancelMessageMoveTaskCommand.js +1 -1
- package/dist-es/commands/ChangeMessageVisibilityBatchCommand.js +1 -1
- package/dist-es/commands/ChangeMessageVisibilityCommand.js +1 -1
- package/dist-es/commands/CreateQueueCommand.js +1 -1
- package/dist-es/commands/DeleteMessageBatchCommand.js +1 -1
- package/dist-es/commands/DeleteMessageCommand.js +1 -1
- package/dist-es/commands/DeleteQueueCommand.js +1 -1
- package/dist-es/commands/GetQueueAttributesCommand.js +1 -1
- package/dist-es/commands/GetQueueUrlCommand.js +1 -1
- package/dist-es/commands/ListDeadLetterSourceQueuesCommand.js +1 -1
- package/dist-es/commands/ListMessageMoveTasksCommand.js +1 -1
- package/dist-es/commands/ListQueueTagsCommand.js +1 -1
- package/dist-es/commands/ListQueuesCommand.js +1 -1
- package/dist-es/commands/PurgeQueueCommand.js +1 -1
- package/dist-es/commands/ReceiveMessageCommand.js +1 -1
- package/dist-es/commands/RemovePermissionCommand.js +1 -1
- package/dist-es/commands/SendMessageBatchCommand.js +1 -1
- package/dist-es/commands/SendMessageCommand.js +1 -1
- package/dist-es/commands/SetQueueAttributesCommand.js +1 -1
- package/dist-es/commands/StartMessageMoveTaskCommand.js +1 -1
- package/dist-es/commands/TagQueueCommand.js +1 -1
- package/dist-es/commands/UntagQueueCommand.js +1 -1
- package/dist-es/models/models_0.js +155 -16
- package/dist-es/protocols/Aws_json1_0.js +1976 -0
- package/dist-types/SQS.d.ts +8 -7
- package/dist-types/SQSClient.d.ts +8 -7
- package/dist-types/commands/AddPermissionCommand.d.ts +46 -11
- package/dist-types/commands/CancelMessageMoveTaskCommand.d.ts +25 -0
- package/dist-types/commands/ChangeMessageVisibilityBatchCommand.d.ts +34 -1
- package/dist-types/commands/ChangeMessageVisibilityCommand.d.ts +48 -8
- package/dist-types/commands/CreateQueueCommand.d.ts +45 -10
- package/dist-types/commands/DeleteMessageBatchCommand.d.ts +34 -1
- package/dist-types/commands/DeleteMessageCommand.d.ts +37 -6
- package/dist-types/commands/DeleteQueueCommand.d.ts +34 -3
- package/dist-types/commands/GetQueueAttributesCommand.d.ts +33 -1
- package/dist-types/commands/GetQueueUrlCommand.d.ts +30 -2
- package/dist-types/commands/ListDeadLetterSourceQueuesCommand.d.ts +28 -0
- package/dist-types/commands/ListMessageMoveTasksCommand.d.ts +26 -1
- package/dist-types/commands/ListQueueTagsCommand.d.ts +38 -6
- package/dist-types/commands/ListQueuesCommand.d.ts +32 -4
- package/dist-types/commands/PurgeQueueCommand.d.ts +28 -0
- package/dist-types/commands/ReceiveMessageCommand.d.ts +73 -6
- package/dist-types/commands/RemovePermissionCommand.d.ts +37 -4
- package/dist-types/commands/SendMessageBatchCommand.d.ts +78 -9
- package/dist-types/commands/SendMessageCommand.d.ts +70 -3
- package/dist-types/commands/SetQueueAttributesCommand.d.ts +53 -9
- package/dist-types/commands/StartMessageMoveTaskCommand.d.ts +25 -0
- package/dist-types/commands/TagQueueCommand.d.ts +44 -10
- package/dist-types/commands/UntagQueueCommand.d.ts +38 -5
- package/dist-types/index.d.ts +8 -7
- package/dist-types/models/models_0.d.ts +633 -374
- package/dist-types/protocols/{Aws_query.d.ts → Aws_json1_0.d.ts} +46 -46
- package/dist-types/ts3.4/models/models_0.d.ts +87 -22
- package/package.json +1 -2
- package/dist-cjs/protocols/Aws_query.js +0 -2367
- package/dist-es/protocols/Aws_query.js +0 -2318
- /package/dist-types/ts3.4/protocols/{Aws_query.d.ts → Aws_json1_0.d.ts} +0 -0
|
@@ -1,7 +1,33 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.BatchRequestTooLong = exports.MessageSystemAttributeNameForSends = exports.InvalidMessageContents = exports.MessageSystemAttributeName = exports.
|
|
3
|
+
exports.BatchRequestTooLong = exports.MessageSystemAttributeNameForSends = exports.InvalidMessageContents = exports.MessageSystemAttributeName = exports.KmsThrottled = exports.KmsOptInRequired = exports.KmsNotFound = exports.KmsInvalidState = exports.KmsInvalidKeyUsage = exports.KmsDisabled = exports.KmsAccessDenied = exports.PurgeQueueInProgress = exports.TaskStatus = exports.InvalidIdFormat = exports.QueueNameExists = exports.QueueDeletedRecently = exports.InvalidAttributeValue = exports.InvalidAttributeName = exports.QueueAttributeName = exports.TooManyEntriesInBatchRequest = exports.InvalidBatchEntryId = exports.EmptyBatchRequest = exports.BatchEntryIdsNotDistinct = exports.ReceiptHandleIsInvalid = exports.MessageNotInflight = exports.ResourceNotFoundException = exports.UnsupportedOperation = exports.RequestThrottled = exports.QueueDoesNotExist = exports.OverLimit = exports.InvalidSecurity = exports.InvalidAddress = void 0;
|
|
4
4
|
const SQSServiceException_1 = require("./SQSServiceException");
|
|
5
|
+
class InvalidAddress extends SQSServiceException_1.SQSServiceException {
|
|
6
|
+
constructor(opts) {
|
|
7
|
+
super({
|
|
8
|
+
name: "InvalidAddress",
|
|
9
|
+
$fault: "client",
|
|
10
|
+
...opts,
|
|
11
|
+
});
|
|
12
|
+
this.name = "InvalidAddress";
|
|
13
|
+
this.$fault = "client";
|
|
14
|
+
Object.setPrototypeOf(this, InvalidAddress.prototype);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
exports.InvalidAddress = InvalidAddress;
|
|
18
|
+
class InvalidSecurity extends SQSServiceException_1.SQSServiceException {
|
|
19
|
+
constructor(opts) {
|
|
20
|
+
super({
|
|
21
|
+
name: "InvalidSecurity",
|
|
22
|
+
$fault: "client",
|
|
23
|
+
...opts,
|
|
24
|
+
});
|
|
25
|
+
this.name = "InvalidSecurity";
|
|
26
|
+
this.$fault = "client";
|
|
27
|
+
Object.setPrototypeOf(this, InvalidSecurity.prototype);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
exports.InvalidSecurity = InvalidSecurity;
|
|
5
31
|
class OverLimit extends SQSServiceException_1.SQSServiceException {
|
|
6
32
|
constructor(opts) {
|
|
7
33
|
super({
|
|
@@ -15,19 +41,32 @@ class OverLimit extends SQSServiceException_1.SQSServiceException {
|
|
|
15
41
|
}
|
|
16
42
|
}
|
|
17
43
|
exports.OverLimit = OverLimit;
|
|
18
|
-
class
|
|
44
|
+
class QueueDoesNotExist extends SQSServiceException_1.SQSServiceException {
|
|
19
45
|
constructor(opts) {
|
|
20
46
|
super({
|
|
21
|
-
name: "
|
|
47
|
+
name: "QueueDoesNotExist",
|
|
22
48
|
$fault: "client",
|
|
23
49
|
...opts,
|
|
24
50
|
});
|
|
25
|
-
this.name = "
|
|
51
|
+
this.name = "QueueDoesNotExist";
|
|
26
52
|
this.$fault = "client";
|
|
27
|
-
Object.setPrototypeOf(this,
|
|
53
|
+
Object.setPrototypeOf(this, QueueDoesNotExist.prototype);
|
|
28
54
|
}
|
|
29
55
|
}
|
|
30
|
-
exports.
|
|
56
|
+
exports.QueueDoesNotExist = QueueDoesNotExist;
|
|
57
|
+
class RequestThrottled extends SQSServiceException_1.SQSServiceException {
|
|
58
|
+
constructor(opts) {
|
|
59
|
+
super({
|
|
60
|
+
name: "RequestThrottled",
|
|
61
|
+
$fault: "client",
|
|
62
|
+
...opts,
|
|
63
|
+
});
|
|
64
|
+
this.name = "RequestThrottled";
|
|
65
|
+
this.$fault = "client";
|
|
66
|
+
Object.setPrototypeOf(this, RequestThrottled.prototype);
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
exports.RequestThrottled = RequestThrottled;
|
|
31
70
|
class UnsupportedOperation extends SQSServiceException_1.SQSServiceException {
|
|
32
71
|
constructor(opts) {
|
|
33
72
|
super({
|
|
@@ -41,6 +80,19 @@ class UnsupportedOperation extends SQSServiceException_1.SQSServiceException {
|
|
|
41
80
|
}
|
|
42
81
|
}
|
|
43
82
|
exports.UnsupportedOperation = UnsupportedOperation;
|
|
83
|
+
class ResourceNotFoundException extends SQSServiceException_1.SQSServiceException {
|
|
84
|
+
constructor(opts) {
|
|
85
|
+
super({
|
|
86
|
+
name: "ResourceNotFoundException",
|
|
87
|
+
$fault: "client",
|
|
88
|
+
...opts,
|
|
89
|
+
});
|
|
90
|
+
this.name = "ResourceNotFoundException";
|
|
91
|
+
this.$fault = "client";
|
|
92
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
44
96
|
class MessageNotInflight extends SQSServiceException_1.SQSServiceException {
|
|
45
97
|
constructor(opts) {
|
|
46
98
|
super({
|
|
@@ -143,6 +195,32 @@ exports.QueueAttributeName = {
|
|
|
143
195
|
SqsManagedSseEnabled: "SqsManagedSseEnabled",
|
|
144
196
|
VisibilityTimeout: "VisibilityTimeout",
|
|
145
197
|
};
|
|
198
|
+
class InvalidAttributeName extends SQSServiceException_1.SQSServiceException {
|
|
199
|
+
constructor(opts) {
|
|
200
|
+
super({
|
|
201
|
+
name: "InvalidAttributeName",
|
|
202
|
+
$fault: "client",
|
|
203
|
+
...opts,
|
|
204
|
+
});
|
|
205
|
+
this.name = "InvalidAttributeName";
|
|
206
|
+
this.$fault = "client";
|
|
207
|
+
Object.setPrototypeOf(this, InvalidAttributeName.prototype);
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
exports.InvalidAttributeName = InvalidAttributeName;
|
|
211
|
+
class InvalidAttributeValue extends SQSServiceException_1.SQSServiceException {
|
|
212
|
+
constructor(opts) {
|
|
213
|
+
super({
|
|
214
|
+
name: "InvalidAttributeValue",
|
|
215
|
+
$fault: "client",
|
|
216
|
+
...opts,
|
|
217
|
+
});
|
|
218
|
+
this.name = "InvalidAttributeValue";
|
|
219
|
+
this.$fault = "client";
|
|
220
|
+
Object.setPrototypeOf(this, InvalidAttributeValue.prototype);
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
exports.InvalidAttributeValue = InvalidAttributeValue;
|
|
146
224
|
class QueueDeletedRecently extends SQSServiceException_1.SQSServiceException {
|
|
147
225
|
constructor(opts) {
|
|
148
226
|
super({
|
|
@@ -182,45 +260,117 @@ class InvalidIdFormat extends SQSServiceException_1.SQSServiceException {
|
|
|
182
260
|
}
|
|
183
261
|
}
|
|
184
262
|
exports.InvalidIdFormat = InvalidIdFormat;
|
|
185
|
-
|
|
263
|
+
exports.TaskStatus = {
|
|
264
|
+
CANCELLED: "CANCELLED",
|
|
265
|
+
CANCELLING: "CANCELLING",
|
|
266
|
+
COMPLETED: "COMPLETED",
|
|
267
|
+
FAILED: "FAILED",
|
|
268
|
+
RUNNING: "RUNNING",
|
|
269
|
+
};
|
|
270
|
+
class PurgeQueueInProgress extends SQSServiceException_1.SQSServiceException {
|
|
186
271
|
constructor(opts) {
|
|
187
272
|
super({
|
|
188
|
-
name: "
|
|
273
|
+
name: "PurgeQueueInProgress",
|
|
189
274
|
$fault: "client",
|
|
190
275
|
...opts,
|
|
191
276
|
});
|
|
192
|
-
this.name = "
|
|
277
|
+
this.name = "PurgeQueueInProgress";
|
|
193
278
|
this.$fault = "client";
|
|
194
|
-
Object.setPrototypeOf(this,
|
|
279
|
+
Object.setPrototypeOf(this, PurgeQueueInProgress.prototype);
|
|
195
280
|
}
|
|
196
281
|
}
|
|
197
|
-
exports.
|
|
198
|
-
class
|
|
282
|
+
exports.PurgeQueueInProgress = PurgeQueueInProgress;
|
|
283
|
+
class KmsAccessDenied extends SQSServiceException_1.SQSServiceException {
|
|
199
284
|
constructor(opts) {
|
|
200
285
|
super({
|
|
201
|
-
name: "
|
|
286
|
+
name: "KmsAccessDenied",
|
|
202
287
|
$fault: "client",
|
|
203
288
|
...opts,
|
|
204
289
|
});
|
|
205
|
-
this.name = "
|
|
290
|
+
this.name = "KmsAccessDenied";
|
|
206
291
|
this.$fault = "client";
|
|
207
|
-
Object.setPrototypeOf(this,
|
|
292
|
+
Object.setPrototypeOf(this, KmsAccessDenied.prototype);
|
|
208
293
|
}
|
|
209
294
|
}
|
|
210
|
-
exports.
|
|
211
|
-
class
|
|
295
|
+
exports.KmsAccessDenied = KmsAccessDenied;
|
|
296
|
+
class KmsDisabled extends SQSServiceException_1.SQSServiceException {
|
|
212
297
|
constructor(opts) {
|
|
213
298
|
super({
|
|
214
|
-
name: "
|
|
299
|
+
name: "KmsDisabled",
|
|
215
300
|
$fault: "client",
|
|
216
301
|
...opts,
|
|
217
302
|
});
|
|
218
|
-
this.name = "
|
|
303
|
+
this.name = "KmsDisabled";
|
|
219
304
|
this.$fault = "client";
|
|
220
|
-
Object.setPrototypeOf(this,
|
|
305
|
+
Object.setPrototypeOf(this, KmsDisabled.prototype);
|
|
221
306
|
}
|
|
222
307
|
}
|
|
223
|
-
exports.
|
|
308
|
+
exports.KmsDisabled = KmsDisabled;
|
|
309
|
+
class KmsInvalidKeyUsage extends SQSServiceException_1.SQSServiceException {
|
|
310
|
+
constructor(opts) {
|
|
311
|
+
super({
|
|
312
|
+
name: "KmsInvalidKeyUsage",
|
|
313
|
+
$fault: "client",
|
|
314
|
+
...opts,
|
|
315
|
+
});
|
|
316
|
+
this.name = "KmsInvalidKeyUsage";
|
|
317
|
+
this.$fault = "client";
|
|
318
|
+
Object.setPrototypeOf(this, KmsInvalidKeyUsage.prototype);
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
exports.KmsInvalidKeyUsage = KmsInvalidKeyUsage;
|
|
322
|
+
class KmsInvalidState extends SQSServiceException_1.SQSServiceException {
|
|
323
|
+
constructor(opts) {
|
|
324
|
+
super({
|
|
325
|
+
name: "KmsInvalidState",
|
|
326
|
+
$fault: "client",
|
|
327
|
+
...opts,
|
|
328
|
+
});
|
|
329
|
+
this.name = "KmsInvalidState";
|
|
330
|
+
this.$fault = "client";
|
|
331
|
+
Object.setPrototypeOf(this, KmsInvalidState.prototype);
|
|
332
|
+
}
|
|
333
|
+
}
|
|
334
|
+
exports.KmsInvalidState = KmsInvalidState;
|
|
335
|
+
class KmsNotFound extends SQSServiceException_1.SQSServiceException {
|
|
336
|
+
constructor(opts) {
|
|
337
|
+
super({
|
|
338
|
+
name: "KmsNotFound",
|
|
339
|
+
$fault: "client",
|
|
340
|
+
...opts,
|
|
341
|
+
});
|
|
342
|
+
this.name = "KmsNotFound";
|
|
343
|
+
this.$fault = "client";
|
|
344
|
+
Object.setPrototypeOf(this, KmsNotFound.prototype);
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
exports.KmsNotFound = KmsNotFound;
|
|
348
|
+
class KmsOptInRequired extends SQSServiceException_1.SQSServiceException {
|
|
349
|
+
constructor(opts) {
|
|
350
|
+
super({
|
|
351
|
+
name: "KmsOptInRequired",
|
|
352
|
+
$fault: "client",
|
|
353
|
+
...opts,
|
|
354
|
+
});
|
|
355
|
+
this.name = "KmsOptInRequired";
|
|
356
|
+
this.$fault = "client";
|
|
357
|
+
Object.setPrototypeOf(this, KmsOptInRequired.prototype);
|
|
358
|
+
}
|
|
359
|
+
}
|
|
360
|
+
exports.KmsOptInRequired = KmsOptInRequired;
|
|
361
|
+
class KmsThrottled extends SQSServiceException_1.SQSServiceException {
|
|
362
|
+
constructor(opts) {
|
|
363
|
+
super({
|
|
364
|
+
name: "KmsThrottled",
|
|
365
|
+
$fault: "client",
|
|
366
|
+
...opts,
|
|
367
|
+
});
|
|
368
|
+
this.name = "KmsThrottled";
|
|
369
|
+
this.$fault = "client";
|
|
370
|
+
Object.setPrototypeOf(this, KmsThrottled.prototype);
|
|
371
|
+
}
|
|
372
|
+
}
|
|
373
|
+
exports.KmsThrottled = KmsThrottled;
|
|
224
374
|
exports.MessageSystemAttributeName = {
|
|
225
375
|
AWSTraceHeader: "AWSTraceHeader",
|
|
226
376
|
ApproximateFirstReceiveTimestamp: "ApproximateFirstReceiveTimestamp",
|