@aws-sdk/client-sqs 3.50.0 → 3.53.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 (50) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist-cjs/index.js +3 -0
  3. package/dist-cjs/models/SQSServiceException.js +11 -0
  4. package/dist-cjs/models/models_0.js +211 -1
  5. package/dist-cjs/protocols/Aws_query.js +160 -460
  6. package/dist-es/index.js +1 -0
  7. package/dist-es/models/SQSServiceException.js +12 -0
  8. package/dist-es/models/models_0.js +194 -1
  9. package/dist-es/protocols/Aws_query.js +327 -467
  10. package/dist-types/index.d.ts +1 -0
  11. package/dist-types/models/SQSServiceException.d.ts +10 -0
  12. package/dist-types/models/models_0.d.ts +114 -49
  13. package/dist-types/ts3.4/SQS.d.ts +105 -0
  14. package/dist-types/ts3.4/SQSClient.d.ts +95 -0
  15. package/dist-types/ts3.4/commands/AddPermissionCommand.d.ts +17 -0
  16. package/dist-types/ts3.4/commands/ChangeMessageVisibilityBatchCommand.d.ts +17 -0
  17. package/dist-types/ts3.4/commands/ChangeMessageVisibilityCommand.d.ts +17 -0
  18. package/dist-types/ts3.4/commands/CreateQueueCommand.d.ts +17 -0
  19. package/dist-types/ts3.4/commands/DeleteMessageBatchCommand.d.ts +17 -0
  20. package/dist-types/ts3.4/commands/DeleteMessageCommand.d.ts +17 -0
  21. package/dist-types/ts3.4/commands/DeleteQueueCommand.d.ts +17 -0
  22. package/dist-types/ts3.4/commands/GetQueueAttributesCommand.d.ts +17 -0
  23. package/dist-types/ts3.4/commands/GetQueueUrlCommand.d.ts +17 -0
  24. package/dist-types/ts3.4/commands/ListDeadLetterSourceQueuesCommand.d.ts +17 -0
  25. package/dist-types/ts3.4/commands/ListQueueTagsCommand.d.ts +17 -0
  26. package/dist-types/ts3.4/commands/ListQueuesCommand.d.ts +17 -0
  27. package/dist-types/ts3.4/commands/PurgeQueueCommand.d.ts +17 -0
  28. package/dist-types/ts3.4/commands/ReceiveMessageCommand.d.ts +17 -0
  29. package/dist-types/ts3.4/commands/RemovePermissionCommand.d.ts +17 -0
  30. package/dist-types/ts3.4/commands/SendMessageBatchCommand.d.ts +17 -0
  31. package/dist-types/ts3.4/commands/SendMessageCommand.d.ts +17 -0
  32. package/dist-types/ts3.4/commands/SetQueueAttributesCommand.d.ts +17 -0
  33. package/dist-types/ts3.4/commands/TagQueueCommand.d.ts +17 -0
  34. package/dist-types/ts3.4/commands/UntagQueueCommand.d.ts +17 -0
  35. package/dist-types/ts3.4/commands/index.d.ts +20 -0
  36. package/dist-types/ts3.4/endpoints.d.ts +2 -0
  37. package/dist-types/ts3.4/index.d.ts +6 -0
  38. package/dist-types/ts3.4/models/SQSServiceException.d.ts +6 -0
  39. package/dist-types/ts3.4/models/index.d.ts +1 -0
  40. package/dist-types/ts3.4/models/models_0.d.ts +651 -0
  41. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  42. package/dist-types/ts3.4/pagination/ListDeadLetterSourceQueuesPaginator.d.ts +4 -0
  43. package/dist-types/ts3.4/pagination/ListQueuesPaginator.d.ts +4 -0
  44. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  45. package/dist-types/ts3.4/protocols/Aws_query.d.ts +62 -0
  46. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +39 -0
  47. package/dist-types/ts3.4/runtimeConfig.d.ts +40 -0
  48. package/dist-types/ts3.4/runtimeConfig.native.d.ts +38 -0
  49. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
  50. package/package.json +35 -35
package/dist-es/index.js CHANGED
@@ -3,3 +3,4 @@ export * from "./SQSClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { SQSServiceException } from "./models/SQSServiceException";
@@ -0,0 +1,12 @@
1
+ import { __extends } from "tslib";
2
+ import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
3
+ var SQSServiceException = (function (_super) {
4
+ __extends(SQSServiceException, _super);
5
+ function SQSServiceException(options) {
6
+ var _this = _super.call(this, options) || this;
7
+ Object.setPrototypeOf(_this, SQSServiceException.prototype);
8
+ return _this;
9
+ }
10
+ return SQSServiceException;
11
+ }(__ServiceException));
12
+ export { SQSServiceException };
@@ -1,12 +1,61 @@
1
- import { __assign } from "tslib";
1
+ import { __assign, __extends } from "tslib";
2
+ import { SQSServiceException as __BaseException } from "./SQSServiceException";
2
3
  export var AddPermissionRequest;
