@aws-sdk/client-sqs 3.325.0 → 3.327.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 +10 -7
- 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/endpoint/ruleset.js +2 -2
- package/dist-cjs/models/models_0.js +206 -26
- package/dist-cjs/protocols/Aws_json1_0.js +1608 -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/endpoint/ruleset.js +2 -2
- package/dist-es/models/models_0.js +189 -20
- package/dist-es/protocols/Aws_json1_0.js +1565 -0
- package/dist-types/SQS.d.ts +24 -21
- package/dist-types/SQSClient.d.ts +24 -21
- package/dist-types/commands/AddPermissionCommand.d.ts +55 -26
- package/dist-types/commands/ChangeMessageVisibilityBatchCommand.d.ts +52 -12
- package/dist-types/commands/ChangeMessageVisibilityCommand.d.ts +52 -15
- package/dist-types/commands/CreateQueueCommand.d.ts +64 -24
- package/dist-types/commands/DeleteMessageBatchCommand.d.ts +49 -10
- package/dist-types/commands/DeleteMessageCommand.d.ts +33 -1
- package/dist-types/commands/DeleteQueueCommand.d.ts +48 -8
- package/dist-types/commands/GetQueueAttributesCommand.d.ts +37 -1
- package/dist-types/commands/GetQueueUrlCommand.d.ts +41 -4
- package/dist-types/commands/ListDeadLetterSourceQueuesCommand.d.ts +48 -11
- package/dist-types/commands/ListQueueTagsCommand.d.ts +44 -4
- package/dist-types/commands/ListQueuesCommand.d.ts +49 -10
- package/dist-types/commands/PurgeQueueCommand.d.ts +40 -7
- package/dist-types/commands/ReceiveMessageCommand.d.ts +118 -15
- package/dist-types/commands/RemovePermissionCommand.d.ts +41 -5
- package/dist-types/commands/SendMessageBatchCommand.d.ts +99 -16
- package/dist-types/commands/SendMessageCommand.d.ts +72 -3
- package/dist-types/commands/SetQueueAttributesCommand.d.ts +54 -6
- package/dist-types/commands/TagQueueCommand.d.ts +38 -4
- package/dist-types/commands/UntagQueueCommand.d.ts +38 -3
- package/dist-types/models/models_0.d.ts +1039 -493
- package/dist-types/protocols/{Aws_query.d.ts → Aws_json1_0.d.ts} +40 -40
- package/dist-types/ts3.4/models/models_0.d.ts +119 -52
- package/package.json +8 -9
- package/dist-cjs/protocols/Aws_query.js +0 -2127
- package/dist-es/protocols/Aws_query.js +0 -2084
- /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.
|
|
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.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,6 +41,45 @@ class OverLimit extends SQSServiceException_1.SQSServiceException {
|
|
|
15
41
|
}
|
|
16
42
|
}
|
|
17
43
|
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;
|
|
18
83
|
class MessageNotInflight extends SQSServiceException_1.SQSServiceException {
|
|
19
84
|
constructor(opts) {
|
|
20
85
|
super({
|
|
@@ -93,6 +158,56 @@ class TooManyEntriesInBatchRequest extends SQSServiceException_1.SQSServiceExcep
|
|
|
93
158
|
}
|
|
94
159
|
}
|
|
95
160
|
exports.TooManyEntriesInBatchRequest = TooManyEntriesInBatchRequest;
|
|
161
|
+
exports.QueueAttributeName = {
|
|
162
|
+
All: "All",
|
|
163
|
+
ApproximateNumberOfMessages: "ApproximateNumberOfMessages",
|
|
164
|
+
ApproximateNumberOfMessagesDelayed: "ApproximateNumberOfMessagesDelayed",
|
|
165
|
+
ApproximateNumberOfMessagesNotVisible: "ApproximateNumberOfMessagesNotVisible",
|
|
166
|
+
ContentBasedDeduplication: "ContentBasedDeduplication",
|
|
167
|
+
CreatedTimestamp: "CreatedTimestamp",
|
|
168
|
+
DeduplicationScope: "DeduplicationScope",
|
|
169
|
+
DelaySeconds: "DelaySeconds",
|
|
170
|
+
FifoQueue: "FifoQueue",
|
|
171
|
+
FifoThroughputLimit: "FifoThroughputLimit",
|
|
172
|
+
KmsDataKeyReusePeriodSeconds: "KmsDataKeyReusePeriodSeconds",
|
|
173
|
+
KmsMasterKeyId: "KmsMasterKeyId",
|
|
174
|
+
LastModifiedTimestamp: "LastModifiedTimestamp",
|
|
175
|
+
MaximumMessageSize: "MaximumMessageSize",
|
|
176
|
+
MessageRetentionPeriod: "MessageRetentionPeriod",
|
|
177
|
+
Policy: "Policy",
|
|
178
|
+
QueueArn: "QueueArn",
|
|
179
|
+
ReceiveMessageWaitTimeSeconds: "ReceiveMessageWaitTimeSeconds",
|
|
180
|
+
RedriveAllowPolicy: "RedriveAllowPolicy",
|
|
181
|
+
RedrivePolicy: "RedrivePolicy",
|
|
182
|
+
SqsManagedSseEnabled: "SqsManagedSseEnabled",
|
|
183
|
+
VisibilityTimeout: "VisibilityTimeout",
|
|
184
|
+
};
|
|
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;
|
|
96
211
|
class QueueDeletedRecently extends SQSServiceException_1.SQSServiceException {
|
|
97
212
|
constructor(opts) {
|
|
98
213
|
super({
|
|
@@ -132,71 +247,136 @@ class InvalidIdFormat extends SQSServiceException_1.SQSServiceException {
|
|
|
132
247
|
}
|
|
133
248
|
}
|
|
134
249
|
exports.InvalidIdFormat = InvalidIdFormat;
|
|
135
|
-
class
|
|
250
|
+
class PurgeQueueInProgress extends SQSServiceException_1.SQSServiceException {
|
|
136
251
|
constructor(opts) {
|
|
137
252
|
super({
|
|
138
|
-
name: "
|
|
253
|
+
name: "PurgeQueueInProgress",
|
|
139
254
|
$fault: "client",
|
|
140
255
|
...opts,
|
|
141
256
|
});
|
|
142
|
-
this.name = "
|
|
257
|
+
this.name = "PurgeQueueInProgress";
|
|
143
258
|
this.$fault = "client";
|
|
144
|
-
Object.setPrototypeOf(this,
|
|
259
|
+
Object.setPrototypeOf(this, PurgeQueueInProgress.prototype);
|
|
145
260
|
}
|
|
146
261
|
}
|
|
147
|
-
exports.
|
|
148
|
-
class
|
|
262
|
+
exports.PurgeQueueInProgress = PurgeQueueInProgress;
|
|
263
|
+
class KmsAccessDenied extends SQSServiceException_1.SQSServiceException {
|
|
149
264
|
constructor(opts) {
|
|
150
265
|
super({
|
|
151
|
-
name: "
|
|
266
|
+
name: "KmsAccessDenied",
|
|
152
267
|
$fault: "client",
|
|
153
268
|
...opts,
|
|
154
269
|
});
|
|
155
|
-
this.name = "
|
|
270
|
+
this.name = "KmsAccessDenied";
|
|
156
271
|
this.$fault = "client";
|
|
157
|
-
Object.setPrototypeOf(this,
|
|
272
|
+
Object.setPrototypeOf(this, KmsAccessDenied.prototype);
|
|
158
273
|
}
|
|
159
274
|
}
|
|
160
|
-
exports.
|
|
161
|
-
class
|
|
275
|
+
exports.KmsAccessDenied = KmsAccessDenied;
|
|
276
|
+
class KmsDisabled extends SQSServiceException_1.SQSServiceException {
|
|
162
277
|
constructor(opts) {
|
|
163
278
|
super({
|
|
164
|
-
name: "
|
|
279
|
+
name: "KmsDisabled",
|
|
165
280
|
$fault: "client",
|
|
166
281
|
...opts,
|
|
167
282
|
});
|
|
168
|
-
this.name = "
|
|
283
|
+
this.name = "KmsDisabled";
|
|
169
284
|
this.$fault = "client";
|
|
170
|
-
Object.setPrototypeOf(this,
|
|
285
|
+
Object.setPrototypeOf(this, KmsDisabled.prototype);
|
|
171
286
|
}
|
|
172
287
|
}
|
|
173
|
-
exports.
|
|
174
|
-
class
|
|
288
|
+
exports.KmsDisabled = KmsDisabled;
|
|
289
|
+
class KmsInvalidKeyUsage extends SQSServiceException_1.SQSServiceException {
|
|
175
290
|
constructor(opts) {
|
|
176
291
|
super({
|
|
177
|
-
name: "
|
|
292
|
+
name: "KmsInvalidKeyUsage",
|
|
178
293
|
$fault: "client",
|
|
179
294
|
...opts,
|
|
180
295
|
});
|
|
181
|
-
this.name = "
|
|
296
|
+
this.name = "KmsInvalidKeyUsage";
|
|
182
297
|
this.$fault = "client";
|
|
183
|
-
Object.setPrototypeOf(this,
|
|
298
|
+
Object.setPrototypeOf(this, KmsInvalidKeyUsage.prototype);
|
|
184
299
|
}
|
|
185
300
|
}
|
|
186
|
-
exports.
|
|
187
|
-
class
|
|
301
|
+
exports.KmsInvalidKeyUsage = KmsInvalidKeyUsage;
|
|
302
|
+
class KmsInvalidState extends SQSServiceException_1.SQSServiceException {
|
|
188
303
|
constructor(opts) {
|
|
189
304
|
super({
|
|
190
|
-
name: "
|
|
305
|
+
name: "KmsInvalidState",
|
|
191
306
|
$fault: "client",
|
|
192
307
|
...opts,
|
|
193
308
|
});
|
|
194
|
-
this.name = "
|
|
309
|
+
this.name = "KmsInvalidState";
|
|
195
310
|
this.$fault = "client";
|
|
196
|
-
Object.setPrototypeOf(this,
|
|
311
|
+
Object.setPrototypeOf(this, KmsInvalidState.prototype);
|
|
197
312
|
}
|
|
198
313
|
}
|
|
199
|
-
exports.
|
|
314
|
+
exports.KmsInvalidState = KmsInvalidState;
|
|
315
|
+
class KmsNotFound extends SQSServiceException_1.SQSServiceException {
|
|
316
|
+
constructor(opts) {
|
|
317
|
+
super({
|
|
318
|
+
name: "KmsNotFound",
|
|
319
|
+
$fault: "client",
|
|
320
|
+
...opts,
|
|
321
|
+
});
|
|
322
|
+
this.name = "KmsNotFound";
|
|
323
|
+
this.$fault = "client";
|
|
324
|
+
Object.setPrototypeOf(this, KmsNotFound.prototype);
|
|
325
|
+
}
|
|
326
|
+
}
|
|
327
|
+
exports.KmsNotFound = KmsNotFound;
|
|
328
|
+
class KmsOptInRequired extends SQSServiceException_1.SQSServiceException {
|
|
329
|
+
constructor(opts) {
|
|
330
|
+
super({
|
|
331
|
+
name: "KmsOptInRequired",
|
|
332
|
+
$fault: "client",
|
|
333
|
+
...opts,
|
|
334
|
+
});
|
|
335
|
+
this.name = "KmsOptInRequired";
|
|
336
|
+
this.$fault = "client";
|
|
337
|
+
Object.setPrototypeOf(this, KmsOptInRequired.prototype);
|
|
338
|
+
}
|
|
339
|
+
}
|
|
340
|
+
exports.KmsOptInRequired = KmsOptInRequired;
|
|
341
|
+
class KmsThrottled extends SQSServiceException_1.SQSServiceException {
|
|
342
|
+
constructor(opts) {
|
|
343
|
+
super({
|
|
344
|
+
name: "KmsThrottled",
|
|
345
|
+
$fault: "client",
|
|
346
|
+
...opts,
|
|
347
|
+
});
|
|
348
|
+
this.name = "KmsThrottled";
|
|
349
|
+
this.$fault = "client";
|
|
350
|
+
Object.setPrototypeOf(this, KmsThrottled.prototype);
|
|
351
|
+
}
|
|
352
|
+
}
|
|
353
|
+
exports.KmsThrottled = KmsThrottled;
|
|
354
|
+
exports.MessageSystemAttributeName = {
|
|
355
|
+
AWSTraceHeader: "AWSTraceHeader",
|
|
356
|
+
ApproximateFirstReceiveTimestamp: "ApproximateFirstReceiveTimestamp",
|
|
357
|
+
ApproximateReceiveCount: "ApproximateReceiveCount",
|
|
358
|
+
MessageDeduplicationId: "MessageDeduplicationId",
|
|
359
|
+
MessageGroupId: "MessageGroupId",
|
|
360
|
+
SenderId: "SenderId",
|
|
361
|
+
SentTimestamp: "SentTimestamp",
|
|
362
|
+
SequenceNumber: "SequenceNumber",
|
|
363
|
+
};
|
|
364
|
+
class InvalidMessageContents extends SQSServiceException_1.SQSServiceException {
|
|
365
|
+
constructor(opts) {
|
|
366
|
+
super({
|
|
367
|
+
name: "InvalidMessageContents",
|
|
368
|
+
$fault: "client",
|
|
369
|
+
...opts,
|
|
370
|
+
});
|
|
371
|
+
this.name = "InvalidMessageContents";
|
|
372
|
+
this.$fault = "client";
|
|
373
|
+
Object.setPrototypeOf(this, InvalidMessageContents.prototype);
|
|
374
|
+
}
|
|
375
|
+
}
|
|
376
|
+
exports.InvalidMessageContents = InvalidMessageContents;
|
|
377
|
+
exports.MessageSystemAttributeNameForSends = {
|
|
378
|
+
AWSTraceHeader: "AWSTraceHeader",
|
|
379
|
+
};
|
|
200
380
|
class BatchRequestTooLong extends SQSServiceException_1.SQSServiceException {
|
|
201
381
|
constructor(opts) {
|
|
202
382
|
super({
|