@aws-sdk/client-sqs 3.927.0 → 3.928.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 (44) hide show
  1. package/dist-cjs/index.js +1509 -1437
  2. package/dist-cjs/runtimeConfig.shared.js +7 -0
  3. package/dist-es/SQSClient.js +2 -0
  4. package/dist-es/commands/AddPermissionCommand.js +3 -9
  5. package/dist-es/commands/CancelMessageMoveTaskCommand.js +3 -9
  6. package/dist-es/commands/ChangeMessageVisibilityBatchCommand.js +3 -9
  7. package/dist-es/commands/ChangeMessageVisibilityCommand.js +3 -9
  8. package/dist-es/commands/CreateQueueCommand.js +3 -9
  9. package/dist-es/commands/DeleteMessageBatchCommand.js +3 -9
  10. package/dist-es/commands/DeleteMessageCommand.js +3 -9
  11. package/dist-es/commands/DeleteQueueCommand.js +3 -9
  12. package/dist-es/commands/GetQueueAttributesCommand.js +3 -9
  13. package/dist-es/commands/GetQueueUrlCommand.js +3 -9
  14. package/dist-es/commands/ListDeadLetterSourceQueuesCommand.js +3 -9
  15. package/dist-es/commands/ListMessageMoveTasksCommand.js +3 -9
  16. package/dist-es/commands/ListQueueTagsCommand.js +3 -9
  17. package/dist-es/commands/ListQueuesCommand.js +3 -9
  18. package/dist-es/commands/PurgeQueueCommand.js +3 -9
  19. package/dist-es/commands/ReceiveMessageCommand.js +3 -10
  20. package/dist-es/commands/RemovePermissionCommand.js +3 -9
  21. package/dist-es/commands/SendMessageBatchCommand.js +3 -10
  22. package/dist-es/commands/SendMessageCommand.js +3 -10
  23. package/dist-es/commands/SetQueueAttributesCommand.js +3 -9
  24. package/dist-es/commands/StartMessageMoveTaskCommand.js +3 -9
  25. package/dist-es/commands/TagQueueCommand.js +3 -9
  26. package/dist-es/commands/UntagQueueCommand.js +3 -9
  27. package/dist-es/runtimeConfig.shared.js +7 -0
  28. package/dist-es/schemas/schemas_0.js +1384 -0
  29. package/dist-types/SQSClient.d.ts +10 -1
  30. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  31. package/dist-types/runtimeConfig.d.ts +1 -0
  32. package/dist-types/runtimeConfig.native.d.ts +1 -0
  33. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  34. package/dist-types/schemas/schemas_0.d.ts +125 -0
  35. package/dist-types/ts3.4/SQSClient.d.ts +4 -0
  36. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  37. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  38. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  39. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  40. package/dist-types/ts3.4/schemas/schemas_0.d.ts +131 -0
  41. package/package.json +5 -5
  42. package/dist-es/protocols/Aws_json1_0.js +0 -1193
  43. package/dist-types/protocols/Aws_json1_0.d.ts +0 -209
  44. package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +0 -281
package/dist-cjs/index.js CHANGED
@@ -7,6 +7,7 @@ var middlewareSdkSqs = require('@aws-sdk/middleware-sdk-sqs');
7
7
  var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
8
8
  var configResolver = require('@smithy/config-resolver');
9
9
  var core = require('@smithy/core');
10
+ var schema = require('@smithy/core/schema');
10
11
  var middlewareContentLength = require('@smithy/middleware-content-length');
11
12
  var middlewareEndpoint = require('@smithy/middleware-endpoint');
12
13
  var middlewareRetry = require('@smithy/middleware-retry');
@@ -15,8 +16,6 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
15
16
  var runtimeConfig = require('./runtimeConfig');
16
17
  var regionConfigResolver = require('@aws-sdk/region-config-resolver');
17
18
  var protocolHttp = require('@smithy/protocol-http');
18
- var middlewareSerde = require('@smithy/middleware-serde');
19
- var core$1 = require('@aws-sdk/core');
20
19
 
21
20
  const resolveClientEndpointParameters = (options) => {
22
21
  return Object.assign(options, {
@@ -93,6 +92,7 @@ class SQSClient extends smithyClient.Client {
93
92
  const _config_8 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_7);
94
93
  const _config_9 = resolveRuntimeExtensions(_config_8, configuration?.extensions || []);
95
94
  this.config = _config_9;
95
+ this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
96
96
  this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
97
97
  this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
98
98
  this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
@@ -113,14 +113,14 @@ class SQSClient extends smithyClient.Client {
113
113
  }
114
114
  }
115
115
 
116
- class SQSServiceException extends smithyClient.ServiceException {
116
+ let SQSServiceException$1 = class SQSServiceException extends smithyClient.ServiceException {
117
117
  constructor(options) {
118
118
  super(options);
119
119
  Object.setPrototypeOf(this, SQSServiceException.prototype);
120
120
  }
121
- }
121
+ };
122
122
 
123
- class InvalidAddress extends SQSServiceException {
123
+ let InvalidAddress$1 = class InvalidAddress extends SQSServiceException$1 {
124
124
  name = "InvalidAddress";
125
125
  $fault = "client";
126
126
  constructor(opts) {
@@ -131,8 +131,8 @@ class InvalidAddress extends SQSServiceException {
131
131
  });
132
132
  Object.setPrototypeOf(this, InvalidAddress.prototype);
133
133
  }
134
- }
135
- class InvalidSecurity extends SQSServiceException {
134
+ };
135
+ let InvalidSecurity$1 = class InvalidSecurity extends SQSServiceException$1 {
136
136
  name = "InvalidSecurity";
137
137
  $fault = "client";
138
138
  constructor(opts) {
@@ -143,8 +143,8 @@ class InvalidSecurity extends SQSServiceException {
143
143
  });
144
144
  Object.setPrototypeOf(this, InvalidSecurity.prototype);
145
145
  }
146
- }
147
- class OverLimit extends SQSServiceException {
146
+ };
147
+ let OverLimit$1 = class OverLimit extends SQSServiceException$1 {
148
148
  name = "OverLimit";
149
149
  $fault = "client";
150
150
  constructor(opts) {
@@ -155,8 +155,8 @@ class OverLimit extends SQSServiceException {
155
155
  });
156
156
  Object.setPrototypeOf(this, OverLimit.prototype);
157
157
  }
158
- }
159
- class QueueDoesNotExist extends SQSServiceException {
158
+ };
159
+ let QueueDoesNotExist$1 = class QueueDoesNotExist extends SQSServiceException$1 {
160
160
  name = "QueueDoesNotExist";
161
161
  $fault = "client";
162
162
  constructor(opts) {
@@ -167,8 +167,8 @@ class QueueDoesNotExist extends SQSServiceException {
167
167
  });
168
168
  Object.setPrototypeOf(this, QueueDoesNotExist.prototype);
169
169
  }
170
- }
171
- class RequestThrottled extends SQSServiceException {
170
+ };
171
+ let RequestThrottled$1 = class RequestThrottled extends SQSServiceException$1 {
172
172
  name = "RequestThrottled";
173
173
  $fault = "client";
174
174
  constructor(opts) {
@@ -179,8 +179,8 @@ class RequestThrottled extends SQSServiceException {
179
179
  });
180
180
  Object.setPrototypeOf(this, RequestThrottled.prototype);
181
181
  }
182
- }
183
- class UnsupportedOperation extends SQSServiceException {
182
+ };
183
+ let UnsupportedOperation$1 = class UnsupportedOperation extends SQSServiceException$1 {
184
184
  name = "UnsupportedOperation";
185
185
  $fault = "client";
186
186
  constructor(opts) {
@@ -191,8 +191,8 @@ class UnsupportedOperation extends SQSServiceException {
191
191
  });
192
192
  Object.setPrototypeOf(this, UnsupportedOperation.prototype);
193
193
  }
194
- }
195
- class ResourceNotFoundException extends SQSServiceException {
194
+ };
195
+ let ResourceNotFoundException$1 = class ResourceNotFoundException extends SQSServiceException$1 {
196
196
  name = "ResourceNotFoundException";
197
197
  $fault = "client";
198
198
  constructor(opts) {
@@ -203,8 +203,8 @@ class ResourceNotFoundException extends SQSServiceException {
203
203
  });
204
204
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
205
205
  }
206
- }
207
- class MessageNotInflight extends SQSServiceException {
206
+ };
207
+ let MessageNotInflight$1 = class MessageNotInflight extends SQSServiceException$1 {
208
208
  name = "MessageNotInflight";
209
209
  $fault = "client";
210
210
  constructor(opts) {
@@ -215,8 +215,8 @@ class MessageNotInflight extends SQSServiceException {
215
215
  });
216
216
  Object.setPrototypeOf(this, MessageNotInflight.prototype);
217
217
  }
218
- }
219
- class ReceiptHandleIsInvalid extends SQSServiceException {
218
+ };
219
+ let ReceiptHandleIsInvalid$1 = class ReceiptHandleIsInvalid extends SQSServiceException$1 {
220
220
  name = "ReceiptHandleIsInvalid";
221
221
  $fault = "client";
222
222
  constructor(opts) {
@@ -227,8 +227,8 @@ class ReceiptHandleIsInvalid extends SQSServiceException {
227
227
  });
228
228
  Object.setPrototypeOf(this, ReceiptHandleIsInvalid.prototype);
229
229
  }
230
- }
231
- class BatchEntryIdsNotDistinct extends SQSServiceException {
230
+ };
231
+ let BatchEntryIdsNotDistinct$1 = class BatchEntryIdsNotDistinct extends SQSServiceException$1 {
232
232
  name = "BatchEntryIdsNotDistinct";
233
233
  $fault = "client";
234
234
  constructor(opts) {
@@ -239,8 +239,8 @@ class BatchEntryIdsNotDistinct extends SQSServiceException {
239
239
  });
240
240
  Object.setPrototypeOf(this, BatchEntryIdsNotDistinct.prototype);
241
241
  }
242
- }
243
- class EmptyBatchRequest extends SQSServiceException {
242
+ };
243
+ let EmptyBatchRequest$1 = class EmptyBatchRequest extends SQSServiceException$1 {
244
244
  name = "EmptyBatchRequest";
245
245
  $fault = "client";
246
246
  constructor(opts) {
@@ -251,8 +251,8 @@ class EmptyBatchRequest extends SQSServiceException {
251
251
  });
252
252
  Object.setPrototypeOf(this, EmptyBatchRequest.prototype);
253
253
  }
254
- }
255
- class InvalidBatchEntryId extends SQSServiceException {
254
+ };
255
+ let InvalidBatchEntryId$1 = class InvalidBatchEntryId extends SQSServiceException$1 {
256
256
  name = "InvalidBatchEntryId";
257
257
  $fault = "client";
258
258
  constructor(opts) {
@@ -263,8 +263,8 @@ class InvalidBatchEntryId extends SQSServiceException {
263
263
  });
264
264
  Object.setPrototypeOf(this, InvalidBatchEntryId.prototype);
265
265
  }
266
- }
267
- class TooManyEntriesInBatchRequest extends SQSServiceException {
266
+ };
267
+ let TooManyEntriesInBatchRequest$1 = class TooManyEntriesInBatchRequest extends SQSServiceException$1 {
268
268
  name = "TooManyEntriesInBatchRequest";
269
269
  $fault = "client";
270
270
  constructor(opts) {
@@ -275,7 +275,7 @@ class TooManyEntriesInBatchRequest extends SQSServiceException {
275
275
  });
276
276
  Object.setPrototypeOf(this, TooManyEntriesInBatchRequest.prototype);
277
277
  }
278
- }
278
+ };
279
279
  const QueueAttributeName = {
280
280
  All: "All",
281
281
  ApproximateNumberOfMessages: "ApproximateNumberOfMessages",
@@ -300,7 +300,7 @@ const QueueAttributeName = {
300
300
  SqsManagedSseEnabled: "SqsManagedSseEnabled",
301
301
  VisibilityTimeout: "VisibilityTimeout",
302
302
  };
303
- class InvalidAttributeName extends SQSServiceException {
303
+ let InvalidAttributeName$1 = class InvalidAttributeName extends SQSServiceException$1 {
304
304
  name = "InvalidAttributeName";
305
305
  $fault = "client";
306
306
  constructor(opts) {
@@ -311,8 +311,8 @@ class InvalidAttributeName extends SQSServiceException {
311
311
  });
312
312
  Object.setPrototypeOf(this, InvalidAttributeName.prototype);
313
313
  }
314
- }
315
- class InvalidAttributeValue extends SQSServiceException {
314
+ };
315
+ let InvalidAttributeValue$1 = class InvalidAttributeValue extends SQSServiceException$1 {
316
316
  name = "InvalidAttributeValue";
317
317
  $fault = "client";
318
318
  constructor(opts) {
@@ -323,8 +323,8 @@ class InvalidAttributeValue extends SQSServiceException {
323
323
  });
324
324
  Object.setPrototypeOf(this, InvalidAttributeValue.prototype);
325
325
  }
326
- }
327
- class QueueDeletedRecently extends SQSServiceException {
326
+ };
327
+ let QueueDeletedRecently$1 = class QueueDeletedRecently extends SQSServiceException$1 {
328
328
  name = "QueueDeletedRecently";
329
329
  $fault = "client";
330
330
  constructor(opts) {
@@ -335,8 +335,8 @@ class QueueDeletedRecently extends SQSServiceException {
335
335
  });
336
336
  Object.setPrototypeOf(this, QueueDeletedRecently.prototype);
337
337
  }
338
- }
339
- class QueueNameExists extends SQSServiceException {
338
+ };
339
+ let QueueNameExists$1 = class QueueNameExists extends SQSServiceException$1 {
340
340
  name = "QueueNameExists";
341
341
  $fault = "client";
342
342
  constructor(opts) {
@@ -347,8 +347,8 @@ class QueueNameExists extends SQSServiceException {
347
347
  });
348
348
  Object.setPrototypeOf(this, QueueNameExists.prototype);
349
349
  }
350
- }
351
- class InvalidIdFormat extends SQSServiceException {
350
+ };
351
+ let InvalidIdFormat$1 = class InvalidIdFormat extends SQSServiceException$1 {
352
352
  name = "InvalidIdFormat";
353
353
  $fault = "client";
354
354
  constructor(opts) {
@@ -359,8 +359,8 @@ class InvalidIdFormat extends SQSServiceException {
359
359
  });
360
360
  Object.setPrototypeOf(this, InvalidIdFormat.prototype);
361
361
  }
362
- }
363
- class PurgeQueueInProgress extends SQSServiceException {
362
+ };
363
+ let PurgeQueueInProgress$1 = class PurgeQueueInProgress extends SQSServiceException$1 {
364
364
  name = "PurgeQueueInProgress";
365
365
  $fault = "client";
366
366
  constructor(opts) {
@@ -371,8 +371,8 @@ class PurgeQueueInProgress extends SQSServiceException {
371
371
  });
372
372
  Object.setPrototypeOf(this, PurgeQueueInProgress.prototype);
373
373
  }
374
- }
375
- class KmsAccessDenied extends SQSServiceException {
374
+ };
375
+ let KmsAccessDenied$1 = class KmsAccessDenied extends SQSServiceException$1 {
376
376
  name = "KmsAccessDenied";
377
377
  $fault = "client";
378
378
  constructor(opts) {
@@ -383,8 +383,8 @@ class KmsAccessDenied extends SQSServiceException {
383
383
  });
384
384
  Object.setPrototypeOf(this, KmsAccessDenied.prototype);
385
385
  }
386
- }
387
- class KmsDisabled extends SQSServiceException {
386
+ };
387
+ let KmsDisabled$1 = class KmsDisabled extends SQSServiceException$1 {
388
388
  name = "KmsDisabled";
389
389
  $fault = "client";
390
390
  constructor(opts) {
@@ -395,8 +395,8 @@ class KmsDisabled extends SQSServiceException {
395
395
  });
396
396
  Object.setPrototypeOf(this, KmsDisabled.prototype);
397
397
  }
398
- }
399
- class KmsInvalidKeyUsage extends SQSServiceException {
398
+ };
399
+ let KmsInvalidKeyUsage$1 = class KmsInvalidKeyUsage extends SQSServiceException$1 {
400
400
  name = "KmsInvalidKeyUsage";
401
401
  $fault = "client";
402
402
  constructor(opts) {
@@ -407,8 +407,8 @@ class KmsInvalidKeyUsage extends SQSServiceException {
407
407
  });
408
408
  Object.setPrototypeOf(this, KmsInvalidKeyUsage.prototype);
409
409
  }
410
- }
411
- class KmsInvalidState extends SQSServiceException {
410
+ };
411
+ let KmsInvalidState$1 = class KmsInvalidState extends SQSServiceException$1 {
412
412
  name = "KmsInvalidState";
413
413
  $fault = "client";
414
414
  constructor(opts) {
@@ -419,8 +419,8 @@ class KmsInvalidState extends SQSServiceException {
419
419
  });
420
420
  Object.setPrototypeOf(this, KmsInvalidState.prototype);
421
421
  }
422
- }
423
- class KmsNotFound extends SQSServiceException {
422
+ };
423
+ let KmsNotFound$1 = class KmsNotFound extends SQSServiceException$1 {
424
424
  name = "KmsNotFound";
425
425
  $fault = "client";
426
426
  constructor(opts) {
@@ -431,8 +431,8 @@ class KmsNotFound extends SQSServiceException {
431
431
  });
432
432
  Object.setPrototypeOf(this, KmsNotFound.prototype);
433
433
  }
434
- }
435
- class KmsOptInRequired extends SQSServiceException {
434
+ };
435
+ let KmsOptInRequired$1 = class KmsOptInRequired extends SQSServiceException$1 {
436
436
  name = "KmsOptInRequired";
437
437
  $fault = "client";
438
438
  constructor(opts) {
@@ -443,8 +443,8 @@ class KmsOptInRequired extends SQSServiceException {
443
443
  });
444
444
  Object.setPrototypeOf(this, KmsOptInRequired.prototype);
445
445
  }
