@aws-sdk/client-sqs 3.986.0 → 3.988.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist-cjs/index.js CHANGED
@@ -16,6 +16,9 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
16
16
  var runtimeConfig = require('./runtimeConfig');
17
17
  var regionConfigResolver = require('@aws-sdk/region-config-resolver');
18
18
  var protocolHttp = require('@smithy/protocol-http');
19
+ var schemas_0 = require('./schemas/schemas_0');
20
+ var errors = require('./models/errors');
21
+ var SQSServiceException = require('./models/SQSServiceException');
19
22
 
20
23
  const resolveClientEndpointParameters = (options) => {
21
24
  return Object.assign(options, {
@@ -113,1094 +116,6 @@ class SQSClient extends smithyClient.Client {
113
116
  }
114
117
  }
115
118
 
116
- class SQSServiceException extends smithyClient.ServiceException {
117
- constructor(options) {
118
- super(options);
119
- Object.setPrototypeOf(this, SQSServiceException.prototype);
120
- }
121
- }
122
-
123
- class InvalidAddress extends SQSServiceException {
124
- name = "InvalidAddress";
125
- $fault = "client";
126
- constructor(opts) {
127
- super({
128
- name: "InvalidAddress",
129
- $fault: "client",
130
- ...opts,
131
- });
132
- Object.setPrototypeOf(this, InvalidAddress.prototype);
133
- }
134
- }
135
- class InvalidSecurity extends SQSServiceException {
136
- name = "InvalidSecurity";
137
- $fault = "client";
138
- constructor(opts) {
139
- super({
140
- name: "InvalidSecurity",
141
- $fault: "client",
142
- ...opts,
143
- });
144
- Object.setPrototypeOf(this, InvalidSecurity.prototype);
145
- }
146
- }
147
- class OverLimit extends SQSServiceException {
148
- name = "OverLimit";
149
- $fault = "client";
150
- constructor(opts) {
151
- super({
152
- name: "OverLimit",
153
- $fault: "client",
154
- ...opts,
155
- });
156
- Object.setPrototypeOf(this, OverLimit.prototype);
157
- }
158
- }
159
- class QueueDoesNotExist extends SQSServiceException {
160
- name = "QueueDoesNotExist";
161
- $fault = "client";
162
- constructor(opts) {
163
- super({
164
- name: "QueueDoesNotExist",
165
- $fault: "client",
166
- ...opts,
167
- });
168
- Object.setPrototypeOf(this, QueueDoesNotExist.prototype);
169
- }
170
- }
171
- class RequestThrottled extends SQSServiceException {
172
- name = "RequestThrottled";
173
- $fault = "client";
174
- constructor(opts) {
175
- super({
176
- name: "RequestThrottled",
177
- $fault: "client",
178
- ...opts,
179
- });
180
- Object.setPrototypeOf(this, RequestThrottled.prototype);
181
- }
182
- }
183
- class UnsupportedOperation extends SQSServiceException {
184
- name = "UnsupportedOperation";
185
- $fault = "client";
186
- constructor(opts) {
187
- super({
188
- name: "UnsupportedOperation",
189
- $fault: "client",
190
- ...opts,
191
- });
192
- Object.setPrototypeOf(this, UnsupportedOperation.prototype);
193
- }
194
- }
195
- class ResourceNotFoundException extends SQSServiceException {
196
- name = "ResourceNotFoundException";
197
- $fault = "client";
198
- constructor(opts) {
199
- super({
200
- name: "ResourceNotFoundException",
201
- $fault: "client",
202
- ...opts,
203
- });
204
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
205
- }
206
- }
207
- class MessageNotInflight extends SQSServiceException {
208
- name = "MessageNotInflight";
209
- $fault = "client";
210
- constructor(opts) {
211
- super({
212
- name: "MessageNotInflight",
213
- $fault: "client",
214
- ...opts,
215
- });
216
- Object.setPrototypeOf(this, MessageNotInflight.prototype);
217
- }
218
- }
219
- class ReceiptHandleIsInvalid extends SQSServiceException {
220
- name = "ReceiptHandleIsInvalid";
221
- $fault = "client";
222
- constructor(opts) {
223
- super({
224
- name: "ReceiptHandleIsInvalid",
225
- $fault: "client",
226
- ...opts,
227
- });
228
- Object.setPrototypeOf(this, ReceiptHandleIsInvalid.prototype);
229
- }
230
- }
231
- class BatchEntryIdsNotDistinct extends SQSServiceException {
232
- name = "BatchEntryIdsNotDistinct";
233
- $fault = "client";
234
- constructor(opts) {
235
- super({
236
- name: "BatchEntryIdsNotDistinct",
237
- $fault: "client",
238
- ...opts,
239
- });
240
- Object.setPrototypeOf(this, BatchEntryIdsNotDistinct.prototype);
241
- }
242
- }
243
- class EmptyBatchRequest extends SQSServiceException {
244
- name = "EmptyBatchRequest";
245
- $fault = "client";
246
- constructor(opts) {
247
- super({
248
- name: "EmptyBatchRequest",
249
- $fault: "client",
250
- ...opts,
251
- });
252
- Object.setPrototypeOf(this, EmptyBatchRequest.prototype);
253
- }
254
- }
255
- class InvalidBatchEntryId extends SQSServiceException {
256
- name = "InvalidBatchEntryId";
257
- $fault = "client";
258
- constructor(opts) {
259
- super({
260
- name: "InvalidBatchEntryId",
261
- $fault: "client",
262
- ...opts,
263
- });
264
- Object.setPrototypeOf(this, InvalidBatchEntryId.prototype);
265
- }
266
- }
267
- class TooManyEntriesInBatchRequest extends SQSServiceException {
268
- name = "TooManyEntriesInBatchRequest";
269
- $fault = "client";
270
- constructor(opts) {
271
- super({
272
- name: "TooManyEntriesInBatchRequest",
273
- $fault: "client",
274
- ...opts,
275
- });
276
- Object.setPrototypeOf(this, TooManyEntriesInBatchRequest.prototype);
277
- }
278
- }
279
- class InvalidAttributeName extends SQSServiceException {
280
- name = "InvalidAttributeName";
281
- $fault = "client";
282
- constructor(opts) {
283
- super({
284
- name: "InvalidAttributeName",
285
- $fault: "client",
286
- ...opts,
287
- });
288
- Object.setPrototypeOf(this, InvalidAttributeName.prototype);
289
- }
290
- }
291
- class InvalidAttributeValue extends SQSServiceException {
292
- name = "InvalidAttributeValue";
293
- $fault = "client";
294
- constructor(opts) {
295
- super({
296
- name: "InvalidAttributeValue",
297
- $fault: "client",
298
- ...opts,
299
- });
300
- Object.setPrototypeOf(this, InvalidAttributeValue.prototype);
301
- }
302
- }
303
- class QueueDeletedRecently extends SQSServiceException {
304
- name = "QueueDeletedRecently";
305
- $fault = "client";
306
- constructor(opts) {
307
- super({
308
- name: "QueueDeletedRecently",
309
- $fault: "client",
310
- ...opts,
311
- });
312
- Object.setPrototypeOf(this, QueueDeletedRecently.prototype);
313
- }
314
- }
315
- class QueueNameExists extends SQSServiceException {
316
- name = "QueueNameExists";
317
- $fault = "client";
318
- constructor(opts) {
319
- super({
320
- name: "QueueNameExists",
321
- $fault: "client",
322
- ...opts,
323
- });
324
- Object.setPrototypeOf(this, QueueNameExists.prototype);
325
- }
326
- }
327
- class InvalidIdFormat extends SQSServiceException {
328
- name = "InvalidIdFormat";
329
- $fault = "client";
330
- constructor(opts) {
331
- super({
332
- name: "InvalidIdFormat",
333
- $fault: "client",
334
- ...opts,
335
- });
336
- Object.setPrototypeOf(this, InvalidIdFormat.prototype);
337
- }
338
- }
339
- class PurgeQueueInProgress extends SQSServiceException {
340
- name = "PurgeQueueInProgress";
341
- $fault = "client";
342
- constructor(opts) {
343
- super({
344
- name: "PurgeQueueInProgress",
345
- $fault: "client",
346
- ...opts,
347
- });
348
- Object.setPrototypeOf(this, PurgeQueueInProgress.prototype);
349
- }
350
- }
351
- class KmsAccessDenied extends SQSServiceException {
352
- name = "KmsAccessDenied";
353
- $fault = "client";
354
- constructor(opts) {
355
- super({
356
- name: "KmsAccessDenied",
357
- $fault: "client",
358
- ...opts,
359
- });
360
- Object.setPrototypeOf(this, KmsAccessDenied.prototype);
361
- }
362
- }
363
- class KmsDisabled extends SQSServiceException {
364
- name = "KmsDisabled";
365
- $fault = "client";
366
- constructor(opts) {
367
- super({
368
- name: "KmsDisabled",
369
- $fault: "client",
370
- ...opts,
371
- });
372
- Object.setPrototypeOf(this, KmsDisabled.prototype);
373
- }
374
- }
375
- class KmsInvalidKeyUsage extends SQSServiceException {
376
- name = "KmsInvalidKeyUsage";
377
- $fault = "client";
378
- constructor(opts) {
379
- super({
380
- name: "KmsInvalidKeyUsage",
381
- $fault: "client",
382
- ...opts,
383
- });
384
- Object.setPrototypeOf(this, KmsInvalidKeyUsage.prototype);
385
- }
386
- }
387
- class KmsInvalidState extends SQSServiceException {
388
- name = "KmsInvalidState";
389
- $fault = "client";
390
- constructor(opts) {
391
- super({
392
- name: "KmsInvalidState",
393
- $fault: "client",
394
- ...opts,
395
- });
396
- Object.setPrototypeOf(this, KmsInvalidState.prototype);
397
- }
398
- }
399
- class KmsNotFound extends SQSServiceException {
400
- name = "KmsNotFound";
401
- $fault = "client";
402
- constructor(opts) {
403
- super({
404
- name: "KmsNotFound",
405
- $fault: "client",
406
- ...opts,
407
- });
408
- Object.setPrototypeOf(this, KmsNotFound.prototype);
409
- }
410
- }
411
- class KmsOptInRequired extends SQSServiceException {
412
- name = "KmsOptInRequired";
413
- $fault = "client";
414
- constructor(opts) {
415
- super({
416
- name: "KmsOptInRequired",
417
- $fault: "client",
418
- ...opts,
419
- });
420
- Object.setPrototypeOf(this, KmsOptInRequired.prototype);
421
- }
422
- }
423
- class KmsThrottled extends SQSServiceException {
424
- name = "KmsThrottled";
425
- $fault = "client";
426
- constructor(opts) {
427
- super({
428
- name: "KmsThrottled",
429
- $fault: "client",
430
- ...opts,
431
- });
432
- Object.setPrototypeOf(this, KmsThrottled.prototype);
433
- }
434
- }
435
- class InvalidMessageContents extends SQSServiceException {
436
- name = "InvalidMessageContents";
437
- $fault = "client";
438
- constructor(opts) {
439
- super({
440
- name: "InvalidMessageContents",
441
- $fault: "client",
442
- ...opts,
443
- });
444
- Object.setPrototypeOf(this, InvalidMessageContents.prototype);
445
- }
446
- }
447
- class BatchRequestTooLong extends SQSServiceException {
448
- name = "BatchRequestTooLong";
449
- $fault = "client";
450
- constructor(opts) {
451
- super({
452
- name: "BatchRequestTooLong",
453
- $fault: "client",
454
- ...opts,
455
- });
456
- Object.setPrototypeOf(this, BatchRequestTooLong.prototype);
457
- }
458
- }
459
-
460
- const _A = "Actions";
461
- const _AN = "ActionName";
462
- const _ANOMM = "ApproximateNumberOfMessagesMoved";
463
- const _ANOMTM = "ApproximateNumberOfMessagesToMove";
464
- const _ANt = "AttributeNames";
465
- const _ANtt = "AttributeName";
466
- const _AP = "AddPermission";
467
- const _APR = "AddPermissionRequest";
468
- const _AWSAI = "AWSAccountIds";
469
- const _AWSAIc = "AWSAccountId";
470
- const _At = "Attributes";
471
- const _Att = "Attribute";
472
- const _B = "Body";
473
- const _BEIND = "BatchEntryIdsNotDistinct";
474
- const _BL = "BinaryList";
475
- const _BLV = "BinaryListValues";
476
- const _BLVi = "BinaryListValue";
477
- const _BREE = "BatchResultErrorEntry";
478
- const _BREEL = "BatchResultErrorEntryList";
479
- const _BRTL = "BatchRequestTooLong";
480
- const _BV = "BinaryValue";
481
- const _C = "Code";
482
- const _CMMT = "CancelMessageMoveTask";
483
- const _CMMTR = "CancelMessageMoveTaskRequest";
484
- const _CMMTRa = "CancelMessageMoveTaskResult";
485
- const _CMV = "ChangeMessageVisibility";
486
- const _CMVB = "ChangeMessageVisibilityBatch";
487
- const _CMVBR = "ChangeMessageVisibilityBatchRequest";
488
- const _CMVBRE = "ChangeMessageVisibilityBatchRequestEntry";
489
- const _CMVBREL = "ChangeMessageVisibilityBatchRequestEntryList";
490
- const _CMVBRELh = "ChangeMessageVisibilityBatchResultEntryList";
491
- const _CMVBREh = "ChangeMessageVisibilityBatchResultEntry";
492
- const _CMVBRh = "ChangeMessageVisibilityBatchResult";
493
- const _CMVR = "ChangeMessageVisibilityRequest";
494
- const _CQ = "CreateQueue";
495
- const _CQR = "CreateQueueRequest";
496
- const _CQRr = "CreateQueueResult";
497
- const _DA = "DestinationArn";
498
- const _DM = "DeleteMessage";
499
- const _DMB = "DeleteMessageBatch";
500
- const _DMBR = "DeleteMessageBatchRequest";
501
- const _DMBRE = "DeleteMessageBatchRequestEntry";
502
- const _DMBREL = "DeleteMessageBatchRequestEntryList";
503
- const _DMBRELe = "DeleteMessageBatchResultEntryList";
504
- const _DMBREe = "DeleteMessageBatchResultEntry";
505
- const _DMBRe = "DeleteMessageBatchResult";
506
- const _DMR = "DeleteMessageRequest";
507
- const _DQ = "DeleteQueue";
508
- const _DQR = "DeleteQueueRequest";
509
- const _DS = "DelaySeconds";
510
- const _DT = "DataType";
511
- const _E = "Entries";
512
- const _EBR = "EmptyBatchRequest";
513
- const _F = "Failed";
514
- const _FR = "FailureReason";
515
- const _GQA = "GetQueueAttributes";
516
- const _GQAR = "GetQueueAttributesRequest";
517
- const _GQARe = "GetQueueAttributesResult";
518
- const _GQU = "GetQueueUrl";
519
- const _GQUR = "GetQueueUrlRequest";
520
- const _GQURe = "GetQueueUrlResult";
521
- const _I = "Id";
522
- const _IA = "InvalidAddress";
523
- const _IAN = "InvalidAttributeName";
524
- const _IAV = "InvalidAttributeValue";
525
- const _IBEI = "InvalidBatchEntryId";
526
- const _IIF = "InvalidIdFormat";
527
- const _IMC = "InvalidMessageContents";
528
- const _IS = "InvalidSecurity";
529
- const _K = "Key";
530
- const _KAD = "KmsAccessDenied";
531
- const _KD = "KmsDisabled";
532
- const _KIKU = "KmsInvalidKeyUsage";
533
- const _KIS = "KmsInvalidState";
534
- const _KNF = "KmsNotFound";
535
- const _KOIR = "KmsOptInRequired";
536
- const _KT = "KmsThrottled";
537
- const _L = "Label";
538
- const _LDLSQ = "ListDeadLetterSourceQueues";
539
- const _LDLSQR = "ListDeadLetterSourceQueuesRequest";
540
- const _LDLSQRi = "ListDeadLetterSourceQueuesResult";
541
- const _LMMT = "ListMessageMoveTasks";
542
- const _LMMTR = "ListMessageMoveTasksRequest";
543
- const _LMMTRE = "ListMessageMoveTasksResultEntry";
544
- const _LMMTREL = "ListMessageMoveTasksResultEntryList";
545
- const _LMMTRi = "ListMessageMoveTasksResult";
546
- const _LQ = "ListQueues";
547
- const _LQR = "ListQueuesRequest";
548
- const _LQRi = "ListQueuesResult";
549
- const _LQT = "ListQueueTags";
550
- const _LQTR = "ListQueueTagsRequest";
551
- const _LQTRi = "ListQueueTagsResult";
552
- const _M = "Message";
553
- const _MA = "MessageAttributes";
554
- const _MAN = "MessageAttributeNames";
555
- const _MANe = "MessageAttributeName";
556
- const _MAV = "MessageAttributeValue";
557
- const _MAe = "MessageAttribute";
558
- const _MB = "MessageBody";
559
- const _MBAM = "MessageBodyAttributeMap";
560
- const _MBSAM = "MessageBodySystemAttributeMap";
561
- const _MDI = "MessageDeduplicationId";
562
- const _MDOB = "MD5OfBody";
563
- const _MDOMA = "MD5OfMessageAttributes";
564
- const _MDOMB = "MD5OfMessageBody";
565
- const _MDOMSA = "MD5OfMessageSystemAttributes";
566
- const _MGI = "MessageGroupId";
567
- const _MI = "MessageId";
568
- const _ML = "MessageList";
569
- const _MNI = "MessageNotInflight";
570
- const _MNOM = "MaxNumberOfMessages";
571
- const _MNOMPS = "MaxNumberOfMessagesPerSecond";
572
- const _MR = "MaxResults";
573
- const _MSA = "MessageSystemAttributes";
574
- const _MSAM = "MessageSystemAttributeMap";
575
- const _MSAN = "MessageSystemAttributeNames";
576
- const _MSAV = "MessageSystemAttributeValue";
577
- const _MSAe = "MessageSystemAttribute";
578
- const _Me = "Messages";
579
- const _N = "Name";
580
- const _NT = "NextToken";
581
- const _OL = "OverLimit";
582
- const _PQ = "PurgeQueue";
583
- const _PQIP = "PurgeQueueInProgress";
584
- const _PQR = "PurgeQueueRequest";
585
- const _QAM = "QueueAttributeMap";
586
- const _QDNE = "QueueDoesNotExist";
587
- const _QDR = "QueueDeletedRecently";
588
- const _QN = "QueueName";
589
- const _QNE = "QueueNameExists";
590
- const _QNP = "QueueNamePrefix";
591
- const _QOAWSAI = "QueueOwnerAWSAccountId";
592
- const _QU = "QueueUrl";
593
- const _QUu = "QueueUrls";
594
- const _R = "Results";
595
- const _RH = "ReceiptHandle";
596
- const _RHII = "ReceiptHandleIsInvalid";
597
- const _RM = "ReceiveMessage";
598
- const _RMR = "ReceiveMessageRequest";
599
- const _RMRe = "ReceiveMessageResult";
600
- const _RNFE = "ResourceNotFoundException";
601
- const _RP = "RemovePermission";
602
- const _RPR = "RemovePermissionRequest";
603
- const _RRAI = "ReceiveRequestAttemptId";
604
- const _RT = "RequestThrottled";
605
- const _S = "Successful";
606
- const _SA = "SourceArn";
607
- const _SF = "SenderFault";
608
- const _SL = "StringList";
609
- const _SLV = "StringListValues";
610
- const _SLVt = "StringListValue";
611
- const _SM = "SendMessage";
612
- const _SMB = "SendMessageBatch";
613
- const _SMBR = "SendMessageBatchRequest";
614
- const _SMBRE = "SendMessageBatchRequestEntry";
615
- const _SMBREL = "SendMessageBatchRequestEntryList";
616
- const _SMBRELe = "SendMessageBatchResultEntryList";
617
- const _SMBREe = "SendMessageBatchResultEntry";
618
- const _SMBRe = "SendMessageBatchResult";
619
- const _SMMT = "StartMessageMoveTask";
620
- const _SMMTR = "StartMessageMoveTaskRequest";
621
- const _SMMTRt = "StartMessageMoveTaskResult";
622
- const _SMR = "SendMessageRequest";
623
- const _SMRe = "SendMessageResult";
624
- const _SN = "SequenceNumber";
625
- const _SQA = "SetQueueAttributes";
626
- const _SQAR = "SetQueueAttributesRequest";
627
- const _ST = "StartedTimestamp";
628
- const _SV = "StringValue";
629
- const _St = "Status";
630
- const _T = "Tag";
631
- const _TH = "TaskHandle";
632
- const _TK = "TagKeys";
633
- const _TKa = "TagKey";
634
- const _TM = "TagMap";
635
- const _TMEIBR = "TooManyEntriesInBatchRequest";
636
- const _TQ = "TagQueue";
637
- const _TQR = "TagQueueRequest";
638
- const _Ta = "Tags";
639
- const _UO = "UnsupportedOperation";
640
- const _UQ = "UntagQueue";
641
- const _UQR = "UntagQueueRequest";
642
- const _V = "Value";
643
- const _VT = "VisibilityTimeout";
644
- const _WTS = "WaitTimeSeconds";
645
- const _aQE = "awsQueryError";
646
- const _c = "client";
647
- const _e = "error";
648
- const _hE = "httpError";
649
- const _m = "message";
650
- const _qU = "queueUrls";
651
- const _s = "smithy.ts.sdk.synthetic.com.amazonaws.sqs";
652
- const _t = "tags";
653
- const _xF = "xmlFlattened";
654
- const _xN = "xmlName";
655
- const n0 = "com.amazonaws.sqs";
656
- var AddPermissionRequest$ = [3, n0, _APR,
657
- 0,
658
- [_QU, _L, _AWSAI, _A],
659
- [0, 0, [64 | 0, { [_xF]: 1, [_xN]: _AWSAIc }], [64 | 0, { [_xF]: 1, [_xN]: _AN }]], 4
660
- ];
661
- var BatchEntryIdsNotDistinct$ = [-3, n0, _BEIND,
662
- { [_aQE]: [`AWS.SimpleQueueService.BatchEntryIdsNotDistinct`, 400], [_e]: _c, [_hE]: 400 },
663
- [_m],
664
- [0]
665
- ];
666
- schema.TypeRegistry.for(n0).registerError(BatchEntryIdsNotDistinct$, BatchEntryIdsNotDistinct);
667
- var BatchRequestTooLong$ = [-3, n0, _BRTL,
668
- { [_aQE]: [`AWS.SimpleQueueService.BatchRequestTooLong`, 400], [_e]: _c, [_hE]: 400 },
669
- [_m],
670
- [0]
671
- ];
672
- schema.TypeRegistry.for(n0).registerError(BatchRequestTooLong$, BatchRequestTooLong);
673
- var BatchResultErrorEntry$ = [3, n0, _BREE,
674
- 0,
675
- [_I, _SF, _C, _M],
676
- [0, 2, 0, 0], 3
677
- ];
678
- var CancelMessageMoveTaskRequest$ = [3, n0, _CMMTR,
679
- 0,
680
- [_TH],
681
- [0], 1
682
- ];
683
- var CancelMessageMoveTaskResult$ = [3, n0, _CMMTRa,
684
- 0,
685
- [_ANOMM],
686
- [1]
687
- ];
688
- var ChangeMessageVisibilityBatchRequest$ = [3, n0, _CMVBR,
689
- 0,
690
- [_QU, _E],
691
- [0, [() => ChangeMessageVisibilityBatchRequestEntryList, { [_xF]: 1, [_xN]: _CMVBRE }]], 2
692
- ];
693
- var ChangeMessageVisibilityBatchRequestEntry$ = [3, n0, _CMVBRE,
694
- 0,
695
- [_I, _RH, _VT],
696
- [0, 0, 1], 2
697
- ];
698
- var ChangeMessageVisibilityBatchResult$ = [3, n0, _CMVBRh,
699
- 0,
700
- [_S, _F],
701
- [[() => ChangeMessageVisibilityBatchResultEntryList, { [_xF]: 1, [_xN]: _CMVBREh }], [() => BatchResultErrorEntryList, { [_xF]: 1, [_xN]: _BREE }]], 2
702
- ];
703
- var ChangeMessageVisibilityBatchResultEntry$ = [3, n0, _CMVBREh,
704
- 0,
705
- [_I],
706
- [0], 1
707
- ];
708
- var ChangeMessageVisibilityRequest$ = [3, n0, _CMVR,
709
- 0,
710
- [_QU, _RH, _VT],
711
- [0, 0, 1], 3
712
- ];
713
- var CreateQueueRequest$ = [3, n0, _CQR,
714
- 0,
715
- [_QN, _At, _t],
716
- [0, [() => QueueAttributeMap, { [_xF]: 1, [_xN]: _Att }], [() => TagMap, { [_xF]: 1, [_xN]: _T }]], 1
717
- ];
718
- var CreateQueueResult$ = [3, n0, _CQRr,
719
- 0,
720
- [_QU],
721
- [0]
722
- ];
723
- var DeleteMessageBatchRequest$ = [3, n0, _DMBR,
724
- 0,
725
- [_QU, _E],
726
- [0, [() => DeleteMessageBatchRequestEntryList, { [_xF]: 1, [_xN]: _DMBRE }]], 2
727
- ];
728
- var DeleteMessageBatchRequestEntry$ = [3, n0, _DMBRE,
729
- 0,
730
- [_I, _RH],
731
- [0, 0], 2
732
- ];
733
- var DeleteMessageBatchResult$ = [3, n0, _DMBRe,
734
- 0,
735
- [_S, _F],
736
- [[() => DeleteMessageBatchResultEntryList, { [_xF]: 1, [_xN]: _DMBREe }], [() => BatchResultErrorEntryList, { [_xF]: 1, [_xN]: _BREE }]], 2
737
- ];
738
- var DeleteMessageBatchResultEntry$ = [3, n0, _DMBREe,
739
- 0,
740
- [_I],
741
- [0], 1
742
- ];
743
- var DeleteMessageRequest$ = [3, n0, _DMR,
744
- 0,
745
- [_QU, _RH],
746
- [0, 0], 2
747
- ];
748
- var DeleteQueueRequest$ = [3, n0, _DQR,
749
- 0,
750
- [_QU],
751
- [0], 1
752
- ];
753
- var EmptyBatchRequest$ = [-3, n0, _EBR,
754
- { [_aQE]: [`AWS.SimpleQueueService.EmptyBatchRequest`, 400], [_e]: _c, [_hE]: 400 },
755
- [_m],
756
- [0]
757
- ];
758
- schema.TypeRegistry.for(n0).registerError(EmptyBatchRequest$, EmptyBatchRequest);
759
- var GetQueueAttributesRequest$ = [3, n0, _GQAR,
760
- 0,
761
- [_QU, _ANt],
762
- [0, [64 | 0, { [_xF]: 1, [_xN]: _ANtt }]], 1
763
- ];
764
- var GetQueueAttributesResult$ = [3, n0, _GQARe,
765
- 0,
766
- [_At],
767
- [[() => QueueAttributeMap, { [_xF]: 1, [_xN]: _Att }]]
768
- ];
769
- var GetQueueUrlRequest$ = [3, n0, _GQUR,
770
- 0,
771
- [_QN, _QOAWSAI],
772
- [0, 0], 1
773
- ];
774
- var GetQueueUrlResult$ = [3, n0, _GQURe,
775
- 0,
776
- [_QU],
777
- [0]
778
- ];
779
- var InvalidAddress$ = [-3, n0, _IA,
780
- { [_aQE]: [`InvalidAddress`, 404], [_e]: _c, [_hE]: 404 },
781
- [_m],
782
- [0]
783
- ];
784
- schema.TypeRegistry.for(n0).registerError(InvalidAddress$, InvalidAddress);
785
- var InvalidAttributeName$ = [-3, n0, _IAN,
786
- { [_e]: _c },
787
- [_m],
788
- [0]
789
- ];
790
- schema.TypeRegistry.for(n0).registerError(InvalidAttributeName$, InvalidAttributeName);
791
- var InvalidAttributeValue$ = [-3, n0, _IAV,
792
- { [_e]: _c },
793
- [_m],
794
- [0]
795
- ];
796
- schema.TypeRegistry.for(n0).registerError(InvalidAttributeValue$, InvalidAttributeValue);
797
- var InvalidBatchEntryId$ = [-3, n0, _IBEI,
798
- { [_aQE]: [`AWS.SimpleQueueService.InvalidBatchEntryId`, 400], [_e]: _c, [_hE]: 400 },
799
- [_m],
800
- [0]
801
- ];
802
- schema.TypeRegistry.for(n0).registerError(InvalidBatchEntryId$, InvalidBatchEntryId);
803
- var InvalidIdFormat$ = [-3, n0, _IIF,
804
- { [_e]: _c },
805
- [],
806
- []
807
- ];
808
- schema.TypeRegistry.for(n0).registerError(InvalidIdFormat$, InvalidIdFormat);
809
- var InvalidMessageContents$ = [-3, n0, _IMC,
810
- { [_e]: _c },
811
- [_m],
812
- [0]
813
- ];
814
- schema.TypeRegistry.for(n0).registerError(InvalidMessageContents$, InvalidMessageContents);
815
- var InvalidSecurity$ = [-3, n0, _IS,
816
- { [_aQE]: [`InvalidSecurity`, 403], [_e]: _c, [_hE]: 403 },
817
- [_m],
818
- [0]
819
- ];
820
- schema.TypeRegistry.for(n0).registerError(InvalidSecurity$, InvalidSecurity);
821
- var KmsAccessDenied$ = [-3, n0, _KAD,
822
- { [_aQE]: [`KMS.AccessDeniedException`, 400], [_e]: _c, [_hE]: 400 },
823
- [_m],
824
- [0]
825
- ];
826
- schema.TypeRegistry.for(n0).registerError(KmsAccessDenied$, KmsAccessDenied);
827
- var KmsDisabled$ = [-3, n0, _KD,
828
- { [_aQE]: [`KMS.DisabledException`, 400], [_e]: _c, [_hE]: 400 },
829
- [_m],
830
- [0]
831
- ];
832
- schema.TypeRegistry.for(n0).registerError(KmsDisabled$, KmsDisabled);
833
- var KmsInvalidKeyUsage$ = [-3, n0, _KIKU,
834
- { [_aQE]: [`KMS.InvalidKeyUsageException`, 400], [_e]: _c, [_hE]: 400 },
835
- [_m],
836
- [0]
837
- ];
838
- schema.TypeRegistry.for(n0).registerError(KmsInvalidKeyUsage$, KmsInvalidKeyUsage);
839
- var KmsInvalidState$ = [-3, n0, _KIS,
840
- { [_aQE]: [`KMS.InvalidStateException`, 400], [_e]: _c, [_hE]: 400 },
841
- [_m],
842
- [0]
843
- ];
844
- schema.TypeRegistry.for(n0).registerError(KmsInvalidState$, KmsInvalidState);
845
- var KmsNotFound$ = [-3, n0, _KNF,
846
- { [_aQE]: [`KMS.NotFoundException`, 400], [_e]: _c, [_hE]: 400 },
847
- [_m],
848
- [0]
849
- ];
850
- schema.TypeRegistry.for(n0).registerError(KmsNotFound$, KmsNotFound);
851
- var KmsOptInRequired$ = [-3, n0, _KOIR,
852
- { [_aQE]: [`KMS.OptInRequired`, 403], [_e]: _c, [_hE]: 403 },
853
- [_m],
854
- [0]
855
- ];
856
- schema.TypeRegistry.for(n0).registerError(KmsOptInRequired$, KmsOptInRequired);
857
- var KmsThrottled$ = [-3, n0, _KT,
858
- { [_aQE]: [`KMS.ThrottlingException`, 400], [_e]: _c, [_hE]: 400 },
859
- [_m],
860
- [0]
861
- ];
862
- schema.TypeRegistry.for(n0).registerError(KmsThrottled$, KmsThrottled);
863
- var ListDeadLetterSourceQueuesRequest$ = [3, n0, _LDLSQR,
864
- 0,
865
- [_QU, _NT, _MR],
866
- [0, 0, 1], 1
867
- ];
868
- var ListDeadLetterSourceQueuesResult$ = [3, n0, _LDLSQRi,
869
- 0,
870
- [_qU, _NT],
871
- [[64 | 0, { [_xF]: 1, [_xN]: _QU }], 0], 1
872
- ];
873
- var ListMessageMoveTasksRequest$ = [3, n0, _LMMTR,
874
- 0,
875
- [_SA, _MR],
876
- [0, 1], 1
877
- ];
878
- var ListMessageMoveTasksResult$ = [3, n0, _LMMTRi,
879
- { [_xN]: _LMMTRi },
880
- [_R],
881
- [[() => ListMessageMoveTasksResultEntryList, { [_xF]: 1, [_xN]: _LMMTRE }]]
882
- ];
883
- var ListMessageMoveTasksResultEntry$ = [3, n0, _LMMTRE,
884
- 0,
885
- [_TH, _St, _SA, _DA, _MNOMPS, _ANOMM, _ANOMTM, _FR, _ST],
886
- [0, 0, 0, 0, 1, 1, 1, 0, 1]
887
- ];
888
- var ListQueuesRequest$ = [3, n0, _LQR,
889
- 0,
890
- [_QNP, _NT, _MR],
891
- [0, 0, 1]
892
- ];
893
- var ListQueuesResult$ = [3, n0, _LQRi,
894
- 0,
895
- [_QUu, _NT],
896
- [[64 | 0, { [_xF]: 1, [_xN]: _QU }], 0]
897
- ];
898
- var ListQueueTagsRequest$ = [3, n0, _LQTR,
899
- 0,
900
- [_QU],
901
- [0], 1
902
- ];
903
- var ListQueueTagsResult$ = [3, n0, _LQTRi,
904
- 0,
905
- [_Ta],
906
- [[() => TagMap, { [_xF]: 1, [_xN]: _T }]]
907
- ];
908
- var Message$ = [3, n0, _M,
909
- 0,
910
- [_MI, _RH, _MDOB, _B, _At, _MDOMA, _MA],
911
- [0, 0, 0, 0, [() => MessageSystemAttributeMap, { [_xF]: 1, [_xN]: _Att }], 0, [() => MessageBodyAttributeMap, { [_xF]: 1, [_xN]: _MAe }]]
912
- ];
913
- var MessageAttributeValue$ = [3, n0, _MAV,
914
- 0,
915
- [_DT, _SV, _BV, _SLV, _BLV],
916
- [0, 0, 21, [() => StringList, { [_xF]: 1, [_xN]: _SLVt }], [() => BinaryList, { [_xF]: 1, [_xN]: _BLVi }]], 1
917
- ];
918
- var MessageNotInflight$ = [-3, n0, _MNI,
919
- { [_aQE]: [`AWS.SimpleQueueService.MessageNotInflight`, 400], [_e]: _c, [_hE]: 400 },
920
- [],
921
- []
922
- ];
923
- schema.TypeRegistry.for(n0).registerError(MessageNotInflight$, MessageNotInflight);
924
- var MessageSystemAttributeValue$ = [3, n0, _MSAV,
925
- 0,
926
- [_DT, _SV, _BV, _SLV, _BLV],
927
- [0, 0, 21, [() => StringList, { [_xF]: 1, [_xN]: _SLVt }], [() => BinaryList, { [_xF]: 1, [_xN]: _BLVi }]], 1
928
- ];
929
- var OverLimit$ = [-3, n0, _OL,
930
- { [_aQE]: [`OverLimit`, 403], [_e]: _c, [_hE]: 403 },
931
- [_m],
932
- [0]
933
- ];
934
- schema.TypeRegistry.for(n0).registerError(OverLimit$, OverLimit);
935
- var PurgeQueueInProgress$ = [-3, n0, _PQIP,
936
- { [_aQE]: [`AWS.SimpleQueueService.PurgeQueueInProgress`, 403], [_e]: _c, [_hE]: 403 },
937
- [_m],
938
- [0]
939
- ];
940
- schema.TypeRegistry.for(n0).registerError(PurgeQueueInProgress$, PurgeQueueInProgress);
941
- var PurgeQueueRequest$ = [3, n0, _PQR,
942
- 0,
943
- [_QU],
944
- [0], 1
945
- ];
946
- var QueueDeletedRecently$ = [-3, n0, _QDR,
947
- { [_aQE]: [`AWS.SimpleQueueService.QueueDeletedRecently`, 400], [_e]: _c, [_hE]: 400 },
948
- [_m],
949
- [0]
950
- ];
951
- schema.TypeRegistry.for(n0).registerError(QueueDeletedRecently$, QueueDeletedRecently);
952
- var QueueDoesNotExist$ = [-3, n0, _QDNE,
953
- { [_aQE]: [`AWS.SimpleQueueService.NonExistentQueue`, 400], [_e]: _c, [_hE]: 400 },
954
- [_m],
955
- [0]
956
- ];
957
- schema.TypeRegistry.for(n0).registerError(QueueDoesNotExist$, QueueDoesNotExist);
958
- var QueueNameExists$ = [-3, n0, _QNE,
959
- { [_aQE]: [`QueueAlreadyExists`, 400], [_e]: _c, [_hE]: 400 },
960
- [_m],
961
- [0]
962
- ];
963
- schema.TypeRegistry.for(n0).registerError(QueueNameExists$, QueueNameExists);
964
- var ReceiptHandleIsInvalid$ = [-3, n0, _RHII,
965
- { [_aQE]: [`ReceiptHandleIsInvalid`, 404], [_e]: _c, [_hE]: 404 },
966
- [_m],
967
- [0]
968
- ];
969
- schema.TypeRegistry.for(n0).registerError(ReceiptHandleIsInvalid$, ReceiptHandleIsInvalid);
970
- var ReceiveMessageRequest$ = [3, n0, _RMR,
971
- 0,
972
- [_QU, _ANt, _MSAN, _MAN, _MNOM, _VT, _WTS, _RRAI],
973
- [0, [64 | 0, { [_xF]: 1, [_xN]: _ANtt }], [64 | 0, { [_xF]: 1, [_xN]: _ANtt }], [64 | 0, { [_xF]: 1, [_xN]: _MANe }], 1, 1, 1, 0], 1
974
- ];
975
- var ReceiveMessageResult$ = [3, n0, _RMRe,
976
- 0,
977
- [_Me],
978
- [[() => MessageList, { [_xF]: 1, [_xN]: _M }]]
979
- ];
980
- var RemovePermissionRequest$ = [3, n0, _RPR,
981
- 0,
982
- [_QU, _L],
983
- [0, 0], 2
984
- ];
985
- var RequestThrottled$ = [-3, n0, _RT,
986
- { [_aQE]: [`RequestThrottled`, 403], [_e]: _c, [_hE]: 403 },
987
- [_m],
988
- [0]
989
- ];
990
- schema.TypeRegistry.for(n0).registerError(RequestThrottled$, RequestThrottled);
991
- var ResourceNotFoundException$ = [-3, n0, _RNFE,
992
- { [_aQE]: [`ResourceNotFoundException`, 404], [_e]: _c, [_hE]: 404 },
993
- [_m],
994
- [0]
995
- ];
996
- schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
997
- var SendMessageBatchRequest$ = [3, n0, _SMBR,
998
- 0,
999
- [_QU, _E],
1000
- [0, [() => SendMessageBatchRequestEntryList, { [_xF]: 1, [_xN]: _SMBRE }]], 2
1001
- ];
1002
- var SendMessageBatchRequestEntry$ = [3, n0, _SMBRE,
1003
- 0,
1004
- [_I, _MB, _DS, _MA, _MSA, _MDI, _MGI],
1005
- [0, 0, 1, [() => MessageBodyAttributeMap, { [_xF]: 1, [_xN]: _MAe }], [() => MessageBodySystemAttributeMap, { [_xF]: 1, [_xN]: _MSAe }], 0, 0], 2
1006
- ];
1007
- var SendMessageBatchResult$ = [3, n0, _SMBRe,
1008
- 0,
1009
- [_S, _F],
1010
- [[() => SendMessageBatchResultEntryList, { [_xF]: 1, [_xN]: _SMBREe }], [() => BatchResultErrorEntryList, { [_xF]: 1, [_xN]: _BREE }]], 2
1011
- ];
1012
- var SendMessageBatchResultEntry$ = [3, n0, _SMBREe,
1013
- 0,
1014
- [_I, _MI, _MDOMB, _MDOMA, _MDOMSA, _SN],
1015
- [0, 0, 0, 0, 0, 0], 3
1016
- ];
1017
- var SendMessageRequest$ = [3, n0, _SMR,
1018
- 0,
1019
- [_QU, _MB, _DS, _MA, _MSA, _MDI, _MGI],
1020
- [0, 0, 1, [() => MessageBodyAttributeMap, { [_xF]: 1, [_xN]: _MAe }], [() => MessageBodySystemAttributeMap, { [_xF]: 1, [_xN]: _MSAe }], 0, 0], 2
1021
- ];
1022
- var SendMessageResult$ = [3, n0, _SMRe,
1023
- 0,
1024
- [_MDOMB, _MDOMA, _MDOMSA, _MI, _SN],
1025
- [0, 0, 0, 0, 0]
1026
- ];
1027
- var SetQueueAttributesRequest$ = [3, n0, _SQAR,
1028
- 0,
1029
- [_QU, _At],
1030
- [0, [() => QueueAttributeMap, { [_xF]: 1, [_xN]: _Att }]], 2
1031
- ];
1032
- var StartMessageMoveTaskRequest$ = [3, n0, _SMMTR,
1033
- 0,
1034
- [_SA, _DA, _MNOMPS],
1035
- [0, 0, 1], 1
1036
- ];
1037
- var StartMessageMoveTaskResult$ = [3, n0, _SMMTRt,
1038
- 0,
1039
- [_TH],
1040
- [0]
1041
- ];
1042
- var TagQueueRequest$ = [3, n0, _TQR,
1043
- 0,
1044
- [_QU, _Ta],
1045
- [0, [() => TagMap, { [_xF]: 1, [_xN]: _T }]], 2
1046
- ];
1047
- var TooManyEntriesInBatchRequest$ = [-3, n0, _TMEIBR,
1048
- { [_aQE]: [`AWS.SimpleQueueService.TooManyEntriesInBatchRequest`, 400], [_e]: _c, [_hE]: 400 },
1049
- [_m],
1050
- [0]
1051
- ];
1052
- schema.TypeRegistry.for(n0).registerError(TooManyEntriesInBatchRequest$, TooManyEntriesInBatchRequest);
1053
- var UnsupportedOperation$ = [-3, n0, _UO,
1054
- { [_aQE]: [`AWS.SimpleQueueService.UnsupportedOperation`, 400], [_e]: _c, [_hE]: 400 },
1055
- [_m],
1056
- [0]
1057
- ];
1058
- schema.TypeRegistry.for(n0).registerError(UnsupportedOperation$, UnsupportedOperation);
1059
- var UntagQueueRequest$ = [3, n0, _UQR,
1060
- 0,
1061
- [_QU, _TK],
1062
- [0, [64 | 0, { [_xF]: 1, [_xN]: _TKa }]], 2
1063
- ];
1064
- var __Unit = "unit";
1065
- var SQSServiceException$ = [-3, _s, "SQSServiceException", 0, [], []];
1066
- schema.TypeRegistry.for(_s).registerError(SQSServiceException$, SQSServiceException);
1067
- var BatchResultErrorEntryList = [1, n0, _BREEL,
1068
- 0, () => BatchResultErrorEntry$
1069
- ];
1070
- var BinaryList = [1, n0, _BL,
1071
- 0, [21,
1072
- { [_xN]: _BLVi }]
1073
- ];
1074
- var ChangeMessageVisibilityBatchRequestEntryList = [1, n0, _CMVBREL,
1075
- 0, () => ChangeMessageVisibilityBatchRequestEntry$
1076
- ];
1077
- var ChangeMessageVisibilityBatchResultEntryList = [1, n0, _CMVBRELh,
1078
- 0, () => ChangeMessageVisibilityBatchResultEntry$
1079
- ];
1080
- var DeleteMessageBatchRequestEntryList = [1, n0, _DMBREL,
1081
- 0, () => DeleteMessageBatchRequestEntry$
1082
- ];
1083
- var DeleteMessageBatchResultEntryList = [1, n0, _DMBRELe,
1084
- 0, () => DeleteMessageBatchResultEntry$
1085
- ];
1086
- var ListMessageMoveTasksResultEntryList = [1, n0, _LMMTREL,
1087
- 0, () => ListMessageMoveTasksResultEntry$
1088
- ];
1089
- var MessageList = [1, n0, _ML,
1090
- 0, [() => Message$,
1091
- 0]
1092
- ];
1093
- var SendMessageBatchRequestEntryList = [1, n0, _SMBREL,
1094
- 0, [() => SendMessageBatchRequestEntry$,
1095
- 0]
1096
- ];
1097
- var SendMessageBatchResultEntryList = [1, n0, _SMBRELe,
1098
- 0, () => SendMessageBatchResultEntry$
1099
- ];
1100
- var StringList = [1, n0, _SL,
1101
- 0, [0,
1102
- { [_xN]: _SLVt }]
1103
- ];
1104
- var MessageBodyAttributeMap = [2, n0, _MBAM,
1105
- 0, [0,
1106
- { [_xN]: _N }],
1107
- [() => MessageAttributeValue$,
1108
- { [_xN]: _V }]
1109
- ];
1110
- var MessageBodySystemAttributeMap = [2, n0, _MBSAM,
1111
- 0, [0,
1112
- { [_xN]: _N }],
1113
- [() => MessageSystemAttributeValue$,
1114
- { [_xN]: _V }]
1115
- ];
1116
- var MessageSystemAttributeMap = [2, n0, _MSAM,
1117
- 0, [0,
1118
- { [_xN]: _N }],
1119
- [0,
1120
- { [_xN]: _V }]
1121
- ];
1122
- var QueueAttributeMap = [2, n0, _QAM,
1123
- 0, [0,
1124
- { [_xN]: _N }],
1125
- [0,
1126
- { [_xN]: _V }]
1127
- ];
1128
- var TagMap = [2, n0, _TM,
1129
- 0, [0,
1130
- { [_xN]: _K }],
1131
- [0,
1132
- { [_xN]: _V }]
1133
- ];
1134
- var AddPermission$ = [9, n0, _AP,
1135
- 0, () => AddPermissionRequest$, () => __Unit
1136
- ];
1137
- var CancelMessageMoveTask$ = [9, n0, _CMMT,
1138
- 0, () => CancelMessageMoveTaskRequest$, () => CancelMessageMoveTaskResult$
1139
- ];
1140
- var ChangeMessageVisibility$ = [9, n0, _CMV,
1141
- 0, () => ChangeMessageVisibilityRequest$, () => __Unit
1142
- ];
1143
- var ChangeMessageVisibilityBatch$ = [9, n0, _CMVB,
1144
- 0, () => ChangeMessageVisibilityBatchRequest$, () => ChangeMessageVisibilityBatchResult$
1145
- ];
1146
- var CreateQueue$ = [9, n0, _CQ,
1147
- 0, () => CreateQueueRequest$, () => CreateQueueResult$
1148
- ];
1149
- var DeleteMessage$ = [9, n0, _DM,
1150
- 0, () => DeleteMessageRequest$, () => __Unit
1151
- ];
1152
- var DeleteMessageBatch$ = [9, n0, _DMB,
1153
- 0, () => DeleteMessageBatchRequest$, () => DeleteMessageBatchResult$
1154
- ];
1155
- var DeleteQueue$ = [9, n0, _DQ,
1156
- 0, () => DeleteQueueRequest$, () => __Unit
1157
- ];
1158
- var GetQueueAttributes$ = [9, n0, _GQA,
1159
- 0, () => GetQueueAttributesRequest$, () => GetQueueAttributesResult$
1160
- ];
1161
- var GetQueueUrl$ = [9, n0, _GQU,
1162
- 0, () => GetQueueUrlRequest$, () => GetQueueUrlResult$
1163
- ];
1164
- var ListDeadLetterSourceQueues$ = [9, n0, _LDLSQ,
1165
- 0, () => ListDeadLetterSourceQueuesRequest$, () => ListDeadLetterSourceQueuesResult$
1166
- ];
1167
- var ListMessageMoveTasks$ = [9, n0, _LMMT,
1168
- 0, () => ListMessageMoveTasksRequest$, () => ListMessageMoveTasksResult$
1169
- ];
1170
- var ListQueues$ = [9, n0, _LQ,
1171
- 0, () => ListQueuesRequest$, () => ListQueuesResult$
1172
- ];
1173
- var ListQueueTags$ = [9, n0, _LQT,
1174
- 0, () => ListQueueTagsRequest$, () => ListQueueTagsResult$
1175
- ];
1176
- var PurgeQueue$ = [9, n0, _PQ,
1177
- 0, () => PurgeQueueRequest$, () => __Unit
1178
- ];
1179
- var ReceiveMessage$ = [9, n0, _RM,
1180
- 0, () => ReceiveMessageRequest$, () => ReceiveMessageResult$
1181
- ];
1182
- var RemovePermission$ = [9, n0, _RP,
1183
- 0, () => RemovePermissionRequest$, () => __Unit
1184
- ];
1185
- var SendMessage$ = [9, n0, _SM,
1186
- 0, () => SendMessageRequest$, () => SendMessageResult$
1187
- ];
1188
- var SendMessageBatch$ = [9, n0, _SMB,
1189
- 0, () => SendMessageBatchRequest$, () => SendMessageBatchResult$
1190
- ];
1191
- var SetQueueAttributes$ = [9, n0, _SQA,
1192
- 0, () => SetQueueAttributesRequest$, () => __Unit
1193
- ];
1194
- var StartMessageMoveTask$ = [9, n0, _SMMT,
1195
- 0, () => StartMessageMoveTaskRequest$, () => StartMessageMoveTaskResult$
1196
- ];
1197
- var TagQueue$ = [9, n0, _TQ,
1198
- 0, () => TagQueueRequest$, () => __Unit
1199
- ];
1200
- var UntagQueue$ = [9, n0, _UQ,
1201
- 0, () => UntagQueueRequest$, () => __Unit
1202
- ];
1203
-
1204
119
  class AddPermissionCommand extends smithyClient.Command
1205
120
  .classBuilder()
1206
121
  .ep(commonParams)
@@ -1209,7 +124,7 @@ class AddPermissionCommand extends smithyClient.Command
1209
124
  })
