@aws-sdk/client-fsx 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 +185 -398
- package/dist-es/protocols/Aws_json1_1.js +297 -399
- package/package.json +11 -6
|
@@ -396,7 +396,6 @@ const deserializeAws_json1_1AssociateFileSystemAliasesCommandError = async (outp
|
|
|
396
396
|
...output,
|
|
397
397
|
body: await parseBody(output.body, context),
|
|
398
398
|
};
|
|
399
|
-
let response;
|
|
400
399
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
401
400
|
switch (errorCode) {
|
|
402
401
|
case "BadRequest":
|
|
@@ -410,14 +409,12 @@ const deserializeAws_json1_1AssociateFileSystemAliasesCommandError = async (outp
|
|
|
410
409
|
throw await deserializeAws_json1_1InternalServerErrorResponse(parsedOutput, context);
|
|
411
410
|
default:
|
|
412
411
|
const parsedBody = parsedOutput.body;
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
$metadata,
|
|
412
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
413
|
+
output,
|
|
414
|
+
parsedBody,
|
|
415
|
+
exceptionCtor: FSxServiceException_1.FSxServiceException,
|
|
416
|
+
errorCode,
|
|
419
417
|
});
|
|
420
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
421
418
|
}
|
|
422
419
|
};
|
|
423
420
|
const deserializeAws_json1_1CancelDataRepositoryTaskCommand = async (output, context) => {
|
|
@@ -439,7 +436,6 @@ const deserializeAws_json1_1CancelDataRepositoryTaskCommandError = async (output
|
|
|
439
436
|
...output,
|
|
440
437
|
body: await parseBody(output.body, context),
|
|
441
438
|
};
|
|
442
|
-
let response;
|
|
443
439
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
444
440
|
switch (errorCode) {
|
|
445
441
|
case "BadRequest":
|
|
@@ -459,14 +455,12 @@ const deserializeAws_json1_1CancelDataRepositoryTaskCommandError = async (output
|
|
|
459
455
|
throw await deserializeAws_json1_1UnsupportedOperationResponse(parsedOutput, context);
|
|
460
456
|
default:
|
|
461
457
|
const parsedBody = parsedOutput.body;
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
$metadata,
|
|
458
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
459
|
+
output,
|
|
460
|
+
parsedBody,
|
|
461
|
+
exceptionCtor: FSxServiceException_1.FSxServiceException,
|
|
462
|
+
errorCode,
|
|
468
463
|
});
|
|
469
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
470
464
|
}
|
|
471
465
|
};
|
|
472
466
|
const deserializeAws_json1_1CopyBackupCommand = async (output, context) => {
|
|
@@ -488,7 +482,6 @@ const deserializeAws_json1_1CopyBackupCommandError = async (output, context) =>
|
|
|
488
482
|
...output,
|
|
489
483
|
body: await parseBody(output.body, context),
|
|
490
484
|
};
|
|
491
|
-
let response;
|
|
492
485
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
493
486
|
switch (errorCode) {
|
|
494
487
|
case "BackupNotFound":
|
|
@@ -526,14 +519,12 @@ const deserializeAws_json1_1CopyBackupCommandError = async (output, context) =>
|
|
|
526
519
|
throw await deserializeAws_json1_1UnsupportedOperationResponse(parsedOutput, context);
|
|
527
520
|
default:
|
|
528
521
|
const parsedBody = parsedOutput.body;
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
$metadata,
|
|
522
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
523
|
+
output,
|
|
524
|
+
parsedBody,
|
|
525
|
+
exceptionCtor: FSxServiceException_1.FSxServiceException,
|
|
526
|
+
errorCode,
|
|
535
527
|
});
|
|
536
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
537
528
|
}
|
|
538
529
|
};
|
|
539
530
|
const deserializeAws_json1_1CreateBackupCommand = async (output, context) => {
|
|
@@ -555,7 +546,6 @@ const deserializeAws_json1_1CreateBackupCommandError = async (output, context) =
|
|
|
555
546
|
...output,
|
|
556
547
|
body: await parseBody(output.body, context),
|
|
557
548
|
};
|
|
558
|
-
let response;
|
|
559
549
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
560
550
|
switch (errorCode) {
|
|
561
551
|
case "BackupInProgress":
|
|
@@ -584,14 +574,12 @@ const deserializeAws_json1_1CreateBackupCommandError = async (output, context) =
|
|
|
584
574
|
throw await deserializeAws_json1_1VolumeNotFoundResponse(parsedOutput, context);
|
|
585
575
|
default:
|
|
586
576
|
const parsedBody = parsedOutput.body;
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
$metadata,
|
|
577
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
578
|
+
output,
|
|
579
|
+
parsedBody,
|
|
580
|
+
exceptionCtor: FSxServiceException_1.FSxServiceException,
|
|
581
|
+
errorCode,
|
|
593
582
|
});
|
|
594
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
595
583
|
}
|
|
596
584
|
};
|
|
597
585
|
const deserializeAws_json1_1CreateDataRepositoryAssociationCommand = async (output, context) => {
|
|
@@ -613,7 +601,6 @@ const deserializeAws_json1_1CreateDataRepositoryAssociationCommandError = async
|
|
|
613
601
|
...output,
|
|
614
602
|
body: await parseBody(output.body, context),
|
|
615
603
|
};
|
|
616
|
-
let response;
|
|
617
604
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
618
605
|
switch (errorCode) {
|
|
619
606
|
case "BadRequest":
|
|
@@ -636,14 +623,12 @@ const deserializeAws_json1_1CreateDataRepositoryAssociationCommandError = async
|
|
|
636
623
|
throw await deserializeAws_json1_1UnsupportedOperationResponse(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: FSxServiceException_1.FSxServiceException,
|
|
630
|
+
errorCode,
|
|
645
631
|
});
|
|
646
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
647
632
|
}
|
|
648
633
|
};
|
|
649
634
|
const deserializeAws_json1_1CreateDataRepositoryTaskCommand = async (output, context) => {
|
|
@@ -665,7 +650,6 @@ const deserializeAws_json1_1CreateDataRepositoryTaskCommandError = 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 "BadRequest":
|
|
@@ -691,14 +675,12 @@ const deserializeAws_json1_1CreateDataRepositoryTaskCommandError = async (output
|
|
|
691
675
|
throw await deserializeAws_json1_1UnsupportedOperationResponse(parsedOutput, context);
|
|
692
676
|
default:
|
|
693
677
|
const parsedBody = parsedOutput.body;
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
$metadata,
|
|
678
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
679
|
+
output,
|
|
680
|
+
parsedBody,
|
|
681
|
+
exceptionCtor: FSxServiceException_1.FSxServiceException,
|
|
682
|
+
errorCode,
|
|
700
683
|
});
|
|
701
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
702
684
|
}
|
|
703
685
|
};
|
|
704
686
|
const deserializeAws_json1_1CreateFileSystemCommand = async (output, context) => {
|
|
@@ -720,7 +702,6 @@ const deserializeAws_json1_1CreateFileSystemCommandError = async (output, contex
|
|
|
720
702
|
...output,
|
|
721
703
|
body: await parseBody(output.body, context),
|
|
722
704
|
};
|
|
723
|
-
let response;
|
|
724
705
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
725
706
|
switch (errorCode) {
|
|
726
707
|
case "ActiveDirectoryError":
|
|
@@ -755,14 +736,12 @@ const deserializeAws_json1_1CreateFileSystemCommandError = async (output, contex
|
|
|
755
736
|
throw await deserializeAws_json1_1ServiceLimitExceededResponse(parsedOutput, context);
|
|
756
737
|
default:
|
|
757
738
|
const parsedBody = parsedOutput.body;
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
$metadata,
|
|
739
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
740
|
+
output,
|
|
741
|
+
parsedBody,
|
|
742
|
+
exceptionCtor: FSxServiceException_1.FSxServiceException,
|
|
743
|
+
errorCode,
|
|
764
744
|
});
|
|
765
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
766
745
|
}
|
|
767
746
|
};
|
|
768
747
|
const deserializeAws_json1_1CreateFileSystemFromBackupCommand = async (output, context) => {
|
|
@@ -784,7 +763,6 @@ const deserializeAws_json1_1CreateFileSystemFromBackupCommandError = async (outp
|
|
|
784
763
|
...output,
|
|
785
764
|
body: await parseBody(output.body, context),
|
|
786
765
|
};
|
|
787
|
-
let response;
|
|
788
766
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
789
767
|
switch (errorCode) {
|
|
790
768
|
case "ActiveDirectoryError":
|
|
@@ -816,14 +794,12 @@ const deserializeAws_json1_1CreateFileSystemFromBackupCommandError = async (outp
|
|
|
816
794
|
throw await deserializeAws_json1_1ServiceLimitExceededResponse(parsedOutput, context);
|
|
817
795
|
default:
|
|
818
796
|
const parsedBody = parsedOutput.body;
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
$metadata,
|
|
797
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
798
|
+
output,
|
|
799
|
+
parsedBody,
|
|
800
|
+
exceptionCtor: FSxServiceException_1.FSxServiceException,
|
|
801
|
+
errorCode,
|
|
825
802
|
});
|
|
826
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
827
803
|
}
|
|
828
804
|
};
|
|
829
805
|
const deserializeAws_json1_1CreateSnapshotCommand = async (output, context) => {
|
|
@@ -845,7 +821,6 @@ const deserializeAws_json1_1CreateSnapshotCommandError = async (output, context)
|
|
|
845
821
|
...output,
|
|
846
822
|
body: await parseBody(output.body, context),
|
|
847
823
|
};
|
|
848
|
-
let response;
|
|
849
824
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
850
825
|
switch (errorCode) {
|
|
851
826
|
case "BadRequest":
|
|
@@ -862,14 +837,12 @@ const deserializeAws_json1_1CreateSnapshotCommandError = async (output, context)
|
|
|
862
837
|
throw await deserializeAws_json1_1VolumeNotFoundResponse(parsedOutput, context);
|
|
863
838
|
default:
|
|
864
839
|
const parsedBody = parsedOutput.body;
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
$metadata,
|
|
840
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
841
|
+
output,
|
|
842
|
+
parsedBody,
|
|
843
|
+
exceptionCtor: FSxServiceException_1.FSxServiceException,
|
|
844
|
+
errorCode,
|
|
871
845
|
});
|
|
872
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
873
846
|
}
|
|
874
847
|
};
|
|
875
848
|
const deserializeAws_json1_1CreateStorageVirtualMachineCommand = async (output, context) => {
|
|
@@ -891,7 +864,6 @@ const deserializeAws_json1_1CreateStorageVirtualMachineCommandError = async (out
|
|
|
891
864
|
...output,
|
|
892
865
|
body: await parseBody(output.body, context),
|
|
893
866
|
};
|
|
894
|
-
let response;
|
|
895
867
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
896
868
|
switch (errorCode) {
|
|
897
869
|
case "ActiveDirectoryError":
|
|
@@ -917,14 +889,12 @@ const deserializeAws_json1_1CreateStorageVirtualMachineCommandError = async (out
|
|
|
917
889
|
throw await deserializeAws_json1_1UnsupportedOperationResponse(parsedOutput, context);
|
|
918
890
|
default:
|
|
919
891
|
const parsedBody = parsedOutput.body;
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
$metadata,
|
|
892
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
893
|
+
output,
|
|
894
|
+
parsedBody,
|
|
895
|
+
exceptionCtor: FSxServiceException_1.FSxServiceException,
|
|
896
|
+
errorCode,
|
|
926
897
|
});
|
|
927
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
928
898
|
}
|
|
929
899
|
};
|
|
930
900
|
const deserializeAws_json1_1CreateVolumeCommand = async (output, context) => {
|
|
@@ -946,7 +916,6 @@ const deserializeAws_json1_1CreateVolumeCommandError = async (output, context) =
|
|
|
946
916
|
...output,
|
|
947
917
|
body: await parseBody(output.body, context),
|
|
948
918
|
};
|
|
949
|
-
let response;
|
|
950
919
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
951
920
|
switch (errorCode) {
|
|
952
921
|
case "BadRequest":
|
|
@@ -975,14 +944,12 @@ const deserializeAws_json1_1CreateVolumeCommandError = async (output, context) =
|
|
|
975
944
|
throw await deserializeAws_json1_1UnsupportedOperationResponse(parsedOutput, context);
|
|
976
945
|
default:
|
|
977
946
|
const parsedBody = parsedOutput.body;
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
$metadata,
|
|
947
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
948
|
+
output,
|
|
949
|
+
parsedBody,
|
|
950
|
+
exceptionCtor: FSxServiceException_1.FSxServiceException,
|
|
951
|
+
errorCode,
|
|
984
952
|
});
|
|
985
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
986
953
|
}
|
|
987
954
|
};
|
|
988
955
|
const deserializeAws_json1_1CreateVolumeFromBackupCommand = async (output, context) => {
|
|
@@ -1004,7 +971,6 @@ const deserializeAws_json1_1CreateVolumeFromBackupCommandError = async (output,
|
|
|
1004
971
|
...output,
|
|
1005
972
|
body: await parseBody(output.body, context),
|
|
1006
973
|
};
|
|
1007
|
-
let response;
|
|
1008
974
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1009
975
|
switch (errorCode) {
|
|
1010
976
|
case "BackupNotFound":
|
|
@@ -1033,14 +999,12 @@ const deserializeAws_json1_1CreateVolumeFromBackupCommandError = async (output,
|
|
|
1033
999
|
throw await deserializeAws_json1_1StorageVirtualMachineNotFoundResponse(parsedOutput, context);
|
|
1034
1000
|
default:
|
|
1035
1001
|
const parsedBody = parsedOutput.body;
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
$metadata,
|
|
1002
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1003
|
+
output,
|
|
1004
|
+
parsedBody,
|
|
1005
|
+
exceptionCtor: FSxServiceException_1.FSxServiceException,
|
|
1006
|
+
errorCode,
|
|
1042
1007
|
});
|
|
1043
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1044
1008
|
}
|
|
1045
1009
|
};
|
|
1046
1010
|
const deserializeAws_json1_1DeleteBackupCommand = async (output, context) => {
|
|
@@ -1062,7 +1026,6 @@ const deserializeAws_json1_1DeleteBackupCommandError = async (output, context) =
|
|
|
1062
1026
|
...output,
|
|
1063
1027
|
body: await parseBody(output.body, context),
|
|
1064
1028
|
};
|
|
1065
|
-
let response;
|
|
1066
1029
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1067
1030
|
switch (errorCode) {
|
|
1068
1031
|
case "BackupBeingCopied":
|
|
@@ -1088,14 +1051,12 @@ const deserializeAws_json1_1DeleteBackupCommandError = async (output, context) =
|
|
|
1088
1051
|
throw await deserializeAws_json1_1InternalServerErrorResponse(parsedOutput, context);
|
|
1089
1052
|
default:
|
|
1090
1053
|
const parsedBody = parsedOutput.body;
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
$metadata,
|
|
1054
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1055
|
+
output,
|
|
1056
|
+
parsedBody,
|
|
1057
|
+
exceptionCtor: FSxServiceException_1.FSxServiceException,
|
|
1058
|
+
errorCode,
|
|
1097
1059
|
});
|
|
1098
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1099
1060
|
}
|
|
1100
1061
|
};
|
|
1101
1062
|
const deserializeAws_json1_1DeleteDataRepositoryAssociationCommand = async (output, context) => {
|
|
@@ -1117,7 +1078,6 @@ const deserializeAws_json1_1DeleteDataRepositoryAssociationCommandError = async
|
|
|
1117
1078
|
...output,
|
|
1118
1079
|
body: await parseBody(output.body, context),
|
|
1119
1080
|
};
|
|
1120
|
-
let response;
|
|
1121
1081
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1122
1082
|
switch (errorCode) {
|
|
1123
1083
|
case "BadRequest":
|
|
@@ -1137,14 +1097,12 @@ const deserializeAws_json1_1DeleteDataRepositoryAssociationCommandError = async
|
|
|
1137
1097
|
throw await deserializeAws_json1_1ServiceLimitExceededResponse(parsedOutput, context);
|
|
1138
1098
|
default:
|
|
1139
1099
|
const parsedBody = parsedOutput.body;
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
$metadata,
|
|
1100
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1101
|
+
output,
|
|
1102
|
+
parsedBody,
|
|
1103
|
+
exceptionCtor: FSxServiceException_1.FSxServiceException,
|
|
1104
|
+
errorCode,
|
|
1146
1105
|
});
|
|
1147
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1148
1106
|
}
|
|
1149
1107
|
};
|
|
1150
1108
|
const deserializeAws_json1_1DeleteFileSystemCommand = async (output, context) => {
|
|
@@ -1166,7 +1124,6 @@ const deserializeAws_json1_1DeleteFileSystemCommandError = async (output, contex
|
|
|
1166
1124
|
...output,
|
|
1167
1125
|
body: await parseBody(output.body, context),
|
|
1168
1126
|
};
|
|
1169
|
-
let response;
|
|
1170
1127
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1171
1128
|
switch (errorCode) {
|
|
1172
1129
|
case "BadRequest":
|
|
@@ -1186,14 +1143,12 @@ const deserializeAws_json1_1DeleteFileSystemCommandError = async (output, contex
|
|
|
1186
1143
|
throw await deserializeAws_json1_1ServiceLimitExceededResponse(parsedOutput, context);
|
|
1187
1144
|
default:
|
|
1188
1145
|
const parsedBody = parsedOutput.body;
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
$metadata,
|
|
1146
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1147
|
+
output,
|
|
1148
|
+
parsedBody,
|
|
1149
|
+
exceptionCtor: FSxServiceException_1.FSxServiceException,
|
|
1150
|
+
errorCode,
|
|
1195
1151
|
});
|
|
1196
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1197
1152
|
}
|
|
1198
1153
|
};
|
|
1199
1154
|
const deserializeAws_json1_1DeleteSnapshotCommand = async (output, context) => {
|
|
@@ -1215,7 +1170,6 @@ const deserializeAws_json1_1DeleteSnapshotCommandError = async (output, context)
|
|
|
1215
1170
|
...output,
|
|
1216
1171
|
body: await parseBody(output.body, context),
|
|
1217
1172
|
};
|
|
1218
|
-
let response;
|
|
1219
1173
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1220
1174
|
switch (errorCode) {
|
|
1221
1175
|
case "BadRequest":
|
|
@@ -1229,14 +1183,12 @@ const deserializeAws_json1_1DeleteSnapshotCommandError = async (output, context)
|
|
|
1229
1183
|
throw await deserializeAws_json1_1SnapshotNotFoundResponse(parsedOutput, context);
|
|
1230
1184
|
default:
|
|
1231
1185
|
const parsedBody = parsedOutput.body;
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
$metadata,
|
|
1186
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1187
|
+
output,
|
|
1188
|
+
parsedBody,
|
|
1189
|
+
exceptionCtor: FSxServiceException_1.FSxServiceException,
|
|
1190
|
+
errorCode,
|
|
1238
1191
|
});
|
|
1239
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1240
1192
|
}
|
|
1241
1193
|
};
|
|
1242
1194
|
const deserializeAws_json1_1DeleteStorageVirtualMachineCommand = async (output, context) => {
|
|
@@ -1258,7 +1210,6 @@ const deserializeAws_json1_1DeleteStorageVirtualMachineCommandError = async (out
|
|
|
1258
1210
|
...output,
|
|
1259
1211
|
body: await parseBody(output.body, context),
|
|
1260
1212
|
};
|
|
1261
|
-
let response;
|
|
1262
1213
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1263
1214
|
switch (errorCode) {
|
|
1264
1215
|
case "BadRequest":
|
|
@@ -1275,14 +1226,12 @@ const deserializeAws_json1_1DeleteStorageVirtualMachineCommandError = async (out
|
|
|
1275
1226
|
throw await deserializeAws_json1_1StorageVirtualMachineNotFoundResponse(parsedOutput, context);
|
|
1276
1227
|
default:
|
|
1277
1228
|
const parsedBody = parsedOutput.body;
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
$metadata,
|
|
1229
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1230
|
+
output,
|
|
1231
|
+
parsedBody,
|
|
1232
|
+
exceptionCtor: FSxServiceException_1.FSxServiceException,
|
|
1233
|
+
errorCode,
|
|
1284
1234
|
});
|
|
1285
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1286
1235
|
}
|
|
1287
1236
|
};
|
|
1288
1237
|
const deserializeAws_json1_1DeleteVolumeCommand = async (output, context) => {
|
|
@@ -1304,7 +1253,6 @@ const deserializeAws_json1_1DeleteVolumeCommandError = async (output, context) =
|
|
|
1304
1253
|
...output,
|
|
1305
1254
|
body: await parseBody(output.body, context),
|
|
1306
1255
|
};
|
|
1307
|
-
let response;
|
|
1308
1256
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1309
1257
|
switch (errorCode) {
|
|
1310
1258
|
case "BadRequest":
|
|
@@ -1321,14 +1269,12 @@ const deserializeAws_json1_1DeleteVolumeCommandError = async (output, context) =
|
|
|
1321
1269
|
throw await deserializeAws_json1_1VolumeNotFoundResponse(parsedOutput, context);
|
|
1322
1270
|
default:
|
|
1323
1271
|
const parsedBody = parsedOutput.body;
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
$metadata,
|
|
1272
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1273
|
+
output,
|
|
1274
|
+
parsedBody,
|
|
1275
|
+
exceptionCtor: FSxServiceException_1.FSxServiceException,
|
|
1276
|
+
errorCode,
|
|
1330
1277
|
});
|
|
1331
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1332
1278
|
}
|
|
1333
1279
|
};
|
|
1334
1280
|
const deserializeAws_json1_1DescribeBackupsCommand = async (output, context) => {
|
|
@@ -1350,7 +1296,6 @@ const deserializeAws_json1_1DescribeBackupsCommandError = async (output, context
|
|
|
1350
1296
|
...output,
|
|
1351
1297
|
body: await parseBody(output.body, context),
|
|
1352
1298
|
};
|
|
1353
|
-
let response;
|
|
1354
1299
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1355
1300
|
switch (errorCode) {
|
|
1356
1301
|
case "BackupNotFound":
|
|
@@ -1370,14 +1315,12 @@ const deserializeAws_json1_1DescribeBackupsCommandError = async (output, context
|
|
|
1370
1315
|
throw await deserializeAws_json1_1VolumeNotFoundResponse(parsedOutput, context);
|
|
1371
1316
|
default:
|
|
1372
1317
|
const parsedBody = parsedOutput.body;
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
$metadata,
|
|
1318
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1319
|
+
output,
|
|
1320
|
+
parsedBody,
|
|
1321
|
+
exceptionCtor: FSxServiceException_1.FSxServiceException,
|
|
1322
|
+
errorCode,
|
|
1379
1323
|
});
|
|
1380
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1381
1324
|
}
|
|
1382
1325
|
};
|
|
1383
1326
|
const deserializeAws_json1_1DescribeDataRepositoryAssociationsCommand = async (output, context) => {
|
|
@@ -1399,7 +1342,6 @@ const deserializeAws_json1_1DescribeDataRepositoryAssociationsCommandError = asy
|
|
|
1399
1342
|
...output,
|
|
1400
1343
|
body: await parseBody(output.body, context),
|
|
1401
1344
|
};
|
|
1402
|
-
let response;
|
|
1403
1345
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1404
1346
|
switch (errorCode) {
|
|
1405
1347
|
case "BadRequest":
|
|
@@ -1419,14 +1361,12 @@ const deserializeAws_json1_1DescribeDataRepositoryAssociationsCommandError = asy
|
|
|
1419
1361
|
throw await deserializeAws_json1_1InvalidDataRepositoryTypeResponse(parsedOutput, context);
|
|
1420
1362
|
default:
|
|
1421
1363
|
const parsedBody = parsedOutput.body;
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
$metadata,
|
|
1364
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1365
|
+
output,
|
|
1366
|
+
parsedBody,
|
|
1367
|
+
exceptionCtor: FSxServiceException_1.FSxServiceException,
|
|
1368
|
+
errorCode,
|
|
1428
1369
|
});
|
|
1429
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1430
1370
|
}
|
|
1431
1371
|
};
|
|
1432
1372
|
const deserializeAws_json1_1DescribeDataRepositoryTasksCommand = async (output, context) => {
|
|
@@ -1448,7 +1388,6 @@ const deserializeAws_json1_1DescribeDataRepositoryTasksCommandError = async (out
|
|
|
1448
1388
|
...output,
|
|
1449
1389
|
body: await parseBody(output.body, context),
|
|
1450
1390
|
};
|
|
1451
|
-
let response;
|
|
1452
1391
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1453
1392
|
switch (errorCode) {
|
|
1454
1393
|
case "BadRequest":
|
|
@@ -1465,14 +1404,12 @@ const deserializeAws_json1_1DescribeDataRepositoryTasksCommandError = async (out
|
|
|
1465
1404
|
throw await deserializeAws_json1_1InternalServerErrorResponse(parsedOutput, context);
|
|
1466
1405
|
default:
|
|
1467
1406
|
const parsedBody = parsedOutput.body;
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
$metadata,
|
|
1407
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1408
|
+
output,
|
|
1409
|
+
parsedBody,
|
|
1410
|
+
exceptionCtor: FSxServiceException_1.FSxServiceException,
|
|
1411
|
+
errorCode,
|
|
1474
1412
|
});
|
|
1475
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1476
1413
|
}
|
|
1477
1414
|
};
|
|
1478
1415
|
const deserializeAws_json1_1DescribeFileSystemAliasesCommand = async (output, context) => {
|
|
@@ -1494,7 +1431,6 @@ const deserializeAws_json1_1DescribeFileSystemAliasesCommandError = async (outpu
|
|
|
1494
1431
|
...output,
|
|
1495
1432
|
body: await parseBody(output.body, context),
|
|
1496
1433
|
};
|
|
1497
|
-
let response;
|
|
1498
1434
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1499
1435
|
switch (errorCode) {
|
|
1500
1436
|
case "BadRequest":
|
|
@@ -1508,14 +1444,12 @@ const deserializeAws_json1_1DescribeFileSystemAliasesCommandError = async (outpu
|
|
|
1508
1444
|
throw await deserializeAws_json1_1InternalServerErrorResponse(parsedOutput, context);
|
|
1509
1445
|
default:
|
|
1510
1446
|
const parsedBody = parsedOutput.body;
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
$metadata,
|
|
1447
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1448
|
+
output,
|
|
1449
|
+
parsedBody,
|
|
1450
|
+
exceptionCtor: FSxServiceException_1.FSxServiceException,
|
|
1451
|
+
errorCode,
|
|
1517
1452
|
});
|
|
1518
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1519
1453
|
}
|
|
1520
1454
|
};
|
|
1521
1455
|
const deserializeAws_json1_1DescribeFileSystemsCommand = async (output, context) => {
|
|
@@ -1537,7 +1471,6 @@ const deserializeAws_json1_1DescribeFileSystemsCommandError = async (output, con
|
|
|
1537
1471
|
...output,
|
|
1538
1472
|
body: await parseBody(output.body, context),
|
|
1539
1473
|
};
|
|
1540
|
-
let response;
|
|
1541
1474
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1542
1475
|
switch (errorCode) {
|
|
1543
1476
|
case "BadRequest":
|
|
@@ -1551,14 +1484,12 @@ const deserializeAws_json1_1DescribeFileSystemsCommandError = async (output, con
|
|
|
1551
1484
|
throw await deserializeAws_json1_1InternalServerErrorResponse(parsedOutput, context);
|
|
1552
1485
|
default:
|
|
1553
1486
|
const parsedBody = parsedOutput.body;
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
$metadata,
|
|
1487
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1488
|
+
output,
|
|
1489
|
+
parsedBody,
|
|
1490
|
+
exceptionCtor: FSxServiceException_1.FSxServiceException,
|
|
1491
|
+
errorCode,
|
|
1560
1492
|
});
|
|
1561
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1562
1493
|
}
|
|
1563
1494
|
};
|
|
1564
1495
|
const deserializeAws_json1_1DescribeSnapshotsCommand = async (output, context) => {
|
|
@@ -1580,7 +1511,6 @@ const deserializeAws_json1_1DescribeSnapshotsCommandError = async (output, conte
|
|
|
1580
1511
|
...output,
|
|
1581
1512
|
body: await parseBody(output.body, context),
|
|
1582
1513
|
};
|
|
1583
|
-
let response;
|
|
1584
1514
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1585
1515
|
switch (errorCode) {
|
|
1586
1516
|
case "BadRequest":
|
|
@@ -1594,14 +1524,12 @@ const deserializeAws_json1_1DescribeSnapshotsCommandError = async (output, conte
|
|
|
1594
1524
|
throw await deserializeAws_json1_1SnapshotNotFoundResponse(parsedOutput, context);
|
|
1595
1525
|
default:
|
|
1596
1526
|
const parsedBody = parsedOutput.body;
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
$metadata,
|
|
1527
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1528
|
+
output,
|
|
1529
|
+
parsedBody,
|
|
1530
|
+
exceptionCtor: FSxServiceException_1.FSxServiceException,
|
|
1531
|
+
errorCode,
|
|
1603
1532
|
});
|
|
1604
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1605
1533
|
}
|
|
1606
1534
|
};
|
|
1607
1535
|
const deserializeAws_json1_1DescribeStorageVirtualMachinesCommand = async (output, context) => {
|
|
@@ -1623,7 +1551,6 @@ const deserializeAws_json1_1DescribeStorageVirtualMachinesCommandError = async (
|
|
|
1623
1551
|
...output,
|
|
1624
1552
|
body: await parseBody(output.body, context),
|
|
1625
1553
|
};
|
|
1626
|
-
let response;
|
|
1627
1554
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1628
1555
|
switch (errorCode) {
|
|
1629
1556
|
case "BadRequest":
|
|
@@ -1637,14 +1564,12 @@ const deserializeAws_json1_1DescribeStorageVirtualMachinesCommandError = async (
|
|
|
1637
1564
|
throw await deserializeAws_json1_1StorageVirtualMachineNotFoundResponse(parsedOutput, context);
|
|
1638
1565
|
default:
|
|
1639
1566
|
const parsedBody = parsedOutput.body;
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
$metadata,
|
|
1567
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1568
|
+
output,
|
|
1569
|
+
parsedBody,
|
|
1570
|
+
exceptionCtor: FSxServiceException_1.FSxServiceException,
|
|
1571
|
+
errorCode,
|
|
1646
1572
|
});
|
|
1647
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1648
1573
|
}
|
|
1649
1574
|
};
|
|
1650
1575
|
const deserializeAws_json1_1DescribeVolumesCommand = async (output, context) => {
|
|
@@ -1666,7 +1591,6 @@ const deserializeAws_json1_1DescribeVolumesCommandError = async (output, context
|
|
|
1666
1591
|
...output,
|
|
1667
1592
|
body: await parseBody(output.body, context),
|
|
1668
1593
|
};
|
|
1669
|
-
let response;
|
|
1670
1594
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1671
1595
|
switch (errorCode) {
|
|
1672
1596
|
case "BadRequest":
|
|
@@ -1680,14 +1604,12 @@ const deserializeAws_json1_1DescribeVolumesCommandError = async (output, context
|
|
|
1680
1604
|
throw await deserializeAws_json1_1VolumeNotFoundResponse(parsedOutput, context);
|
|
1681
1605
|
default:
|
|
1682
1606
|
const parsedBody = parsedOutput.body;
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
$metadata,
|
|
1607
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1608
|
+
output,
|
|
1609
|
+
parsedBody,
|
|
1610
|
+
exceptionCtor: FSxServiceException_1.FSxServiceException,
|
|
1611
|
+
errorCode,
|
|
1689
1612
|
});
|
|
1690
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1691
1613
|
}
|
|
1692
1614
|
};
|
|
1693
1615
|
const deserializeAws_json1_1DisassociateFileSystemAliasesCommand = async (output, context) => {
|
|
@@ -1709,7 +1631,6 @@ const deserializeAws_json1_1DisassociateFileSystemAliasesCommandError = async (o
|
|
|
1709
1631
|
...output,
|
|
1710
1632
|
body: await parseBody(output.body, context),
|
|
1711
1633
|
};
|
|
1712
|
-
let response;
|
|
1713
1634
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1714
1635
|
switch (errorCode) {
|
|
1715
1636
|
case "BadRequest":
|
|
@@ -1723,14 +1644,12 @@ const deserializeAws_json1_1DisassociateFileSystemAliasesCommandError = async (o
|
|
|
1723
1644
|
throw await deserializeAws_json1_1InternalServerErrorResponse(parsedOutput, context);
|
|
1724
1645
|
default:
|
|
1725
1646
|
const parsedBody = parsedOutput.body;
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
$metadata,
|
|
1647
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1648
|
+
output,
|
|
1649
|
+
parsedBody,
|
|
1650
|
+
exceptionCtor: FSxServiceException_1.FSxServiceException,
|
|
1651
|
+
errorCode,
|
|
1732
1652
|
});
|
|
1733
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1734
1653
|
}
|
|
1735
1654
|
};
|
|
1736
1655
|
const deserializeAws_json1_1ListTagsForResourceCommand = async (output, context) => {
|
|
@@ -1752,7 +1671,6 @@ const deserializeAws_json1_1ListTagsForResourceCommandError = async (output, con
|
|
|
1752
1671
|
...output,
|
|
1753
1672
|
body: await parseBody(output.body, context),
|
|
1754
1673
|
};
|
|
1755
|
-
let response;
|
|
1756
1674
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1757
1675
|
switch (errorCode) {
|
|
1758
1676
|
case "BadRequest":
|
|
@@ -1772,14 +1690,12 @@ const deserializeAws_json1_1ListTagsForResourceCommandError = async (output, con
|
|
|
1772
1690
|
throw await deserializeAws_json1_1ResourceNotFoundResponse(parsedOutput, context);
|
|
1773
1691
|
default:
|
|
1774
1692
|
const parsedBody = parsedOutput.body;
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
$metadata,
|
|
1693
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1694
|
+
output,
|
|
1695
|
+
parsedBody,
|
|
1696
|
+
exceptionCtor: FSxServiceException_1.FSxServiceException,
|
|
1697
|
+
errorCode,
|
|
1781
1698
|
});
|
|
1782
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1783
1699
|
}
|
|
1784
1700
|
};
|
|
1785
1701
|
const deserializeAws_json1_1ReleaseFileSystemNfsV3LocksCommand = async (output, context) => {
|
|
@@ -1801,7 +1717,6 @@ const deserializeAws_json1_1ReleaseFileSystemNfsV3LocksCommandError = async (out
|
|
|
1801
1717
|
...output,
|
|
1802
1718
|
body: await parseBody(output.body, context),
|
|
1803
1719
|
};
|
|
1804
|
-
let response;
|
|
1805
1720
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1806
1721
|
switch (errorCode) {
|
|
1807
1722
|
case "BadRequest":
|
|
@@ -1821,14 +1736,12 @@ const deserializeAws_json1_1ReleaseFileSystemNfsV3LocksCommandError = async (out
|
|
|
1821
1736
|
throw await deserializeAws_json1_1ServiceLimitExceededResponse(parsedOutput, context);
|
|
1822
1737
|
default:
|
|
1823
1738
|
const parsedBody = parsedOutput.body;
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
$metadata,
|
|
1739
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1740
|
+
output,
|
|
1741
|
+
parsedBody,
|
|
1742
|
+
exceptionCtor: FSxServiceException_1.FSxServiceException,
|
|
1743
|
+
errorCode,
|
|
1830
1744
|
});
|
|
1831
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1832
1745
|
}
|
|
1833
1746
|
};
|
|
1834
1747
|
const deserializeAws_json1_1RestoreVolumeFromSnapshotCommand = async (output, context) => {
|
|
@@ -1850,7 +1763,6 @@ const deserializeAws_json1_1RestoreVolumeFromSnapshotCommandError = async (outpu
|
|
|
1850
1763
|
...output,
|
|
1851
1764
|
body: await parseBody(output.body, context),
|
|
1852
1765
|
};
|
|
1853
|
-
let response;
|
|
1854
1766
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1855
1767
|
switch (errorCode) {
|
|
1856
1768
|
case "BadRequest":
|
|
@@ -1864,14 +1776,12 @@ const deserializeAws_json1_1RestoreVolumeFromSnapshotCommandError = async (outpu
|
|
|
1864
1776
|
throw await deserializeAws_json1_1VolumeNotFoundResponse(parsedOutput, context);
|
|
1865
1777
|
default:
|
|
1866
1778
|
const parsedBody = parsedOutput.body;
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
|
-
|
|
1872
|
-
$metadata,
|
|
1779
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1780
|
+
output,
|
|
1781
|
+
parsedBody,
|
|
1782
|
+
exceptionCtor: FSxServiceException_1.FSxServiceException,
|
|
1783
|
+
errorCode,
|
|
1873
1784
|
});
|
|
1874
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1875
1785
|
}
|
|
1876
1786
|
};
|
|
1877
1787
|
const deserializeAws_json1_1TagResourceCommand = async (output, context) => {
|
|
@@ -1893,7 +1803,6 @@ const deserializeAws_json1_1TagResourceCommandError = async (output, context) =>
|
|
|
1893
1803
|
...output,
|
|
1894
1804
|
body: await parseBody(output.body, context),
|
|
1895
1805
|
};
|
|
1896
|
-
let response;
|
|
1897
1806
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1898
1807
|
switch (errorCode) {
|
|
1899
1808
|
case "BadRequest":
|
|
@@ -1913,14 +1822,12 @@ const deserializeAws_json1_1TagResourceCommandError = async (output, context) =>
|
|
|
1913
1822
|
throw await deserializeAws_json1_1ResourceNotFoundResponse(parsedOutput, context);
|
|
1914
1823
|
default:
|
|
1915
1824
|
const parsedBody = parsedOutput.body;
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
|
|
1919
|
-
|
|
1920
|
-
|
|
1921
|
-
$metadata,
|
|
1825
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1826
|
+
output,
|
|
1827
|
+
parsedBody,
|
|
1828
|
+
exceptionCtor: FSxServiceException_1.FSxServiceException,
|
|
1829
|
+
errorCode,
|
|
1922
1830
|
});
|
|
1923
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1924
1831
|
}
|
|
1925
1832
|
};
|
|
1926
1833
|
const deserializeAws_json1_1UntagResourceCommand = async (output, context) => {
|
|
@@ -1942,7 +1849,6 @@ const deserializeAws_json1_1UntagResourceCommandError = async (output, context)
|
|
|
1942
1849
|
...output,
|
|
1943
1850
|
body: await parseBody(output.body, context),
|
|
1944
1851
|
};
|
|
1945
|
-
let response;
|
|
1946
1852
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1947
1853
|
switch (errorCode) {
|
|
1948
1854
|
case "BadRequest":
|
|
@@ -1962,14 +1868,12 @@ const deserializeAws_json1_1UntagResourceCommandError = async (output, context)
|
|
|
1962
1868
|
throw await deserializeAws_json1_1ResourceNotFoundResponse(parsedOutput, context);
|
|
1963
1869
|
default:
|
|
1964
1870
|
const parsedBody = parsedOutput.body;
|
|
1965
|
-
|
|
1966
|
-
|
|
1967
|
-
|
|
1968
|
-
|
|
1969
|
-
|
|
1970
|
-
$metadata,
|
|
1871
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1872
|
+
output,
|
|
1873
|
+
parsedBody,
|
|
1874
|
+
exceptionCtor: FSxServiceException_1.FSxServiceException,
|
|
1875
|
+
errorCode,
|
|
1971
1876
|
});
|
|
1972
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1973
1877
|
}
|
|
1974
1878
|
};
|
|
1975
1879
|
const deserializeAws_json1_1UpdateDataRepositoryAssociationCommand = async (output, context) => {
|
|
@@ -1991,7 +1895,6 @@ const deserializeAws_json1_1UpdateDataRepositoryAssociationCommandError = async
|
|
|
1991
1895
|
...output,
|
|
1992
1896
|
body: await parseBody(output.body, context),
|
|
1993
1897
|
};
|
|
1994
|
-
let response;
|
|
1995
1898
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1996
1899
|
switch (errorCode) {
|
|
1997
1900
|
case "BadRequest":
|
|
@@ -2011,14 +1914,12 @@ const deserializeAws_json1_1UpdateDataRepositoryAssociationCommandError = async
|
|
|
2011
1914
|
throw await deserializeAws_json1_1ServiceLimitExceededResponse(parsedOutput, context);
|
|
2012
1915
|
default:
|
|
2013
1916
|
const parsedBody = parsedOutput.body;
|
|
2014
|
-
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
|
|
2018
|
-
|
|
2019
|
-
$metadata,
|
|
1917
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1918
|
+
output,
|
|
1919
|
+
parsedBody,
|
|
1920
|
+
exceptionCtor: FSxServiceException_1.FSxServiceException,
|
|
1921
|
+
errorCode,
|
|
2020
1922
|
});
|
|
2021
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2022
1923
|
}
|
|
2023
1924
|
};
|
|
2024
1925
|
const deserializeAws_json1_1UpdateFileSystemCommand = async (output, context) => {
|
|
@@ -2040,7 +1941,6 @@ const deserializeAws_json1_1UpdateFileSystemCommandError = async (output, contex
|
|
|
2040
1941
|
...output,
|
|
2041
1942
|
body: await parseBody(output.body, context),
|
|
2042
1943
|
};
|
|
2043
|
-
let response;
|
|
2044
1944
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2045
1945
|
switch (errorCode) {
|
|
2046
1946
|
case "BadRequest":
|
|
@@ -2066,14 +1966,12 @@ const deserializeAws_json1_1UpdateFileSystemCommandError = async (output, contex
|
|
|
2066
1966
|
throw await deserializeAws_json1_1UnsupportedOperationResponse(parsedOutput, context);
|
|
2067
1967
|
default:
|
|
2068
1968
|
const parsedBody = parsedOutput.body;
|
|
2069
|
-
|
|
2070
|
-
|
|
2071
|
-
|
|
2072
|
-
|
|
2073
|
-
|
|
2074
|
-
$metadata,
|
|
1969
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1970
|
+
output,
|
|
1971
|
+
parsedBody,
|
|
1972
|
+
exceptionCtor: FSxServiceException_1.FSxServiceException,
|
|
1973
|
+
errorCode,
|
|
2075
1974
|
});
|
|
2076
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2077
1975
|
}
|
|
2078
1976
|
};
|
|
2079
1977
|
const deserializeAws_json1_1UpdateSnapshotCommand = async (output, context) => {
|
|
@@ -2095,7 +1993,6 @@ const deserializeAws_json1_1UpdateSnapshotCommandError = async (output, context)
|
|
|
2095
1993
|
...output,
|
|
2096
1994
|
body: await parseBody(output.body, context),
|
|
2097
1995
|
};
|
|
2098
|
-
let response;
|
|
2099
1996
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2100
1997
|
switch (errorCode) {
|
|
2101
1998
|
case "BadRequest":
|
|
@@ -2109,14 +2006,12 @@ const deserializeAws_json1_1UpdateSnapshotCommandError = async (output, context)
|
|
|
2109
2006
|
throw await deserializeAws_json1_1SnapshotNotFoundResponse(parsedOutput, context);
|
|
2110
2007
|
default:
|
|
2111
2008
|
const parsedBody = parsedOutput.body;
|
|
2112
|
-
|
|
2113
|
-
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
|
-
|
|
2117
|
-
$metadata,
|
|
2009
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2010
|
+
output,
|
|
2011
|
+
parsedBody,
|
|
2012
|
+
exceptionCtor: FSxServiceException_1.FSxServiceException,
|
|
2013
|
+
errorCode,
|
|
2118
2014
|
});
|
|
2119
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2120
2015
|
}
|
|
2121
2016
|
};
|
|
2122
2017
|
const deserializeAws_json1_1UpdateStorageVirtualMachineCommand = async (output, context) => {
|
|
@@ -2138,7 +2033,6 @@ const deserializeAws_json1_1UpdateStorageVirtualMachineCommandError = async (out
|
|
|
2138
2033
|
...output,
|
|
2139
2034
|
body: await parseBody(output.body, context),
|
|
2140
2035
|
};
|
|
2141
|
-
let response;
|
|
2142
2036
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2143
2037
|
switch (errorCode) {
|
|
2144
2038
|
case "BadRequest":
|
|
@@ -2158,14 +2052,12 @@ const deserializeAws_json1_1UpdateStorageVirtualMachineCommandError = async (out
|
|
|
2158
2052
|
throw await deserializeAws_json1_1UnsupportedOperationResponse(parsedOutput, context);
|
|
2159
2053
|
default:
|
|
2160
2054
|
const parsedBody = parsedOutput.body;
|
|
2161
|
-
|
|
2162
|
-
|
|
2163
|
-
|
|
2164
|
-
|
|
2165
|
-
|
|
2166
|
-
$metadata,
|
|
2055
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2056
|
+
output,
|
|
2057
|
+
parsedBody,
|
|
2058
|
+
exceptionCtor: FSxServiceException_1.FSxServiceException,
|
|
2059
|
+
errorCode,
|
|
2167
2060
|
});
|
|
2168
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2169
2061
|
}
|
|
2170
2062
|
};
|
|
2171
2063
|
const deserializeAws_json1_1UpdateVolumeCommand = async (output, context) => {
|
|
@@ -2187,7 +2079,6 @@ const deserializeAws_json1_1UpdateVolumeCommandError = async (output, context) =
|
|
|
2187
2079
|
...output,
|
|
2188
2080
|
body: await parseBody(output.body, context),
|
|
2189
2081
|
};
|
|
2190
|
-
let response;
|
|
2191
2082
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2192
2083
|
switch (errorCode) {
|
|
2193
2084
|
case "BadRequest":
|
|
@@ -2207,14 +2098,12 @@ const deserializeAws_json1_1UpdateVolumeCommandError = async (output, context) =
|
|
|
2207
2098
|
throw await deserializeAws_json1_1VolumeNotFoundResponse(parsedOutput, context);
|
|
2208
2099
|
default:
|
|
2209
2100
|
const parsedBody = parsedOutput.body;
|
|
2210
|
-
|
|
2211
|
-
|
|
2212
|
-
|
|
2213
|
-
|
|
2214
|
-
|
|
2215
|
-
$metadata,
|
|
2101
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2102
|
+
output,
|
|
2103
|
+
parsedBody,
|
|
2104
|
+
exceptionCtor: FSxServiceException_1.FSxServiceException,
|
|
2105
|
+
errorCode,
|
|
2216
2106
|
});
|
|
2217
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2218
2107
|
}
|
|
2219
2108
|
};
|
|
2220
2109
|
const deserializeAws_json1_1ActiveDirectoryErrorResponse = async (parsedOutput, context) => {
|
|
@@ -2518,9 +2407,6 @@ const serializeAws_json1_1AlternateDNSNames = (input, context) => {
|
|
|
2518
2407
|
return input
|
|
2519
2408
|
.filter((e) => e != null)
|
|
2520
2409
|
.map((entry) => {
|
|
2521
|
-
if (entry === null) {
|
|
2522
|
-
return null;
|
|
2523
|
-
}
|
|
2524
2410
|
return entry;
|
|
2525
2411
|
});
|
|
2526
2412
|
};
|
|
@@ -2546,9 +2432,6 @@ const serializeAws_json1_1BackupIds = (input, context) => {
|
|
|
2546
2432
|
return input
|
|
2547
2433
|
.filter((e) => e != null)
|
|
2548
2434
|
.map((entry) => {
|
|
2549
|
-
if (entry === null) {
|
|
2550
|
-
return null;
|
|
2551
|
-
}
|
|
2552
2435
|
return entry;
|
|
2553
2436
|
});
|
|
2554
2437
|
};
|
|
@@ -2855,9 +2738,6 @@ const serializeAws_json1_1DataRepositoryAssociationIds = (input, context) => {
|
|
|
2855
2738
|
return input
|
|
2856
2739
|
.filter((e) => e != null)
|
|
2857
2740
|
.map((entry) => {
|
|
2858
|
-
if (entry === null) {
|
|
2859
|
-
return null;
|
|
2860
|
-
}
|
|
2861
2741
|
return entry;
|
|
2862
2742
|
});
|
|
2863
2743
|
};
|
|
@@ -2871,9 +2751,6 @@ const serializeAws_json1_1DataRepositoryTaskFilters = (input, context) => {
|
|
|
2871
2751
|
return input
|
|
2872
2752
|
.filter((e) => e != null)
|
|
2873
2753
|
.map((entry) => {
|
|
2874
|
-
if (entry === null) {
|
|
2875
|
-
return null;
|
|
2876
|
-
}
|
|
2877
2754
|
return serializeAws_json1_1DataRepositoryTaskFilter(entry, context);
|
|
2878
2755
|
});
|
|
2879
2756
|
};
|
|
@@ -2881,9 +2758,6 @@ const serializeAws_json1_1DataRepositoryTaskFilterValues = (input, context) => {
|
|
|
2881
2758
|
return input
|
|
2882
2759
|
.filter((e) => e != null)
|
|
2883
2760
|
.map((entry) => {
|
|
2884
|
-
if (entry === null) {
|
|
2885
|
-
return null;
|
|
2886
|
-
}
|
|
2887
2761
|
return entry;
|
|
2888
2762
|
});
|
|
2889
2763
|
};
|
|
@@ -2891,9 +2765,6 @@ const serializeAws_json1_1DataRepositoryTaskPaths = (input, context) => {
|
|
|
2891
2765
|
return input
|
|
2892
2766
|
.filter((e) => e != null)
|
|
2893
2767
|
.map((entry) => {
|
|
2894
|
-
if (entry === null) {
|
|
2895
|
-
return null;
|
|
2896
|
-
}
|
|
2897
2768
|
return entry;
|
|
2898
2769
|
});
|
|
2899
2770
|
};
|
|
@@ -2931,9 +2802,6 @@ const serializeAws_json1_1DeleteFileSystemOpenZFSOptions = (input, context) => {
|
|
|
2931
2802
|
return input
|
|
2932
2803
|
.filter((e) => e != null)
|
|
2933
2804
|
.map((entry) => {
|
|
2934
|
-
if (entry === null) {
|
|
2935
|
-
return null;
|
|
2936
|
-
}
|
|
2937
2805
|
return entry;
|
|
2938
2806
|
});
|
|
2939
2807
|
};
|
|
@@ -2963,9 +2831,6 @@ const serializeAws_json1_1DeleteOpenZFSVolumeOptions = (input, context) => {
|
|
|
2963
2831
|
return input
|
|
2964
2832
|
.filter((e) => e != null)
|
|
2965
2833
|
.map((entry) => {
|
|
2966
|
-
if (entry === null) {
|
|
2967
|
-
return null;
|
|
2968
|
-
}
|
|
2969
2834
|
return entry;
|
|
2970
2835
|
});
|
|
2971
2836
|
};
|
|
@@ -3095,9 +2960,6 @@ const serializeAws_json1_1DnsIps = (input, context) => {
|
|
|
3095
2960
|
return input
|
|
3096
2961
|
.filter((e) => e != null)
|
|
3097
2962
|
.map((entry) => {
|
|
3098
|
-
if (entry === null) {
|
|
3099
|
-
return null;
|
|
3100
|
-
}
|
|
3101
2963
|
return entry;
|
|
3102
2964
|
});
|
|
3103
2965
|
};
|
|
@@ -3105,9 +2967,6 @@ const serializeAws_json1_1EventTypes = (input, context) => {
|
|
|
3105
2967
|
return input
|
|
3106
2968
|
.filter((e) => e != null)
|
|
3107
2969
|
.map((entry) => {
|
|
3108
|
-
if (entry === null) {
|
|
3109
|
-
return null;
|
|
3110
|
-
}
|
|
3111
2970
|
return entry;
|
|
3112
2971
|
});
|
|
3113
2972
|
};
|
|
@@ -3115,9 +2974,6 @@ const serializeAws_json1_1FileSystemIds = (input, context) => {
|
|
|
3115
2974
|
return input
|
|
3116
2975
|
.filter((e) => e != null)
|
|
3117
2976
|
.map((entry) => {
|
|
3118
|
-
if (entry === null) {
|
|
3119
|
-
return null;
|
|
3120
|
-
}
|
|
3121
2977
|
return entry;
|
|
3122
2978
|
});
|
|
3123
2979
|
};
|
|
@@ -3131,9 +2987,6 @@ const serializeAws_json1_1Filters = (input, context) => {
|
|
|
3131
2987
|
return input
|
|
3132
2988
|
.filter((e) => e != null)
|
|
3133
2989
|
.map((entry) => {
|
|
3134
|
-
if (entry === null) {
|
|
3135
|
-
return null;
|
|
3136
|
-
}
|
|
3137
2990
|
return serializeAws_json1_1Filter(entry, context);
|
|
3138
2991
|
});
|
|
3139
2992
|
};
|
|
@@ -3141,9 +2994,6 @@ const serializeAws_json1_1FilterValues = (input, context) => {
|
|
|
3141
2994
|
return input
|
|
3142
2995
|
.filter((e) => e != null)
|
|
3143
2996
|
.map((entry) => {
|
|
3144
|
-
if (entry === null) {
|
|
3145
|
-
return null;
|
|
3146
|
-
}
|
|
3147
2997
|
return entry;
|
|
3148
2998
|
});
|
|
3149
2999
|
};
|
|
@@ -3164,9 +3014,6 @@ const serializeAws_json1_1LustreNoSquashNids = (input, context) => {
|
|
|
3164
3014
|
return input
|
|
3165
3015
|
.filter((e) => e != null)
|
|
3166
3016
|
.map((entry) => {
|
|
3167
|
-
if (entry === null) {
|
|
3168
|
-
return null;
|
|
3169
|
-
}
|
|
3170
3017
|
return entry;
|
|
3171
3018
|
});
|
|
3172
3019
|
};
|
|
@@ -3188,9 +3035,6 @@ const serializeAws_json1_1OpenZFSClientConfigurations = (input, context) => {
|
|
|
3188
3035
|
return input
|
|
3189
3036
|
.filter((e) => e != null)
|
|
3190
3037
|
.map((entry) => {
|
|
3191
|
-
if (entry === null) {
|
|
3192
|
-
return null;
|
|
3193
|
-
}
|
|
3194
3038
|
return serializeAws_json1_1OpenZFSClientConfiguration(entry, context);
|
|
3195
3039
|
});
|
|
3196
3040
|
};
|
|
@@ -3217,9 +3061,6 @@ const serializeAws_json1_1OpenZFSNfsExportOptions = (input, context) => {
|
|
|
3217
3061
|
return input
|
|
3218
3062
|
.filter((e) => e != null)
|
|
3219
3063
|
.map((entry) => {
|
|
3220
|
-
if (entry === null) {
|
|
3221
|
-
return null;
|
|
3222
|
-
}
|
|
3223
3064
|
return entry;
|
|
3224
3065
|
});
|
|
3225
3066
|
};
|
|
@@ -3227,9 +3068,6 @@ const serializeAws_json1_1OpenZFSNfsExports = (input, context) => {
|
|
|
3227
3068
|
return input
|
|
3228
3069
|
.filter((e) => e != null)
|
|
3229
3070
|
.map((entry) => {
|
|
3230
|
-
if (entry === null) {
|
|
3231
|
-
return null;
|
|
3232
|
-
}
|
|
3233
3071
|
return serializeAws_json1_1OpenZFSNfsExport(entry, context);
|
|
3234
3072
|
});
|
|
3235
3073
|
};
|
|
@@ -3237,9 +3075,6 @@ const serializeAws_json1_1OpenZFSUserAndGroupQuotas = (input, context) => {
|
|
|
3237
3075
|
return input
|
|
3238
3076
|
.filter((e) => e != null)
|
|
3239
3077
|
.map((entry) => {
|
|
3240
|
-
if (entry === null) {
|
|
3241
|
-
return null;
|
|
3242
|
-
}
|
|
3243
3078
|
return serializeAws_json1_1OpenZFSUserOrGroupQuota(entry, context);
|
|
3244
3079
|
});
|
|
3245
3080
|
};
|
|
@@ -3261,9 +3096,6 @@ const serializeAws_json1_1RestoreOpenZFSVolumeOptions = (input, context) => {
|
|
|
3261
3096
|
return input
|
|
3262
3097
|
.filter((e) => e != null)
|
|
3263
3098
|
.map((entry) => {
|
|
3264
|
-
if (entry === null) {
|
|
3265
|
-
return null;
|
|
3266
|
-
}
|
|
3267
3099
|
return entry;
|
|
3268
3100
|
});
|
|
3269
3101
|
};
|
|
@@ -3280,9 +3112,6 @@ const serializeAws_json1_1RouteTableIds = (input, context) => {
|
|
|
3280
3112
|
return input
|
|
3281
3113
|
.filter((e) => e != null)
|
|
3282
3114
|
.map((entry) => {
|
|
3283
|
-
if (entry === null) {
|
|
3284
|
-
return null;
|
|
3285
|
-
}
|
|
3286
3115
|
return entry;
|
|
3287
3116
|
});
|
|
3288
3117
|
};
|
|
@@ -3300,9 +3129,6 @@ const serializeAws_json1_1SecurityGroupIds = (input, context) => {
|
|
|
3300
3129
|
return input
|
|
3301
3130
|
.filter((e) => e != null)
|
|
3302
3131
|
.map((entry) => {
|
|
3303
|
-
if (entry === null) {
|
|
3304
|
-
return null;
|
|
3305
|
-
}
|
|
3306
3132
|
return entry;
|
|
3307
3133
|
});
|
|
3308
3134
|
};
|
|
@@ -3337,9 +3163,6 @@ const serializeAws_json1_1SnapshotFilters = (input, context) => {
|
|
|
3337
3163
|
return input
|
|
3338
3164
|
.filter((e) => e != null)
|
|
3339
3165
|
.map((entry) => {
|
|
3340
|
-
if (entry === null) {
|
|
3341
|
-
return null;
|
|
3342
|
-
}
|
|
3343
3166
|
return serializeAws_json1_1SnapshotFilter(entry, context);
|
|
3344
3167
|
});
|
|
3345
3168
|
};
|
|
@@ -3347,9 +3170,6 @@ const serializeAws_json1_1SnapshotFilterValues = (input, context) => {
|
|
|
3347
3170
|
return input
|
|
3348
3171
|
.filter((e) => e != null)
|
|
3349
3172
|
.map((entry) => {
|
|
3350
|
-
if (entry === null) {
|
|
3351
|
-
return null;
|
|
3352
|
-
}
|
|
3353
3173
|
return entry;
|
|
3354
3174
|
});
|
|
3355
3175
|
};
|
|
@@ -3357,9 +3177,6 @@ const serializeAws_json1_1SnapshotIds = (input, context) => {
|
|
|
3357
3177
|
return input
|
|
3358
3178
|
.filter((e) => e != null)
|
|
3359
3179
|
.map((entry) => {
|
|
3360
|
-
if (entry === null) {
|
|
3361
|
-
return null;
|
|
3362
|
-
}
|
|
3363
3180
|
return entry;
|
|
3364
3181
|
});
|
|
3365
3182
|
};
|
|
@@ -3375,9 +3192,6 @@ const serializeAws_json1_1StorageVirtualMachineFilters = (input, context) => {
|
|
|
3375
3192
|
return input
|
|
3376
3193
|
.filter((e) => e != null)
|
|
3377
3194
|
.map((entry) => {
|
|
3378
|
-
if (entry === null) {
|
|
3379
|
-
return null;
|
|
3380
|
-
}
|
|
3381
3195
|
return serializeAws_json1_1StorageVirtualMachineFilter(entry, context);
|
|
3382
3196
|
});
|
|
3383
3197
|
};
|
|
@@ -3385,9 +3199,6 @@ const serializeAws_json1_1StorageVirtualMachineFilterValues = (input, context) =
|
|
|
3385
3199
|
return input
|
|
3386
3200
|
.filter((e) => e != null)
|
|
3387
3201
|
.map((entry) => {
|
|
3388
|
-
if (entry === null) {
|
|
3389
|
-
return null;
|
|
3390
|
-
}
|
|
3391
3202
|
return entry;
|
|
3392
3203
|
});
|
|
3393
3204
|
};
|
|
@@ -3395,9 +3206,6 @@ const serializeAws_json1_1StorageVirtualMachineIds = (input, context) => {
|
|
|
3395
3206
|
return input
|
|
3396
3207
|
.filter((e) => e != null)
|
|
3397
3208
|
.map((entry) => {
|
|
3398
|
-
if (entry === null) {
|
|
3399
|
-
return null;
|
|
3400
|
-
}
|
|
3401
3209
|
return entry;
|
|
3402
3210
|
});
|
|
3403
3211
|
};
|
|
@@ -3405,9 +3213,6 @@ const serializeAws_json1_1SubnetIds = (input, context) => {
|
|
|
3405
3213
|
return input
|
|
3406
3214
|
.filter((e) => e != null)
|
|
3407
3215
|
.map((entry) => {
|
|
3408
|
-
if (entry === null) {
|
|
3409
|
-
return null;
|
|
3410
|
-
}
|
|
3411
3216
|
return entry;
|
|
3412
3217
|
});
|
|
3413
3218
|
};
|
|
@@ -3421,9 +3226,6 @@ const serializeAws_json1_1TagKeys = (input, context) => {
|
|
|
3421
3226
|
return input
|
|
3422
3227
|
.filter((e) => e != null)
|
|
3423
3228
|
.map((entry) => {
|
|
3424
|
-
if (entry === null) {
|
|
3425
|
-
return null;
|
|
3426
|
-
}
|
|
3427
3229
|
return entry;
|
|
3428
3230
|
});
|
|
3429
3231
|
};
|
|
@@ -3437,9 +3239,6 @@ const serializeAws_json1_1Tags = (input, context) => {
|
|
|
3437
3239
|
return input
|
|
3438
3240
|
.filter((e) => e != null)
|
|
3439
3241
|
.map((entry) => {
|
|
3440
|
-
if (entry === null) {
|
|
3441
|
-
return null;
|
|
3442
|
-
}
|
|
3443
3242
|
return serializeAws_json1_1Tag(entry, context);
|
|
3444
3243
|
});
|
|
3445
3244
|
};
|
|
@@ -3447,9 +3246,6 @@ const serializeAws_json1_1TaskIds = (input, context) => {
|
|
|
3447
3246
|
return input
|
|
3448
3247
|
.filter((e) => e != null)
|
|
3449
3248
|
.map((entry) => {
|
|
3450
|
-
if (entry === null) {
|
|
3451
|
-
return null;
|
|
3452
|
-
}
|
|
3453
3249
|
return entry;
|
|
3454
3250
|
});
|
|
3455
3251
|
};
|
|
@@ -3640,9 +3436,6 @@ const serializeAws_json1_1VolumeFilters = (input, context) => {
|
|
|
3640
3436
|
return input
|
|
3641
3437
|
.filter((e) => e != null)
|
|
3642
3438
|
.map((entry) => {
|
|
3643
|
-
if (entry === null) {
|
|
3644
|
-
return null;
|
|
3645
|
-
}
|
|
3646
3439
|
return serializeAws_json1_1VolumeFilter(entry, context);
|
|
3647
3440
|
});
|
|
3648
3441
|
};
|
|
@@ -3650,9 +3443,6 @@ const serializeAws_json1_1VolumeFilterValues = (input, context) => {
|
|
|
3650
3443
|
return input
|
|
3651
3444
|
.filter((e) => e != null)
|
|
3652
3445
|
.map((entry) => {
|
|
3653
|
-
if (entry === null) {
|
|
3654
|
-
return null;
|
|
3655
|
-
}
|
|
3656
3446
|
return entry;
|
|
3657
3447
|
});
|
|
3658
3448
|
};
|
|
@@ -3660,9 +3450,6 @@ const serializeAws_json1_1VolumeIds = (input, context) => {
|
|
|
3660
3450
|
return input
|
|
3661
3451
|
.filter((e) => e != null)
|
|
3662
3452
|
.map((entry) => {
|
|
3663
|
-
if (entry === null) {
|
|
3664
|
-
return null;
|
|
3665
|
-
}
|
|
3666
3453
|
return entry;
|
|
3667
3454
|
});
|
|
3668
3455
|
};
|