446
- }
447
- class KmsThrottled extends SQSServiceException {
446
+ };
447
+ let KmsThrottled$1 = class KmsThrottled extends SQSServiceException$1 {
448
448
  name = "KmsThrottled";
449
449
  $fault = "client";
450
450
  constructor(opts) {
@@ -455,7 +455,7 @@ class KmsThrottled extends SQSServiceException {
455
455
  });
456
456
  Object.setPrototypeOf(this, KmsThrottled.prototype);
457
457
  }
458
- }
458
+ };
459
459
  const MessageSystemAttributeName = {
460
460
  AWSTraceHeader: "AWSTraceHeader",
461
461
  All: "All",
@@ -468,7 +468,7 @@ const MessageSystemAttributeName = {
468
468
  SentTimestamp: "SentTimestamp",
469
469
  SequenceNumber: "SequenceNumber",
470
470
  };
471
- class InvalidMessageContents extends SQSServiceException {
471
+ let InvalidMessageContents$1 = class InvalidMessageContents extends SQSServiceException$1 {
472
472
  name = "InvalidMessageContents";
473
473
  $fault = "client";
474
474
  constructor(opts) {
@@ -479,11 +479,11 @@ class InvalidMessageContents extends SQSServiceException {
479
479
  });
480
480
  Object.setPrototypeOf(this, InvalidMessageContents.prototype);
481
481
  }
482
- }
482
+ };
483
483
  const MessageSystemAttributeNameForSends = {
484
484
  AWSTraceHeader: "AWSTraceHeader",
485
485
  };