1210
125
  .s("AmazonSQS", "AddPermission", {})
1211
126
  .n("SQSClient", "AddPermissionCommand")
1212
- .sc(AddPermission$)
127
+ .sc(schemas_0.AddPermission$)
1213
128
  .build() {
1214
129
  }
1215
130
 
@@ -1221,7 +136,7 @@ class CancelMessageMoveTaskCommand extends smithyClient.Command
1221
136
  })
1222
137
  .s("AmazonSQS", "CancelMessageMoveTask", {})
1223
138
  .n("SQSClient", "CancelMessageMoveTaskCommand")
1224
- .sc(CancelMessageMoveTask$)
139
+ .sc(schemas_0.CancelMessageMoveTask$)
1225
140
  .build() {
1226
141
  }
1227
142
 
@@ -1233,7 +148,7 @@ class ChangeMessageVisibilityBatchCommand extends smithyClient.Command
1233
148
  })
1234
149
  .s("AmazonSQS", "ChangeMessageVisibilityBatch", {})
1235
150
  .n("SQSClient", "ChangeMessageVisibilityBatchCommand")
1236
- .sc(ChangeMessageVisibilityBatch$)
151
+ .sc(schemas_0.ChangeMessageVisibilityBatch$)
1237
152
  .build() {
1238
153
  }
