@aws-sdk/client-sqs 3.489.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 (49) 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/auth/httpAuthSchemeProvider.js +1 -1
  5. package/dist-cjs/commands/AddPermissionCommand.js +1 -28
  6. package/dist-cjs/commands/CancelMessageMoveTaskCommand.js +1 -28
  7. package/dist-cjs/commands/ChangeMessageVisibilityBatchCommand.js +1 -28
  8. package/dist-cjs/commands/ChangeMessageVisibilityCommand.js +1 -28
  9. package/dist-cjs/commands/CreateQueueCommand.js +1 -28
  10. package/dist-cjs/commands/DeleteMessageBatchCommand.js +1 -28
  11. package/dist-cjs/commands/DeleteMessageCommand.js +1 -28
  12. package/dist-cjs/commands/DeleteQueueCommand.js +1 -28
  13. package/dist-cjs/commands/GetQueueAttributesCommand.js +1 -28
  14. package/dist-cjs/commands/GetQueueUrlCommand.js +1 -28
  15. package/dist-cjs/commands/ListDeadLetterSourceQueuesCommand.js +1 -28
  16. package/dist-cjs/commands/ListMessageMoveTasksCommand.js +1 -28
  17. package/dist-cjs/commands/ListQueueTagsCommand.js +1 -28
  18. package/dist-cjs/commands/ListQueuesCommand.js +1 -28
  19. package/dist-cjs/commands/PurgeQueueCommand.js +1 -28
  20. package/dist-cjs/commands/ReceiveMessageCommand.js +1 -30
  21. package/dist-cjs/commands/RemovePermissionCommand.js +1 -28
  22. package/dist-cjs/commands/SendMessageBatchCommand.js +1 -30
  23. package/dist-cjs/commands/SendMessageCommand.js +1 -30
  24. package/dist-cjs/commands/SetQueueAttributesCommand.js +1 -28
  25. package/dist-cjs/commands/StartMessageMoveTaskCommand.js +1 -28
  26. package/dist-cjs/commands/TagQueueCommand.js +1 -28
  27. package/dist-cjs/commands/UntagQueueCommand.js +1 -28
  28. package/dist-cjs/commands/index.js +1 -26
  29. package/dist-cjs/endpoint/EndpointParameters.js +1 -18
  30. package/dist-cjs/extensionConfiguration.js +1 -2
  31. package/dist-cjs/index.js +3223 -11
  32. package/dist-cjs/models/SQSServiceException.js +1 -12
  33. package/dist-cjs/models/index.js +1 -4
  34. package/dist-cjs/models/models_0.js +1 -406
  35. package/dist-cjs/pagination/Interfaces.js +1 -2
  36. package/dist-cjs/pagination/ListDeadLetterSourceQueuesPaginator.js +1 -7
  37. package/dist-cjs/pagination/ListQueuesPaginator.js +1 -7
  38. package/dist-cjs/pagination/index.js +1 -6
  39. package/dist-cjs/protocols/Aws_json1_0.js +1 -2025
  40. package/dist-cjs/runtimeConfig.shared.js +1 -1
  41. package/dist-cjs/runtimeExtensions.js +1 -25
  42. package/dist-es/SQSClient.js +8 -8
  43. package/dist-es/auth/httpAuthSchemeProvider.js +2 -2
  44. package/dist-es/runtimeConfig.shared.js +2 -2
  45. package/dist-types/SQSClient.d.ts +2 -2
  46. package/dist-types/auth/httpAuthSchemeProvider.d.ts +4 -4
  47. package/dist-types/ts3.4/SQSClient.d.ts +2 -2
  48. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +6 -6
  49. package/package.json +42 -42
package/dist-cjs/index.js CHANGED
@@ -1,12 +1,3224 @@
1
1
  "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SQSServiceException = void 0;