486
- class BatchRequestTooLong extends SQSServiceException {
486
+ let BatchRequestTooLong$1 = class BatchRequestTooLong extends SQSServiceException$1 {
487
487
  name = "BatchRequestTooLong";
488
488
  $fault = "client";
489
489
  constructor(opts) {
@@ -494,1207 +494,1392 @@ class BatchRequestTooLong extends SQSServiceException {
494
494
  });
495
495
  Object.setPrototypeOf(this, BatchRequestTooLong.prototype);
496
496
  }
497
- }
498
-
499
- const se_AddPermissionCommand = async (input, context) => {
500
- const headers = sharedHeaders("AddPermission");
501
- let body;
502
- body = JSON.stringify(se_AddPermissionRequest(input));
503
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
504
- };
505
- const se_CancelMessageMoveTaskCommand = async (input, context) => {
506
- const headers = sharedHeaders("CancelMessageMoveTask");
507
- let body;
508
- body = JSON.stringify(se_CancelMessageMoveTaskRequest(input));
509
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
510
- };
511
- const se_ChangeMessageVisibilityCommand = async (input, context) => {
512
- const headers = sharedHeaders("ChangeMessageVisibility");
513
- let body;
514
- body = JSON.stringify(se_ChangeMessageVisibilityRequest(input));
515
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
516
- };
517
- const se_ChangeMessageVisibilityBatchCommand = async (input, context) => {
518
- const headers = sharedHeaders("ChangeMessageVisibilityBatch");
519
- let body;
520
- body = JSON.stringify(se_ChangeMessageVisibilityBatchRequest(input));
521
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
522
- };
523
- const se_CreateQueueCommand = async (input, context) => {
524
- const headers = sharedHeaders("CreateQueue");
525
- let body;
526
- body = JSON.stringify(se_CreateQueueRequest(input));
527
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
528
- };
529
- const se_DeleteMessageCommand = async (input, context) => {
530
- const headers = sharedHeaders("DeleteMessage");
531
- let body;
532
- body = JSON.stringify(se_DeleteMessageRequest(input));
533
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
534
- };
535
- const se_DeleteMessageBatchCommand = async (input, context) => {
536
- const headers = sharedHeaders("DeleteMessageBatch");
537
- let body;
538
- body = JSON.stringify(se_DeleteMessageBatchRequest(input));
539
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
540
- };
541
- const se_DeleteQueueCommand = async (input, context) => {
542
- const headers = sharedHeaders("DeleteQueue");
543
- let body;
544
- body = JSON.stringify(se_DeleteQueueRequest(input));
545
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
546
- };
547
- const se_GetQueueAttributesCommand = async (input, context) => {
548
- const headers = sharedHeaders("GetQueueAttributes");
549
- let body;
550
- body = JSON.stringify(se_GetQueueAttributesRequest(input));
551
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
552
- };
553
- const se_GetQueueUrlCommand = async (input, context) => {
554
- const headers = sharedHeaders("GetQueueUrl");
555
- let body;
556
- body = JSON.stringify(se_GetQueueUrlRequest(input));
557
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
558
- };
559
- const se_ListDeadLetterSourceQueuesCommand = async (input, context) => {
560
- const headers = sharedHeaders("ListDeadLetterSourceQueues");
561
- let body;
562
- body = JSON.stringify(se_ListDeadLetterSourceQueuesRequest(input));
563
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
564
- };
565
- const se_ListMessageMoveTasksCommand = async (input, context) => {
566
- const headers = sharedHeaders("ListMessageMoveTasks");
567
- let body;
568
- body = JSON.stringify(se_ListMessageMoveTasksRequest(input));
569
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
570
- };
571
- const se_ListQueuesCommand = async (input, context) => {
572
- const headers = sharedHeaders("ListQueues");
573
- let body;
574
- body = JSON.stringify(se_ListQueuesRequest(input));
575
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
576
- };
577
- const se_ListQueueTagsCommand = async (input, context) => {
578
- const headers = sharedHeaders("ListQueueTags");
579
- let body;
580
- body = JSON.stringify(se_ListQueueTagsRequest(input));
581
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
582
- };
583
- const se_PurgeQueueCommand = async (input, context) => {
584
- const headers = sharedHeaders("PurgeQueue");
585
- let body;
586
- body = JSON.stringify(se_PurgeQueueRequest(input));
587
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
588
- };
589
- const se_ReceiveMessageCommand = async (input, context) => {
590
- const headers = sharedHeaders("ReceiveMessage");
591
- let body;
592
- body = JSON.stringify(se_ReceiveMessageRequest(input));
593
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
594
- };
595
- const se_RemovePermissionCommand = async (input, context) => {
596
- const headers = sharedHeaders("RemovePermission");
597
- let body;
598
- body = JSON.stringify(se_RemovePermissionRequest(input));
599
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
600
- };
601
- const se_SendMessageCommand = async (input, context) => {
602
- const headers = sharedHeaders("SendMessage");
603
- let body;
604
- body = JSON.stringify(se_SendMessageRequest(input, context));
605
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
606
- };
607
- const se_SendMessageBatchCommand = async (input, context) => {
608
- const headers = sharedHeaders("SendMessageBatch");
609
- let body;
610
- body = JSON.stringify(se_SendMessageBatchRequest(input, context));
611
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
612
- };
613
- const se_SetQueueAttributesCommand = async (input, context) => {
614
- const headers = sharedHeaders("SetQueueAttributes");
615
- let body;
616
- body = JSON.stringify(se_SetQueueAttributesRequest(input));
617
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
618
- };
619
- const se_StartMessageMoveTaskCommand = async (input, context) => {
620
- const headers = sharedHeaders("StartMessageMoveTask");
621
- let body;
622
- body = JSON.stringify(se_StartMessageMoveTaskRequest(input));
623
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
624
- };
625
- const se_TagQueueCommand = async (input, context) => {
626
- const headers = sharedHeaders("TagQueue");
627
- let body;
628
- body = JSON.stringify(se_TagQueueRequest(input));
629
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
630
- };
631
- const se_UntagQueueCommand = async (input, context) => {
632
- const headers = sharedHeaders("UntagQueue");
633
- let body;
634
- body = JSON.stringify(se_UntagQueueRequest(input));
635
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
636
- };
637
- const de_AddPermissionCommand = async (output, context) => {
638
- if (output.statusCode >= 300) {
639
- return de_CommandError(output, context);
640
- }
641
- await smithyClient.collectBody(output.body, context);
642
- const response = {
643
- $metadata: deserializeMetadata(output),
644
- };
645
- return response;
646
- };
647
- const de_CancelMessageMoveTaskCommand = async (output, context) => {
648
- if (output.statusCode >= 300) {
649
- return de_CommandError(output, context);
650
- }
651
- const data = await core$1.parseJsonBody(output.body, context);
652
- let contents = {};
653
- contents = smithyClient._json(data);
654
- const response = {
655
- $metadata: deserializeMetadata(output),
656
- ...contents,
657
- };
658
- return response;
659
- };
660
- const de_ChangeMessageVisibilityCommand = async (output, context) => {
661
- if (output.statusCode >= 300) {
662
- return de_CommandError(output, context);
663
- }
664
- await smithyClient.collectBody(output.body, context);
665
- const response = {
666
- $metadata: deserializeMetadata(output),
667
- };
668
- return response;
669
- };
670
- const de_ChangeMessageVisibilityBatchCommand = async (output, context) => {
671
- if (output.statusCode >= 300) {
672
- return de_CommandError(output, context);
673
- }
674
- const data = await core$1.parseJsonBody(output.body, context);
675
- let contents = {};
676
- contents = smithyClient._json(data);
677
- const response = {
678
- $metadata: deserializeMetadata(output),
679
- ...contents,
680
- };
681
- return response;
682
- };
683
- const de_CreateQueueCommand = async (output, context) => {
684
- if (output.statusCode >= 300) {
685
- return de_CommandError(output, context);
686
- }
687
- const data = await core$1.parseJsonBody(output.body, context);
688
- let contents = {};
689
- contents = smithyClient._json(data);
690
- const response = {
691
- $metadata: deserializeMetadata(output),
692
- ...contents,
693
- };
694
- return response;
695
- };
696
- const de_DeleteMessageCommand = async (output, context) => {
697
- if (output.statusCode >= 300) {
698
- return de_CommandError(output, context);
699
- }
700
- await smithyClient.collectBody(output.body, context);
701
- const response = {
702
- $metadata: deserializeMetadata(output),
703
- };
704
- return response;
705
- };
706
- const de_DeleteMessageBatchCommand = async (output, context) => {
707
- if (output.statusCode >= 300) {
708
- return de_CommandError(output, context);
709
- }
710
- const data = await core$1.parseJsonBody(output.body, context);
711
- let contents = {};
712
- contents = smithyClient._json(data);
713
- const response = {
714
- $metadata: deserializeMetadata(output),
715
- ...contents,
716
- };
717
- return response;
718
- };
719
- const de_DeleteQueueCommand = async (output, context) => {
720
- if (output.statusCode >= 300) {
721
- return de_CommandError(output, context);
722
- }
723
- await smithyClient.collectBody(output.body, context);
724
- const response = {
725
- $metadata: deserializeMetadata(output),
726
- };
727
- return response;
728
- };
729
- const de_GetQueueAttributesCommand = async (output, context) => {
730
- if (output.statusCode >= 300) {
731
- return de_CommandError(output, context);
732
- }
733
- const data = await core$1.parseJsonBody(output.body, context);
734
- let contents = {};
735
- contents = smithyClient._json(data);
736
- const response = {
737
- $metadata: deserializeMetadata(output),
738
- ...contents,
739
- };
740
- return response;
741
- };
742
- const de_GetQueueUrlCommand = async (output, context) => {
743
- if (output.statusCode >= 300) {
744
- return de_CommandError(output, context);
745
- }
746
- const data = await core$1.parseJsonBody(output.body, context);
747
- let contents = {};
748
- contents = smithyClient._json(data);
749
- const response = {
750
- $metadata: deserializeMetadata(output),
751
- ...contents,
752
- };
753
- return response;
754
- };
755
- const de_ListDeadLetterSourceQueuesCommand = async (output, context) => {
756
- if (output.statusCode >= 300) {
757
- return de_CommandError(output, context);
758
- }
759
- const data = await core$1.parseJsonBody(output.body, context);
760
- let contents = {};
761
- contents = smithyClient._json(data);
762
- const response = {
763
- $metadata: deserializeMetadata(output),
764
- ...contents,
765
- };
766
- return response;
767
- };
768
- const de_ListMessageMoveTasksCommand = async (output, context) => {
769
- if (output.statusCode >= 300) {
770
- return de_CommandError(output, context);
771
- }
772
- const data = await core$1.parseJsonBody(output.body, context);
773
- let contents = {};
774
- contents = smithyClient._json(data);
775
- const response = {
776
- $metadata: deserializeMetadata(output),
777
- ...contents,
778
- };
779
- return response;
780
- };
781
- const de_ListQueuesCommand = async (output, context) => {
782
- if (output.statusCode >= 300) {
783
- return de_CommandError(output, context);
784
- }
785
- const data = await core$1.parseJsonBody(output.body, context);
786
- let contents = {};
787
- contents = smithyClient._json(data);
788
- const response = {
789
- $metadata: deserializeMetadata(output),
790
- ...contents,
791
- };
792
- return response;
793
- };
794
- const de_ListQueueTagsCommand = async (output, context) => {
795
- if (output.statusCode >= 300) {
796
- return de_CommandError(output, context);
797
- }
798
- const data = await core$1.parseJsonBody(output.body, context);
799
- let contents = {};
800
- contents = smithyClient._json(data);
801
- const response = {
802
- $metadata: deserializeMetadata(output),
803
- ...contents,
804
- };
805
- return response;
806
- };
807
- const de_PurgeQueueCommand = async (output, context) => {
808
- if (output.statusCode >= 300) {
809
- return de_CommandError(output, context);
810
- }
811
- await smithyClient.collectBody(output.body, context);
812
- const response = {
813
- $metadata: deserializeMetadata(output),
814
- };
815
- return response;
816
- };
817
- const de_ReceiveMessageCommand = async (output, context) => {
818
- if (output.statusCode >= 300) {
819
- return de_CommandError(output, context);
820
- }
821
- const data = await core$1.parseJsonBody(output.body, context);
822
- let contents = {};
823
- contents = de_ReceiveMessageResult(data, context);
824
- const response = {
825
- $metadata: deserializeMetadata(output),
826
- ...contents,
827
- };
828
- return response;
829
- };
830
- const de_RemovePermissionCommand = async (output, context) => {
831
- if (output.statusCode >= 300) {
832
- return de_CommandError(output, context);
833
- }
834
- await smithyClient.collectBody(output.body, context);
835
- const response = {
836
- $metadata: deserializeMetadata(output),
837
- };
838
- return response;
839
- };
840
- const de_SendMessageCommand = async (output, context) => {
841
- if (output.statusCode >= 300) {
842
- return de_CommandError(output, context);
843
- }
844
- const data = await core$1.parseJsonBody(output.body, context);
845
- let contents = {};
846
- contents = smithyClient._json(data);
847
- const response = {
848
- $metadata: deserializeMetadata(output),
849
- ...contents,
850
- };
851
- return response;
852
- };
853
- const de_SendMessageBatchCommand = async (output, context) => {
854
- if (output.statusCode >= 300) {
855
- return de_CommandError(output, context);
856
- }
857
- const data = await core$1.parseJsonBody(output.body, context);
858
- let contents = {};
859
- contents = smithyClient._json(data);
860
- const response = {
861
- $metadata: deserializeMetadata(output),
862
- ...contents,
863
- };
864
- return response;
865
- };
866
- const de_SetQueueAttributesCommand = async (output, context) => {
867
- if (output.statusCode >= 300) {
868
- return de_CommandError(output, context);
869
- }
870
- await smithyClient.collectBody(output.body, context);
871
- const response = {
872
- $metadata: deserializeMetadata(output),
873
- };
874
- return response;
875
- };
876
- const de_StartMessageMoveTaskCommand = async (output, context) => {
877
- if (output.statusCode >= 300) {
878
- return de_CommandError(output, context);
879
- }
880
- const data = await core$1.parseJsonBody(output.body, context);
881
- let contents = {};
882
- contents = smithyClient._json(data);
883
- const response = {
884
- $metadata: deserializeMetadata(output),
885
- ...contents,
886
- };
887
- return response;
888
- };
889
- const de_TagQueueCommand = async (output, context) => {
890
- if (output.statusCode >= 300) {
891
- return de_CommandError(output, context);
892
- }
893
- await smithyClient.collectBody(output.body, context);
894
- const response = {
895
- $metadata: deserializeMetadata(output),
896
- };
897
- return response;
898
- };
899
- const de_UntagQueueCommand = async (output, context) => {
900
- if (output.statusCode >= 300) {
901
- return de_CommandError(output, context);
902
- }
903
- await smithyClient.collectBody(output.body, context);
904
- const response = {
905
- $metadata: deserializeMetadata(output),
906
- };
907
- return response;
908
- };
909
- const de_CommandError = async (output, context) => {
910
- const parsedOutput = {
911
- ...output,
912
- body: await core$1.parseJsonErrorBody(output.body, context),
913
- };
914
- populateBodyWithQueryCompatibility(parsedOutput, output.headers);
915
- const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
916
- switch (errorCode) {
917
- case "InvalidAddress":
918
- case "com.amazonaws.sqs#InvalidAddress":
919
- throw await de_InvalidAddressRes(parsedOutput);
920
- case "InvalidSecurity":
921
- case "com.amazonaws.sqs#InvalidSecurity":
922
- throw await de_InvalidSecurityRes(parsedOutput);
923
- case "OverLimit":
924
- case "com.amazonaws.sqs#OverLimit":
925
- throw await de_OverLimitRes(parsedOutput);
926
- case "QueueDoesNotExist":
927
- case "com.amazonaws.sqs#QueueDoesNotExist":
928
- case "AWS.SimpleQueueService.NonExistentQueue":
929
- throw await de_QueueDoesNotExistRes(parsedOutput);
930
- case "RequestThrottled":
931
- case "com.amazonaws.sqs#RequestThrottled":
932
- throw await de_RequestThrottledRes(parsedOutput);
933
- case "UnsupportedOperation":
934
- case "com.amazonaws.sqs#UnsupportedOperation":
935
- case "AWS.SimpleQueueService.UnsupportedOperation":
936
- throw await de_UnsupportedOperationRes(parsedOutput);
937
- case "ResourceNotFoundException":
938
- case "com.amazonaws.sqs#ResourceNotFoundException":
939
- throw await de_ResourceNotFoundExceptionRes(parsedOutput);
940
- case "MessageNotInflight":
941
- case "com.amazonaws.sqs#MessageNotInflight":
942
- case "AWS.SimpleQueueService.MessageNotInflight":
943
- throw await de_MessageNotInflightRes(parsedOutput);
944
- case "ReceiptHandleIsInvalid":
945
- case "com.amazonaws.sqs#ReceiptHandleIsInvalid":
946
- throw await de_ReceiptHandleIsInvalidRes(parsedOutput);
947
- case "BatchEntryIdsNotDistinct":
948
- case "com.amazonaws.sqs#BatchEntryIdsNotDistinct":
949
- case "AWS.SimpleQueueService.BatchEntryIdsNotDistinct":
950
- throw await de_BatchEntryIdsNotDistinctRes(parsedOutput);
951
- case "EmptyBatchRequest":
952
- case "com.amazonaws.sqs#EmptyBatchRequest":
953
- case "AWS.SimpleQueueService.EmptyBatchRequest":
954
- throw await de_EmptyBatchRequestRes(parsedOutput);
955
- case "InvalidBatchEntryId":
956
- case "com.amazonaws.sqs#InvalidBatchEntryId":
957
- case "AWS.SimpleQueueService.InvalidBatchEntryId":
958
- throw await de_InvalidBatchEntryIdRes(parsedOutput);
959
- case "TooManyEntriesInBatchRequest":
960
- case "com.amazonaws.sqs#TooManyEntriesInBatchRequest":
961
- case "AWS.SimpleQueueService.TooManyEntriesInBatchRequest":
962
- throw await de_TooManyEntriesInBatchRequestRes(parsedOutput);
963
- case "InvalidAttributeName":
964
- case "com.amazonaws.sqs#InvalidAttributeName":
965
- throw await de_InvalidAttributeNameRes(parsedOutput);
966
- case "InvalidAttributeValue":
967
- case "com.amazonaws.sqs#InvalidAttributeValue":
968
- throw await de_InvalidAttributeValueRes(parsedOutput);
969
- case "QueueDeletedRecently":
970
- case "com.amazonaws.sqs#QueueDeletedRecently":
971
- case "AWS.SimpleQueueService.QueueDeletedRecently":
972
- throw await de_QueueDeletedRecentlyRes(parsedOutput);
973
- case "QueueNameExists":
974
- case "com.amazonaws.sqs#QueueNameExists":
975
- case "QueueAlreadyExists":
976
- throw await de_QueueNameExistsRes(parsedOutput);
977
- case "InvalidIdFormat":
978
- case "com.amazonaws.sqs#InvalidIdFormat":
979
- throw await de_InvalidIdFormatRes(parsedOutput);
980
- case "PurgeQueueInProgress":
981
- case "com.amazonaws.sqs#PurgeQueueInProgress":
982
- case "AWS.SimpleQueueService.PurgeQueueInProgress":
983
- throw await de_PurgeQueueInProgressRes(parsedOutput);
984
- case "KmsAccessDenied":
985
- case "com.amazonaws.sqs#KmsAccessDenied":
986
- case "KMS.AccessDeniedException":
987
- throw await de_KmsAccessDeniedRes(parsedOutput);
988
- case "KmsDisabled":
989
- case "com.amazonaws.sqs#KmsDisabled":
990
- case "KMS.DisabledException":
991
- throw await de_KmsDisabledRes(parsedOutput);
992
- case "KmsInvalidKeyUsage":
993
- case "com.amazonaws.sqs#KmsInvalidKeyUsage":
994
- case "KMS.InvalidKeyUsageException":
995
- throw await de_KmsInvalidKeyUsageRes(parsedOutput);
996
- case "KmsInvalidState":
997
- case "com.amazonaws.sqs#KmsInvalidState":
998
- case "KMS.InvalidStateException":
999
- throw await de_KmsInvalidStateRes(parsedOutput);
1000
- case "KmsNotFound":
1001
- case "com.amazonaws.sqs#KmsNotFound":
1002
- case "KMS.NotFoundException":
1003
- throw await de_KmsNotFoundRes(parsedOutput);
1004
- case "KmsOptInRequired":
1005
- case "com.amazonaws.sqs#KmsOptInRequired":
1006
- case "KMS.OptInRequired":
1007
- throw await de_KmsOptInRequiredRes(parsedOutput);
1008
- case "KmsThrottled":
1009
- case "com.amazonaws.sqs#KmsThrottled":
1010
- case "KMS.ThrottlingException":
1011
- throw await de_KmsThrottledRes(parsedOutput);
1012
- case "InvalidMessageContents":
1013
- case "com.amazonaws.sqs#InvalidMessageContents":
1014
- throw await de_InvalidMessageContentsRes(parsedOutput);
1015
- case "BatchRequestTooLong":
1016
- case "com.amazonaws.sqs#BatchRequestTooLong":
1017
- case "AWS.SimpleQueueService.BatchRequestTooLong":
1018
- throw await de_BatchRequestTooLongRes(parsedOutput);
1019
- default:
1020
- const parsedBody = parsedOutput.body;
1021
- return throwDefaultError({
1022
- output,
1023
- parsedBody,
1024
- errorCode,
1025
- });
1026
- }
1027
- };
1028
- const de_BatchEntryIdsNotDistinctRes = async (parsedOutput, context) => {
1029
- const body = parsedOutput.body;
1030
- const deserialized = smithyClient._json(body);
1031
- const exception = new BatchEntryIdsNotDistinct({
1032
- $metadata: deserializeMetadata(parsedOutput),
1033
- ...deserialized,
1034
- });
1035
- return smithyClient.decorateServiceException(exception, body);
1036
- };
1037
- const de_BatchRequestTooLongRes = async (parsedOutput, context) => {
1038
- const body = parsedOutput.body;
1039
- const deserialized = smithyClient._json(body);
1040
- const exception = new BatchRequestTooLong({
1041
- $metadata: deserializeMetadata(parsedOutput),
1042
- ...deserialized,
1043
- });
1044
- return smithyClient.decorateServiceException(exception, body);
1045
- };
1046
- const de_EmptyBatchRequestRes = async (parsedOutput, context) => {
1047
- const body = parsedOutput.body;
1048
- const deserialized = smithyClient._json(body);
1049
- const exception = new EmptyBatchRequest({
1050
- $metadata: deserializeMetadata(parsedOutput),
1051
- ...deserialized,
1052
- });
1053
- return smithyClient.decorateServiceException(exception, body);
1054
- };
1055
- const de_InvalidAddressRes = async (parsedOutput, context) => {
1056
- const body = parsedOutput.body;
1057
- const deserialized = smithyClient._json(body);
1058
- const exception = new InvalidAddress({
1059
- $metadata: deserializeMetadata(parsedOutput),
1060
- ...deserialized,
1061
- });
1062
- return smithyClient.decorateServiceException(exception, body);
1063
- };
1064
- const de_InvalidAttributeNameRes = async (parsedOutput, context) => {
1065
- const body = parsedOutput.body;
1066
- const deserialized = smithyClient._json(body);
1067
- const exception = new InvalidAttributeName({
1068
- $metadata: deserializeMetadata(parsedOutput),
1069
- ...deserialized,
1070
- });
1071
- return smithyClient.decorateServiceException(exception, body);
1072
- };
1073
- const de_InvalidAttributeValueRes = async (parsedOutput, context) => {
1074
- const body = parsedOutput.body;
1075
- const deserialized = smithyClient._json(body);
1076
- const exception = new InvalidAttributeValue({
1077
- $metadata: deserializeMetadata(parsedOutput),
1078
- ...deserialized,
1079
- });
1080
- return smithyClient.decorateServiceException(exception, body);
1081
- };
1082
- const de_InvalidBatchEntryIdRes = async (parsedOutput, context) => {
1083
- const body = parsedOutput.body;
1084
- const deserialized = smithyClient._json(body);
1085
- const exception = new InvalidBatchEntryId({
1086
- $metadata: deserializeMetadata(parsedOutput),
1087
- ...deserialized,
1088
- });
1089
- return smithyClient.decorateServiceException(exception, body);
1090
- };
1091
- const de_InvalidIdFormatRes = async (parsedOutput, context) => {
1092
- const body = parsedOutput.body;
1093
- const deserialized = smithyClient._json(body);
1094
- const exception = new InvalidIdFormat({
1095
- $metadata: deserializeMetadata(parsedOutput),
1096
- ...deserialized,
1097
- });
1098
- return smithyClient.decorateServiceException(exception, body);
1099
- };
1100
- const de_InvalidMessageContentsRes = async (parsedOutput, context) => {
1101
- const body = parsedOutput.body;
1102
- const deserialized = smithyClient._json(body);
1103
- const exception = new InvalidMessageContents({
1104
- $metadata: deserializeMetadata(parsedOutput),
1105
- ...deserialized,
1106
- });
1107
- return smithyClient.decorateServiceException(exception, body);
1108
- };
1109
- const de_InvalidSecurityRes = async (parsedOutput, context) => {
1110
- const body = parsedOutput.body;
1111
- const deserialized = smithyClient._json(body);
1112
- const exception = new InvalidSecurity({
1113
- $metadata: deserializeMetadata(parsedOutput),
1114
- ...deserialized,
1115
- });
1116
- return smithyClient.decorateServiceException(exception, body);
1117
- };
1118
- const de_KmsAccessDeniedRes = async (parsedOutput, context) => {
1119
- const body = parsedOutput.body;
1120
- const deserialized = smithyClient._json(body);
1121
- const exception = new KmsAccessDenied({
1122
- $metadata: deserializeMetadata(parsedOutput),
1123
- ...deserialized,
1124
- });
1125
- return smithyClient.decorateServiceException(exception, body);
1126
- };
1127
- const de_KmsDisabledRes = async (parsedOutput, context) => {
1128
- const body = parsedOutput.body;
1129
- const deserialized = smithyClient._json(body);
1130
- const exception = new KmsDisabled({
1131
- $metadata: deserializeMetadata(parsedOutput),
1132
- ...deserialized,
1133
- });
1134
- return smithyClient.decorateServiceException(exception, body);
1135
- };
1136
- const de_KmsInvalidKeyUsageRes = async (parsedOutput, context) => {
1137
- const body = parsedOutput.body;
1138
- const deserialized = smithyClient._json(body);
1139
- const exception = new KmsInvalidKeyUsage({
1140
- $metadata: deserializeMetadata(parsedOutput),
1141
- ...deserialized,
1142
- });
1143
- return smithyClient.decorateServiceException(exception, body);
1144
- };
1145
- const de_KmsInvalidStateRes = async (parsedOutput, context) => {
1146
- const body = parsedOutput.body;
1147
- const deserialized = smithyClient._json(body);
1148
- const exception = new KmsInvalidState({
1149
- $metadata: deserializeMetadata(parsedOutput),
1150
- ...deserialized,
1151
- });
1152
- return smithyClient.decorateServiceException(exception, body);
1153
- };
1154
- const de_KmsNotFoundRes = async (parsedOutput, context) => {
1155
- const body = parsedOutput.body;
1156
- const deserialized = smithyClient._json(body);
1157
- const exception = new KmsNotFound({
1158
- $metadata: deserializeMetadata(parsedOutput),
1159
- ...deserialized,
1160
- });
1161
- return smithyClient.decorateServiceException(exception, body);
1162
- };
1163
- const de_KmsOptInRequiredRes = async (parsedOutput, context) => {
1164
- const body = parsedOutput.body;
1165
- const deserialized = smithyClient._json(body);
1166
- const exception = new KmsOptInRequired({
1167
- $metadata: deserializeMetadata(parsedOutput),
1168
- ...deserialized,
1169
- });
1170
- return smithyClient.decorateServiceException(exception, body);
1171
- };
1172
- const de_KmsThrottledRes = async (parsedOutput, context) => {
1173
- const body = parsedOutput.body;
1174
- const deserialized = smithyClient._json(body);
1175
- const exception = new KmsThrottled({
1176
- $metadata: deserializeMetadata(parsedOutput),
1177
- ...deserialized,
1178
- });
1179
- return smithyClient.decorateServiceException(exception, body);
1180
- };
1181
- const de_MessageNotInflightRes = async (parsedOutput, context) => {
1182
- const body = parsedOutput.body;
1183
- const deserialized = smithyClient._json(body);
1184
- const exception = new MessageNotInflight({
1185
- $metadata: deserializeMetadata(parsedOutput),
1186
- ...deserialized,
1187
- });
1188
- return smithyClient.decorateServiceException(exception, body);
1189
- };
1190
- const de_OverLimitRes = async (parsedOutput, context) => {
1191
- const body = parsedOutput.body;
1192
- const deserialized = smithyClient._json(body);
1193
- const exception = new OverLimit({
1194
- $metadata: deserializeMetadata(parsedOutput),
1195
- ...deserialized,
1196
- });
1197
- return smithyClient.decorateServiceException(exception, body);
1198
- };
1199
- const de_PurgeQueueInProgressRes = async (parsedOutput, context) => {
1200
- const body = parsedOutput.body;
1201
- const deserialized = smithyClient._json(body);
1202
- const exception = new PurgeQueueInProgress({
1203
- $metadata: deserializeMetadata(parsedOutput),
1204
- ...deserialized,
1205
- });
1206
- return smithyClient.decorateServiceException(exception, body);
1207
- };
1208
- const de_QueueDeletedRecentlyRes = async (parsedOutput, context) => {
1209
- const body = parsedOutput.body;
1210
- const deserialized = smithyClient._json(body);
1211
- const exception = new QueueDeletedRecently({
1212
- $metadata: deserializeMetadata(parsedOutput),
1213
- ...deserialized,
1214
- });
1215
- return smithyClient.decorateServiceException(exception, body);
1216
- };
1217
- const de_QueueDoesNotExistRes = async (parsedOutput, context) => {
1218
- const body = parsedOutput.body;
1219
- const deserialized = smithyClient._json(body);
1220
- const exception = new QueueDoesNotExist({
1221
- $metadata: deserializeMetadata(parsedOutput),
1222
- ...deserialized,
1223
- });
1224
- return smithyClient.decorateServiceException(exception, body);
1225
- };
1226
- const de_QueueNameExistsRes = async (parsedOutput, context) => {
1227
- const body = parsedOutput.body;
1228
- const deserialized = smithyClient._json(body);
1229
- const exception = new QueueNameExists({
1230
- $metadata: deserializeMetadata(parsedOutput),
1231
- ...deserialized,
1232
- });
1233
- return smithyClient.decorateServiceException(exception, body);
1234
- };
1235
- const de_ReceiptHandleIsInvalidRes = async (parsedOutput, context) => {
1236
- const body = parsedOutput.body;
1237
- const deserialized = smithyClient._json(body);
1238
- const exception = new ReceiptHandleIsInvalid({
1239
- $metadata: deserializeMetadata(parsedOutput),
1240
- ...deserialized,
1241
- });
1242
- return smithyClient.decorateServiceException(exception, body);
1243
- };
1244
- const de_RequestThrottledRes = async (parsedOutput, context) => {
1245
- const body = parsedOutput.body;
1246
- const deserialized = smithyClient._json(body);
1247
- const exception = new RequestThrottled({
1248
- $metadata: deserializeMetadata(parsedOutput),
1249
- ...deserialized,
1250
- });
1251
- return smithyClient.decorateServiceException(exception, body);
1252
- };
1253
- const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
1254
- const body = parsedOutput.body;
1255
- const deserialized = smithyClient._json(body);
1256
- const exception = new ResourceNotFoundException({
1257
- $metadata: deserializeMetadata(parsedOutput),
1258
- ...deserialized,
1259
- });
1260
- return smithyClient.decorateServiceException(exception, body);
1261
- };
1262
- const de_TooManyEntriesInBatchRequestRes = async (parsedOutput, context) => {
1263
- const body = parsedOutput.body;
1264
- const deserialized = smithyClient._json(body);
1265
- const exception = new TooManyEntriesInBatchRequest({
1266
- $metadata: deserializeMetadata(parsedOutput),
1267
- ...deserialized,
1268
- });
1269
- return smithyClient.decorateServiceException(exception, body);
1270
- };
1271
- const de_UnsupportedOperationRes = async (parsedOutput, context) => {
1272
- const body = parsedOutput.body;
1273
- const deserialized = smithyClient._json(body);
1274
- const exception = new UnsupportedOperation({
1275
- $metadata: deserializeMetadata(parsedOutput),
1276
- ...deserialized,
1277
- });
1278
- return smithyClient.decorateServiceException(exception, body);
1279
- };
1280
- const se_ActionNameList = (input, context) => {
1281
- return input
1282
- .filter((e) => e != null)
1283
- .map((entry) => {
1284
- return core$1._toStr(entry);
1285
- });
1286
- };
1287
- const se_AddPermissionRequest = (input, context) => {
1288
- return smithyClient.take(input, {
1289
- AWSAccountIds: (_) => se_AWSAccountIdList(_),
1290
- Actions: (_) => se_ActionNameList(_),
1291
- Label: core$1._toStr,
1292
- QueueUrl: core$1._toStr,
1293
- });
1294
- };
1295
- const se_AttributeNameList = (input, context) => {
1296
- return input
1297
- .filter((e) => e != null)
1298
- .map((entry) => {
1299
- return core$1._toStr(entry);
1300
- });
1301
- };
1302
- const se_AWSAccountIdList = (input, context) => {
1303
- return input
1304
- .filter((e) => e != null)
1305
- .map((entry) => {
1306
- return core$1._toStr(entry);
1307
- });
1308
- };
1309
- const se_BinaryList = (input, context) => {
1310
- return input
1311
- .filter((e) => e != null)
1312
- .map((entry) => {
1313
- return context.base64Encoder(entry);
1314
- });
1315
- };
1316
- const se_CancelMessageMoveTaskRequest = (input, context) => {
1317
- return smithyClient.take(input, {
1318
- TaskHandle: core$1._toStr,
1319
- });
1320
- };
1321
- const se_ChangeMessageVisibilityBatchRequest = (input, context) => {
1322
- return smithyClient.take(input, {
1323
- Entries: (_) => se_ChangeMessageVisibilityBatchRequestEntryList(_),
1324
- QueueUrl: core$1._toStr,
1325
- });
1326
- };
1327
- const se_ChangeMessageVisibilityBatchRequestEntry = (input, context) => {
1328
- return smithyClient.take(input, {
1329
- Id: core$1._toStr,
1330
- ReceiptHandle: core$1._toStr,
1331
- VisibilityTimeout: core$1._toNum,
1332
- });
1333
- };
1334
- const se_ChangeMessageVisibilityBatchRequestEntryList = (input, context) => {
1335
- return input
1336
- .filter((e) => e != null)
1337
- .map((entry) => {
1338
- return se_ChangeMessageVisibilityBatchRequestEntry(entry);
1339
- });
1340
- };
1341
- const se_ChangeMessageVisibilityRequest = (input, context) => {
1342
- return smithyClient.take(input, {
1343
- QueueUrl: core$1._toStr,
1344
- ReceiptHandle: core$1._toStr,
1345
- VisibilityTimeout: core$1._toNum,
1346
- });
1347
- };
1348
- const se_CreateQueueRequest = (input, context) => {
1349
- return smithyClient.take(input, {
1350
- Attributes: (_) => se_QueueAttributeMap(_),
1351
- QueueName: core$1._toStr,
1352
- tags: (_) => se_TagMap(_),
1353
- });
1354
- };
1355
- const se_DeleteMessageBatchRequest = (input, context) => {
1356
- return smithyClient.take(input, {
1357
- Entries: (_) => se_DeleteMessageBatchRequestEntryList(_),
1358
- QueueUrl: core$1._toStr,
1359
- });
1360
- };
1361
- const se_DeleteMessageBatchRequestEntry = (input, context) => {
1362
- return smithyClient.take(input, {
1363
- Id: core$1._toStr,
1364
- ReceiptHandle: core$1._toStr,
1365
- });
1366
- };
1367
- const se_DeleteMessageBatchRequestEntryList = (input, context) => {
1368
- return input
1369
- .filter((e) => e != null)
1370
- .map((entry) => {
1371
- return se_DeleteMessageBatchRequestEntry(entry);
1372
- });
1373
- };
1374
- const se_DeleteMessageRequest = (input, context) => {
1375
- return smithyClient.take(input, {
1376
- QueueUrl: core$1._toStr,
1377
- ReceiptHandle: core$1._toStr,
1378
- });
1379
- };
1380
- const se_DeleteQueueRequest = (input, context) => {
1381
- return smithyClient.take(input, {
1382
- QueueUrl: core$1._toStr,
1383
- });
1384
- };
1385
- const se_GetQueueAttributesRequest = (input, context) => {
1386
- return smithyClient.take(input, {
1387
- AttributeNames: (_) => se_AttributeNameList(_),
1388
- QueueUrl: core$1._toStr,
1389
- });
1390
- };
1391
- const se_GetQueueUrlRequest = (input, context) => {
1392
- return smithyClient.take(input, {
1393
- QueueName: core$1._toStr,
1394
- QueueOwnerAWSAccountId: core$1._toStr,
1395
- });
1396
- };
1397
- const se_ListDeadLetterSourceQueuesRequest = (input, context) => {
1398
- return smithyClient.take(input, {
1399
- MaxResults: core$1._toNum,
1400
- NextToken: core$1._toStr,
1401
- QueueUrl: core$1._toStr,
1402
- });
1403
- };
1404
- const se_ListMessageMoveTasksRequest = (input, context) => {
1405
- return smithyClient.take(input, {
1406
- MaxResults: core$1._toNum,
1407
- SourceArn: core$1._toStr,
1408
- });
1409
- };
1410
- const se_ListQueuesRequest = (input, context) => {
1411
- return smithyClient.take(input, {
1412
- MaxResults: core$1._toNum,
1413
- NextToken: core$1._toStr,
1414
- QueueNamePrefix: core$1._toStr,
1415
- });
1416
- };
1417
- const se_ListQueueTagsRequest = (input, context) => {
1418
- return smithyClient.take(input, {
1419
- QueueUrl: core$1._toStr,
1420
- });
1421
- };
1422
- const se_MessageAttributeNameList = (input, context) => {
1423
- return input
1424
- .filter((e) => e != null)
1425
- .map((entry) => {
1426
- return core$1._toStr(entry);
1427
- });
1428
- };
1429
- const se_MessageAttributeValue = (input, context) => {
1430
- return smithyClient.take(input, {
1431
- BinaryListValues: (_) => se_BinaryList(_, context),
1432
- BinaryValue: context.base64Encoder,
1433
- DataType: core$1._toStr,
1434
- StringListValues: (_) => se_StringList(_),
1435
- StringValue: core$1._toStr,
1436
- });
1437
- };
1438
- const se_MessageBodyAttributeMap = (input, context) => {
1439
- return Object.entries(input).reduce((acc, [key, value]) => {
1440
- if (value === null) {
1441
- return acc;
1442
- }
1443
- acc[key] = se_MessageAttributeValue(value, context);
1444
- return acc;
1445
- }, {});
1446
- };
1447
- const se_MessageBodySystemAttributeMap = (input, context) => {
1448
- return Object.entries(input).reduce((acc, [key, value]) => {
1449
- if (value === null) {
1450
- return acc;
1451
- }
1452
- acc[key] = se_MessageSystemAttributeValue(value, context);
1453
- return acc;
1454
- }, {});
1455
- };
1456
- const se_MessageSystemAttributeList = (input, context) => {
1457
- return input
1458
- .filter((e) => e != null)
1459
- .map((entry) => {
1460
- return core$1._toStr(entry);
1461
- });
1462
- };
1463
- const se_MessageSystemAttributeValue = (input, context) => {
1464
- return smithyClient.take(input, {
1465
- BinaryListValues: (_) => se_BinaryList(_, context),
1466
- BinaryValue: context.base64Encoder,
1467
- DataType: core$1._toStr,
1468
- StringListValues: (_) => se_StringList(_),
1469
- StringValue: core$1._toStr,
1470
- });
1471
- };
1472
- const se_PurgeQueueRequest = (input, context) => {
1473
- return smithyClient.take(input, {
1474
- QueueUrl: core$1._toStr,
1475
- });
1476
- };
1477
- const se_QueueAttributeMap = (input, context) => {
1478
- return Object.entries(input).reduce((acc, [key, value]) => {
1479
- if (value === null) {
1480
- return acc;
1481
- }
1482
- acc[key] = core$1._toStr(value);
1483
- return acc;
1484
- }, {});
1485
- };
1486
- const se_ReceiveMessageRequest = (input, context) => {
1487
- return smithyClient.take(input, {
1488
- AttributeNames: (_) => se_AttributeNameList(_),
1489
- MaxNumberOfMessages: core$1._toNum,
1490
- MessageAttributeNames: (_) => se_MessageAttributeNameList(_),
1491
- MessageSystemAttributeNames: (_) => se_MessageSystemAttributeList(_),
1492
- QueueUrl: core$1._toStr,
1493
- ReceiveRequestAttemptId: core$1._toStr,
1494
- VisibilityTimeout: core$1._toNum,
1495
- WaitTimeSeconds: core$1._toNum,
1496
- });
1497
- };
1498
- const se_RemovePermissionRequest = (input, context) => {
1499
- return smithyClient.take(input, {
1500
- Label: core$1._toStr,
1501
- QueueUrl: core$1._toStr,
1502
- });
1503
- };
1504
- const se_SendMessageBatchRequest = (input, context) => {
1505
- return smithyClient.take(input, {
1506
- Entries: (_) => se_SendMessageBatchRequestEntryList(_, context),
1507
- QueueUrl: core$1._toStr,
1508
- });
1509
- };
1510
- const se_SendMessageBatchRequestEntry = (input, context) => {
1511
- return smithyClient.take(input, {
1512
- DelaySeconds: core$1._toNum,
1513
- Id: core$1._toStr,
1514
- MessageAttributes: (_) => se_MessageBodyAttributeMap(_, context),
1515
- MessageBody: core$1._toStr,
1516
- MessageDeduplicationId: core$1._toStr,
1517
- MessageGroupId: core$1._toStr,
1518
- MessageSystemAttributes: (_) => se_MessageBodySystemAttributeMap(_, context),
1519
- });
1520
- };
1521
- const se_SendMessageBatchRequestEntryList = (input, context) => {
1522
- return input
1523
- .filter((e) => e != null)
1524
- .map((entry) => {
1525
- return se_SendMessageBatchRequestEntry(entry, context);
1526
- });
1527
- };
1528
- const se_SendMessageRequest = (input, context) => {
1529
- return smithyClient.take(input, {
1530
- DelaySeconds: core$1._toNum,
1531
- MessageAttributes: (_) => se_MessageBodyAttributeMap(_, context),
1532
- MessageBody: core$1._toStr,
1533
- MessageDeduplicationId: core$1._toStr,
1534
- MessageGroupId: core$1._toStr,
1535
- MessageSystemAttributes: (_) => se_MessageBodySystemAttributeMap(_, context),
1536
- QueueUrl: core$1._toStr,
1537
- });
1538
- };
1539
- const se_SetQueueAttributesRequest = (input, context) => {
1540
- return smithyClient.take(input, {
1541
- Attributes: (_) => se_QueueAttributeMap(_),
1542
- QueueUrl: core$1._toStr,
1543
- });
1544
- };
1545
- const se_StartMessageMoveTaskRequest = (input, context) => {
1546
- return smithyClient.take(input, {
1547
- DestinationArn: core$1._toStr,
1548
- MaxNumberOfMessagesPerSecond: core$1._toNum,
1549
- SourceArn: core$1._toStr,
1550
- });
1551
- };
1552
- const se_StringList = (input, context) => {
1553
- return input
1554
- .filter((e) => e != null)
1555
- .map((entry) => {
1556
- return core$1._toStr(entry);
1557
- });
1558
- };
1559
- const se_TagKeyList = (input, context) => {
1560
- return input
1561
- .filter((e) => e != null)
1562
- .map((entry) => {
1563
- return core$1._toStr(entry);
1564
- });
1565
- };
1566
- const se_TagMap = (input, context) => {
1567
- return Object.entries(input).reduce((acc, [key, value]) => {
1568
- if (value === null) {
1569
- return acc;
1570
- }
1571
- acc[key] = core$1._toStr(value);
1572
- return acc;
1573
- }, {});
1574
- };
1575
- const se_TagQueueRequest = (input, context) => {
1576
- return smithyClient.take(input, {
1577
- QueueUrl: core$1._toStr,
1578
- Tags: (_) => se_TagMap(_),
1579
- });
1580
- };
1581
- const se_UntagQueueRequest = (input, context) => {
1582
- return smithyClient.take(input, {
1583
- QueueUrl: core$1._toStr,
1584
- TagKeys: (_) => se_TagKeyList(_),
1585
- });
1586
- };
1587
- const de_BinaryList = (output, context) => {
1588
- const retVal = (output || [])
1589
- .filter((e) => e != null)
1590
- .map((entry) => {
1591
- return context.base64Decoder(entry);
1592
- });
1593
- return retVal;
1594
- };
1595
- const de_Message = (output, context) => {
1596
- return smithyClient.take(output, {
1597
- Attributes: smithyClient._json,
1598
- Body: smithyClient.expectString,
1599
- MD5OfBody: smithyClient.expectString,
1600
- MD5OfMessageAttributes: smithyClient.expectString,
1601
- MessageAttributes: (_) => de_MessageBodyAttributeMap(_, context),
1602
- MessageId: smithyClient.expectString,
1603
- ReceiptHandle: smithyClient.expectString,
1604
- });
1605
- };
1606
- const de_MessageAttributeValue = (output, context) => {
1607
- return smithyClient.take(output, {
1608
- BinaryListValues: (_) => de_BinaryList(_, context),
1609
- BinaryValue: context.base64Decoder,
1610
- DataType: smithyClient.expectString,
1611
- StringListValues: smithyClient._json,
1612
- StringValue: smithyClient.expectString,
1613
- });
1614
- };
1615
- const de_MessageBodyAttributeMap = (output, context) => {
1616
- return Object.entries(output).reduce((acc, [key, value]) => {
1617
- if (value === null) {
1618
- return acc;
1619
- }
1620
- acc[key] = de_MessageAttributeValue(value, context);
1621
- return acc;
1622
- }, {});
1623
- };
1624
- const de_MessageList = (output, context) => {
1625
- const retVal = (output || [])
1626
- .filter((e) => e != null)
1627
- .map((entry) => {
1628
- return de_Message(entry, context);
1629
- });
1630
- return retVal;
1631
- };
1632
- const de_ReceiveMessageResult = (output, context) => {
1633
- return smithyClient.take(output, {
1634
- Messages: (_) => de_MessageList(_, context),
1635
- });
1636
- };
1637
- const deserializeMetadata = (output) => ({
1638
- httpStatusCode: output.statusCode,
1639
- requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
1640
- extendedRequestId: output.headers["x-amz-id-2"],
1641
- cfId: output.headers["x-amz-cf-id"],
1642
- });
1643
- const throwDefaultError = smithyClient.withBaseException(SQSServiceException);
1644
- const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
1645
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1646
- const contents = {
1647
- protocol,
1648
- hostname,
1649
- port,
1650
- method: "POST",
1651
- path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
1652
- headers,
1653
- };
1654
- if (body !== undefined) {
1655
- contents.body = body;
1656
- }
1657
- return new protocolHttp.HttpRequest(contents);
1658
- };
1659
- function sharedHeaders(operation) {
1660
- return {
1661
- "content-type": "application/x-amz-json-1.0",
1662
- "x-amz-target": `AmazonSQS.${operation}`,
1663
- "x-amzn-query-mode": "true",
1664
- };
1665
- }
1666
- const populateBodyWithQueryCompatibility = (parsedOutput, headers) => {
1667
- const queryErrorHeader = headers["x-amzn-query-error"];
1668
- if (parsedOutput.body !== undefined && queryErrorHeader != null) {
1669
- const [Code, Type] = queryErrorHeader.split(";");
1670
- const entries = Object.entries(parsedOutput.body);
1671
- const Error = {
1672
- Type,
1673
- Code,
1674
- };
1675
- Object.assign(parsedOutput.body, Error);
1676
- for (const [k, v] of entries) {
1677
- Error[k] = v;
1678
- }
1679
- delete Error.__type;
1680
- parsedOutput.body.Error = Error;
1681
- }
1682
497
  };