1239
154
 
@@ -1245,7 +160,7 @@ class ChangeMessageVisibilityCommand extends smithyClient.Command
1245
160
  })
1246
161
  .s("AmazonSQS", "ChangeMessageVisibility", {})
1247
162
  .n("SQSClient", "ChangeMessageVisibilityCommand")
1248
- .sc(ChangeMessageVisibility$)
163
+ .sc(schemas_0.ChangeMessageVisibility$)
1249
164
  .build() {
1250
165
  }
1251
166
 
@@ -1257,7 +172,7 @@ class CreateQueueCommand extends smithyClient.Command
1257
172
  })
1258
173
  .s("AmazonSQS", "CreateQueue", {})
1259
174
  .n("SQSClient", "CreateQueueCommand")
1260
- .sc(CreateQueue$)
175
+ .sc(schemas_0.CreateQueue$)
1261
176
  .build() {
1262
177
  }
1263
178
 
@@ -1269,7 +184,7 @@ class DeleteMessageBatchCommand extends smithyClient.Command
1269
184
  })
1270
185
  .s("AmazonSQS", "DeleteMessageBatch", {})
1271
186
  .n("SQSClient", "DeleteMessageBatchCommand")
1272
- .sc(DeleteMessageBatch$)
187
+ .sc(schemas_0.DeleteMessageBatch$)
1273
188
  .build() {
1274
189
  }
