@aws-sdk/client-sqs 3.445.0 → 3.447.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 +164 -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 +148 -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 +25 -0
- 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 +617 -373
- 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 +78 -21
- 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.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,110 @@ class InvalidIdFormat extends SQSServiceException_1.SQSServiceException {
|
|
|
182
260
|
}
|
|
183
261
|
}
|
|
184
262
|
exports.InvalidIdFormat = InvalidIdFormat;
|
|
185
|
-
class
|
|
263
|
+
class PurgeQueueInProgress extends SQSServiceException_1.SQSServiceException {
|
|
186
264
|
constructor(opts) {
|
|
187
265
|
super({
|
|
188
|
-
name: "
|
|
266
|
+
name: "PurgeQueueInProgress",
|
|
189
267
|
$fault: "client",
|
|
190
268
|
...opts,
|
|
191
269
|
});
|
|
192
|
-
this.name = "
|
|
270
|
+
this.name = "PurgeQueueInProgress";
|
|
193
271
|
this.$fault = "client";
|
|
194
|
-
Object.setPrototypeOf(this,
|
|
272
|
+
Object.setPrototypeOf(this, PurgeQueueInProgress.prototype);
|
|
195
273
|
}
|
|
196
274
|
}
|
|
197
|
-
exports.
|
|
198
|
-
class
|
|
275
|
+
exports.PurgeQueueInProgress = PurgeQueueInProgress;
|
|
276
|
+
class KmsAccessDenied extends SQSServiceException_1.SQSServiceException {
|
|
199
277
|
constructor(opts) {
|
|
200
278
|
super({
|
|
201
|
-
name: "
|
|
279
|
+
name: "KmsAccessDenied",
|
|
202
280
|
$fault: "client",
|
|
203
281
|
...opts,
|
|
204
282
|
});
|
|
205
|
-
this.name = "
|
|
283
|
+
this.name = "KmsAccessDenied";
|
|
206
284
|
this.$fault = "client";
|
|
207
|
-
Object.setPrototypeOf(this,
|
|
285
|
+
Object.setPrototypeOf(this, KmsAccessDenied.prototype);
|
|
208
286
|
}
|
|
209
287
|
}
|
|
210
|
-
exports.
|
|
211
|
-
class
|
|
288
|
+
exports.KmsAccessDenied = KmsAccessDenied;
|
|
289
|
+
class KmsDisabled extends SQSServiceException_1.SQSServiceException {
|
|
212
290
|
constructor(opts) {
|
|
213
291
|
super({
|
|
214
|
-
name: "
|
|
292
|
+
name: "KmsDisabled",
|
|
215
293
|
$fault: "client",
|
|
216
294
|
...opts,
|
|
217
295
|
});
|
|
218
|
-
this.name = "
|
|
296
|
+
this.name = "KmsDisabled";
|
|
219
297
|
this.$fault = "client";
|
|
220
|
-
Object.setPrototypeOf(this,
|
|
298
|
+
Object.setPrototypeOf(this, KmsDisabled.prototype);
|
|
221
299
|
}
|
|
222
300
|
}
|
|
223
|
-
exports.
|
|
301
|
+
exports.KmsDisabled = KmsDisabled;
|
|
302
|
+
class KmsInvalidKeyUsage extends SQSServiceException_1.SQSServiceException {
|
|
303
|
+
constructor(opts) {
|
|
304
|
+
super({
|
|
305
|
+
name: "KmsInvalidKeyUsage",
|
|
306
|
+
$fault: "client",
|
|
307
|
+
...opts,
|
|
308
|
+
});
|
|
309
|
+
this.name = "KmsInvalidKeyUsage";
|
|
310
|
+
this.$fault = "client";
|
|
311
|
+
Object.setPrototypeOf(this, KmsInvalidKeyUsage.prototype);
|
|
312
|
+
}
|
|
313
|
+
}
|
|
314
|
+
exports.KmsInvalidKeyUsage = KmsInvalidKeyUsage;
|
|
315
|
+
class KmsInvalidState extends SQSServiceException_1.SQSServiceException {
|
|
316
|
+
constructor(opts) {
|
|
317
|
+
super({
|
|
318
|
+
name: "KmsInvalidState",
|
|
319
|
+
$fault: "client",
|
|
320
|
+
...opts,
|
|
321
|
+
});
|
|
322
|
+
this.name = "KmsInvalidState";
|
|
323
|
+
this.$fault = "client";
|
|
324
|
+
Object.setPrototypeOf(this, KmsInvalidState.prototype);
|
|
325
|
+
}
|
|
326
|
+
}
|
|
327
|
+
exports.KmsInvalidState = KmsInvalidState;
|
|
328
|
+
class KmsNotFound extends SQSServiceException_1.SQSServiceException {
|
|
329
|
+
constructor(opts) {
|
|
330
|
+
super({
|
|
331
|
+
name: "KmsNotFound",
|
|
332
|
+
$fault: "client",
|
|
333
|
+
...opts,
|
|
334
|
+
});
|
|
335
|
+
this.name = "KmsNotFound";
|
|
336
|
+
this.$fault = "client";
|
|
337
|
+
Object.setPrototypeOf(this, KmsNotFound.prototype);
|
|
338
|
+
}
|
|
339
|
+
}
|
|
340
|
+
exports.KmsNotFound = KmsNotFound;
|
|
341
|
+
class KmsOptInRequired extends SQSServiceException_1.SQSServiceException {
|
|
342
|
+
constructor(opts) {
|
|
343
|
+
super({
|
|
344
|
+
name: "KmsOptInRequired",
|
|
345
|
+
$fault: "client",
|
|
346
|
+
...opts,
|
|
347
|
+
});
|
|
348
|
+
this.name = "KmsOptInRequired";
|
|
349
|
+
this.$fault = "client";
|
|
350
|
+
Object.setPrototypeOf(this, KmsOptInRequired.prototype);
|
|
351
|
+
}
|
|
352
|
+
}
|
|
353
|
+
exports.KmsOptInRequired = KmsOptInRequired;
|
|
354
|
+
class KmsThrottled extends SQSServiceException_1.SQSServiceException {
|
|
355
|
+
constructor(opts) {
|
|
356
|
+
super({
|
|
357
|
+
name: "KmsThrottled",
|
|
358
|
+
$fault: "client",
|
|
359
|
+
...opts,
|
|
360
|
+
});
|
|
361
|
+
this.name = "KmsThrottled";
|
|
362
|
+
this.$fault = "client";
|
|
363
|
+
Object.setPrototypeOf(this, KmsThrottled.prototype);
|
|
364
|
+
}
|
|
365
|
+
}
|
|
366
|
+
exports.KmsThrottled = KmsThrottled;
|
|
224
367
|
exports.MessageSystemAttributeName = {
|
|
225
368
|
AWSTraceHeader: "AWSTraceHeader",
|
|
226
369
|
ApproximateFirstReceiveTimestamp: "ApproximateFirstReceiveTimestamp",
|