1683
498
 
499
+ const _A = "Actions";
500
+ const _AN = "ActionName";
501
+ const _ANOMM = "ApproximateNumberOfMessagesMoved";
502
+ const _ANOMTM = "ApproximateNumberOfMessagesToMove";
503
+ const _ANt = "AttributeNames";
504
+ const _ANtt = "AttributeName";
505
+ const _AP = "AddPermission";
506
+ const _APR = "AddPermissionRequest";
507
+ const _AWSAI = "AWSAccountIds";
508
+ const _AWSAIc = "AWSAccountId";
509
+ const _At = "Attributes";
510
+ const _Att = "Attribute";
511
+ const _B = "Body";
512
+ const _BEIND = "BatchEntryIdsNotDistinct";
513
+ const _BL = "BinaryList";
514
+ const _BLV = "BinaryListValues";
515
+ const _BLVi = "BinaryListValue";
516
+ const _BREE = "BatchResultErrorEntry";
517
+ const _BREEL = "BatchResultErrorEntryList";
518
+ const _BRTL = "BatchRequestTooLong";
519
+ const _BV = "BinaryValue";
520
+ const _C = "Code";
521
+ const _CMMT = "CancelMessageMoveTask";
522
+ const _CMMTR = "CancelMessageMoveTaskRequest";
523
+ const _CMMTRa = "CancelMessageMoveTaskResult";
524
+ const _CMV = "ChangeMessageVisibility";
525
+ const _CMVB = "ChangeMessageVisibilityBatch";
526
+ const _CMVBR = "ChangeMessageVisibilityBatchRequest";
527
+ const _CMVBRE = "ChangeMessageVisibilityBatchRequestEntry";
528
+ const _CMVBREL = "ChangeMessageVisibilityBatchRequestEntryList";
529
+ const _CMVBRELh = "ChangeMessageVisibilityBatchResultEntryList";
530
+ const _CMVBREh = "ChangeMessageVisibilityBatchResultEntry";
531
+ const _CMVBRh = "ChangeMessageVisibilityBatchResult";
532
+ const _CMVR = "ChangeMessageVisibilityRequest";
533
+ const _CQ = "CreateQueue";
534
+ const _CQR = "CreateQueueRequest";
535
+ const _CQRr = "CreateQueueResult";
536
+ const _DA = "DestinationArn";
537
+ const _DM = "DeleteMessage";
538
+ const _DMB = "DeleteMessageBatch";
539
+ const _DMBR = "DeleteMessageBatchRequest";
540
+ const _DMBRE = "DeleteMessageBatchRequestEntry";
541
+ const _DMBREL = "DeleteMessageBatchRequestEntryList";
542
+ const _DMBRELe = "DeleteMessageBatchResultEntryList";
543
+ const _DMBREe = "DeleteMessageBatchResultEntry";
544
+ const _DMBRe = "DeleteMessageBatchResult";
545
+ const _DMR = "DeleteMessageRequest";
546
+ const _DQ = "DeleteQueue";
547
+ const _DQR = "DeleteQueueRequest";
548
+ const _DS = "DelaySeconds";
549
+ const _DT = "DataType";
550
+ const _E = "Entries";
551
+ const _EBR = "EmptyBatchRequest";
552
+ const _F = "Failed";
553
+ const _FR = "FailureReason";
554
+ const _GQA = "GetQueueAttributes";
555
+ const _GQAR = "GetQueueAttributesRequest";
556
+ const _GQARe = "GetQueueAttributesResult";
557
+ const _GQU = "GetQueueUrl";
558
+ const _GQUR = "GetQueueUrlRequest";
559
+ const _GQURe = "GetQueueUrlResult";
560
+ const _I = "Id";
561
+ const _IA = "InvalidAddress";
562
+ const _IAN = "InvalidAttributeName";
563
+ const _IAV = "InvalidAttributeValue";
564
+ const _IBEI = "InvalidBatchEntryId";
565
+ const _IIF = "InvalidIdFormat";
566
+ const _IMC = "InvalidMessageContents";
567
+ const _IS = "InvalidSecurity";
568
+ const _K = "Key";
569
+ const _KAD = "KmsAccessDenied";
570
+ const _KD = "KmsDisabled";
571
+ const _KIKU = "KmsInvalidKeyUsage";
572
+ const _KIS = "KmsInvalidState";
573
+ const _KNF = "KmsNotFound";
574
+ const _KOIR = "KmsOptInRequired";
575
+ const _KT = "KmsThrottled";
576
+ const _L = "Label";
577
+ const _LDLSQ = "ListDeadLetterSourceQueues";
578
+ const _LDLSQR = "ListDeadLetterSourceQueuesRequest";
579
+ const _LDLSQRi = "ListDeadLetterSourceQueuesResult";
580
+ const _LMMT = "ListMessageMoveTasks";
581
+ const _LMMTR = "ListMessageMoveTasksRequest";
582
+ const _LMMTRE = "ListMessageMoveTasksResultEntry";
583
+ const _LMMTREL = "ListMessageMoveTasksResultEntryList";
584
+ const _LMMTRi = "ListMessageMoveTasksResult";
585
+ const _LQ = "ListQueues";
586
+ const _LQR = "ListQueuesRequest";
587
+ const _LQRi = "ListQueuesResult";
588
+ const _LQT = "ListQueueTags";
589
+ const _LQTR = "ListQueueTagsRequest";
590
+ const _LQTRi = "ListQueueTagsResult";
591
+ const _M = "Message";
592
+ const _MA = "MessageAttributes";
593
+ const _MAN = "MessageAttributeNames";
594
+ const _MANe = "MessageAttributeName";
595
+ const _MAV = "MessageAttributeValue";
596
+ const _MAe = "MessageAttribute";
597
+ const _MB = "MessageBody";
598
+ const _MBAM = "MessageBodyAttributeMap";
599
+ const _MBSAM = "MessageBodySystemAttributeMap";
600
+ const _MDI = "MessageDeduplicationId";
601
+ const _MDOB = "MD5OfBody";
602
+ const _MDOMA = "MD5OfMessageAttributes";
603
+ const _MDOMB = "MD5OfMessageBody";
604
+ const _MDOMSA = "MD5OfMessageSystemAttributes";
605
+ const _MGI = "MessageGroupId";
606
+ const _MI = "MessageId";
607
+ const _ML = "MessageList";
608
+ const _MNI = "MessageNotInflight";
609
+ const _MNOM = "MaxNumberOfMessages";
610
+ const _MNOMPS = "MaxNumberOfMessagesPerSecond";
611
+ const _MR = "MaxResults";
612
+ const _MSA = "MessageSystemAttributes";
613
+ const _MSAM = "MessageSystemAttributeMap";
614
+ const _MSAN = "MessageSystemAttributeNames";
615
+ const _MSAV = "MessageSystemAttributeValue";
616
+ const _MSAe = "MessageSystemAttribute";
617
+ const _Me = "Messages";
618
+ const _N = "Name";
619
+ const _NT = "NextToken";
620
+ const _OL = "OverLimit";
621
+ const _PQ = "PurgeQueue";
622
+ const _PQIP = "PurgeQueueInProgress";
623
+ const _PQR = "PurgeQueueRequest";
624
+ const _QAM = "QueueAttributeMap";
625
+ const _QDNE = "QueueDoesNotExist";
626
+ const _QDR = "QueueDeletedRecently";
627
+ const _QN = "QueueName";
628
+ const _QNE = "QueueNameExists";
629
+ const _QNP = "QueueNamePrefix";
630
+ const _QOAWSAI = "QueueOwnerAWSAccountId";
631
+ const _QU = "QueueUrl";
632
+ const _QUu = "QueueUrls";
633
+ const _R = "Results";
634
+ const _RH = "ReceiptHandle";
635
+ const _RHII = "ReceiptHandleIsInvalid";
636
+ const _RM = "ReceiveMessage";
637
+ const _RMR = "ReceiveMessageRequest";
638
+ const _RMRe = "ReceiveMessageResult";
639
+ const _RNFE = "ResourceNotFoundException";
640
+ const _RP = "RemovePermission";
641
+ const _RPR = "RemovePermissionRequest";
642
+ const _RRAI = "ReceiveRequestAttemptId";
643
+ const _RT = "RequestThrottled";
644
+ const _S = "Successful";
645
+ const _SA = "SourceArn";
646
+ const _SF = "SenderFault";
647
+ const _SL = "StringList";
648
+ const _SLV = "StringListValues";
649
+ const _SLVt = "StringListValue";
650
+ const _SM = "SendMessage";
651
+ const _SMB = "SendMessageBatch";
652
+ const _SMBR = "SendMessageBatchRequest";
653
+ const _SMBRE = "SendMessageBatchRequestEntry";
654
+ const _SMBREL = "SendMessageBatchRequestEntryList";
655
+ const _SMBRELe = "SendMessageBatchResultEntryList";
656
+ const _SMBREe = "SendMessageBatchResultEntry";
657
+ const _SMBRe = "SendMessageBatchResult";
658
+ const _SMMT = "StartMessageMoveTask";
659
+ const _SMMTR = "StartMessageMoveTaskRequest";
660
+ const _SMMTRt = "StartMessageMoveTaskResult";
661
+ const _SMR = "SendMessageRequest";
662
+ const _SMRe = "SendMessageResult";
663
+ const _SN = "SequenceNumber";
664
+ const _SQA = "SetQueueAttributes";
665
+ const _SQAR = "SetQueueAttributesRequest";
666
+ const _ST = "StartedTimestamp";
667
+ const _SV = "StringValue";
668
+ const _St = "Status";
669
+ const _T = "Tag";
670
+ const _TH = "TaskHandle";
671
+ const _TK = "TagKeys";
672
+ const _TKa = "TagKey";
673
+ const _TM = "TagMap";
674
+ const _TMEIBR = "TooManyEntriesInBatchRequest";
675
+ const _TQ = "TagQueue";
676
+ const _TQR = "TagQueueRequest";
677
+ const _Ta = "Tags";
678
+ const _UO = "UnsupportedOperation";
679
+ const _UQ = "UntagQueue";
680
+ const _UQR = "UntagQueueRequest";
681
+ const _V = "Value";
682
+ const _VT = "VisibilityTimeout";
683
+ const _WTS = "WaitTimeSeconds";
684
+ const _aQE = "awsQueryError";
685
+ const _c = "client";
686
+ const _e = "error";
687
+ const _hE = "httpError";
688
+ const _m = "message";
689
+ const _qU = "queueUrls";
690
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.sqs";
691
+ const _t = "tags";
692
+ const _xF = "xmlFlattened";
693
+ const _xN = "xmlName";
694
+ const n0 = "com.amazonaws.sqs";
695
+ var AddPermissionRequest = [
696
+ 3,
697
+ n0,
698
+ _APR,
699
+ 0,
700
+ [_QU, _L, _AWSAI, _A],
701
+ [
702
+ 0,
703
+ 0,
704
+ [
705
+ 64 | 0,
706
+ {
707
+ [_xN]: _AWSAIc,
708
+ [_xF]: 1,
709
+ },
710
+ ],
711
+ [
712
+ 64 | 0,
713
+ {
714
+ [_xN]: _AN,
715
+ [_xF]: 1,
716
+ },
717
+ ],
718
+ ],
719
+ ];
720
+ var BatchEntryIdsNotDistinct = [
721
+ -3,
722
+ n0,
723
+ _BEIND,
724
+ {
725
+ [_e]: _c,
726
+ [_hE]: 400,
727
+ [_aQE]: [`AWS.SimpleQueueService.BatchEntryIdsNotDistinct`, 400],
728
+ },
729
+ [_m],
730
+ [0],
731
+ ];
732
+ schema.TypeRegistry.for(n0).registerError(BatchEntryIdsNotDistinct, BatchEntryIdsNotDistinct$1);
733
+ var BatchRequestTooLong = [
734
+ -3,
735
+ n0,
736
+ _BRTL,
737
+ {
738
+ [_e]: _c,
739
+ [_hE]: 400,
740
+ [_aQE]: [`AWS.SimpleQueueService.BatchRequestTooLong`, 400],
741
+ },
742
+ [_m],
743
+ [0],
744
+ ];
745
+ schema.TypeRegistry.for(n0).registerError(BatchRequestTooLong, BatchRequestTooLong$1);
746
+ var BatchResultErrorEntry = [3, n0, _BREE, 0, [_I, _SF, _C, _M], [0, 2, 0, 0]];
747
+ var CancelMessageMoveTaskRequest = [3, n0, _CMMTR, 0, [_TH], [0]];
748
+ var CancelMessageMoveTaskResult = [3, n0, _CMMTRa, 0, [_ANOMM], [1]];
749
+ var ChangeMessageVisibilityBatchRequest = [
750
+ 3,
751
+ n0,
752
+ _CMVBR,
753
+ 0,
754
+ [_QU, _E],
755
+ [
756
+ 0,
757
+ [
758
+ () => ChangeMessageVisibilityBatchRequestEntryList,
759
+ {
760
+ [_xN]: _CMVBRE,
761
+ [_xF]: 1,
762
+ },
763
+ ],
764
+ ],
765
+ ];
766
+ var ChangeMessageVisibilityBatchRequestEntry = [
767
+ 3,
768
+ n0,
769
+ _CMVBRE,
770
+ 0,
771
+ [_I, _RH, _VT],
772
+ [0, 0, 1],
773
+ ];
774
+ var ChangeMessageVisibilityBatchResult = [
775
+ 3,
776
+ n0,
777
+ _CMVBRh,
778
+ 0,
779
+ [_S, _F],
780
+ [
781
+ [
782
+ () => ChangeMessageVisibilityBatchResultEntryList,
783
+ {
784
+ [_xN]: _CMVBREh,
785
+ [_xF]: 1,
786
+ },
787
+ ],
788
+ [
789
+ () => BatchResultErrorEntryList,
790
+ {
791
+ [_xN]: _BREE,
792
+ [_xF]: 1,
793
+ },
794
+ ],
795
+ ],
796
+ ];
797
+ var ChangeMessageVisibilityBatchResultEntry = [3, n0, _CMVBREh, 0, [_I], [0]];
798
+ var ChangeMessageVisibilityRequest = [3, n0, _CMVR, 0, [_QU, _RH, _VT], [0, 0, 1]];
799
+ var CreateQueueRequest = [
800
+ 3,
801
+ n0,
802
+ _CQR,
803
+ 0,
804
+ [_QN, _At, _t],
805
+ [
806
+ 0,
807
+ [
808
+ () => QueueAttributeMap,
809
+ {
810
+ [_xN]: _Att,
811
+ [_xF]: 1,
812
+ },
813
+ ],
814
+ [
815
+ () => TagMap,
816
+ {
817
+ [_xN]: _T,
818
+ [_xF]: 1,
819
+ },
820
+ ],
821
+ ],
822
+ ];
823
+ var CreateQueueResult = [3, n0, _CQRr, 0, [_QU], [0]];
824
+ var DeleteMessageBatchRequest = [
825
+ 3,
826
+ n0,
827
+ _DMBR,
828
+ 0,
829
+ [_QU, _E],
830
+ [
831
+ 0,
832
+ [
833
+ () => DeleteMessageBatchRequestEntryList,
834
+ {
835
+ [_xN]: _DMBRE,
836
+ [_xF]: 1,
837
+ },
838
+ ],
839
+ ],
840
+ ];
841
+ var DeleteMessageBatchRequestEntry = [3, n0, _DMBRE, 0, [_I, _RH], [0, 0]];
842
+ var DeleteMessageBatchResult = [
843
+ 3,
844
+ n0,
845
+ _DMBRe,
846
+ 0,
847
+ [_S, _F],
848
+ [
849
+ [
850
+ () => DeleteMessageBatchResultEntryList,
851
+ {
852
+ [_xN]: _DMBREe,
853
+ [_xF]: 1,
854
+ },
855
+ ],
856
+ [
857
+ () => BatchResultErrorEntryList,
858
+ {
859
+ [_xN]: _BREE,
860
+ [_xF]: 1,
861
+ },
862
+ ],
863
+ ],
864
+ ];
865
+ var DeleteMessageBatchResultEntry = [3, n0, _DMBREe, 0, [_I], [0]];
866
+ var DeleteMessageRequest = [3, n0, _DMR, 0, [_QU, _RH], [0, 0]];
867
+ var DeleteQueueRequest = [3, n0, _DQR, 0, [_QU], [0]];
868
+ var EmptyBatchRequest = [
869
+ -3,
870
+ n0,
871
+ _EBR,
872
+ {
873
+ [_e]: _c,
874
+ [_hE]: 400,
875
+ [_aQE]: [`AWS.SimpleQueueService.EmptyBatchRequest`, 400],
876
+ },
877
+ [_m],
878
+ [0],
879
+ ];
880
+ schema.TypeRegistry.for(n0).registerError(EmptyBatchRequest, EmptyBatchRequest$1);
881
+ var GetQueueAttributesRequest = [
882
+ 3,
883
+ n0,
884
+ _GQAR,
885
+ 0,
886
+ [_QU, _ANt],
887
+ [
888
+ 0,
889
+ [
890
+ 64 | 0,
891
+ {
892
+ [_xN]: _ANtt,
893
+ [_xF]: 1,
894
+ },
895
+ ],
896
+ ],
897
+ ];
898
+ var GetQueueAttributesResult = [
899
+ 3,
900
+ n0,
901
+ _GQARe,
902
+ 0,
903
+ [_At],
904
+ [
905
+ [
906
+ () => QueueAttributeMap,
907
+ {
908
+ [_xN]: _Att,
909
+ [_xF]: 1,
910
+ },
911
+ ],
912
+ ],
913
+ ];
914
+ var GetQueueUrlRequest = [3, n0, _GQUR, 0, [_QN, _QOAWSAI], [0, 0]];
915
+ var GetQueueUrlResult = [3, n0, _GQURe, 0, [_QU], [0]];
916
+ var InvalidAddress = [
917
+ -3,
918
+ n0,
919
+ _IA,
920
+ {
921
+ [_e]: _c,
922
+ [_hE]: 404,
923
+ [_aQE]: [`InvalidAddress`, 404],
924
+ },
925
+ [_m],
926
+ [0],
927
+ ];
928
+ schema.TypeRegistry.for(n0).registerError(InvalidAddress, InvalidAddress$1);
929
+ var InvalidAttributeName = [
930
+ -3,
931
+ n0,
932
+ _IAN,
933
+ {
934
+ [_e]: _c,
935
+ },
936
+ [_m],
937
+ [0],
938
+ ];
939
+ schema.TypeRegistry.for(n0).registerError(InvalidAttributeName, InvalidAttributeName$1);
940
+ var InvalidAttributeValue = [
941
+ -3,
942
+ n0,
943
+ _IAV,
944
+ {
945
+ [_e]: _c,
946
+ },
947
+ [_m],
948
+ [0],
949
+ ];
950
+ schema.TypeRegistry.for(n0).registerError(InvalidAttributeValue, InvalidAttributeValue$1);
951
+ var InvalidBatchEntryId = [
952
+ -3,
953
+ n0,
954
+ _IBEI,
955
+ {
956
+ [_e]: _c,
957
+ [_hE]: 400,
958
+ [_aQE]: [`AWS.SimpleQueueService.InvalidBatchEntryId`, 400],
959
+ },
960
+ [_m],
961
+ [0],
962
+ ];
963
+ schema.TypeRegistry.for(n0).registerError(InvalidBatchEntryId, InvalidBatchEntryId$1);
964
+ var InvalidIdFormat = [
965
+ -3,
966
+ n0,
967
+ _IIF,
968
+ {
969
+ [_e]: _c,
970
+ },
971
+ [],
972
+ [],
973
+ ];
974
+ schema.TypeRegistry.for(n0).registerError(InvalidIdFormat, InvalidIdFormat$1);
975
+ var InvalidMessageContents = [
976
+ -3,
977
+ n0,
978
+ _IMC,
979
+ {
980
+ [_e]: _c,
981
+ },
982
+ [_m],
983
+ [0],
984
+ ];
985
+ schema.TypeRegistry.for(n0).registerError(InvalidMessageContents, InvalidMessageContents$1);
986
+ var InvalidSecurity = [
987
+ -3,
988
+ n0,
989
+ _IS,
990
+ {
991
+ [_e]: _c,
992
+ [_hE]: 403,
993
+ [_aQE]: [`InvalidSecurity`, 403],
994
+ },
995
+ [_m],
996
+ [0],
997
+ ];
998
+ schema.TypeRegistry.for(n0).registerError(InvalidSecurity, InvalidSecurity$1);
999
+ var KmsAccessDenied = [
1000
+ -3,
1001
+ n0,
1002
+ _KAD,
1003
+ {
1004
+ [_e]: _c,
1005
+ [_hE]: 400,
1006
+ [_aQE]: [`KMS.AccessDeniedException`, 400],
1007
+ },
1008
+ [_m],
1009
+ [0],
1010
+ ];
1011
+ schema.TypeRegistry.for(n0).registerError(KmsAccessDenied, KmsAccessDenied$1);
1012
+ var KmsDisabled = [
1013
+ -3,
1014
+ n0,
1015
+ _KD,
1016
+ {
1017
+ [_e]: _c,
1018
+ [_hE]: 400,
1019
+ [_aQE]: [`KMS.DisabledException`, 400],
1020
+ },
1021
+ [_m],
1022
+ [0],
1023
+ ];
1024
+ schema.TypeRegistry.for(n0).registerError(KmsDisabled, KmsDisabled$1);
1025
+ var KmsInvalidKeyUsage = [
1026
+ -3,
1027
+ n0,
1028
+ _KIKU,
1029
+ {
1030
+ [_e]: _c,
1031
+ [_hE]: 400,
1032
+ [_aQE]: [`KMS.InvalidKeyUsageException`, 400],
1033
+ },
1034
+ [_m],
1035
+ [0],
1036
+ ];
1037
+ schema.TypeRegistry.for(n0).registerError(KmsInvalidKeyUsage, KmsInvalidKeyUsage$1);
1038
+ var KmsInvalidState = [
1039
+ -3,
1040
+ n0,
1041
+ _KIS,
1042
+ {
1043
+ [_e]: _c,
1044
+ [_hE]: 400,
1045
+ [_aQE]: [`KMS.InvalidStateException`, 400],
1046
+ },
1047
+ [_m],
1048
+ [0],
1049
+ ];
1050
+ schema.TypeRegistry.for(n0).registerError(KmsInvalidState, KmsInvalidState$1);
1051
+ var KmsNotFound = [
1052
+ -3,
1053
+ n0,
1054
+ _KNF,
1055
+ {
1056
+ [_e]: _c,
1057
+ [_hE]: 400,
1058
+ [_aQE]: [`KMS.NotFoundException`, 400],
1059
+ },
1060
+ [_m],
1061
+ [0],
1062
+ ];
1063
+ schema.TypeRegistry.for(n0).registerError(KmsNotFound, KmsNotFound$1);
1064
+ var KmsOptInRequired = [
1065
+ -3,
1066
+ n0,
1067
+ _KOIR,
1068
+ {
1069
+ [_e]: _c,
1070
+ [_hE]: 403,
1071
+ [_aQE]: [`KMS.OptInRequired`, 403],
1072
+ },
1073
+ [_m],
1074
+ [0],
1075
+ ];
1076
+ schema.TypeRegistry.for(n0).registerError(KmsOptInRequired, KmsOptInRequired$1);
1077
+ var KmsThrottled = [
1078
+ -3,
1079
+ n0,
1080
+ _KT,
1081
+ {
1082
+ [_e]: _c,
1083
+ [_hE]: 400,
1084
+ [_aQE]: [`KMS.ThrottlingException`, 400],
1085
+ },
1086
+ [_m],
1087
+ [0],
1088
+ ];
1089
+ schema.TypeRegistry.for(n0).registerError(KmsThrottled, KmsThrottled$1);
1090
+ var ListDeadLetterSourceQueuesRequest = [3, n0, _LDLSQR, 0, [_QU, _NT, _MR], [0, 0, 1]];
1091
+ var ListDeadLetterSourceQueuesResult = [
1092
+ 3,
1093
+ n0,
1094
+ _LDLSQRi,
1095
+ 0,
1096
+ [_qU, _NT],
1097
+ [
1098
+ [
1099
+ 64 | 0,
1100
+ {
1101
+ [_xN]: _QU,
1102
+ [_xF]: 1,
1103
+ },
1104
+ ],
1105
+ 0,
1106
+ ],
1107
+ ];
1108
+ var ListMessageMoveTasksRequest = [3, n0, _LMMTR, 0, [_SA, _MR], [0, 1]];
1109
+ var ListMessageMoveTasksResult = [
1110
+ 3,
1111
+ n0,
1112
+ _LMMTRi,
1113
+ {
1114
+ [_xN]: _LMMTRi,
1115
+ },
1116
+ [_R],
1117
+ [
1118
+ [
1119
+ () => ListMessageMoveTasksResultEntryList,
1120
+ {
1121
+ [_xN]: _LMMTRE,
1122
+ [_xF]: 1,
1123
+ },
1124
+ ],
1125
+ ],
1126
+ ];
1127
+ var ListMessageMoveTasksResultEntry = [
1128
+ 3,
1129
+ n0,
1130
+ _LMMTRE,
1131
+ 0,
1132
+ [_TH, _St, _SA, _DA, _MNOMPS, _ANOMM, _ANOMTM, _FR, _ST],
1133
+ [0, 0, 0, 0, 1, 1, 1, 0, 1],
1134
+ ];
1135
+ var ListQueuesRequest = [3, n0, _LQR, 0, [_QNP, _NT, _MR], [0, 0, 1]];
1136
+ var ListQueuesResult = [
1137
+ 3,
1138
+ n0,
1139
+ _LQRi,
1140
+ 0,
1141
+ [_QUu, _NT],
1142
+ [
1143
+ [
1144
+ 64 | 0,
1145
+ {
1146
+ [_xN]: _QU,
1147
+ [_xF]: 1,
1148
+ },
1149
+ ],
1150
+ 0,
1151
+ ],
1152
+ ];
1153
+ var ListQueueTagsRequest = [3, n0, _LQTR, 0, [_QU], [0]];
1154
+ var ListQueueTagsResult = [
1155
+ 3,
1156
+ n0,
1157
+ _LQTRi,
1158
+ 0,
1159
+ [_Ta],
1160
+ [
1161
+ [
1162
+ () => TagMap,
1163
+ {
1164
+ [_xN]: _T,
1165
+ [_xF]: 1,
1166
+ },
1167
+ ],
1168
+ ],
1169
+ ];
1170
+ var Message = [
1171
+ 3,
1172
+ n0,
1173
+ _M,
1174
+ 0,
1175
+ [_MI, _RH, _MDOB, _B, _At, _MDOMA, _MA],
1176
+ [
1177
+ 0,
1178
+ 0,
1179
+ 0,
1180
+ 0,
1181
+ [
1182
+ () => MessageSystemAttributeMap,
1183
+ {
1184
+ [_xN]: _Att,
1185
+ [_xF]: 1,
1186
+ },
1187
+ ],
1188
+ 0,
1189
+ [
1190
+ () => MessageBodyAttributeMap,
1191
+ {
1192
+ [_xN]: _MAe,
1193
+ [_xF]: 1,
1194
+ },
1195
+ ],
1196
+ ],
1197
+ ];
1198
+ var MessageAttributeValue = [
1199
+ 3,
1200
+ n0,
1201
+ _MAV,
1202
+ 0,
1203
+ [_SV, _BV, _SLV, _BLV, _DT],
1204
+ [
1205
+ 0,
1206
+ 21,
1207
+ [
1208
+ () => StringList,
1209
+ {
1210
+ [_xN]: _SLVt,
1211
+ [_xF]: 1,
1212
+ },
1213
+ ],
1214
+ [
1215
+ () => BinaryList,
1216
+ {
1217
+ [_xN]: _BLVi,
1218
+ [_xF]: 1,
1219
+ },
1220
+ ],
1221
+ 0,
1222
+ ],
1223
+ ];
1224
+ var MessageNotInflight = [
1225
+ -3,
1226
+ n0,
1227
+ _MNI,
1228
+ {
1229
+ [_e]: _c,
1230
+ [_hE]: 400,
1231
+ [_aQE]: [`AWS.SimpleQueueService.MessageNotInflight`, 400],
1232
+ },
1233
+ [],
1234
+ [],
1235
+ ];
1236
+ schema.TypeRegistry.for(n0).registerError(MessageNotInflight, MessageNotInflight$1);
1237
+ var MessageSystemAttributeValue = [
1238
+ 3,
1239
+ n0,
1240
+ _MSAV,
1241
+ 0,
1242
+ [_SV, _BV, _SLV, _BLV, _DT],
1243
+ [
1244
+ 0,
1245
+ 21,
1246
+ [
1247
+ () => StringList,
1248
+ {
1249
+ [_xN]: _SLVt,
1250
+ [_xF]: 1,
1251
+ },
1252
+ ],
1253
+ [
1254
+ () => BinaryList,
1255
+ {
1256
+ [_xN]: _BLVi,
1257
+ [_xF]: 1,
1258
+ },
1259
+ ],
1260
+ 0,
1261
+ ],
1262
+ ];
1263
+ var OverLimit = [
1264
+ -3,
1265
+ n0,
1266
+ _OL,
1267
+ {
1268
+ [_e]: _c,
1269
+ [_hE]: 403,
1270
+ [_aQE]: [`OverLimit`, 403],
1271
+ },
1272
+ [_m],
1273
+ [0],
1274
+ ];
1275
+ schema.TypeRegistry.for(n0).registerError(OverLimit, OverLimit$1);
1276
+ var PurgeQueueInProgress = [
1277
+ -3,
1278
+ n0,
1279
+ _PQIP,
1280
+ {
1281
+ [_e]: _c,
1282
+ [_hE]: 403,
1283
+ [_aQE]: [`AWS.SimpleQueueService.PurgeQueueInProgress`, 403],
1284
+ },
1285
+ [_m],
1286
+ [0],
1287
+ ];
1288
+ schema.TypeRegistry.for(n0).registerError(PurgeQueueInProgress, PurgeQueueInProgress$1);
1289
+ var PurgeQueueRequest = [3, n0, _PQR, 0, [_QU], [0]];
1290
+ var QueueDeletedRecently = [
1291
+ -3,
1292
+ n0,
1293
+ _QDR,
1294
+ {
1295
+ [_e]: _c,
1296
+ [_hE]: 400,
1297
+ [_aQE]: [`AWS.SimpleQueueService.QueueDeletedRecently`, 400],
1298
+ },
1299
+ [_m],
1300
+ [0],
1301
+ ];
1302
+ schema.TypeRegistry.for(n0).registerError(QueueDeletedRecently, QueueDeletedRecently$1);
1303
+ var QueueDoesNotExist = [
1304
+ -3,
1305
+ n0,
1306
+ _QDNE,
1307
+ {
1308
+ [_e]: _c,
1309
+ [_hE]: 400,
1310
+ [_aQE]: [`AWS.SimpleQueueService.NonExistentQueue`, 400],
1311
+ },
1312
+ [_m],
1313
+ [0],
1314
+ ];
1315
+ schema.TypeRegistry.for(n0).registerError(QueueDoesNotExist, QueueDoesNotExist$1);
1316
+ var QueueNameExists = [
1317
+ -3,
1318
+ n0,
1319
+ _QNE,
1320
+ {
1321
+ [_e]: _c,
1322
+ [_hE]: 400,
1323
+ [_aQE]: [`QueueAlreadyExists`, 400],
1324
+ },
1325
+ [_m],
1326
+ [0],
1327
+ ];
1328
+ schema.TypeRegistry.for(n0).registerError(QueueNameExists, QueueNameExists$1);
1329
+ var ReceiptHandleIsInvalid = [
1330
+ -3,
1331
+ n0,
1332
+ _RHII,
1333
+ {
1334
+ [_e]: _c,
1335
+ [_hE]: 404,
1336
+ [_aQE]: [`ReceiptHandleIsInvalid`, 404],
1337
+ },
1338
+ [_m],
1339
+ [0],
1340
+ ];
1341
+ schema.TypeRegistry.for(n0).registerError(ReceiptHandleIsInvalid, ReceiptHandleIsInvalid$1);
1342
+ var ReceiveMessageRequest = [
1343
+ 3,
1344
+ n0,
1345
+ _RMR,
1346
+ 0,
1347
+ [_QU, _ANt, _MSAN, _MAN, _MNOM, _VT, _WTS, _RRAI],
1348
+ [
1349
+ 0,
1350
+ [
1351
+ 64 | 0,
1352
+ {
1353
+ [_xN]: _ANtt,
1354
+ [_xF]: 1,
1355
+ },
1356
+ ],
1357
+ [
1358
+ 64 | 0,
1359
+ {
1360
+ [_xN]: _ANtt,
1361
+ [_xF]: 1,
1362
+ },
1363
+ ],
1364
+ [
1365
+ 64 | 0,
1366
+ {
1367
+ [_xN]: _MANe,
1368
+ [_xF]: 1,
1369
+ },
1370
+ ],
1371
+ 1,
1372
+ 1,
1373
+ 1,
1374
+ 0,
1375
+ ],
1376
+ ];
1377
+ var ReceiveMessageResult = [
1378
+ 3,
1379
+ n0,
1380
+ _RMRe,
1381
+ 0,
1382
+ [_Me],
1383
+ [
1384
+ [
1385
+ () => MessageList,
1386
+ {
1387
+ [_xN]: _M,
1388
+ [_xF]: 1,
1389
+ },
1390
+ ],
1391
+ ],
1392
+ ];
1393
+ var RemovePermissionRequest = [3, n0, _RPR, 0, [_QU, _L], [0, 0]];
1394
+ var RequestThrottled = [
1395
+ -3,
1396
+ n0,
1397
+ _RT,
1398
+ {
1399
+ [_e]: _c,
1400
+ [_hE]: 403,
1401
+ [_aQE]: [`RequestThrottled`, 403],
1402
+ },
1403
+ [_m],
1404
+ [0],
1405
+ ];
1406
+ schema.TypeRegistry.for(n0).registerError(RequestThrottled, RequestThrottled$1);
1407
+ var ResourceNotFoundException = [
1408
+ -3,
1409
+ n0,
1410
+ _RNFE,
1411
+ {
1412
+ [_e]: _c,
1413
+ [_hE]: 404,
1414
+ [_aQE]: [`ResourceNotFoundException`, 404],
1415
+ },
1416
+ [_m],
1417
+ [0],
1418
+ ];
1419
+ schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
1420
+ var SendMessageBatchRequest = [
1421
+ 3,
1422
+ n0,
1423
+ _SMBR,
1424
+ 0,
1425
+ [_QU, _E],
1426
+ [
1427
+ 0,
1428
+ [
1429
+ () => SendMessageBatchRequestEntryList,
1430
+ {
1431
+ [_xN]: _SMBRE,
1432
+ [_xF]: 1,
1433
+ },
1434
+ ],
1435
+ ],
1436
+ ];
1437
+ var SendMessageBatchRequestEntry = [
1438
+ 3,
1439
+ n0,
1440
+ _SMBRE,
1441
+ 0,
1442
+ [_I, _MB, _DS, _MA, _MSA, _MDI, _MGI],
1443
+ [
1444
+ 0,
1445
+ 0,
1446
+ 1,
1447
+ [
1448
+ () => MessageBodyAttributeMap,
1449
+ {
1450
+ [_xN]: _MAe,
1451
+ [_xF]: 1,
1452
+ },
1453
+ ],
1454
+ [
1455
+ () => MessageBodySystemAttributeMap,
1456
+ {
1457
+ [_xN]: _MSAe,
1458
+ [_xF]: 1,
1459
+ },
1460
+ ],
1461
+ 0,
1462
+ 0,
1463
+ ],
1464
+ ];
1465
+ var SendMessageBatchResult = [
1466
+ 3,
1467
+ n0,
1468
+ _SMBRe,
1469
+ 0,
1470
+ [_S, _F],
1471
+ [
1472
+ [
1473
+ () => SendMessageBatchResultEntryList,
1474
+ {
1475
+ [_xN]: _SMBREe,
1476
+ [_xF]: 1,
1477
+ },
1478
+ ],
1479
+ [
1480
+ () => BatchResultErrorEntryList,
1481
+ {
1482
+ [_xN]: _BREE,
1483
+ [_xF]: 1,
1484
+ },
1485
+ ],
1486
+ ],
1487
+ ];
1488
+ var SendMessageBatchResultEntry = [
1489
+ 3,
1490
+ n0,
1491
+ _SMBREe,
1492
+ 0,
1493
+ [_I, _MI, _MDOMB, _MDOMA, _MDOMSA, _SN],
1494
+ [0, 0, 0, 0, 0, 0],
1495
+ ];
1496
+ var SendMessageRequest = [
1497
+ 3,
1498
+ n0,
1499
+ _SMR,
1500
+ 0,
1501
+ [_QU, _MB, _DS, _MA, _MSA, _MDI, _MGI],
1502
+ [
1503
+ 0,
1504
+ 0,
1505
+ 1,
1506
+ [
1507
+ () => MessageBodyAttributeMap,
1508
+ {
1509
+ [_xN]: _MAe,
1510
+ [_xF]: 1,
1511
+ },
1512
+ ],
1513
+ [
1514
+ () => MessageBodySystemAttributeMap,
1515
+ {
1516
+ [_xN]: _MSAe,
1517
+ [_xF]: 1,
1518
+ },
1519
+ ],
1520
+ 0,
1521
+ 0,
1522
+ ],
1523
+ ];
1524
+ var SendMessageResult = [
1525
+ 3,
1526
+ n0,
1527
+ _SMRe,
1528
+ 0,
1529
+ [_MDOMB, _MDOMA, _MDOMSA, _MI, _SN],
1530
+ [0, 0, 0, 0, 0],
1531
+ ];
1532
+ var SetQueueAttributesRequest = [
1533
+ 3,
1534
+ n0,
1535
+ _SQAR,
1536
+ 0,
1537
+ [_QU, _At],
1538
+ [
1539
+ 0,
1540
+ [
1541
+ () => QueueAttributeMap,
1542
+ {
1543
+ [_xN]: _Att,
1544
+ [_xF]: 1,
1545
+ },
1546
+ ],
1547
+ ],
1548
+ ];
1549
+ var StartMessageMoveTaskRequest = [3, n0, _SMMTR, 0, [_SA, _DA, _MNOMPS], [0, 0, 1]];
1550
+ var StartMessageMoveTaskResult = [3, n0, _SMMTRt, 0, [_TH], [0]];
1551
+ var TagQueueRequest = [
1552
+ 3,
1553
+ n0,
1554
+ _TQR,
1555
+ 0,
1556
+ [_QU, _Ta],
1557
+ [
1558
+ 0,
1559
+ [
1560
+ () => TagMap,
1561
+ {
1562
+ [_xN]: _T,
1563
+ [_xF]: 1,
1564
+ },
1565
+ ],
1566
+ ],
1567
+ ];
1568
+ var TooManyEntriesInBatchRequest = [
1569
+ -3,
1570
+ n0,
1571
+ _TMEIBR,
1572
+ {
1573
+ [_e]: _c,
1574
+ [_hE]: 400,
1575
+ [_aQE]: [`AWS.SimpleQueueService.TooManyEntriesInBatchRequest`, 400],
1576
+ },
1577
+ [_m],
1578
+ [0],
1579
+ ];
1580
+ schema.TypeRegistry.for(n0).registerError(TooManyEntriesInBatchRequest, TooManyEntriesInBatchRequest$1);
1581
+ var UnsupportedOperation = [
1582
+ -3,
1583
+ n0,
1584
+ _UO,
1585
+ {
1586
+ [_e]: _c,
1587
+ [_hE]: 400,
1588
+ [_aQE]: [`AWS.SimpleQueueService.UnsupportedOperation`, 400],
1589
+ },
1590
+ [_m],
1591
+ [0],
1592
+ ];
1593
+ schema.TypeRegistry.for(n0).registerError(UnsupportedOperation, UnsupportedOperation$1);
1594
+ var UntagQueueRequest = [
1595
+ 3,
1596
+ n0,
1597
+ _UQR,
1598
+ 0,
1599
+ [_QU, _TK],
1600
+ [
1601
+ 0,
1602
+ [
1603
+ 64 | 0,
1604
+ {
1605
+ [_xN]: _TKa,
1606
+ [_xF]: 1,
1607
+ },
1608
+ ],
1609
+ ],
1610
+ ];
1611
+ var __Unit = "unit";
1612
+ var SQSServiceException = [-3, _s, "SQSServiceException", 0, [], []];
1613
+ schema.TypeRegistry.for(_s).registerError(SQSServiceException, SQSServiceException$1);
1614
+ var BatchResultErrorEntryList = [1, n0, _BREEL, 0, () => BatchResultErrorEntry];
1615
+ var BinaryList = [
1616
+ 1,
1617
+ n0,
1618
+ _BL,
1619
+ 0,
1620
+ [
1621
+ 21,
1622
+ {
1623
+ [_xN]: _BLVi,
1624
+ },
1625
+ ],
1626
+ ];
1627
+ var ChangeMessageVisibilityBatchRequestEntryList = [
1628
+ 1,
1629
+ n0,
1630
+ _CMVBREL,
1631
+ 0,
1632
+ () => ChangeMessageVisibilityBatchRequestEntry,
1633
+ ];
1634
+ var ChangeMessageVisibilityBatchResultEntryList = [
1635
+ 1,
1636
+ n0,
1637
+ _CMVBRELh,
1638
+ 0,
1639
+ () => ChangeMessageVisibilityBatchResultEntry,
1640
+ ];
1641
+ var DeleteMessageBatchRequestEntryList = [
1642
+ 1,
1643
+ n0,
1644
+ _DMBREL,
1645
+ 0,
1646
+ () => DeleteMessageBatchRequestEntry,
1647
+ ];
1648
+ var DeleteMessageBatchResultEntryList = [
1649
+ 1,
1650
+ n0,
1651
+ _DMBRELe,
1652
+ 0,
1653
+ () => DeleteMessageBatchResultEntry,
1654
+ ];
1655
+ var ListMessageMoveTasksResultEntryList = [
1656
+ 1,
1657
+ n0,
1658
+ _LMMTREL,
1659
+ 0,
1660
+ () => ListMessageMoveTasksResultEntry,
1661
+ ];
1662
+ var MessageList = [1, n0, _ML, 0, [() => Message, 0]];
1663
+ var SendMessageBatchRequestEntryList = [
1664
+ 1,
1665
+ n0,
1666
+ _SMBREL,
1667
+ 0,
1668
+ [() => SendMessageBatchRequestEntry, 0],
1669
+ ];
1670
+ var SendMessageBatchResultEntryList = [1, n0, _SMBRELe, 0, () => SendMessageBatchResultEntry];
1671
+ var StringList = [
1672
+ 1,
1673
+ n0,
1674
+ _SL,
1675
+ 0,
1676
+ [
1677
+ 0,
1678
+ {
1679
+ [_xN]: _SLVt,
1680
+ },
1681
+ ],
1682
+ ];
1683
+ var MessageBodyAttributeMap = [
1684
+ 2,
1685
+ n0,
1686
+ _MBAM,
1687
+ 0,
1688
+ [
1689
+ 0,
1690
+ {
1691
+ [_xN]: _N,
1692
+ },
1693
+ ],
1694
+ [
1695
+ () => MessageAttributeValue,
1696
+ {
1697
+ [_xN]: _V,
1698
+ },
1699
+ ],
1700
+ ];
1701
+ var MessageBodySystemAttributeMap = [
1702
+ 2,
1703
+ n0,
1704
+ _MBSAM,
1705
+ 0,
1706
+ [
1707
+ 0,
1708
+ {
1709
+ [_xN]: _N,
1710
+ },
1711
+ ],
1712
+ [
1713
+ () => MessageSystemAttributeValue,
1714
+ {
1715
+ [_xN]: _V,
1716
+ },
1717
+ ],
1718
+ ];
1719
+ var MessageSystemAttributeMap = [
1720
+ 2,
1721
+ n0,
1722
+ _MSAM,
1723
+ 0,
1724
+ [
1725
+ 0,
1726
+ {
1727
+ [_xN]: _N,
1728
+ },
1729
+ ],
1730
+ [
1731
+ 0,
1732
+ {
1733
+ [_xN]: _V,
1734
+ },
1735
+ ],
1736
+ ];
1737
+ var QueueAttributeMap = [
1738
+ 2,
1739
+ n0,
1740
+ _QAM,
1741
+ 0,
1742
+ [
1743
+ 0,
1744
+ {
1745
+ [_xN]: _N,
1746
+ },
1747
+ ],
1748
+ [
1749
+ 0,
1750
+ {
1751
+ [_xN]: _V,
1752
+ },
1753
+ ],
1754
+ ];
1755
+ var TagMap = [
1756
+ 2,
1757
+ n0,
1758
+ _TM,
1759
+ 0,
1760
+ [
1761
+ 0,
1762
+ {
1763
+ [_xN]: _K,
1764
+ },
1765
+ ],
1766
+ [
1767
+ 0,
1768
+ {
1769
+ [_xN]: _V,
1770
+ },
1771
+ ],
1772
+ ];
1773
+ var AddPermission = [9, n0, _AP, 0, () => AddPermissionRequest, () => __Unit];
1774
+ var CancelMessageMoveTask = [
1775
+ 9,
1776
+ n0,
1777
+ _CMMT,
1778
+ 0,
1779
+ () => CancelMessageMoveTaskRequest,
1780
+ () => CancelMessageMoveTaskResult,
1781
+ ];
1782
+ var ChangeMessageVisibility = [
1783
+ 9,
1784
+ n0,
1785
+ _CMV,
1786
+ 0,
1787
+ () => ChangeMessageVisibilityRequest,
1788
+ () => __Unit,
1789
+ ];
1790
+ var ChangeMessageVisibilityBatch = [
1791
+ 9,
1792
+ n0,
1793
+ _CMVB,
1794
+ 0,
1795
+ () => ChangeMessageVisibilityBatchRequest,
1796
+ () => ChangeMessageVisibilityBatchResult,
1797
+ ];
1798
+ var CreateQueue = [9, n0, _CQ, 0, () => CreateQueueRequest, () => CreateQueueResult];
1799
+ var DeleteMessage = [9, n0, _DM, 0, () => DeleteMessageRequest, () => __Unit];
1800
+ var DeleteMessageBatch = [
1801
+ 9,
1802
+ n0,
1803
+ _DMB,
1804
+ 0,
1805
+ () => DeleteMessageBatchRequest,
1806
+ () => DeleteMessageBatchResult,
1807
+ ];
1808
+ var DeleteQueue = [9, n0, _DQ, 0, () => DeleteQueueRequest, () => __Unit];
1809
+ var GetQueueAttributes = [
1810
+ 9,
1811
+ n0,
1812
+ _GQA,
1813
+ 0,
1814
+ () => GetQueueAttributesRequest,
1815
+ () => GetQueueAttributesResult,
1816
+ ];
1817
+ var GetQueueUrl = [9, n0, _GQU, 0, () => GetQueueUrlRequest, () => GetQueueUrlResult];
1818
+ var ListDeadLetterSourceQueues = [
1819
+ 9,
1820
+ n0,
1821
+ _LDLSQ,
1822
+ 0,
1823
+ () => ListDeadLetterSourceQueuesRequest,
1824
+ () => ListDeadLetterSourceQueuesResult,
1825
+ ];
1826
+ var ListMessageMoveTasks = [
1827
+ 9,
1828
+ n0,
1829
+ _LMMT,
1830
+ 0,
1831
+ () => ListMessageMoveTasksRequest,
1832
+ () => ListMessageMoveTasksResult,
1833
+ ];
1834
+ var ListQueues = [9, n0, _LQ, 0, () => ListQueuesRequest, () => ListQueuesResult];
1835
+ var ListQueueTags = [
1836
+ 9,
1837
+ n0,
1838
+ _LQT,
1839
+ 0,
1840
+ () => ListQueueTagsRequest,
1841
+ () => ListQueueTagsResult,
1842
+ ];
1843
+ var PurgeQueue = [9, n0, _PQ, 0, () => PurgeQueueRequest, () => __Unit];
1844
+ var ReceiveMessage = [
1845
+ 9,
1846
+ n0,
1847
+ _RM,
1848
+ 0,
1849
+ () => ReceiveMessageRequest,
1850
+ () => ReceiveMessageResult,
1851
+ ];
1852
+ var RemovePermission = [9, n0, _RP, 0, () => RemovePermissionRequest, () => __Unit];
1853
+ var SendMessage = [9, n0, _SM, 0, () => SendMessageRequest, () => SendMessageResult];
1854
+ var SendMessageBatch = [
1855
+ 9,
1856
+ n0,
1857
+ _SMB,
1858
+ 0,
1859
+ () => SendMessageBatchRequest,
1860
+ () => SendMessageBatchResult,
1861
+ ];
1862
+ var SetQueueAttributes = [9, n0, _SQA, 0, () => SetQueueAttributesRequest, () => __Unit];
1863
+ var StartMessageMoveTask = [
1864
+ 9,
1865
+ n0,
1866
+ _SMMT,
1867
+ 0,
1868
+ () => StartMessageMoveTaskRequest,
1869
+ () => StartMessageMoveTaskResult,
1870
+ ];
1871
+ var TagQueue = [9, n0, _TQ, 0, () => TagQueueRequest, () => __Unit];
1872
+ var UntagQueue = [9, n0, _UQ, 0, () => UntagQueueRequest, () => __Unit];
1873
+
1684
1874
  class AddPermissionCommand extends smithyClient.Command
1685
1875
  .classBuilder()
1686
1876
  .ep(commonParams)
1687
1877
  .m(function (Command, cs, config, o) {
1688
- return [
1689
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1690
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1691
- ];
1878
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1692
1879
  })
1693
1880
  .s("AmazonSQS", "AddPermission", {})
1694
1881
  .n("SQSClient", "AddPermissionCommand")
1695
- .f(void 0, void 0)
1696
- .ser(se_AddPermissionCommand)
1697
- .de(de_AddPermissionCommand)
1882
+ .sc(AddPermission)
1698
1883
  .build() {
1699
1884
  }
1700
1885
 
@@ -1702,16 +1887,11 @@ class CancelMessageMoveTaskCommand extends smithyClient.Command
1702
1887
  .classBuilder()
1703
1888
  .ep(commonParams)
1704
1889
  .m(function (Command, cs, config, o) {
1705
- return [
1706
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1707
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1708
- ];
1890
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1709
1891
  })
1710
1892
  .s("AmazonSQS", "CancelMessageMoveTask", {})
1711
1893
  .n("SQSClient", "CancelMessageMoveTaskCommand")
1712
- .f(void 0, void 0)
1713
- .ser(se_CancelMessageMoveTaskCommand)
1714
- .de(de_CancelMessageMoveTaskCommand)
1894
+ .sc(CancelMessageMoveTask)
1715
1895
  .build() {
1716
1896
  }
1717
1897
 
@@ -1719,16 +1899,11 @@ class ChangeMessageVisibilityBatchCommand extends smithyClient.Command
1719
1899
  .classBuilder()
1720
1900
  .ep(commonParams)
1721
1901
  .m(function (Command, cs, config, o) {
1722
- return [
1723
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1724
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1725
- ];
1902
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1726
1903
  })
1727
1904
  .s("AmazonSQS", "ChangeMessageVisibilityBatch", {})
1728
1905
  .n("SQSClient", "ChangeMessageVisibilityBatchCommand")
1729
- .f(void 0, void 0)
1730
- .ser(se_ChangeMessageVisibilityBatchCommand)
1731
- .de(de_ChangeMessageVisibilityBatchCommand)
1906
+ .sc(ChangeMessageVisibilityBatch)
1732
1907
  .build() {
1733
1908
  }
1734
1909
 
@@ -1736,16 +1911,11 @@ class ChangeMessageVisibilityCommand extends smithyClient.Command
1736
1911
  .classBuilder()
1737
1912
  .ep(commonParams)
1738
1913
  .m(function (Command, cs, config, o) {
1739
- return [
1740
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1741
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1742
- ];
1914
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1743
1915
  })
1744
1916
  .s("AmazonSQS", "ChangeMessageVisibility", {})