1275
190
 
@@ -1281,7 +196,7 @@ class DeleteMessageCommand extends smithyClient.Command
1281
196
  })
1282
197
  .s("AmazonSQS", "DeleteMessage", {})
1283
198
  .n("SQSClient", "DeleteMessageCommand")
1284
- .sc(DeleteMessage$)
199
+ .sc(schemas_0.DeleteMessage$)
1285
200
  .build() {
1286
201
  }
1287
202
 
@@ -1293,7 +208,7 @@ class DeleteQueueCommand extends smithyClient.Command
1293
208
  })
1294
209
  .s("AmazonSQS", "DeleteQueue", {})
1295
210
  .n("SQSClient", "DeleteQueueCommand")
1296
- .sc(DeleteQueue$)
211
+ .sc(schemas_0.DeleteQueue$)
1297
212
  .build() {
1298
213
  }
1299
214
 
@@ -1305,7 +220,7 @@ class GetQueueAttributesCommand extends smithyClient.Command
1305
220
  })
1306
221
  .s("AmazonSQS", "GetQueueAttributes", {})
1307
222
  .n("SQSClient", "GetQueueAttributesCommand")
1308
- .sc(GetQueueAttributes$)
223
+ .sc(schemas_0.GetQueueAttributes$)
1309
224
  .build() {
1310
225
  }