3
4
  (function (AddPermissionRequest) {
4
5
  AddPermissionRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
5
6
  })(AddPermissionRequest || (AddPermissionRequest = {}));
7
+ var OverLimit = (function (_super) {
8
+ __extends(OverLimit, _super);
9
+ function OverLimit(opts) {
10
+ var _this = _super.call(this, __assign({ name: "OverLimit", $fault: "client" }, opts)) || this;
11
+ _this.name = "OverLimit";
12
+ _this.$fault = "client";
13
+ Object.setPrototypeOf(_this, OverLimit.prototype);
14
+ return _this;
15
+ }
16
+ return OverLimit;
17
+ }(__BaseException));
18
+ export { OverLimit };
6
19
  export var ChangeMessageVisibilityRequest;
7
20
  (function (ChangeMessageVisibilityRequest) {
8
21
  ChangeMessageVisibilityRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
9
22
  })(ChangeMessageVisibilityRequest || (ChangeMessageVisibilityRequest = {}));
23
+ var MessageNotInflight = (function (_super) {
24
+ __extends(MessageNotInflight, _super);
25
+ function MessageNotInflight(opts) {
26
+ var _this = _super.call(this, __assign({ name: "MessageNotInflight", $fault: "client" }, opts)) || this;
27
+ _this.name = "MessageNotInflight";
28
+ _this.$fault = "client";
29
+ Object.setPrototypeOf(_this, MessageNotInflight.prototype);
30
+ return _this;
31
+ }
32
+ return MessageNotInflight;
33
+ }(__BaseException));
34
+ export { MessageNotInflight };
35
+ var ReceiptHandleIsInvalid = (function (_super) {
36
+ __extends(ReceiptHandleIsInvalid, _super);
37
+ function ReceiptHandleIsInvalid(opts) {
38
+ var _this = _super.call(this, __assign({ name: "ReceiptHandleIsInvalid", $fault: "client" }, opts)) || this;
39
+ _this.name = "ReceiptHandleIsInvalid";
40
+ _this.$fault = "client";
41
+ Object.setPrototypeOf(_this, ReceiptHandleIsInvalid.prototype);
42
+ return _this;
43
+ }
44
+ return ReceiptHandleIsInvalid;
45
+ }(__BaseException));
46
+ export { ReceiptHandleIsInvalid };
47
+ var BatchEntryIdsNotDistinct = (function (_super) {
48
+ __extends(BatchEntryIdsNotDistinct, _super);
49
+ function BatchEntryIdsNotDistinct(opts) {
50
+ var _this = _super.call(this, __assign({ name: "BatchEntryIdsNotDistinct", $fault: "client" }, opts)) || this;
51
+ _this.name = "BatchEntryIdsNotDistinct";
52
+ _this.$fault = "client";
53
+ Object.setPrototypeOf(_this, BatchEntryIdsNotDistinct.prototype);
54
+ return _this;
55
+ }
56
+ return BatchEntryIdsNotDistinct;
57
+ }(__BaseException));
58
+ export { BatchEntryIdsNotDistinct };
10
59
  export var ChangeMessageVisibilityBatchRequestEntry;