1745
1917
  .n("SQSClient", "ChangeMessageVisibilityCommand")
1746
- .f(void 0, void 0)
1747
- .ser(se_ChangeMessageVisibilityCommand)
1748
- .de(de_ChangeMessageVisibilityCommand)
1918
+ .sc(ChangeMessageVisibility)
1749
1919
  .build() {
1750
1920
  }
1751
1921
 
@@ -1753,16 +1923,11 @@ class CreateQueueCommand extends smithyClient.Command
1753
1923
  .classBuilder()
1754
1924
  .ep(commonParams)
1755
1925
  .m(function (Command, cs, config, o) {
1756
- return [
1757
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1758
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1759
- ];
1926
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1760
1927
  })
1761
1928
  .s("AmazonSQS", "CreateQueue", {})
1762
1929
  .n("SQSClient", "CreateQueueCommand")
1763
- .f(void 0, void 0)
1764
- .ser(se_CreateQueueCommand)
1765
- .de(de_CreateQueueCommand)
1930
+ .sc(CreateQueue)
1766
1931
  .build() {
1767
1932
  }
1768
1933
 
@@ -1770,16 +1935,11 @@ class DeleteMessageBatchCommand extends smithyClient.Command
1770
1935
  .classBuilder()
1771
1936
  .ep(commonParams)
1772
1937
  .m(function (Command, cs, config, o) {
1773
- return [
1774
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1775
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1776
- ];
1938
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1777
1939
  })
1778
1940
  .s("AmazonSQS", "DeleteMessageBatch", {})
1779
1941
  .n("SQSClient", "DeleteMessageBatchCommand")
1780
- .f(void 0, void 0)
1781
- .ser(se_DeleteMessageBatchCommand)
1782
- .de(de_DeleteMessageBatchCommand)
1942
+ .sc(DeleteMessageBatch)
1783
1943
  .build() {
1784
1944
  }
1785
1945
 
@@ -1787,16 +1947,11 @@ class DeleteMessageCommand extends smithyClient.Command
1787
1947
  .classBuilder()
1788
1948
  .ep(commonParams)
1789
1949
  .m(function (Command, cs, config, o) {
1790
- return [
1791
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1792
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1793
- ];
1950
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1794
1951
  })
1795
1952
  .s("AmazonSQS", "DeleteMessage", {})
1796
1953
  .n("SQSClient", "DeleteMessageCommand")
1797
- .f(void 0, void 0)
1798
- .ser(se_DeleteMessageCommand)
1799
- .de(de_DeleteMessageCommand)
1954
+ .sc(DeleteMessage)
1800
1955
  .build() {
1801
1956
  }
1802
1957
 
@@ -1804,16 +1959,11 @@ class DeleteQueueCommand extends smithyClient.Command
1804
1959
  .classBuilder()
1805
1960
  .ep(commonParams)
1806
1961
  .m(function (Command, cs, config, o) {
1807
- return [
1808
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1809
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1810
- ];
1962
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1811
1963
  })
1812
1964
  .s("AmazonSQS", "DeleteQueue", {})
1813
1965
  .n("SQSClient", "DeleteQueueCommand")
1814
- .f(void 0, void 0)
1815
- .ser(se_DeleteQueueCommand)
1816
- .de(de_DeleteQueueCommand)
1966
+ .sc(DeleteQueue)
1817
1967
  .build() {
1818
1968
  }
1819
1969
 
@@ -1821,16 +1971,11 @@ class GetQueueAttributesCommand extends smithyClient.Command
1821
1971
  .classBuilder()
1822
1972
  .ep(commonParams)
1823
1973
  .m(function (Command, cs, config, o) {
1824
- return [
1825
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1826
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1827
- ];
1974
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1828
1975
  })
1829
1976
  .s("AmazonSQS", "GetQueueAttributes", {})
1830
1977
  .n("SQSClient", "GetQueueAttributesCommand")
1831
- .f(void 0, void 0)
1832
- .ser(se_GetQueueAttributesCommand)
1833
- .de(de_GetQueueAttributesCommand)
1978
+ .sc(GetQueueAttributes)
1834
1979
  .build() {
1835
1980
  }
1836
1981
 
@@ -1838,16 +1983,11 @@ class GetQueueUrlCommand extends smithyClient.Command
1838
1983
  .classBuilder()
1839
1984
  .ep(commonParams)
1840
1985
  .m(function (Command, cs, config, o) {
1841
- return [
1842
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1843
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1844
- ];
1986
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1845
1987
  })
1846
1988
  .s("AmazonSQS", "GetQueueUrl", {})
1847
1989
  .n("SQSClient", "GetQueueUrlCommand")
1848
- .f(void 0, void 0)
1849
- .ser(se_GetQueueUrlCommand)
1850
- .de(de_GetQueueUrlCommand)
1990
+ .sc(GetQueueUrl)
1851
1991
  .build() {
1852
1992
  }
1853
1993
 
@@ -1855,16 +1995,11 @@ class ListDeadLetterSourceQueuesCommand extends smithyClient.Command
1855
1995
  .classBuilder()
1856
1996
  .ep(commonParams)
1857
1997
  .m(function (Command, cs, config, o) {
1858
- return [
1859
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1860
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1861
- ];
1998
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1862
1999
  })
1863
2000
  .s("AmazonSQS", "ListDeadLetterSourceQueues", {})
1864
2001
  .n("SQSClient", "ListDeadLetterSourceQueuesCommand")
1865
- .f(void 0, void 0)
1866
- .ser(se_ListDeadLetterSourceQueuesCommand)
1867
- .de(de_ListDeadLetterSourceQueuesCommand)
2002
+ .sc(ListDeadLetterSourceQueues)
1868
2003
  .build() {
1869
2004
  }
1870
2005
 
@@ -1872,16 +2007,11 @@ class ListMessageMoveTasksCommand extends smithyClient.Command
1872
2007
  .classBuilder()
1873
2008
  .ep(commonParams)
1874
2009
  .m(function (Command, cs, config, o) {
1875
- return [
1876
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1877
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1878
- ];
2010
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1879
2011
  })
1880
2012
  .s("AmazonSQS", "ListMessageMoveTasks", {})
1881
2013
  .n("SQSClient", "ListMessageMoveTasksCommand")
1882
- .f(void 0, void 0)
1883
- .ser(se_ListMessageMoveTasksCommand)
1884
- .de(de_ListMessageMoveTasksCommand)
2014
+ .sc(ListMessageMoveTasks)
1885
2015
  .build() {
1886
2016
  }
1887
2017
 
@@ -1889,16 +2019,11 @@ class ListQueuesCommand extends smithyClient.Command
1889
2019
  .classBuilder()
1890
2020
  .ep(commonParams)
1891
2021
  .m(function (Command, cs, config, o) {
1892
- return [
1893
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1894
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1895
- ];
2022
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1896
2023
  })
1897
2024
  .s("AmazonSQS", "ListQueues", {})
1898
2025
  .n("SQSClient", "ListQueuesCommand")
1899
- .f(void 0, void 0)
1900
- .ser(se_ListQueuesCommand)
1901
- .de(de_ListQueuesCommand)
2026
+ .sc(ListQueues)
1902
2027
  .build() {
1903
2028
  }
1904
2029
 
@@ -1906,16 +2031,11 @@ class ListQueueTagsCommand extends smithyClient.Command
1906
2031
  .classBuilder()
1907
2032
  .ep(commonParams)
1908
2033
  .m(function (Command, cs, config, o) {
1909
- return [
1910
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1911
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1912
- ];
2034
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1913
2035
  })
1914
2036
  .s("AmazonSQS", "ListQueueTags", {})
1915
2037
  .n("SQSClient", "ListQueueTagsCommand")
1916
- .f(void 0, void 0)
1917
- .ser(se_ListQueueTagsCommand)
1918
- .de(de_ListQueueTagsCommand)
2038
+ .sc(ListQueueTags)
1919
2039
  .build() {
1920
2040
  }
1921
2041
 
@@ -1923,16 +2043,11 @@ class PurgeQueueCommand extends smithyClient.Command
1923
2043
  .classBuilder()
1924
2044
  .ep(commonParams)
1925
2045
  .m(function (Command, cs, config, o) {
1926
- return [
1927
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1928
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1929
- ];
2046
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1930
2047
  })
1931
2048
  .s("AmazonSQS", "PurgeQueue", {})
1932
2049
  .n("SQSClient", "PurgeQueueCommand")
1933
- .f(void 0, void 0)
1934
- .ser(se_PurgeQueueCommand)
1935
- .de(de_PurgeQueueCommand)
2050
+ .sc(PurgeQueue)
1936
2051
  .build() {
1937
2052
  }
1938
2053
 
@@ -1940,17 +2055,11 @@ class ReceiveMessageCommand extends smithyClient.Command
1940
2055
  .classBuilder()
1941
2056
  .ep(commonParams)
1942
2057
  .m(function (Command, cs, config, o) {
1943
- return [
1944
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1945
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1946
- middlewareSdkSqs.getReceiveMessagePlugin(config),
1947
- ];
2058
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()), middlewareSdkSqs.getReceiveMessagePlugin(config)];
1948
2059
  })
1949
2060
  .s("AmazonSQS", "ReceiveMessage", {})
1950
2061
  .n("SQSClient", "ReceiveMessageCommand")
1951
- .f(void 0, void 0)
1952
- .ser(se_ReceiveMessageCommand)
1953
- .de(de_ReceiveMessageCommand)
2062
+ .sc(ReceiveMessage)
1954
2063
  .build() {
1955
2064
  }
1956
2065
 
@@ -1958,16 +2067,11 @@ class RemovePermissionCommand extends smithyClient.Command
1958
2067
  .classBuilder()
1959
2068
  .ep(commonParams)
1960
2069
  .m(function (Command, cs, config, o) {
1961
- return [
1962
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1963
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1964
- ];
2070
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1965
2071
  })
1966
2072
  .s("AmazonSQS", "RemovePermission", {})
1967
2073
  .n("SQSClient", "RemovePermissionCommand")
1968
- .f(void 0, void 0)
1969
- .ser(se_RemovePermissionCommand)
1970
- .de(de_RemovePermissionCommand)
2074
+ .sc(RemovePermission)
1971
2075
  .build() {
1972
2076
  }
1973
2077
 
@@ -1975,17 +2079,11 @@ class SendMessageBatchCommand extends smithyClient.Command
1975
2079
  .classBuilder()
1976
2080
  .ep(commonParams)
1977
2081
  .m(function (Command, cs, config, o) {
1978
- return [
1979
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1980
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1981
- middlewareSdkSqs.getSendMessageBatchPlugin(config),
1982
- ];
2082
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()), middlewareSdkSqs.getSendMessageBatchPlugin(config)];
1983
2083
  })
1984
2084
  .s("AmazonSQS", "SendMessageBatch", {})
1985
2085
  .n("SQSClient", "SendMessageBatchCommand")
1986
- .f(void 0, void 0)
1987
- .ser(se_SendMessageBatchCommand)
1988
- .de(de_SendMessageBatchCommand)
2086
+ .sc(SendMessageBatch)
1989
2087
  .build() {
1990
2088
  }
1991
2089
 
@@ -1993,17 +2091,11 @@ class SendMessageCommand extends smithyClient.Command
1993
2091
  .classBuilder()
1994
2092
  .ep(commonParams)
1995
2093
  .m(function (Command, cs, config, o) {
1996
- return [
1997
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1998
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1999
- middlewareSdkSqs.getSendMessagePlugin(config),
2000
- ];
2094
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()), middlewareSdkSqs.getSendMessagePlugin(config)];
2001
2095
  })
2002
2096
  .s("AmazonSQS", "SendMessage", {})
2003
2097
  .n("SQSClient", "SendMessageCommand")
2004
- .f(void 0, void 0)
2005
- .ser(se_SendMessageCommand)
2006
- .de(de_SendMessageCommand)
2098
+ .sc(SendMessage)
2007
2099
  .build() {
2008
2100
  }
2009
2101
 
@@ -2011,16 +2103,11 @@ class SetQueueAttributesCommand extends smithyClient.Command
2011
2103
  .classBuilder()
2012
2104
  .ep(commonParams)
2013
2105
  .m(function (Command, cs, config, o) {
2014
- return [
2015
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2016
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2017
- ];
2106
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2018
2107
  })
2019
2108
  .s("AmazonSQS", "SetQueueAttributes", {})
2020
2109
  .n("SQSClient", "SetQueueAttributesCommand")
2021
- .f(void 0, void 0)
2022
- .ser(se_SetQueueAttributesCommand)
2023
- .de(de_SetQueueAttributesCommand)
2110
+ .sc(SetQueueAttributes)
2024
2111
  .build() {
2025
2112
  }
2026
2113
 
@@ -2028,16 +2115,11 @@ class StartMessageMoveTaskCommand extends smithyClient.Command
2028
2115
  .classBuilder()
2029
2116
  .ep(commonParams)
2030
2117
  .m(function (Command, cs, config, o) {
2031
- return [
2032
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2033
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2034
- ];
2118
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2035
2119
  })
2036
2120
  .s("AmazonSQS", "StartMessageMoveTask", {})
2037
2121
  .n("SQSClient", "StartMessageMoveTaskCommand")
2038
- .f(void 0, void 0)
2039
- .ser(se_StartMessageMoveTaskCommand)
2040
- .de(de_StartMessageMoveTaskCommand)
2122
+ .sc(StartMessageMoveTask)
2041
2123
  .build() {
2042
2124
  }
2043
2125
 
@@ -2045,16 +2127,11 @@ class TagQueueCommand extends smithyClient.Command
2045
2127
  .classBuilder()
2046
2128
  .ep(commonParams)
2047
2129
  .m(function (Command, cs, config, o) {
2048
- return [
2049
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2050
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2051
- ];
2130
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2052
2131
  })
2053
2132
  .s("AmazonSQS", "TagQueue", {})
2054
2133
  .n("SQSClient", "TagQueueCommand")
2055
- .f(void 0, void 0)
2056
- .ser(se_TagQueueCommand)
2057
- .de(de_TagQueueCommand)
2134
+ .sc(TagQueue)
2058
2135
  .build() {
2059
2136
  }
2060
2137
 
@@ -2062,16 +2139,11 @@ class UntagQueueCommand extends smithyClient.Command
2062
2139
  .classBuilder()
2063
2140
  .ep(commonParams)
2064
2141
  .m(function (Command, cs, config, o) {
2065
- return [
2066
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2067
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2068
- ];
2142
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2069
2143
  })
2070
2144
  .s("AmazonSQS", "UntagQueue", {})
2071
2145
  .n("SQSClient", "UntagQueueCommand")
2072
- .f(void 0, void 0)
2073
- .ser(se_UntagQueueCommand)
2074
- .de(de_UntagQueueCommand)
2146
+ .sc(UntagQueue)
2075
2147
  .build() {
2076
2148
  }
2077
2149
 
@@ -2117,8 +2189,8 @@ Object.defineProperty(exports, "__Client", {
2117
2189
  get: function () { return smithyClient.Client; }
2118
2190
  });
2119
2191
  exports.AddPermissionCommand = AddPermissionCommand;
2120
- exports.BatchEntryIdsNotDistinct = BatchEntryIdsNotDistinct;
2121
- exports.BatchRequestTooLong = BatchRequestTooLong;
2192
+ exports.BatchEntryIdsNotDistinct = BatchEntryIdsNotDistinct$1;
2193
+ exports.BatchRequestTooLong = BatchRequestTooLong$1;
2122
2194
  exports.CancelMessageMoveTaskCommand = CancelMessageMoveTaskCommand;
2123
2195
  exports.ChangeMessageVisibilityBatchCommand = ChangeMessageVisibilityBatchCommand;
2124
2196
  exports.ChangeMessageVisibilityCommand = ChangeMessageVisibilityCommand;
@@ -2126,52 +2198,52 @@ exports.CreateQueueCommand = CreateQueueCommand;
2126
2198
  exports.DeleteMessageBatchCommand = DeleteMessageBatchCommand;
2127
2199
  exports.DeleteMessageCommand = DeleteMessageCommand;
2128
2200
  exports.DeleteQueueCommand = DeleteQueueCommand;
2129
- exports.EmptyBatchRequest = EmptyBatchRequest;
2201
+ exports.EmptyBatchRequest = EmptyBatchRequest$1;
2130
2202
  exports.GetQueueAttributesCommand = GetQueueAttributesCommand;
2131
2203
  exports.GetQueueUrlCommand = GetQueueUrlCommand;
2132
- exports.InvalidAddress = InvalidAddress;
2133
- exports.InvalidAttributeName = InvalidAttributeName;
2134
- exports.InvalidAttributeValue = InvalidAttributeValue;
2135
- exports.InvalidBatchEntryId = InvalidBatchEntryId;
2136
- exports.InvalidIdFormat = InvalidIdFormat;
2137
- exports.InvalidMessageContents = InvalidMessageContents;
2138
- exports.InvalidSecurity = InvalidSecurity;
2139
- exports.KmsAccessDenied = KmsAccessDenied;
2140
- exports.KmsDisabled = KmsDisabled;
2141
- exports.KmsInvalidKeyUsage = KmsInvalidKeyUsage;
2142
- exports.KmsInvalidState = KmsInvalidState;
2143
- exports.KmsNotFound = KmsNotFound;
2144
- exports.KmsOptInRequired = KmsOptInRequired;
2145
- exports.KmsThrottled = KmsThrottled;
2204
+ exports.InvalidAddress = InvalidAddress$1;
2205
+ exports.InvalidAttributeName = InvalidAttributeName$1;
2206
+ exports.InvalidAttributeValue = InvalidAttributeValue$1;
2207
+ exports.InvalidBatchEntryId = InvalidBatchEntryId$1;
2208
+ exports.InvalidIdFormat = InvalidIdFormat$1;
2209
+ exports.InvalidMessageContents = InvalidMessageContents$1;
2210
+ exports.InvalidSecurity = InvalidSecurity$1;
2211
+ exports.KmsAccessDenied = KmsAccessDenied$1;
2212
+ exports.KmsDisabled = KmsDisabled$1;
2213
+ exports.KmsInvalidKeyUsage = KmsInvalidKeyUsage$1;
2214
+ exports.KmsInvalidState = KmsInvalidState$1;
2215
+ exports.KmsNotFound = KmsNotFound$1;
2216
+ exports.KmsOptInRequired = KmsOptInRequired$1;
2217
+ exports.KmsThrottled = KmsThrottled$1;
2146
2218
  exports.ListDeadLetterSourceQueuesCommand = ListDeadLetterSourceQueuesCommand;
2147
2219
  exports.ListMessageMoveTasksCommand = ListMessageMoveTasksCommand;
2148
2220
  exports.ListQueueTagsCommand = ListQueueTagsCommand;
2149
2221
  exports.ListQueuesCommand = ListQueuesCommand;
2150
- exports.MessageNotInflight = MessageNotInflight;
2222
+ exports.MessageNotInflight = MessageNotInflight$1;
2151
2223
  exports.MessageSystemAttributeName = MessageSystemAttributeName;
2152
2224
  exports.MessageSystemAttributeNameForSends = MessageSystemAttributeNameForSends;
2153
- exports.OverLimit = OverLimit;
2225
+ exports.OverLimit = OverLimit$1;
2154
2226
  exports.PurgeQueueCommand = PurgeQueueCommand;
2155
- exports.PurgeQueueInProgress = PurgeQueueInProgress;
2227
+ exports.PurgeQueueInProgress = PurgeQueueInProgress$1;
2156
2228
  exports.QueueAttributeName = QueueAttributeName;
2157
- exports.QueueDeletedRecently = QueueDeletedRecently;
2158
- exports.QueueDoesNotExist = QueueDoesNotExist;
2159
- exports.QueueNameExists = QueueNameExists;
2160
- exports.ReceiptHandleIsInvalid = ReceiptHandleIsInvalid;
2229
+ exports.QueueDeletedRecently = QueueDeletedRecently$1;
2230
+ exports.QueueDoesNotExist = QueueDoesNotExist$1;
2231
+ exports.QueueNameExists = QueueNameExists$1;
2232
+ exports.ReceiptHandleIsInvalid = ReceiptHandleIsInvalid$1;
2161
2233
  exports.ReceiveMessageCommand = ReceiveMessageCommand;
2162
2234
  exports.RemovePermissionCommand = RemovePermissionCommand;
2163
- exports.RequestThrottled = RequestThrottled;
2164
- exports.ResourceNotFoundException = ResourceNotFoundException;
2235
+ exports.RequestThrottled = RequestThrottled$1;
2236
+ exports.ResourceNotFoundException = ResourceNotFoundException$1;
2165
2237
  exports.SQS = SQS;
2166
2238
  exports.SQSClient = SQSClient;
2167
- exports.SQSServiceException = SQSServiceException;
2239
+ exports.SQSServiceException = SQSServiceException$1;
2168
2240
  exports.SendMessageBatchCommand = SendMessageBatchCommand;
2169
2241
  exports.SendMessageCommand = SendMessageCommand;
2170
2242
  exports.SetQueueAttributesCommand = SetQueueAttributesCommand;
2171
2243
  exports.StartMessageMoveTaskCommand = StartMessageMoveTaskCommand;
2172
2244
  exports.TagQueueCommand = TagQueueCommand;
2173
- exports.TooManyEntriesInBatchRequest = TooManyEntriesInBatchRequest;
2174
- exports.UnsupportedOperation = UnsupportedOperation;
2245
+ exports.TooManyEntriesInBatchRequest = TooManyEntriesInBatchRequest$1;
2246
+ exports.UnsupportedOperation = UnsupportedOperation$1;
2175
2247
  exports.UntagQueueCommand = UntagQueueCommand;
2176
2248
  exports.paginateListDeadLetterSourceQueues = paginateListDeadLetterSourceQueues;
2177
2249
  exports.paginateListQueues = paginateListQueues;