1311
226
 
@@ -1317,7 +232,7 @@ class GetQueueUrlCommand extends smithyClient.Command
1317
232
  })
1318
233
  .s("AmazonSQS", "GetQueueUrl", {})
1319
234
  .n("SQSClient", "GetQueueUrlCommand")
1320
- .sc(GetQueueUrl$)
235
+ .sc(schemas_0.GetQueueUrl$)
1321
236
  .build() {
1322
237
  }
1323
238
 
@@ -1329,7 +244,7 @@ class ListDeadLetterSourceQueuesCommand extends smithyClient.Command
1329
244
  })
1330
245
  .s("AmazonSQS", "ListDeadLetterSourceQueues", {})
1331
246
  .n("SQSClient", "ListDeadLetterSourceQueuesCommand")
1332
- .sc(ListDeadLetterSourceQueues$)
247
+ .sc(schemas_0.ListDeadLetterSourceQueues$)
1333
248
  .build() {
1334
249
  }
1335
250
 
@@ -1341,7 +256,7 @@ class ListMessageMoveTasksCommand extends smithyClient.Command
1341
256
  })
1342
257
  .s("AmazonSQS", "ListMessageMoveTasks", {})
1343
258
  .n("SQSClient", "ListMessageMoveTasksCommand")
1344
- .sc(ListMessageMoveTasks$)
259
+ .sc(schemas_0.ListMessageMoveTasks$)
1345
260
  .build() {
1346
261
  }
