@aws-sdk/client-datasync 3.141.0 → 3.150.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/CHANGELOG.md +27 -0
- package/dist-cjs/protocols/Aws_json1_1.js +220 -385
- package/dist-es/protocols/Aws_json1_1.js +353 -386
- package/package.json +11 -6
|
@@ -465,7 +465,6 @@ const deserializeAws_json1_1CancelTaskExecutionCommandError = async (output, con
|
|
|
465
465
|
...output,
|
|
466
466
|
body: await parseBody(output.body, context),
|
|
467
467
|
};
|
|
468
|
-
let response;
|
|
469
468
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
470
469
|
switch (errorCode) {
|
|
471
470
|
case "InternalException":
|
|
@@ -476,14 +475,12 @@ const deserializeAws_json1_1CancelTaskExecutionCommandError = async (output, con
|
|
|
476
475
|
throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
|
|
477
476
|
default:
|
|
478
477
|
const parsedBody = parsedOutput.body;
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
$metadata,
|
|
478
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
479
|
+
output,
|
|
480
|
+
parsedBody,
|
|
481
|
+
exceptionCtor: DataSyncServiceException_1.DataSyncServiceException,
|
|
482
|
+
errorCode,
|
|
485
483
|
});
|
|
486
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
487
484
|
}
|
|
488
485
|
};
|
|
489
486
|
const deserializeAws_json1_1CreateAgentCommand = async (output, context) => {
|
|
@@ -505,7 +502,6 @@ const deserializeAws_json1_1CreateAgentCommandError = async (output, context) =>
|
|
|
505
502
|
...output,
|
|
506
503
|
body: await parseBody(output.body, context),
|
|
507
504
|
};
|
|
508
|
-
let response;
|
|
509
505
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
510
506
|
switch (errorCode) {
|
|
511
507
|
case "InternalException":
|
|
@@ -516,14 +512,12 @@ const deserializeAws_json1_1CreateAgentCommandError = async (output, context) =>
|
|
|
516
512
|
throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
|
|
517
513
|
default:
|
|
518
514
|
const parsedBody = parsedOutput.body;
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
$metadata,
|
|
515
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
516
|
+
output,
|
|
517
|
+
parsedBody,
|
|
518
|
+
exceptionCtor: DataSyncServiceException_1.DataSyncServiceException,
|
|
519
|
+
errorCode,
|
|
525
520
|
});
|
|
526
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
527
521
|
}
|
|
528
522
|
};
|
|
529
523
|
const deserializeAws_json1_1CreateLocationEfsCommand = async (output, context) => {
|
|
@@ -545,7 +539,6 @@ const deserializeAws_json1_1CreateLocationEfsCommandError = async (output, conte
|
|
|
545
539
|
...output,
|
|
546
540
|
body: await parseBody(output.body, context),
|
|
547
541
|
};
|
|
548
|
-
let response;
|
|
549
542
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
550
543
|
switch (errorCode) {
|
|
551
544
|
case "InternalException":
|
|
@@ -556,14 +549,12 @@ const deserializeAws_json1_1CreateLocationEfsCommandError = async (output, conte
|
|
|
556
549
|
throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
|
|
557
550
|
default:
|
|
558
551
|
const parsedBody = parsedOutput.body;
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
$metadata,
|
|
552
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
553
|
+
output,
|
|
554
|
+
parsedBody,
|
|
555
|
+
exceptionCtor: DataSyncServiceException_1.DataSyncServiceException,
|
|
556
|
+
errorCode,
|
|
565
557
|
});
|
|
566
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
567
558
|
}
|
|
568
559
|
};
|
|
569
560
|
const deserializeAws_json1_1CreateLocationFsxLustreCommand = async (output, context) => {
|
|
@@ -585,7 +576,6 @@ const deserializeAws_json1_1CreateLocationFsxLustreCommandError = async (output,
|
|
|
585
576
|
...output,
|
|
586
577
|
body: await parseBody(output.body, context),
|
|
587
578
|
};
|
|
588
|
-
let response;
|
|
589
579
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
590
580
|
switch (errorCode) {
|
|
591
581
|
case "InternalException":
|
|
@@ -596,14 +586,12 @@ const deserializeAws_json1_1CreateLocationFsxLustreCommandError = async (output,
|
|
|
596
586
|
throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
|
|
597
587
|
default:
|
|
598
588
|
const parsedBody = parsedOutput.body;
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
$metadata,
|
|
589
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
590
|
+
output,
|
|
591
|
+
parsedBody,
|
|
592
|
+
exceptionCtor: DataSyncServiceException_1.DataSyncServiceException,
|
|
593
|
+
errorCode,
|
|
605
594
|
});
|
|
606
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
607
595
|
}
|
|
608
596
|
};
|
|
609
597
|
const deserializeAws_json1_1CreateLocationFsxOntapCommand = async (output, context) => {
|
|
@@ -625,7 +613,6 @@ const deserializeAws_json1_1CreateLocationFsxOntapCommandError = async (output,
|
|
|
625
613
|
...output,
|
|
626
614
|
body: await parseBody(output.body, context),
|
|
627
615
|
};
|
|
628
|
-
let response;
|
|
629
616
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
630
617
|
switch (errorCode) {
|
|
631
618
|
case "InternalException":
|
|
@@ -636,14 +623,12 @@ const deserializeAws_json1_1CreateLocationFsxOntapCommandError = async (output,
|
|
|
636
623
|
throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
|
|
637
624
|
default:
|
|
638
625
|
const parsedBody = parsedOutput.body;
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
$metadata,
|
|
626
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
627
|
+
output,
|
|
628
|
+
parsedBody,
|
|
629
|
+
exceptionCtor: DataSyncServiceException_1.DataSyncServiceException,
|
|
630
|
+
errorCode,
|
|
645
631
|
});
|
|
646
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
647
632
|
}
|
|
648
633
|
};
|
|
649
634
|
const deserializeAws_json1_1CreateLocationFsxOpenZfsCommand = async (output, context) => {
|
|
@@ -665,7 +650,6 @@ const deserializeAws_json1_1CreateLocationFsxOpenZfsCommandError = async (output
|
|
|
665
650
|
...output,
|
|
666
651
|
body: await parseBody(output.body, context),
|
|
667
652
|
};
|
|
668
|
-
let response;
|
|
669
653
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
670
654
|
switch (errorCode) {
|
|
671
655
|
case "InternalException":
|
|
@@ -676,14 +660,12 @@ const deserializeAws_json1_1CreateLocationFsxOpenZfsCommandError = async (output
|
|
|
676
660
|
throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
|
|
677
661
|
default:
|
|
678
662
|
const parsedBody = parsedOutput.body;
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
$metadata,
|
|
663
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
664
|
+
output,
|
|
665
|
+
parsedBody,
|
|
666
|
+
exceptionCtor: DataSyncServiceException_1.DataSyncServiceException,
|
|
667
|
+
errorCode,
|
|
685
668
|
});
|
|
686
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
687
669
|
}
|
|
688
670
|
};
|
|
689
671
|
const deserializeAws_json1_1CreateLocationFsxWindowsCommand = async (output, context) => {
|
|
@@ -705,7 +687,6 @@ const deserializeAws_json1_1CreateLocationFsxWindowsCommandError = async (output
|
|
|
705
687
|
...output,
|
|
706
688
|
body: await parseBody(output.body, context),
|
|
707
689
|
};
|
|
708
|
-
let response;
|
|
709
690
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
710
691
|
switch (errorCode) {
|
|
711
692
|
case "InternalException":
|
|
@@ -716,14 +697,12 @@ const deserializeAws_json1_1CreateLocationFsxWindowsCommandError = async (output
|
|
|
716
697
|
throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
|
|
717
698
|
default:
|
|
718
699
|
const parsedBody = parsedOutput.body;
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
$metadata,
|
|
700
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
701
|
+
output,
|
|
702
|
+
parsedBody,
|
|
703
|
+
exceptionCtor: DataSyncServiceException_1.DataSyncServiceException,
|
|
704
|
+
errorCode,
|
|
725
705
|
});
|
|
726
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
727
706
|
}
|
|
728
707
|
};
|
|
729
708
|
const deserializeAws_json1_1CreateLocationHdfsCommand = async (output, context) => {
|
|
@@ -745,7 +724,6 @@ const deserializeAws_json1_1CreateLocationHdfsCommandError = async (output, cont
|
|
|
745
724
|
...output,
|
|
746
725
|
body: await parseBody(output.body, context),
|
|
747
726
|
};
|
|
748
|
-
let response;
|
|
749
727
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
750
728
|
switch (errorCode) {
|
|
751
729
|
case "InternalException":
|
|
@@ -756,14 +734,12 @@ const deserializeAws_json1_1CreateLocationHdfsCommandError = async (output, cont
|
|
|
756
734
|
throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
|
|
757
735
|
default:
|
|
758
736
|
const parsedBody = parsedOutput.body;
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
$metadata,
|
|
737
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
738
|
+
output,
|
|
739
|
+
parsedBody,
|
|
740
|
+
exceptionCtor: DataSyncServiceException_1.DataSyncServiceException,
|
|
741
|
+
errorCode,
|
|
765
742
|
});
|
|
766
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
767
743
|
}
|
|
768
744
|
};
|
|
769
745
|
const deserializeAws_json1_1CreateLocationNfsCommand = async (output, context) => {
|
|
@@ -785,7 +761,6 @@ const deserializeAws_json1_1CreateLocationNfsCommandError = async (output, conte
|
|
|
785
761
|
...output,
|
|
786
762
|
body: await parseBody(output.body, context),
|
|
787
763
|
};
|
|
788
|
-
let response;
|
|
789
764
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
790
765
|
switch (errorCode) {
|
|
791
766
|
case "InternalException":
|
|
@@ -796,14 +771,12 @@ const deserializeAws_json1_1CreateLocationNfsCommandError = async (output, conte
|
|
|
796
771
|
throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
|
|
797
772
|
default:
|
|
798
773
|
const parsedBody = parsedOutput.body;
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
$metadata,
|
|
774
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
775
|
+
output,
|
|
776
|
+
parsedBody,
|
|
777
|
+
exceptionCtor: DataSyncServiceException_1.DataSyncServiceException,
|
|
778
|
+
errorCode,
|
|
805
779
|
});
|
|
806
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
807
780
|
}
|
|
808
781
|
};
|
|
809
782
|
const deserializeAws_json1_1CreateLocationObjectStorageCommand = async (output, context) => {
|
|
@@ -825,7 +798,6 @@ const deserializeAws_json1_1CreateLocationObjectStorageCommandError = async (out
|
|
|
825
798
|
...output,
|
|
826
799
|
body: await parseBody(output.body, context),
|
|
827
800
|
};
|
|
828
|
-
let response;
|
|
829
801
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
830
802
|
switch (errorCode) {
|
|
831
803
|
case "InternalException":
|
|
@@ -836,14 +808,12 @@ const deserializeAws_json1_1CreateLocationObjectStorageCommandError = async (out
|
|
|
836
808
|
throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
|
|
837
809
|
default:
|
|
838
810
|
const parsedBody = parsedOutput.body;
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
$metadata,
|
|
811
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
812
|
+
output,
|
|
813
|
+
parsedBody,
|
|
814
|
+
exceptionCtor: DataSyncServiceException_1.DataSyncServiceException,
|
|
815
|
+
errorCode,
|
|
845
816
|
});
|
|
846
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
847
817
|
}
|
|
848
818
|
};
|
|
849
819
|
const deserializeAws_json1_1CreateLocationS3Command = async (output, context) => {
|
|
@@ -865,7 +835,6 @@ const deserializeAws_json1_1CreateLocationS3CommandError = async (output, contex
|
|
|
865
835
|
...output,
|
|
866
836
|
body: await parseBody(output.body, context),
|
|
867
837
|
};
|
|
868
|
-
let response;
|
|
869
838
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
870
839
|
switch (errorCode) {
|
|
871
840
|
case "InternalException":
|
|
@@ -876,14 +845,12 @@ const deserializeAws_json1_1CreateLocationS3CommandError = async (output, contex
|
|
|
876
845
|
throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
|
|
877
846
|
default:
|
|
878
847
|
const parsedBody = parsedOutput.body;
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
$metadata,
|
|
848
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
849
|
+
output,
|
|
850
|
+
parsedBody,
|
|
851
|
+
exceptionCtor: DataSyncServiceException_1.DataSyncServiceException,
|
|
852
|
+
errorCode,
|
|
885
853
|
});
|
|
886
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
887
854
|
}
|
|
888
855
|
};
|
|
889
856
|
const deserializeAws_json1_1CreateLocationSmbCommand = async (output, context) => {
|
|
@@ -905,7 +872,6 @@ const deserializeAws_json1_1CreateLocationSmbCommandError = async (output, conte
|
|
|
905
872
|
...output,
|
|
906
873
|
body: await parseBody(output.body, context),
|
|
907
874
|
};
|
|
908
|
-
let response;
|
|
909
875
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
910
876
|
switch (errorCode) {
|
|
911
877
|
case "InternalException":
|
|
@@ -916,14 +882,12 @@ const deserializeAws_json1_1CreateLocationSmbCommandError = async (output, conte
|
|
|
916
882
|
throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
|
|
917
883
|
default:
|
|
918
884
|
const parsedBody = parsedOutput.body;
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
$metadata,
|
|
885
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
886
|
+
output,
|
|
887
|
+
parsedBody,
|
|
888
|
+
exceptionCtor: DataSyncServiceException_1.DataSyncServiceException,
|
|
889
|
+
errorCode,
|
|
925
890
|
});
|
|
926
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
927
891
|
}
|
|
928
892
|
};
|
|
929
893
|
const deserializeAws_json1_1CreateTaskCommand = async (output, context) => {
|
|
@@ -945,7 +909,6 @@ const deserializeAws_json1_1CreateTaskCommandError = async (output, context) =>
|
|
|
945
909
|
...output,
|
|
946
910
|
body: await parseBody(output.body, context),
|
|
947
911
|
};
|
|
948
|
-
let response;
|
|
949
912
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
950
913
|
switch (errorCode) {
|
|
951
914
|
case "InternalException":
|
|
@@ -956,14 +919,12 @@ const deserializeAws_json1_1CreateTaskCommandError = async (output, context) =>
|
|
|
956
919
|
throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
|
|
957
920
|
default:
|
|
958
921
|
const parsedBody = parsedOutput.body;
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
$metadata,
|
|
922
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
923
|
+
output,
|
|
924
|
+
parsedBody,
|
|
925
|
+
exceptionCtor: DataSyncServiceException_1.DataSyncServiceException,
|
|
926
|
+
errorCode,
|
|
965
927
|
});
|
|
966
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
967
928
|
}
|
|
968
929
|
};
|
|
969
930
|
const deserializeAws_json1_1DeleteAgentCommand = async (output, context) => {
|
|
@@ -985,7 +946,6 @@ const deserializeAws_json1_1DeleteAgentCommandError = async (output, context) =>
|
|
|
985
946
|
...output,
|
|
986
947
|
body: await parseBody(output.body, context),
|
|
987
948
|
};
|
|
988
|
-
let response;
|
|
989
949
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
990
950
|
switch (errorCode) {
|
|
991
951
|
case "InternalException":
|
|
@@ -996,14 +956,12 @@ const deserializeAws_json1_1DeleteAgentCommandError = async (output, context) =>
|
|
|
996
956
|
throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
|
|
997
957
|
default:
|
|
998
958
|
const parsedBody = parsedOutput.body;
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
$metadata,
|
|
959
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
960
|
+
output,
|
|
961
|
+
parsedBody,
|
|
962
|
+
exceptionCtor: DataSyncServiceException_1.DataSyncServiceException,
|
|
963
|
+
errorCode,
|
|
1005
964
|
});
|
|
1006
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1007
965
|
}
|
|
1008
966
|
};
|
|
1009
967
|
const deserializeAws_json1_1DeleteLocationCommand = async (output, context) => {
|
|
@@ -1025,7 +983,6 @@ const deserializeAws_json1_1DeleteLocationCommandError = async (output, context)
|
|
|
1025
983
|
...output,
|
|
1026
984
|
body: await parseBody(output.body, context),
|
|
1027
985
|
};
|
|
1028
|
-
let response;
|
|
1029
986
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1030
987
|
switch (errorCode) {
|
|
1031
988
|
case "InternalException":
|
|
@@ -1036,14 +993,12 @@ const deserializeAws_json1_1DeleteLocationCommandError = async (output, context)
|
|
|
1036
993
|
throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
|
|
1037
994
|
default:
|
|
1038
995
|
const parsedBody = parsedOutput.body;
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
$metadata,
|
|
996
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
997
|
+
output,
|
|
998
|
+
parsedBody,
|
|
999
|
+
exceptionCtor: DataSyncServiceException_1.DataSyncServiceException,
|
|
1000
|
+
errorCode,
|
|
1045
1001
|
});
|
|
1046
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1047
1002
|
}
|
|
1048
1003
|
};
|
|
1049
1004
|
const deserializeAws_json1_1DeleteTaskCommand = async (output, context) => {
|
|
@@ -1065,7 +1020,6 @@ const deserializeAws_json1_1DeleteTaskCommandError = async (output, context) =>
|
|
|
1065
1020
|
...output,
|
|
1066
1021
|
body: await parseBody(output.body, context),
|
|
1067
1022
|
};
|
|
1068
|
-
let response;
|
|
1069
1023
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1070
1024
|
switch (errorCode) {
|
|
1071
1025
|
case "InternalException":
|
|
@@ -1076,14 +1030,12 @@ const deserializeAws_json1_1DeleteTaskCommandError = async (output, context) =>
|
|
|
1076
1030
|
throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
|
|
1077
1031
|
default:
|
|
1078
1032
|
const parsedBody = parsedOutput.body;
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
$metadata,
|
|
1033
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1034
|
+
output,
|
|
1035
|
+
parsedBody,
|
|
1036
|
+
exceptionCtor: DataSyncServiceException_1.DataSyncServiceException,
|
|
1037
|
+
errorCode,
|
|
1085
1038
|
});
|
|
1086
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1087
1039
|
}
|
|
1088
1040
|
};
|
|
1089
1041
|
const deserializeAws_json1_1DescribeAgentCommand = async (output, context) => {
|
|
@@ -1105,7 +1057,6 @@ const deserializeAws_json1_1DescribeAgentCommandError = async (output, context)
|
|
|
1105
1057
|
...output,
|
|
1106
1058
|
body: await parseBody(output.body, context),
|
|
1107
1059
|
};
|
|
1108
|
-
let response;
|
|
1109
1060
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1110
1061
|
switch (errorCode) {
|
|
1111
1062
|
case "InternalException":
|
|
@@ -1116,14 +1067,12 @@ const deserializeAws_json1_1DescribeAgentCommandError = async (output, context)
|
|
|
1116
1067
|
throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
|
|
1117
1068
|
default:
|
|
1118
1069
|
const parsedBody = parsedOutput.body;
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
$metadata,
|
|
1070
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1071
|
+
output,
|
|
1072
|
+
parsedBody,
|
|
1073
|
+
exceptionCtor: DataSyncServiceException_1.DataSyncServiceException,
|
|
1074
|
+
errorCode,
|
|
1125
1075
|
});
|
|
1126
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1127
1076
|
}
|
|
1128
1077
|
};
|
|
1129
1078
|
const deserializeAws_json1_1DescribeLocationEfsCommand = async (output, context) => {
|
|
@@ -1145,7 +1094,6 @@ const deserializeAws_json1_1DescribeLocationEfsCommandError = async (output, con
|
|
|
1145
1094
|
...output,
|
|
1146
1095
|
body: await parseBody(output.body, context),
|
|
1147
1096
|
};
|
|
1148
|
-
let response;
|
|
1149
1097
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1150
1098
|
switch (errorCode) {
|
|
1151
1099
|
case "InternalException":
|
|
@@ -1156,14 +1104,12 @@ const deserializeAws_json1_1DescribeLocationEfsCommandError = async (output, con
|
|
|
1156
1104
|
throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
|
|
1157
1105
|
default:
|
|
1158
1106
|
const parsedBody = parsedOutput.body;
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
$metadata,
|
|
1107
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1108
|
+
output,
|
|
1109
|
+
parsedBody,
|
|
1110
|
+
exceptionCtor: DataSyncServiceException_1.DataSyncServiceException,
|
|
1111
|
+
errorCode,
|
|
1165
1112
|
});
|
|
1166
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1167
1113
|
}
|
|
1168
1114
|
};
|
|
1169
1115
|
const deserializeAws_json1_1DescribeLocationFsxLustreCommand = async (output, context) => {
|
|
@@ -1185,7 +1131,6 @@ const deserializeAws_json1_1DescribeLocationFsxLustreCommandError = async (outpu
|
|
|
1185
1131
|
...output,
|
|
1186
1132
|
body: await parseBody(output.body, context),
|
|
1187
1133
|
};
|
|
1188
|
-
let response;
|
|
1189
1134
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1190
1135
|
switch (errorCode) {
|
|
1191
1136
|
case "InternalException":
|
|
@@ -1196,14 +1141,12 @@ const deserializeAws_json1_1DescribeLocationFsxLustreCommandError = async (outpu
|
|
|
1196
1141
|
throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
|
|
1197
1142
|
default:
|
|
1198
1143
|
const parsedBody = parsedOutput.body;
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
$metadata,
|
|
1144
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1145
|
+
output,
|
|
1146
|
+
parsedBody,
|
|
1147
|
+
exceptionCtor: DataSyncServiceException_1.DataSyncServiceException,
|
|
1148
|
+
errorCode,
|
|
1205
1149
|
});
|
|
1206
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1207
1150
|
}
|
|
1208
1151
|
};
|
|
1209
1152
|
const deserializeAws_json1_1DescribeLocationFsxOntapCommand = async (output, context) => {
|
|
@@ -1225,7 +1168,6 @@ const deserializeAws_json1_1DescribeLocationFsxOntapCommandError = async (output
|
|
|
1225
1168
|
...output,
|
|
1226
1169
|
body: await parseBody(output.body, context),
|
|
1227
1170
|
};
|
|
1228
|
-
let response;
|
|
1229
1171
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1230
1172
|
switch (errorCode) {
|
|
1231
1173
|
case "InternalException":
|
|
@@ -1236,14 +1178,12 @@ const deserializeAws_json1_1DescribeLocationFsxOntapCommandError = async (output
|
|
|
1236
1178
|
throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
|
|
1237
1179
|
default:
|
|
1238
1180
|
const parsedBody = parsedOutput.body;
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
$metadata,
|
|
1181
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1182
|
+
output,
|
|
1183
|
+
parsedBody,
|
|
1184
|
+
exceptionCtor: DataSyncServiceException_1.DataSyncServiceException,
|
|
1185
|
+
errorCode,
|
|
1245
1186
|
});
|
|
1246
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1247
1187
|
}
|
|
1248
1188
|
};
|
|
1249
1189
|
const deserializeAws_json1_1DescribeLocationFsxOpenZfsCommand = async (output, context) => {
|
|
@@ -1265,7 +1205,6 @@ const deserializeAws_json1_1DescribeLocationFsxOpenZfsCommandError = async (outp
|
|
|
1265
1205
|
...output,
|
|
1266
1206
|
body: await parseBody(output.body, context),
|
|
1267
1207
|
};
|
|
1268
|
-
let response;
|
|
1269
1208
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1270
1209
|
switch (errorCode) {
|
|
1271
1210
|
case "InternalException":
|
|
@@ -1276,14 +1215,12 @@ const deserializeAws_json1_1DescribeLocationFsxOpenZfsCommandError = async (outp
|
|
|
1276
1215
|
throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
|
|
1277
1216
|
default:
|
|
1278
1217
|
const parsedBody = parsedOutput.body;
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
$metadata,
|
|
1218
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1219
|
+
output,
|
|
1220
|
+
parsedBody,
|
|
1221
|
+
exceptionCtor: DataSyncServiceException_1.DataSyncServiceException,
|
|
1222
|
+
errorCode,
|
|
1285
1223
|
});
|
|
1286
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1287
1224
|
}
|
|
1288
1225
|
};
|
|
1289
1226
|
const deserializeAws_json1_1DescribeLocationFsxWindowsCommand = async (output, context) => {
|
|
@@ -1305,7 +1242,6 @@ const deserializeAws_json1_1DescribeLocationFsxWindowsCommandError = async (outp
|
|
|
1305
1242
|
...output,
|
|
1306
1243
|
body: await parseBody(output.body, context),
|
|
1307
1244
|
};
|
|
1308
|
-
let response;
|
|
1309
1245
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1310
1246
|
switch (errorCode) {
|
|
1311
1247
|
case "InternalException":
|
|
@@ -1316,14 +1252,12 @@ const deserializeAws_json1_1DescribeLocationFsxWindowsCommandError = async (outp
|
|
|
1316
1252
|
throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
|
|
1317
1253
|
default:
|
|
1318
1254
|
const parsedBody = parsedOutput.body;
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
$metadata,
|
|
1255
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1256
|
+
output,
|
|
1257
|
+
parsedBody,
|
|
1258
|
+
exceptionCtor: DataSyncServiceException_1.DataSyncServiceException,
|
|
1259
|
+
errorCode,
|
|
1325
1260
|
});
|
|
1326
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1327
1261
|
}
|
|
1328
1262
|
};
|
|
1329
1263
|
const deserializeAws_json1_1DescribeLocationHdfsCommand = async (output, context) => {
|
|
@@ -1345,7 +1279,6 @@ const deserializeAws_json1_1DescribeLocationHdfsCommandError = async (output, co
|
|
|
1345
1279
|
...output,
|
|
1346
1280
|
body: await parseBody(output.body, context),
|
|
1347
1281
|
};
|
|
1348
|
-
let response;
|
|
1349
1282
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1350
1283
|
switch (errorCode) {
|
|
1351
1284
|
case "InternalException":
|
|
@@ -1356,14 +1289,12 @@ const deserializeAws_json1_1DescribeLocationHdfsCommandError = async (output, co
|
|
|
1356
1289
|
throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
|
|
1357
1290
|
default:
|
|
1358
1291
|
const parsedBody = parsedOutput.body;
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
$metadata,
|
|
1292
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1293
|
+
output,
|
|
1294
|
+
parsedBody,
|
|
1295
|
+
exceptionCtor: DataSyncServiceException_1.DataSyncServiceException,
|
|
1296
|
+
errorCode,
|
|
1365
1297
|
});
|
|
1366
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1367
1298
|
}
|
|
1368
1299
|
};
|
|
1369
1300
|
const deserializeAws_json1_1DescribeLocationNfsCommand = async (output, context) => {
|
|
@@ -1385,7 +1316,6 @@ const deserializeAws_json1_1DescribeLocationNfsCommandError = async (output, con
|
|
|
1385
1316
|
...output,
|
|
1386
1317
|
body: await parseBody(output.body, context),
|
|
1387
1318
|
};
|
|
1388
|
-
let response;
|
|
1389
1319
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1390
1320
|
switch (errorCode) {
|
|
1391
1321
|
case "InternalException":
|
|
@@ -1396,14 +1326,12 @@ const deserializeAws_json1_1DescribeLocationNfsCommandError = async (output, con
|
|
|
1396
1326
|
throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
|
|
1397
1327
|
default:
|
|
1398
1328
|
const parsedBody = parsedOutput.body;
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
$metadata,
|
|
1329
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1330
|
+
output,
|
|
1331
|
+
parsedBody,
|
|
1332
|
+
exceptionCtor: DataSyncServiceException_1.DataSyncServiceException,
|
|
1333
|
+
errorCode,
|
|
1405
1334
|
});
|
|
1406
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1407
1335
|
}
|
|
1408
1336
|
};
|
|
1409
1337
|
const deserializeAws_json1_1DescribeLocationObjectStorageCommand = async (output, context) => {
|
|
@@ -1425,7 +1353,6 @@ const deserializeAws_json1_1DescribeLocationObjectStorageCommandError = async (o
|
|
|
1425
1353
|
...output,
|
|
1426
1354
|
body: await parseBody(output.body, context),
|
|
1427
1355
|
};
|
|
1428
|
-
let response;
|
|
1429
1356
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1430
1357
|
switch (errorCode) {
|
|
1431
1358
|
case "InternalException":
|
|
@@ -1436,14 +1363,12 @@ const deserializeAws_json1_1DescribeLocationObjectStorageCommandError = async (o
|
|
|
1436
1363
|
throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
|
|
1437
1364
|
default:
|
|
1438
1365
|
const parsedBody = parsedOutput.body;
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
$metadata,
|
|
1366
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1367
|
+
output,
|
|
1368
|
+
parsedBody,
|
|
1369
|
+
exceptionCtor: DataSyncServiceException_1.DataSyncServiceException,
|
|
1370
|
+
errorCode,
|
|
1445
1371
|
});
|
|
1446
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1447
1372
|
}
|
|
1448
1373
|
};
|
|
1449
1374
|
const deserializeAws_json1_1DescribeLocationS3Command = async (output, context) => {
|
|
@@ -1465,7 +1390,6 @@ const deserializeAws_json1_1DescribeLocationS3CommandError = async (output, cont
|
|
|
1465
1390
|
...output,
|
|
1466
1391
|
body: await parseBody(output.body, context),
|
|
1467
1392
|
};
|
|
1468
|
-
let response;
|
|
1469
1393
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1470
1394
|
switch (errorCode) {
|
|
1471
1395
|
case "InternalException":
|
|
@@ -1476,14 +1400,12 @@ const deserializeAws_json1_1DescribeLocationS3CommandError = async (output, cont
|
|
|
1476
1400
|
throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
|
|
1477
1401
|
default:
|
|
1478
1402
|
const parsedBody = parsedOutput.body;
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
$metadata,
|
|
1403
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1404
|
+
output,
|
|
1405
|
+
parsedBody,
|
|
1406
|
+
exceptionCtor: DataSyncServiceException_1.DataSyncServiceException,
|
|
1407
|
+
errorCode,
|
|
1485
1408
|
});
|
|
1486
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1487
1409
|
}
|
|
1488
1410
|
};
|
|
1489
1411
|
const deserializeAws_json1_1DescribeLocationSmbCommand = async (output, context) => {
|
|
@@ -1505,7 +1427,6 @@ const deserializeAws_json1_1DescribeLocationSmbCommandError = async (output, con
|
|
|
1505
1427
|
...output,
|
|
1506
1428
|
body: await parseBody(output.body, context),
|
|
1507
1429
|
};
|
|
1508
|
-
let response;
|
|
1509
1430
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1510
1431
|
switch (errorCode) {
|
|
1511
1432
|
case "InternalException":
|
|
@@ -1516,14 +1437,12 @@ const deserializeAws_json1_1DescribeLocationSmbCommandError = async (output, con
|
|
|
1516
1437
|
throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
|
|
1517
1438
|
default:
|
|
1518
1439
|
const parsedBody = parsedOutput.body;
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
$metadata,
|
|
1440
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1441
|
+
output,
|
|
1442
|
+
parsedBody,
|
|
1443
|
+
exceptionCtor: DataSyncServiceException_1.DataSyncServiceException,
|
|
1444
|
+
errorCode,
|
|
1525
1445
|
});
|
|
1526
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1527
1446
|
}
|
|
1528
1447
|
};
|
|
1529
1448
|
const deserializeAws_json1_1DescribeTaskCommand = async (output, context) => {
|
|
@@ -1545,7 +1464,6 @@ const deserializeAws_json1_1DescribeTaskCommandError = async (output, context) =
|
|
|
1545
1464
|
...output,
|
|
1546
1465
|
body: await parseBody(output.body, context),
|
|
1547
1466
|
};
|
|
1548
|
-
let response;
|
|
1549
1467
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1550
1468
|
switch (errorCode) {
|
|
1551
1469
|
case "InternalException":
|
|
@@ -1556,14 +1474,12 @@ const deserializeAws_json1_1DescribeTaskCommandError = async (output, context) =
|
|
|
1556
1474
|
throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
|
|
1557
1475
|
default:
|
|
1558
1476
|
const parsedBody = parsedOutput.body;
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
$metadata,
|
|
1477
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1478
|
+
output,
|
|
1479
|
+
parsedBody,
|
|
1480
|
+
exceptionCtor: DataSyncServiceException_1.DataSyncServiceException,
|
|
1481
|
+
errorCode,
|
|
1565
1482
|
});
|
|
1566
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1567
1483
|
}
|
|
1568
1484
|
};
|
|
1569
1485
|
const deserializeAws_json1_1DescribeTaskExecutionCommand = async (output, context) => {
|
|
@@ -1585,7 +1501,6 @@ const deserializeAws_json1_1DescribeTaskExecutionCommandError = async (output, c
|
|
|
1585
1501
|
...output,
|
|
1586
1502
|
body: await parseBody(output.body, context),
|
|
1587
1503
|
};
|
|
1588
|
-
let response;
|
|
1589
1504
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1590
1505
|
switch (errorCode) {
|
|
1591
1506
|
case "InternalException":
|
|
@@ -1596,14 +1511,12 @@ const deserializeAws_json1_1DescribeTaskExecutionCommandError = async (output, c
|
|
|
1596
1511
|
throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
|
|
1597
1512
|
default:
|
|
1598
1513
|
const parsedBody = parsedOutput.body;
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
$metadata,
|
|
1514
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1515
|
+
output,
|
|
1516
|
+
parsedBody,
|
|
1517
|
+
exceptionCtor: DataSyncServiceException_1.DataSyncServiceException,
|
|
1518
|
+
errorCode,
|
|
1605
1519
|
});
|
|
1606
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1607
1520
|
}
|
|
1608
1521
|
};
|
|
1609
1522
|
const deserializeAws_json1_1ListAgentsCommand = async (output, context) => {
|
|
@@ -1625,7 +1538,6 @@ const deserializeAws_json1_1ListAgentsCommandError = async (output, context) =>
|
|
|
1625
1538
|
...output,
|
|
1626
1539
|
body: await parseBody(output.body, context),
|
|
1627
1540
|
};
|
|
1628
|
-
let response;
|
|
1629
1541
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1630
1542
|
switch (errorCode) {
|
|
1631
1543
|
case "InternalException":
|
|
@@ -1636,14 +1548,12 @@ const deserializeAws_json1_1ListAgentsCommandError = async (output, context) =>
|
|
|
1636
1548
|
throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
|
|
1637
1549
|
default:
|
|
1638
1550
|
const parsedBody = parsedOutput.body;
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
$metadata,
|
|
1551
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1552
|
+
output,
|
|
1553
|
+
parsedBody,
|
|
1554
|
+
exceptionCtor: DataSyncServiceException_1.DataSyncServiceException,
|
|
1555
|
+
errorCode,
|
|
1645
1556
|
});
|
|
1646
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1647
1557
|
}
|
|
1648
1558
|
};
|
|
1649
1559
|
const deserializeAws_json1_1ListLocationsCommand = async (output, context) => {
|
|
@@ -1665,7 +1575,6 @@ const deserializeAws_json1_1ListLocationsCommandError = async (output, context)
|
|
|
1665
1575
|
...output,
|
|
1666
1576
|
body: await parseBody(output.body, context),
|
|
1667
1577
|
};
|
|
1668
|
-
let response;
|
|
1669
1578
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1670
1579
|
switch (errorCode) {
|
|
1671
1580
|
case "InternalException":
|
|
@@ -1676,14 +1585,12 @@ const deserializeAws_json1_1ListLocationsCommandError = async (output, context)
|
|
|
1676
1585
|
throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
|
|
1677
1586
|
default:
|
|
1678
1587
|
const parsedBody = parsedOutput.body;
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
$metadata,
|
|
1588
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1589
|
+
output,
|
|
1590
|
+
parsedBody,
|
|
1591
|
+
exceptionCtor: DataSyncServiceException_1.DataSyncServiceException,
|
|
1592
|
+
errorCode,
|
|
1685
1593
|
});
|
|
1686
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1687
1594
|
}
|
|
1688
1595
|
};
|
|
1689
1596
|
const deserializeAws_json1_1ListTagsForResourceCommand = async (output, context) => {
|
|
@@ -1705,7 +1612,6 @@ const deserializeAws_json1_1ListTagsForResourceCommandError = async (output, con
|
|
|
1705
1612
|
...output,
|
|
1706
1613
|
body: await parseBody(output.body, context),
|
|
1707
1614
|
};
|
|
1708
|
-
let response;
|
|
1709
1615
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1710
1616
|
switch (errorCode) {
|
|
1711
1617
|
case "InternalException":
|
|
@@ -1716,14 +1622,12 @@ const deserializeAws_json1_1ListTagsForResourceCommandError = async (output, con
|
|
|
1716
1622
|
throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
|
|
1717
1623
|
default:
|
|
1718
1624
|
const parsedBody = parsedOutput.body;
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
$metadata,
|
|
1625
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1626
|
+
output,
|
|
1627
|
+
parsedBody,
|
|
1628
|
+
exceptionCtor: DataSyncServiceException_1.DataSyncServiceException,
|
|
1629
|
+
errorCode,
|
|
1725
1630
|
});
|
|
1726
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1727
1631
|
}
|
|
1728
1632
|
};
|
|
1729
1633
|
const deserializeAws_json1_1ListTaskExecutionsCommand = async (output, context) => {
|
|
@@ -1745,7 +1649,6 @@ const deserializeAws_json1_1ListTaskExecutionsCommandError = async (output, cont
|
|
|
1745
1649
|
...output,
|
|
1746
1650
|
body: await parseBody(output.body, context),
|
|
1747
1651
|
};
|
|
1748
|
-
let response;
|
|
1749
1652
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1750
1653
|
switch (errorCode) {
|
|
1751
1654
|
case "InternalException":
|
|
@@ -1756,14 +1659,12 @@ const deserializeAws_json1_1ListTaskExecutionsCommandError = async (output, cont
|
|
|
1756
1659
|
throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
|
|
1757
1660
|
default:
|
|
1758
1661
|
const parsedBody = parsedOutput.body;
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
$metadata,
|
|
1662
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1663
|
+
output,
|
|
1664
|
+
parsedBody,
|
|
1665
|
+
exceptionCtor: DataSyncServiceException_1.DataSyncServiceException,
|
|
1666
|
+
errorCode,
|
|
1765
1667
|
});
|
|
1766
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1767
1668
|
}
|
|
1768
1669
|
};
|
|
1769
1670
|
const deserializeAws_json1_1ListTasksCommand = async (output, context) => {
|
|
@@ -1785,7 +1686,6 @@ const deserializeAws_json1_1ListTasksCommandError = async (output, context) => {
|
|
|
1785
1686
|
...output,
|
|
1786
1687
|
body: await parseBody(output.body, context),
|
|
1787
1688
|
};
|
|
1788
|
-
let response;
|
|
1789
1689
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1790
1690
|
switch (errorCode) {
|
|
1791
1691
|
case "InternalException":
|
|
@@ -1796,14 +1696,12 @@ const deserializeAws_json1_1ListTasksCommandError = async (output, context) => {
|
|
|
1796
1696
|
throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
|
|
1797
1697
|
default:
|
|
1798
1698
|
const parsedBody = parsedOutput.body;
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
|
|
1803
|
-
|
|
1804
|
-
$metadata,
|
|
1699
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1700
|
+
output,
|
|
1701
|
+
parsedBody,
|
|
1702
|
+
exceptionCtor: DataSyncServiceException_1.DataSyncServiceException,
|
|
1703
|
+
errorCode,
|
|
1805
1704
|
});
|
|
1806
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1807
1705
|
}
|
|
1808
1706
|
};
|
|
1809
1707
|
const deserializeAws_json1_1StartTaskExecutionCommand = async (output, context) => {
|
|
@@ -1825,7 +1723,6 @@ const deserializeAws_json1_1StartTaskExecutionCommandError = async (output, cont
|
|
|
1825
1723
|
...output,
|
|
1826
1724
|
body: await parseBody(output.body, context),
|
|
1827
1725
|
};
|
|
1828
|
-
let response;
|
|
1829
1726
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1830
1727
|
switch (errorCode) {
|
|
1831
1728
|
case "InternalException":
|
|
@@ -1836,14 +1733,12 @@ const deserializeAws_json1_1StartTaskExecutionCommandError = async (output, cont
|
|
|
1836
1733
|
throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
|
|
1837
1734
|
default:
|
|
1838
1735
|
const parsedBody = parsedOutput.body;
|
|
1839
|
-
|
|
1840
|
-
|
|
1841
|
-
|
|
1842
|
-
|
|
1843
|
-
|
|
1844
|
-
$metadata,
|
|
1736
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1737
|
+
output,
|
|
1738
|
+
parsedBody,
|
|
1739
|
+
exceptionCtor: DataSyncServiceException_1.DataSyncServiceException,
|
|
1740
|
+
errorCode,
|
|
1845
1741
|
});
|
|
1846
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1847
1742
|
}
|
|
1848
1743
|
};
|
|
1849
1744
|
const deserializeAws_json1_1TagResourceCommand = async (output, context) => {
|
|
@@ -1865,7 +1760,6 @@ const deserializeAws_json1_1TagResourceCommandError = async (output, context) =>
|
|
|
1865
1760
|
...output,
|
|
1866
1761
|
body: await parseBody(output.body, context),
|
|
1867
1762
|
};
|
|
1868
|
-
let response;
|
|
1869
1763
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1870
1764
|
switch (errorCode) {
|
|
1871
1765
|
case "InternalException":
|
|
@@ -1876,14 +1770,12 @@ const deserializeAws_json1_1TagResourceCommandError = async (output, context) =>
|
|
|
1876
1770
|
throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
|
|
1877
1771
|
default:
|
|
1878
1772
|
const parsedBody = parsedOutput.body;
|
|
1879
|
-
|
|
1880
|
-
|
|
1881
|
-
|
|
1882
|
-
|
|
1883
|
-
|
|
1884
|
-
$metadata,
|
|
1773
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1774
|
+
output,
|
|
1775
|
+
parsedBody,
|
|
1776
|
+
exceptionCtor: DataSyncServiceException_1.DataSyncServiceException,
|
|
1777
|
+
errorCode,
|
|
1885
1778
|
});
|
|
1886
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1887
1779
|
}
|
|
1888
1780
|
};
|
|
1889
1781
|
const deserializeAws_json1_1UntagResourceCommand = async (output, context) => {
|
|
@@ -1905,7 +1797,6 @@ const deserializeAws_json1_1UntagResourceCommandError = async (output, context)
|
|
|
1905
1797
|
...output,
|
|
1906
1798
|
body: await parseBody(output.body, context),
|
|
1907
1799
|
};
|
|
1908
|
-
let response;
|
|
1909
1800
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1910
1801
|
switch (errorCode) {
|
|
1911
1802
|
case "InternalException":
|
|
@@ -1916,14 +1807,12 @@ const deserializeAws_json1_1UntagResourceCommandError = async (output, context)
|
|
|
1916
1807
|
throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
|
|
1917
1808
|
default:
|
|
1918
1809
|
const parsedBody = parsedOutput.body;
|
|
1919
|
-
|
|
1920
|
-
|
|
1921
|
-
|
|
1922
|
-
|
|
1923
|
-
|
|
1924
|
-
$metadata,
|
|
1810
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1811
|
+
output,
|
|
1812
|
+
parsedBody,
|
|
1813
|
+
exceptionCtor: DataSyncServiceException_1.DataSyncServiceException,
|
|
1814
|
+
errorCode,
|
|
1925
1815
|
});
|
|
1926
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1927
1816
|
}
|
|
1928
1817
|
};
|
|
1929
1818
|
const deserializeAws_json1_1UpdateAgentCommand = async (output, context) => {
|
|
@@ -1945,7 +1834,6 @@ const deserializeAws_json1_1UpdateAgentCommandError = async (output, context) =>
|
|
|
1945
1834
|
...output,
|
|
1946
1835
|
body: await parseBody(output.body, context),
|
|
1947
1836
|
};
|
|
1948
|
-
let response;
|
|
1949
1837
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1950
1838
|
switch (errorCode) {
|
|
1951
1839
|
case "InternalException":
|
|
@@ -1956,14 +1844,12 @@ const deserializeAws_json1_1UpdateAgentCommandError = async (output, context) =>
|
|
|
1956
1844
|
throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
|
|
1957
1845
|
default:
|
|
1958
1846
|
const parsedBody = parsedOutput.body;
|
|
1959
|
-
|
|
1960
|
-
|
|
1961
|
-
|
|
1962
|
-
|
|
1963
|
-
|
|
1964
|
-
$metadata,
|
|
1847
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1848
|
+
output,
|
|
1849
|
+
parsedBody,
|
|
1850
|
+
exceptionCtor: DataSyncServiceException_1.DataSyncServiceException,
|
|
1851
|
+
errorCode,
|
|
1965
1852
|
});
|
|
1966
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1967
1853
|
}
|
|
1968
1854
|
};
|
|
1969
1855
|
const deserializeAws_json1_1UpdateLocationHdfsCommand = async (output, context) => {
|
|
@@ -1985,7 +1871,6 @@ const deserializeAws_json1_1UpdateLocationHdfsCommandError = async (output, cont
|
|
|
1985
1871
|
...output,
|
|
1986
1872
|
body: await parseBody(output.body, context),
|
|
1987
1873
|
};
|
|
1988
|
-
let response;
|
|
1989
1874
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1990
1875
|
switch (errorCode) {
|
|
1991
1876
|
case "InternalException":
|
|
@@ -1996,14 +1881,12 @@ const deserializeAws_json1_1UpdateLocationHdfsCommandError = async (output, cont
|
|
|
1996
1881
|
throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
|
|
1997
1882
|
default:
|
|
1998
1883
|
const parsedBody = parsedOutput.body;
|
|
1999
|
-
|
|
2000
|
-
|
|
2001
|
-
|
|
2002
|
-
|
|
2003
|
-
|
|
2004
|
-
$metadata,
|
|
1884
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1885
|
+
output,
|
|
1886
|
+
parsedBody,
|
|
1887
|
+
exceptionCtor: DataSyncServiceException_1.DataSyncServiceException,
|
|
1888
|
+
errorCode,
|
|
2005
1889
|
});
|
|
2006
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2007
1890
|
}
|
|
2008
1891
|
};
|
|
2009
1892
|
const deserializeAws_json1_1UpdateLocationNfsCommand = async (output, context) => {
|
|
@@ -2025,7 +1908,6 @@ const deserializeAws_json1_1UpdateLocationNfsCommandError = async (output, conte
|
|
|
2025
1908
|
...output,
|
|
2026
1909
|
body: await parseBody(output.body, context),
|
|
2027
1910
|
};
|
|
2028
|
-
let response;
|
|
2029
1911
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2030
1912
|
switch (errorCode) {
|
|
2031
1913
|
case "InternalException":
|
|
@@ -2036,14 +1918,12 @@ const deserializeAws_json1_1UpdateLocationNfsCommandError = async (output, conte
|
|
|
2036
1918
|
throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
|
|
2037
1919
|
default:
|
|
2038
1920
|
const parsedBody = parsedOutput.body;
|
|
2039
|
-
|
|
2040
|
-
|
|
2041
|
-
|
|
2042
|
-
|
|
2043
|
-
|
|
2044
|
-
$metadata,
|
|
1921
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1922
|
+
output,
|
|
1923
|
+
parsedBody,
|
|
1924
|
+
exceptionCtor: DataSyncServiceException_1.DataSyncServiceException,
|
|
1925
|
+
errorCode,
|
|
2045
1926
|
});
|
|
2046
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2047
1927
|
}
|
|
2048
1928
|
};
|
|
2049
1929
|
const deserializeAws_json1_1UpdateLocationObjectStorageCommand = async (output, context) => {
|
|
@@ -2065,7 +1945,6 @@ const deserializeAws_json1_1UpdateLocationObjectStorageCommandError = async (out
|
|
|
2065
1945
|
...output,
|
|
2066
1946
|
body: await parseBody(output.body, context),
|
|
2067
1947
|
};
|
|
2068
|
-
let response;
|
|
2069
1948
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2070
1949
|
switch (errorCode) {
|
|
2071
1950
|
case "InternalException":
|
|
@@ -2076,14 +1955,12 @@ const deserializeAws_json1_1UpdateLocationObjectStorageCommandError = async (out
|
|
|
2076
1955
|
throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
|
|
2077
1956
|
default:
|
|
2078
1957
|
const parsedBody = parsedOutput.body;
|
|
2079
|
-
|
|
2080
|
-
|
|
2081
|
-
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
$metadata,
|
|
1958
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1959
|
+
output,
|
|
1960
|
+
parsedBody,
|
|
1961
|
+
exceptionCtor: DataSyncServiceException_1.DataSyncServiceException,
|
|
1962
|
+
errorCode,
|
|
2085
1963
|
});
|
|
2086
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2087
1964
|
}
|
|
2088
1965
|
};
|
|
2089
1966
|
const deserializeAws_json1_1UpdateLocationSmbCommand = async (output, context) => {
|
|
@@ -2105,7 +1982,6 @@ const deserializeAws_json1_1UpdateLocationSmbCommandError = async (output, conte
|
|
|
2105
1982
|
...output,
|
|
2106
1983
|
body: await parseBody(output.body, context),
|
|
2107
1984
|
};
|
|
2108
|
-
let response;
|
|
2109
1985
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2110
1986
|
switch (errorCode) {
|
|
2111
1987
|
case "InternalException":
|
|
@@ -2116,14 +1992,12 @@ const deserializeAws_json1_1UpdateLocationSmbCommandError = async (output, conte
|
|
|
2116
1992
|
throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
|
|
2117
1993
|
default:
|
|
2118
1994
|
const parsedBody = parsedOutput.body;
|
|
2119
|
-
|
|
2120
|
-
|
|
2121
|
-
|
|
2122
|
-
|
|
2123
|
-
|
|
2124
|
-
$metadata,
|
|
1995
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1996
|
+
output,
|
|
1997
|
+
parsedBody,
|
|
1998
|
+
exceptionCtor: DataSyncServiceException_1.DataSyncServiceException,
|
|
1999
|
+
errorCode,
|
|
2125
2000
|
});
|
|
2126
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2127
2001
|
}
|
|
2128
2002
|
};
|
|
2129
2003
|
const deserializeAws_json1_1UpdateTaskCommand = async (output, context) => {
|
|
@@ -2145,7 +2019,6 @@ const deserializeAws_json1_1UpdateTaskCommandError = async (output, context) =>
|
|
|
2145
2019
|
...output,
|
|
2146
2020
|
body: await parseBody(output.body, context),
|
|
2147
2021
|
};
|
|
2148
|
-
let response;
|
|
2149
2022
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2150
2023
|
switch (errorCode) {
|
|
2151
2024
|
case "InternalException":
|
|
@@ -2156,14 +2029,12 @@ const deserializeAws_json1_1UpdateTaskCommandError = async (output, context) =>
|
|
|
2156
2029
|
throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
|
|
2157
2030
|
default:
|
|
2158
2031
|
const parsedBody = parsedOutput.body;
|
|
2159
|
-
|
|
2160
|
-
|
|
2161
|
-
|
|
2162
|
-
|
|
2163
|
-
|
|
2164
|
-
$metadata,
|
|
2032
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2033
|
+
output,
|
|
2034
|
+
parsedBody,
|
|
2035
|
+
exceptionCtor: DataSyncServiceException_1.DataSyncServiceException,
|
|
2036
|
+
errorCode,
|
|
2165
2037
|
});
|
|
2166
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2167
2038
|
}
|
|
2168
2039
|
};
|
|
2169
2040
|
const deserializeAws_json1_1UpdateTaskExecutionCommand = async (output, context) => {
|
|
@@ -2185,7 +2056,6 @@ const deserializeAws_json1_1UpdateTaskExecutionCommandError = async (output, con
|
|
|
2185
2056
|
...output,
|
|
2186
2057
|
body: await parseBody(output.body, context),
|
|
2187
2058
|
};
|
|
2188
|
-
let response;
|
|
2189
2059
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2190
2060
|
switch (errorCode) {
|
|
2191
2061
|
case "InternalException":
|
|
@@ -2196,14 +2066,12 @@ const deserializeAws_json1_1UpdateTaskExecutionCommandError = async (output, con
|
|
|
2196
2066
|
throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
|
|
2197
2067
|
default:
|
|
2198
2068
|
const parsedBody = parsedOutput.body;
|
|
2199
|
-
|
|
2200
|
-
|
|
2201
|
-
|
|
2202
|
-
|
|
2203
|
-
|
|
2204
|
-
$metadata,
|
|
2069
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2070
|
+
output,
|
|
2071
|
+
parsedBody,
|
|
2072
|
+
exceptionCtor: DataSyncServiceException_1.DataSyncServiceException,
|
|
2073
|
+
errorCode,
|
|
2205
2074
|
});
|
|
2206
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2207
2075
|
}
|
|
2208
2076
|
};
|
|
2209
2077
|
const deserializeAws_json1_1InternalExceptionResponse = async (parsedOutput, context) => {
|
|
@@ -2228,9 +2096,6 @@ const serializeAws_json1_1AgentArnList = (input, context) => {
|
|
|
2228
2096
|
return input
|
|
2229
2097
|
.filter((e) => e != null)
|
|
2230
2098
|
.map((entry) => {
|
|
2231
|
-
if (entry === null) {
|
|
2232
|
-
return null;
|
|
2233
|
-
}
|
|
2234
2099
|
return entry;
|
|
2235
2100
|
});
|
|
2236
2101
|
};
|
|
@@ -2479,9 +2344,6 @@ const serializeAws_json1_1Ec2SecurityGroupArnList = (input, context) => {
|
|
|
2479
2344
|
return input
|
|
2480
2345
|
.filter((e) => e != null)
|
|
2481
2346
|
.map((entry) => {
|
|
2482
|
-
if (entry === null) {
|
|
2483
|
-
return null;
|
|
2484
|
-
}
|
|
2485
2347
|
return entry;
|
|
2486
2348
|
});
|
|
2487
2349
|
};
|
|
@@ -2489,9 +2351,6 @@ const serializeAws_json1_1FilterList = (input, context) => {
|
|
|
2489
2351
|
return input
|
|
2490
2352
|
.filter((e) => e != null)
|
|
2491
2353
|
.map((entry) => {
|
|
2492
|
-
if (entry === null) {
|
|
2493
|
-
return null;
|
|
2494
|
-
}
|
|
2495
2354
|
return serializeAws_json1_1FilterRule(entry, context);
|
|
2496
2355
|
});
|
|
2497
2356
|
};
|
|
@@ -2505,9 +2364,6 @@ const serializeAws_json1_1FilterValues = (input, context) => {
|
|
|
2505
2364
|
return input
|
|
2506
2365
|
.filter((e) => e != null)
|
|
2507
2366
|
.map((entry) => {
|
|
2508
|
-
if (entry === null) {
|
|
2509
|
-
return null;
|
|
2510
|
-
}
|
|
2511
2367
|
return entry;
|
|
2512
2368
|
});
|
|
2513
2369
|
};
|
|
@@ -2544,9 +2400,6 @@ const serializeAws_json1_1HdfsNameNodeList = (input, context) => {
|
|
|
2544
2400
|
return input
|
|
2545
2401
|
.filter((e) => e != null)
|
|
2546
2402
|
.map((entry) => {
|
|
2547
|
-
if (entry === null) {
|
|
2548
|
-
return null;
|
|
2549
|
-
}
|
|
2550
2403
|
return serializeAws_json1_1HdfsNameNode(entry, context);
|
|
2551
2404
|
});
|
|
2552
2405
|
};
|
|
@@ -2554,9 +2407,6 @@ const serializeAws_json1_1InputTagList = (input, context) => {
|
|
|
2554
2407
|
return input
|
|
2555
2408
|
.filter((e) => e != null)
|
|
2556
2409
|
.map((entry) => {
|
|
2557
|
-
if (entry === null) {
|
|
2558
|
-
return null;
|
|
2559
|
-
}
|
|
2560
2410
|
return serializeAws_json1_1TagListEntry(entry, context);
|
|
2561
2411
|
});
|
|
2562
2412
|
};
|
|
@@ -2605,9 +2455,6 @@ const serializeAws_json1_1LocationFilters = (input, context) => {
|
|
|
2605
2455
|
return input
|
|
2606
2456
|
.filter((e) => e != null)
|
|
2607
2457
|
.map((entry) => {
|
|
2608
|
-
if (entry === null) {
|
|
2609
|
-
return null;
|
|
2610
|
-
}
|
|
2611
2458
|
return serializeAws_json1_1LocationFilter(entry, context);
|
|
2612
2459
|
});
|
|
2613
2460
|
};
|
|
@@ -2646,9 +2493,6 @@ const serializeAws_json1_1PLSecurityGroupArnList = (input, context) => {
|
|
|
2646
2493
|
return input
|
|
2647
2494
|
.filter((e) => e != null)
|
|
2648
2495
|
.map((entry) => {
|
|
2649
|
-
if (entry === null) {
|
|
2650
|
-
return null;
|
|
2651
|
-
}
|
|
2652
2496
|
return entry;
|
|
2653
2497
|
});
|
|
2654
2498
|
};
|
|
@@ -2656,9 +2500,6 @@ const serializeAws_json1_1PLSubnetArnList = (input, context) => {
|
|
|
2656
2500
|
return input
|
|
2657
2501
|
.filter((e) => e != null)
|
|
2658
2502
|
.map((entry) => {
|
|
2659
|
-
if (entry === null) {
|
|
2660
|
-
return null;
|
|
2661
|
-
}
|
|
2662
2503
|
return entry;
|
|
2663
2504
|
});
|
|
2664
2505
|
};
|
|
@@ -2692,9 +2533,6 @@ const serializeAws_json1_1TagKeyList = (input, context) => {
|
|
|
2692
2533
|
return input
|
|
2693
2534
|
.filter((e) => e != null)
|
|
2694
2535
|
.map((entry) => {
|
|
2695
|
-
if (entry === null) {
|
|
2696
|
-
return null;
|
|
2697
|
-
}
|
|
2698
2536
|
return entry;
|
|
2699
2537
|
});
|
|
2700
2538
|
};
|
|
@@ -2721,9 +2559,6 @@ const serializeAws_json1_1TaskFilters = (input, context) => {
|
|
|
2721
2559
|
return input
|
|
2722
2560
|
.filter((e) => e != null)
|
|
2723
2561
|
.map((entry) => {
|
|
2724
|
-
if (entry === null) {
|
|
2725
|
-
return null;
|
|
2726
|
-
}
|
|
2727
2562
|
return serializeAws_json1_1TaskFilter(entry, context);
|
|
2728
2563
|
});
|
|
2729
2564
|
};
|