11
60
  (function (ChangeMessageVisibilityBatchRequestEntry) {
12
61
  ChangeMessageVisibilityBatchRequestEntry.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -27,6 +76,42 @@ export var ChangeMessageVisibilityBatchResult;
27
76
  (function (ChangeMessageVisibilityBatchResult) {
28
77
  ChangeMessageVisibilityBatchResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
29
78
  })(ChangeMessageVisibilityBatchResult || (ChangeMessageVisibilityBatchResult = {}));
79
+ var EmptyBatchRequest = (function (_super) {
80
+ __extends(EmptyBatchRequest, _super);
81
+ function EmptyBatchRequest(opts) {
82
+ var _this = _super.call(this, __assign({ name: "EmptyBatchRequest", $fault: "client" }, opts)) || this;
83
+ _this.name = "EmptyBatchRequest";
84
+ _this.$fault = "client";
85
+ Object.setPrototypeOf(_this, EmptyBatchRequest.prototype);
86
+ return _this;
87
+ }
88
+ return EmptyBatchRequest;
89
+ }(__BaseException));
90
+ export { EmptyBatchRequest };
91
+ var InvalidBatchEntryId = (function (_super) {
92
+ __extends(InvalidBatchEntryId, _super);
93
+ function InvalidBatchEntryId(opts) {
94
+ var _this = _super.call(this, __assign({ name: "InvalidBatchEntryId", $fault: "client" }, opts)) || this;
95
+ _this.name = "InvalidBatchEntryId";
96
+ _this.$fault = "client";
97
+ Object.setPrototypeOf(_this, InvalidBatchEntryId.prototype);
98
+ return _this;
99
+ }
100
+ return InvalidBatchEntryId;
101
+ }(__BaseException));
102
+ export { InvalidBatchEntryId };
103
+ var TooManyEntriesInBatchRequest = (function (_super) {
104
+ __extends(TooManyEntriesInBatchRequest, _super);
105
+ function TooManyEntriesInBatchRequest(opts) {
106
+ var _this = _super.call(this, __assign({ name: "TooManyEntriesInBatchRequest", $fault: "client" }, opts)) || this;
107
+ _this.name = "TooManyEntriesInBatchRequest";
108
+ _this.$fault = "client";
109
+ Object.setPrototypeOf(_this, TooManyEntriesInBatchRequest.prototype);
110
+ return _this;
111
+ }
112
+ return TooManyEntriesInBatchRequest;
113
+ }(__BaseException));
114
+ export { TooManyEntriesInBatchRequest };
30
115
  export var CreateQueueRequest;
31
116
  (function (CreateQueueRequest) {
32
117
  CreateQueueRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -35,10 +120,46 @@ export var CreateQueueResult;
35
120
  (function (CreateQueueResult) {
36
121
  CreateQueueResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
37
122
  })(CreateQueueResult || (CreateQueueResult = {}));
123
+ var QueueDeletedRecently = (function (_super) {
124
+ __extends(QueueDeletedRecently, _super);
125
+ function QueueDeletedRecently(opts) {
126
+ var _this = _super.call(this, __assign({ name: "QueueDeletedRecently", $fault: "client" }, opts)) || this;
127
+ _this.name = "QueueDeletedRecently";
128
+ _this.$fault = "client";
129
+ Object.setPrototypeOf(_this, QueueDeletedRecently.prototype);
130
+ return _this;
131
+ }
132
+ return QueueDeletedRecently;
133
+ }(__BaseException));
134
+ export { QueueDeletedRecently };
135
+ var QueueNameExists = (function (_super) {
136
+ __extends(QueueNameExists, _super);
137
+ function QueueNameExists(opts) {
138
+ var _this = _super.call(this, __assign({ name: "QueueNameExists", $fault: "client" }, opts)) || this;
139
+ _this.name = "QueueNameExists";
140
+ _this.$fault = "client";
141
+ Object.setPrototypeOf(_this, QueueNameExists.prototype);
142
+ return _this;
143
+ }
144
+ return QueueNameExists;
145
+ }(__BaseException));
146
+ export { QueueNameExists };
38
147
  export var DeleteMessageRequest;
39
148
  (function (DeleteMessageRequest) {
40
149
  DeleteMessageRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
41
150
  })(DeleteMessageRequest || (DeleteMessageRequest = {}));
151
+ var InvalidIdFormat = (function (_super) {
152
+ __extends(InvalidIdFormat, _super);
153
+ function InvalidIdFormat(opts) {
154
+ var _this = _super.call(this, __assign({ name: "InvalidIdFormat", $fault: "client" }, opts)) || this;
155
+ _this.name = "InvalidIdFormat";
156
+ _this.$fault = "client";
157
+ Object.setPrototypeOf(_this, InvalidIdFormat.prototype);
158
+ return _this;
159
+ }
160
+ return InvalidIdFormat;
161
+ }(__BaseException));
162
+ export { InvalidIdFormat };
42
163
  export var DeleteMessageBatchRequestEntry;
43
164
  (function (DeleteMessageBatchRequestEntry) {
44
165
  DeleteMessageBatchRequestEntry.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -67,6 +188,18 @@ export var GetQueueAttributesResult;
67
188
  (function (GetQueueAttributesResult) {
68
189
  GetQueueAttributesResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
69
190
  })(GetQueueAttributesResult || (GetQueueAttributesResult = {}));
191
+ var InvalidAttributeName = (function (_super) {
192
+ __extends(InvalidAttributeName, _super);
193
+ function InvalidAttributeName(opts) {
194
+ var _this = _super.call(this, __assign({ name: "InvalidAttributeName", $fault: "client" }, opts)) || this;
195
+ _this.name = "InvalidAttributeName";
196
+ _this.$fault = "client";
197
+ Object.setPrototypeOf(_this, InvalidAttributeName.prototype);
198
+ return _this;
199
+ }
200
+ return InvalidAttributeName;
201
+ }(__BaseException));
202
+ export { InvalidAttributeName };
70
203
  export var GetQueueUrlRequest;
71
204
  (function (GetQueueUrlRequest) {
72
205
  GetQueueUrlRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -75,6 +208,18 @@ export var GetQueueUrlResult;
75
208
  (function (GetQueueUrlResult) {
76
209
  GetQueueUrlResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
77
210
  })(GetQueueUrlResult || (GetQueueUrlResult = {}));
211
+ var QueueDoesNotExist = (function (_super) {
212
+ __extends(QueueDoesNotExist, _super);
213
+ function QueueDoesNotExist(opts) {
214
+ var _this = _super.call(this, __assign({ name: "QueueDoesNotExist", $fault: "client" }, opts)) || this;
215
+ _this.name = "QueueDoesNotExist";
216
+ _this.$fault = "client";
217
+ Object.setPrototypeOf(_this, QueueDoesNotExist.prototype);
218
+ return _this;
219
+ }
220
+ return QueueDoesNotExist;
221
+ }(__BaseException));
222
+ export { QueueDoesNotExist };
78
223
  export var ListDeadLetterSourceQueuesRequest;
79
224
  (function (ListDeadLetterSourceQueuesRequest) {
80
225
  ListDeadLetterSourceQueuesRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -99,6 +244,18 @@ export var ListQueueTagsResult;
99
244
  (function (ListQueueTagsResult) {
100
245
  ListQueueTagsResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
101
246
  })(ListQueueTagsResult || (ListQueueTagsResult = {}));
247
+ var PurgeQueueInProgress = (function (_super) {
248
+ __extends(PurgeQueueInProgress, _super);
249
+ function PurgeQueueInProgress(opts) {
250
+ var _this = _super.call(this, __assign({ name: "PurgeQueueInProgress", $fault: "client" }, opts)) || this;
251
+ _this.name = "PurgeQueueInProgress";
252
+ _this.$fault = "client";
253
+ Object.setPrototypeOf(_this, PurgeQueueInProgress.prototype);
254
+ return _this;
255
+ }
256
+ return PurgeQueueInProgress;
257
+ }(__BaseException));
258
+ export { PurgeQueueInProgress };
102
259
  export var PurgeQueueRequest;
103
260
  (function (PurgeQueueRequest) {
104
261
  PurgeQueueRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -123,6 +280,18 @@ export var RemovePermissionRequest;
123
280
  (function (RemovePermissionRequest) {
124
281
  RemovePermissionRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
125
282
  })(RemovePermissionRequest || (RemovePermissionRequest = {}));
283
+ var InvalidMessageContents = (function (_super) {
284
+ __extends(InvalidMessageContents, _super);
285
+ function InvalidMessageContents(opts) {
286
+ var _this = _super.call(this, __assign({ name: "InvalidMessageContents", $fault: "client" }, opts)) || this;
287
+ _this.name = "InvalidMessageContents";
288
+ _this.$fault = "client";
289
+ Object.setPrototypeOf(_this, InvalidMessageContents.prototype);
290
+ return _this;
291
+ }
292
+ return InvalidMessageContents;
293
+ }(__BaseException));
294
+ export { InvalidMessageContents };
126
295
  export var MessageSystemAttributeValue;
127
296
  (function (MessageSystemAttributeValue) {
128
297
  MessageSystemAttributeValue.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -135,6 +304,30 @@ export var SendMessageResult;
135
304
  (function (SendMessageResult) {
136
305
  SendMessageResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
137
306
  })(SendMessageResult || (SendMessageResult = {}));
307
+ var UnsupportedOperation = (function (_super) {
308
+ __extends(UnsupportedOperation, _super);
309
+ function UnsupportedOperation(opts) {
310
+ var _this = _super.call(this, __assign({ name: "UnsupportedOperation", $fault: "client" }, opts)) || this;
311
+ _this.name = "UnsupportedOperation";
312
+ _this.$fault = "client";
313
+ Object.setPrototypeOf(_this, UnsupportedOperation.prototype);
314
+ return _this;
315
+ }
316
+ return UnsupportedOperation;
317
+ }(__BaseException));
318
+ export { UnsupportedOperation };
319
+ var BatchRequestTooLong = (function (_super) {
320
+ __extends(BatchRequestTooLong, _super);
321
+ function BatchRequestTooLong(opts) {
322
+ var _this = _super.call(this, __assign({ name: "BatchRequestTooLong", $fault: "client" }, opts)) || this;
323
+ _this.name = "BatchRequestTooLong";
324
+ _this.$fault = "client";
325
+ Object.setPrototypeOf(_this, BatchRequestTooLong.prototype);
326
+ return _this;
327
+ }
328
+ return BatchRequestTooLong;
329
+ }(__BaseException));
330
+ export { BatchRequestTooLong };
138
331
  export var SendMessageBatchRequestEntry;
139
332
  (function (SendMessageBatchRequestEntry) {
140
333
  SendMessageBatchRequestEntry.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };