@aws-sdk/client-dataexchange 3.504.0 → 3.509.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 +60 -893
- package/dist-es/protocols/Aws_restJson1.js +50 -883
- package/package.json +3 -3
|
@@ -403,7 +403,7 @@ export const se_UpdateRevisionCommand = async (input, context) => {
|
|
|
403
403
|
};
|
|
404
404
|
export const de_CancelJobCommand = async (output, context) => {
|
|
405
405
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
406
|
-
return
|
|
406
|
+
return de_CommandError(output, context);
|
|
407
407
|
}
|
|
408
408
|
const contents = map({
|
|
409
409
|
$metadata: deserializeMetadata(output),
|
|
@@ -411,40 +411,9 @@ export const de_CancelJobCommand = async (output, context) => {
|
|
|
411
411
|
await collectBody(output.body, context);
|
|
412
412
|
return contents;
|
|
413
413
|
};
|
|
414
|
-
const de_CancelJobCommandError = async (output, context) => {
|
|
415
|
-
const parsedOutput = {
|
|
416
|
-
...output,
|
|
417
|
-
body: await parseErrorBody(output.body, context),
|
|
418
|
-
};
|
|
419
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
420
|
-
switch (errorCode) {
|
|
421
|
-
case "ConflictException":
|
|
422
|
-
case "com.amazonaws.dataexchange#ConflictException":
|
|
423
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
424
|
-
case "InternalServerException":
|
|
425
|
-
case "com.amazonaws.dataexchange#InternalServerException":
|
|
426
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
427
|
-
case "ResourceNotFoundException":
|
|
428
|
-
case "com.amazonaws.dataexchange#ResourceNotFoundException":
|
|
429
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
430
|
-
case "ThrottlingException":
|
|
431
|
-
case "com.amazonaws.dataexchange#ThrottlingException":
|
|
432
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
433
|
-
case "ValidationException":
|
|
434
|
-
case "com.amazonaws.dataexchange#ValidationException":
|
|
435
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
436
|
-
default:
|
|
437
|
-
const parsedBody = parsedOutput.body;
|
|
438
|
-
return throwDefaultError({
|
|
439
|
-
output,
|
|
440
|
-
parsedBody,
|
|
441
|
-
errorCode,
|
|
442
|
-
});
|
|
443
|
-
}
|
|
444
|
-
};
|
|
445
414
|
export const de_CreateDataSetCommand = async (output, context) => {
|
|
446
415
|
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
447
|
-
return
|
|
416
|
+
return de_CommandError(output, context);
|
|
448
417
|
}
|
|
449
418
|
const contents = map({
|
|
450
419
|
$metadata: deserializeMetadata(output),
|
|
@@ -466,40 +435,9 @@ export const de_CreateDataSetCommand = async (output, context) => {
|
|
|
466
435
|
Object.assign(contents, doc);
|
|
467
436
|
return contents;
|
|
468
437
|
};
|
|
469
|
-
const de_CreateDataSetCommandError = async (output, context) => {
|
|
470
|
-
const parsedOutput = {
|
|
471
|
-
...output,
|
|
472
|
-
body: await parseErrorBody(output.body, context),
|
|
473
|
-
};
|
|
474
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
475
|
-
switch (errorCode) {
|
|
476
|
-
case "AccessDeniedException":
|
|
477
|
-
case "com.amazonaws.dataexchange#AccessDeniedException":
|
|
478
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
479
|
-
case "InternalServerException":
|
|
480
|
-
case "com.amazonaws.dataexchange#InternalServerException":
|
|
481
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
482
|
-
case "ServiceLimitExceededException":
|
|
483
|
-
case "com.amazonaws.dataexchange#ServiceLimitExceededException":
|
|
484
|
-
throw await de_ServiceLimitExceededExceptionRes(parsedOutput, context);
|
|
485
|
-
case "ThrottlingException":
|
|
486
|
-
case "com.amazonaws.dataexchange#ThrottlingException":
|
|
487
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
488
|
-
case "ValidationException":
|
|
489
|
-
case "com.amazonaws.dataexchange#ValidationException":
|
|
490
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
491
|
-
default:
|
|
492
|
-
const parsedBody = parsedOutput.body;
|
|
493
|
-
return throwDefaultError({
|
|
494
|
-
output,
|
|
495
|
-
parsedBody,
|
|
496
|
-
errorCode,
|
|
497
|
-
});
|
|
498
|
-
}
|
|
499
|
-
};
|
|
500
438
|
export const de_CreateEventActionCommand = async (output, context) => {
|
|
501
439
|
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
502
|
-
return
|
|
440
|
+
return de_CommandError(output, context);
|
|
503
441
|
}
|
|
504
442
|
const contents = map({
|
|
505
443
|
$metadata: deserializeMetadata(output),
|
|
@@ -516,40 +454,9 @@ export const de_CreateEventActionCommand = async (output, context) => {
|
|
|
516
454
|
Object.assign(contents, doc);
|
|
517
455
|
return contents;
|
|
518
456
|
};
|
|
519
|
-
const de_CreateEventActionCommandError = async (output, context) => {
|
|
520
|
-
const parsedOutput = {
|
|
521
|
-
...output,
|
|
522
|
-
body: await parseErrorBody(output.body, context),
|
|
523
|
-
};
|
|
524
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
525
|
-
switch (errorCode) {
|
|
526
|
-
case "AccessDeniedException":
|
|
527
|
-
case "com.amazonaws.dataexchange#AccessDeniedException":
|
|
528
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
529
|
-
case "InternalServerException":
|
|
530
|
-
case "com.amazonaws.dataexchange#InternalServerException":
|
|
531
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
532
|
-
case "ServiceLimitExceededException":
|
|
533
|
-
case "com.amazonaws.dataexchange#ServiceLimitExceededException":
|
|
534
|
-
throw await de_ServiceLimitExceededExceptionRes(parsedOutput, context);
|
|
535
|
-
case "ThrottlingException":
|
|
536
|
-
case "com.amazonaws.dataexchange#ThrottlingException":
|
|
537
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
538
|
-
case "ValidationException":
|
|
539
|
-
case "com.amazonaws.dataexchange#ValidationException":
|
|
540
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
541
|
-
default:
|
|
542
|
-
const parsedBody = parsedOutput.body;
|
|
543
|
-
return throwDefaultError({
|
|
544
|
-
output,
|
|
545
|
-
parsedBody,
|
|
546
|
-
errorCode,
|
|
547
|
-
});
|
|
548
|
-
}
|
|
549
|
-
};
|
|
550
457
|
export const de_CreateJobCommand = async (output, context) => {
|
|
551
458
|
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
552
|
-
return
|
|
459
|
+
return de_CommandError(output, context);
|
|
553
460
|
}
|
|
554
461
|
const contents = map({
|
|
555
462
|
$metadata: deserializeMetadata(output),
|
|
@@ -568,43 +475,9 @@ export const de_CreateJobCommand = async (output, context) => {
|
|
|
568
475
|
Object.assign(contents, doc);
|
|
569
476
|
return contents;
|
|
570
477
|
};
|
|
571
|
-
const de_CreateJobCommandError = async (output, context) => {
|
|
572
|
-
const parsedOutput = {
|
|
573
|
-
...output,
|
|
574
|
-
body: await parseErrorBody(output.body, context),
|
|
575
|
-
};
|
|
576
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
577
|
-
switch (errorCode) {
|
|
578
|
-
case "AccessDeniedException":
|
|
579
|
-
case "com.amazonaws.dataexchange#AccessDeniedException":
|
|
580
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
581
|
-
case "ConflictException":
|
|
582
|
-
case "com.amazonaws.dataexchange#ConflictException":
|
|
583
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
584
|
-
case "InternalServerException":
|
|
585
|
-
case "com.amazonaws.dataexchange#InternalServerException":
|
|
586
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
587
|
-
case "ResourceNotFoundException":
|
|
588
|
-
case "com.amazonaws.dataexchange#ResourceNotFoundException":
|
|
589
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
590
|
-
case "ThrottlingException":
|
|
591
|
-
case "com.amazonaws.dataexchange#ThrottlingException":
|
|
592
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
593
|
-
case "ValidationException":
|
|
594
|
-
case "com.amazonaws.dataexchange#ValidationException":
|
|
595
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
596
|
-
default:
|
|
597
|
-
const parsedBody = parsedOutput.body;
|
|
598
|
-
return throwDefaultError({
|
|
599
|
-
output,
|
|
600
|
-
parsedBody,
|
|
601
|
-
errorCode,
|
|
602
|
-
});
|
|
603
|
-
}
|
|
604
|
-
};
|
|
605
478
|
export const de_CreateRevisionCommand = async (output, context) => {
|
|
606
479
|
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
607
|
-
return
|
|
480
|
+
return de_CommandError(output, context);
|
|
608
481
|
}
|
|
609
482
|
const contents = map({
|
|
610
483
|
$metadata: deserializeMetadata(output),
|
|
@@ -627,40 +500,9 @@ export const de_CreateRevisionCommand = async (output, context) => {
|
|
|
627
500
|
Object.assign(contents, doc);
|
|
628
501
|
return contents;
|
|
629
502
|
};
|
|
630
|
-
const de_CreateRevisionCommandError = async (output, context) => {
|
|
631
|
-
const parsedOutput = {
|
|
632
|
-
...output,
|
|
633
|
-
body: await parseErrorBody(output.body, context),
|
|
634
|
-
};
|
|
635
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
636
|
-
switch (errorCode) {
|
|
637
|
-
case "AccessDeniedException":
|
|
638
|
-
case "com.amazonaws.dataexchange#AccessDeniedException":
|
|
639
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
640
|
-
case "InternalServerException":
|
|
641
|
-
case "com.amazonaws.dataexchange#InternalServerException":
|
|
642
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
643
|
-
case "ResourceNotFoundException":
|
|
644
|
-
case "com.amazonaws.dataexchange#ResourceNotFoundException":
|
|
645
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
646
|
-
case "ThrottlingException":
|
|
647
|
-
case "com.amazonaws.dataexchange#ThrottlingException":
|
|
648
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
649
|
-
case "ValidationException":
|
|
650
|
-
case "com.amazonaws.dataexchange#ValidationException":
|
|
651
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
652
|
-
default:
|
|
653
|
-
const parsedBody = parsedOutput.body;
|
|
654
|
-
return throwDefaultError({
|
|
655
|
-
output,
|
|
656
|
-
parsedBody,
|
|
657
|
-
errorCode,
|
|
658
|
-
});
|
|
659
|
-
}
|
|
660
|
-
};
|
|
661
503
|
export const de_DeleteAssetCommand = async (output, context) => {
|
|
662
504
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
663
|
-
return
|
|
505
|
+
return de_CommandError(output, context);
|
|
664
506
|
}
|
|
665
507
|
const contents = map({
|
|
666
508
|
$metadata: deserializeMetadata(output),
|
|
@@ -668,43 +510,9 @@ export const de_DeleteAssetCommand = async (output, context) => {
|
|
|
668
510
|
await collectBody(output.body, context);
|
|
669
511
|
return contents;
|
|
670
512
|
};
|
|
671
|
-
const de_DeleteAssetCommandError = async (output, context) => {
|
|
672
|
-
const parsedOutput = {
|
|
673
|
-
...output,
|
|
674
|
-
body: await parseErrorBody(output.body, context),
|
|
675
|
-
};
|
|
676
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
677
|
-
switch (errorCode) {
|
|
678
|
-
case "AccessDeniedException":
|
|
679
|
-
case "com.amazonaws.dataexchange#AccessDeniedException":
|
|
680
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
681
|
-
case "ConflictException":
|
|
682
|
-
case "com.amazonaws.dataexchange#ConflictException":
|
|
683
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
684
|
-
case "InternalServerException":
|
|
685
|
-
case "com.amazonaws.dataexchange#InternalServerException":
|
|
686
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
687
|
-
case "ResourceNotFoundException":
|
|
688
|
-
case "com.amazonaws.dataexchange#ResourceNotFoundException":
|
|
689
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
690
|
-
case "ThrottlingException":
|
|
691
|
-
case "com.amazonaws.dataexchange#ThrottlingException":
|
|
692
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
693
|
-
case "ValidationException":
|
|
694
|
-
case "com.amazonaws.dataexchange#ValidationException":
|
|
695
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
696
|
-
default:
|
|
697
|
-
const parsedBody = parsedOutput.body;
|
|
698
|
-
return throwDefaultError({
|
|
699
|
-
output,
|
|
700
|
-
parsedBody,
|
|
701
|
-
errorCode,
|
|
702
|
-
});
|
|
703
|
-
}
|
|
704
|
-
};
|
|
705
513
|
export const de_DeleteDataSetCommand = async (output, context) => {
|
|
706
514
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
707
|
-
return
|
|
515
|
+
return de_CommandError(output, context);
|
|
708
516
|
}
|
|
709
517
|
const contents = map({
|
|
710
518
|
$metadata: deserializeMetadata(output),
|
|
@@ -712,43 +520,9 @@ export const de_DeleteDataSetCommand = async (output, context) => {
|
|
|
712
520
|
await collectBody(output.body, context);
|
|
713
521
|
return contents;
|
|
714
522
|
};
|
|
715
|
-
const de_DeleteDataSetCommandError = async (output, context) => {
|
|
716
|
-
const parsedOutput = {
|
|
717
|
-
...output,
|
|
718
|
-
body: await parseErrorBody(output.body, context),
|
|
719
|
-
};
|
|
720
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
721
|
-
switch (errorCode) {
|
|
722
|
-
case "AccessDeniedException":
|
|
723
|
-
case "com.amazonaws.dataexchange#AccessDeniedException":
|
|
724
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
725
|
-
case "ConflictException":
|
|
726
|
-
case "com.amazonaws.dataexchange#ConflictException":
|
|
727
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
728
|
-
case "InternalServerException":
|
|
729
|
-
case "com.amazonaws.dataexchange#InternalServerException":
|
|
730
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
731
|
-
case "ResourceNotFoundException":
|
|
732
|
-
case "com.amazonaws.dataexchange#ResourceNotFoundException":
|
|
733
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
734
|
-
case "ThrottlingException":
|
|
735
|
-
case "com.amazonaws.dataexchange#ThrottlingException":
|
|
736
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
737
|
-
case "ValidationException":
|
|
738
|
-
case "com.amazonaws.dataexchange#ValidationException":
|
|
739
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
740
|
-
default:
|
|
741
|
-
const parsedBody = parsedOutput.body;
|
|
742
|
-
return throwDefaultError({
|
|
743
|
-
output,
|
|
744
|
-
parsedBody,
|
|
745
|
-
errorCode,
|
|
746
|
-
});
|
|
747
|
-
}
|
|
748
|
-
};
|
|
749
523
|
export const de_DeleteEventActionCommand = async (output, context) => {
|
|
750
524
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
751
|
-
return
|
|
525
|
+
return de_CommandError(output, context);
|
|
752
526
|
}
|
|
753
527
|
const contents = map({
|
|
754
528
|
$metadata: deserializeMetadata(output),
|
|
@@ -756,37 +530,9 @@ export const de_DeleteEventActionCommand = async (output, context) => {
|
|
|
756
530
|
await collectBody(output.body, context);
|
|
757
531
|
return contents;
|
|
758
532
|
};
|
|
759
|
-
const de_DeleteEventActionCommandError = async (output, context) => {
|
|
760
|
-
const parsedOutput = {
|
|
761
|
-
...output,
|
|
762
|
-
body: await parseErrorBody(output.body, context),
|
|
763
|
-
};
|
|
764
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
765
|
-
switch (errorCode) {
|
|
766
|
-
case "InternalServerException":
|
|
767
|
-
case "com.amazonaws.dataexchange#InternalServerException":
|
|
768
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
769
|
-
case "ResourceNotFoundException":
|
|
770
|
-
case "com.amazonaws.dataexchange#ResourceNotFoundException":
|
|
771
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
772
|
-
case "ThrottlingException":
|
|
773
|
-
case "com.amazonaws.dataexchange#ThrottlingException":
|
|
774
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
775
|
-
case "ValidationException":
|
|
776
|
-
case "com.amazonaws.dataexchange#ValidationException":
|
|
777
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
778
|
-
default:
|
|
779
|
-
const parsedBody = parsedOutput.body;
|
|
780
|
-
return throwDefaultError({
|
|
781
|
-
output,
|
|
782
|
-
parsedBody,
|
|
783
|
-
errorCode,
|
|
784
|
-
});
|
|
785
|
-
}
|
|
786
|
-
};
|
|
787
533
|
export const de_DeleteRevisionCommand = async (output, context) => {
|
|
788
534
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
789
|
-
return
|
|
535
|
+
return de_CommandError(output, context);
|
|
790
536
|
}
|
|
791
537
|
const contents = map({
|
|
792
538
|
$metadata: deserializeMetadata(output),
|
|
@@ -794,43 +540,9 @@ export const de_DeleteRevisionCommand = async (output, context) => {
|
|
|
794
540
|
await collectBody(output.body, context);
|
|
795
541
|
return contents;
|
|
796
542
|
};
|
|
797
|
-
const de_DeleteRevisionCommandError = async (output, context) => {
|
|
798
|
-
const parsedOutput = {
|
|
799
|
-
...output,
|
|
800
|
-
body: await parseErrorBody(output.body, context),
|
|
801
|
-
};
|
|
802
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
803
|
-
switch (errorCode) {
|
|
804
|
-
case "AccessDeniedException":
|
|
805
|
-
case "com.amazonaws.dataexchange#AccessDeniedException":
|
|
806
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
807
|
-
case "ConflictException":
|
|
808
|
-
case "com.amazonaws.dataexchange#ConflictException":
|
|
809
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
810
|
-
case "InternalServerException":
|
|
811
|
-
case "com.amazonaws.dataexchange#InternalServerException":
|
|
812
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
813
|
-
case "ResourceNotFoundException":
|
|
814
|
-
case "com.amazonaws.dataexchange#ResourceNotFoundException":
|
|
815
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
816
|
-
case "ThrottlingException":
|
|
817
|
-
case "com.amazonaws.dataexchange#ThrottlingException":
|
|
818
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
819
|
-
case "ValidationException":
|
|
820
|
-
case "com.amazonaws.dataexchange#ValidationException":
|
|
821
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
822
|
-
default:
|
|
823
|
-
const parsedBody = parsedOutput.body;
|
|
824
|
-
return throwDefaultError({
|
|
825
|
-
output,
|
|
826
|
-
parsedBody,
|
|
827
|
-
errorCode,
|
|
828
|
-
});
|
|
829
|
-
}
|
|
830
|
-
};
|
|
831
543
|
export const de_GetAssetCommand = async (output, context) => {
|
|
832
544
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
833
|
-
return
|
|
545
|
+
return de_CommandError(output, context);
|
|
834
546
|
}
|
|
835
547
|
const contents = map({
|
|
836
548
|
$metadata: deserializeMetadata(output),
|
|
@@ -841,47 +553,19 @@ export const de_GetAssetCommand = async (output, context) => {
|
|
|
841
553
|
AssetDetails: (_) => de_AssetDetails(_, context),
|
|
842
554
|
AssetType: __expectString,
|
|
843
555
|
CreatedAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
844
|
-
DataSetId: __expectString,
|
|
845
|
-
Id: __expectString,
|
|
846
|
-
Name: __expectString,
|
|
847
|
-
RevisionId: __expectString,
|
|
848
|
-
SourceId: __expectString,
|
|
849
|
-
UpdatedAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
850
|
-
});
|
|
851
|
-
Object.assign(contents, doc);
|
|
852
|
-
return contents;
|
|
853
|
-
};
|
|
854
|
-
const de_GetAssetCommandError = async (output, context) => {
|
|
855
|
-
const parsedOutput = {
|
|
856
|
-
...output,
|
|
857
|
-
body: await parseErrorBody(output.body, context),
|
|
858
|
-
};
|
|
859
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
860
|
-
switch (errorCode) {
|
|
861
|
-
case "InternalServerException":
|
|
862
|
-
case "com.amazonaws.dataexchange#InternalServerException":
|
|
863
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
864
|
-
case "ResourceNotFoundException":
|
|
865
|
-
case "com.amazonaws.dataexchange#ResourceNotFoundException":
|
|
866
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
867
|
-
case "ThrottlingException":
|
|
868
|
-
case "com.amazonaws.dataexchange#ThrottlingException":
|
|
869
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
870
|
-
case "ValidationException":
|
|
871
|
-
case "com.amazonaws.dataexchange#ValidationException":
|
|
872
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
873
|
-
default:
|
|
874
|
-
const parsedBody = parsedOutput.body;
|
|
875
|
-
return throwDefaultError({
|
|
876
|
-
output,
|
|
877
|
-
parsedBody,
|
|
878
|
-
errorCode,
|
|
879
|
-
});
|
|
880
|
-
}
|
|
556
|
+
DataSetId: __expectString,
|
|
557
|
+
Id: __expectString,
|
|
558
|
+
Name: __expectString,
|
|
559
|
+
RevisionId: __expectString,
|
|
560
|
+
SourceId: __expectString,
|
|
561
|
+
UpdatedAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
562
|
+
});
|
|
563
|
+
Object.assign(contents, doc);
|
|
564
|
+
return contents;
|
|
881
565
|
};
|
|
882
566
|
export const de_GetDataSetCommand = async (output, context) => {
|
|
883
567
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
884
|
-
return
|
|
568
|
+
return de_CommandError(output, context);
|
|
885
569
|
}
|
|
886
570
|
const contents = map({
|
|
887
571
|
$metadata: deserializeMetadata(output),
|
|
@@ -903,37 +587,9 @@ export const de_GetDataSetCommand = async (output, context) => {
|
|
|
903
587
|
Object.assign(contents, doc);
|
|
904
588
|
return contents;
|
|
905
589
|
};
|
|
906
|
-
const de_GetDataSetCommandError = async (output, context) => {
|
|
907
|
-
const parsedOutput = {
|
|
908
|
-
...output,
|
|
909
|
-
body: await parseErrorBody(output.body, context),
|
|
910
|
-
};
|
|
911
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
912
|
-
switch (errorCode) {
|
|
913
|
-
case "InternalServerException":
|
|
914
|
-
case "com.amazonaws.dataexchange#InternalServerException":
|
|
915
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
916
|
-
case "ResourceNotFoundException":
|
|
917
|
-
case "com.amazonaws.dataexchange#ResourceNotFoundException":
|
|
918
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
919
|
-
case "ThrottlingException":
|
|
920
|
-
case "com.amazonaws.dataexchange#ThrottlingException":
|
|
921
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
922
|
-
case "ValidationException":
|
|
923
|
-
case "com.amazonaws.dataexchange#ValidationException":
|
|
924
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
925
|
-
default:
|
|
926
|
-
const parsedBody = parsedOutput.body;
|
|
927
|
-
return throwDefaultError({
|
|
928
|
-
output,
|
|
929
|
-
parsedBody,
|
|
930
|
-
errorCode,
|
|
931
|
-
});
|
|
932
|
-
}
|
|
933
|
-
};
|
|
934
590
|
export const de_GetEventActionCommand = async (output, context) => {
|
|
935
591
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
936
|
-
return
|
|
592
|
+
return de_CommandError(output, context);
|
|
937
593
|
}
|
|
938
594
|
const contents = map({
|
|
939
595
|
$metadata: deserializeMetadata(output),
|
|
@@ -950,37 +606,9 @@ export const de_GetEventActionCommand = async (output, context) => {
|
|
|
950
606
|
Object.assign(contents, doc);
|
|
951
607
|
return contents;
|
|
952
608
|
};
|
|
953
|
-
const de_GetEventActionCommandError = async (output, context) => {
|
|
954
|
-
const parsedOutput = {
|
|
955
|
-
...output,
|
|
956
|
-
body: await parseErrorBody(output.body, context),
|
|
957
|
-
};
|
|
958
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
959
|
-
switch (errorCode) {
|
|
960
|
-
case "InternalServerException":
|
|
961
|
-
case "com.amazonaws.dataexchange#InternalServerException":
|
|
962
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
963
|
-
case "ResourceNotFoundException":
|
|
964
|
-
case "com.amazonaws.dataexchange#ResourceNotFoundException":
|
|
965
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
966
|
-
case "ThrottlingException":
|
|
967
|
-
case "com.amazonaws.dataexchange#ThrottlingException":
|
|
968
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
969
|
-
case "ValidationException":
|
|
970
|
-
case "com.amazonaws.dataexchange#ValidationException":
|
|
971
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
972
|
-
default:
|
|
973
|
-
const parsedBody = parsedOutput.body;
|
|
974
|
-
return throwDefaultError({
|
|
975
|
-
output,
|
|
976
|
-
parsedBody,
|
|
977
|
-
errorCode,
|
|
978
|
-
});
|
|
979
|
-
}
|
|
980
|
-
};
|
|
981
609
|
export const de_GetJobCommand = async (output, context) => {
|
|
982
610
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
983
|
-
return
|
|
611
|
+
return de_CommandError(output, context);
|
|
984
612
|
}
|
|
985
613
|
const contents = map({
|
|
986
614
|
$metadata: deserializeMetadata(output),
|
|
@@ -999,37 +627,9 @@ export const de_GetJobCommand = async (output, context) => {
|
|
|
999
627
|
Object.assign(contents, doc);
|
|
1000
628
|
return contents;
|
|
1001
629
|
};
|
|
1002
|
-
const de_GetJobCommandError = async (output, context) => {
|
|
1003
|
-
const parsedOutput = {
|
|
1004
|
-
...output,
|
|
1005
|
-
body: await parseErrorBody(output.body, context),
|
|
1006
|
-
};
|
|
1007
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1008
|
-
switch (errorCode) {
|
|
1009
|
-
case "InternalServerException":
|
|
1010
|
-
case "com.amazonaws.dataexchange#InternalServerException":
|
|
1011
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1012
|
-
case "ResourceNotFoundException":
|
|
1013
|
-
case "com.amazonaws.dataexchange#ResourceNotFoundException":
|
|
1014
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1015
|
-
case "ThrottlingException":
|
|
1016
|
-
case "com.amazonaws.dataexchange#ThrottlingException":
|
|
1017
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1018
|
-
case "ValidationException":
|
|
1019
|
-
case "com.amazonaws.dataexchange#ValidationException":
|
|
1020
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1021
|
-
default:
|
|
1022
|
-
const parsedBody = parsedOutput.body;
|
|
1023
|
-
return throwDefaultError({
|
|
1024
|
-
output,
|
|
1025
|
-
parsedBody,
|
|
1026
|
-
errorCode,
|
|
1027
|
-
});
|
|
1028
|
-
}
|
|
1029
|
-
};
|
|
1030
630
|
export const de_GetRevisionCommand = async (output, context) => {
|
|
1031
631
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1032
|
-
return
|
|
632
|
+
return de_CommandError(output, context);
|
|
1033
633
|
}
|
|
1034
634
|
const contents = map({
|
|
1035
635
|
$metadata: deserializeMetadata(output),
|
|
@@ -1052,37 +652,9 @@ export const de_GetRevisionCommand = async (output, context) => {
|
|
|
1052
652
|
Object.assign(contents, doc);
|
|
1053
653
|
return contents;
|
|
1054
654
|
};
|
|
1055
|
-
const de_GetRevisionCommandError = async (output, context) => {
|
|
1056
|
-
const parsedOutput = {
|
|
1057
|
-
...output,
|
|
1058
|
-
body: await parseErrorBody(output.body, context),
|
|
1059
|
-
};
|
|
1060
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1061
|
-
switch (errorCode) {
|
|
1062
|
-
case "InternalServerException":
|
|
1063
|
-
case "com.amazonaws.dataexchange#InternalServerException":
|
|
1064
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1065
|
-
case "ResourceNotFoundException":
|
|
1066
|
-
case "com.amazonaws.dataexchange#ResourceNotFoundException":
|
|
1067
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1068
|
-
case "ThrottlingException":
|
|
1069
|
-
case "com.amazonaws.dataexchange#ThrottlingException":
|
|
1070
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1071
|
-
case "ValidationException":
|
|
1072
|
-
case "com.amazonaws.dataexchange#ValidationException":
|
|
1073
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1074
|
-
default:
|
|
1075
|
-
const parsedBody = parsedOutput.body;
|
|
1076
|
-
return throwDefaultError({
|
|
1077
|
-
output,
|
|
1078
|
-
parsedBody,
|
|
1079
|
-
errorCode,
|
|
1080
|
-
});
|
|
1081
|
-
}
|
|
1082
|
-
};
|
|
1083
655
|
export const de_ListDataSetRevisionsCommand = async (output, context) => {
|
|
1084
656
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1085
|
-
return
|
|
657
|
+
return de_CommandError(output, context);
|
|
1086
658
|
}
|
|
1087
659
|
const contents = map({
|
|
1088
660
|
$metadata: deserializeMetadata(output),
|
|
@@ -1095,37 +667,9 @@ export const de_ListDataSetRevisionsCommand = async (output, context) => {
|
|
|
1095
667
|
Object.assign(contents, doc);
|
|
1096
668
|
return contents;
|
|
1097
669
|
};
|
|
1098
|
-
const de_ListDataSetRevisionsCommandError = async (output, context) => {
|
|
1099
|
-
const parsedOutput = {
|
|
1100
|
-
...output,
|
|
1101
|
-
body: await parseErrorBody(output.body, context),
|
|
1102
|
-
};
|
|
1103
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1104
|
-
switch (errorCode) {
|
|
1105
|
-
case "InternalServerException":
|
|
1106
|
-
case "com.amazonaws.dataexchange#InternalServerException":
|
|
1107
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1108
|
-
case "ResourceNotFoundException":
|
|
1109
|
-
case "com.amazonaws.dataexchange#ResourceNotFoundException":
|
|
1110
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1111
|
-
case "ThrottlingException":
|
|
1112
|
-
case "com.amazonaws.dataexchange#ThrottlingException":
|
|
1113
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1114
|
-
case "ValidationException":
|
|
1115
|
-
case "com.amazonaws.dataexchange#ValidationException":
|
|
1116
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1117
|
-
default:
|
|
1118
|
-
const parsedBody = parsedOutput.body;
|
|
1119
|
-
return throwDefaultError({
|
|
1120
|
-
output,
|
|
1121
|
-
parsedBody,
|
|
1122
|
-
errorCode,
|
|
1123
|
-
});
|
|
1124
|
-
}
|
|
1125
|
-
};
|
|
1126
670
|
export const de_ListDataSetsCommand = async (output, context) => {
|
|
1127
671
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1128
|
-
return
|
|
672
|
+
return de_CommandError(output, context);
|
|
1129
673
|
}
|
|
1130
674
|
const contents = map({
|
|
1131
675
|
$metadata: deserializeMetadata(output),
|
|
@@ -1138,37 +682,9 @@ export const de_ListDataSetsCommand = async (output, context) => {
|
|
|
1138
682
|
Object.assign(contents, doc);
|
|
1139
683
|
return contents;
|
|
1140
684
|
};
|
|
1141
|
-
const de_ListDataSetsCommandError = async (output, context) => {
|
|
1142
|
-
const parsedOutput = {
|
|
1143
|
-
...output,
|
|
1144
|
-
body: await parseErrorBody(output.body, context),
|
|
1145
|
-
};
|
|
1146
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1147
|
-
switch (errorCode) {
|
|
1148
|
-
case "InternalServerException":
|
|
1149
|
-
case "com.amazonaws.dataexchange#InternalServerException":
|
|
1150
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1151
|
-
case "ResourceNotFoundException":
|
|
1152
|
-
case "com.amazonaws.dataexchange#ResourceNotFoundException":
|
|
1153
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1154
|
-
case "ThrottlingException":
|
|
1155
|
-
case "com.amazonaws.dataexchange#ThrottlingException":
|
|
1156
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1157
|
-
case "ValidationException":
|
|
1158
|
-
case "com.amazonaws.dataexchange#ValidationException":
|
|
1159
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1160
|
-
default:
|
|
1161
|
-
const parsedBody = parsedOutput.body;
|
|
1162
|
-
return throwDefaultError({
|
|
1163
|
-
output,
|
|
1164
|
-
parsedBody,
|
|
1165
|
-
errorCode,
|
|
1166
|
-
});
|
|
1167
|
-
}
|
|
1168
|
-
};
|
|
1169
685
|
export const de_ListEventActionsCommand = async (output, context) => {
|
|
1170
686
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1171
|
-
return
|
|
687
|
+
return de_CommandError(output, context);
|
|
1172
688
|
}
|
|
1173
689
|
const contents = map({
|
|
1174
690
|
$metadata: deserializeMetadata(output),
|
|
@@ -1181,37 +697,9 @@ export const de_ListEventActionsCommand = async (output, context) => {
|
|
|
1181
697
|
Object.assign(contents, doc);
|
|
1182
698
|
return contents;
|
|
1183
699
|
};
|
|
1184
|
-
const de_ListEventActionsCommandError = async (output, context) => {
|
|
1185
|
-
const parsedOutput = {
|
|
1186
|
-
...output,
|
|
1187
|
-
body: await parseErrorBody(output.body, context),
|
|
1188
|
-
};
|
|
1189
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1190
|
-
switch (errorCode) {
|
|
1191
|
-
case "InternalServerException":
|
|
1192
|
-
case "com.amazonaws.dataexchange#InternalServerException":
|
|
1193
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1194
|
-
case "ResourceNotFoundException":
|
|
1195
|
-
case "com.amazonaws.dataexchange#ResourceNotFoundException":
|
|
1196
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1197
|
-
case "ThrottlingException":
|
|
1198
|
-
case "com.amazonaws.dataexchange#ThrottlingException":
|
|
1199
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1200
|
-
case "ValidationException":
|
|
1201
|
-
case "com.amazonaws.dataexchange#ValidationException":
|
|
1202
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1203
|
-
default:
|
|
1204
|
-
const parsedBody = parsedOutput.body;
|
|
1205
|
-
return throwDefaultError({
|
|
1206
|
-
output,
|
|
1207
|
-
parsedBody,
|
|
1208
|
-
errorCode,
|
|
1209
|
-
});
|
|
1210
|
-
}
|
|
1211
|
-
};
|
|
1212
700
|
export const de_ListJobsCommand = async (output, context) => {
|
|
1213
701
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1214
|
-
return
|
|
702
|
+
return de_CommandError(output, context);
|
|
1215
703
|
}
|
|
1216
704
|
const contents = map({
|
|
1217
705
|
$metadata: deserializeMetadata(output),
|
|
@@ -1224,37 +712,9 @@ export const de_ListJobsCommand = async (output, context) => {
|
|
|
1224
712
|
Object.assign(contents, doc);
|
|
1225
713
|
return contents;
|
|
1226
714
|
};
|
|
1227
|
-
const de_ListJobsCommandError = async (output, context) => {
|
|
1228
|
-
const parsedOutput = {
|
|
1229
|
-
...output,
|
|
1230
|
-
body: await parseErrorBody(output.body, context),
|
|
1231
|
-
};
|
|
1232
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1233
|
-
switch (errorCode) {
|
|
1234
|
-
case "InternalServerException":
|
|
1235
|
-
case "com.amazonaws.dataexchange#InternalServerException":
|
|
1236
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1237
|
-
case "ResourceNotFoundException":
|
|
1238
|
-
case "com.amazonaws.dataexchange#ResourceNotFoundException":
|
|
1239
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1240
|
-
case "ThrottlingException":
|
|
1241
|
-
case "com.amazonaws.dataexchange#ThrottlingException":
|
|
1242
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1243
|
-
case "ValidationException":
|
|
1244
|
-
case "com.amazonaws.dataexchange#ValidationException":
|
|
1245
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1246
|
-
default:
|
|
1247
|
-
const parsedBody = parsedOutput.body;
|
|
1248
|
-
return throwDefaultError({
|
|
1249
|
-
output,
|
|
1250
|
-
parsedBody,
|
|
1251
|
-
errorCode,
|
|
1252
|
-
});
|
|
1253
|
-
}
|
|
1254
|
-
};
|
|
1255
715
|
export const de_ListRevisionAssetsCommand = async (output, context) => {
|
|
1256
716
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1257
|
-
return
|
|
717
|
+
return de_CommandError(output, context);
|
|
1258
718
|
}
|
|
1259
719
|
const contents = map({
|
|
1260
720
|
$metadata: deserializeMetadata(output),
|
|
@@ -1262,42 +722,14 @@ export const de_ListRevisionAssetsCommand = async (output, context) => {
|
|
|
1262
722
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1263
723
|
const doc = take(data, {
|
|
1264
724
|
Assets: (_) => de_ListOfAssetEntry(_, context),
|
|
1265
|
-
NextToken: __expectString,
|
|
1266
|
-
});
|
|
1267
|
-
Object.assign(contents, doc);
|
|
1268
|
-
return contents;
|
|
1269
|
-
};
|
|
1270
|
-
const de_ListRevisionAssetsCommandError = async (output, context) => {
|
|
1271
|
-
const parsedOutput = {
|
|
1272
|
-
...output,
|
|
1273
|
-
body: await parseErrorBody(output.body, context),
|
|
1274
|
-
};
|
|
1275
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1276
|
-
switch (errorCode) {
|
|
1277
|
-
case "InternalServerException":
|
|
1278
|
-
case "com.amazonaws.dataexchange#InternalServerException":
|
|
1279
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1280
|
-
case "ResourceNotFoundException":
|
|
1281
|
-
case "com.amazonaws.dataexchange#ResourceNotFoundException":
|
|
1282
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1283
|
-
case "ThrottlingException":
|
|
1284
|
-
case "com.amazonaws.dataexchange#ThrottlingException":
|
|
1285
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1286
|
-
case "ValidationException":
|
|
1287
|
-
case "com.amazonaws.dataexchange#ValidationException":
|
|
1288
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1289
|
-
default:
|
|
1290
|
-
const parsedBody = parsedOutput.body;
|
|
1291
|
-
return throwDefaultError({
|
|
1292
|
-
output,
|
|
1293
|
-
parsedBody,
|
|
1294
|
-
errorCode,
|
|
1295
|
-
});
|
|
1296
|
-
}
|
|
725
|
+
NextToken: __expectString,
|
|
726
|
+
});
|
|
727
|
+
Object.assign(contents, doc);
|
|
728
|
+
return contents;
|
|
1297
729
|
};
|
|
1298
730
|
export const de_ListTagsForResourceCommand = async (output, context) => {
|
|
1299
731
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1300
|
-
return
|
|
732
|
+
return de_CommandError(output, context);
|
|
1301
733
|
}
|
|
1302
734
|
const contents = map({
|
|
1303
735
|
$metadata: deserializeMetadata(output),
|
|
@@ -1309,22 +741,9 @@ export const de_ListTagsForResourceCommand = async (output, context) => {
|
|
|
1309
741
|
Object.assign(contents, doc);
|
|
1310
742
|
return contents;
|
|
1311
743
|
};
|
|
1312
|
-
const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
1313
|
-
const parsedOutput = {
|
|
1314
|
-
...output,
|
|
1315
|
-
body: await parseErrorBody(output.body, context),
|
|
1316
|
-
};
|
|
1317
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1318
|
-
const parsedBody = parsedOutput.body;
|
|
1319
|
-
return throwDefaultError({
|
|
1320
|
-
output,
|
|
1321
|
-
parsedBody,
|
|
1322
|
-
errorCode,
|
|
1323
|
-
});
|
|
1324
|
-
};
|
|
1325
744
|
export const de_RevokeRevisionCommand = async (output, context) => {
|
|
1326
745
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1327
|
-
return
|
|
746
|
+
return de_CommandError(output, context);
|
|
1328
747
|
}
|
|
1329
748
|
const contents = map({
|
|
1330
749
|
$metadata: deserializeMetadata(output),
|
|
@@ -1346,43 +765,9 @@ export const de_RevokeRevisionCommand = async (output, context) => {
|
|
|
1346
765
|
Object.assign(contents, doc);
|
|
1347
766
|
return contents;
|
|
1348
767
|
};
|
|
1349
|
-
const de_RevokeRevisionCommandError = async (output, context) => {
|
|
1350
|
-
const parsedOutput = {
|
|
1351
|
-
...output,
|
|
1352
|
-
body: await parseErrorBody(output.body, context),
|
|
1353
|
-
};
|
|
1354
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1355
|
-
switch (errorCode) {
|
|
1356
|
-
case "AccessDeniedException":
|
|
1357
|
-
case "com.amazonaws.dataexchange#AccessDeniedException":
|
|
1358
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1359
|
-
case "ConflictException":
|
|
1360
|
-
case "com.amazonaws.dataexchange#ConflictException":
|
|
1361
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1362
|
-
case "InternalServerException":
|
|
1363
|
-
case "com.amazonaws.dataexchange#InternalServerException":
|
|
1364
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1365
|
-
case "ResourceNotFoundException":
|
|
1366
|
-
case "com.amazonaws.dataexchange#ResourceNotFoundException":
|
|
1367
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1368
|
-
case "ThrottlingException":
|
|
1369
|
-
case "com.amazonaws.dataexchange#ThrottlingException":
|
|
1370
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1371
|
-
case "ValidationException":
|
|
1372
|
-
case "com.amazonaws.dataexchange#ValidationException":
|
|
1373
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1374
|
-
default:
|
|
1375
|
-
const parsedBody = parsedOutput.body;
|
|
1376
|
-
return throwDefaultError({
|
|
1377
|
-
output,
|
|
1378
|
-
parsedBody,
|
|
1379
|
-
errorCode,
|
|
1380
|
-
});
|
|
1381
|
-
}
|
|
1382
|
-
};
|
|
1383
768
|
export const de_SendApiAssetCommand = async (output, context) => {
|
|
1384
769
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1385
|
-
return
|
|
770
|
+
return de_CommandError(output, context);
|
|
1386
771
|
}
|
|
1387
772
|
const contents = map({
|
|
1388
773
|
$metadata: deserializeMetadata(output),
|
|
@@ -1400,40 +785,9 @@ export const de_SendApiAssetCommand = async (output, context) => {
|
|
|
1400
785
|
contents.Body = __expectString(data);
|
|
1401
786
|
return contents;
|
|
1402
787
|
};
|
|
1403
|
-
const de_SendApiAssetCommandError = async (output, context) => {
|
|
1404
|
-
const parsedOutput = {
|
|
1405
|
-
...output,
|
|
1406
|
-
body: await parseErrorBody(output.body, context),
|
|
1407
|
-
};
|
|
1408
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1409
|
-
switch (errorCode) {
|
|
1410
|
-
case "AccessDeniedException":
|
|
1411
|
-
case "com.amazonaws.dataexchange#AccessDeniedException":
|
|
1412
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1413
|
-
case "InternalServerException":
|
|
1414
|
-
case "com.amazonaws.dataexchange#InternalServerException":
|
|
1415
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1416
|
-
case "ResourceNotFoundException":
|
|
1417
|
-
case "com.amazonaws.dataexchange#ResourceNotFoundException":
|
|
1418
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1419
|
-
case "ThrottlingException":
|
|
1420
|
-
case "com.amazonaws.dataexchange#ThrottlingException":
|
|
1421
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1422
|
-
case "ValidationException":
|
|
1423
|
-
case "com.amazonaws.dataexchange#ValidationException":
|
|
1424
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1425
|
-
default:
|
|
1426
|
-
const parsedBody = parsedOutput.body;
|
|
1427
|
-
return throwDefaultError({
|
|
1428
|
-
output,
|
|
1429
|
-
parsedBody,
|
|
1430
|
-
errorCode,
|
|
1431
|
-
});
|
|
1432
|
-
}
|
|
1433
|
-
};
|
|
1434
788
|
export const de_SendDataSetNotificationCommand = async (output, context) => {
|
|
1435
789
|
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
1436
|
-
return
|
|
790
|
+
return de_CommandError(output, context);
|
|
1437
791
|
}
|
|
1438
792
|
const contents = map({
|
|
1439
793
|
$metadata: deserializeMetadata(output),
|
|
@@ -1441,43 +795,9 @@ export const de_SendDataSetNotificationCommand = async (output, context) => {
|
|
|
1441
795
|
await collectBody(output.body, context);
|
|
1442
796
|
return contents;
|
|
1443
797
|
};
|
|
1444
|
-
const de_SendDataSetNotificationCommandError = async (output, context) => {
|
|
1445
|
-
const parsedOutput = {
|
|
1446
|
-
...output,
|
|
1447
|
-
body: await parseErrorBody(output.body, context),
|
|
1448
|
-
};
|
|
1449
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1450
|
-
switch (errorCode) {
|
|
1451
|
-
case "AccessDeniedException":
|
|
1452
|
-
case "com.amazonaws.dataexchange#AccessDeniedException":
|
|
1453
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1454
|
-
case "ConflictException":
|
|
1455
|
-
case "com.amazonaws.dataexchange#ConflictException":
|
|
1456
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1457
|
-
case "InternalServerException":
|
|
1458
|
-
case "com.amazonaws.dataexchange#InternalServerException":
|
|
1459
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1460
|
-
case "ResourceNotFoundException":
|
|
1461
|
-
case "com.amazonaws.dataexchange#ResourceNotFoundException":
|
|
1462
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1463
|
-
case "ThrottlingException":
|
|
1464
|
-
case "com.amazonaws.dataexchange#ThrottlingException":
|
|
1465
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1466
|
-
case "ValidationException":
|
|
1467
|
-
case "com.amazonaws.dataexchange#ValidationException":
|
|
1468
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1469
|
-
default:
|
|
1470
|
-
const parsedBody = parsedOutput.body;
|
|
1471
|
-
return throwDefaultError({
|
|
1472
|
-
output,
|
|
1473
|
-
parsedBody,
|
|
1474
|
-
errorCode,
|
|
1475
|
-
});
|
|
1476
|
-
}
|
|
1477
|
-
};
|
|
1478
798
|
export const de_StartJobCommand = async (output, context) => {
|
|
1479
799
|
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
1480
|
-
return
|
|
800
|
+
return de_CommandError(output, context);
|
|
1481
801
|
}
|
|
1482
802
|
const contents = map({
|
|
1483
803
|
$metadata: deserializeMetadata(output),
|
|
@@ -1485,43 +805,9 @@ export const de_StartJobCommand = async (output, context) => {
|
|
|
1485
805
|
await collectBody(output.body, context);
|
|
1486
806
|
return contents;
|
|
1487
807
|
};
|
|
1488
|
-
const de_StartJobCommandError = async (output, context) => {
|
|
1489
|
-
const parsedOutput = {
|
|
1490
|
-
...output,
|
|
1491
|
-
body: await parseErrorBody(output.body, context),
|
|
1492
|
-
};
|
|
1493
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1494
|
-
switch (errorCode) {
|
|
1495
|
-
case "AccessDeniedException":
|
|
1496
|
-
case "com.amazonaws.dataexchange#AccessDeniedException":
|
|
1497
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1498
|
-
case "ConflictException":
|
|
1499
|
-
case "com.amazonaws.dataexchange#ConflictException":
|
|
1500
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1501
|
-
case "InternalServerException":
|
|
1502
|
-
case "com.amazonaws.dataexchange#InternalServerException":
|
|
1503
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1504
|
-
case "ResourceNotFoundException":
|
|
1505
|
-
case "com.amazonaws.dataexchange#ResourceNotFoundException":
|
|
1506
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1507
|
-
case "ThrottlingException":
|
|
1508
|
-
case "com.amazonaws.dataexchange#ThrottlingException":
|
|
1509
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1510
|
-
case "ValidationException":
|
|
1511
|
-
case "com.amazonaws.dataexchange#ValidationException":
|
|
1512
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1513
|
-
default:
|
|
1514
|
-
const parsedBody = parsedOutput.body;
|
|
1515
|
-
return throwDefaultError({
|
|
1516
|
-
output,
|
|
1517
|
-
parsedBody,
|
|
1518
|
-
errorCode,
|
|
1519
|
-
});
|
|
1520
|
-
}
|
|
1521
|
-
};
|
|
1522
808
|
export const de_TagResourceCommand = async (output, context) => {
|
|
1523
809
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1524
|
-
return
|
|
810
|
+
return de_CommandError(output, context);
|
|
1525
811
|
}
|
|
1526
812
|
const contents = map({
|
|
1527
813
|
$metadata: deserializeMetadata(output),
|
|
@@ -1529,22 +815,9 @@ export const de_TagResourceCommand = async (output, context) => {
|
|
|
1529
815
|
await collectBody(output.body, context);
|
|
1530
816
|
return contents;
|
|
1531
817
|
};
|
|
1532
|
-
const de_TagResourceCommandError = async (output, context) => {
|
|
1533
|
-
const parsedOutput = {
|
|
1534
|
-
...output,
|
|
1535
|
-
body: await parseErrorBody(output.body, context),
|
|
1536
|
-
};
|
|
1537
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1538
|
-
const parsedBody = parsedOutput.body;
|
|
1539
|
-
return throwDefaultError({
|
|
1540
|
-
output,
|
|
1541
|
-
parsedBody,
|
|
1542
|
-
errorCode,
|
|
1543
|
-
});
|
|
1544
|
-
};
|
|
1545
818
|
export const de_UntagResourceCommand = async (output, context) => {
|
|
1546
819
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1547
|
-
return
|
|
820
|
+
return de_CommandError(output, context);
|
|
1548
821
|
}
|
|
1549
822
|
const contents = map({
|
|
1550
823
|
$metadata: deserializeMetadata(output),
|
|
@@ -1552,22 +825,9 @@ export const de_UntagResourceCommand = async (output, context) => {
|
|
|
1552
825
|
await collectBody(output.body, context);
|
|
1553
826
|
return contents;
|
|
1554
827
|
};
|
|
1555
|
-
const de_UntagResourceCommandError = async (output, context) => {
|
|
1556
|
-
const parsedOutput = {
|
|
1557
|
-
...output,
|
|
1558
|
-
body: await parseErrorBody(output.body, context),
|
|
1559
|
-
};
|
|
1560
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1561
|
-
const parsedBody = parsedOutput.body;
|
|
1562
|
-
return throwDefaultError({
|
|
1563
|
-
output,
|
|
1564
|
-
parsedBody,
|
|
1565
|
-
errorCode,
|
|
1566
|
-
});
|
|
1567
|
-
};
|
|
1568
828
|
export const de_UpdateAssetCommand = async (output, context) => {
|
|
1569
829
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1570
|
-
return
|
|
830
|
+
return de_CommandError(output, context);
|
|
1571
831
|
}
|
|
1572
832
|
const contents = map({
|
|
1573
833
|
$metadata: deserializeMetadata(output),
|
|
@@ -1588,43 +848,9 @@ export const de_UpdateAssetCommand = async (output, context) => {
|
|
|
1588
848
|
Object.assign(contents, doc);
|
|
1589
849
|
return contents;
|
|
1590
850
|
};
|
|
1591
|
-
const de_UpdateAssetCommandError = async (output, context) => {
|
|
1592
|
-
const parsedOutput = {
|
|
1593
|
-
...output,
|
|
1594
|
-
body: await parseErrorBody(output.body, context),
|
|
1595
|
-
};
|
|
1596
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1597
|
-
switch (errorCode) {
|
|
1598
|
-
case "AccessDeniedException":
|
|
1599
|
-
case "com.amazonaws.dataexchange#AccessDeniedException":
|
|
1600
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1601
|
-
case "ConflictException":
|
|
1602
|
-
case "com.amazonaws.dataexchange#ConflictException":
|
|
1603
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1604
|
-
case "InternalServerException":
|
|
1605
|
-
case "com.amazonaws.dataexchange#InternalServerException":
|
|
1606
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1607
|
-
case "ResourceNotFoundException":
|
|
1608
|
-
case "com.amazonaws.dataexchange#ResourceNotFoundException":
|
|
1609
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1610
|
-
case "ThrottlingException":
|
|
1611
|
-
case "com.amazonaws.dataexchange#ThrottlingException":
|
|
1612
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1613
|
-
case "ValidationException":
|
|
1614
|
-
case "com.amazonaws.dataexchange#ValidationException":
|
|
1615
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1616
|
-
default:
|
|
1617
|
-
const parsedBody = parsedOutput.body;
|
|
1618
|
-
return throwDefaultError({
|
|
1619
|
-
output,
|
|
1620
|
-
parsedBody,
|
|
1621
|
-
errorCode,
|
|
1622
|
-
});
|
|
1623
|
-
}
|
|
1624
|
-
};
|
|
1625
851
|
export const de_UpdateDataSetCommand = async (output, context) => {
|
|
1626
852
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1627
|
-
return
|
|
853
|
+
return de_CommandError(output, context);
|
|
1628
854
|
}
|
|
1629
855
|
const contents = map({
|
|
1630
856
|
$metadata: deserializeMetadata(output),
|
|
@@ -1645,40 +871,9 @@ export const de_UpdateDataSetCommand = async (output, context) => {
|
|
|
1645
871
|
Object.assign(contents, doc);
|
|
1646
872
|
return contents;
|
|
1647
873
|
};
|
|
1648
|
-
const de_UpdateDataSetCommandError = async (output, context) => {
|
|
1649
|
-
const parsedOutput = {
|
|
1650
|
-
...output,
|
|
1651
|
-
body: await parseErrorBody(output.body, context),
|
|
1652
|
-
};
|
|
1653
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1654
|
-
switch (errorCode) {
|
|
1655
|
-
case "AccessDeniedException":
|
|
1656
|
-
case "com.amazonaws.dataexchange#AccessDeniedException":
|
|
1657
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1658
|
-
case "InternalServerException":
|
|
1659
|
-
case "com.amazonaws.dataexchange#InternalServerException":
|
|
1660
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1661
|
-
case "ResourceNotFoundException":
|
|
1662
|
-
case "com.amazonaws.dataexchange#ResourceNotFoundException":
|
|
1663
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1664
|
-
case "ThrottlingException":
|
|
1665
|
-
case "com.amazonaws.dataexchange#ThrottlingException":
|
|
1666
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1667
|
-
case "ValidationException":
|
|
1668
|
-
case "com.amazonaws.dataexchange#ValidationException":
|
|
1669
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1670
|
-
default:
|
|
1671
|
-
const parsedBody = parsedOutput.body;
|
|
1672
|
-
return throwDefaultError({
|
|
1673
|
-
output,
|
|
1674
|
-
parsedBody,
|
|
1675
|
-
errorCode,
|
|
1676
|
-
});
|
|
1677
|
-
}
|
|
1678
|
-
};
|
|
1679
874
|
export const de_UpdateEventActionCommand = async (output, context) => {
|
|
1680
875
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1681
|
-
return
|
|
876
|
+
return de_CommandError(output, context);
|
|
1682
877
|
}
|
|
1683
878
|
const contents = map({
|
|
1684
879
|
$metadata: deserializeMetadata(output),
|
|
@@ -1695,40 +890,9 @@ export const de_UpdateEventActionCommand = async (output, context) => {
|
|
|
1695
890
|
Object.assign(contents, doc);
|
|
1696
891
|
return contents;
|
|
1697
892
|
};
|
|
1698
|
-
const de_UpdateEventActionCommandError = async (output, context) => {
|
|
1699
|
-
const parsedOutput = {
|
|
1700
|
-
...output,
|
|
1701
|
-
body: await parseErrorBody(output.body, context),
|
|
1702
|
-
};
|
|
1703
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1704
|
-
switch (errorCode) {
|
|
1705
|
-
case "AccessDeniedException":
|
|
1706
|
-
case "com.amazonaws.dataexchange#AccessDeniedException":
|
|
1707
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1708
|
-
case "InternalServerException":
|
|
1709
|
-
case "com.amazonaws.dataexchange#InternalServerException":
|
|
1710
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1711
|
-
case "ResourceNotFoundException":
|
|
1712
|
-
case "com.amazonaws.dataexchange#ResourceNotFoundException":
|
|
1713
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1714
|
-
case "ThrottlingException":
|
|
1715
|
-
case "com.amazonaws.dataexchange#ThrottlingException":
|
|
1716
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1717
|
-
case "ValidationException":
|
|
1718
|
-
case "com.amazonaws.dataexchange#ValidationException":
|
|
1719
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1720
|
-
default:
|
|
1721
|
-
const parsedBody = parsedOutput.body;
|
|
1722
|
-
return throwDefaultError({
|
|
1723
|
-
output,
|
|
1724
|
-
parsedBody,
|
|
1725
|
-
errorCode,
|
|
1726
|
-
});
|
|
1727
|
-
}
|
|
1728
|
-
};
|
|
1729
893
|
export const de_UpdateRevisionCommand = async (output, context) => {
|
|
1730
894
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1731
|
-
return
|
|
895
|
+
return de_CommandError(output, context);
|
|
1732
896
|
}
|
|
1733
897
|
const contents = map({
|
|
1734
898
|
$metadata: deserializeMetadata(output),
|
|
@@ -1750,16 +914,13 @@ export const de_UpdateRevisionCommand = async (output, context) => {
|
|
|
1750
914
|
Object.assign(contents, doc);
|
|
1751
915
|
return contents;
|
|
1752
916
|
};
|
|
1753
|
-
const
|
|
917
|
+
const de_CommandError = async (output, context) => {
|
|
1754
918
|
const parsedOutput = {
|
|
1755
919
|
...output,
|
|
1756
920
|
body: await parseErrorBody(output.body, context),
|
|
1757
921
|
};
|
|
1758
922
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1759
923
|
switch (errorCode) {
|
|
1760
|
-
case "AccessDeniedException":
|
|
1761
|
-
case "com.amazonaws.dataexchange#AccessDeniedException":
|
|
1762
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1763
924
|
case "ConflictException":
|
|
1764
925
|
case "com.amazonaws.dataexchange#ConflictException":
|
|
1765
926
|
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
@@ -1775,6 +936,12 @@ const de_UpdateRevisionCommandError = async (output, context) => {
|
|
|
1775
936
|
case "ValidationException":
|
|
1776
937
|
case "com.amazonaws.dataexchange#ValidationException":
|
|
1777
938
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
939
|
+
case "AccessDeniedException":
|
|
940
|
+
case "com.amazonaws.dataexchange#AccessDeniedException":
|
|
941
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
942
|
+
case "ServiceLimitExceededException":
|
|
943
|
+
case "com.amazonaws.dataexchange#ServiceLimitExceededException":
|
|
944
|
+
throw await de_ServiceLimitExceededExceptionRes(parsedOutput, context);
|
|
1778
945
|
default:
|
|
1779
946
|
const parsedBody = parsedOutput.body;
|
|
1780
947
|
return throwDefaultError({
|