4
- const tslib_1 = require("tslib");
5
- tslib_1.__exportStar(require("./SQSClient"), exports);
6
- tslib_1.__exportStar(require("./SQS"), exports);
7
- tslib_1.__exportStar(require("./commands"), exports);
8
- tslib_1.__exportStar(require("./pagination"), exports);
9
- tslib_1.__exportStar(require("./models"), exports);
10
- require("@aws-sdk/util-endpoints");
11
- var SQSServiceException_1 = require("./models/SQSServiceException");
12
- Object.defineProperty(exports, "SQSServiceException", { enumerable: true, get: function () { return SQSServiceException_1.SQSServiceException; } });
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
7
+ var __export = (target, all) => {
8
+ for (var name in all)
9
+ __defProp(target, name, { get: all[name], enumerable: true });
10
+ };
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
+ }
17
+ return to;
18
+ };
19
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
+
21
+ // src/index.ts
22
+ var src_exports = {};
23
+ __export(src_exports, {
24
+ AddPermissionCommand: () => AddPermissionCommand,
25
+ BatchEntryIdsNotDistinct: () => BatchEntryIdsNotDistinct,
26
+ BatchRequestTooLong: () => BatchRequestTooLong,
27
+ CancelMessageMoveTaskCommand: () => CancelMessageMoveTaskCommand,
28
+ ChangeMessageVisibilityBatchCommand: () => ChangeMessageVisibilityBatchCommand,
29
+ ChangeMessageVisibilityCommand: () => ChangeMessageVisibilityCommand,
30
+ CreateQueueCommand: () => CreateQueueCommand,
31
+ DeleteMessageBatchCommand: () => DeleteMessageBatchCommand,
32
+ DeleteMessageCommand: () => DeleteMessageCommand,
33
+ DeleteQueueCommand: () => DeleteQueueCommand,
34
+ EmptyBatchRequest: () => EmptyBatchRequest,
35
+ GetQueueAttributesCommand: () => GetQueueAttributesCommand,
36
+ GetQueueUrlCommand: () => GetQueueUrlCommand,
37
+ InvalidAddress: () => InvalidAddress,
38
+ InvalidAttributeName: () => InvalidAttributeName,
39
+ InvalidAttributeValue: () => InvalidAttributeValue,
40
+ InvalidBatchEntryId: () => InvalidBatchEntryId,
41
+ InvalidIdFormat: () => InvalidIdFormat,
42
+ InvalidMessageContents: () => InvalidMessageContents,
43
+ InvalidSecurity: () => InvalidSecurity,
44
+ KmsAccessDenied: () => KmsAccessDenied,
45
+ KmsDisabled: () => KmsDisabled,
46
+ KmsInvalidKeyUsage: () => KmsInvalidKeyUsage,
47
+ KmsInvalidState: () => KmsInvalidState,
48
+ KmsNotFound: () => KmsNotFound,
49
+ KmsOptInRequired: () => KmsOptInRequired,
50
+ KmsThrottled: () => KmsThrottled,
51
+ ListDeadLetterSourceQueuesCommand: () => ListDeadLetterSourceQueuesCommand,
52
+ ListMessageMoveTasksCommand: () => ListMessageMoveTasksCommand,
53
+ ListQueueTagsCommand: () => ListQueueTagsCommand,
54
+ ListQueuesCommand: () => ListQueuesCommand,
55
+ MessageNotInflight: () => MessageNotInflight,
56
+ MessageSystemAttributeName: () => MessageSystemAttributeName,
57
+ MessageSystemAttributeNameForSends: () => MessageSystemAttributeNameForSends,
58
+ OverLimit: () => OverLimit,
59
+ PurgeQueueCommand: () => PurgeQueueCommand,
60
+ PurgeQueueInProgress: () => PurgeQueueInProgress,
61
+ QueueAttributeName: () => QueueAttributeName,
62
+ QueueDeletedRecently: () => QueueDeletedRecently,
63
+ QueueDoesNotExist: () => QueueDoesNotExist,
64
+ QueueNameExists: () => QueueNameExists,
65
+ ReceiptHandleIsInvalid: () => ReceiptHandleIsInvalid,
66
+ ReceiveMessageCommand: () => ReceiveMessageCommand,
67
+ RemovePermissionCommand: () => RemovePermissionCommand,
68
+ RequestThrottled: () => RequestThrottled,
69
+ ResourceNotFoundException: () => ResourceNotFoundException,
70
+ SQS: () => SQS,
71
+ SQSClient: () => SQSClient,
72
+ SQSServiceException: () => SQSServiceException,
73
+ SendMessageBatchCommand: () => SendMessageBatchCommand,
74
+ SendMessageCommand: () => SendMessageCommand,
75
+ SetQueueAttributesCommand: () => SetQueueAttributesCommand,
76
+ StartMessageMoveTaskCommand: () => StartMessageMoveTaskCommand,
77
+ TagQueueCommand: () => TagQueueCommand,
78
+ TooManyEntriesInBatchRequest: () => TooManyEntriesInBatchRequest,
79
+ UnsupportedOperation: () => UnsupportedOperation,
80
+ UntagQueueCommand: () => UntagQueueCommand,
81
+ __Client: () => import_smithy_client.Client,
82
+ paginateListDeadLetterSourceQueues: () => paginateListDeadLetterSourceQueues,
83
+ paginateListQueues: () => paginateListQueues
84
+ });
85
+ module.exports = __toCommonJS(src_exports);
86
+
87
+ // src/SQSClient.ts
88
+ var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
89
+ var import_middleware_logger = require("@aws-sdk/middleware-logger");
90
+ var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
91
+ var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
92
+ var import_config_resolver = require("@smithy/config-resolver");
93
+ var import_core = require("@smithy/core");
94
+ var import_middleware_content_length = require("@smithy/middleware-content-length");
95
+ var import_middleware_endpoint = require("@smithy/middleware-endpoint");
96
+ var import_middleware_retry = require("@smithy/middleware-retry");
97
+
98
+ var import_httpAuthSchemeProvider = require("./auth/httpAuthSchemeProvider");
99
+
100
+ // src/endpoint/EndpointParameters.ts
101
+ var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
102
+ return {
103
+ ...options,
104
+ useDualstackEndpoint: options.useDualstackEndpoint ?? false,
105
+ useFipsEndpoint: options.useFipsEndpoint ?? false,
106
+ defaultSigningName: "sqs"
107
+ };
108
+ }, "resolveClientEndpointParameters");
109
+ var commonParams = {
110
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
111
+ Endpoint: { type: "builtInParams", name: "endpoint" },
112
+ Region: { type: "builtInParams", name: "region" },
113
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
114
+ };
115
+
116
+ // src/SQSClient.ts
117
+ var import_runtimeConfig = require("././runtimeConfig");
118
+
119
+ // src/runtimeExtensions.ts
120
+ var import_region_config_resolver = require("@aws-sdk/region-config-resolver");
121
+ var import_protocol_http = require("@smithy/protocol-http");
122
+ var import_smithy_client = require("@smithy/smithy-client");
123
+
124
+ // src/auth/httpAuthExtensionConfiguration.ts
125
+ var getHttpAuthExtensionConfiguration = /* @__PURE__ */ __name((runtimeConfig) => {
126
+ const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
127
+ let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
128
+ let _credentials = runtimeConfig.credentials;
129
+ return {
130
+ setHttpAuthScheme(httpAuthScheme) {
131
+ const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
132
+ if (index === -1) {
133
+ _httpAuthSchemes.push(httpAuthScheme);
134
+ } else {
135
+ _httpAuthSchemes.splice(index, 1, httpAuthScheme);
136
+ }
137
+ },
138
+ httpAuthSchemes() {
139
+ return _httpAuthSchemes;
140
+ },
141
+ setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
142
+ _httpAuthSchemeProvider = httpAuthSchemeProvider;
143
+ },
144
+ httpAuthSchemeProvider() {
145
+ return _httpAuthSchemeProvider;
146
+ },
147
+ setCredentials(credentials) {
148
+ _credentials = credentials;
149
+ },
150
+ credentials() {
151
+ return _credentials;
152
+ }
153
+ };
154
+ }, "getHttpAuthExtensionConfiguration");
155
+ var resolveHttpAuthRuntimeConfig = /* @__PURE__ */ __name((config) => {
156
+ return {
157
+ httpAuthSchemes: config.httpAuthSchemes(),
158
+ httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
159
+ credentials: config.credentials()
160
+ };
161
+ }, "resolveHttpAuthRuntimeConfig");
162
+
163
+ // src/runtimeExtensions.ts
164
+ var asPartial = /* @__PURE__ */ __name((t) => t, "asPartial");
165
+ var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
166
+ const extensionConfiguration = {
167
+ ...asPartial((0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig)),
168
+ ...asPartial((0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig)),
169
+ ...asPartial((0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig)),
170
+ ...asPartial(getHttpAuthExtensionConfiguration(runtimeConfig))
171
+ };
172
+ extensions.forEach((extension) => extension.configure(extensionConfiguration));
173
+ return {
174
+ ...runtimeConfig,
175
+ ...(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
176
+ ...(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
177
+ ...(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
178
+ ...resolveHttpAuthRuntimeConfig(extensionConfiguration)
179
+ };
180
+ }, "resolveRuntimeExtensions");
181
+
182
+ // src/SQSClient.ts
183
+ var _SQSClient = class _SQSClient extends import_smithy_client.Client {
184
+ constructor(...[configuration]) {
185
+ const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
186
+ const _config_1 = resolveClientEndpointParameters(_config_0);
187
+ const _config_2 = (0, import_config_resolver.resolveRegionConfig)(_config_1);
188
+ const _config_3 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_2);
189
+ const _config_4 = (0, import_middleware_retry.resolveRetryConfig)(_config_3);
190
+ const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
191
+ const _config_6 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_5);
192
+ const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
193
+ const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
194
+ super(_config_8);
195
+ this.config = _config_8;
196
+ this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
197
+ this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
198
+ this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
199
+ this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
200
+ this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
201
+ this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
202
+ this.middlewareStack.use(
203
+ (0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
204
+ httpAuthSchemeParametersProvider: this.getDefaultHttpAuthSchemeParametersProvider(),
205
+ identityProviderConfigProvider: this.getIdentityProviderConfigProvider()
206
+ })
207
+ );
208
+ this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
209
+ }
210
+ /**
211
+ * Destroy underlying resources, like sockets. It's usually not necessary to do this.
212
+ * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
213
+ * Otherwise, sockets might stay open for quite a long time before the server terminates them.
214
+ */
215
+ destroy() {
216
+ super.destroy();
217
+ }
218
+ getDefaultHttpAuthSchemeParametersProvider() {
219
+ return import_httpAuthSchemeProvider.defaultSQSHttpAuthSchemeParametersProvider;
220
+ }
221
+ getIdentityProviderConfigProvider() {
222
+ return async (config) => new import_core.DefaultIdentityProviderConfig({
223
+ "aws.auth#sigv4": config.credentials
224
+ });
225
+ }
226
+ };
227
+ __name(_SQSClient, "SQSClient");
228
+ var SQSClient = _SQSClient;
229
+
230
+ // src/SQS.ts
231
+
232
+
233
+ // src/commands/AddPermissionCommand.ts
234
+
235
+ var import_middleware_serde = require("@smithy/middleware-serde");
236
+
237
+ var import_types = require("@smithy/types");
238
+
239
+ // src/protocols/Aws_json1_0.ts
240
+ var import_core2 = require("@aws-sdk/core");
241
+
242
+
243
+
244
+ // src/models/SQSServiceException.ts
245
+
246
+ var _SQSServiceException = class _SQSServiceException extends import_smithy_client.ServiceException {
247
+ /**
248
+ * @internal
249
+ */
250
+ constructor(options) {
251
+ super(options);
252
+ Object.setPrototypeOf(this, _SQSServiceException.prototype);
253
+ }
254
+ };
255
+ __name(_SQSServiceException, "SQSServiceException");
256
+ var SQSServiceException = _SQSServiceException;
257
+
258
+ // src/models/models_0.ts
259
+ var _InvalidAddress = class _InvalidAddress extends SQSServiceException {
260
+ /**
261
+ * @internal
262
+ */
263
+ constructor(opts) {
264
+ super({
265
+ name: "InvalidAddress",
266
+ $fault: "client",
267
+ ...opts
268
+ });
269
+ this.name = "InvalidAddress";
270
+ this.$fault = "client";
271
+ Object.setPrototypeOf(this, _InvalidAddress.prototype);
272
+ }
273
+ };
274
+ __name(_InvalidAddress, "InvalidAddress");
275
+ var InvalidAddress = _InvalidAddress;
276
+ var _InvalidSecurity = class _InvalidSecurity extends SQSServiceException {
277
+ /**
278
+ * @internal
279
+ */
280
+ constructor(opts) {
281
+ super({
282
+ name: "InvalidSecurity",
283
+ $fault: "client",
284
+ ...opts
285
+ });
286
+ this.name = "InvalidSecurity";
287
+ this.$fault = "client";
288
+ Object.setPrototypeOf(this, _InvalidSecurity.prototype);
289
+ }
290
+ };
291
+ __name(_InvalidSecurity, "InvalidSecurity");
292
+ var InvalidSecurity = _InvalidSecurity;
293
+ var _OverLimit = class _OverLimit extends SQSServiceException {
294
+ /**
295
+ * @internal
296
+ */
297
+ constructor(opts) {
298
+ super({
299
+ name: "OverLimit",
300
+ $fault: "client",
301
+ ...opts
302
+ });
303
+ this.name = "OverLimit";
304
+ this.$fault = "client";
305
+ Object.setPrototypeOf(this, _OverLimit.prototype);
306
+ }
307
+ };
308
+ __name(_OverLimit, "OverLimit");
309
+ var OverLimit = _OverLimit;
310
+ var _QueueDoesNotExist = class _QueueDoesNotExist extends SQSServiceException {
311
+ /**
312
+ * @internal
313
+ */
314
+ constructor(opts) {
315
+ super({
316
+ name: "QueueDoesNotExist",
317
+ $fault: "client",
318
+ ...opts
319
+ });
320
+ this.name = "QueueDoesNotExist";
321
+ this.$fault = "client";
322
+ Object.setPrototypeOf(this, _QueueDoesNotExist.prototype);
323
+ }
324
+ };
325
+ __name(_QueueDoesNotExist, "QueueDoesNotExist");
326
+ var QueueDoesNotExist = _QueueDoesNotExist;
327
+ var _RequestThrottled = class _RequestThrottled extends SQSServiceException {
328
+ /**
329
+ * @internal
330
+ */
331
+ constructor(opts) {
332
+ super({
333
+ name: "RequestThrottled",
334
+ $fault: "client",
335
+ ...opts
336
+ });
337
+ this.name = "RequestThrottled";
338
+ this.$fault = "client";
339
+ Object.setPrototypeOf(this, _RequestThrottled.prototype);
340
+ }
341
+ };
342
+ __name(_RequestThrottled, "RequestThrottled");
343
+ var RequestThrottled = _RequestThrottled;
344
+ var _UnsupportedOperation = class _UnsupportedOperation extends SQSServiceException {
345
+ /**
346
+ * @internal
347
+ */
348
+ constructor(opts) {
349
+ super({
350
+ name: "UnsupportedOperation",
351
+ $fault: "client",
352
+ ...opts
353
+ });
354
+ this.name = "UnsupportedOperation";
355
+ this.$fault = "client";
356
+ Object.setPrototypeOf(this, _UnsupportedOperation.prototype);
357
+ }
358
+ };
359
+ __name(_UnsupportedOperation, "UnsupportedOperation");
360
+ var UnsupportedOperation = _UnsupportedOperation;
361
+ var _ResourceNotFoundException = class _ResourceNotFoundException extends SQSServiceException {
362
+ /**
363
+ * @internal
364
+ */
365
+ constructor(opts) {
366
+ super({
367
+ name: "ResourceNotFoundException",
368
+ $fault: "client",
369
+ ...opts
370
+ });
371
+ this.name = "ResourceNotFoundException";
372
+ this.$fault = "client";
373
+ Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
374
+ }
375
+ };
376
+ __name(_ResourceNotFoundException, "ResourceNotFoundException");
377
+ var ResourceNotFoundException = _ResourceNotFoundException;
378
+ var _MessageNotInflight = class _MessageNotInflight extends SQSServiceException {
379
+ /**
380
+ * @internal
381
+ */
382
+ constructor(opts) {
383
+ super({
384
+ name: "MessageNotInflight",
385
+ $fault: "client",
386
+ ...opts
387
+ });
388
+ this.name = "MessageNotInflight";
389
+ this.$fault = "client";
390
+ Object.setPrototypeOf(this, _MessageNotInflight.prototype);
391
+ }
392
+ };
393
+ __name(_MessageNotInflight, "MessageNotInflight");
394
+ var MessageNotInflight = _MessageNotInflight;
395
+ var _ReceiptHandleIsInvalid = class _ReceiptHandleIsInvalid extends SQSServiceException {
396
+ /**
397
+ * @internal
398
+ */
399
+ constructor(opts) {
400
+ super({
401
+ name: "ReceiptHandleIsInvalid",
402
+ $fault: "client",
403
+ ...opts
404
+ });
405
+ this.name = "ReceiptHandleIsInvalid";
406
+ this.$fault = "client";
407
+ Object.setPrototypeOf(this, _ReceiptHandleIsInvalid.prototype);
408
+ }
409
+ };
410
+ __name(_ReceiptHandleIsInvalid, "ReceiptHandleIsInvalid");
411
+ var ReceiptHandleIsInvalid = _ReceiptHandleIsInvalid;
412
+ var _BatchEntryIdsNotDistinct = class _BatchEntryIdsNotDistinct extends SQSServiceException {
413
+ /**
414
+ * @internal
415
+ */
416
+ constructor(opts) {
417
+ super({
418
+ name: "BatchEntryIdsNotDistinct",
419
+ $fault: "client",
420
+ ...opts
421
+ });
422
+ this.name = "BatchEntryIdsNotDistinct";
423
+ this.$fault = "client";
424
+ Object.setPrototypeOf(this, _BatchEntryIdsNotDistinct.prototype);
425
+ }
426
+ };
427
+ __name(_BatchEntryIdsNotDistinct, "BatchEntryIdsNotDistinct");
428
+ var BatchEntryIdsNotDistinct = _BatchEntryIdsNotDistinct;
429
+ var _EmptyBatchRequest = class _EmptyBatchRequest extends SQSServiceException {
430
+ /**
431
+ * @internal
432
+ */
433
+ constructor(opts) {
434
+ super({
435
+ name: "EmptyBatchRequest",
436
+ $fault: "client",
437
+ ...opts
438
+ });
439
+ this.name = "EmptyBatchRequest";
440
+ this.$fault = "client";
441
+ Object.setPrototypeOf(this, _EmptyBatchRequest.prototype);
442
+ }
443
+ };
444
+ __name(_EmptyBatchRequest, "EmptyBatchRequest");
445
+ var EmptyBatchRequest = _EmptyBatchRequest;
446
+ var _InvalidBatchEntryId = class _InvalidBatchEntryId extends SQSServiceException {
447
+ /**
448
+ * @internal
449
+ */
450
+ constructor(opts) {
451
+ super({
452
+ name: "InvalidBatchEntryId",
453
+ $fault: "client",
454
+ ...opts
455
+ });
456
+ this.name = "InvalidBatchEntryId";
457
+ this.$fault = "client";
458
+ Object.setPrototypeOf(this, _InvalidBatchEntryId.prototype);
459
+ }
460
+ };
461
+ __name(_InvalidBatchEntryId, "InvalidBatchEntryId");
462
+ var InvalidBatchEntryId = _InvalidBatchEntryId;
463
+ var _TooManyEntriesInBatchRequest = class _TooManyEntriesInBatchRequest extends SQSServiceException {
464
+ /**
465
+ * @internal
466
+ */
467
+ constructor(opts) {
468
+ super({
469
+ name: "TooManyEntriesInBatchRequest",
470
+ $fault: "client",
471
+ ...opts
472
+ });
473
+ this.name = "TooManyEntriesInBatchRequest";
474
+ this.$fault = "client";
475
+ Object.setPrototypeOf(this, _TooManyEntriesInBatchRequest.prototype);
476
+ }
477
+ };
478
+ __name(_TooManyEntriesInBatchRequest, "TooManyEntriesInBatchRequest");
479
+ var TooManyEntriesInBatchRequest = _TooManyEntriesInBatchRequest;
480
+ var QueueAttributeName = {
481
+ All: "All",
482
+ ApproximateNumberOfMessages: "ApproximateNumberOfMessages",
483
+ ApproximateNumberOfMessagesDelayed: "ApproximateNumberOfMessagesDelayed",
484
+ ApproximateNumberOfMessagesNotVisible: "ApproximateNumberOfMessagesNotVisible",
485
+ ContentBasedDeduplication: "ContentBasedDeduplication",
486
+ CreatedTimestamp: "CreatedTimestamp",
487
+ DeduplicationScope: "DeduplicationScope",
488
+ DelaySeconds: "DelaySeconds",
489
+ FifoQueue: "FifoQueue",
490
+ FifoThroughputLimit: "FifoThroughputLimit",
491
+ KmsDataKeyReusePeriodSeconds: "KmsDataKeyReusePeriodSeconds",
492
+ KmsMasterKeyId: "KmsMasterKeyId",
493
+ LastModifiedTimestamp: "LastModifiedTimestamp",
494
+ MaximumMessageSize: "MaximumMessageSize",
495
+ MessageRetentionPeriod: "MessageRetentionPeriod",
496
+ Policy: "Policy",
497
+ QueueArn: "QueueArn",
498
+ ReceiveMessageWaitTimeSeconds: "ReceiveMessageWaitTimeSeconds",
499
+ RedriveAllowPolicy: "RedriveAllowPolicy",
500
+ RedrivePolicy: "RedrivePolicy",
501
+ SqsManagedSseEnabled: "SqsManagedSseEnabled",
502
+ VisibilityTimeout: "VisibilityTimeout"
503
+ };
504
+ var _InvalidAttributeName = class _InvalidAttributeName extends SQSServiceException {
505
+ /**
506
+ * @internal
507
+ */
508
+ constructor(opts) {
509
+ super({
510
+ name: "InvalidAttributeName",
511
+ $fault: "client",
512
+ ...opts
513
+ });
514
+ this.name = "InvalidAttributeName";
515
+ this.$fault = "client";
516
+ Object.setPrototypeOf(this, _InvalidAttributeName.prototype);
517
+ }
518
+ };
519
+ __name(_InvalidAttributeName, "InvalidAttributeName");
520
+ var InvalidAttributeName = _InvalidAttributeName;
521
+ var _InvalidAttributeValue = class _InvalidAttributeValue extends SQSServiceException {
522
+ /**
523
+ * @internal
524
+ */
525
+ constructor(opts) {
526
+ super({
527
+ name: "InvalidAttributeValue",
528
+ $fault: "client",
529
+ ...opts
530
+ });
531
+ this.name = "InvalidAttributeValue";
532
+ this.$fault = "client";
533
+ Object.setPrototypeOf(this, _InvalidAttributeValue.prototype);
534
+ }
535
+ };
536
+ __name(_InvalidAttributeValue, "InvalidAttributeValue");
537
+ var InvalidAttributeValue = _InvalidAttributeValue;
538
+ var _QueueDeletedRecently = class _QueueDeletedRecently extends SQSServiceException {
539
+ /**
540
+ * @internal
541
+ */
542
+ constructor(opts) {
543
+ super({
544
+ name: "QueueDeletedRecently",
545
+ $fault: "client",
546
+ ...opts
547
+ });
548
+ this.name = "QueueDeletedRecently";
549
+ this.$fault = "client";
550
+ Object.setPrototypeOf(this, _QueueDeletedRecently.prototype);
551
+ }
552
+ };
553
+ __name(_QueueDeletedRecently, "QueueDeletedRecently");
554
+ var QueueDeletedRecently = _QueueDeletedRecently;
555
+ var _QueueNameExists = class _QueueNameExists extends SQSServiceException {
556
+ /**
557
+ * @internal
558
+ */
559
+ constructor(opts) {
560
+ super({
561
+ name: "QueueNameExists",
562
+ $fault: "client",
563
+ ...opts
564
+ });
565
+ this.name = "QueueNameExists";
566
+ this.$fault = "client";
567
+ Object.setPrototypeOf(this, _QueueNameExists.prototype);
568
+ }
569
+ };
570
+ __name(_QueueNameExists, "QueueNameExists");
571
+ var QueueNameExists = _QueueNameExists;
572
+ var _InvalidIdFormat = class _InvalidIdFormat extends SQSServiceException {
573
+ /**
574
+ * @internal
575
+ */
576
+ constructor(opts) {
577
+ super({
578
+ name: "InvalidIdFormat",
579
+ $fault: "client",
580
+ ...opts
581
+ });
582
+ this.name = "InvalidIdFormat";
583
+ this.$fault = "client";
584
+ Object.setPrototypeOf(this, _InvalidIdFormat.prototype);
585
+ }
586
+ };
587
+ __name(_InvalidIdFormat, "InvalidIdFormat");
588
+ var InvalidIdFormat = _InvalidIdFormat;
589
+ var _PurgeQueueInProgress = class _PurgeQueueInProgress extends SQSServiceException {
590
+ /**
591
+ * @internal
592
+ */
593
+ constructor(opts) {
594
+ super({
595
+ name: "PurgeQueueInProgress",
596
+ $fault: "client",
597
+ ...opts
598
+ });
599
+ this.name = "PurgeQueueInProgress";
600
+ this.$fault = "client";
601
+ Object.setPrototypeOf(this, _PurgeQueueInProgress.prototype);
602
+ }
603
+ };
604
+ __name(_PurgeQueueInProgress, "PurgeQueueInProgress");
605
+ var PurgeQueueInProgress = _PurgeQueueInProgress;
606
+ var _KmsAccessDenied = class _KmsAccessDenied extends SQSServiceException {
607
+ /**
608
+ * @internal
609
+ */
610
+ constructor(opts) {
611
+ super({
612
+ name: "KmsAccessDenied",
613
+ $fault: "client",
614
+ ...opts
615
+ });
616
+ this.name = "KmsAccessDenied";
617
+ this.$fault = "client";
618
+ Object.setPrototypeOf(this, _KmsAccessDenied.prototype);
619
+ }
620
+ };
621
+ __name(_KmsAccessDenied, "KmsAccessDenied");
622
+ var KmsAccessDenied = _KmsAccessDenied;
623
+ var _KmsDisabled = class _KmsDisabled extends SQSServiceException {
624
+ /**
625
+ * @internal
626
+ */
627
+ constructor(opts) {
628
+ super({
629
+ name: "KmsDisabled",
630
+ $fault: "client",
631
+ ...opts
632
+ });
633
+ this.name = "KmsDisabled";
634
+ this.$fault = "client";
635
+ Object.setPrototypeOf(this, _KmsDisabled.prototype);
636
+ }
637
+ };
638
+ __name(_KmsDisabled, "KmsDisabled");
639
+ var KmsDisabled = _KmsDisabled;
640
+ var _KmsInvalidKeyUsage = class _KmsInvalidKeyUsage extends SQSServiceException {
641
+ /**
642
+ * @internal
643
+ */
644
+ constructor(opts) {
645
+ super({
646
+ name: "KmsInvalidKeyUsage",
647
+ $fault: "client",
648
+ ...opts
649
+ });
650
+ this.name = "KmsInvalidKeyUsage";
651
+ this.$fault = "client";
652
+ Object.setPrototypeOf(this, _KmsInvalidKeyUsage.prototype);
653
+ }
654
+ };
655
+ __name(_KmsInvalidKeyUsage, "KmsInvalidKeyUsage");
656
+ var KmsInvalidKeyUsage = _KmsInvalidKeyUsage;
657
+ var _KmsInvalidState = class _KmsInvalidState extends SQSServiceException {
658
+ /**
659
+ * @internal
660
+ */
661
+ constructor(opts) {
662
+ super({
663
+ name: "KmsInvalidState",
664
+ $fault: "client",
665
+ ...opts
666
+ });
667
+ this.name = "KmsInvalidState";
668
+ this.$fault = "client";
669
+ Object.setPrototypeOf(this, _KmsInvalidState.prototype);
670
+ }
671
+ };
672
+ __name(_KmsInvalidState, "KmsInvalidState");
673
+ var KmsInvalidState = _KmsInvalidState;
674
+ var _KmsNotFound = class _KmsNotFound extends SQSServiceException {
675
+ /**
676
+ * @internal
677
+ */
678
+ constructor(opts) {
679
+ super({
680
+ name: "KmsNotFound",
681
+ $fault: "client",
682
+ ...opts
683
+ });
684
+ this.name = "KmsNotFound";
685
+ this.$fault = "client";
686
+ Object.setPrototypeOf(this, _KmsNotFound.prototype);
687
+ }
688
+ };
689
+ __name(_KmsNotFound, "KmsNotFound");
690
+ var KmsNotFound = _KmsNotFound;
691
+ var _KmsOptInRequired = class _KmsOptInRequired extends SQSServiceException {
692
+ /**
693
+ * @internal
694
+ */
695
+ constructor(opts) {
696
+ super({
697
+ name: "KmsOptInRequired",
698
+ $fault: "client",
699
+ ...opts
700
+ });
701
+ this.name = "KmsOptInRequired";
702
+ this.$fault = "client";
703
+ Object.setPrototypeOf(this, _KmsOptInRequired.prototype);
704
+ }
705
+ };
706
+ __name(_KmsOptInRequired, "KmsOptInRequired");
707
+ var KmsOptInRequired = _KmsOptInRequired;
708
+ var _KmsThrottled = class _KmsThrottled extends SQSServiceException {
709
+ /**
710
+ * @internal
711
+ */
712
+ constructor(opts) {
713
+ super({
714
+ name: "KmsThrottled",
715
+ $fault: "client",
716
+ ...opts
717
+ });
718
+ this.name = "KmsThrottled";
719
+ this.$fault = "client";
720
+ Object.setPrototypeOf(this, _KmsThrottled.prototype);
721
+ }
722
+ };
723
+ __name(_KmsThrottled, "KmsThrottled");
724
+ var KmsThrottled = _KmsThrottled;
725
+ var MessageSystemAttributeName = {
726
+ AWSTraceHeader: "AWSTraceHeader",
727
+ ApproximateFirstReceiveTimestamp: "ApproximateFirstReceiveTimestamp",
728
+ ApproximateReceiveCount: "ApproximateReceiveCount",
729
+ DeadLetterQueueSourceArn: "DeadLetterQueueSourceArn",
730
+ MessageDeduplicationId: "MessageDeduplicationId",
731
+ MessageGroupId: "MessageGroupId",
732
+ SenderId: "SenderId",
733
+ SentTimestamp: "SentTimestamp",
734
+ SequenceNumber: "SequenceNumber"
735
+ };
736
+ var _InvalidMessageContents = class _InvalidMessageContents extends SQSServiceException {
737
+ /**
738
+ * @internal
739
+ */
740
+ constructor(opts) {
741
+ super({
742
+ name: "InvalidMessageContents",
743
+ $fault: "client",
744
+ ...opts
745
+ });
746
+ this.name = "InvalidMessageContents";
747
+ this.$fault = "client";
748
+ Object.setPrototypeOf(this, _InvalidMessageContents.prototype);
749
+ }
750
+ };
751
+ __name(_InvalidMessageContents, "InvalidMessageContents");
752
+ var InvalidMessageContents = _InvalidMessageContents;
753
+ var MessageSystemAttributeNameForSends = {
754
+ AWSTraceHeader: "AWSTraceHeader"
755
+ };
756
+ var _BatchRequestTooLong = class _BatchRequestTooLong extends SQSServiceException {
757
+ /**
758
+ * @internal
759
+ */
760
+ constructor(opts) {
761
+ super({
762
+ name: "BatchRequestTooLong",
763
+ $fault: "client",
764
+ ...opts
765
+ });
766
+ this.name = "BatchRequestTooLong";
767
+ this.$fault = "client";
768
+ Object.setPrototypeOf(this, _BatchRequestTooLong.prototype);
769
+ }
770
+ };
771
+ __name(_BatchRequestTooLong, "BatchRequestTooLong");
772
+ var BatchRequestTooLong = _BatchRequestTooLong;
773
+
774
+ // src/protocols/Aws_json1_0.ts
775
+ var se_AddPermissionCommand = /* @__PURE__ */ __name(async (input, context) => {
776
+ const headers = sharedHeaders("AddPermission");
777
+ let body;
778
+ body = JSON.stringify(se_AddPermissionRequest(input, context));
779
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
780
+ }, "se_AddPermissionCommand");
781
+ var se_CancelMessageMoveTaskCommand = /* @__PURE__ */ __name(async (input, context) => {
782
+ const headers = sharedHeaders("CancelMessageMoveTask");
783
+ let body;
784
+ body = JSON.stringify(se_CancelMessageMoveTaskRequest(input, context));
785
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
786
+ }, "se_CancelMessageMoveTaskCommand");
787
+ var se_ChangeMessageVisibilityCommand = /* @__PURE__ */ __name(async (input, context) => {
788
+ const headers = sharedHeaders("ChangeMessageVisibility");
789
+ let body;
790
+ body = JSON.stringify(se_ChangeMessageVisibilityRequest(input, context));
791
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
792
+ }, "se_ChangeMessageVisibilityCommand");
793
+ var se_ChangeMessageVisibilityBatchCommand = /* @__PURE__ */ __name(async (input, context) => {
794
+ const headers = sharedHeaders("ChangeMessageVisibilityBatch");
795
+ let body;
796
+ body = JSON.stringify(se_ChangeMessageVisibilityBatchRequest(input, context));
797
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
798
+ }, "se_ChangeMessageVisibilityBatchCommand");
799
+ var se_CreateQueueCommand = /* @__PURE__ */ __name(async (input, context) => {
800
+ const headers = sharedHeaders("CreateQueue");
801
+ let body;
802
+ body = JSON.stringify(se_CreateQueueRequest(input, context));
803
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
804
+ }, "se_CreateQueueCommand");
805
+ var se_DeleteMessageCommand = /* @__PURE__ */ __name(async (input, context) => {
806
+ const headers = sharedHeaders("DeleteMessage");
807
+ let body;
808
+ body = JSON.stringify(se_DeleteMessageRequest(input, context));
809
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
810
+ }, "se_DeleteMessageCommand");
811
+ var se_DeleteMessageBatchCommand = /* @__PURE__ */ __name(async (input, context) => {
812
+ const headers = sharedHeaders("DeleteMessageBatch");
813
+ let body;
814
+ body = JSON.stringify(se_DeleteMessageBatchRequest(input, context));
815
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
816
+ }, "se_DeleteMessageBatchCommand");
817
+ var se_DeleteQueueCommand = /* @__PURE__ */ __name(async (input, context) => {
818
+ const headers = sharedHeaders("DeleteQueue");
819
+ let body;
820
+ body = JSON.stringify(se_DeleteQueueRequest(input, context));
821
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
822
+ }, "se_DeleteQueueCommand");
823
+ var se_GetQueueAttributesCommand = /* @__PURE__ */ __name(async (input, context) => {
824
+ const headers = sharedHeaders("GetQueueAttributes");
825
+ let body;
826
+ body = JSON.stringify(se_GetQueueAttributesRequest(input, context));
827
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
828
+ }, "se_GetQueueAttributesCommand");
829
+ var se_GetQueueUrlCommand = /* @__PURE__ */ __name(async (input, context) => {
830
+ const headers = sharedHeaders("GetQueueUrl");
831
+ let body;
832
+ body = JSON.stringify(se_GetQueueUrlRequest(input, context));
833
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
834
+ }, "se_GetQueueUrlCommand");
835
+ var se_ListDeadLetterSourceQueuesCommand = /* @__PURE__ */ __name(async (input, context) => {
836
+ const headers = sharedHeaders("ListDeadLetterSourceQueues");
837
+ let body;
838
+ body = JSON.stringify(se_ListDeadLetterSourceQueuesRequest(input, context));
839
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
840
+ }, "se_ListDeadLetterSourceQueuesCommand");
841
+ var se_ListMessageMoveTasksCommand = /* @__PURE__ */ __name(async (input, context) => {
842
+ const headers = sharedHeaders("ListMessageMoveTasks");
843
+ let body;
844
+ body = JSON.stringify(se_ListMessageMoveTasksRequest(input, context));
845
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
846
+ }, "se_ListMessageMoveTasksCommand");
847
+ var se_ListQueuesCommand = /* @__PURE__ */ __name(async (input, context) => {
848
+ const headers = sharedHeaders("ListQueues");
849
+ let body;
850
+ body = JSON.stringify(se_ListQueuesRequest(input, context));
851
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
852
+ }, "se_ListQueuesCommand");
853
+ var se_ListQueueTagsCommand = /* @__PURE__ */ __name(async (input, context) => {
854
+ const headers = sharedHeaders("ListQueueTags");
855
+ let body;
856
+ body = JSON.stringify(se_ListQueueTagsRequest(input, context));
857
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
858
+ }, "se_ListQueueTagsCommand");
859
+ var se_PurgeQueueCommand = /* @__PURE__ */ __name(async (input, context) => {
860
+ const headers = sharedHeaders("PurgeQueue");
861
+ let body;
862
+ body = JSON.stringify(se_PurgeQueueRequest(input, context));
863
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
864
+ }, "se_PurgeQueueCommand");
865
+ var se_ReceiveMessageCommand = /* @__PURE__ */ __name(async (input, context) => {
866
+ const headers = sharedHeaders("ReceiveMessage");
867
+ let body;
868
+ body = JSON.stringify(se_ReceiveMessageRequest(input, context));
869
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
870
+ }, "se_ReceiveMessageCommand");
871
+ var se_RemovePermissionCommand = /* @__PURE__ */ __name(async (input, context) => {
872
+ const headers = sharedHeaders("RemovePermission");
873
+ let body;
874
+ body = JSON.stringify(se_RemovePermissionRequest(input, context));
875
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
876
+ }, "se_RemovePermissionCommand");
877
+ var se_SendMessageCommand = /* @__PURE__ */ __name(async (input, context) => {
878
+ const headers = sharedHeaders("SendMessage");
879
+ let body;
880
+ body = JSON.stringify(se_SendMessageRequest(input, context));
881
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
882
+ }, "se_SendMessageCommand");
883
+ var se_SendMessageBatchCommand = /* @__PURE__ */ __name(async (input, context) => {
884
+ const headers = sharedHeaders("SendMessageBatch");
885
+ let body;
886
+ body = JSON.stringify(se_SendMessageBatchRequest(input, context));
887
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
888
+ }, "se_SendMessageBatchCommand");
889
+ var se_SetQueueAttributesCommand = /* @__PURE__ */ __name(async (input, context) => {
890
+ const headers = sharedHeaders("SetQueueAttributes");
891
+ let body;
892
+ body = JSON.stringify(se_SetQueueAttributesRequest(input, context));
893
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
894
+ }, "se_SetQueueAttributesCommand");
895
+ var se_StartMessageMoveTaskCommand = /* @__PURE__ */ __name(async (input, context) => {
896
+ const headers = sharedHeaders("StartMessageMoveTask");
897
+ let body;
898
+ body = JSON.stringify(se_StartMessageMoveTaskRequest(input, context));
899
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
900
+ }, "se_StartMessageMoveTaskCommand");
901
+ var se_TagQueueCommand = /* @__PURE__ */ __name(async (input, context) => {
902
+ const headers = sharedHeaders("TagQueue");
903
+ let body;
904
+ body = JSON.stringify(se_TagQueueRequest(input, context));
905
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
906
+ }, "se_TagQueueCommand");
907
+ var se_UntagQueueCommand = /* @__PURE__ */ __name(async (input, context) => {
908
+ const headers = sharedHeaders("UntagQueue");
909
+ let body;
910
+ body = JSON.stringify(se_UntagQueueRequest(input, context));
911
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
912
+ }, "se_UntagQueueCommand");
913
+ var de_AddPermissionCommand = /* @__PURE__ */ __name(async (output, context) => {
914
+ if (output.statusCode >= 300) {
915
+ return de_AddPermissionCommandError(output, context);
916
+ }
917
+ await (0, import_smithy_client.collectBody)(output.body, context);
918
+ const response = {
919
+ $metadata: deserializeMetadata(output)
920
+ };
921
+ return response;
922
+ }, "de_AddPermissionCommand");
923
+ var de_AddPermissionCommandError = /* @__PURE__ */ __name(async (output, context) => {
924
+ const parsedOutput = {
925
+ ...output,
926
+ body: await parseErrorBody(output.body, context)
927
+ };
928
+ populateBodyWithQueryCompatibility(parsedOutput, output.headers);
929
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
930
+ switch (errorCode) {
931
+ case "InvalidAddress":
932
+ case "com.amazonaws.sqs#InvalidAddress":
933
+ throw await de_InvalidAddressRes(parsedOutput, context);
934
+ case "InvalidSecurity":
935
+ case "com.amazonaws.sqs#InvalidSecurity":
936
+ throw await de_InvalidSecurityRes(parsedOutput, context);
937
+ case "OverLimit":
938
+ case "com.amazonaws.sqs#OverLimit":
939
+ throw await de_OverLimitRes(parsedOutput, context);
940
+ case "QueueDoesNotExist":
941
+ case "com.amazonaws.sqs#QueueDoesNotExist":
942
+ throw await de_QueueDoesNotExistRes(parsedOutput, context);
943
+ case "RequestThrottled":
944
+ case "com.amazonaws.sqs#RequestThrottled":
945
+ throw await de_RequestThrottledRes(parsedOutput, context);
946
+ case "UnsupportedOperation":
947
+ case "com.amazonaws.sqs#UnsupportedOperation":
948
+ throw await de_UnsupportedOperationRes(parsedOutput, context);
949
+ default:
950
+ const parsedBody = parsedOutput.body;
951
+ return throwDefaultError({
952
+ output,
953
+ parsedBody,
954
+ errorCode
955
+ });
956
+ }
957
+ }, "de_AddPermissionCommandError");
958
+ var de_CancelMessageMoveTaskCommand = /* @__PURE__ */ __name(async (output, context) => {
959
+ if (output.statusCode >= 300) {
960
+ return de_CancelMessageMoveTaskCommandError(output, context);
961
+ }
962
+ const data = await parseBody(output.body, context);
963
+ let contents = {};
964
+ contents = (0, import_smithy_client._json)(data);
965
+ const response = {
966
+ $metadata: deserializeMetadata(output),
967
+ ...contents
968
+ };
969
+ return response;
970
+ }, "de_CancelMessageMoveTaskCommand");
971
+ var de_CancelMessageMoveTaskCommandError = /* @__PURE__ */ __name(async (output, context) => {
972
+ const parsedOutput = {
973
+ ...output,
974
+ body: await parseErrorBody(output.body, context)
975
+ };
976
+ populateBodyWithQueryCompatibility(parsedOutput, output.headers);
977
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
978
+ switch (errorCode) {
979
+ case "InvalidAddress":
980
+ case "com.amazonaws.sqs#InvalidAddress":
981
+ throw await de_InvalidAddressRes(parsedOutput, context);
982
+ case "InvalidSecurity":
983
+ case "com.amazonaws.sqs#InvalidSecurity":
984
+ throw await de_InvalidSecurityRes(parsedOutput, context);
985
+ case "RequestThrottled":
986
+ case "com.amazonaws.sqs#RequestThrottled":
987
+ throw await de_RequestThrottledRes(parsedOutput, context);
988
+ case "ResourceNotFoundException":
989
+ case "com.amazonaws.sqs#ResourceNotFoundException":
990
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
991
+ case "UnsupportedOperation":
992
+ case "com.amazonaws.sqs#UnsupportedOperation":
993
+ throw await de_UnsupportedOperationRes(parsedOutput, context);
994
+ default:
995
+ const parsedBody = parsedOutput.body;
996
+ return throwDefaultError({
997
+ output,
998
+ parsedBody,
999
+ errorCode
1000
+ });
1001
+ }
1002
+ }, "de_CancelMessageMoveTaskCommandError");
1003
+ var de_ChangeMessageVisibilityCommand = /* @__PURE__ */ __name(async (output, context) => {
1004
+ if (output.statusCode >= 300) {
1005
+ return de_ChangeMessageVisibilityCommandError(output, context);
1006
+ }
1007
+ await (0, import_smithy_client.collectBody)(output.body, context);
1008
+ const response = {
1009
+ $metadata: deserializeMetadata(output)
1010
+ };
1011
+ return response;
1012
+ }, "de_ChangeMessageVisibilityCommand");
1013
+ var de_ChangeMessageVisibilityCommandError = /* @__PURE__ */ __name(async (output, context) => {
1014
+ const parsedOutput = {
1015
+ ...output,
1016
+ body: await parseErrorBody(output.body, context)
1017
+ };
1018
+ populateBodyWithQueryCompatibility(parsedOutput, output.headers);
1019
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1020
+ switch (errorCode) {
1021
+ case "InvalidAddress":
1022
+ case "com.amazonaws.sqs#InvalidAddress":
1023
+ throw await de_InvalidAddressRes(parsedOutput, context);
1024
+ case "InvalidSecurity":
1025
+ case "com.amazonaws.sqs#InvalidSecurity":
1026
+ throw await de_InvalidSecurityRes(parsedOutput, context);
1027
+ case "MessageNotInflight":
1028
+ case "com.amazonaws.sqs#MessageNotInflight":
1029
+ throw await de_MessageNotInflightRes(parsedOutput, context);
1030
+ case "QueueDoesNotExist":
1031
+ case "com.amazonaws.sqs#QueueDoesNotExist":
1032
+ throw await de_QueueDoesNotExistRes(parsedOutput, context);
1033
+ case "ReceiptHandleIsInvalid":
1034
+ case "com.amazonaws.sqs#ReceiptHandleIsInvalid":
1035
+ throw await de_ReceiptHandleIsInvalidRes(parsedOutput, context);
1036
+ case "RequestThrottled":
1037
+ case "com.amazonaws.sqs#RequestThrottled":
1038
+ throw await de_RequestThrottledRes(parsedOutput, context);
1039
+ case "UnsupportedOperation":
1040
+ case "com.amazonaws.sqs#UnsupportedOperation":
1041
+ throw await de_UnsupportedOperationRes(parsedOutput, context);
1042
+ default:
1043
+ const parsedBody = parsedOutput.body;
1044
+ return throwDefaultError({
1045
+ output,
1046
+ parsedBody,
1047
+ errorCode
1048
+ });
1049
+ }
1050
+ }, "de_ChangeMessageVisibilityCommandError");
1051
+ var de_ChangeMessageVisibilityBatchCommand = /* @__PURE__ */ __name(async (output, context) => {
1052
+ if (output.statusCode >= 300) {
1053
+ return de_ChangeMessageVisibilityBatchCommandError(output, context);
1054
+ }
1055
+ const data = await parseBody(output.body, context);
1056
+ let contents = {};
1057
+ contents = (0, import_smithy_client._json)(data);
1058
+ const response = {
1059
+ $metadata: deserializeMetadata(output),
1060
+ ...contents
1061
+ };
1062
+ return response;
1063
+ }, "de_ChangeMessageVisibilityBatchCommand");
1064
+ var de_ChangeMessageVisibilityBatchCommandError = /* @__PURE__ */ __name(async (output, context) => {
1065
+ const parsedOutput = {
1066
+ ...output,
1067
+ body: await parseErrorBody(output.body, context)
1068
+ };
1069
+ populateBodyWithQueryCompatibility(parsedOutput, output.headers);
1070
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1071
+ switch (errorCode) {
1072
+ case "BatchEntryIdsNotDistinct":
1073
+ case "com.amazonaws.sqs#BatchEntryIdsNotDistinct":
1074
+ throw await de_BatchEntryIdsNotDistinctRes(parsedOutput, context);
1075
+ case "EmptyBatchRequest":
1076
+ case "com.amazonaws.sqs#EmptyBatchRequest":
1077
+ throw await de_EmptyBatchRequestRes(parsedOutput, context);
1078
+ case "InvalidAddress":
1079
+ case "com.amazonaws.sqs#InvalidAddress":
1080
+ throw await de_InvalidAddressRes(parsedOutput, context);
1081
+ case "InvalidBatchEntryId":
1082
+ case "com.amazonaws.sqs#InvalidBatchEntryId":
1083
+ throw await de_InvalidBatchEntryIdRes(parsedOutput, context);
1084
+ case "InvalidSecurity":
1085
+ case "com.amazonaws.sqs#InvalidSecurity":
1086
+ throw await de_InvalidSecurityRes(parsedOutput, context);
1087
+ case "QueueDoesNotExist":
1088
+ case "com.amazonaws.sqs#QueueDoesNotExist":
1089
+ throw await de_QueueDoesNotExistRes(parsedOutput, context);
1090
+ case "RequestThrottled":
1091
+ case "com.amazonaws.sqs#RequestThrottled":
1092
+ throw await de_RequestThrottledRes(parsedOutput, context);
1093
+ case "TooManyEntriesInBatchRequest":
1094
+ case "com.amazonaws.sqs#TooManyEntriesInBatchRequest":
1095
+ throw await de_TooManyEntriesInBatchRequestRes(parsedOutput, context);
1096
+ case "UnsupportedOperation":
1097
+ case "com.amazonaws.sqs#UnsupportedOperation":
1098
+ throw await de_UnsupportedOperationRes(parsedOutput, context);
1099
+ default:
1100
+ const parsedBody = parsedOutput.body;
1101
+ return throwDefaultError({
1102
+ output,
1103
+ parsedBody,
1104
+ errorCode
1105
+ });
1106
+ }
1107
+ }, "de_ChangeMessageVisibilityBatchCommandError");
1108
+ var de_CreateQueueCommand = /* @__PURE__ */ __name(async (output, context) => {
1109
+ if (output.statusCode >= 300) {
1110
+ return de_CreateQueueCommandError(output, context);
1111
+ }
1112
+ const data = await parseBody(output.body, context);
1113
+ let contents = {};
1114
+ contents = (0, import_smithy_client._json)(data);
1115
+ const response = {
1116
+ $metadata: deserializeMetadata(output),
1117
+ ...contents
1118
+ };
1119
+ return response;
1120
+ }, "de_CreateQueueCommand");
1121
+ var de_CreateQueueCommandError = /* @__PURE__ */ __name(async (output, context) => {
1122
+ const parsedOutput = {
1123
+ ...output,
1124
+ body: await parseErrorBody(output.body, context)
1125
+ };
1126
+ populateBodyWithQueryCompatibility(parsedOutput, output.headers);
1127
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1128
+ switch (errorCode) {
1129
+ case "InvalidAddress":
1130
+ case "com.amazonaws.sqs#InvalidAddress":
1131
+ throw await de_InvalidAddressRes(parsedOutput, context);
1132
+ case "InvalidAttributeName":
1133
+ case "com.amazonaws.sqs#InvalidAttributeName":
1134
+ throw await de_InvalidAttributeNameRes(parsedOutput, context);
1135
+ case "InvalidAttributeValue":
1136
+ case "com.amazonaws.sqs#InvalidAttributeValue":
1137
+ throw await de_InvalidAttributeValueRes(parsedOutput, context);
1138
+ case "InvalidSecurity":
1139
+ case "com.amazonaws.sqs#InvalidSecurity":
1140
+ throw await de_InvalidSecurityRes(parsedOutput, context);
1141
+ case "QueueDeletedRecently":
1142
+ case "com.amazonaws.sqs#QueueDeletedRecently":
1143
+ throw await de_QueueDeletedRecentlyRes(parsedOutput, context);
1144
+ case "QueueNameExists":
1145
+ case "com.amazonaws.sqs#QueueNameExists":
1146
+ throw await de_QueueNameExistsRes(parsedOutput, context);
1147
+ case "RequestThrottled":
1148
+ case "com.amazonaws.sqs#RequestThrottled":
1149
+ throw await de_RequestThrottledRes(parsedOutput, context);
1150
+ case "UnsupportedOperation":
1151
+ case "com.amazonaws.sqs#UnsupportedOperation":
1152
+ throw await de_UnsupportedOperationRes(parsedOutput, context);
1153
+ default:
1154
+ const parsedBody = parsedOutput.body;
1155
+ return throwDefaultError({
1156
+ output,
1157
+ parsedBody,
1158
+ errorCode
1159
+ });
1160
+ }
1161
+ }, "de_CreateQueueCommandError");
1162
+ var de_DeleteMessageCommand = /* @__PURE__ */ __name(async (output, context) => {
1163
+ if (output.statusCode >= 300) {
1164
+ return de_DeleteMessageCommandError(output, context);
1165
+ }
1166
+ await (0, import_smithy_client.collectBody)(output.body, context);
1167
+ const response = {
1168
+ $metadata: deserializeMetadata(output)
1169
+ };
1170
+ return response;
1171
+ }, "de_DeleteMessageCommand");
1172
+ var de_DeleteMessageCommandError = /* @__PURE__ */ __name(async (output, context) => {
1173
+ const parsedOutput = {
1174
+ ...output,
1175
+ body: await parseErrorBody(output.body, context)
1176
+ };
1177
+ populateBodyWithQueryCompatibility(parsedOutput, output.headers);
1178
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1179
+ switch (errorCode) {
1180
+ case "InvalidAddress":
1181
+ case "com.amazonaws.sqs#InvalidAddress":
1182
+ throw await de_InvalidAddressRes(parsedOutput, context);
1183
+ case "InvalidIdFormat":
1184
+ case "com.amazonaws.sqs#InvalidIdFormat":
1185
+ throw await de_InvalidIdFormatRes(parsedOutput, context);
1186
+ case "InvalidSecurity":
1187
+ case "com.amazonaws.sqs#InvalidSecurity":
1188
+ throw await de_InvalidSecurityRes(parsedOutput, context);
1189
+ case "QueueDoesNotExist":
1190
+ case "com.amazonaws.sqs#QueueDoesNotExist":
1191
+ throw await de_QueueDoesNotExistRes(parsedOutput, context);
1192
+ case "ReceiptHandleIsInvalid":
1193
+ case "com.amazonaws.sqs#ReceiptHandleIsInvalid":
1194
+ throw await de_ReceiptHandleIsInvalidRes(parsedOutput, context);
1195
+ case "RequestThrottled":
1196
+ case "com.amazonaws.sqs#RequestThrottled":
1197
+ throw await de_RequestThrottledRes(parsedOutput, context);
1198
+ case "UnsupportedOperation":
1199
+ case "com.amazonaws.sqs#UnsupportedOperation":
1200
+ throw await de_UnsupportedOperationRes(parsedOutput, context);
1201
+ default:
1202
+ const parsedBody = parsedOutput.body;
1203
+ return throwDefaultError({
1204
+ output,
1205
+ parsedBody,
1206
+ errorCode
1207
+ });
1208
+ }
1209
+ }, "de_DeleteMessageCommandError");
1210
+ var de_DeleteMessageBatchCommand = /* @__PURE__ */ __name(async (output, context) => {
1211
+ if (output.statusCode >= 300) {
1212
+ return de_DeleteMessageBatchCommandError(output, context);
1213
+ }
1214
+ const data = await parseBody(output.body, context);
1215
+ let contents = {};
1216
+ contents = (0, import_smithy_client._json)(data);
1217
+ const response = {
1218
+ $metadata: deserializeMetadata(output),
1219
+ ...contents
1220
+ };
1221
+ return response;
1222
+ }, "de_DeleteMessageBatchCommand");
1223
+ var de_DeleteMessageBatchCommandError = /* @__PURE__ */ __name(async (output, context) => {
1224
+ const parsedOutput = {
1225
+ ...output,
1226
+ body: await parseErrorBody(output.body, context)
1227
+ };
1228
+ populateBodyWithQueryCompatibility(parsedOutput, output.headers);
1229
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1230
+ switch (errorCode) {
1231
+ case "BatchEntryIdsNotDistinct":
1232
+ case "com.amazonaws.sqs#BatchEntryIdsNotDistinct":
1233
+ throw await de_BatchEntryIdsNotDistinctRes(parsedOutput, context);
1234
+ case "EmptyBatchRequest":
1235
+ case "com.amazonaws.sqs#EmptyBatchRequest":
1236
+ throw await de_EmptyBatchRequestRes(parsedOutput, context);
1237
+ case "InvalidAddress":
1238
+ case "com.amazonaws.sqs#InvalidAddress":
1239
+ throw await de_InvalidAddressRes(parsedOutput, context);
1240
+ case "InvalidBatchEntryId":
1241
+ case "com.amazonaws.sqs#InvalidBatchEntryId":
1242
+ throw await de_InvalidBatchEntryIdRes(parsedOutput, context);
1243
+ case "InvalidSecurity":
1244
+ case "com.amazonaws.sqs#InvalidSecurity":
1245
+ throw await de_InvalidSecurityRes(parsedOutput, context);
1246
+ case "QueueDoesNotExist":
1247
+ case "com.amazonaws.sqs#QueueDoesNotExist":
1248
+ throw await de_QueueDoesNotExistRes(parsedOutput, context);
1249
+ case "RequestThrottled":
1250
+ case "com.amazonaws.sqs#RequestThrottled":
1251
+ throw await de_RequestThrottledRes(parsedOutput, context);
1252
+ case "TooManyEntriesInBatchRequest":
1253
+ case "com.amazonaws.sqs#TooManyEntriesInBatchRequest":
1254
+ throw await de_TooManyEntriesInBatchRequestRes(parsedOutput, context);
1255
+ case "UnsupportedOperation":
1256
+ case "com.amazonaws.sqs#UnsupportedOperation":
1257
+ throw await de_UnsupportedOperationRes(parsedOutput, context);
1258
+ default:
1259
+ const parsedBody = parsedOutput.body;
1260
+ return throwDefaultError({
1261
+ output,
1262
+ parsedBody,
1263
+ errorCode
1264
+ });
1265
+ }
1266
+ }, "de_DeleteMessageBatchCommandError");
1267
+ var de_DeleteQueueCommand = /* @__PURE__ */ __name(async (output, context) => {
1268
+ if (output.statusCode >= 300) {
1269
+ return de_DeleteQueueCommandError(output, context);
1270
+ }
1271
+ await (0, import_smithy_client.collectBody)(output.body, context);
1272
+ const response = {
1273
+ $metadata: deserializeMetadata(output)
1274
+ };
1275
+ return response;
1276
+ }, "de_DeleteQueueCommand");
1277
+ var de_DeleteQueueCommandError = /* @__PURE__ */ __name(async (output, context) => {
1278
+ const parsedOutput = {
1279
+ ...output,
1280
+ body: await parseErrorBody(output.body, context)
1281
+ };
1282
+ populateBodyWithQueryCompatibility(parsedOutput, output.headers);
1283
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1284
+ switch (errorCode) {
1285
+ case "InvalidAddress":
1286
+ case "com.amazonaws.sqs#InvalidAddress":
1287
+ throw await de_InvalidAddressRes(parsedOutput, context);
1288
+ case "InvalidSecurity":
1289
+ case "com.amazonaws.sqs#InvalidSecurity":
1290
+ throw await de_InvalidSecurityRes(parsedOutput, context);
1291
+ case "QueueDoesNotExist":
1292
+ case "com.amazonaws.sqs#QueueDoesNotExist":
1293
+ throw await de_QueueDoesNotExistRes(parsedOutput, context);
1294
+ case "RequestThrottled":
1295
+ case "com.amazonaws.sqs#RequestThrottled":
1296
+ throw await de_RequestThrottledRes(parsedOutput, context);
1297
+ case "UnsupportedOperation":
1298
+ case "com.amazonaws.sqs#UnsupportedOperation":
1299
+ throw await de_UnsupportedOperationRes(parsedOutput, context);
1300
+ default:
1301
+ const parsedBody = parsedOutput.body;
1302
+ return throwDefaultError({
1303
+ output,
1304
+ parsedBody,
1305
+ errorCode
1306
+ });
1307
+ }
1308
+ }, "de_DeleteQueueCommandError");
1309
+ var de_GetQueueAttributesCommand = /* @__PURE__ */ __name(async (output, context) => {
1310
+ if (output.statusCode >= 300) {
1311
+ return de_GetQueueAttributesCommandError(output, context);
1312
+ }
1313
+ const data = await parseBody(output.body, context);
1314
+ let contents = {};
1315
+ contents = (0, import_smithy_client._json)(data);
1316
+ const response = {
1317
+ $metadata: deserializeMetadata(output),
1318
+ ...contents
1319
+ };
1320
+ return response;
1321
+ }, "de_GetQueueAttributesCommand");
1322
+ var de_GetQueueAttributesCommandError = /* @__PURE__ */ __name(async (output, context) => {
1323
+ const parsedOutput = {
1324
+ ...output,
1325
+ body: await parseErrorBody(output.body, context)
1326
+ };
1327
+ populateBodyWithQueryCompatibility(parsedOutput, output.headers);
1328
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1329
+ switch (errorCode) {
1330
+ case "InvalidAddress":
1331
+ case "com.amazonaws.sqs#InvalidAddress":
1332
+ throw await de_InvalidAddressRes(parsedOutput, context);
1333
+ case "InvalidAttributeName":
1334
+ case "com.amazonaws.sqs#InvalidAttributeName":
1335
+ throw await de_InvalidAttributeNameRes(parsedOutput, context);
1336
+ case "InvalidSecurity":
1337
+ case "com.amazonaws.sqs#InvalidSecurity":
1338
+ throw await de_InvalidSecurityRes(parsedOutput, context);
1339
+ case "QueueDoesNotExist":
1340
+ case "com.amazonaws.sqs#QueueDoesNotExist":
1341
+ throw await de_QueueDoesNotExistRes(parsedOutput, context);
1342
+ case "RequestThrottled":
1343
+ case "com.amazonaws.sqs#RequestThrottled":
1344
+ throw await de_RequestThrottledRes(parsedOutput, context);
1345
+ case "UnsupportedOperation":
1346
+ case "com.amazonaws.sqs#UnsupportedOperation":
1347
+ throw await de_UnsupportedOperationRes(parsedOutput, context);
1348
+ default:
1349
+ const parsedBody = parsedOutput.body;
1350
+ return throwDefaultError({
1351
+ output,
1352
+ parsedBody,
1353
+ errorCode
1354
+ });
1355
+ }
1356
+ }, "de_GetQueueAttributesCommandError");
1357
+ var de_GetQueueUrlCommand = /* @__PURE__ */ __name(async (output, context) => {
1358
+ if (output.statusCode >= 300) {
1359
+ return de_GetQueueUrlCommandError(output, context);
1360
+ }
1361
+ const data = await parseBody(output.body, context);
1362
+ let contents = {};
1363
+ contents = (0, import_smithy_client._json)(data);
1364
+ const response = {
1365
+ $metadata: deserializeMetadata(output),
1366
+ ...contents
1367
+ };
1368
+ return response;
1369
+ }, "de_GetQueueUrlCommand");
1370
+ var de_GetQueueUrlCommandError = /* @__PURE__ */ __name(async (output, context) => {
1371
+ const parsedOutput = {
1372
+ ...output,
1373
+ body: await parseErrorBody(output.body, context)
1374
+ };
1375
+ populateBodyWithQueryCompatibility(parsedOutput, output.headers);
1376
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1377
+ switch (errorCode) {
1378
+ case "InvalidAddress":
1379
+ case "com.amazonaws.sqs#InvalidAddress":
1380
+ throw await de_InvalidAddressRes(parsedOutput, context);
1381
+ case "InvalidSecurity":
1382
+ case "com.amazonaws.sqs#InvalidSecurity":
1383
+ throw await de_InvalidSecurityRes(parsedOutput, context);
1384
+ case "QueueDoesNotExist":
1385
+ case "com.amazonaws.sqs#QueueDoesNotExist":
1386
+ throw await de_QueueDoesNotExistRes(parsedOutput, context);
1387
+ case "RequestThrottled":
1388
+ case "com.amazonaws.sqs#RequestThrottled":
1389
+ throw await de_RequestThrottledRes(parsedOutput, context);
1390
+ case "UnsupportedOperation":
1391
+ case "com.amazonaws.sqs#UnsupportedOperation":
1392
+ throw await de_UnsupportedOperationRes(parsedOutput, context);
1393
+ default:
1394
+ const parsedBody = parsedOutput.body;
1395
+ return throwDefaultError({
1396
+ output,
1397
+ parsedBody,
1398
+ errorCode
1399
+ });
1400
+ }
1401
+ }, "de_GetQueueUrlCommandError");
1402
+ var de_ListDeadLetterSourceQueuesCommand = /* @__PURE__ */ __name(async (output, context) => {
1403
+ if (output.statusCode >= 300) {
1404
+ return de_ListDeadLetterSourceQueuesCommandError(output, context);
1405
+ }
1406
+ const data = await parseBody(output.body, context);
1407
+ let contents = {};
1408
+ contents = (0, import_smithy_client._json)(data);
1409
+ const response = {
1410
+ $metadata: deserializeMetadata(output),
1411
+ ...contents
1412
+ };
1413
+ return response;
1414
+ }, "de_ListDeadLetterSourceQueuesCommand");
1415
+ var de_ListDeadLetterSourceQueuesCommandError = /* @__PURE__ */ __name(async (output, context) => {
1416
+ const parsedOutput = {
1417
+ ...output,
1418
+ body: await parseErrorBody(output.body, context)
1419
+ };
1420
+ populateBodyWithQueryCompatibility(parsedOutput, output.headers);
1421
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1422
+ switch (errorCode) {
1423
+ case "InvalidAddress":
1424
+ case "com.amazonaws.sqs#InvalidAddress":
1425
+ throw await de_InvalidAddressRes(parsedOutput, context);
1426
+ case "InvalidSecurity":
1427
+ case "com.amazonaws.sqs#InvalidSecurity":
1428
+ throw await de_InvalidSecurityRes(parsedOutput, context);
1429
+ case "QueueDoesNotExist":
1430
+ case "com.amazonaws.sqs#QueueDoesNotExist":
1431
+ throw await de_QueueDoesNotExistRes(parsedOutput, context);
1432
+ case "RequestThrottled":
1433
+ case "com.amazonaws.sqs#RequestThrottled":
1434
+ throw await de_RequestThrottledRes(parsedOutput, context);
1435
+ case "UnsupportedOperation":
1436
+ case "com.amazonaws.sqs#UnsupportedOperation":
1437
+ throw await de_UnsupportedOperationRes(parsedOutput, context);
1438
+ default:
1439
+ const parsedBody = parsedOutput.body;
1440
+ return throwDefaultError({
1441
+ output,
1442
+ parsedBody,
1443
+ errorCode
1444
+ });
1445
+ }
1446
+ }, "de_ListDeadLetterSourceQueuesCommandError");
1447
+ var de_ListMessageMoveTasksCommand = /* @__PURE__ */ __name(async (output, context) => {
1448
+ if (output.statusCode >= 300) {
1449
+ return de_ListMessageMoveTasksCommandError(output, context);
1450
+ }
1451
+ const data = await parseBody(output.body, context);
1452
+ let contents = {};
1453
+ contents = (0, import_smithy_client._json)(data);
1454
+ const response = {
1455
+ $metadata: deserializeMetadata(output),
1456
+ ...contents
1457
+ };
1458
+ return response;
1459
+ }, "de_ListMessageMoveTasksCommand");
1460
+ var de_ListMessageMoveTasksCommandError = /* @__PURE__ */ __name(async (output, context) => {
1461
+ const parsedOutput = {
1462
+ ...output,
1463
+ body: await parseErrorBody(output.body, context)
1464
+ };
1465
+ populateBodyWithQueryCompatibility(parsedOutput, output.headers);
1466
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1467
+ switch (errorCode) {
1468
+ case "InvalidAddress":
1469
+ case "com.amazonaws.sqs#InvalidAddress":
1470
+ throw await de_InvalidAddressRes(parsedOutput, context);
1471
+ case "InvalidSecurity":
1472
+ case "com.amazonaws.sqs#InvalidSecurity":
1473
+ throw await de_InvalidSecurityRes(parsedOutput, context);
1474
+ case "RequestThrottled":
1475
+ case "com.amazonaws.sqs#RequestThrottled":
1476
+ throw await de_RequestThrottledRes(parsedOutput, context);
1477
+ case "ResourceNotFoundException":
1478
+ case "com.amazonaws.sqs#ResourceNotFoundException":
1479
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1480
+ case "UnsupportedOperation":
1481
+ case "com.amazonaws.sqs#UnsupportedOperation":
1482
+ throw await de_UnsupportedOperationRes(parsedOutput, context);
1483
+ default:
1484
+ const parsedBody = parsedOutput.body;
1485
+ return throwDefaultError({
1486
+ output,
1487
+ parsedBody,
1488
+ errorCode
1489
+ });
1490
+ }
1491
+ }, "de_ListMessageMoveTasksCommandError");
1492
+ var de_ListQueuesCommand = /* @__PURE__ */ __name(async (output, context) => {
1493
+ if (output.statusCode >= 300) {
1494
+ return de_ListQueuesCommandError(output, context);
1495
+ }
1496
+ const data = await parseBody(output.body, context);
1497
+ let contents = {};
1498
+ contents = (0, import_smithy_client._json)(data);
1499
+ const response = {
1500
+ $metadata: deserializeMetadata(output),
1501
+ ...contents
1502
+ };
1503
+ return response;
1504
+ }, "de_ListQueuesCommand");
1505
+ var de_ListQueuesCommandError = /* @__PURE__ */ __name(async (output, context) => {
1506
+ const parsedOutput = {
1507
+ ...output,
1508
+ body: await parseErrorBody(output.body, context)
1509
+ };
1510
+ populateBodyWithQueryCompatibility(parsedOutput, output.headers);
1511
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1512
+ switch (errorCode) {
1513
+ case "InvalidAddress":
1514
+ case "com.amazonaws.sqs#InvalidAddress":
1515
+ throw await de_InvalidAddressRes(parsedOutput, context);
1516
+ case "InvalidSecurity":
1517
+ case "com.amazonaws.sqs#InvalidSecurity":
1518
+ throw await de_InvalidSecurityRes(parsedOutput, context);
1519
+ case "RequestThrottled":
1520
+ case "com.amazonaws.sqs#RequestThrottled":
1521
+ throw await de_RequestThrottledRes(parsedOutput, context);
1522
+ case "UnsupportedOperation":
1523
+ case "com.amazonaws.sqs#UnsupportedOperation":
1524
+ throw await de_UnsupportedOperationRes(parsedOutput, context);
1525
+ default:
1526
+ const parsedBody = parsedOutput.body;
1527
+ return throwDefaultError({
1528
+ output,
1529
+ parsedBody,
1530
+ errorCode
1531
+ });
1532
+ }
1533
+ }, "de_ListQueuesCommandError");
1534
+ var de_ListQueueTagsCommand = /* @__PURE__ */ __name(async (output, context) => {
1535
+ if (output.statusCode >= 300) {
1536
+ return de_ListQueueTagsCommandError(output, context);
1537
+ }
1538
+ const data = await parseBody(output.body, context);
1539
+ let contents = {};
1540
+ contents = (0, import_smithy_client._json)(data);
1541
+ const response = {
1542
+ $metadata: deserializeMetadata(output),
1543
+ ...contents
1544
+ };
1545
+ return response;
1546
+ }, "de_ListQueueTagsCommand");
1547
+ var de_ListQueueTagsCommandError = /* @__PURE__ */ __name(async (output, context) => {
1548
+ const parsedOutput = {
1549
+ ...output,
1550
+ body: await parseErrorBody(output.body, context)
1551
+ };
1552
+ populateBodyWithQueryCompatibility(parsedOutput, output.headers);
1553
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1554
+ switch (errorCode) {
1555
+ case "InvalidAddress":
1556
+ case "com.amazonaws.sqs#InvalidAddress":
1557
+ throw await de_InvalidAddressRes(parsedOutput, context);
1558
+ case "InvalidSecurity":
1559
+ case "com.amazonaws.sqs#InvalidSecurity":
1560
+ throw await de_InvalidSecurityRes(parsedOutput, context);
1561
+ case "QueueDoesNotExist":
1562
+ case "com.amazonaws.sqs#QueueDoesNotExist":
1563
+ throw await de_QueueDoesNotExistRes(parsedOutput, context);
1564
+ case "RequestThrottled":
1565
+ case "com.amazonaws.sqs#RequestThrottled":
1566
+ throw await de_RequestThrottledRes(parsedOutput, context);
1567
+ case "UnsupportedOperation":
1568
+ case "com.amazonaws.sqs#UnsupportedOperation":
1569
+ throw await de_UnsupportedOperationRes(parsedOutput, context);
1570
+ default:
1571
+ const parsedBody = parsedOutput.body;
1572
+ return throwDefaultError({
1573
+ output,
1574
+ parsedBody,
1575
+ errorCode
1576
+ });
1577
+ }
1578
+ }, "de_ListQueueTagsCommandError");
1579
+ var de_PurgeQueueCommand = /* @__PURE__ */ __name(async (output, context) => {
1580
+ if (output.statusCode >= 300) {
1581
+ return de_PurgeQueueCommandError(output, context);
1582
+ }
1583
+ await (0, import_smithy_client.collectBody)(output.body, context);
1584
+ const response = {
1585
+ $metadata: deserializeMetadata(output)
1586
+ };
1587
+ return response;
1588
+ }, "de_PurgeQueueCommand");
1589
+ var de_PurgeQueueCommandError = /* @__PURE__ */ __name(async (output, context) => {
1590
+ const parsedOutput = {
1591
+ ...output,
1592
+ body: await parseErrorBody(output.body, context)
1593
+ };
1594
+ populateBodyWithQueryCompatibility(parsedOutput, output.headers);
1595
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1596
+ switch (errorCode) {
1597
+ case "InvalidAddress":
1598
+ case "com.amazonaws.sqs#InvalidAddress":
1599
+ throw await de_InvalidAddressRes(parsedOutput, context);
1600
+ case "InvalidSecurity":
1601
+ case "com.amazonaws.sqs#InvalidSecurity":
1602
+ throw await de_InvalidSecurityRes(parsedOutput, context);
1603
+ case "PurgeQueueInProgress":
1604
+ case "com.amazonaws.sqs#PurgeQueueInProgress":
1605
+ throw await de_PurgeQueueInProgressRes(parsedOutput, context);
1606
+ case "QueueDoesNotExist":
1607
+ case "com.amazonaws.sqs#QueueDoesNotExist":
1608
+ throw await de_QueueDoesNotExistRes(parsedOutput, context);
1609
+ case "RequestThrottled":
1610
+ case "com.amazonaws.sqs#RequestThrottled":
1611
+ throw await de_RequestThrottledRes(parsedOutput, context);
1612
+ case "UnsupportedOperation":
1613
+ case "com.amazonaws.sqs#UnsupportedOperation":
1614
+ throw await de_UnsupportedOperationRes(parsedOutput, context);
1615
+ default:
1616
+ const parsedBody = parsedOutput.body;
1617
+ return throwDefaultError({
1618
+ output,
1619
+ parsedBody,
1620
+ errorCode
1621
+ });
1622
+ }
1623
+ }, "de_PurgeQueueCommandError");
1624
+ var de_ReceiveMessageCommand = /* @__PURE__ */ __name(async (output, context) => {
1625
+ if (output.statusCode >= 300) {
1626
+ return de_ReceiveMessageCommandError(output, context);
1627
+ }
1628
+ const data = await parseBody(output.body, context);
1629
+ let contents = {};
1630
+ contents = de_ReceiveMessageResult(data, context);
1631
+ const response = {
1632
+ $metadata: deserializeMetadata(output),
1633
+ ...contents
1634
+ };
1635
+ return response;
1636
+ }, "de_ReceiveMessageCommand");
1637
+ var de_ReceiveMessageCommandError = /* @__PURE__ */ __name(async (output, context) => {
1638
+ const parsedOutput = {
1639
+ ...output,
1640
+ body: await parseErrorBody(output.body, context)
1641
+ };
1642
+ populateBodyWithQueryCompatibility(parsedOutput, output.headers);
1643
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1644
+ switch (errorCode) {
1645
+ case "InvalidAddress":
1646
+ case "com.amazonaws.sqs#InvalidAddress":
1647
+ throw await de_InvalidAddressRes(parsedOutput, context);
1648
+ case "InvalidSecurity":
1649
+ case "com.amazonaws.sqs#InvalidSecurity":
1650
+ throw await de_InvalidSecurityRes(parsedOutput, context);
1651
+ case "KmsAccessDenied":
1652
+ case "com.amazonaws.sqs#KmsAccessDenied":
1653
+ throw await de_KmsAccessDeniedRes(parsedOutput, context);
1654
+ case "KmsDisabled":
1655
+ case "com.amazonaws.sqs#KmsDisabled":
1656
+ throw await de_KmsDisabledRes(parsedOutput, context);
1657
+ case "KmsInvalidKeyUsage":
1658
+ case "com.amazonaws.sqs#KmsInvalidKeyUsage":
1659
+ throw await de_KmsInvalidKeyUsageRes(parsedOutput, context);
1660
+ case "KmsInvalidState":
1661
+ case "com.amazonaws.sqs#KmsInvalidState":
1662
+ throw await de_KmsInvalidStateRes(parsedOutput, context);
1663
+ case "KmsNotFound":
1664
+ case "com.amazonaws.sqs#KmsNotFound":
1665
+ throw await de_KmsNotFoundRes(parsedOutput, context);
1666
+ case "KmsOptInRequired":
1667
+ case "com.amazonaws.sqs#KmsOptInRequired":
1668
+ throw await de_KmsOptInRequiredRes(parsedOutput, context);
1669
+ case "KmsThrottled":
1670
+ case "com.amazonaws.sqs#KmsThrottled":
1671
+ throw await de_KmsThrottledRes(parsedOutput, context);
1672
+ case "OverLimit":
1673
+ case "com.amazonaws.sqs#OverLimit":
1674
+ throw await de_OverLimitRes(parsedOutput, context);
1675
+ case "QueueDoesNotExist":
1676
+ case "com.amazonaws.sqs#QueueDoesNotExist":
1677
+ throw await de_QueueDoesNotExistRes(parsedOutput, context);
1678
+ case "RequestThrottled":
1679
+ case "com.amazonaws.sqs#RequestThrottled":
1680
+ throw await de_RequestThrottledRes(parsedOutput, context);
1681
+ case "UnsupportedOperation":
1682
+ case "com.amazonaws.sqs#UnsupportedOperation":
1683
+ throw await de_UnsupportedOperationRes(parsedOutput, context);
1684
+ default:
1685
+ const parsedBody = parsedOutput.body;
1686
+ return throwDefaultError({
1687
+ output,
1688
+ parsedBody,
1689
+ errorCode
1690
+ });
1691
+ }
1692
+ }, "de_ReceiveMessageCommandError");
1693
+ var de_RemovePermissionCommand = /* @__PURE__ */ __name(async (output, context) => {
1694
+ if (output.statusCode >= 300) {
1695
+ return de_RemovePermissionCommandError(output, context);
1696
+ }
1697
+ await (0, import_smithy_client.collectBody)(output.body, context);
1698
+ const response = {
1699
+ $metadata: deserializeMetadata(output)
1700
+ };
1701
+ return response;
1702
+ }, "de_RemovePermissionCommand");
1703
+ var de_RemovePermissionCommandError = /* @__PURE__ */ __name(async (output, context) => {
1704
+ const parsedOutput = {
1705
+ ...output,
1706
+ body: await parseErrorBody(output.body, context)
1707
+ };
1708
+ populateBodyWithQueryCompatibility(parsedOutput, output.headers);
1709
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1710
+ switch (errorCode) {
1711
+ case "InvalidAddress":
1712
+ case "com.amazonaws.sqs#InvalidAddress":
1713
+ throw await de_InvalidAddressRes(parsedOutput, context);
1714
+ case "InvalidSecurity":
1715
+ case "com.amazonaws.sqs#InvalidSecurity":
1716
+ throw await de_InvalidSecurityRes(parsedOutput, context);
1717
+ case "QueueDoesNotExist":
1718
+ case "com.amazonaws.sqs#QueueDoesNotExist":
1719
+ throw await de_QueueDoesNotExistRes(parsedOutput, context);
1720
+ case "RequestThrottled":
1721
+ case "com.amazonaws.sqs#RequestThrottled":
1722
+ throw await de_RequestThrottledRes(parsedOutput, context);
1723
+ case "UnsupportedOperation":
1724
+ case "com.amazonaws.sqs#UnsupportedOperation":
1725
+ throw await de_UnsupportedOperationRes(parsedOutput, context);
1726
+ default:
1727
+ const parsedBody = parsedOutput.body;
1728
+ return throwDefaultError({
1729
+ output,
1730
+ parsedBody,
1731
+ errorCode
1732
+ });
1733
+ }
1734
+ }, "de_RemovePermissionCommandError");
1735
+ var de_SendMessageCommand = /* @__PURE__ */ __name(async (output, context) => {
1736
+ if (output.statusCode >= 300) {
1737
+ return de_SendMessageCommandError(output, context);
1738
+ }
1739
+ const data = await parseBody(output.body, context);
1740
+ let contents = {};
1741
+ contents = (0, import_smithy_client._json)(data);
1742
+ const response = {
1743
+ $metadata: deserializeMetadata(output),
1744
+ ...contents
1745
+ };
1746
+ return response;
1747
+ }, "de_SendMessageCommand");
1748
+ var de_SendMessageCommandError = /* @__PURE__ */ __name(async (output, context) => {
1749
+ const parsedOutput = {
1750
+ ...output,
1751
+ body: await parseErrorBody(output.body, context)
1752
+ };
1753
+ populateBodyWithQueryCompatibility(parsedOutput, output.headers);
1754
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1755
+ switch (errorCode) {
1756
+ case "InvalidAddress":
1757
+ case "com.amazonaws.sqs#InvalidAddress":
1758
+ throw await de_InvalidAddressRes(parsedOutput, context);
1759
+ case "InvalidMessageContents":
1760
+ case "com.amazonaws.sqs#InvalidMessageContents":
1761
+ throw await de_InvalidMessageContentsRes(parsedOutput, context);
1762
+ case "InvalidSecurity":
1763
+ case "com.amazonaws.sqs#InvalidSecurity":
1764
+ throw await de_InvalidSecurityRes(parsedOutput, context);
1765
+ case "KmsAccessDenied":
1766
+ case "com.amazonaws.sqs#KmsAccessDenied":
1767
+ throw await de_KmsAccessDeniedRes(parsedOutput, context);
1768
+ case "KmsDisabled":
1769
+ case "com.amazonaws.sqs#KmsDisabled":
1770
+ throw await de_KmsDisabledRes(parsedOutput, context);
1771
+ case "KmsInvalidKeyUsage":
1772
+ case "com.amazonaws.sqs#KmsInvalidKeyUsage":
1773
+ throw await de_KmsInvalidKeyUsageRes(parsedOutput, context);
1774
+ case "KmsInvalidState":
1775
+ case "com.amazonaws.sqs#KmsInvalidState":
1776
+ throw await de_KmsInvalidStateRes(parsedOutput, context);
1777
+ case "KmsNotFound":
1778
+ case "com.amazonaws.sqs#KmsNotFound":
1779
+ throw await de_KmsNotFoundRes(parsedOutput, context);
1780
+ case "KmsOptInRequired":
1781
+ case "com.amazonaws.sqs#KmsOptInRequired":
1782
+ throw await de_KmsOptInRequiredRes(parsedOutput, context);
1783
+ case "KmsThrottled":
1784
+ case "com.amazonaws.sqs#KmsThrottled":
1785
+ throw await de_KmsThrottledRes(parsedOutput, context);
1786
+ case "QueueDoesNotExist":
1787
+ case "com.amazonaws.sqs#QueueDoesNotExist":
1788
+ throw await de_QueueDoesNotExistRes(parsedOutput, context);
1789
+ case "RequestThrottled":
1790
+ case "com.amazonaws.sqs#RequestThrottled":
1791
+ throw await de_RequestThrottledRes(parsedOutput, context);
1792
+ case "UnsupportedOperation":
1793
+ case "com.amazonaws.sqs#UnsupportedOperation":
1794
+ throw await de_UnsupportedOperationRes(parsedOutput, context);
1795
+ default:
1796
+ const parsedBody = parsedOutput.body;
1797
+ return throwDefaultError({
1798
+ output,
1799
+ parsedBody,
1800
+ errorCode
1801
+ });
1802
+ }
1803
+ }, "de_SendMessageCommandError");
1804
+ var de_SendMessageBatchCommand = /* @__PURE__ */ __name(async (output, context) => {
1805
+ if (output.statusCode >= 300) {
1806
+ return de_SendMessageBatchCommandError(output, context);
1807
+ }
1808
+ const data = await parseBody(output.body, context);
1809
+ let contents = {};
1810
+ contents = (0, import_smithy_client._json)(data);
1811
+ const response = {
1812
+ $metadata: deserializeMetadata(output),
1813
+ ...contents
1814
+ };
1815
+ return response;
1816
+ }, "de_SendMessageBatchCommand");
1817
+ var de_SendMessageBatchCommandError = /* @__PURE__ */ __name(async (output, context) => {
1818
+ const parsedOutput = {
1819
+ ...output,
1820
+ body: await parseErrorBody(output.body, context)
1821
+ };
1822
+ populateBodyWithQueryCompatibility(parsedOutput, output.headers);
1823
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1824
+ switch (errorCode) {
1825
+ case "BatchEntryIdsNotDistinct":
1826
+ case "com.amazonaws.sqs#BatchEntryIdsNotDistinct":
1827
+ throw await de_BatchEntryIdsNotDistinctRes(parsedOutput, context);
1828
+ case "BatchRequestTooLong":
1829
+ case "com.amazonaws.sqs#BatchRequestTooLong":
1830
+ throw await de_BatchRequestTooLongRes(parsedOutput, context);
1831
+ case "EmptyBatchRequest":
1832
+ case "com.amazonaws.sqs#EmptyBatchRequest":
1833
+ throw await de_EmptyBatchRequestRes(parsedOutput, context);
1834
+ case "InvalidAddress":
1835
+ case "com.amazonaws.sqs#InvalidAddress":
1836
+ throw await de_InvalidAddressRes(parsedOutput, context);
1837
+ case "InvalidBatchEntryId":
1838
+ case "com.amazonaws.sqs#InvalidBatchEntryId":
1839
+ throw await de_InvalidBatchEntryIdRes(parsedOutput, context);
1840
+ case "InvalidSecurity":
1841
+ case "com.amazonaws.sqs#InvalidSecurity":
1842
+ throw await de_InvalidSecurityRes(parsedOutput, context);
1843
+ case "KmsAccessDenied":
1844
+ case "com.amazonaws.sqs#KmsAccessDenied":
1845
+ throw await de_KmsAccessDeniedRes(parsedOutput, context);
1846
+ case "KmsDisabled":
1847
+ case "com.amazonaws.sqs#KmsDisabled":
1848
+ throw await de_KmsDisabledRes(parsedOutput, context);
1849
+ case "KmsInvalidKeyUsage":
1850
+ case "com.amazonaws.sqs#KmsInvalidKeyUsage":
1851
+ throw await de_KmsInvalidKeyUsageRes(parsedOutput, context);
1852
+ case "KmsInvalidState":
1853
+ case "com.amazonaws.sqs#KmsInvalidState":
1854
+ throw await de_KmsInvalidStateRes(parsedOutput, context);
1855
+ case "KmsNotFound":
1856
+ case "com.amazonaws.sqs#KmsNotFound":
1857
+ throw await de_KmsNotFoundRes(parsedOutput, context);
1858
+ case "KmsOptInRequired":
1859
+ case "com.amazonaws.sqs#KmsOptInRequired":
1860
+ throw await de_KmsOptInRequiredRes(parsedOutput, context);
1861
+ case "KmsThrottled":
1862
+ case "com.amazonaws.sqs#KmsThrottled":
1863
+ throw await de_KmsThrottledRes(parsedOutput, context);
1864
+ case "QueueDoesNotExist":
1865
+ case "com.amazonaws.sqs#QueueDoesNotExist":
1866
+ throw await de_QueueDoesNotExistRes(parsedOutput, context);
1867
+ case "RequestThrottled":
1868
+ case "com.amazonaws.sqs#RequestThrottled":
1869
+ throw await de_RequestThrottledRes(parsedOutput, context);
1870
+ case "TooManyEntriesInBatchRequest":
1871
+ case "com.amazonaws.sqs#TooManyEntriesInBatchRequest":
1872
+ throw await de_TooManyEntriesInBatchRequestRes(parsedOutput, context);
1873
+ case "UnsupportedOperation":
1874
+ case "com.amazonaws.sqs#UnsupportedOperation":
1875
+ throw await de_UnsupportedOperationRes(parsedOutput, context);
1876
+ default:
1877
+ const parsedBody = parsedOutput.body;
1878
+ return throwDefaultError({
1879
+ output,
1880
+ parsedBody,
1881
+ errorCode
1882
+ });
1883
+ }
1884
+ }, "de_SendMessageBatchCommandError");
1885
+ var de_SetQueueAttributesCommand = /* @__PURE__ */ __name(async (output, context) => {
1886
+ if (output.statusCode >= 300) {
1887
+ return de_SetQueueAttributesCommandError(output, context);
1888
+ }
1889
+ await (0, import_smithy_client.collectBody)(output.body, context);
1890
+ const response = {
1891
+ $metadata: deserializeMetadata(output)
1892
+ };
1893
+ return response;
1894
+ }, "de_SetQueueAttributesCommand");
1895
+ var de_SetQueueAttributesCommandError = /* @__PURE__ */ __name(async (output, context) => {
1896
+ const parsedOutput = {
1897
+ ...output,
1898
+ body: await parseErrorBody(output.body, context)
1899
+ };
1900
+ populateBodyWithQueryCompatibility(parsedOutput, output.headers);
1901
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1902
+ switch (errorCode) {
1903
+ case "InvalidAddress":
1904
+ case "com.amazonaws.sqs#InvalidAddress":
1905
+ throw await de_InvalidAddressRes(parsedOutput, context);
1906
+ case "InvalidAttributeName":
1907
+ case "com.amazonaws.sqs#InvalidAttributeName":
1908
+ throw await de_InvalidAttributeNameRes(parsedOutput, context);
1909
+ case "InvalidAttributeValue":
1910
+ case "com.amazonaws.sqs#InvalidAttributeValue":
1911
+ throw await de_InvalidAttributeValueRes(parsedOutput, context);
1912
+ case "InvalidSecurity":
1913
+ case "com.amazonaws.sqs#InvalidSecurity":
1914
+ throw await de_InvalidSecurityRes(parsedOutput, context);
1915
+ case "OverLimit":
1916
+ case "com.amazonaws.sqs#OverLimit":
1917
+ throw await de_OverLimitRes(parsedOutput, context);
1918
+ case "QueueDoesNotExist":
1919
+ case "com.amazonaws.sqs#QueueDoesNotExist":
1920
+ throw await de_QueueDoesNotExistRes(parsedOutput, context);
1921
+ case "RequestThrottled":
1922
+ case "com.amazonaws.sqs#RequestThrottled":
1923
+ throw await de_RequestThrottledRes(parsedOutput, context);
1924
+ case "UnsupportedOperation":
1925
+ case "com.amazonaws.sqs#UnsupportedOperation":
1926
+ throw await de_UnsupportedOperationRes(parsedOutput, context);
1927
+ default:
1928
+ const parsedBody = parsedOutput.body;
1929
+ return throwDefaultError({
1930
+ output,
1931
+ parsedBody,
1932
+ errorCode
1933
+ });
1934
+ }
1935
+ }, "de_SetQueueAttributesCommandError");
1936
+ var de_StartMessageMoveTaskCommand = /* @__PURE__ */ __name(async (output, context) => {
1937
+ if (output.statusCode >= 300) {
1938
+ return de_StartMessageMoveTaskCommandError(output, context);
1939
+ }
1940
+ const data = await parseBody(output.body, context);
1941
+ let contents = {};
1942
+ contents = (0, import_smithy_client._json)(data);
1943
+ const response = {
1944
+ $metadata: deserializeMetadata(output),
1945
+ ...contents
1946
+ };
1947
+ return response;
1948
+ }, "de_StartMessageMoveTaskCommand");
1949
+ var de_StartMessageMoveTaskCommandError = /* @__PURE__ */ __name(async (output, context) => {
1950
+ const parsedOutput = {
1951
+ ...output,
1952
+ body: await parseErrorBody(output.body, context)
1953
+ };
1954
+ populateBodyWithQueryCompatibility(parsedOutput, output.headers);
1955
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1956
+ switch (errorCode) {
1957
+ case "InvalidAddress":
1958
+ case "com.amazonaws.sqs#InvalidAddress":
1959
+ throw await de_InvalidAddressRes(parsedOutput, context);
1960
+ case "InvalidSecurity":
1961
+ case "com.amazonaws.sqs#InvalidSecurity":
1962
+ throw await de_InvalidSecurityRes(parsedOutput, context);
1963
+ case "RequestThrottled":
1964
+ case "com.amazonaws.sqs#RequestThrottled":
1965
+ throw await de_RequestThrottledRes(parsedOutput, context);
1966
+ case "ResourceNotFoundException":
1967
+ case "com.amazonaws.sqs#ResourceNotFoundException":
1968
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1969
+ case "UnsupportedOperation":
1970
+ case "com.amazonaws.sqs#UnsupportedOperation":
1971
+ throw await de_UnsupportedOperationRes(parsedOutput, context);
1972
+ default:
1973
+ const parsedBody = parsedOutput.body;
1974
+ return throwDefaultError({
1975
+ output,
1976
+ parsedBody,
1977
+ errorCode
1978
+ });
1979
+ }
1980
+ }, "de_StartMessageMoveTaskCommandError");
1981
+ var de_TagQueueCommand = /* @__PURE__ */ __name(async (output, context) => {
1982
+ if (output.statusCode >= 300) {
1983
+ return de_TagQueueCommandError(output, context);
1984
+ }
1985
+ await (0, import_smithy_client.collectBody)(output.body, context);
1986
+ const response = {
1987
+ $metadata: deserializeMetadata(output)
1988
+ };
1989
+ return response;
1990
+ }, "de_TagQueueCommand");
1991
+ var de_TagQueueCommandError = /* @__PURE__ */ __name(async (output, context) => {
1992
+ const parsedOutput = {
1993
+ ...output,
1994
+ body: await parseErrorBody(output.body, context)
1995
+ };
1996
+ populateBodyWithQueryCompatibility(parsedOutput, output.headers);
1997
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1998
+ switch (errorCode) {
1999
+ case "InvalidAddress":
2000
+ case "com.amazonaws.sqs#InvalidAddress":
2001
+ throw await de_InvalidAddressRes(parsedOutput, context);
2002
+ case "InvalidSecurity":
2003
+ case "com.amazonaws.sqs#InvalidSecurity":
2004
+ throw await de_InvalidSecurityRes(parsedOutput, context);
2005
+ case "QueueDoesNotExist":
2006
+ case "com.amazonaws.sqs#QueueDoesNotExist":
2007
+ throw await de_QueueDoesNotExistRes(parsedOutput, context);
2008
+ case "RequestThrottled":
2009
+ case "com.amazonaws.sqs#RequestThrottled":
2010
+ throw await de_RequestThrottledRes(parsedOutput, context);
2011
+ case "UnsupportedOperation":
2012
+ case "com.amazonaws.sqs#UnsupportedOperation":
2013
+ throw await de_UnsupportedOperationRes(parsedOutput, context);
2014
+ default:
2015
+ const parsedBody = parsedOutput.body;
2016
+ return throwDefaultError({
2017
+ output,
2018
+ parsedBody,
2019
+ errorCode
2020
+ });
2021
+ }
2022
+ }, "de_TagQueueCommandError");
2023
+ var de_UntagQueueCommand = /* @__PURE__ */ __name(async (output, context) => {
2024
+ if (output.statusCode >= 300) {
2025
+ return de_UntagQueueCommandError(output, context);
2026
+ }
2027
+ await (0, import_smithy_client.collectBody)(output.body, context);
2028
+ const response = {
2029
+ $metadata: deserializeMetadata(output)
2030
+ };
2031
+ return response;
2032
+ }, "de_UntagQueueCommand");
2033
+ var de_UntagQueueCommandError = /* @__PURE__ */ __name(async (output, context) => {
2034
+ const parsedOutput = {
2035
+ ...output,
2036
+ body: await parseErrorBody(output.body, context)
2037
+ };
2038
+ populateBodyWithQueryCompatibility(parsedOutput, output.headers);
2039
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2040
+ switch (errorCode) {
2041
+ case "InvalidAddress":
2042
+ case "com.amazonaws.sqs#InvalidAddress":
2043
+ throw await de_InvalidAddressRes(parsedOutput, context);
2044
+ case "InvalidSecurity":
2045
+ case "com.amazonaws.sqs#InvalidSecurity":
2046
+ throw await de_InvalidSecurityRes(parsedOutput, context);
2047
+ case "QueueDoesNotExist":
2048
+ case "com.amazonaws.sqs#QueueDoesNotExist":
2049
+ throw await de_QueueDoesNotExistRes(parsedOutput, context);
2050
+ case "RequestThrottled":
2051
+ case "com.amazonaws.sqs#RequestThrottled":
2052
+ throw await de_RequestThrottledRes(parsedOutput, context);
2053
+ case "UnsupportedOperation":
2054
+ case "com.amazonaws.sqs#UnsupportedOperation":
2055
+ throw await de_UnsupportedOperationRes(parsedOutput, context);
2056
+ default:
2057
+ const parsedBody = parsedOutput.body;
2058
+ return throwDefaultError({
2059
+ output,
2060
+ parsedBody,
2061
+ errorCode
2062
+ });
2063
+ }
2064
+ }, "de_UntagQueueCommandError");
2065
+ var de_BatchEntryIdsNotDistinctRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2066
+ const body = parsedOutput.body;
2067
+ const deserialized = (0, import_smithy_client._json)(body);
2068
+ const exception = new BatchEntryIdsNotDistinct({
2069
+ $metadata: deserializeMetadata(parsedOutput),
2070
+ ...deserialized
2071
+ });
2072
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
2073
+ }, "de_BatchEntryIdsNotDistinctRes");
2074
+ var de_BatchRequestTooLongRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2075
+ const body = parsedOutput.body;
2076
+ const deserialized = (0, import_smithy_client._json)(body);
2077
+ const exception = new BatchRequestTooLong({
2078
+ $metadata: deserializeMetadata(parsedOutput),
2079
+ ...deserialized
2080
+ });
2081
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
2082
+ }, "de_BatchRequestTooLongRes");
2083
+ var de_EmptyBatchRequestRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2084
+ const body = parsedOutput.body;
2085
+ const deserialized = (0, import_smithy_client._json)(body);
2086
+ const exception = new EmptyBatchRequest({
2087
+ $metadata: deserializeMetadata(parsedOutput),
2088
+ ...deserialized
2089
+ });
2090
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
2091
+ }, "de_EmptyBatchRequestRes");
2092
+ var de_InvalidAddressRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2093
+ const body = parsedOutput.body;
2094
+ const deserialized = (0, import_smithy_client._json)(body);
2095
+ const exception = new InvalidAddress({
2096
+ $metadata: deserializeMetadata(parsedOutput),
2097
+ ...deserialized
2098
+ });
2099
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
2100
+ }, "de_InvalidAddressRes");
2101
+ var de_InvalidAttributeNameRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2102
+ const body = parsedOutput.body;
2103
+ const deserialized = (0, import_smithy_client._json)(body);
2104
+ const exception = new InvalidAttributeName({
2105
+ $metadata: deserializeMetadata(parsedOutput),
2106
+ ...deserialized
2107
+ });
2108
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
2109
+ }, "de_InvalidAttributeNameRes");
2110
+ var de_InvalidAttributeValueRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2111
+ const body = parsedOutput.body;
2112
+ const deserialized = (0, import_smithy_client._json)(body);
2113
+ const exception = new InvalidAttributeValue({
2114
+ $metadata: deserializeMetadata(parsedOutput),
2115
+ ...deserialized
2116
+ });
2117
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
2118
+ }, "de_InvalidAttributeValueRes");
2119
+ var de_InvalidBatchEntryIdRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2120
+ const body = parsedOutput.body;
2121
+ const deserialized = (0, import_smithy_client._json)(body);
2122
+ const exception = new InvalidBatchEntryId({
2123
+ $metadata: deserializeMetadata(parsedOutput),
2124
+ ...deserialized
2125
+ });
2126
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
2127
+ }, "de_InvalidBatchEntryIdRes");
2128
+ var de_InvalidIdFormatRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2129
+ const body = parsedOutput.body;
2130
+ const deserialized = (0, import_smithy_client._json)(body);
2131
+ const exception = new InvalidIdFormat({
2132
+ $metadata: deserializeMetadata(parsedOutput),
2133
+ ...deserialized
2134
+ });
2135
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
2136
+ }, "de_InvalidIdFormatRes");
2137
+ var de_InvalidMessageContentsRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2138
+ const body = parsedOutput.body;
2139
+ const deserialized = (0, import_smithy_client._json)(body);
2140
+ const exception = new InvalidMessageContents({
2141
+ $metadata: deserializeMetadata(parsedOutput),
2142
+ ...deserialized
2143
+ });
2144
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
2145
+ }, "de_InvalidMessageContentsRes");
2146
+ var de_InvalidSecurityRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2147
+ const body = parsedOutput.body;
2148
+ const deserialized = (0, import_smithy_client._json)(body);
2149
+ const exception = new InvalidSecurity({
2150
+ $metadata: deserializeMetadata(parsedOutput),
2151
+ ...deserialized
2152
+ });
2153
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
2154
+ }, "de_InvalidSecurityRes");
2155
+ var de_KmsAccessDeniedRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2156
+ const body = parsedOutput.body;
2157
+ const deserialized = (0, import_smithy_client._json)(body);
2158
+ const exception = new KmsAccessDenied({
2159
+ $metadata: deserializeMetadata(parsedOutput),
2160
+ ...deserialized
2161
+ });
2162
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
2163
+ }, "de_KmsAccessDeniedRes");
2164
+ var de_KmsDisabledRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2165
+ const body = parsedOutput.body;
2166
+ const deserialized = (0, import_smithy_client._json)(body);
2167
+ const exception = new KmsDisabled({
2168
+ $metadata: deserializeMetadata(parsedOutput),
2169
+ ...deserialized
2170
+ });
2171
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
2172
+ }, "de_KmsDisabledRes");
2173
+ var de_KmsInvalidKeyUsageRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2174
+ const body = parsedOutput.body;
2175
+ const deserialized = (0, import_smithy_client._json)(body);
2176
+ const exception = new KmsInvalidKeyUsage({
2177
+ $metadata: deserializeMetadata(parsedOutput),
2178
+ ...deserialized
2179
+ });
2180
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
2181
+ }, "de_KmsInvalidKeyUsageRes");
2182
+ var de_KmsInvalidStateRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2183
+ const body = parsedOutput.body;
2184
+ const deserialized = (0, import_smithy_client._json)(body);
2185
+ const exception = new KmsInvalidState({
2186
+ $metadata: deserializeMetadata(parsedOutput),
2187
+ ...deserialized
2188
+ });
2189
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
2190
+ }, "de_KmsInvalidStateRes");
2191
+ var de_KmsNotFoundRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2192
+ const body = parsedOutput.body;
2193
+ const deserialized = (0, import_smithy_client._json)(body);
2194
+ const exception = new KmsNotFound({
2195
+ $metadata: deserializeMetadata(parsedOutput),
2196
+ ...deserialized
2197
+ });
2198
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
2199
+ }, "de_KmsNotFoundRes");
2200
+ var de_KmsOptInRequiredRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2201
+ const body = parsedOutput.body;
2202
+ const deserialized = (0, import_smithy_client._json)(body);
2203
+ const exception = new KmsOptInRequired({
2204
+ $metadata: deserializeMetadata(parsedOutput),
2205
+ ...deserialized
2206
+ });
2207
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
2208
+ }, "de_KmsOptInRequiredRes");
2209
+ var de_KmsThrottledRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2210
+ const body = parsedOutput.body;
2211
+ const deserialized = (0, import_smithy_client._json)(body);
2212
+ const exception = new KmsThrottled({
2213
+ $metadata: deserializeMetadata(parsedOutput),
2214
+ ...deserialized
2215
+ });
2216
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
2217
+ }, "de_KmsThrottledRes");
2218
+ var de_MessageNotInflightRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2219
+ const body = parsedOutput.body;
2220
+ const deserialized = (0, import_smithy_client._json)(body);
2221
+ const exception = new MessageNotInflight({
2222
+ $metadata: deserializeMetadata(parsedOutput),
2223
+ ...deserialized
2224
+ });
2225
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
2226
+ }, "de_MessageNotInflightRes");
2227
+ var de_OverLimitRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2228
+ const body = parsedOutput.body;
2229
+ const deserialized = (0, import_smithy_client._json)(body);
2230
+ const exception = new OverLimit({
2231
+ $metadata: deserializeMetadata(parsedOutput),
2232
+ ...deserialized
2233
+ });
2234
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
2235
+ }, "de_OverLimitRes");
2236
+ var de_PurgeQueueInProgressRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2237
+ const body = parsedOutput.body;
2238
+ const deserialized = (0, import_smithy_client._json)(body);
2239
+ const exception = new PurgeQueueInProgress({
2240
+ $metadata: deserializeMetadata(parsedOutput),
2241
+ ...deserialized
2242
+ });
2243
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
2244
+ }, "de_PurgeQueueInProgressRes");
2245
+ var de_QueueDeletedRecentlyRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2246
+ const body = parsedOutput.body;
2247
+ const deserialized = (0, import_smithy_client._json)(body);
2248
+ const exception = new QueueDeletedRecently({
2249
+ $metadata: deserializeMetadata(parsedOutput),
2250
+ ...deserialized
2251
+ });
2252
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
2253
+ }, "de_QueueDeletedRecentlyRes");
2254
+ var de_QueueDoesNotExistRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2255
+ const body = parsedOutput.body;
2256
+ const deserialized = (0, import_smithy_client._json)(body);
2257
+ const exception = new QueueDoesNotExist({
2258
+ $metadata: deserializeMetadata(parsedOutput),
2259
+ ...deserialized
2260
+ });
2261
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
2262
+ }, "de_QueueDoesNotExistRes");
2263
+ var de_QueueNameExistsRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2264
+ const body = parsedOutput.body;
2265
+ const deserialized = (0, import_smithy_client._json)(body);
2266
+ const exception = new QueueNameExists({
2267
+ $metadata: deserializeMetadata(parsedOutput),
2268
+ ...deserialized
2269
+ });
2270
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
2271
+ }, "de_QueueNameExistsRes");
2272
+ var de_ReceiptHandleIsInvalidRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2273
+ const body = parsedOutput.body;
2274
+ const deserialized = (0, import_smithy_client._json)(body);
2275
+ const exception = new ReceiptHandleIsInvalid({
2276
+ $metadata: deserializeMetadata(parsedOutput),
2277
+ ...deserialized
2278
+ });
2279
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
2280
+ }, "de_ReceiptHandleIsInvalidRes");
2281
+ var de_RequestThrottledRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2282
+ const body = parsedOutput.body;
2283
+ const deserialized = (0, import_smithy_client._json)(body);
2284
+ const exception = new RequestThrottled({
2285
+ $metadata: deserializeMetadata(parsedOutput),
2286
+ ...deserialized
2287
+ });
2288
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
2289
+ }, "de_RequestThrottledRes");
2290
+ var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2291
+ const body = parsedOutput.body;
2292
+ const deserialized = (0, import_smithy_client._json)(body);
2293
+ const exception = new ResourceNotFoundException({
2294
+ $metadata: deserializeMetadata(parsedOutput),
2295
+ ...deserialized
2296
+ });
2297
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
2298
+ }, "de_ResourceNotFoundExceptionRes");
2299
+ var de_TooManyEntriesInBatchRequestRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2300
+ const body = parsedOutput.body;
2301
+ const deserialized = (0, import_smithy_client._json)(body);
2302
+ const exception = new TooManyEntriesInBatchRequest({
2303
+ $metadata: deserializeMetadata(parsedOutput),
2304
+ ...deserialized
2305
+ });
2306
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
2307
+ }, "de_TooManyEntriesInBatchRequestRes");
2308
+ var de_UnsupportedOperationRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2309
+ const body = parsedOutput.body;
2310
+ const deserialized = (0, import_smithy_client._json)(body);
2311
+ const exception = new UnsupportedOperation({
2312
+ $metadata: deserializeMetadata(parsedOutput),
2313
+ ...deserialized
2314
+ });
2315
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
2316
+ }, "de_UnsupportedOperationRes");
2317
+ var se_ActionNameList = /* @__PURE__ */ __name((input, context) => {
2318
+ return input.filter((e) => e != null).map((entry) => {
2319
+ return (0, import_core2._toStr)(entry);
2320
+ });
2321
+ }, "se_ActionNameList");
2322
+ var se_AddPermissionRequest = /* @__PURE__ */ __name((input, context) => {
2323
+ return (0, import_smithy_client.take)(input, {
2324
+ AWSAccountIds: (_) => se_AWSAccountIdList(_, context),
2325
+ Actions: (_) => se_ActionNameList(_, context),
2326
+ Label: import_core2._toStr,
2327
+ QueueUrl: import_core2._toStr
2328
+ });
2329
+ }, "se_AddPermissionRequest");
2330
+ var se_AttributeNameList = /* @__PURE__ */ __name((input, context) => {
2331
+ return input.filter((e) => e != null).map((entry) => {
2332
+ return (0, import_core2._toStr)(entry);
2333
+ });
2334
+ }, "se_AttributeNameList");
2335
+ var se_AWSAccountIdList = /* @__PURE__ */ __name((input, context) => {
2336
+ return input.filter((e) => e != null).map((entry) => {
2337
+ return (0, import_core2._toStr)(entry);
2338
+ });
2339
+ }, "se_AWSAccountIdList");
2340
+ var se_BinaryList = /* @__PURE__ */ __name((input, context) => {
2341
+ return input.filter((e) => e != null).map((entry) => {
2342
+ return context.base64Encoder(entry);
2343
+ });
2344
+ }, "se_BinaryList");
2345
+ var se_CancelMessageMoveTaskRequest = /* @__PURE__ */ __name((input, context) => {
2346
+ return (0, import_smithy_client.take)(input, {
2347
+ TaskHandle: import_core2._toStr
2348
+ });
2349
+ }, "se_CancelMessageMoveTaskRequest");
2350
+ var se_ChangeMessageVisibilityBatchRequest = /* @__PURE__ */ __name((input, context) => {
2351
+ return (0, import_smithy_client.take)(input, {
2352
+ Entries: (_) => se_ChangeMessageVisibilityBatchRequestEntryList(_, context),
2353
+ QueueUrl: import_core2._toStr
2354
+ });
2355
+ }, "se_ChangeMessageVisibilityBatchRequest");
2356
+ var se_ChangeMessageVisibilityBatchRequestEntry = /* @__PURE__ */ __name((input, context) => {
2357
+ return (0, import_smithy_client.take)(input, {
2358
+ Id: import_core2._toStr,
2359
+ ReceiptHandle: import_core2._toStr,
2360
+ VisibilityTimeout: import_core2._toNum
2361
+ });
2362
+ }, "se_ChangeMessageVisibilityBatchRequestEntry");
2363
+ var se_ChangeMessageVisibilityBatchRequestEntryList = /* @__PURE__ */ __name((input, context) => {
2364
+ return input.filter((e) => e != null).map((entry) => {
2365
+ return se_ChangeMessageVisibilityBatchRequestEntry(entry, context);
2366
+ });
2367
+ }, "se_ChangeMessageVisibilityBatchRequestEntryList");
2368
+ var se_ChangeMessageVisibilityRequest = /* @__PURE__ */ __name((input, context) => {
2369
+ return (0, import_smithy_client.take)(input, {
2370
+ QueueUrl: import_core2._toStr,
2371
+ ReceiptHandle: import_core2._toStr,
2372
+ VisibilityTimeout: import_core2._toNum
2373
+ });
2374
+ }, "se_ChangeMessageVisibilityRequest");
2375
+ var se_CreateQueueRequest = /* @__PURE__ */ __name((input, context) => {
2376
+ return (0, import_smithy_client.take)(input, {
2377
+ Attributes: (_) => se_QueueAttributeMap(_, context),
2378
+ QueueName: import_core2._toStr,
2379
+ tags: (_) => se_TagMap(_, context)
2380
+ });
2381
+ }, "se_CreateQueueRequest");
2382
+ var se_DeleteMessageBatchRequest = /* @__PURE__ */ __name((input, context) => {
2383
+ return (0, import_smithy_client.take)(input, {
2384
+ Entries: (_) => se_DeleteMessageBatchRequestEntryList(_, context),
2385
+ QueueUrl: import_core2._toStr
2386
+ });
2387
+ }, "se_DeleteMessageBatchRequest");
2388
+ var se_DeleteMessageBatchRequestEntry = /* @__PURE__ */ __name((input, context) => {
2389
+ return (0, import_smithy_client.take)(input, {
2390
+ Id: import_core2._toStr,
2391
+ ReceiptHandle: import_core2._toStr
2392
+ });
2393
+ }, "se_DeleteMessageBatchRequestEntry");
2394
+ var se_DeleteMessageBatchRequestEntryList = /* @__PURE__ */ __name((input, context) => {
2395
+ return input.filter((e) => e != null).map((entry) => {
2396
+ return se_DeleteMessageBatchRequestEntry(entry, context);
2397
+ });
2398
+ }, "se_DeleteMessageBatchRequestEntryList");
2399
+ var se_DeleteMessageRequest = /* @__PURE__ */ __name((input, context) => {
2400
+ return (0, import_smithy_client.take)(input, {
2401
+ QueueUrl: import_core2._toStr,
2402
+ ReceiptHandle: import_core2._toStr
2403
+ });
2404
+ }, "se_DeleteMessageRequest");
2405
+ var se_DeleteQueueRequest = /* @__PURE__ */ __name((input, context) => {
2406
+ return (0, import_smithy_client.take)(input, {
2407
+ QueueUrl: import_core2._toStr
2408
+ });
2409
+ }, "se_DeleteQueueRequest");
2410
+ var se_GetQueueAttributesRequest = /* @__PURE__ */ __name((input, context) => {
2411
+ return (0, import_smithy_client.take)(input, {
2412
+ AttributeNames: (_) => se_AttributeNameList(_, context),
2413
+ QueueUrl: import_core2._toStr
2414
+ });
2415
+ }, "se_GetQueueAttributesRequest");
2416
+ var se_GetQueueUrlRequest = /* @__PURE__ */ __name((input, context) => {
2417
+ return (0, import_smithy_client.take)(input, {
2418
+ QueueName: import_core2._toStr,
2419
+ QueueOwnerAWSAccountId: import_core2._toStr
2420
+ });
2421
+ }, "se_GetQueueUrlRequest");
2422
+ var se_ListDeadLetterSourceQueuesRequest = /* @__PURE__ */ __name((input, context) => {
2423
+ return (0, import_smithy_client.take)(input, {
2424
+ MaxResults: import_core2._toNum,
2425
+ NextToken: import_core2._toStr,
2426
+ QueueUrl: import_core2._toStr
2427
+ });
2428
+ }, "se_ListDeadLetterSourceQueuesRequest");
2429
+ var se_ListMessageMoveTasksRequest = /* @__PURE__ */ __name((input, context) => {
2430
+ return (0, import_smithy_client.take)(input, {
2431
+ MaxResults: import_core2._toNum,
2432
+ SourceArn: import_core2._toStr
2433
+ });
2434
+ }, "se_ListMessageMoveTasksRequest");
2435
+ var se_ListQueuesRequest = /* @__PURE__ */ __name((input, context) => {
2436
+ return (0, import_smithy_client.take)(input, {
2437
+ MaxResults: import_core2._toNum,
2438
+ NextToken: import_core2._toStr,
2439
+ QueueNamePrefix: import_core2._toStr
2440
+ });
2441
+ }, "se_ListQueuesRequest");
2442
+ var se_ListQueueTagsRequest = /* @__PURE__ */ __name((input, context) => {
2443
+ return (0, import_smithy_client.take)(input, {
2444
+ QueueUrl: import_core2._toStr
2445
+ });
2446
+ }, "se_ListQueueTagsRequest");
2447
+ var se_MessageAttributeNameList = /* @__PURE__ */ __name((input, context) => {
2448
+ return input.filter((e) => e != null).map((entry) => {
2449
+ return (0, import_core2._toStr)(entry);
2450
+ });
2451
+ }, "se_MessageAttributeNameList");
2452
+ var se_MessageAttributeValue = /* @__PURE__ */ __name((input, context) => {
2453
+ return (0, import_smithy_client.take)(input, {
2454
+ BinaryListValues: (_) => se_BinaryList(_, context),
2455
+ BinaryValue: context.base64Encoder,
2456
+ DataType: import_core2._toStr,
2457
+ StringListValues: (_) => se_StringList(_, context),
2458
+ StringValue: import_core2._toStr
2459
+ });
2460
+ }, "se_MessageAttributeValue");
2461
+ var se_MessageBodyAttributeMap = /* @__PURE__ */ __name((input, context) => {
2462
+ return Object.entries(input).reduce((acc, [key, value]) => {
2463
+ if (value === null) {
2464
+ return acc;
2465
+ }
2466
+ acc[key] = se_MessageAttributeValue(value, context);
2467
+ return acc;
2468
+ }, {});
2469
+ }, "se_MessageBodyAttributeMap");
2470
+ var se_MessageBodySystemAttributeMap = /* @__PURE__ */ __name((input, context) => {
2471
+ return Object.entries(input).reduce(
2472
+ (acc, [key, value]) => {
2473
+ if (value === null) {
2474
+ return acc;
2475
+ }
2476
+ acc[key] = se_MessageSystemAttributeValue(value, context);
2477
+ return acc;
2478
+ },
2479
+ {}
2480
+ );
2481
+ }, "se_MessageBodySystemAttributeMap");
2482
+ var se_MessageSystemAttributeValue = /* @__PURE__ */ __name((input, context) => {
2483
+ return (0, import_smithy_client.take)(input, {
2484
+ BinaryListValues: (_) => se_BinaryList(_, context),
2485
+ BinaryValue: context.base64Encoder,
2486
+ DataType: import_core2._toStr,
2487
+ StringListValues: (_) => se_StringList(_, context),
2488
+ StringValue: import_core2._toStr
2489
+ });
2490
+ }, "se_MessageSystemAttributeValue");
2491
+ var se_PurgeQueueRequest = /* @__PURE__ */ __name((input, context) => {
2492
+ return (0, import_smithy_client.take)(input, {
2493
+ QueueUrl: import_core2._toStr
2494
+ });
2495
+ }, "se_PurgeQueueRequest");
2496
+ var se_QueueAttributeMap = /* @__PURE__ */ __name((input, context) => {
2497
+ return Object.entries(input).reduce((acc, [key, value]) => {
2498
+ if (value === null) {
2499
+ return acc;
2500
+ }
2501
+ acc[key] = (0, import_core2._toStr)(value);
2502
+ return acc;
2503
+ }, {});
2504
+ }, "se_QueueAttributeMap");
2505
+ var se_ReceiveMessageRequest = /* @__PURE__ */ __name((input, context) => {
2506
+ return (0, import_smithy_client.take)(input, {
2507
+ AttributeNames: (_) => se_AttributeNameList(_, context),
2508
+ MaxNumberOfMessages: import_core2._toNum,
2509
+ MessageAttributeNames: (_) => se_MessageAttributeNameList(_, context),
2510
+ QueueUrl: import_core2._toStr,
2511
+ ReceiveRequestAttemptId: import_core2._toStr,
2512
+ VisibilityTimeout: import_core2._toNum,
2513
+ WaitTimeSeconds: import_core2._toNum
2514
+ });
2515
+ }, "se_ReceiveMessageRequest");
2516
+ var se_RemovePermissionRequest = /* @__PURE__ */ __name((input, context) => {
2517
+ return (0, import_smithy_client.take)(input, {
2518
+ Label: import_core2._toStr,
2519
+ QueueUrl: import_core2._toStr
2520
+ });
2521
+ }, "se_RemovePermissionRequest");
2522
+ var se_SendMessageBatchRequest = /* @__PURE__ */ __name((input, context) => {
2523
+ return (0, import_smithy_client.take)(input, {
2524
+ Entries: (_) => se_SendMessageBatchRequestEntryList(_, context),
2525
+ QueueUrl: import_core2._toStr
2526
+ });
2527
+ }, "se_SendMessageBatchRequest");
2528
+ var se_SendMessageBatchRequestEntry = /* @__PURE__ */ __name((input, context) => {
2529
+ return (0, import_smithy_client.take)(input, {
2530
+ DelaySeconds: import_core2._toNum,
2531
+ Id: import_core2._toStr,
2532
+ MessageAttributes: (_) => se_MessageBodyAttributeMap(_, context),
2533
+ MessageBody: import_core2._toStr,
2534
+ MessageDeduplicationId: import_core2._toStr,
2535
+ MessageGroupId: import_core2._toStr,
2536
+ MessageSystemAttributes: (_) => se_MessageBodySystemAttributeMap(_, context)
2537
+ });
2538
+ }, "se_SendMessageBatchRequestEntry");
2539
+ var se_SendMessageBatchRequestEntryList = /* @__PURE__ */ __name((input, context) => {
2540
+ return input.filter((e) => e != null).map((entry) => {
2541
+ return se_SendMessageBatchRequestEntry(entry, context);
2542
+ });
2543
+ }, "se_SendMessageBatchRequestEntryList");
2544
+ var se_SendMessageRequest = /* @__PURE__ */ __name((input, context) => {
2545
+ return (0, import_smithy_client.take)(input, {
2546
+ DelaySeconds: import_core2._toNum,
2547
+ MessageAttributes: (_) => se_MessageBodyAttributeMap(_, context),
2548
+ MessageBody: import_core2._toStr,
2549
+ MessageDeduplicationId: import_core2._toStr,
2550
+ MessageGroupId: import_core2._toStr,
2551
+ MessageSystemAttributes: (_) => se_MessageBodySystemAttributeMap(_, context),
2552
+ QueueUrl: import_core2._toStr
2553
+ });
2554
+ }, "se_SendMessageRequest");
2555
+ var se_SetQueueAttributesRequest = /* @__PURE__ */ __name((input, context) => {
2556
+ return (0, import_smithy_client.take)(input, {
2557
+ Attributes: (_) => se_QueueAttributeMap(_, context),
2558
+ QueueUrl: import_core2._toStr
2559
+ });
2560
+ }, "se_SetQueueAttributesRequest");
2561
+ var se_StartMessageMoveTaskRequest = /* @__PURE__ */ __name((input, context) => {
2562
+ return (0, import_smithy_client.take)(input, {
2563
+ DestinationArn: import_core2._toStr,
2564
+ MaxNumberOfMessagesPerSecond: import_core2._toNum,
2565
+ SourceArn: import_core2._toStr
2566
+ });
2567
+ }, "se_StartMessageMoveTaskRequest");
2568
+ var se_StringList = /* @__PURE__ */ __name((input, context) => {
2569
+ return input.filter((e) => e != null).map((entry) => {
2570
+ return (0, import_core2._toStr)(entry);
2571
+ });
2572
+ }, "se_StringList");
2573
+ var se_TagKeyList = /* @__PURE__ */ __name((input, context) => {
2574
+ return input.filter((e) => e != null).map((entry) => {
2575
+ return (0, import_core2._toStr)(entry);
2576
+ });
2577
+ }, "se_TagKeyList");
2578
+ var se_TagMap = /* @__PURE__ */ __name((input, context) => {
2579
+ return Object.entries(input).reduce((acc, [key, value]) => {
2580
+ if (value === null) {
2581
+ return acc;
2582
+ }
2583
+ acc[key] = (0, import_core2._toStr)(value);
2584
+ return acc;
2585
+ }, {});
2586
+ }, "se_TagMap");
2587
+ var se_TagQueueRequest = /* @__PURE__ */ __name((input, context) => {
2588
+ return (0, import_smithy_client.take)(input, {
2589
+ QueueUrl: import_core2._toStr,
2590
+ Tags: (_) => se_TagMap(_, context)
2591
+ });
2592
+ }, "se_TagQueueRequest");
2593
+ var se_UntagQueueRequest = /* @__PURE__ */ __name((input, context) => {
2594
+ return (0, import_smithy_client.take)(input, {
2595
+ QueueUrl: import_core2._toStr,
2596
+ TagKeys: (_) => se_TagKeyList(_, context)
2597
+ });
2598
+ }, "se_UntagQueueRequest");
2599
+ var de_BinaryList = /* @__PURE__ */ __name((output, context) => {
2600
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
2601
+ return context.base64Decoder(entry);
2602
+ });
2603
+ return retVal;
2604
+ }, "de_BinaryList");
2605
+ var de_Message = /* @__PURE__ */ __name((output, context) => {
2606
+ return (0, import_smithy_client.take)(output, {
2607
+ Attributes: import_smithy_client._json,
2608
+ Body: import_smithy_client.expectString,
2609
+ MD5OfBody: import_smithy_client.expectString,
2610
+ MD5OfMessageAttributes: import_smithy_client.expectString,
2611
+ MessageAttributes: (_) => de_MessageBodyAttributeMap(_, context),
2612
+ MessageId: import_smithy_client.expectString,
2613
+ ReceiptHandle: import_smithy_client.expectString
2614
+ });
2615
+ }, "de_Message");
2616
+ var de_MessageAttributeValue = /* @__PURE__ */ __name((output, context) => {
2617
+ return (0, import_smithy_client.take)(output, {
2618
+ BinaryListValues: (_) => de_BinaryList(_, context),
2619
+ BinaryValue: context.base64Decoder,
2620
+ DataType: import_smithy_client.expectString,
2621
+ StringListValues: import_smithy_client._json,
2622
+ StringValue: import_smithy_client.expectString
2623
+ });
2624
+ }, "de_MessageAttributeValue");
2625
+ var de_MessageBodyAttributeMap = /* @__PURE__ */ __name((output, context) => {
2626
+ return Object.entries(output).reduce((acc, [key, value]) => {
2627
+ if (value === null) {
2628
+ return acc;
2629
+ }
2630
+ acc[key] = de_MessageAttributeValue(value, context);
2631
+ return acc;
2632
+ }, {});
2633
+ }, "de_MessageBodyAttributeMap");
2634
+ var de_MessageList = /* @__PURE__ */ __name((output, context) => {
2635
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
2636
+ return de_Message(entry, context);
2637
+ });
2638
+ return retVal;
2639
+ }, "de_MessageList");
2640
+ var de_ReceiveMessageResult = /* @__PURE__ */ __name((output, context) => {
2641
+ return (0, import_smithy_client.take)(output, {
2642
+ Messages: (_) => de_MessageList(_, context)
2643
+ });
2644
+ }, "de_ReceiveMessageResult");
2645
+ var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
2646
+ httpStatusCode: output.statusCode,
2647
+ requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
2648
+ extendedRequestId: output.headers["x-amz-id-2"],
2649
+ cfId: output.headers["x-amz-cf-id"]
2650
+ }), "deserializeMetadata");
2651
+ var collectBodyString = /* @__PURE__ */ __name((streamBody, context) => (0, import_smithy_client.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body)), "collectBodyString");
2652
+ var throwDefaultError = (0, import_smithy_client.withBaseException)(SQSServiceException);
2653
+ var buildHttpRpcRequest = /* @__PURE__ */ __name(async (context, headers, path, resolvedHostname, body) => {
2654
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
2655
+ const contents = {
2656
+ protocol,
2657
+ hostname,
2658
+ port,
2659
+ method: "POST",
2660
+ path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
2661
+ headers
2662
+ };
2663
+ if (resolvedHostname !== void 0) {
2664
+ contents.hostname = resolvedHostname;
2665
+ }
2666
+ if (body !== void 0) {
2667
+ contents.body = body;
2668
+ }
2669
+ return new import_protocol_http.HttpRequest(contents);
2670
+ }, "buildHttpRpcRequest");
2671
+ function sharedHeaders(operation) {
2672
+ return {
2673
+ "content-type": "application/x-amz-json-1.0",
2674
+ "x-amz-target": `AmazonSQS.${operation}`
2675
+ };
2676
+ }
2677
+ __name(sharedHeaders, "sharedHeaders");
2678
+ var parseBody = /* @__PURE__ */ __name((streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
2679
+ if (encoded.length) {
2680
+ return JSON.parse(encoded);
2681
+ }
2682
+ return {};
2683
+ }), "parseBody");
2684
+ var parseErrorBody = /* @__PURE__ */ __name(async (errorBody, context) => {
2685
+ const value = await parseBody(errorBody, context);
2686
+ value.message = value.message ?? value.Message;
2687
+ return value;
2688
+ }, "parseErrorBody");
2689
+ var loadRestJsonErrorCode = /* @__PURE__ */ __name((output, data) => {
2690
+ const findKey = /* @__PURE__ */ __name((object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase()), "findKey");
2691
+ const sanitizeErrorCode = /* @__PURE__ */ __name((rawValue) => {
2692
+ let cleanValue = rawValue;
2693
+ if (typeof cleanValue === "number") {
2694
+ cleanValue = cleanValue.toString();
2695
+ }
2696
+ if (cleanValue.indexOf(",") >= 0) {
2697
+ cleanValue = cleanValue.split(",")[0];
2698
+ }
2699
+ if (cleanValue.indexOf(":") >= 0) {
2700
+ cleanValue = cleanValue.split(":")[0];
2701
+ }
2702
+ if (cleanValue.indexOf("#") >= 0) {
2703
+ cleanValue = cleanValue.split("#")[1];
2704
+ }
2705
+ return cleanValue;
2706
+ }, "sanitizeErrorCode");
2707
+ const headerKey = findKey(output.headers, "x-amzn-errortype");
2708
+ if (headerKey !== void 0) {
2709
+ return sanitizeErrorCode(output.headers[headerKey]);
2710
+ }
2711
+ if (data.code !== void 0) {
2712
+ return sanitizeErrorCode(data.code);
2713
+ }
2714
+ if (data["__type"] !== void 0) {
2715
+ return sanitizeErrorCode(data["__type"]);
2716
+ }
2717
+ }, "loadRestJsonErrorCode");
2718
+ var populateBodyWithQueryCompatibility = /* @__PURE__ */ __name((parsedOutput, headers) => {
2719
+ const queryErrorHeader = headers["x-amzn-query-error"];
2720
+ if (parsedOutput.body !== void 0 && queryErrorHeader != null) {
2721
+ const codeAndType = queryErrorHeader.split(";");
2722
+ parsedOutput.body.Code = codeAndType[0];
2723
+ parsedOutput.body.Type = codeAndType[1];
2724
+ }
2725
+ }, "populateBodyWithQueryCompatibility");
2726
+
2727
+ // src/commands/AddPermissionCommand.ts
2728
+ var _AddPermissionCommand = class _AddPermissionCommand extends import_smithy_client.Command.classBuilder().ep({
2729
+ ...commonParams
2730
+ }).m(function(Command, cs, config, o) {
2731
+ return [
2732
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2733
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2734
+ ];
2735
+ }).s("AmazonSQS", "AddPermission", {}).n("SQSClient", "AddPermissionCommand").f(void 0, void 0).ser(se_AddPermissionCommand).de(de_AddPermissionCommand).build() {
2736
+ };
2737
+ __name(_AddPermissionCommand, "AddPermissionCommand");
2738
+ var AddPermissionCommand = _AddPermissionCommand;
2739
+
2740
+ // src/commands/CancelMessageMoveTaskCommand.ts
2741
+
2742
+
2743
+
2744
+
2745
+ var _CancelMessageMoveTaskCommand = class _CancelMessageMoveTaskCommand extends import_smithy_client.Command.classBuilder().ep({
2746
+ ...commonParams
2747
+ }).m(function(Command, cs, config, o) {
2748
+ return [
2749
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2750
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2751
+ ];
2752
+ }).s("AmazonSQS", "CancelMessageMoveTask", {}).n("SQSClient", "CancelMessageMoveTaskCommand").f(void 0, void 0).ser(se_CancelMessageMoveTaskCommand).de(de_CancelMessageMoveTaskCommand).build() {
2753
+ };
2754
+ __name(_CancelMessageMoveTaskCommand, "CancelMessageMoveTaskCommand");
2755
+ var CancelMessageMoveTaskCommand = _CancelMessageMoveTaskCommand;
2756
+
2757
+ // src/commands/ChangeMessageVisibilityBatchCommand.ts
2758
+
2759
+
2760
+
2761
+
2762
+ var _ChangeMessageVisibilityBatchCommand = class _ChangeMessageVisibilityBatchCommand extends import_smithy_client.Command.classBuilder().ep({
2763
+ ...commonParams
2764
+ }).m(function(Command, cs, config, o) {
2765
+ return [
2766
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2767
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2768
+ ];
2769
+ }).s("AmazonSQS", "ChangeMessageVisibilityBatch", {}).n("SQSClient", "ChangeMessageVisibilityBatchCommand").f(void 0, void 0).ser(se_ChangeMessageVisibilityBatchCommand).de(de_ChangeMessageVisibilityBatchCommand).build() {
2770
+ };
2771
+ __name(_ChangeMessageVisibilityBatchCommand, "ChangeMessageVisibilityBatchCommand");
2772
+ var ChangeMessageVisibilityBatchCommand = _ChangeMessageVisibilityBatchCommand;
2773
+
2774
+ // src/commands/ChangeMessageVisibilityCommand.ts
2775
+
2776
+
2777
+
2778
+
2779
+ var _ChangeMessageVisibilityCommand = class _ChangeMessageVisibilityCommand extends import_smithy_client.Command.classBuilder().ep({
2780
+ ...commonParams
2781
+ }).m(function(Command, cs, config, o) {
2782
+ return [
2783
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2784
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2785
+ ];
2786
+ }).s("AmazonSQS", "ChangeMessageVisibility", {}).n("SQSClient", "ChangeMessageVisibilityCommand").f(void 0, void 0).ser(se_ChangeMessageVisibilityCommand).de(de_ChangeMessageVisibilityCommand).build() {
2787
+ };
2788
+ __name(_ChangeMessageVisibilityCommand, "ChangeMessageVisibilityCommand");
2789
+ var ChangeMessageVisibilityCommand = _ChangeMessageVisibilityCommand;
2790
+
2791
+ // src/commands/CreateQueueCommand.ts
2792
+
2793
+
2794
+
2795
+
2796
+ var _CreateQueueCommand = class _CreateQueueCommand extends import_smithy_client.Command.classBuilder().ep({
2797
+ ...commonParams
2798
+ }).m(function(Command, cs, config, o) {
2799
+ return [
2800
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2801
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2802
+ ];
2803
+ }).s("AmazonSQS", "CreateQueue", {}).n("SQSClient", "CreateQueueCommand").f(void 0, void 0).ser(se_CreateQueueCommand).de(de_CreateQueueCommand).build() {
2804
+ };
2805
+ __name(_CreateQueueCommand, "CreateQueueCommand");
2806
+ var CreateQueueCommand = _CreateQueueCommand;
2807
+
2808
+ // src/commands/DeleteMessageBatchCommand.ts
2809
+
2810
+
2811
+
2812
+
2813
+ var _DeleteMessageBatchCommand = class _DeleteMessageBatchCommand extends import_smithy_client.Command.classBuilder().ep({
2814
+ ...commonParams
2815
+ }).m(function(Command, cs, config, o) {
2816
+ return [
2817
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2818
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2819
+ ];
2820
+ }).s("AmazonSQS", "DeleteMessageBatch", {}).n("SQSClient", "DeleteMessageBatchCommand").f(void 0, void 0).ser(se_DeleteMessageBatchCommand).de(de_DeleteMessageBatchCommand).build() {
2821
+ };
2822
+ __name(_DeleteMessageBatchCommand, "DeleteMessageBatchCommand");
2823
+ var DeleteMessageBatchCommand = _DeleteMessageBatchCommand;
2824
+
2825
+ // src/commands/DeleteMessageCommand.ts
2826
+
2827
+
2828
+
2829
+
2830
+ var _DeleteMessageCommand = class _DeleteMessageCommand extends import_smithy_client.Command.classBuilder().ep({
2831
+ ...commonParams
2832
+ }).m(function(Command, cs, config, o) {
2833
+ return [
2834
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2835
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2836
+ ];
2837
+ }).s("AmazonSQS", "DeleteMessage", {}).n("SQSClient", "DeleteMessageCommand").f(void 0, void 0).ser(se_DeleteMessageCommand).de(de_DeleteMessageCommand).build() {
2838
+ };
2839
+ __name(_DeleteMessageCommand, "DeleteMessageCommand");
2840
+ var DeleteMessageCommand = _DeleteMessageCommand;
2841
+
2842
+ // src/commands/DeleteQueueCommand.ts
2843
+
2844
+
2845
+
2846
+
2847
+ var _DeleteQueueCommand = class _DeleteQueueCommand extends import_smithy_client.Command.classBuilder().ep({
2848
+ ...commonParams
2849
+ }).m(function(Command, cs, config, o) {
2850
+ return [
2851
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2852
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2853
+ ];
2854
+ }).s("AmazonSQS", "DeleteQueue", {}).n("SQSClient", "DeleteQueueCommand").f(void 0, void 0).ser(se_DeleteQueueCommand).de(de_DeleteQueueCommand).build() {
2855
+ };
2856
+ __name(_DeleteQueueCommand, "DeleteQueueCommand");
2857
+ var DeleteQueueCommand = _DeleteQueueCommand;
2858
+
2859
+ // src/commands/GetQueueAttributesCommand.ts
2860
+
2861
+
2862
+
2863
+
2864
+ var _GetQueueAttributesCommand = class _GetQueueAttributesCommand extends import_smithy_client.Command.classBuilder().ep({
2865
+ ...commonParams
2866
+ }).m(function(Command, cs, config, o) {
2867
+ return [
2868
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2869
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2870
+ ];
2871
+ }).s("AmazonSQS", "GetQueueAttributes", {}).n("SQSClient", "GetQueueAttributesCommand").f(void 0, void 0).ser(se_GetQueueAttributesCommand).de(de_GetQueueAttributesCommand).build() {
2872
+ };
2873
+ __name(_GetQueueAttributesCommand, "GetQueueAttributesCommand");
2874
+ var GetQueueAttributesCommand = _GetQueueAttributesCommand;
2875
+
2876
+ // src/commands/GetQueueUrlCommand.ts
2877
+
2878
+
2879
+
2880
+
2881
+ var _GetQueueUrlCommand = class _GetQueueUrlCommand extends import_smithy_client.Command.classBuilder().ep({
2882
+ ...commonParams
2883
+ }).m(function(Command, cs, config, o) {
2884
+ return [
2885
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2886
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2887
+ ];
2888
+ }).s("AmazonSQS", "GetQueueUrl", {}).n("SQSClient", "GetQueueUrlCommand").f(void 0, void 0).ser(se_GetQueueUrlCommand).de(de_GetQueueUrlCommand).build() {
2889
+ };
2890
+ __name(_GetQueueUrlCommand, "GetQueueUrlCommand");
2891
+ var GetQueueUrlCommand = _GetQueueUrlCommand;
2892
+
2893
+ // src/commands/ListDeadLetterSourceQueuesCommand.ts
2894
+
2895
+
2896
+
2897
+
2898
+ var _ListDeadLetterSourceQueuesCommand = class _ListDeadLetterSourceQueuesCommand extends import_smithy_client.Command.classBuilder().ep({
2899
+ ...commonParams
2900
+ }).m(function(Command, cs, config, o) {
2901
+ return [
2902
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2903
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2904
+ ];
2905
+ }).s("AmazonSQS", "ListDeadLetterSourceQueues", {}).n("SQSClient", "ListDeadLetterSourceQueuesCommand").f(void 0, void 0).ser(se_ListDeadLetterSourceQueuesCommand).de(de_ListDeadLetterSourceQueuesCommand).build() {
2906
+ };
2907
+ __name(_ListDeadLetterSourceQueuesCommand, "ListDeadLetterSourceQueuesCommand");
2908
+ var ListDeadLetterSourceQueuesCommand = _ListDeadLetterSourceQueuesCommand;
2909
+
2910
+ // src/commands/ListMessageMoveTasksCommand.ts
2911
+
2912
+
2913
+
2914
+
2915
+ var _ListMessageMoveTasksCommand = class _ListMessageMoveTasksCommand extends import_smithy_client.Command.classBuilder().ep({
2916
+ ...commonParams
2917
+ }).m(function(Command, cs, config, o) {
2918
+ return [
2919
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2920
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2921
+ ];
2922
+ }).s("AmazonSQS", "ListMessageMoveTasks", {}).n("SQSClient", "ListMessageMoveTasksCommand").f(void 0, void 0).ser(se_ListMessageMoveTasksCommand).de(de_ListMessageMoveTasksCommand).build() {
2923
+ };
2924
+ __name(_ListMessageMoveTasksCommand, "ListMessageMoveTasksCommand");
2925
+ var ListMessageMoveTasksCommand = _ListMessageMoveTasksCommand;
2926
+
2927
+ // src/commands/ListQueuesCommand.ts
2928
+
2929
+
2930
+
2931
+
2932
+ var _ListQueuesCommand = class _ListQueuesCommand extends import_smithy_client.Command.classBuilder().ep({
2933
+ ...commonParams
2934
+ }).m(function(Command, cs, config, o) {
2935
+ return [
2936
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2937
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2938
+ ];
2939
+ }).s("AmazonSQS", "ListQueues", {}).n("SQSClient", "ListQueuesCommand").f(void 0, void 0).ser(se_ListQueuesCommand).de(de_ListQueuesCommand).build() {
2940
+ };
2941
+ __name(_ListQueuesCommand, "ListQueuesCommand");
2942
+ var ListQueuesCommand = _ListQueuesCommand;
2943
+
2944
+ // src/commands/ListQueueTagsCommand.ts
2945
+
2946
+
2947
+
2948
+
2949
+ var _ListQueueTagsCommand = class _ListQueueTagsCommand extends import_smithy_client.Command.classBuilder().ep({
2950
+ ...commonParams
2951
+ }).m(function(Command, cs, config, o) {
2952
+ return [
2953
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2954
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2955
+ ];
2956
+ }).s("AmazonSQS", "ListQueueTags", {}).n("SQSClient", "ListQueueTagsCommand").f(void 0, void 0).ser(se_ListQueueTagsCommand).de(de_ListQueueTagsCommand).build() {
2957
+ };
2958
+ __name(_ListQueueTagsCommand, "ListQueueTagsCommand");
2959
+ var ListQueueTagsCommand = _ListQueueTagsCommand;
2960
+
2961
+ // src/commands/PurgeQueueCommand.ts
2962
+
2963
+
2964
+
2965
+
2966
+ var _PurgeQueueCommand = class _PurgeQueueCommand extends import_smithy_client.Command.classBuilder().ep({
2967
+ ...commonParams
2968
+ }).m(function(Command, cs, config, o) {
2969
+ return [
2970
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2971
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2972
+ ];
2973
+ }).s("AmazonSQS", "PurgeQueue", {}).n("SQSClient", "PurgeQueueCommand").f(void 0, void 0).ser(se_PurgeQueueCommand).de(de_PurgeQueueCommand).build() {
2974
+ };
2975
+ __name(_PurgeQueueCommand, "PurgeQueueCommand");
2976
+ var PurgeQueueCommand = _PurgeQueueCommand;
2977
+
2978
+ // src/commands/ReceiveMessageCommand.ts
2979
+ var import_middleware_sdk_sqs = require("@aws-sdk/middleware-sdk-sqs");
2980
+
2981
+
2982
+
2983
+
2984
+ var _ReceiveMessageCommand = class _ReceiveMessageCommand extends import_smithy_client.Command.classBuilder().ep({
2985
+ ...commonParams
2986
+ }).m(function(Command, cs, config, o) {
2987
+ return [
2988
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2989
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
2990
+ (0, import_middleware_sdk_sqs.getReceiveMessagePlugin)(config)
2991
+ ];
2992
+ }).s("AmazonSQS", "ReceiveMessage", {}).n("SQSClient", "ReceiveMessageCommand").f(void 0, void 0).ser(se_ReceiveMessageCommand).de(de_ReceiveMessageCommand).build() {
2993
+ };
2994
+ __name(_ReceiveMessageCommand, "ReceiveMessageCommand");
2995
+ var ReceiveMessageCommand = _ReceiveMessageCommand;
2996
+
2997
+ // src/commands/RemovePermissionCommand.ts
2998
+
2999
+
3000
+
3001
+
3002
+ var _RemovePermissionCommand = class _RemovePermissionCommand extends import_smithy_client.Command.classBuilder().ep({
3003
+ ...commonParams
3004
+ }).m(function(Command, cs, config, o) {
3005
+ return [
3006
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3007
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3008
+ ];
3009
+ }).s("AmazonSQS", "RemovePermission", {}).n("SQSClient", "RemovePermissionCommand").f(void 0, void 0).ser(se_RemovePermissionCommand).de(de_RemovePermissionCommand).build() {
3010
+ };
3011
+ __name(_RemovePermissionCommand, "RemovePermissionCommand");
3012
+ var RemovePermissionCommand = _RemovePermissionCommand;
3013
+
3014
+ // src/commands/SendMessageBatchCommand.ts
3015
+
3016
+
3017
+
3018
+
3019
+
3020
+ var _SendMessageBatchCommand = class _SendMessageBatchCommand extends import_smithy_client.Command.classBuilder().ep({
3021
+ ...commonParams
3022
+ }).m(function(Command, cs, config, o) {
3023
+ return [
3024
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3025
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
3026
+ (0, import_middleware_sdk_sqs.getSendMessageBatchPlugin)(config)
3027
+ ];
3028
+ }).s("AmazonSQS", "SendMessageBatch", {}).n("SQSClient", "SendMessageBatchCommand").f(void 0, void 0).ser(se_SendMessageBatchCommand).de(de_SendMessageBatchCommand).build() {
3029
+ };
3030
+ __name(_SendMessageBatchCommand, "SendMessageBatchCommand");
3031
+ var SendMessageBatchCommand = _SendMessageBatchCommand;
3032
+
3033
+ // src/commands/SendMessageCommand.ts
3034
+
3035
+
3036
+
3037
+
3038
+
3039
+ var _SendMessageCommand = class _SendMessageCommand extends import_smithy_client.Command.classBuilder().ep({
3040
+ ...commonParams
3041
+ }).m(function(Command, cs, config, o) {
3042
+ return [
3043
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3044
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
3045
+ (0, import_middleware_sdk_sqs.getSendMessagePlugin)(config)
3046
+ ];
3047
+ }).s("AmazonSQS", "SendMessage", {}).n("SQSClient", "SendMessageCommand").f(void 0, void 0).ser(se_SendMessageCommand).de(de_SendMessageCommand).build() {
3048
+ };
3049
+ __name(_SendMessageCommand, "SendMessageCommand");
3050
+ var SendMessageCommand = _SendMessageCommand;
3051
+
3052
+ // src/commands/SetQueueAttributesCommand.ts
3053
+
3054
+
3055
+
3056
+
3057
+ var _SetQueueAttributesCommand = class _SetQueueAttributesCommand extends import_smithy_client.Command.classBuilder().ep({
3058
+ ...commonParams
3059
+ }).m(function(Command, cs, config, o) {
3060
+ return [
3061
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3062
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3063
+ ];
3064
+ }).s("AmazonSQS", "SetQueueAttributes", {}).n("SQSClient", "SetQueueAttributesCommand").f(void 0, void 0).ser(se_SetQueueAttributesCommand).de(de_SetQueueAttributesCommand).build() {
3065
+ };
3066
+ __name(_SetQueueAttributesCommand, "SetQueueAttributesCommand");
3067
+ var SetQueueAttributesCommand = _SetQueueAttributesCommand;
3068
+
3069
+ // src/commands/StartMessageMoveTaskCommand.ts
3070
+
3071
+
3072
+
3073
+
3074
+ var _StartMessageMoveTaskCommand = class _StartMessageMoveTaskCommand extends import_smithy_client.Command.classBuilder().ep({
3075
+ ...commonParams
3076
+ }).m(function(Command, cs, config, o) {
3077
+ return [
3078
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3079
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3080
+ ];
3081
+ }).s("AmazonSQS", "StartMessageMoveTask", {}).n("SQSClient", "StartMessageMoveTaskCommand").f(void 0, void 0).ser(se_StartMessageMoveTaskCommand).de(de_StartMessageMoveTaskCommand).build() {
3082
+ };
3083
+ __name(_StartMessageMoveTaskCommand, "StartMessageMoveTaskCommand");
3084
+ var StartMessageMoveTaskCommand = _StartMessageMoveTaskCommand;
3085
+
3086
+ // src/commands/TagQueueCommand.ts
3087
+
3088
+
3089
+
3090
+
3091
+ var _TagQueueCommand = class _TagQueueCommand extends import_smithy_client.Command.classBuilder().ep({
3092
+ ...commonParams
3093
+ }).m(function(Command, cs, config, o) {
3094
+ return [
3095
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3096
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3097
+ ];
3098
+ }).s("AmazonSQS", "TagQueue", {}).n("SQSClient", "TagQueueCommand").f(void 0, void 0).ser(se_TagQueueCommand).de(de_TagQueueCommand).build() {
3099
+ };
3100
+ __name(_TagQueueCommand, "TagQueueCommand");
3101
+ var TagQueueCommand = _TagQueueCommand;
3102
+
3103
+ // src/commands/UntagQueueCommand.ts
3104
+
3105
+
3106
+
3107
+
3108
+ var _UntagQueueCommand = class _UntagQueueCommand extends import_smithy_client.Command.classBuilder().ep({
3109
+ ...commonParams
3110
+ }).m(function(Command, cs, config, o) {
3111
+ return [
3112
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3113
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3114
+ ];
3115
+ }).s("AmazonSQS", "UntagQueue", {}).n("SQSClient", "UntagQueueCommand").f(void 0, void 0).ser(se_UntagQueueCommand).de(de_UntagQueueCommand).build() {
3116
+ };
3117
+ __name(_UntagQueueCommand, "UntagQueueCommand");
3118
+ var UntagQueueCommand = _UntagQueueCommand;
3119
+
3120
+ // src/SQS.ts
3121
+ var commands = {
3122
+ AddPermissionCommand,
3123
+ CancelMessageMoveTaskCommand,
3124
+ ChangeMessageVisibilityCommand,
3125
+ ChangeMessageVisibilityBatchCommand,
3126
+ CreateQueueCommand,
3127
+ DeleteMessageCommand,
3128
+ DeleteMessageBatchCommand,
3129
+ DeleteQueueCommand,
3130
+ GetQueueAttributesCommand,
3131
+ GetQueueUrlCommand,
3132
+ ListDeadLetterSourceQueuesCommand,
3133
+ ListMessageMoveTasksCommand,
3134
+ ListQueuesCommand,
3135
+ ListQueueTagsCommand,
3136
+ PurgeQueueCommand,
3137
+ ReceiveMessageCommand,
3138
+ RemovePermissionCommand,
3139
+ SendMessageCommand,
3140
+ SendMessageBatchCommand,
3141
+ SetQueueAttributesCommand,
3142
+ StartMessageMoveTaskCommand,
3143
+ TagQueueCommand,
3144
+ UntagQueueCommand
3145
+ };
3146
+ var _SQS = class _SQS extends SQSClient {
3147
+ };
3148
+ __name(_SQS, "SQS");
3149
+ var SQS = _SQS;
3150
+ (0, import_smithy_client.createAggregatedClient)(commands, SQS);
3151
+
3152
+ // src/pagination/ListDeadLetterSourceQueuesPaginator.ts
3153
+
3154
+ var paginateListDeadLetterSourceQueues = (0, import_core.createPaginator)(SQSClient, ListDeadLetterSourceQueuesCommand, "NextToken", "NextToken", "MaxResults");
3155
+
3156
+ // src/pagination/ListQueuesPaginator.ts
3157
+
3158
+ var paginateListQueues = (0, import_core.createPaginator)(SQSClient, ListQueuesCommand, "NextToken", "NextToken", "MaxResults");
3159
+
3160
+ // src/index.ts
3161
+ var import_util_endpoints = require("@aws-sdk/util-endpoints");
3162
+ // Annotate the CommonJS export names for ESM import in node:
3163
+ 0 && (module.exports = {
3164
+ AddPermissionCommand,
3165
+ BatchEntryIdsNotDistinct,
3166
+ BatchRequestTooLong,
3167
+ CancelMessageMoveTaskCommand,
3168
+ ChangeMessageVisibilityBatchCommand,
3169
+ ChangeMessageVisibilityCommand,
3170
+ CreateQueueCommand,
3171
+ DeleteMessageBatchCommand,
3172
+ DeleteMessageCommand,
3173
+ DeleteQueueCommand,
3174
+ EmptyBatchRequest,
3175
+ GetQueueAttributesCommand,
3176
+ GetQueueUrlCommand,
3177
+ InvalidAddress,
3178
+ InvalidAttributeName,
3179
+ InvalidAttributeValue,
3180
+ InvalidBatchEntryId,
3181
+ InvalidIdFormat,
3182
+ InvalidMessageContents,
3183
+ InvalidSecurity,
3184
+ KmsAccessDenied,
3185
+ KmsDisabled,
3186
+ KmsInvalidKeyUsage,
3187
+ KmsInvalidState,
3188
+ KmsNotFound,
3189
+ KmsOptInRequired,
3190
+ KmsThrottled,
3191
+ ListDeadLetterSourceQueuesCommand,
3192
+ ListMessageMoveTasksCommand,
3193
+ ListQueueTagsCommand,
3194
+ ListQueuesCommand,
3195
+ MessageNotInflight,
3196
+ MessageSystemAttributeName,
3197
+ MessageSystemAttributeNameForSends,
3198
+ OverLimit,
3199
+ PurgeQueueCommand,
3200
+ PurgeQueueInProgress,
3201
+ QueueAttributeName,
3202
+ QueueDeletedRecently,
3203
+ QueueDoesNotExist,
3204
+ QueueNameExists,
3205
+ ReceiptHandleIsInvalid,
3206
+ ReceiveMessageCommand,
3207
+ RemovePermissionCommand,
3208
+ RequestThrottled,
3209
+ ResourceNotFoundException,
3210
+ SQS,
3211
+ SQSClient,
3212
+ SQSServiceException,
3213
+ SendMessageBatchCommand,
3214
+ SendMessageCommand,
3215
+ SetQueueAttributesCommand,
3216
+ StartMessageMoveTaskCommand,
3217
+ TagQueueCommand,
3218
+ TooManyEntriesInBatchRequest,
3219
+ UnsupportedOperation,
3220
+ UntagQueueCommand,
3221
+ __Client,
3222
+ paginateListDeadLetterSourceQueues,
3223
+ paginateListQueues
3224
+ });