@aws-sdk/client-sqs 3.490.0 → 3.495.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 (40) hide show
  1. package/dist-cjs/SQS.js +1 -57
  2. package/dist-cjs/SQSClient.js +1 -56
  3. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +1 -43
  4. package/dist-cjs/commands/AddPermissionCommand.js +1 -28
  5. package/dist-cjs/commands/CancelMessageMoveTaskCommand.js +1 -28
  6. package/dist-cjs/commands/ChangeMessageVisibilityBatchCommand.js +1 -28
  7. package/dist-cjs/commands/ChangeMessageVisibilityCommand.js +1 -28
  8. package/dist-cjs/commands/CreateQueueCommand.js +1 -28
  9. package/dist-cjs/commands/DeleteMessageBatchCommand.js +1 -28
  10. package/dist-cjs/commands/DeleteMessageCommand.js +1 -28
  11. package/dist-cjs/commands/DeleteQueueCommand.js +1 -28
  12. package/dist-cjs/commands/GetQueueAttributesCommand.js +1 -28
  13. package/dist-cjs/commands/GetQueueUrlCommand.js +1 -28
  14. package/dist-cjs/commands/ListDeadLetterSourceQueuesCommand.js +1 -28
  15. package/dist-cjs/commands/ListMessageMoveTasksCommand.js +1 -28
  16. package/dist-cjs/commands/ListQueueTagsCommand.js +1 -28
  17. package/dist-cjs/commands/ListQueuesCommand.js +1 -28
  18. package/dist-cjs/commands/PurgeQueueCommand.js +1 -28
  19. package/dist-cjs/commands/ReceiveMessageCommand.js +1 -30
  20. package/dist-cjs/commands/RemovePermissionCommand.js +1 -28
  21. package/dist-cjs/commands/SendMessageBatchCommand.js +1 -30
  22. package/dist-cjs/commands/SendMessageCommand.js +1 -30
  23. package/dist-cjs/commands/SetQueueAttributesCommand.js +1 -28
  24. package/dist-cjs/commands/StartMessageMoveTaskCommand.js +1 -28
  25. package/dist-cjs/commands/TagQueueCommand.js +1 -28
  26. package/dist-cjs/commands/UntagQueueCommand.js +1 -28
  27. package/dist-cjs/commands/index.js +1 -26
  28. package/dist-cjs/endpoint/EndpointParameters.js +1 -18
  29. package/dist-cjs/extensionConfiguration.js +1 -2
  30. package/dist-cjs/index.js +3223 -11
  31. package/dist-cjs/models/SQSServiceException.js +1 -12
  32. package/dist-cjs/models/index.js +1 -4
  33. package/dist-cjs/models/models_0.js +1 -406
  34. package/dist-cjs/pagination/Interfaces.js +1 -2
  35. package/dist-cjs/pagination/ListDeadLetterSourceQueuesPaginator.js +1 -7
  36. package/dist-cjs/pagination/ListQueuesPaginator.js +1 -7
  37. package/dist-cjs/pagination/index.js +1 -6
  38. package/dist-cjs/protocols/Aws_json1_0.js +1 -2025
  39. package/dist-cjs/runtimeExtensions.js +1 -25
  40. package/package.json +42 -42