1347
262
 
@@ -1353,7 +268,7 @@ class ListQueuesCommand extends smithyClient.Command
1353
268
  })
1354
269
  .s("AmazonSQS", "ListQueues", {})
1355
270
  .n("SQSClient", "ListQueuesCommand")
1356
- .sc(ListQueues$)
271
+ .sc(schemas_0.ListQueues$)
1357
272
  .build() {
1358
273
  }
1359
274
 
@@ -1365,7 +280,7 @@ class ListQueueTagsCommand extends smithyClient.Command
1365
280
  })
1366
281
  .s("AmazonSQS", "ListQueueTags", {})
1367
282
  .n("SQSClient", "ListQueueTagsCommand")
1368
- .sc(ListQueueTags$)
283
+ .sc(schemas_0.ListQueueTags$)
1369
284
  .build() {
1370
285
  }
1371
286
 
@@ -1377,7 +292,7 @@ class PurgeQueueCommand extends smithyClient.Command
1377
292
  })
1378
293
  .s("AmazonSQS", "PurgeQueue", {})
1379
294
  .n("SQSClient", "PurgeQueueCommand")
1380
- .sc(PurgeQueue$)
295
+ .sc(schemas_0.PurgeQueue$)
1381
296
  .build() {
1382
297
  }
1383
298
 
