@aws-sdk/client-sqs 3.327.0 → 3.328.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 +6 -10
- package/dist-cjs/commands/AddPermissionCommand.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/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/TagQueueCommand.js +3 -3
- package/dist-cjs/commands/UntagQueueCommand.js +3 -3
- package/dist-cjs/models/models_0.js +29 -172
- package/dist-cjs/protocols/Aws_query.js +2127 -0
- package/dist-es/commands/AddPermissionCommand.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/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/TagQueueCommand.js +1 -1
- package/dist-es/commands/UntagQueueCommand.js +1 -1
- package/dist-es/models/models_0.js +24 -156
- package/dist-es/protocols/Aws_query.js +2084 -0
- package/dist-types/SQS.d.ts +6 -10
- package/dist-types/SQSClient.d.ts +6 -10
- package/dist-types/commands/AddPermissionCommand.d.ts +23 -48
- package/dist-types/commands/ChangeMessageVisibilityBatchCommand.d.ts +12 -34
- package/dist-types/commands/ChangeMessageVisibilityCommand.d.ts +13 -47
- package/dist-types/commands/CreateQueueCommand.d.ts +18 -53
- package/dist-types/commands/DeleteMessageBatchCommand.d.ts +10 -31
- package/dist-types/commands/DeleteMessageCommand.d.ts +1 -29
- package/dist-types/commands/DeleteQueueCommand.d.ts +8 -44
- package/dist-types/commands/GetQueueAttributesCommand.d.ts +0 -28
- package/dist-types/commands/GetQueueUrlCommand.d.ts +4 -35
- package/dist-types/commands/ListDeadLetterSourceQueuesCommand.d.ts +10 -39
- package/dist-types/commands/ListQueueTagsCommand.d.ts +2 -34
- package/dist-types/commands/ListQueuesCommand.d.ts +11 -41
- package/dist-types/commands/PurgeQueueCommand.d.ts +5 -35
- package/dist-types/commands/ReceiveMessageCommand.d.ts +14 -87
- package/dist-types/commands/RemovePermissionCommand.d.ts +2 -34
- package/dist-types/commands/SendMessageBatchCommand.d.ts +13 -73
- package/dist-types/commands/SendMessageCommand.d.ts +0 -59
- package/dist-types/commands/SetQueueAttributesCommand.d.ts +3 -47
- package/dist-types/commands/TagQueueCommand.d.ts +1 -32
- package/dist-types/commands/UntagQueueCommand.d.ts +1 -32
- package/dist-types/models/models_0.d.ts +412 -926
- package/dist-types/protocols/{Aws_json1_0.d.ts → Aws_query.d.ts} +40 -40
- package/dist-types/ts3.4/models/models_0.d.ts +21 -78
- package/package.json +5 -4
- package/dist-cjs/protocols/Aws_json1_0.js +0 -1608
- package/dist-es/protocols/Aws_json1_0.js +0 -1565
- /package/dist-types/ts3.4/protocols/{Aws_json1_0.d.ts → Aws_query.d.ts} +0 -0
|
@@ -1,33 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.BatchRequestTooLong = exports.
|
|
3
|
+
exports.BatchRequestTooLong = exports.UnsupportedOperation = exports.MessageSystemAttributeNameForSends = exports.InvalidMessageContents = exports.MessageSystemAttributeName = exports.PurgeQueueInProgress = exports.QueueDoesNotExist = exports.InvalidAttributeName = exports.InvalidIdFormat = exports.QueueNameExists = exports.QueueDeletedRecently = exports.QueueAttributeName = exports.TooManyEntriesInBatchRequest = exports.InvalidBatchEntryId = exports.EmptyBatchRequest = exports.BatchEntryIdsNotDistinct = exports.ReceiptHandleIsInvalid = exports.MessageNotInflight = exports.OverLimit = 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;
|
|
31
5
|
class OverLimit extends SQSServiceException_1.SQSServiceException {
|
|
32
6
|
constructor(opts) {
|
|
33
7
|
super({
|
|
@@ -41,45 +15,6 @@ class OverLimit extends SQSServiceException_1.SQSServiceException {
|
|
|
41
15
|
}
|
|
42
16
|
}
|
|
43
17
|
exports.OverLimit = OverLimit;
|
|
44
|
-
class QueueDoesNotExist extends SQSServiceException_1.SQSServiceException {
|
|
45
|
-
constructor(opts) {
|
|
46
|
-
super({
|
|
47
|
-
name: "QueueDoesNotExist",
|
|
48
|
-
$fault: "client",
|
|
49
|
-
...opts,
|
|
50
|
-
});
|
|
51
|
-
this.name = "QueueDoesNotExist";
|
|
52
|
-
this.$fault = "client";
|
|
53
|
-
Object.setPrototypeOf(this, QueueDoesNotExist.prototype);
|
|
54
|
-
}
|
|
55
|
-
}
|
|
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;
|
|
70
|
-
class UnsupportedOperation extends SQSServiceException_1.SQSServiceException {
|
|
71
|
-
constructor(opts) {
|
|
72
|
-
super({
|
|
73
|
-
name: "UnsupportedOperation",
|
|
74
|
-
$fault: "client",
|
|
75
|
-
...opts,
|
|
76
|
-
});
|
|
77
|
-
this.name = "UnsupportedOperation";
|
|
78
|
-
this.$fault = "client";
|
|
79
|
-
Object.setPrototypeOf(this, UnsupportedOperation.prototype);
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
exports.UnsupportedOperation = UnsupportedOperation;
|
|
83
18
|
class MessageNotInflight extends SQSServiceException_1.SQSServiceException {
|
|
84
19
|
constructor(opts) {
|
|
85
20
|
super({
|
|
@@ -182,32 +117,6 @@ exports.QueueAttributeName = {
|
|
|
182
117
|
SqsManagedSseEnabled: "SqsManagedSseEnabled",
|
|
183
118
|
VisibilityTimeout: "VisibilityTimeout",
|
|
184
119
|
};
|
|
185
|
-
class InvalidAttributeName extends SQSServiceException_1.SQSServiceException {
|
|
186
|
-
constructor(opts) {
|
|
187
|
-
super({
|
|
188
|
-
name: "InvalidAttributeName",
|
|
189
|
-
$fault: "client",
|
|
190
|
-
...opts,
|
|
191
|
-
});
|
|
192
|
-
this.name = "InvalidAttributeName";
|
|
193
|
-
this.$fault = "client";
|
|
194
|
-
Object.setPrototypeOf(this, InvalidAttributeName.prototype);
|
|
195
|
-
}
|
|
196
|
-
}
|
|
197
|
-
exports.InvalidAttributeName = InvalidAttributeName;
|
|
198
|
-
class InvalidAttributeValue extends SQSServiceException_1.SQSServiceException {
|
|
199
|
-
constructor(opts) {
|
|
200
|
-
super({
|
|
201
|
-
name: "InvalidAttributeValue",
|
|
202
|
-
$fault: "client",
|
|
203
|
-
...opts,
|
|
204
|
-
});
|
|
205
|
-
this.name = "InvalidAttributeValue";
|
|
206
|
-
this.$fault = "client";
|
|
207
|
-
Object.setPrototypeOf(this, InvalidAttributeValue.prototype);
|
|
208
|
-
}
|
|
209
|
-
}
|
|
210
|
-
exports.InvalidAttributeValue = InvalidAttributeValue;
|
|
211
120
|
class QueueDeletedRecently extends SQSServiceException_1.SQSServiceException {
|
|
212
121
|
constructor(opts) {
|
|
213
122
|
super({
|
|
@@ -247,110 +156,45 @@ class InvalidIdFormat extends SQSServiceException_1.SQSServiceException {
|
|
|
247
156
|
}
|
|
248
157
|
}
|
|
249
158
|
exports.InvalidIdFormat = InvalidIdFormat;
|
|
250
|
-
class
|
|
251
|
-
constructor(opts) {
|
|
252
|
-
super({
|
|
253
|
-
name: "PurgeQueueInProgress",
|
|
254
|
-
$fault: "client",
|
|
255
|
-
...opts,
|
|
256
|
-
});
|
|
257
|
-
this.name = "PurgeQueueInProgress";
|
|
258
|
-
this.$fault = "client";
|
|
259
|
-
Object.setPrototypeOf(this, PurgeQueueInProgress.prototype);
|
|
260
|
-
}
|
|
261
|
-
}
|
|
262
|
-
exports.PurgeQueueInProgress = PurgeQueueInProgress;
|
|
263
|
-
class KmsAccessDenied extends SQSServiceException_1.SQSServiceException {
|
|
264
|
-
constructor(opts) {
|
|
265
|
-
super({
|
|
266
|
-
name: "KmsAccessDenied",
|
|
267
|
-
$fault: "client",
|
|
268
|
-
...opts,
|
|
269
|
-
});
|
|
270
|
-
this.name = "KmsAccessDenied";
|
|
271
|
-
this.$fault = "client";
|
|
272
|
-
Object.setPrototypeOf(this, KmsAccessDenied.prototype);
|
|
273
|
-
}
|
|
274
|
-
}
|
|
275
|
-
exports.KmsAccessDenied = KmsAccessDenied;
|
|
276
|
-
class KmsDisabled extends SQSServiceException_1.SQSServiceException {
|
|
277
|
-
constructor(opts) {
|
|
278
|
-
super({
|
|
279
|
-
name: "KmsDisabled",
|
|
280
|
-
$fault: "client",
|
|
281
|
-
...opts,
|
|
282
|
-
});
|
|
283
|
-
this.name = "KmsDisabled";
|
|
284
|
-
this.$fault = "client";
|
|
285
|
-
Object.setPrototypeOf(this, KmsDisabled.prototype);
|
|
286
|
-
}
|
|
287
|
-
}
|
|
288
|
-
exports.KmsDisabled = KmsDisabled;
|
|
289
|
-
class KmsInvalidKeyUsage extends SQSServiceException_1.SQSServiceException {
|
|
290
|
-
constructor(opts) {
|
|
291
|
-
super({
|
|
292
|
-
name: "KmsInvalidKeyUsage",
|
|
293
|
-
$fault: "client",
|
|
294
|
-
...opts,
|
|
295
|
-
});
|
|
296
|
-
this.name = "KmsInvalidKeyUsage";
|
|
297
|
-
this.$fault = "client";
|
|
298
|
-
Object.setPrototypeOf(this, KmsInvalidKeyUsage.prototype);
|
|
299
|
-
}
|
|
300
|
-
}
|
|
301
|
-
exports.KmsInvalidKeyUsage = KmsInvalidKeyUsage;
|
|
302
|
-
class KmsInvalidState extends SQSServiceException_1.SQSServiceException {
|
|
303
|
-
constructor(opts) {
|
|
304
|
-
super({
|
|
305
|
-
name: "KmsInvalidState",
|
|
306
|
-
$fault: "client",
|
|
307
|
-
...opts,
|
|
308
|
-
});
|
|
309
|
-
this.name = "KmsInvalidState";
|
|
310
|
-
this.$fault = "client";
|
|
311
|
-
Object.setPrototypeOf(this, KmsInvalidState.prototype);
|
|
312
|
-
}
|
|
313
|
-
}
|
|
314
|
-
exports.KmsInvalidState = KmsInvalidState;
|
|
315
|
-
class KmsNotFound extends SQSServiceException_1.SQSServiceException {
|
|
159
|
+
class InvalidAttributeName extends SQSServiceException_1.SQSServiceException {
|
|
316
160
|
constructor(opts) {
|
|
317
161
|
super({
|
|
318
|
-
name: "
|
|
162
|
+
name: "InvalidAttributeName",
|
|
319
163
|
$fault: "client",
|
|
320
164
|
...opts,
|
|
321
165
|
});
|
|
322
|
-
this.name = "
|
|
166
|
+
this.name = "InvalidAttributeName";
|
|
323
167
|
this.$fault = "client";
|
|
324
|
-
Object.setPrototypeOf(this,
|
|
168
|
+
Object.setPrototypeOf(this, InvalidAttributeName.prototype);
|
|
325
169
|
}
|
|
326
170
|
}
|
|
327
|
-
exports.
|
|
328
|
-
class
|
|
171
|
+
exports.InvalidAttributeName = InvalidAttributeName;
|
|
172
|
+
class QueueDoesNotExist extends SQSServiceException_1.SQSServiceException {
|
|
329
173
|
constructor(opts) {
|
|
330
174
|
super({
|
|
331
|
-
name: "
|
|
175
|
+
name: "QueueDoesNotExist",
|
|
332
176
|
$fault: "client",
|
|
333
177
|
...opts,
|
|
334
178
|
});
|
|
335
|
-
this.name = "
|
|
179
|
+
this.name = "QueueDoesNotExist";
|
|
336
180
|
this.$fault = "client";
|
|
337
|
-
Object.setPrototypeOf(this,
|
|
181
|
+
Object.setPrototypeOf(this, QueueDoesNotExist.prototype);
|
|
338
182
|
}
|
|
339
183
|
}
|
|
340
|
-
exports.
|
|
341
|
-
class
|
|
184
|
+
exports.QueueDoesNotExist = QueueDoesNotExist;
|
|
185
|
+
class PurgeQueueInProgress extends SQSServiceException_1.SQSServiceException {
|
|
342
186
|
constructor(opts) {
|
|
343
187
|
super({
|
|
344
|
-
name: "
|
|
188
|
+
name: "PurgeQueueInProgress",
|
|
345
189
|
$fault: "client",
|
|
346
190
|
...opts,
|
|
347
191
|
});
|
|
348
|
-
this.name = "
|
|
192
|
+
this.name = "PurgeQueueInProgress";
|
|
349
193
|
this.$fault = "client";
|
|
350
|
-
Object.setPrototypeOf(this,
|
|
194
|
+
Object.setPrototypeOf(this, PurgeQueueInProgress.prototype);
|
|
351
195
|
}
|
|
352
196
|
}
|
|
353
|
-
exports.
|
|
197
|
+
exports.PurgeQueueInProgress = PurgeQueueInProgress;
|
|
354
198
|
exports.MessageSystemAttributeName = {
|
|
355
199
|
AWSTraceHeader: "AWSTraceHeader",
|
|
356
200
|
ApproximateFirstReceiveTimestamp: "ApproximateFirstReceiveTimestamp",
|
|
@@ -377,6 +221,19 @@ exports.InvalidMessageContents = InvalidMessageContents;
|
|
|
377
221
|
exports.MessageSystemAttributeNameForSends = {
|
|
378
222
|
AWSTraceHeader: "AWSTraceHeader",
|
|
379
223
|
};
|
|
224
|
+
class UnsupportedOperation extends SQSServiceException_1.SQSServiceException {
|
|
225
|
+
constructor(opts) {
|
|
226
|
+
super({
|
|
227
|
+
name: "UnsupportedOperation",
|
|
228
|
+
$fault: "client",
|
|
229
|
+
...opts,
|
|
230
|
+
});
|
|
231
|
+
this.name = "UnsupportedOperation";
|
|
232
|
+
this.$fault = "client";
|
|
233
|
+
Object.setPrototypeOf(this, UnsupportedOperation.prototype);
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
exports.UnsupportedOperation = UnsupportedOperation;
|
|
380
237
|
class BatchRequestTooLong extends SQSServiceException_1.SQSServiceException {
|
|
381
238
|
constructor(opts) {
|
|
382
239
|
super({
|