@@ -1,12 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SQSServiceException = exports.__ServiceException = void 0;
4
- const smithy_client_1 = require("@smithy/smithy-client");
5
- Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
6
- class SQSServiceException extends smithy_client_1.ServiceException {
7
- constructor(options) {
8
- super(options);
9
- Object.setPrototypeOf(this, SQSServiceException.prototype);
10
- }
11
- }
12
- exports.SQSServiceException = SQSServiceException;
1
+ module.exports = require("../index.js");
@@ -1,4 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./models_0"), exports);
1
+ module.exports = require("../index.js");
@@ -1,406 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
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
- 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
- class OverLimit extends SQSServiceException_1.SQSServiceException {
32
- constructor(opts) {
33
- super({
34
- name: "OverLimit",
35
- $fault: "client",
36
- ...opts,
37
- });
38
- this.name = "OverLimit";
39
- this.$fault = "client";
40
- Object.setPrototypeOf(this, OverLimit.prototype);
41
- }
42
- }
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;
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;
96
- class MessageNotInflight extends SQSServiceException_1.SQSServiceException {
97
- constructor(opts) {
98
- super({
99
- name: "MessageNotInflight",
100
- $fault: "client",
101
- ...opts,
102
- });
103
- this.name = "MessageNotInflight";
104
- this.$fault = "client";
105
- Object.setPrototypeOf(this, MessageNotInflight.prototype);
106
- }
107
- }
108
- exports.MessageNotInflight = MessageNotInflight;
109
- class ReceiptHandleIsInvalid extends SQSServiceException_1.SQSServiceException {
110
- constructor(opts) {
111
- super({
112
- name: "ReceiptHandleIsInvalid",
113
- $fault: "client",
114
- ...opts,
115
- });
116
- this.name = "ReceiptHandleIsInvalid";
117
- this.$fault = "client";
118
- Object.setPrototypeOf(this, ReceiptHandleIsInvalid.prototype);
119
- }
120
- }
121
- exports.ReceiptHandleIsInvalid = ReceiptHandleIsInvalid;
122
- class BatchEntryIdsNotDistinct extends SQSServiceException_1.SQSServiceException {
123
- constructor(opts) {
124
- super({
125
- name: "BatchEntryIdsNotDistinct",
126
- $fault: "client",
127
- ...opts,
128
- });
129
- this.name = "BatchEntryIdsNotDistinct";
130
- this.$fault = "client";
131
- Object.setPrototypeOf(this, BatchEntryIdsNotDistinct.prototype);
132
- }
133
- }
134
- exports.BatchEntryIdsNotDistinct = BatchEntryIdsNotDistinct;
135
- class EmptyBatchRequest extends SQSServiceException_1.SQSServiceException {
136
- constructor(opts) {
137
- super({
138
- name: "EmptyBatchRequest",
139
- $fault: "client",
140
- ...opts,
141
- });
142
- this.name = "EmptyBatchRequest";
143
- this.$fault = "client";
144
- Object.setPrototypeOf(this, EmptyBatchRequest.prototype);
145
- }
146
- }
147
- exports.EmptyBatchRequest = EmptyBatchRequest;
148
- class InvalidBatchEntryId extends SQSServiceException_1.SQSServiceException {
149
- constructor(opts) {
150
- super({
151
- name: "InvalidBatchEntryId",
152
- $fault: "client",
153
- ...opts,
154
- });
155
- this.name = "InvalidBatchEntryId";
156
- this.$fault = "client";
157
- Object.setPrototypeOf(this, InvalidBatchEntryId.prototype);
158
- }
159
- }
160
- exports.InvalidBatchEntryId = InvalidBatchEntryId;
161
- class TooManyEntriesInBatchRequest extends SQSServiceException_1.SQSServiceException {
162
- constructor(opts) {
163
- super({
164
- name: "TooManyEntriesInBatchRequest",
165
- $fault: "client",
166
- ...opts,
167
- });
168
- this.name = "TooManyEntriesInBatchRequest";
169
- this.$fault = "client";
170
- Object.setPrototypeOf(this, TooManyEntriesInBatchRequest.prototype);
171
- }
172
- }
173
- exports.TooManyEntriesInBatchRequest = TooManyEntriesInBatchRequest;
174
- exports.QueueAttributeName = {
175
- All: "All",
176
- ApproximateNumberOfMessages: "ApproximateNumberOfMessages",
177
- ApproximateNumberOfMessagesDelayed: "ApproximateNumberOfMessagesDelayed",
178
- ApproximateNumberOfMessagesNotVisible: "ApproximateNumberOfMessagesNotVisible",
179
- ContentBasedDeduplication: "ContentBasedDeduplication",
180
- CreatedTimestamp: "CreatedTimestamp",
181
- DeduplicationScope: "DeduplicationScope",
182
- DelaySeconds: "DelaySeconds",
183
- FifoQueue: "FifoQueue",
184
- FifoThroughputLimit: "FifoThroughputLimit",
185
- KmsDataKeyReusePeriodSeconds: "KmsDataKeyReusePeriodSeconds",
186
- KmsMasterKeyId: "KmsMasterKeyId",
187
- LastModifiedTimestamp: "LastModifiedTimestamp",
188
- MaximumMessageSize: "MaximumMessageSize",
189
- MessageRetentionPeriod: "MessageRetentionPeriod",
190
- Policy: "Policy",
191
- QueueArn: "QueueArn",
192
- ReceiveMessageWaitTimeSeconds: "ReceiveMessageWaitTimeSeconds",
193
- RedriveAllowPolicy: "RedriveAllowPolicy",
194
- RedrivePolicy: "RedrivePolicy",
195
- SqsManagedSseEnabled: "SqsManagedSseEnabled",
196
- VisibilityTimeout: "VisibilityTimeout",
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;
224
- class QueueDeletedRecently extends SQSServiceException_1.SQSServiceException {
225
- constructor(opts) {
226
- super({
227
- name: "QueueDeletedRecently",
228
- $fault: "client",
229
- ...opts,
230
- });
231
- this.name = "QueueDeletedRecently";
232
- this.$fault = "client";
233
- Object.setPrototypeOf(this, QueueDeletedRecently.prototype);
234
- }
235
- }
236
- exports.QueueDeletedRecently = QueueDeletedRecently;
237
- class QueueNameExists extends SQSServiceException_1.SQSServiceException {
238
- constructor(opts) {
239
- super({
240
- name: "QueueNameExists",
241
- $fault: "client",
242
- ...opts,
243
- });
244
- this.name = "QueueNameExists";
245
- this.$fault = "client";
246
- Object.setPrototypeOf(this, QueueNameExists.prototype);
247
- }
248
- }
249
- exports.QueueNameExists = QueueNameExists;
250
- class InvalidIdFormat extends SQSServiceException_1.SQSServiceException {
251
- constructor(opts) {
252
- super({
253
- name: "InvalidIdFormat",
254
- $fault: "client",
255
- ...opts,
256
- });
257
- this.name = "InvalidIdFormat";
258
- this.$fault = "client";
259
- Object.setPrototypeOf(this, InvalidIdFormat.prototype);
260
- }
261
- }
262
- exports.InvalidIdFormat = InvalidIdFormat;
263
- class PurgeQueueInProgress extends SQSServiceException_1.SQSServiceException {
264
- constructor(opts) {
265
- super({
266
- name: "PurgeQueueInProgress",
267
- $fault: "client",
268
- ...opts,
269
- });
270
- this.name = "PurgeQueueInProgress";
271
- this.$fault = "client";
272
- Object.setPrototypeOf(this, PurgeQueueInProgress.prototype);
273
- }
274
- }
275
- exports.PurgeQueueInProgress = PurgeQueueInProgress;
276
- class KmsAccessDenied extends SQSServiceException_1.SQSServiceException {
277
- constructor(opts) {
278
- super({
279
- name: "KmsAccessDenied",
280
- $fault: "client",
281
- ...opts,
282
- });
283
- this.name = "KmsAccessDenied";
284
- this.$fault = "client";
285
- Object.setPrototypeOf(this, KmsAccessDenied.prototype);
286
- }
287
- }
288
- exports.KmsAccessDenied = KmsAccessDenied;
289
- class KmsDisabled extends SQSServiceException_1.SQSServiceException {
290
- constructor(opts) {
291
- super({
292
- name: "KmsDisabled",
293
- $fault: "client",
294
- ...opts,
295
- });
296
- this.name = "KmsDisabled";
297
- this.$fault = "client";
298
- Object.setPrototypeOf(this, KmsDisabled.prototype);
299
- }
300
- }
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;
367
- exports.MessageSystemAttributeName = {
368
- AWSTraceHeader: "AWSTraceHeader",
369
- ApproximateFirstReceiveTimestamp: "ApproximateFirstReceiveTimestamp",
370
- ApproximateReceiveCount: "ApproximateReceiveCount",
371
- DeadLetterQueueSourceArn: "DeadLetterQueueSourceArn",
372
- MessageDeduplicationId: "MessageDeduplicationId",
373
- MessageGroupId: "MessageGroupId",
374
- SenderId: "SenderId",
375
- SentTimestamp: "SentTimestamp",
376
- SequenceNumber: "SequenceNumber",
377
- };
378
- class InvalidMessageContents extends SQSServiceException_1.SQSServiceException {
379
- constructor(opts) {
380
- super({
381
- name: "InvalidMessageContents",
382
- $fault: "client",
383
- ...opts,
384
- });
385
- this.name = "InvalidMessageContents";
386
- this.$fault = "client";
387
- Object.setPrototypeOf(this, InvalidMessageContents.prototype);
388
- }
389
- }
390
- exports.InvalidMessageContents = InvalidMessageContents;
391
- exports.MessageSystemAttributeNameForSends = {
392
- AWSTraceHeader: "AWSTraceHeader",
393
- };
394
- class BatchRequestTooLong extends SQSServiceException_1.SQSServiceException {
395
- constructor(opts) {
396
- super({
397
- name: "BatchRequestTooLong",
398
- $fault: "client",
399
- ...opts,
400
- });
401
- this.name = "BatchRequestTooLong";
402
- this.$fault = "client";
403
- Object.setPrototypeOf(this, BatchRequestTooLong.prototype);
404
- }
405
- }
406
- exports.BatchRequestTooLong = BatchRequestTooLong;
1
+ module.exports = require("../index.js");
@@ -1,2 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListDeadLetterSourceQueues = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListDeadLetterSourceQueuesCommand_1 = require("../commands/ListDeadLetterSourceQueuesCommand");
6
- const SQSClient_1 = require("../SQSClient");
7
- exports.paginateListDeadLetterSourceQueues = (0, core_1.createPaginator)(SQSClient_1.SQSClient, ListDeadLetterSourceQueuesCommand_1.ListDeadLetterSourceQueuesCommand, "NextToken", "NextToken", "MaxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListQueues = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListQueuesCommand_1 = require("../commands/ListQueuesCommand");
6
- const SQSClient_1 = require("../SQSClient");
7
- exports.paginateListQueues = (0, core_1.createPaginator)(SQSClient_1.SQSClient, ListQueuesCommand_1.ListQueuesCommand, "NextToken", "NextToken", "MaxResults");
1
+ module.exports = require("../index.js");
@@ -1,6 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./Interfaces"), exports);
5
- tslib_1.__exportStar(require("./ListDeadLetterSourceQueuesPaginator"), exports);
6
- tslib_1.__exportStar(require("./ListQueuesPaginator"), exports);
1
+ module.exports = require("../index.js");