@@ -1392,7 +307,7 @@ class ReceiveMessageCommand extends smithyClient.Command
1392
307
  })
1393
308
  .s("AmazonSQS", "ReceiveMessage", {})
1394
309
  .n("SQSClient", "ReceiveMessageCommand")
1395
- .sc(ReceiveMessage$)
310
+ .sc(schemas_0.ReceiveMessage$)
1396
311
  .build() {
1397
312
  }
1398
313
 
@@ -1404,7 +319,7 @@ class RemovePermissionCommand extends smithyClient.Command
1404
319
  })
1405
320
  .s("AmazonSQS", "RemovePermission", {})
1406
321
  .n("SQSClient", "RemovePermissionCommand")
1407
- .sc(RemovePermission$)
322
+ .sc(schemas_0.RemovePermission$)
1408
323
  .build() {
1409
324
  }
1410
325
 
@@ -1419,7 +334,7 @@ class SendMessageBatchCommand extends smithyClient.Command
1419
334
  })
1420
335
  .s("AmazonSQS", "SendMessageBatch", {})
1421
336
  .n("SQSClient", "SendMessageBatchCommand")
1422
- .sc(SendMessageBatch$)
337
+ .sc(schemas_0.SendMessageBatch$)
1423
338
  .build() {
1424
339
  }
1425
340
 
@@ -1434,7 +349,7 @@ class SendMessageCommand extends smithyClient.Command
1434
349
  })
1435
350
  .s("AmazonSQS", "SendMessage", {})
1436
351
  .n("SQSClient", "SendMessageCommand")
1437
- .sc(SendMessage$)
352
+ .sc(schemas_0.SendMessage$)
1438
353
  .build() {
1439
354
  }
1440
355
 
@@ -1446,7 +361,7 @@ class SetQueueAttributesCommand extends smithyClient.Command
1446
361
  })
1447
362
  .s("AmazonSQS", "SetQueueAttributes", {})
1448
363
  .n("SQSClient", "SetQueueAttributesCommand")
1449
- .sc(SetQueueAttributes$)
364
+ .sc(schemas_0.SetQueueAttributes$)
1450
365
  .build() {
1451
366
  }
1452
367
 
@@ -1458,7 +373,7 @@ class StartMessageMoveTaskCommand extends smithyClient.Command
1458
373
  })
1459
374
  .s("AmazonSQS", "StartMessageMoveTask", {})
1460
375
  .n("SQSClient", "StartMessageMoveTaskCommand")
1461
- .sc(StartMessageMoveTask$)
376
+ .sc(schemas_0.StartMessageMoveTask$)
1462
377
  .build() {
1463
378
  }
1464
379
 
@@ -1470,7 +385,7 @@ class TagQueueCommand extends smithyClient.Command
1470
385
  })
1471
386
  .s("AmazonSQS", "TagQueue", {})
1472
387
  .n("SQSClient", "TagQueueCommand")
1473
- .sc(TagQueue$)
388
+ .sc(schemas_0.TagQueue$)
1474
389
  .build() {
1475
390
  }
1476
391
 
@@ -1482,7 +397,7 @@ class UntagQueueCommand extends smithyClient.Command
1482
397
  })
1483
398
  .s("AmazonSQS", "UntagQueue", {})
1484
399
  .n("SQSClient", "UntagQueueCommand")
1485
- .sc(UntagQueue$)
400
+ .sc(schemas_0.UntagQueue$)
1486
401
  .build() {
1487
402
  }
1488
403
 
@@ -1571,162 +486,49 @@ Object.defineProperty(exports, "__Client", {
1571
486
  enumerable: true,
1572
487
  get: function () { return smithyClient.Client; }
1573
488
  });
1574
- exports.AddPermission$ = AddPermission$;
489
+ Object.defineProperty(exports, "SQSServiceException", {
490
+ enumerable: true,
491
+ get: function () { return SQSServiceException.SQSServiceException; }
492
+ });
1575
493
  exports.AddPermissionCommand = AddPermissionCommand;
1576
- exports.AddPermissionRequest$ = AddPermissionRequest$;
1577
- exports.BatchEntryIdsNotDistinct = BatchEntryIdsNotDistinct;
1578
- exports.BatchEntryIdsNotDistinct$ = BatchEntryIdsNotDistinct$;
1579
- exports.BatchRequestTooLong = BatchRequestTooLong;
1580
- exports.BatchRequestTooLong$ = BatchRequestTooLong$;
1581
- exports.BatchResultErrorEntry$ = BatchResultErrorEntry$;
1582
- exports.CancelMessageMoveTask$ = CancelMessageMoveTask$;
1583
494
  exports.CancelMessageMoveTaskCommand = CancelMessageMoveTaskCommand;
1584
- exports.CancelMessageMoveTaskRequest$ = CancelMessageMoveTaskRequest$;
1585
- exports.CancelMessageMoveTaskResult$ = CancelMessageMoveTaskResult$;
1586
- exports.ChangeMessageVisibility$ = ChangeMessageVisibility$;
1587
- exports.ChangeMessageVisibilityBatch$ = ChangeMessageVisibilityBatch$;
1588
495
  exports.ChangeMessageVisibilityBatchCommand = ChangeMessageVisibilityBatchCommand;
1589
- exports.ChangeMessageVisibilityBatchRequest$ = ChangeMessageVisibilityBatchRequest$;
1590
- exports.ChangeMessageVisibilityBatchRequestEntry$ = ChangeMessageVisibilityBatchRequestEntry$;
1591
- exports.ChangeMessageVisibilityBatchResult$ = ChangeMessageVisibilityBatchResult$;
1592
- exports.ChangeMessageVisibilityBatchResultEntry$ = ChangeMessageVisibilityBatchResultEntry$;
1593
496
  exports.ChangeMessageVisibilityCommand = ChangeMessageVisibilityCommand;
1594
- exports.ChangeMessageVisibilityRequest$ = ChangeMessageVisibilityRequest$;
1595
- exports.CreateQueue$ = CreateQueue$;
1596
497
  exports.CreateQueueCommand = CreateQueueCommand;
1597
- exports.CreateQueueRequest$ = CreateQueueRequest$;
1598
- exports.CreateQueueResult$ = CreateQueueResult$;
1599
- exports.DeleteMessage$ = DeleteMessage$;
1600
- exports.DeleteMessageBatch$ = DeleteMessageBatch$;
1601
498
  exports.DeleteMessageBatchCommand = DeleteMessageBatchCommand;
1602
- exports.DeleteMessageBatchRequest$ = DeleteMessageBatchRequest$;
1603
- exports.DeleteMessageBatchRequestEntry$ = DeleteMessageBatchRequestEntry$;
1604
- exports.DeleteMessageBatchResult$ = DeleteMessageBatchResult$;
1605
- exports.DeleteMessageBatchResultEntry$ = DeleteMessageBatchResultEntry$;
1606
499
  exports.DeleteMessageCommand = DeleteMessageCommand;
1607
- exports.DeleteMessageRequest$ = DeleteMessageRequest$;
1608
- exports.DeleteQueue$ = DeleteQueue$;
1609
500
  exports.DeleteQueueCommand = DeleteQueueCommand;
1610
- exports.DeleteQueueRequest$ = DeleteQueueRequest$;
1611
- exports.EmptyBatchRequest = EmptyBatchRequest;
1612
- exports.EmptyBatchRequest$ = EmptyBatchRequest$;
1613
- exports.GetQueueAttributes$ = GetQueueAttributes$;
1614
501
  exports.GetQueueAttributesCommand = GetQueueAttributesCommand;
1615
- exports.GetQueueAttributesRequest$ = GetQueueAttributesRequest$;
1616
- exports.GetQueueAttributesResult$ = GetQueueAttributesResult$;
1617
- exports.GetQueueUrl$ = GetQueueUrl$;
1618
502
  exports.GetQueueUrlCommand = GetQueueUrlCommand;
1619
- exports.GetQueueUrlRequest$ = GetQueueUrlRequest$;
1620
- exports.GetQueueUrlResult$ = GetQueueUrlResult$;
1621
- exports.InvalidAddress = InvalidAddress;
1622
- exports.InvalidAddress$ = InvalidAddress$;
1623
- exports.InvalidAttributeName = InvalidAttributeName;
1624
- exports.InvalidAttributeName$ = InvalidAttributeName$;
1625
- exports.InvalidAttributeValue = InvalidAttributeValue;
1626
- exports.InvalidAttributeValue$ = InvalidAttributeValue$;
1627
- exports.InvalidBatchEntryId = InvalidBatchEntryId;
1628
- exports.InvalidBatchEntryId$ = InvalidBatchEntryId$;
1629
- exports.InvalidIdFormat = InvalidIdFormat;
1630
- exports.InvalidIdFormat$ = InvalidIdFormat$;
1631
- exports.InvalidMessageContents = InvalidMessageContents;
1632
- exports.InvalidMessageContents$ = InvalidMessageContents$;
1633
- exports.InvalidSecurity = InvalidSecurity;
1634
- exports.InvalidSecurity$ = InvalidSecurity$;
1635
- exports.KmsAccessDenied = KmsAccessDenied;
1636
- exports.KmsAccessDenied$ = KmsAccessDenied$;
1637
- exports.KmsDisabled = KmsDisabled;
1638
- exports.KmsDisabled$ = KmsDisabled$;
1639
- exports.KmsInvalidKeyUsage = KmsInvalidKeyUsage;
1640
- exports.KmsInvalidKeyUsage$ = KmsInvalidKeyUsage$;
1641
- exports.KmsInvalidState = KmsInvalidState;
1642
- exports.KmsInvalidState$ = KmsInvalidState$;
1643
- exports.KmsNotFound = KmsNotFound;
1644
- exports.KmsNotFound$ = KmsNotFound$;
1645
- exports.KmsOptInRequired = KmsOptInRequired;
1646
- exports.KmsOptInRequired$ = KmsOptInRequired$;
1647
- exports.KmsThrottled = KmsThrottled;
1648
- exports.KmsThrottled$ = KmsThrottled$;
1649
- exports.ListDeadLetterSourceQueues$ = ListDeadLetterSourceQueues$;
1650
503
  exports.ListDeadLetterSourceQueuesCommand = ListDeadLetterSourceQueuesCommand;
1651
- exports.ListDeadLetterSourceQueuesRequest$ = ListDeadLetterSourceQueuesRequest$;
1652
- exports.ListDeadLetterSourceQueuesResult$ = ListDeadLetterSourceQueuesResult$;
1653
- exports.ListMessageMoveTasks$ = ListMessageMoveTasks$;
1654
504
  exports.ListMessageMoveTasksCommand = ListMessageMoveTasksCommand;
1655
- exports.ListMessageMoveTasksRequest$ = ListMessageMoveTasksRequest$;
1656
- exports.ListMessageMoveTasksResult$ = ListMessageMoveTasksResult$;
1657
- exports.ListMessageMoveTasksResultEntry$ = ListMessageMoveTasksResultEntry$;
1658
- exports.ListQueueTags$ = ListQueueTags$;
1659
505
  exports.ListQueueTagsCommand = ListQueueTagsCommand;
1660
- exports.ListQueueTagsRequest$ = ListQueueTagsRequest$;
1661
- exports.ListQueueTagsResult$ = ListQueueTagsResult$;
1662
- exports.ListQueues$ = ListQueues$;
1663
506
  exports.ListQueuesCommand = ListQueuesCommand;
1664
- exports.ListQueuesRequest$ = ListQueuesRequest$;
1665
- exports.ListQueuesResult$ = ListQueuesResult$;
1666
- exports.Message$ = Message$;
1667
- exports.MessageAttributeValue$ = MessageAttributeValue$;
1668
- exports.MessageNotInflight = MessageNotInflight;
1669
- exports.MessageNotInflight$ = MessageNotInflight$;
1670
507
  exports.MessageSystemAttributeName = MessageSystemAttributeName;
1671
508
  exports.MessageSystemAttributeNameForSends = MessageSystemAttributeNameForSends;
1672
- exports.MessageSystemAttributeValue$ = MessageSystemAttributeValue$;
1673
- exports.OverLimit = OverLimit;
1674
- exports.OverLimit$ = OverLimit$;
1675
- exports.PurgeQueue$ = PurgeQueue$;
1676
509
  exports.PurgeQueueCommand = PurgeQueueCommand;
1677
- exports.PurgeQueueInProgress = PurgeQueueInProgress;
1678
- exports.PurgeQueueInProgress$ = PurgeQueueInProgress$;
1679
- exports.PurgeQueueRequest$ = PurgeQueueRequest$;
1680
510
  exports.QueueAttributeName = QueueAttributeName;
1681
- exports.QueueDeletedRecently = QueueDeletedRecently;
1682
- exports.QueueDeletedRecently$ = QueueDeletedRecently$;
1683
- exports.QueueDoesNotExist = QueueDoesNotExist;
1684
- exports.QueueDoesNotExist$ = QueueDoesNotExist$;
1685
- exports.QueueNameExists = QueueNameExists;
1686
- exports.QueueNameExists$ = QueueNameExists$;
1687
- exports.ReceiptHandleIsInvalid = ReceiptHandleIsInvalid;
1688
- exports.ReceiptHandleIsInvalid$ = ReceiptHandleIsInvalid$;
1689
- exports.ReceiveMessage$ = ReceiveMessage$;
1690
511
  exports.ReceiveMessageCommand = ReceiveMessageCommand;
1691
- exports.ReceiveMessageRequest$ = ReceiveMessageRequest$;
1692
- exports.ReceiveMessageResult$ = ReceiveMessageResult$;
1693
- exports.RemovePermission$ = RemovePermission$;
1694
512
  exports.RemovePermissionCommand = RemovePermissionCommand;
1695
- exports.RemovePermissionRequest$ = RemovePermissionRequest$;
1696
- exports.RequestThrottled = RequestThrottled;
1697
- exports.RequestThrottled$ = RequestThrottled$;
1698
- exports.ResourceNotFoundException = ResourceNotFoundException;
1699
- exports.ResourceNotFoundException$ = ResourceNotFoundException$;
1700
513
  exports.SQS = SQS;
1701
514
  exports.SQSClient = SQSClient;
1702
- exports.SQSServiceException = SQSServiceException;
1703
- exports.SQSServiceException$ = SQSServiceException$;
1704
- exports.SendMessage$ = SendMessage$;
1705
- exports.SendMessageBatch$ = SendMessageBatch$;
1706
515
  exports.SendMessageBatchCommand = SendMessageBatchCommand;
1707
- exports.SendMessageBatchRequest$ = SendMessageBatchRequest$;
1708
- exports.SendMessageBatchRequestEntry$ = SendMessageBatchRequestEntry$;
1709
- exports.SendMessageBatchResult$ = SendMessageBatchResult$;
1710
- exports.SendMessageBatchResultEntry$ = SendMessageBatchResultEntry$;
1711
516
  exports.SendMessageCommand = SendMessageCommand;
1712
- exports.SendMessageRequest$ = SendMessageRequest$;
1713
- exports.SendMessageResult$ = SendMessageResult$;
1714
- exports.SetQueueAttributes$ = SetQueueAttributes$;
1715
517
  exports.SetQueueAttributesCommand = SetQueueAttributesCommand;
1716
- exports.SetQueueAttributesRequest$ = SetQueueAttributesRequest$;
1717
- exports.StartMessageMoveTask$ = StartMessageMoveTask$;
1718
518
  exports.StartMessageMoveTaskCommand = StartMessageMoveTaskCommand;
1719
- exports.StartMessageMoveTaskRequest$ = StartMessageMoveTaskRequest$;
1720
- exports.StartMessageMoveTaskResult$ = StartMessageMoveTaskResult$;
1721
- exports.TagQueue$ = TagQueue$;
1722
519
  exports.TagQueueCommand = TagQueueCommand;
1723
- exports.TagQueueRequest$ = TagQueueRequest$;
1724
- exports.TooManyEntriesInBatchRequest = TooManyEntriesInBatchRequest;
1725
- exports.TooManyEntriesInBatchRequest$ = TooManyEntriesInBatchRequest$;
1726
- exports.UnsupportedOperation = UnsupportedOperation;
1727
- exports.UnsupportedOperation$ = UnsupportedOperation$;
1728
- exports.UntagQueue$ = UntagQueue$;
1729
520
  exports.UntagQueueCommand = UntagQueueCommand;
1730
- exports.UntagQueueRequest$ = UntagQueueRequest$;
1731
521
  exports.paginateListDeadLetterSourceQueues = paginateListDeadLetterSourceQueues;
1732
522
  exports.paginateListQueues = paginateListQueues;
523
+ Object.keys(schemas_0).forEach(function (k) {
524
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
525
+ enumerable: true,
526
+ get: function () { return schemas_0[k]; }
527
+ });
528
+ });
529
+ Object.keys(errors).forEach(function (k) {
530
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
531
+ enumerable: true,
532
+ get: function () { return errors[k]; }
533
+ });
534
+ });