@aws-sdk/client-fsx 3.118.0 → 3.127.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 +605 -856
- package/dist-es/protocols/Aws_json1_1.js +443 -694
- package/package.json +26 -26
|
@@ -430,7 +430,7 @@ export var deserializeAws_json1_1AssociateFileSystemAliasesCommand = function (o
|
|
|
430
430
|
});
|
|
431
431
|
}); };
|
|
432
432
|
var deserializeAws_json1_1AssociateFileSystemAliasesCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
433
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
433
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
434
434
|
var _c;
|
|
435
435
|
return __generator(this, function (_d) {
|
|
436
436
|
switch (_d.label) {
|
|
@@ -440,7 +440,6 @@ var deserializeAws_json1_1AssociateFileSystemAliasesCommandError = function (out
|
|
|
440
440
|
return [4, parseBody(output.body, context)];
|
|
441
441
|
case 1:
|
|
442
442
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
443
|
-
errorCode = "UnknownError";
|
|
444
443
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
445
444
|
_b = errorCode;
|
|
446
445
|
switch (_b) {
|
|
@@ -460,10 +459,12 @@ var deserializeAws_json1_1AssociateFileSystemAliasesCommandError = function (out
|
|
|
460
459
|
case 7: throw _d.sent();
|
|
461
460
|
case 8:
|
|
462
461
|
parsedBody = parsedOutput.body;
|
|
462
|
+
$metadata = deserializeMetadata(output);
|
|
463
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
463
464
|
response = new __BaseException({
|
|
464
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
465
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
465
466
|
$fault: "client",
|
|
466
|
-
$metadata:
|
|
467
|
+
$metadata: $metadata,
|
|
467
468
|
});
|
|
468
469
|
throw __decorateServiceException(response, parsedBody);
|
|
469
470
|
}
|
|
@@ -488,7 +489,7 @@ export var deserializeAws_json1_1CancelDataRepositoryTaskCommand = function (out
|
|
|
488
489
|
});
|
|
489
490
|
}); };
|
|
490
491
|
var deserializeAws_json1_1CancelDataRepositoryTaskCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
491
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
492
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
492
493
|
var _c;
|
|
493
494
|
return __generator(this, function (_d) {
|
|
494
495
|
switch (_d.label) {
|
|
@@ -498,7 +499,6 @@ var deserializeAws_json1_1CancelDataRepositoryTaskCommandError = function (outpu
|
|
|
498
499
|
return [4, parseBody(output.body, context)];
|
|
499
500
|
case 1:
|
|
500
501
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
501
|
-
errorCode = "UnknownError";
|
|
502
502
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
503
503
|
_b = errorCode;
|
|
504
504
|
switch (_b) {
|
|
@@ -526,10 +526,12 @@ var deserializeAws_json1_1CancelDataRepositoryTaskCommandError = function (outpu
|
|
|
526
526
|
case 11: throw _d.sent();
|
|
527
527
|
case 12:
|
|
528
528
|
parsedBody = parsedOutput.body;
|
|
529
|
+
$metadata = deserializeMetadata(output);
|
|
530
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
529
531
|
response = new __BaseException({
|
|
530
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
532
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
531
533
|
$fault: "client",
|
|
532
|
-
$metadata:
|
|
534
|
+
$metadata: $metadata,
|
|
533
535
|
});
|
|
534
536
|
throw __decorateServiceException(response, parsedBody);
|
|
535
537
|
}
|
|
@@ -554,7 +556,7 @@ export var deserializeAws_json1_1CopyBackupCommand = function (output, context)
|
|
|
554
556
|
});
|
|
555
557
|
}); };
|
|
556
558
|
var deserializeAws_json1_1CopyBackupCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
557
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
559
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
558
560
|
var _c;
|
|
559
561
|
return __generator(this, function (_d) {
|
|
560
562
|
switch (_d.label) {
|
|
@@ -564,7 +566,6 @@ var deserializeAws_json1_1CopyBackupCommandError = function (output, context) {
|
|
|
564
566
|
return [4, parseBody(output.body, context)];
|
|
565
567
|
case 1:
|
|
566
568
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
567
|
-
errorCode = "UnknownError";
|
|
568
569
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
569
570
|
_b = errorCode;
|
|
570
571
|
switch (_b) {
|
|
@@ -616,10 +617,12 @@ var deserializeAws_json1_1CopyBackupCommandError = function (output, context) {
|
|
|
616
617
|
case 23: throw _d.sent();
|
|
617
618
|
case 24:
|
|
618
619
|
parsedBody = parsedOutput.body;
|
|
620
|
+
$metadata = deserializeMetadata(output);
|
|
621
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
619
622
|
response = new __BaseException({
|
|
620
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
623
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
621
624
|
$fault: "client",
|
|
622
|
-
$metadata:
|
|
625
|
+
$metadata: $metadata,
|
|
623
626
|
});
|
|
624
627
|
throw __decorateServiceException(response, parsedBody);
|
|
625
628
|
}
|
|
@@ -644,7 +647,7 @@ export var deserializeAws_json1_1CreateBackupCommand = function (output, context
|
|
|
644
647
|
});
|
|
645
648
|
}); };
|
|
646
649
|
var deserializeAws_json1_1CreateBackupCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
647
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
650
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
648
651
|
var _c;
|
|
649
652
|
return __generator(this, function (_d) {
|
|
650
653
|
switch (_d.label) {
|
|
@@ -654,7 +657,6 @@ var deserializeAws_json1_1CreateBackupCommandError = function (output, context)
|
|
|
654
657
|
return [4, parseBody(output.body, context)];
|
|
655
658
|
case 1:
|
|
656
659
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
657
|
-
errorCode = "UnknownError";
|
|
658
660
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
659
661
|
_b = errorCode;
|
|
660
662
|
switch (_b) {
|
|
@@ -694,10 +696,12 @@ var deserializeAws_json1_1CreateBackupCommandError = function (output, context)
|
|
|
694
696
|
case 17: throw _d.sent();
|
|
695
697
|
case 18:
|
|
696
698
|
parsedBody = parsedOutput.body;
|
|
699
|
+
$metadata = deserializeMetadata(output);
|
|
700
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
697
701
|
response = new __BaseException({
|
|
698
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
702
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
699
703
|
$fault: "client",
|
|
700
|
-
$metadata:
|
|
704
|
+
$metadata: $metadata,
|
|
701
705
|
});
|
|
702
706
|
throw __decorateServiceException(response, parsedBody);
|
|
703
707
|
}
|
|
@@ -722,7 +726,7 @@ export var deserializeAws_json1_1CreateDataRepositoryAssociationCommand = functi
|
|
|
722
726
|
});
|
|
723
727
|
}); };
|
|
724
728
|
var deserializeAws_json1_1CreateDataRepositoryAssociationCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
725
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
729
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
726
730
|
var _c;
|
|
727
731
|
return __generator(this, function (_d) {
|
|
728
732
|
switch (_d.label) {
|
|
@@ -732,7 +736,6 @@ var deserializeAws_json1_1CreateDataRepositoryAssociationCommandError = function
|
|
|
732
736
|
return [4, parseBody(output.body, context)];
|
|
733
737
|
case 1:
|
|
734
738
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
735
|
-
errorCode = "UnknownError";
|
|
736
739
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
737
740
|
_b = errorCode;
|
|
738
741
|
switch (_b) {
|
|
@@ -764,10 +767,12 @@ var deserializeAws_json1_1CreateDataRepositoryAssociationCommandError = function
|
|
|
764
767
|
case 13: throw _d.sent();
|
|
765
768
|
case 14:
|
|
766
769
|
parsedBody = parsedOutput.body;
|
|
770
|
+
$metadata = deserializeMetadata(output);
|
|
771
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
767
772
|
response = new __BaseException({
|
|
768
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
773
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
769
774
|
$fault: "client",
|
|
770
|
-
$metadata:
|
|
775
|
+
$metadata: $metadata,
|
|
771
776
|
});
|
|
772
777
|
throw __decorateServiceException(response, parsedBody);
|
|
773
778
|
}
|
|
@@ -792,7 +797,7 @@ export var deserializeAws_json1_1CreateDataRepositoryTaskCommand = function (out
|
|
|
792
797
|
});
|
|
793
798
|
}); };
|
|
794
799
|
var deserializeAws_json1_1CreateDataRepositoryTaskCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
795
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
800
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
796
801
|
var _c;
|
|
797
802
|
return __generator(this, function (_d) {
|
|
798
803
|
switch (_d.label) {
|
|
@@ -802,7 +807,6 @@ var deserializeAws_json1_1CreateDataRepositoryTaskCommandError = function (outpu
|
|
|
802
807
|
return [4, parseBody(output.body, context)];
|
|
803
808
|
case 1:
|
|
804
809
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
805
|
-
errorCode = "UnknownError";
|
|
806
810
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
807
811
|
_b = errorCode;
|
|
808
812
|
switch (_b) {
|
|
@@ -838,10 +842,12 @@ var deserializeAws_json1_1CreateDataRepositoryTaskCommandError = function (outpu
|
|
|
838
842
|
case 15: throw _d.sent();
|
|
839
843
|
case 16:
|
|
840
844
|
parsedBody = parsedOutput.body;
|
|
845
|
+
$metadata = deserializeMetadata(output);
|
|
846
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
841
847
|
response = new __BaseException({
|
|
842
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
848
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
843
849
|
$fault: "client",
|
|
844
|
-
$metadata:
|
|
850
|
+
$metadata: $metadata,
|
|
845
851
|
});
|
|
846
852
|
throw __decorateServiceException(response, parsedBody);
|
|
847
853
|
}
|
|
@@ -866,7 +872,7 @@ export var deserializeAws_json1_1CreateFileSystemCommand = function (output, con
|
|
|
866
872
|
});
|
|
867
873
|
}); };
|
|
868
874
|
var deserializeAws_json1_1CreateFileSystemCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
869
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
875
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
870
876
|
var _c;
|
|
871
877
|
return __generator(this, function (_d) {
|
|
872
878
|
switch (_d.label) {
|
|
@@ -876,7 +882,6 @@ var deserializeAws_json1_1CreateFileSystemCommandError = function (output, conte
|
|
|
876
882
|
return [4, parseBody(output.body, context)];
|
|
877
883
|
case 1:
|
|
878
884
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
879
|
-
errorCode = "UnknownError";
|
|
880
885
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
881
886
|
_b = errorCode;
|
|
882
887
|
switch (_b) {
|
|
@@ -924,10 +929,12 @@ var deserializeAws_json1_1CreateFileSystemCommandError = function (output, conte
|
|
|
924
929
|
case 21: throw _d.sent();
|
|
925
930
|
case 22:
|
|
926
931
|
parsedBody = parsedOutput.body;
|
|
932
|
+
$metadata = deserializeMetadata(output);
|
|
933
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
927
934
|
response = new __BaseException({
|
|
928
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
935
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
929
936
|
$fault: "client",
|
|
930
|
-
$metadata:
|
|
937
|
+
$metadata: $metadata,
|
|
931
938
|
});
|
|
932
939
|
throw __decorateServiceException(response, parsedBody);
|
|
933
940
|
}
|
|
@@ -952,7 +959,7 @@ export var deserializeAws_json1_1CreateFileSystemFromBackupCommand = function (o
|
|
|
952
959
|
});
|
|
953
960
|
}); };
|
|
954
961
|
var deserializeAws_json1_1CreateFileSystemFromBackupCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
955
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
962
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
956
963
|
var _c;
|
|
957
964
|
return __generator(this, function (_d) {
|
|
958
965
|
switch (_d.label) {
|
|
@@ -962,7 +969,6 @@ var deserializeAws_json1_1CreateFileSystemFromBackupCommandError = function (out
|
|
|
962
969
|
return [4, parseBody(output.body, context)];
|
|
963
970
|
case 1:
|
|
964
971
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
965
|
-
errorCode = "UnknownError";
|
|
966
972
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
967
973
|
_b = errorCode;
|
|
968
974
|
switch (_b) {
|
|
@@ -1006,10 +1012,12 @@ var deserializeAws_json1_1CreateFileSystemFromBackupCommandError = function (out
|
|
|
1006
1012
|
case 19: throw _d.sent();
|
|
1007
1013
|
case 20:
|
|
1008
1014
|
parsedBody = parsedOutput.body;
|
|
1015
|
+
$metadata = deserializeMetadata(output);
|
|
1016
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1009
1017
|
response = new __BaseException({
|
|
1010
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1018
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1011
1019
|
$fault: "client",
|
|
1012
|
-
$metadata:
|
|
1020
|
+
$metadata: $metadata,
|
|
1013
1021
|
});
|
|
1014
1022
|
throw __decorateServiceException(response, parsedBody);
|
|
1015
1023
|
}
|
|
@@ -1034,7 +1042,7 @@ export var deserializeAws_json1_1CreateSnapshotCommand = function (output, conte
|
|
|
1034
1042
|
});
|
|
1035
1043
|
}); };
|
|
1036
1044
|
var deserializeAws_json1_1CreateSnapshotCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1037
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1045
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1038
1046
|
var _c;
|
|
1039
1047
|
return __generator(this, function (_d) {
|
|
1040
1048
|
switch (_d.label) {
|
|
@@ -1044,7 +1052,6 @@ var deserializeAws_json1_1CreateSnapshotCommandError = function (output, context
|
|
|
1044
1052
|
return [4, parseBody(output.body, context)];
|
|
1045
1053
|
case 1:
|
|
1046
1054
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1047
|
-
errorCode = "UnknownError";
|
|
1048
1055
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1049
1056
|
_b = errorCode;
|
|
1050
1057
|
switch (_b) {
|
|
@@ -1068,10 +1075,12 @@ var deserializeAws_json1_1CreateSnapshotCommandError = function (output, context
|
|
|
1068
1075
|
case 9: throw _d.sent();
|
|
1069
1076
|
case 10:
|
|
1070
1077
|
parsedBody = parsedOutput.body;
|
|
1078
|
+
$metadata = deserializeMetadata(output);
|
|
1079
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1071
1080
|
response = new __BaseException({
|
|
1072
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1081
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1073
1082
|
$fault: "client",
|
|
1074
|
-
$metadata:
|
|
1083
|
+
$metadata: $metadata,
|
|
1075
1084
|
});
|
|
1076
1085
|
throw __decorateServiceException(response, parsedBody);
|
|
1077
1086
|
}
|
|
@@ -1096,7 +1105,7 @@ export var deserializeAws_json1_1CreateStorageVirtualMachineCommand = function (
|
|
|
1096
1105
|
});
|
|
1097
1106
|
}); };
|
|
1098
1107
|
var deserializeAws_json1_1CreateStorageVirtualMachineCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1099
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1108
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1100
1109
|
var _c;
|
|
1101
1110
|
return __generator(this, function (_d) {
|
|
1102
1111
|
switch (_d.label) {
|
|
@@ -1106,7 +1115,6 @@ var deserializeAws_json1_1CreateStorageVirtualMachineCommandError = function (ou
|
|
|
1106
1115
|
return [4, parseBody(output.body, context)];
|
|
1107
1116
|
case 1:
|
|
1108
1117
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1109
|
-
errorCode = "UnknownError";
|
|
1110
1118
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1111
1119
|
_b = errorCode;
|
|
1112
1120
|
switch (_b) {
|
|
@@ -1142,10 +1150,12 @@ var deserializeAws_json1_1CreateStorageVirtualMachineCommandError = function (ou
|
|
|
1142
1150
|
case 15: throw _d.sent();
|
|
1143
1151
|
case 16:
|
|
1144
1152
|
parsedBody = parsedOutput.body;
|
|
1153
|
+
$metadata = deserializeMetadata(output);
|
|
1154
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1145
1155
|
response = new __BaseException({
|
|
1146
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1156
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1147
1157
|
$fault: "client",
|
|
1148
|
-
$metadata:
|
|
1158
|
+
$metadata: $metadata,
|
|
1149
1159
|
});
|
|
1150
1160
|
throw __decorateServiceException(response, parsedBody);
|
|
1151
1161
|
}
|
|
@@ -1170,7 +1180,7 @@ export var deserializeAws_json1_1CreateVolumeCommand = function (output, context
|
|
|
1170
1180
|
});
|
|
1171
1181
|
}); };
|
|
1172
1182
|
var deserializeAws_json1_1CreateVolumeCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1173
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1183
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1174
1184
|
var _c;
|
|
1175
1185
|
return __generator(this, function (_d) {
|
|
1176
1186
|
switch (_d.label) {
|
|
@@ -1180,7 +1190,6 @@ var deserializeAws_json1_1CreateVolumeCommandError = function (output, context)
|
|
|
1180
1190
|
return [4, parseBody(output.body, context)];
|
|
1181
1191
|
case 1:
|
|
1182
1192
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1183
|
-
errorCode = "UnknownError";
|
|
1184
1193
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1185
1194
|
_b = errorCode;
|
|
1186
1195
|
switch (_b) {
|
|
@@ -1220,10 +1229,12 @@ var deserializeAws_json1_1CreateVolumeCommandError = function (output, context)
|
|
|
1220
1229
|
case 17: throw _d.sent();
|
|
1221
1230
|
case 18:
|
|
1222
1231
|
parsedBody = parsedOutput.body;
|
|
1232
|
+
$metadata = deserializeMetadata(output);
|
|
1233
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1223
1234
|
response = new __BaseException({
|
|
1224
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1235
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1225
1236
|
$fault: "client",
|
|
1226
|
-
$metadata:
|
|
1237
|
+
$metadata: $metadata,
|
|
1227
1238
|
});
|
|
1228
1239
|
throw __decorateServiceException(response, parsedBody);
|
|
1229
1240
|
}
|
|
@@ -1248,7 +1259,7 @@ export var deserializeAws_json1_1CreateVolumeFromBackupCommand = function (outpu
|
|
|
1248
1259
|
});
|
|
1249
1260
|
}); };
|
|
1250
1261
|
var deserializeAws_json1_1CreateVolumeFromBackupCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1251
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1262
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1252
1263
|
var _c;
|
|
1253
1264
|
return __generator(this, function (_d) {
|
|
1254
1265
|
switch (_d.label) {
|
|
@@ -1258,7 +1269,6 @@ var deserializeAws_json1_1CreateVolumeFromBackupCommandError = function (output,
|
|
|
1258
1269
|
return [4, parseBody(output.body, context)];
|
|
1259
1270
|
case 1:
|
|
1260
1271
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1261
|
-
errorCode = "UnknownError";
|
|
1262
1272
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1263
1273
|
_b = errorCode;
|
|
1264
1274
|
switch (_b) {
|
|
@@ -1298,10 +1308,12 @@ var deserializeAws_json1_1CreateVolumeFromBackupCommandError = function (output,
|
|
|
1298
1308
|
case 17: throw _d.sent();
|
|
1299
1309
|
case 18:
|
|
1300
1310
|
parsedBody = parsedOutput.body;
|
|
1311
|
+
$metadata = deserializeMetadata(output);
|
|
1312
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1301
1313
|
response = new __BaseException({
|
|
1302
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1314
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1303
1315
|
$fault: "client",
|
|
1304
|
-
$metadata:
|
|
1316
|
+
$metadata: $metadata,
|
|
1305
1317
|
});
|
|
1306
1318
|
throw __decorateServiceException(response, parsedBody);
|
|
1307
1319
|
}
|
|
@@ -1326,7 +1338,7 @@ export var deserializeAws_json1_1DeleteBackupCommand = function (output, context
|
|
|
1326
1338
|
});
|
|
1327
1339
|
}); };
|
|
1328
1340
|
var deserializeAws_json1_1DeleteBackupCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1329
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1341
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1330
1342
|
var _c;
|
|
1331
1343
|
return __generator(this, function (_d) {
|
|
1332
1344
|
switch (_d.label) {
|
|
@@ -1336,7 +1348,6 @@ var deserializeAws_json1_1DeleteBackupCommandError = function (output, context)
|
|
|
1336
1348
|
return [4, parseBody(output.body, context)];
|
|
1337
1349
|
case 1:
|
|
1338
1350
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1339
|
-
errorCode = "UnknownError";
|
|
1340
1351
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1341
1352
|
_b = errorCode;
|
|
1342
1353
|
switch (_b) {
|
|
@@ -1372,10 +1383,12 @@ var deserializeAws_json1_1DeleteBackupCommandError = function (output, context)
|
|
|
1372
1383
|
case 15: throw _d.sent();
|
|
1373
1384
|
case 16:
|
|
1374
1385
|
parsedBody = parsedOutput.body;
|
|
1386
|
+
$metadata = deserializeMetadata(output);
|
|
1387
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1375
1388
|
response = new __BaseException({
|
|
1376
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1389
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1377
1390
|
$fault: "client",
|
|
1378
|
-
$metadata:
|
|
1391
|
+
$metadata: $metadata,
|
|
1379
1392
|
});
|
|
1380
1393
|
throw __decorateServiceException(response, parsedBody);
|
|
1381
1394
|
}
|
|
@@ -1400,7 +1413,7 @@ export var deserializeAws_json1_1DeleteDataRepositoryAssociationCommand = functi
|
|
|
1400
1413
|
});
|
|
1401
1414
|
}); };
|
|
1402
1415
|
var deserializeAws_json1_1DeleteDataRepositoryAssociationCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1403
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1416
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1404
1417
|
var _c;
|
|
1405
1418
|
return __generator(this, function (_d) {
|
|
1406
1419
|
switch (_d.label) {
|
|
@@ -1410,7 +1423,6 @@ var deserializeAws_json1_1DeleteDataRepositoryAssociationCommandError = function
|
|
|
1410
1423
|
return [4, parseBody(output.body, context)];
|
|
1411
1424
|
case 1:
|
|
1412
1425
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1413
|
-
errorCode = "UnknownError";
|
|
1414
1426
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1415
1427
|
_b = errorCode;
|
|
1416
1428
|
switch (_b) {
|
|
@@ -1438,10 +1450,12 @@ var deserializeAws_json1_1DeleteDataRepositoryAssociationCommandError = function
|
|
|
1438
1450
|
case 11: throw _d.sent();
|
|
1439
1451
|
case 12:
|
|
1440
1452
|
parsedBody = parsedOutput.body;
|
|
1453
|
+
$metadata = deserializeMetadata(output);
|
|
1454
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1441
1455
|
response = new __BaseException({
|
|
1442
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1456
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1443
1457
|
$fault: "client",
|
|
1444
|
-
$metadata:
|
|
1458
|
+
$metadata: $metadata,
|
|
1445
1459
|
});
|
|
1446
1460
|
throw __decorateServiceException(response, parsedBody);
|
|
1447
1461
|
}
|
|
@@ -1466,7 +1480,7 @@ export var deserializeAws_json1_1DeleteFileSystemCommand = function (output, con
|
|
|
1466
1480
|
});
|
|
1467
1481
|
}); };
|
|
1468
1482
|
var deserializeAws_json1_1DeleteFileSystemCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1469
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1483
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1470
1484
|
var _c;
|
|
1471
1485
|
return __generator(this, function (_d) {
|
|
1472
1486
|
switch (_d.label) {
|
|
@@ -1476,7 +1490,6 @@ var deserializeAws_json1_1DeleteFileSystemCommandError = function (output, conte
|
|
|
1476
1490
|
return [4, parseBody(output.body, context)];
|
|
1477
1491
|
case 1:
|
|
1478
1492
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1479
|
-
errorCode = "UnknownError";
|
|
1480
1493
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1481
1494
|
_b = errorCode;
|
|
1482
1495
|
switch (_b) {
|
|
@@ -1504,10 +1517,12 @@ var deserializeAws_json1_1DeleteFileSystemCommandError = function (output, conte
|
|
|
1504
1517
|
case 11: throw _d.sent();
|
|
1505
1518
|
case 12:
|
|
1506
1519
|
parsedBody = parsedOutput.body;
|
|
1520
|
+
$metadata = deserializeMetadata(output);
|
|
1521
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1507
1522
|
response = new __BaseException({
|
|
1508
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1523
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1509
1524
|
$fault: "client",
|
|
1510
|
-
$metadata:
|
|
1525
|
+
$metadata: $metadata,
|
|
1511
1526
|
});
|
|
1512
1527
|
throw __decorateServiceException(response, parsedBody);
|
|
1513
1528
|
}
|
|
@@ -1532,7 +1547,7 @@ export var deserializeAws_json1_1DeleteSnapshotCommand = function (output, conte
|
|
|
1532
1547
|
});
|
|
1533
1548
|
}); };
|
|
1534
1549
|
var deserializeAws_json1_1DeleteSnapshotCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1535
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1550
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1536
1551
|
var _c;
|
|
1537
1552
|
return __generator(this, function (_d) {
|
|
1538
1553
|
switch (_d.label) {
|
|
@@ -1542,7 +1557,6 @@ var deserializeAws_json1_1DeleteSnapshotCommandError = function (output, context
|
|
|
1542
1557
|
return [4, parseBody(output.body, context)];
|
|
1543
1558
|
case 1:
|
|
1544
1559
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1545
|
-
errorCode = "UnknownError";
|
|
1546
1560
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1547
1561
|
_b = errorCode;
|
|
1548
1562
|
switch (_b) {
|
|
@@ -1562,10 +1576,12 @@ var deserializeAws_json1_1DeleteSnapshotCommandError = function (output, context
|
|
|
1562
1576
|
case 7: throw _d.sent();
|
|
1563
1577
|
case 8:
|
|
1564
1578
|
parsedBody = parsedOutput.body;
|
|
1579
|
+
$metadata = deserializeMetadata(output);
|
|
1580
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1565
1581
|
response = new __BaseException({
|
|
1566
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1582
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1567
1583
|
$fault: "client",
|
|
1568
|
-
$metadata:
|
|
1584
|
+
$metadata: $metadata,
|
|
1569
1585
|
});
|
|
1570
1586
|
throw __decorateServiceException(response, parsedBody);
|
|
1571
1587
|
}
|
|
@@ -1590,7 +1606,7 @@ export var deserializeAws_json1_1DeleteStorageVirtualMachineCommand = function (
|
|
|
1590
1606
|
});
|
|
1591
1607
|
}); };
|
|
1592
1608
|
var deserializeAws_json1_1DeleteStorageVirtualMachineCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1593
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1609
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1594
1610
|
var _c;
|
|
1595
1611
|
return __generator(this, function (_d) {
|
|
1596
1612
|
switch (_d.label) {
|
|
@@ -1600,7 +1616,6 @@ var deserializeAws_json1_1DeleteStorageVirtualMachineCommandError = function (ou
|
|
|
1600
1616
|
return [4, parseBody(output.body, context)];
|
|
1601
1617
|
case 1:
|
|
1602
1618
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1603
|
-
errorCode = "UnknownError";
|
|
1604
1619
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1605
1620
|
_b = errorCode;
|
|
1606
1621
|
switch (_b) {
|
|
@@ -1624,10 +1639,12 @@ var deserializeAws_json1_1DeleteStorageVirtualMachineCommandError = function (ou
|
|
|
1624
1639
|
case 9: throw _d.sent();
|
|
1625
1640
|
case 10:
|
|
1626
1641
|
parsedBody = parsedOutput.body;
|
|
1642
|
+
$metadata = deserializeMetadata(output);
|
|
1643
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1627
1644
|
response = new __BaseException({
|
|
1628
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1645
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1629
1646
|
$fault: "client",
|
|
1630
|
-
$metadata:
|
|
1647
|
+
$metadata: $metadata,
|
|
1631
1648
|
});
|
|
1632
1649
|
throw __decorateServiceException(response, parsedBody);
|
|
1633
1650
|
}
|
|
@@ -1652,7 +1669,7 @@ export var deserializeAws_json1_1DeleteVolumeCommand = function (output, context
|
|
|
1652
1669
|
});
|
|
1653
1670
|
}); };
|
|
1654
1671
|
var deserializeAws_json1_1DeleteVolumeCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1655
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1672
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1656
1673
|
var _c;
|
|
1657
1674
|
return __generator(this, function (_d) {
|
|
1658
1675
|
switch (_d.label) {
|
|
@@ -1662,7 +1679,6 @@ var deserializeAws_json1_1DeleteVolumeCommandError = function (output, context)
|
|
|
1662
1679
|
return [4, parseBody(output.body, context)];
|
|
1663
1680
|
case 1:
|
|
1664
1681
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1665
|
-
errorCode = "UnknownError";
|
|
1666
1682
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1667
1683
|
_b = errorCode;
|
|
1668
1684
|
switch (_b) {
|
|
@@ -1686,10 +1702,12 @@ var deserializeAws_json1_1DeleteVolumeCommandError = function (output, context)
|
|
|
1686
1702
|
case 9: throw _d.sent();
|
|
1687
1703
|
case 10:
|
|
1688
1704
|
parsedBody = parsedOutput.body;
|
|
1705
|
+
$metadata = deserializeMetadata(output);
|
|
1706
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1689
1707
|
response = new __BaseException({
|
|
1690
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1708
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1691
1709
|
$fault: "client",
|
|
1692
|
-
$metadata:
|
|
1710
|
+
$metadata: $metadata,
|
|
1693
1711
|
});
|
|
1694
1712
|
throw __decorateServiceException(response, parsedBody);
|
|
1695
1713
|
}
|
|
@@ -1714,7 +1732,7 @@ export var deserializeAws_json1_1DescribeBackupsCommand = function (output, cont
|
|
|
1714
1732
|
});
|
|
1715
1733
|
}); };
|
|
1716
1734
|
var deserializeAws_json1_1DescribeBackupsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1717
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1735
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1718
1736
|
var _c;
|
|
1719
1737
|
return __generator(this, function (_d) {
|
|
1720
1738
|
switch (_d.label) {
|
|
@@ -1724,7 +1742,6 @@ var deserializeAws_json1_1DescribeBackupsCommandError = function (output, contex
|
|
|
1724
1742
|
return [4, parseBody(output.body, context)];
|
|
1725
1743
|
case 1:
|
|
1726
1744
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1727
|
-
errorCode = "UnknownError";
|
|
1728
1745
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1729
1746
|
_b = errorCode;
|
|
1730
1747
|
switch (_b) {
|
|
@@ -1752,10 +1769,12 @@ var deserializeAws_json1_1DescribeBackupsCommandError = function (output, contex
|
|
|
1752
1769
|
case 11: throw _d.sent();
|
|
1753
1770
|
case 12:
|
|
1754
1771
|
parsedBody = parsedOutput.body;
|
|
1772
|
+
$metadata = deserializeMetadata(output);
|
|
1773
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1755
1774
|
response = new __BaseException({
|
|
1756
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1775
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1757
1776
|
$fault: "client",
|
|
1758
|
-
$metadata:
|
|
1777
|
+
$metadata: $metadata,
|
|
1759
1778
|
});
|
|
1760
1779
|
throw __decorateServiceException(response, parsedBody);
|
|
1761
1780
|
}
|
|
@@ -1780,7 +1799,7 @@ export var deserializeAws_json1_1DescribeDataRepositoryAssociationsCommand = fun
|
|
|
1780
1799
|
});
|
|
1781
1800
|
}); };
|
|
1782
1801
|
var deserializeAws_json1_1DescribeDataRepositoryAssociationsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1783
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1802
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1784
1803
|
var _c;
|
|
1785
1804
|
return __generator(this, function (_d) {
|
|
1786
1805
|
switch (_d.label) {
|
|
@@ -1790,7 +1809,6 @@ var deserializeAws_json1_1DescribeDataRepositoryAssociationsCommandError = funct
|
|
|
1790
1809
|
return [4, parseBody(output.body, context)];
|
|
1791
1810
|
case 1:
|
|
1792
1811
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1793
|
-
errorCode = "UnknownError";
|
|
1794
1812
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1795
1813
|
_b = errorCode;
|
|
1796
1814
|
switch (_b) {
|
|
@@ -1818,10 +1836,12 @@ var deserializeAws_json1_1DescribeDataRepositoryAssociationsCommandError = funct
|
|
|
1818
1836
|
case 11: throw _d.sent();
|
|
1819
1837
|
case 12:
|
|
1820
1838
|
parsedBody = parsedOutput.body;
|
|
1839
|
+
$metadata = deserializeMetadata(output);
|
|
1840
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1821
1841
|
response = new __BaseException({
|
|
1822
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1842
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1823
1843
|
$fault: "client",
|
|
1824
|
-
$metadata:
|
|
1844
|
+
$metadata: $metadata,
|
|
1825
1845
|
});
|
|
1826
1846
|
throw __decorateServiceException(response, parsedBody);
|
|
1827
1847
|
}
|
|
@@ -1846,7 +1866,7 @@ export var deserializeAws_json1_1DescribeDataRepositoryTasksCommand = function (
|
|
|
1846
1866
|
});
|
|
1847
1867
|
}); };
|
|
1848
1868
|
var deserializeAws_json1_1DescribeDataRepositoryTasksCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1849
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1869
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1850
1870
|
var _c;
|
|
1851
1871
|
return __generator(this, function (_d) {
|
|
1852
1872
|
switch (_d.label) {
|
|
@@ -1856,7 +1876,6 @@ var deserializeAws_json1_1DescribeDataRepositoryTasksCommandError = function (ou
|
|
|
1856
1876
|
return [4, parseBody(output.body, context)];
|
|
1857
1877
|
case 1:
|
|
1858
1878
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1859
|
-
errorCode = "UnknownError";
|
|
1860
1879
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1861
1880
|
_b = errorCode;
|
|
1862
1881
|
switch (_b) {
|
|
@@ -1880,10 +1899,12 @@ var deserializeAws_json1_1DescribeDataRepositoryTasksCommandError = function (ou
|
|
|
1880
1899
|
case 9: throw _d.sent();
|
|
1881
1900
|
case 10:
|
|
1882
1901
|
parsedBody = parsedOutput.body;
|
|
1902
|
+
$metadata = deserializeMetadata(output);
|
|
1903
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1883
1904
|
response = new __BaseException({
|
|
1884
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1905
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1885
1906
|
$fault: "client",
|
|
1886
|
-
$metadata:
|
|
1907
|
+
$metadata: $metadata,
|
|
1887
1908
|
});
|
|
1888
1909
|
throw __decorateServiceException(response, parsedBody);
|
|
1889
1910
|
}
|
|
@@ -1908,7 +1929,7 @@ export var deserializeAws_json1_1DescribeFileSystemAliasesCommand = function (ou
|
|
|
1908
1929
|
});
|
|
1909
1930
|
}); };
|
|
1910
1931
|
var deserializeAws_json1_1DescribeFileSystemAliasesCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1911
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1932
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1912
1933
|
var _c;
|
|
1913
1934
|
return __generator(this, function (_d) {
|
|
1914
1935
|
switch (_d.label) {
|
|
@@ -1918,7 +1939,6 @@ var deserializeAws_json1_1DescribeFileSystemAliasesCommandError = function (outp
|
|
|
1918
1939
|
return [4, parseBody(output.body, context)];
|
|
1919
1940
|
case 1:
|
|
1920
1941
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1921
|
-
errorCode = "UnknownError";
|
|
1922
1942
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1923
1943
|
_b = errorCode;
|
|
1924
1944
|
switch (_b) {
|
|
@@ -1938,10 +1958,12 @@ var deserializeAws_json1_1DescribeFileSystemAliasesCommandError = function (outp
|
|
|
1938
1958
|
case 7: throw _d.sent();
|
|
1939
1959
|
case 8:
|
|
1940
1960
|
parsedBody = parsedOutput.body;
|
|
1961
|
+
$metadata = deserializeMetadata(output);
|
|
1962
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1941
1963
|
response = new __BaseException({
|
|
1942
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1964
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1943
1965
|
$fault: "client",
|
|
1944
|
-
$metadata:
|
|
1966
|
+
$metadata: $metadata,
|
|
1945
1967
|
});
|
|
1946
1968
|
throw __decorateServiceException(response, parsedBody);
|
|
1947
1969
|
}
|
|
@@ -1966,7 +1988,7 @@ export var deserializeAws_json1_1DescribeFileSystemsCommand = function (output,
|
|
|
1966
1988
|
});
|
|
1967
1989
|
}); };
|
|
1968
1990
|
var deserializeAws_json1_1DescribeFileSystemsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1969
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1991
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1970
1992
|
var _c;
|
|
1971
1993
|
return __generator(this, function (_d) {
|
|
1972
1994
|
switch (_d.label) {
|
|
@@ -1976,7 +1998,6 @@ var deserializeAws_json1_1DescribeFileSystemsCommandError = function (output, co
|
|
|
1976
1998
|
return [4, parseBody(output.body, context)];
|
|
1977
1999
|
case 1:
|
|
1978
2000
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1979
|
-
errorCode = "UnknownError";
|
|
1980
2001
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1981
2002
|
_b = errorCode;
|
|
1982
2003
|
switch (_b) {
|
|
@@ -1996,10 +2017,12 @@ var deserializeAws_json1_1DescribeFileSystemsCommandError = function (output, co
|
|
|
1996
2017
|
case 7: throw _d.sent();
|
|
1997
2018
|
case 8:
|
|
1998
2019
|
parsedBody = parsedOutput.body;
|
|
2020
|
+
$metadata = deserializeMetadata(output);
|
|
2021
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1999
2022
|
response = new __BaseException({
|
|
2000
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2023
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2001
2024
|
$fault: "client",
|
|
2002
|
-
$metadata:
|
|
2025
|
+
$metadata: $metadata,
|
|
2003
2026
|
});
|
|
2004
2027
|
throw __decorateServiceException(response, parsedBody);
|
|
2005
2028
|
}
|
|
@@ -2024,7 +2047,7 @@ export var deserializeAws_json1_1DescribeSnapshotsCommand = function (output, co
|
|
|
2024
2047
|
});
|
|
2025
2048
|
}); };
|
|
2026
2049
|
var deserializeAws_json1_1DescribeSnapshotsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2027
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2050
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2028
2051
|
var _c;
|
|
2029
2052
|
return __generator(this, function (_d) {
|
|
2030
2053
|
switch (_d.label) {
|
|
@@ -2034,7 +2057,6 @@ var deserializeAws_json1_1DescribeSnapshotsCommandError = function (output, cont
|
|
|
2034
2057
|
return [4, parseBody(output.body, context)];
|
|
2035
2058
|
case 1:
|
|
2036
2059
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2037
|
-
errorCode = "UnknownError";
|
|
2038
2060
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2039
2061
|
_b = errorCode;
|
|
2040
2062
|
switch (_b) {
|
|
@@ -2054,10 +2076,12 @@ var deserializeAws_json1_1DescribeSnapshotsCommandError = function (output, cont
|
|
|
2054
2076
|
case 7: throw _d.sent();
|
|
2055
2077
|
case 8:
|
|
2056
2078
|
parsedBody = parsedOutput.body;
|
|
2079
|
+
$metadata = deserializeMetadata(output);
|
|
2080
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2057
2081
|
response = new __BaseException({
|
|
2058
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2082
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2059
2083
|
$fault: "client",
|
|
2060
|
-
$metadata:
|
|
2084
|
+
$metadata: $metadata,
|
|
2061
2085
|
});
|
|
2062
2086
|
throw __decorateServiceException(response, parsedBody);
|
|
2063
2087
|
}
|
|
@@ -2082,7 +2106,7 @@ export var deserializeAws_json1_1DescribeStorageVirtualMachinesCommand = functio
|
|
|
2082
2106
|
});
|
|
2083
2107
|
}); };
|
|
2084
2108
|
var deserializeAws_json1_1DescribeStorageVirtualMachinesCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2085
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2109
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2086
2110
|
var _c;
|
|
2087
2111
|
return __generator(this, function (_d) {
|
|
2088
2112
|
switch (_d.label) {
|
|
@@ -2092,7 +2116,6 @@ var deserializeAws_json1_1DescribeStorageVirtualMachinesCommandError = function
|
|
|
2092
2116
|
return [4, parseBody(output.body, context)];
|
|
2093
2117
|
case 1:
|
|
2094
2118
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2095
|
-
errorCode = "UnknownError";
|
|
2096
2119
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2097
2120
|
_b = errorCode;
|
|
2098
2121
|
switch (_b) {
|
|
@@ -2112,10 +2135,12 @@ var deserializeAws_json1_1DescribeStorageVirtualMachinesCommandError = function
|
|
|
2112
2135
|
case 7: throw _d.sent();
|
|
2113
2136
|
case 8:
|
|
2114
2137
|
parsedBody = parsedOutput.body;
|
|
2138
|
+
$metadata = deserializeMetadata(output);
|
|
2139
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2115
2140
|
response = new __BaseException({
|
|
2116
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2141
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2117
2142
|
$fault: "client",
|
|
2118
|
-
$metadata:
|
|
2143
|
+
$metadata: $metadata,
|
|
2119
2144
|
});
|
|
2120
2145
|
throw __decorateServiceException(response, parsedBody);
|
|
2121
2146
|
}
|
|
@@ -2140,7 +2165,7 @@ export var deserializeAws_json1_1DescribeVolumesCommand = function (output, cont
|
|
|
2140
2165
|
});
|
|
2141
2166
|
}); };
|
|
2142
2167
|
var deserializeAws_json1_1DescribeVolumesCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2143
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2168
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2144
2169
|
var _c;
|
|
2145
2170
|
return __generator(this, function (_d) {
|
|
2146
2171
|
switch (_d.label) {
|
|
@@ -2150,7 +2175,6 @@ var deserializeAws_json1_1DescribeVolumesCommandError = function (output, contex
|
|
|
2150
2175
|
return [4, parseBody(output.body, context)];
|
|
2151
2176
|
case 1:
|
|
2152
2177
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2153
|
-
errorCode = "UnknownError";
|
|
2154
2178
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2155
2179
|
_b = errorCode;
|
|
2156
2180
|
switch (_b) {
|
|
@@ -2170,10 +2194,12 @@ var deserializeAws_json1_1DescribeVolumesCommandError = function (output, contex
|
|
|
2170
2194
|
case 7: throw _d.sent();
|
|
2171
2195
|
case 8:
|
|
2172
2196
|
parsedBody = parsedOutput.body;
|
|
2197
|
+
$metadata = deserializeMetadata(output);
|
|
2198
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2173
2199
|
response = new __BaseException({
|
|
2174
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2200
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2175
2201
|
$fault: "client",
|
|
2176
|
-
$metadata:
|
|
2202
|
+
$metadata: $metadata,
|
|
2177
2203
|
});
|
|
2178
2204
|
throw __decorateServiceException(response, parsedBody);
|
|
2179
2205
|
}
|
|
@@ -2198,7 +2224,7 @@ export var deserializeAws_json1_1DisassociateFileSystemAliasesCommand = function
|
|
|
2198
2224
|
});
|
|
2199
2225
|
}); };
|
|
2200
2226
|
var deserializeAws_json1_1DisassociateFileSystemAliasesCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2201
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2227
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2202
2228
|
var _c;
|
|
2203
2229
|
return __generator(this, function (_d) {
|
|
2204
2230
|
switch (_d.label) {
|
|
@@ -2208,7 +2234,6 @@ var deserializeAws_json1_1DisassociateFileSystemAliasesCommandError = function (
|
|
|
2208
2234
|
return [4, parseBody(output.body, context)];
|
|
2209
2235
|
case 1:
|
|
2210
2236
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2211
|
-
errorCode = "UnknownError";
|
|
2212
2237
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2213
2238
|
_b = errorCode;
|
|
2214
2239
|
switch (_b) {
|
|
@@ -2228,10 +2253,12 @@ var deserializeAws_json1_1DisassociateFileSystemAliasesCommandError = function (
|
|
|
2228
2253
|
case 7: throw _d.sent();
|
|
2229
2254
|
case 8:
|
|
2230
2255
|
parsedBody = parsedOutput.body;
|
|
2256
|
+
$metadata = deserializeMetadata(output);
|
|
2257
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2231
2258
|
response = new __BaseException({
|
|
2232
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2259
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2233
2260
|
$fault: "client",
|
|
2234
|
-
$metadata:
|
|
2261
|
+
$metadata: $metadata,
|
|
2235
2262
|
});
|
|
2236
2263
|
throw __decorateServiceException(response, parsedBody);
|
|
2237
2264
|
}
|
|
@@ -2256,7 +2283,7 @@ export var deserializeAws_json1_1ListTagsForResourceCommand = function (output,
|
|
|
2256
2283
|
});
|
|
2257
2284
|
}); };
|
|
2258
2285
|
var deserializeAws_json1_1ListTagsForResourceCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2259
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2286
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2260
2287
|
var _c;
|
|
2261
2288
|
return __generator(this, function (_d) {
|
|
2262
2289
|
switch (_d.label) {
|
|
@@ -2266,7 +2293,6 @@ var deserializeAws_json1_1ListTagsForResourceCommandError = function (output, co
|
|
|
2266
2293
|
return [4, parseBody(output.body, context)];
|
|
2267
2294
|
case 1:
|
|
2268
2295
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2269
|
-
errorCode = "UnknownError";
|
|
2270
2296
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2271
2297
|
_b = errorCode;
|
|
2272
2298
|
switch (_b) {
|
|
@@ -2294,10 +2320,12 @@ var deserializeAws_json1_1ListTagsForResourceCommandError = function (output, co
|
|
|
2294
2320
|
case 11: throw _d.sent();
|
|
2295
2321
|
case 12:
|
|
2296
2322
|
parsedBody = parsedOutput.body;
|
|
2323
|
+
$metadata = deserializeMetadata(output);
|
|
2324
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2297
2325
|
response = new __BaseException({
|
|
2298
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2326
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2299
2327
|
$fault: "client",
|
|
2300
|
-
$metadata:
|
|
2328
|
+
$metadata: $metadata,
|
|
2301
2329
|
});
|
|
2302
2330
|
throw __decorateServiceException(response, parsedBody);
|
|
2303
2331
|
}
|
|
@@ -2322,7 +2350,7 @@ export var deserializeAws_json1_1ReleaseFileSystemNfsV3LocksCommand = function (
|
|
|
2322
2350
|
});
|
|
2323
2351
|
}); };
|
|
2324
2352
|
var deserializeAws_json1_1ReleaseFileSystemNfsV3LocksCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2325
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2353
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2326
2354
|
var _c;
|
|
2327
2355
|
return __generator(this, function (_d) {
|
|
2328
2356
|
switch (_d.label) {
|
|
@@ -2332,7 +2360,6 @@ var deserializeAws_json1_1ReleaseFileSystemNfsV3LocksCommandError = function (ou
|
|
|
2332
2360
|
return [4, parseBody(output.body, context)];
|
|
2333
2361
|
case 1:
|
|
2334
2362
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2335
|
-
errorCode = "UnknownError";
|
|
2336
2363
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2337
2364
|
_b = errorCode;
|
|
2338
2365
|
switch (_b) {
|
|
@@ -2360,10 +2387,12 @@ var deserializeAws_json1_1ReleaseFileSystemNfsV3LocksCommandError = function (ou
|
|
|
2360
2387
|
case 11: throw _d.sent();
|
|
2361
2388
|
case 12:
|
|
2362
2389
|
parsedBody = parsedOutput.body;
|
|
2390
|
+
$metadata = deserializeMetadata(output);
|
|
2391
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2363
2392
|
response = new __BaseException({
|
|
2364
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2393
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2365
2394
|
$fault: "client",
|
|
2366
|
-
$metadata:
|
|
2395
|
+
$metadata: $metadata,
|
|
2367
2396
|
});
|
|
2368
2397
|
throw __decorateServiceException(response, parsedBody);
|
|
2369
2398
|
}
|
|
@@ -2388,7 +2417,7 @@ export var deserializeAws_json1_1RestoreVolumeFromSnapshotCommand = function (ou
|
|
|
2388
2417
|
});
|
|
2389
2418
|
}); };
|
|
2390
2419
|
var deserializeAws_json1_1RestoreVolumeFromSnapshotCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2391
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2420
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2392
2421
|
var _c;
|
|
2393
2422
|
return __generator(this, function (_d) {
|
|
2394
2423
|
switch (_d.label) {
|
|
@@ -2398,7 +2427,6 @@ var deserializeAws_json1_1RestoreVolumeFromSnapshotCommandError = function (outp
|
|
|
2398
2427
|
return [4, parseBody(output.body, context)];
|
|
2399
2428
|
case 1:
|
|
2400
2429
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2401
|
-
errorCode = "UnknownError";
|
|
2402
2430
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2403
2431
|
_b = errorCode;
|
|
2404
2432
|
switch (_b) {
|
|
@@ -2418,10 +2446,12 @@ var deserializeAws_json1_1RestoreVolumeFromSnapshotCommandError = function (outp
|
|
|
2418
2446
|
case 7: throw _d.sent();
|
|
2419
2447
|
case 8:
|
|
2420
2448
|
parsedBody = parsedOutput.body;
|
|
2449
|
+
$metadata = deserializeMetadata(output);
|
|
2450
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2421
2451
|
response = new __BaseException({
|
|
2422
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2452
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2423
2453
|
$fault: "client",
|
|
2424
|
-
$metadata:
|
|
2454
|
+
$metadata: $metadata,
|
|
2425
2455
|
});
|
|
2426
2456
|
throw __decorateServiceException(response, parsedBody);
|
|
2427
2457
|
}
|
|
@@ -2446,7 +2476,7 @@ export var deserializeAws_json1_1TagResourceCommand = function (output, context)
|
|
|
2446
2476
|
});
|
|
2447
2477
|
}); };
|
|
2448
2478
|
var deserializeAws_json1_1TagResourceCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2449
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2479
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2450
2480
|
var _c;
|
|
2451
2481
|
return __generator(this, function (_d) {
|
|
2452
2482
|
switch (_d.label) {
|
|
@@ -2456,7 +2486,6 @@ var deserializeAws_json1_1TagResourceCommandError = function (output, context) {
|
|
|
2456
2486
|
return [4, parseBody(output.body, context)];
|
|
2457
2487
|
case 1:
|
|
2458
2488
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2459
|
-
errorCode = "UnknownError";
|
|
2460
2489
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2461
2490
|
_b = errorCode;
|
|
2462
2491
|
switch (_b) {
|
|
@@ -2484,10 +2513,12 @@ var deserializeAws_json1_1TagResourceCommandError = function (output, context) {
|
|
|
2484
2513
|
case 11: throw _d.sent();
|
|
2485
2514
|
case 12:
|
|
2486
2515
|
parsedBody = parsedOutput.body;
|
|
2516
|
+
$metadata = deserializeMetadata(output);
|
|
2517
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2487
2518
|
response = new __BaseException({
|
|
2488
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2519
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2489
2520
|
$fault: "client",
|
|
2490
|
-
$metadata:
|
|
2521
|
+
$metadata: $metadata,
|
|
2491
2522
|
});
|
|
2492
2523
|
throw __decorateServiceException(response, parsedBody);
|
|
2493
2524
|
}
|
|
@@ -2512,7 +2543,7 @@ export var deserializeAws_json1_1UntagResourceCommand = function (output, contex
|
|
|
2512
2543
|
});
|
|
2513
2544
|
}); };
|
|
2514
2545
|
var deserializeAws_json1_1UntagResourceCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2515
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2546
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2516
2547
|
var _c;
|
|
2517
2548
|
return __generator(this, function (_d) {
|
|
2518
2549
|
switch (_d.label) {
|
|
@@ -2522,7 +2553,6 @@ var deserializeAws_json1_1UntagResourceCommandError = function (output, context)
|
|
|
2522
2553
|
return [4, parseBody(output.body, context)];
|
|
2523
2554
|
case 1:
|
|
2524
2555
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2525
|
-
errorCode = "UnknownError";
|
|
2526
2556
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2527
2557
|
_b = errorCode;
|
|
2528
2558
|
switch (_b) {
|
|
@@ -2550,10 +2580,12 @@ var deserializeAws_json1_1UntagResourceCommandError = function (output, context)
|
|
|
2550
2580
|
case 11: throw _d.sent();
|
|
2551
2581
|
case 12:
|
|
2552
2582
|
parsedBody = parsedOutput.body;
|
|
2583
|
+
$metadata = deserializeMetadata(output);
|
|
2584
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2553
2585
|
response = new __BaseException({
|
|
2554
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2586
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2555
2587
|
$fault: "client",
|
|
2556
|
-
$metadata:
|
|
2588
|
+
$metadata: $metadata,
|
|
2557
2589
|
});
|
|
2558
2590
|
throw __decorateServiceException(response, parsedBody);
|
|
2559
2591
|
}
|
|
@@ -2578,7 +2610,7 @@ export var deserializeAws_json1_1UpdateDataRepositoryAssociationCommand = functi
|
|
|
2578
2610
|
});
|
|
2579
2611
|
}); };
|
|
2580
2612
|
var deserializeAws_json1_1UpdateDataRepositoryAssociationCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2581
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2613
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2582
2614
|
var _c;
|
|
2583
2615
|
return __generator(this, function (_d) {
|
|
2584
2616
|
switch (_d.label) {
|
|
@@ -2588,7 +2620,6 @@ var deserializeAws_json1_1UpdateDataRepositoryAssociationCommandError = function
|
|
|
2588
2620
|
return [4, parseBody(output.body, context)];
|
|
2589
2621
|
case 1:
|
|
2590
2622
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2591
|
-
errorCode = "UnknownError";
|
|
2592
2623
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2593
2624
|
_b = errorCode;
|
|
2594
2625
|
switch (_b) {
|
|
@@ -2616,10 +2647,12 @@ var deserializeAws_json1_1UpdateDataRepositoryAssociationCommandError = function
|
|
|
2616
2647
|
case 11: throw _d.sent();
|
|
2617
2648
|
case 12:
|
|
2618
2649
|
parsedBody = parsedOutput.body;
|
|
2650
|
+
$metadata = deserializeMetadata(output);
|
|
2651
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2619
2652
|
response = new __BaseException({
|
|
2620
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2653
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2621
2654
|
$fault: "client",
|
|
2622
|
-
$metadata:
|
|
2655
|
+
$metadata: $metadata,
|
|
2623
2656
|
});
|
|
2624
2657
|
throw __decorateServiceException(response, parsedBody);
|
|
2625
2658
|
}
|
|
@@ -2644,7 +2677,7 @@ export var deserializeAws_json1_1UpdateFileSystemCommand = function (output, con
|
|
|
2644
2677
|
});
|
|
2645
2678
|
}); };
|
|
2646
2679
|
var deserializeAws_json1_1UpdateFileSystemCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2647
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2680
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2648
2681
|
var _c;
|
|
2649
2682
|
return __generator(this, function (_d) {
|
|
2650
2683
|
switch (_d.label) {
|
|
@@ -2654,7 +2687,6 @@ var deserializeAws_json1_1UpdateFileSystemCommandError = function (output, conte
|
|
|
2654
2687
|
return [4, parseBody(output.body, context)];
|
|
2655
2688
|
case 1:
|
|
2656
2689
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2657
|
-
errorCode = "UnknownError";
|
|
2658
2690
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2659
2691
|
_b = errorCode;
|
|
2660
2692
|
switch (_b) {
|
|
@@ -2690,10 +2722,12 @@ var deserializeAws_json1_1UpdateFileSystemCommandError = function (output, conte
|
|
|
2690
2722
|
case 15: throw _d.sent();
|
|
2691
2723
|
case 16:
|
|
2692
2724
|
parsedBody = parsedOutput.body;
|
|
2725
|
+
$metadata = deserializeMetadata(output);
|
|
2726
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2693
2727
|
response = new __BaseException({
|
|
2694
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2728
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2695
2729
|
$fault: "client",
|
|
2696
|
-
$metadata:
|
|
2730
|
+
$metadata: $metadata,
|
|
2697
2731
|
});
|
|
2698
2732
|
throw __decorateServiceException(response, parsedBody);
|
|
2699
2733
|
}
|
|
@@ -2718,7 +2752,7 @@ export var deserializeAws_json1_1UpdateSnapshotCommand = function (output, conte
|
|
|
2718
2752
|
});
|
|
2719
2753
|
}); };
|
|
2720
2754
|
var deserializeAws_json1_1UpdateSnapshotCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2721
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2755
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2722
2756
|
var _c;
|
|
2723
2757
|
return __generator(this, function (_d) {
|
|
2724
2758
|
switch (_d.label) {
|
|
@@ -2728,7 +2762,6 @@ var deserializeAws_json1_1UpdateSnapshotCommandError = function (output, context
|
|
|
2728
2762
|
return [4, parseBody(output.body, context)];
|
|
2729
2763
|
case 1:
|
|
2730
2764
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2731
|
-
errorCode = "UnknownError";
|
|
2732
2765
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2733
2766
|
_b = errorCode;
|
|
2734
2767
|
switch (_b) {
|
|
@@ -2748,10 +2781,12 @@ var deserializeAws_json1_1UpdateSnapshotCommandError = function (output, context
|
|
|
2748
2781
|
case 7: throw _d.sent();
|
|
2749
2782
|
case 8:
|
|
2750
2783
|
parsedBody = parsedOutput.body;
|
|
2784
|
+
$metadata = deserializeMetadata(output);
|
|
2785
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2751
2786
|
response = new __BaseException({
|
|
2752
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2787
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2753
2788
|
$fault: "client",
|
|
2754
|
-
$metadata:
|
|
2789
|
+
$metadata: $metadata,
|
|
2755
2790
|
});
|
|
2756
2791
|
throw __decorateServiceException(response, parsedBody);
|
|
2757
2792
|
}
|
|
@@ -2776,7 +2811,7 @@ export var deserializeAws_json1_1UpdateStorageVirtualMachineCommand = function (
|
|
|
2776
2811
|
});
|
|
2777
2812
|
}); };
|
|
2778
2813
|
var deserializeAws_json1_1UpdateStorageVirtualMachineCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2779
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2814
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2780
2815
|
var _c;
|
|
2781
2816
|
return __generator(this, function (_d) {
|
|
2782
2817
|
switch (_d.label) {
|
|
@@ -2786,7 +2821,6 @@ var deserializeAws_json1_1UpdateStorageVirtualMachineCommandError = function (ou
|
|
|
2786
2821
|
return [4, parseBody(output.body, context)];
|
|
2787
2822
|
case 1:
|
|
2788
2823
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2789
|
-
errorCode = "UnknownError";
|
|
2790
2824
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2791
2825
|
_b = errorCode;
|
|
2792
2826
|
switch (_b) {
|
|
@@ -2814,10 +2848,12 @@ var deserializeAws_json1_1UpdateStorageVirtualMachineCommandError = function (ou
|
|
|
2814
2848
|
case 11: throw _d.sent();
|
|
2815
2849
|
case 12:
|
|
2816
2850
|
parsedBody = parsedOutput.body;
|
|
2851
|
+
$metadata = deserializeMetadata(output);
|
|
2852
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2817
2853
|
response = new __BaseException({
|
|
2818
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2854
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2819
2855
|
$fault: "client",
|
|
2820
|
-
$metadata:
|
|
2856
|
+
$metadata: $metadata,
|
|
2821
2857
|
});
|
|
2822
2858
|
throw __decorateServiceException(response, parsedBody);
|
|
2823
2859
|
}
|
|
@@ -2842,7 +2878,7 @@ export var deserializeAws_json1_1UpdateVolumeCommand = function (output, context
|
|
|
2842
2878
|
});
|
|
2843
2879
|
}); };
|
|
2844
2880
|
var deserializeAws_json1_1UpdateVolumeCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2845
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2881
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2846
2882
|
var _c;
|
|
2847
2883
|
return __generator(this, function (_d) {
|
|
2848
2884
|
switch (_d.label) {
|
|
@@ -2852,7 +2888,6 @@ var deserializeAws_json1_1UpdateVolumeCommandError = function (output, context)
|
|
|
2852
2888
|
return [4, parseBody(output.body, context)];
|
|
2853
2889
|
case 1:
|
|
2854
2890
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2855
|
-
errorCode = "UnknownError";
|
|
2856
2891
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2857
2892
|
_b = errorCode;
|
|
2858
2893
|
switch (_b) {
|
|
@@ -2880,10 +2915,12 @@ var deserializeAws_json1_1UpdateVolumeCommandError = function (output, context)
|
|
|
2880
2915
|
case 11: throw _d.sent();
|
|
2881
2916
|
case 12:
|
|
2882
2917
|
parsedBody = parsedOutput.body;
|
|
2918
|
+
$metadata = deserializeMetadata(output);
|
|
2919
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2883
2920
|
response = new __BaseException({
|
|
2884
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2921
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2885
2922
|
$fault: "client",
|
|
2886
|
-
$metadata:
|
|
2923
|
+
$metadata: $metadata,
|
|
2887
2924
|
});
|
|
2888
2925
|
throw __decorateServiceException(response, parsedBody);
|
|
2889
2926
|
}
|
|
@@ -3198,16 +3235,13 @@ var serializeAws_json1_1AlternateDNSNames = function (input, context) {
|
|
|
3198
3235
|
};
|
|
3199
3236
|
var serializeAws_json1_1AssociateFileSystemAliasesRequest = function (input, context) {
|
|
3200
3237
|
var _a;
|
|
3201
|
-
return __assign(__assign(__assign({}, (input.Aliases !==
|
|
3202
|
-
input.Aliases !== null && { Aliases: serializeAws_json1_1AlternateDNSNames(input.Aliases, context) })), { ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }), (input.FileSystemId !== undefined && input.FileSystemId !== null && { FileSystemId: input.FileSystemId }));
|
|
3238
|
+
return __assign(__assign(__assign({}, (input.Aliases != null && { Aliases: serializeAws_json1_1AlternateDNSNames(input.Aliases, context) })), { ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }), (input.FileSystemId != null && { FileSystemId: input.FileSystemId }));
|
|
3203
3239
|
};
|
|
3204
3240
|
var serializeAws_json1_1AutoExportPolicy = function (input, context) {
|
|
3205
|
-
return __assign({}, (input.Events
|
|
3206
|
-
input.Events !== null && { Events: serializeAws_json1_1EventTypes(input.Events, context) }));
|
|
3241
|
+
return __assign({}, (input.Events != null && { Events: serializeAws_json1_1EventTypes(input.Events, context) }));
|
|
3207
3242
|
};
|
|
3208
3243
|
var serializeAws_json1_1AutoImportPolicy = function (input, context) {
|
|
3209
|
-
return __assign({}, (input.Events
|
|
3210
|
-
input.Events !== null && { Events: serializeAws_json1_1EventTypes(input.Events, context) }));
|
|
3244
|
+
return __assign({}, (input.Events != null && { Events: serializeAws_json1_1EventTypes(input.Events, context) }));
|
|
3211
3245
|
};
|
|
3212
3246
|
var serializeAws_json1_1BackupIds = function (input, context) {
|
|
3213
3247
|
return input
|
|
@@ -3220,226 +3254,144 @@ var serializeAws_json1_1BackupIds = function (input, context) {
|
|
|
3220
3254
|
});
|
|
3221
3255
|
};
|
|
3222
3256
|
var serializeAws_json1_1CancelDataRepositoryTaskRequest = function (input, context) {
|
|
3223
|
-
return __assign({}, (input.TaskId
|
|
3257
|
+
return __assign({}, (input.TaskId != null && { TaskId: input.TaskId }));
|
|
3224
3258
|
};
|
|
3225
3259
|
var serializeAws_json1_1CompletionReport = function (input, context) {
|
|
3226
|
-
return __assign(__assign(__assign(__assign({}, (input.Enabled
|
|
3260
|
+
return __assign(__assign(__assign(__assign({}, (input.Enabled != null && { Enabled: input.Enabled })), (input.Format != null && { Format: input.Format })), (input.Path != null && { Path: input.Path })), (input.Scope != null && { Scope: input.Scope }));
|
|
3227
3261
|
};
|
|
3228
3262
|
var serializeAws_json1_1CopyBackupRequest = function (input, context) {
|
|
3229
3263
|
var _a;
|
|
3230
|
-
return __assign(__assign(__assign(__assign(__assign({ ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.CopyTags
|
|
3231
|
-
input.SourceBackupId !== null && { SourceBackupId: input.SourceBackupId })), (input.SourceRegion !== undefined && input.SourceRegion !== null && { SourceRegion: input.SourceRegion })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1Tags(input.Tags, context) }));
|
|
3264
|
+
return __assign(__assign(__assign(__assign(__assign({ ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.CopyTags != null && { CopyTags: input.CopyTags })), (input.KmsKeyId != null && { KmsKeyId: input.KmsKeyId })), (input.SourceBackupId != null && { SourceBackupId: input.SourceBackupId })), (input.SourceRegion != null && { SourceRegion: input.SourceRegion })), (input.Tags != null && { Tags: serializeAws_json1_1Tags(input.Tags, context) }));
|
|
3232
3265
|
};
|
|
3233
3266
|
var serializeAws_json1_1CreateBackupRequest = function (input, context) {
|
|
3234
3267
|
var _a;
|
|
3235
|
-
return __assign(__assign(__assign({ ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.FileSystemId
|
|
3268
|
+
return __assign(__assign(__assign({ ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.FileSystemId != null && { FileSystemId: input.FileSystemId })), (input.Tags != null && { Tags: serializeAws_json1_1Tags(input.Tags, context) })), (input.VolumeId != null && { VolumeId: input.VolumeId }));
|
|
3236
3269
|
};
|
|
3237
3270
|
var serializeAws_json1_1CreateDataRepositoryAssociationRequest = function (input, context) {
|
|
3238
3271
|
var _a;
|
|
3239
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.BatchImportMetaDataOnCreate
|
|
3240
|
-
|
|
3241
|
-
|
|
3242
|
-
input.FileSystemPath !== null && { FileSystemPath: input.FileSystemPath })), (input.ImportedFileChunkSize !== undefined &&
|
|
3243
|
-
input.ImportedFileChunkSize !== null && { ImportedFileChunkSize: input.ImportedFileChunkSize })), (input.S3 !== undefined &&
|
|
3244
|
-
input.S3 !== null && { S3: serializeAws_json1_1S3DataRepositoryConfiguration(input.S3, context) })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1Tags(input.Tags, context) }));
|
|
3272
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.BatchImportMetaDataOnCreate != null && {
|
|
3273
|
+
BatchImportMetaDataOnCreate: input.BatchImportMetaDataOnCreate,
|
|
3274
|
+
})), { ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }), (input.DataRepositoryPath != null && { DataRepositoryPath: input.DataRepositoryPath })), (input.FileSystemId != null && { FileSystemId: input.FileSystemId })), (input.FileSystemPath != null && { FileSystemPath: input.FileSystemPath })), (input.ImportedFileChunkSize != null && { ImportedFileChunkSize: input.ImportedFileChunkSize })), (input.S3 != null && { S3: serializeAws_json1_1S3DataRepositoryConfiguration(input.S3, context) })), (input.Tags != null && { Tags: serializeAws_json1_1Tags(input.Tags, context) }));
|
|
3245
3275
|
};
|
|
3246
3276
|
var serializeAws_json1_1CreateDataRepositoryTaskRequest = function (input, context) {
|
|
3247
3277
|
var _a;
|
|
3248
|
-
return __assign(__assign(__assign(__assign(__assign({ ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.FileSystemId
|
|
3249
|
-
input.Paths !== null && { Paths: serializeAws_json1_1DataRepositoryTaskPaths(input.Paths, context) })), (input.Report !== undefined &&
|
|
3250
|
-
input.Report !== null && { Report: serializeAws_json1_1CompletionReport(input.Report, context) })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1Tags(input.Tags, context) })), (input.Type !== undefined && input.Type !== null && { Type: input.Type }));
|
|
3278
|
+
return __assign(__assign(__assign(__assign(__assign({ ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.FileSystemId != null && { FileSystemId: input.FileSystemId })), (input.Paths != null && { Paths: serializeAws_json1_1DataRepositoryTaskPaths(input.Paths, context) })), (input.Report != null && { Report: serializeAws_json1_1CompletionReport(input.Report, context) })), (input.Tags != null && { Tags: serializeAws_json1_1Tags(input.Tags, context) })), (input.Type != null && { Type: input.Type }));
|
|
3251
3279
|
};
|
|
3252
3280
|
var serializeAws_json1_1CreateFileSystemFromBackupRequest = function (input, context) {
|
|
3253
3281
|
var _a;
|
|
3254
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.BackupId
|
|
3255
|
-
input.FileSystemTypeVersion !== null && { FileSystemTypeVersion: input.FileSystemTypeVersion })), (input.KmsKeyId !== undefined && input.KmsKeyId !== null && { KmsKeyId: input.KmsKeyId })), (input.LustreConfiguration !== undefined &&
|
|
3256
|
-
input.LustreConfiguration !== null && {
|
|
3282
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.BackupId != null && { BackupId: input.BackupId })), { ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }), (input.FileSystemTypeVersion != null && { FileSystemTypeVersion: input.FileSystemTypeVersion })), (input.KmsKeyId != null && { KmsKeyId: input.KmsKeyId })), (input.LustreConfiguration != null && {
|
|
3257
3283
|
LustreConfiguration: serializeAws_json1_1CreateFileSystemLustreConfiguration(input.LustreConfiguration, context),
|
|
3258
|
-
})), (input.OpenZFSConfiguration
|
|
3259
|
-
input.OpenZFSConfiguration !== null && {
|
|
3284
|
+
})), (input.OpenZFSConfiguration != null && {
|
|
3260
3285
|
OpenZFSConfiguration: serializeAws_json1_1CreateFileSystemOpenZFSConfiguration(input.OpenZFSConfiguration, context),
|
|
3261
|
-
})), (input.SecurityGroupIds
|
|
3262
|
-
input.SecurityGroupIds !== null && {
|
|
3286
|
+
})), (input.SecurityGroupIds != null && {
|
|
3263
3287
|
SecurityGroupIds: serializeAws_json1_1SecurityGroupIds(input.SecurityGroupIds, context),
|
|
3264
|
-
})), (input.StorageType
|
|
3265
|
-
input.SubnetIds !== null && { SubnetIds: serializeAws_json1_1SubnetIds(input.SubnetIds, context) })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1Tags(input.Tags, context) })), (input.WindowsConfiguration !== undefined &&
|
|
3266
|
-
input.WindowsConfiguration !== null && {
|
|
3288
|
+
})), (input.StorageType != null && { StorageType: input.StorageType })), (input.SubnetIds != null && { SubnetIds: serializeAws_json1_1SubnetIds(input.SubnetIds, context) })), (input.Tags != null && { Tags: serializeAws_json1_1Tags(input.Tags, context) })), (input.WindowsConfiguration != null && {
|
|
3267
3289
|
WindowsConfiguration: serializeAws_json1_1CreateFileSystemWindowsConfiguration(input.WindowsConfiguration, context),
|
|
3268
3290
|
}));
|
|
3269
3291
|
};
|
|
3270
3292
|
var serializeAws_json1_1CreateFileSystemLustreConfiguration = function (input, context) {
|
|
3271
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AutoImportPolicy
|
|
3272
|
-
input.AutoImportPolicy !== null && { AutoImportPolicy: input.AutoImportPolicy })), (input.AutomaticBackupRetentionDays !== undefined &&
|
|
3273
|
-
input.AutomaticBackupRetentionDays !== null && {
|
|
3293
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AutoImportPolicy != null && { AutoImportPolicy: input.AutoImportPolicy })), (input.AutomaticBackupRetentionDays != null && {
|
|
3274
3294
|
AutomaticBackupRetentionDays: input.AutomaticBackupRetentionDays,
|
|
3275
|
-
})), (input.CopyTagsToBackups
|
|
3276
|
-
input.CopyTagsToBackups !== null && { CopyTagsToBackups: input.CopyTagsToBackups })), (input.DailyAutomaticBackupStartTime !== undefined &&
|
|
3277
|
-
input.DailyAutomaticBackupStartTime !== null && {
|
|
3295
|
+
})), (input.CopyTagsToBackups != null && { CopyTagsToBackups: input.CopyTagsToBackups })), (input.DailyAutomaticBackupStartTime != null && {
|
|
3278
3296
|
DailyAutomaticBackupStartTime: input.DailyAutomaticBackupStartTime,
|
|
3279
|
-
})), (input.DataCompressionType
|
|
3280
|
-
input.DataCompressionType !== null && { DataCompressionType: input.DataCompressionType })), (input.DeploymentType !== undefined &&
|
|
3281
|
-
input.DeploymentType !== null && { DeploymentType: input.DeploymentType })), (input.DriveCacheType !== undefined &&
|
|
3282
|
-
input.DriveCacheType !== null && { DriveCacheType: input.DriveCacheType })), (input.ExportPath !== undefined && input.ExportPath !== null && { ExportPath: input.ExportPath })), (input.ImportPath !== undefined && input.ImportPath !== null && { ImportPath: input.ImportPath })), (input.ImportedFileChunkSize !== undefined &&
|
|
3283
|
-
input.ImportedFileChunkSize !== null && { ImportedFileChunkSize: input.ImportedFileChunkSize })), (input.LogConfiguration !== undefined &&
|
|
3284
|
-
input.LogConfiguration !== null && {
|
|
3297
|
+
})), (input.DataCompressionType != null && { DataCompressionType: input.DataCompressionType })), (input.DeploymentType != null && { DeploymentType: input.DeploymentType })), (input.DriveCacheType != null && { DriveCacheType: input.DriveCacheType })), (input.ExportPath != null && { ExportPath: input.ExportPath })), (input.ImportPath != null && { ImportPath: input.ImportPath })), (input.ImportedFileChunkSize != null && { ImportedFileChunkSize: input.ImportedFileChunkSize })), (input.LogConfiguration != null && {
|
|
3285
3298
|
LogConfiguration: serializeAws_json1_1LustreLogCreateConfiguration(input.LogConfiguration, context),
|
|
3286
|
-
})), (input.PerUnitStorageThroughput
|
|
3287
|
-
input.PerUnitStorageThroughput !== null && { PerUnitStorageThroughput: input.PerUnitStorageThroughput })), (input.RootSquashConfiguration !== undefined &&
|
|
3288
|
-
input.RootSquashConfiguration !== null && {
|
|
3299
|
+
})), (input.PerUnitStorageThroughput != null && { PerUnitStorageThroughput: input.PerUnitStorageThroughput })), (input.RootSquashConfiguration != null && {
|
|
3289
3300
|
RootSquashConfiguration: serializeAws_json1_1LustreRootSquashConfiguration(input.RootSquashConfiguration, context),
|
|
3290
|
-
})), (input.WeeklyMaintenanceStartTime
|
|
3291
|
-
input.WeeklyMaintenanceStartTime !== null && { WeeklyMaintenanceStartTime: input.WeeklyMaintenanceStartTime }));
|
|
3301
|
+
})), (input.WeeklyMaintenanceStartTime != null && { WeeklyMaintenanceStartTime: input.WeeklyMaintenanceStartTime }));
|
|
3292
3302
|
};
|
|
3293
3303
|
var serializeAws_json1_1CreateFileSystemOntapConfiguration = function (input, context) {
|
|
3294
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AutomaticBackupRetentionDays
|
|
3295
|
-
input.AutomaticBackupRetentionDays !== null && {
|
|
3304
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AutomaticBackupRetentionDays != null && {
|
|
3296
3305
|
AutomaticBackupRetentionDays: input.AutomaticBackupRetentionDays,
|
|
3297
|
-
})), (input.DailyAutomaticBackupStartTime
|
|
3298
|
-
input.DailyAutomaticBackupStartTime !== null && {
|
|
3306
|
+
})), (input.DailyAutomaticBackupStartTime != null && {
|
|
3299
3307
|
DailyAutomaticBackupStartTime: input.DailyAutomaticBackupStartTime,
|
|
3300
|
-
})), (input.DeploymentType
|
|
3301
|
-
input.DeploymentType !== null && { DeploymentType: input.DeploymentType })), (input.DiskIopsConfiguration !== undefined &&
|
|
3302
|
-
input.DiskIopsConfiguration !== null && {
|
|
3308
|
+
})), (input.DeploymentType != null && { DeploymentType: input.DeploymentType })), (input.DiskIopsConfiguration != null && {
|
|
3303
3309
|
DiskIopsConfiguration: serializeAws_json1_1DiskIopsConfiguration(input.DiskIopsConfiguration, context),
|
|
3304
|
-
})), (input.EndpointIpAddressRange
|
|
3305
|
-
input.EndpointIpAddressRange !== null && { EndpointIpAddressRange: input.EndpointIpAddressRange })), (input.FsxAdminPassword !== undefined &&
|
|
3306
|
-
input.FsxAdminPassword !== null && { FsxAdminPassword: input.FsxAdminPassword })), (input.PreferredSubnetId !== undefined &&
|
|
3307
|
-
input.PreferredSubnetId !== null && { PreferredSubnetId: input.PreferredSubnetId })), (input.RouteTableIds !== undefined &&
|
|
3308
|
-
input.RouteTableIds !== null && {
|
|
3310
|
+
})), (input.EndpointIpAddressRange != null && { EndpointIpAddressRange: input.EndpointIpAddressRange })), (input.FsxAdminPassword != null && { FsxAdminPassword: input.FsxAdminPassword })), (input.PreferredSubnetId != null && { PreferredSubnetId: input.PreferredSubnetId })), (input.RouteTableIds != null && {
|
|
3309
3311
|
RouteTableIds: serializeAws_json1_1RouteTableIds(input.RouteTableIds, context),
|
|
3310
|
-
})), (input.ThroughputCapacity
|
|
3311
|
-
input.ThroughputCapacity !== null && { ThroughputCapacity: input.ThroughputCapacity })), (input.WeeklyMaintenanceStartTime !== undefined &&
|
|
3312
|
-
input.WeeklyMaintenanceStartTime !== null && { WeeklyMaintenanceStartTime: input.WeeklyMaintenanceStartTime }));
|
|
3312
|
+
})), (input.ThroughputCapacity != null && { ThroughputCapacity: input.ThroughputCapacity })), (input.WeeklyMaintenanceStartTime != null && { WeeklyMaintenanceStartTime: input.WeeklyMaintenanceStartTime }));
|
|
3313
3313
|
};
|
|
3314
3314
|
var serializeAws_json1_1CreateFileSystemOpenZFSConfiguration = function (input, context) {
|
|
3315
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AutomaticBackupRetentionDays
|
|
3316
|
-
input.AutomaticBackupRetentionDays !== null && {
|
|
3315
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AutomaticBackupRetentionDays != null && {
|
|
3317
3316
|
AutomaticBackupRetentionDays: input.AutomaticBackupRetentionDays,
|
|
3318
|
-
})), (input.CopyTagsToBackups
|
|
3319
|
-
input.CopyTagsToBackups !== null && { CopyTagsToBackups: input.CopyTagsToBackups })), (input.CopyTagsToVolumes !== undefined &&
|
|
3320
|
-
input.CopyTagsToVolumes !== null && { CopyTagsToVolumes: input.CopyTagsToVolumes })), (input.DailyAutomaticBackupStartTime !== undefined &&
|
|
3321
|
-
input.DailyAutomaticBackupStartTime !== null && {
|
|
3317
|
+
})), (input.CopyTagsToBackups != null && { CopyTagsToBackups: input.CopyTagsToBackups })), (input.CopyTagsToVolumes != null && { CopyTagsToVolumes: input.CopyTagsToVolumes })), (input.DailyAutomaticBackupStartTime != null && {
|
|
3322
3318
|
DailyAutomaticBackupStartTime: input.DailyAutomaticBackupStartTime,
|
|
3323
|
-
})), (input.DeploymentType
|
|
3324
|
-
input.DeploymentType !== null && { DeploymentType: input.DeploymentType })), (input.DiskIopsConfiguration !== undefined &&
|
|
3325
|
-
input.DiskIopsConfiguration !== null && {
|
|
3319
|
+
})), (input.DeploymentType != null && { DeploymentType: input.DeploymentType })), (input.DiskIopsConfiguration != null && {
|
|
3326
3320
|
DiskIopsConfiguration: serializeAws_json1_1DiskIopsConfiguration(input.DiskIopsConfiguration, context),
|
|
3327
|
-
})), (input.RootVolumeConfiguration
|
|
3328
|
-
input.RootVolumeConfiguration !== null && {
|
|
3321
|
+
})), (input.RootVolumeConfiguration != null && {
|
|
3329
3322
|
RootVolumeConfiguration: serializeAws_json1_1OpenZFSCreateRootVolumeConfiguration(input.RootVolumeConfiguration, context),
|
|
3330
|
-
})), (input.ThroughputCapacity
|
|
3331
|
-
input.ThroughputCapacity !== null && { ThroughputCapacity: input.ThroughputCapacity })), (input.WeeklyMaintenanceStartTime !== undefined &&
|
|
3332
|
-
input.WeeklyMaintenanceStartTime !== null && { WeeklyMaintenanceStartTime: input.WeeklyMaintenanceStartTime }));
|
|
3323
|
+
})), (input.ThroughputCapacity != null && { ThroughputCapacity: input.ThroughputCapacity })), (input.WeeklyMaintenanceStartTime != null && { WeeklyMaintenanceStartTime: input.WeeklyMaintenanceStartTime }));
|
|
3333
3324
|
};
|
|
3334
3325
|
var serializeAws_json1_1CreateFileSystemRequest = function (input, context) {
|
|
3335
3326
|
var _a;
|
|
3336
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({ ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.FileSystemType
|
|
3337
|
-
input.FileSystemType !== null && { FileSystemType: input.FileSystemType })), (input.FileSystemTypeVersion !== undefined &&
|
|
3338
|
-
input.FileSystemTypeVersion !== null && { FileSystemTypeVersion: input.FileSystemTypeVersion })), (input.KmsKeyId !== undefined && input.KmsKeyId !== null && { KmsKeyId: input.KmsKeyId })), (input.LustreConfiguration !== undefined &&
|
|
3339
|
-
input.LustreConfiguration !== null && {
|
|
3327
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({ ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.FileSystemType != null && { FileSystemType: input.FileSystemType })), (input.FileSystemTypeVersion != null && { FileSystemTypeVersion: input.FileSystemTypeVersion })), (input.KmsKeyId != null && { KmsKeyId: input.KmsKeyId })), (input.LustreConfiguration != null && {
|
|
3340
3328
|
LustreConfiguration: serializeAws_json1_1CreateFileSystemLustreConfiguration(input.LustreConfiguration, context),
|
|
3341
|
-
})), (input.OntapConfiguration
|
|
3342
|
-
input.OntapConfiguration !== null && {
|
|
3329
|
+
})), (input.OntapConfiguration != null && {
|
|
3343
3330
|
OntapConfiguration: serializeAws_json1_1CreateFileSystemOntapConfiguration(input.OntapConfiguration, context),
|
|
3344
|
-
})), (input.OpenZFSConfiguration
|
|
3345
|
-
input.OpenZFSConfiguration !== null && {
|
|
3331
|
+
})), (input.OpenZFSConfiguration != null && {
|
|
3346
3332
|
OpenZFSConfiguration: serializeAws_json1_1CreateFileSystemOpenZFSConfiguration(input.OpenZFSConfiguration, context),
|
|
3347
|
-
})), (input.SecurityGroupIds
|
|
3348
|
-
input.SecurityGroupIds !== null && {
|
|
3333
|
+
})), (input.SecurityGroupIds != null && {
|
|
3349
3334
|
SecurityGroupIds: serializeAws_json1_1SecurityGroupIds(input.SecurityGroupIds, context),
|
|
3350
|
-
})), (input.StorageCapacity
|
|
3351
|
-
input.StorageCapacity !== null && { StorageCapacity: input.StorageCapacity })), (input.StorageType !== undefined && input.StorageType !== null && { StorageType: input.StorageType })), (input.SubnetIds !== undefined &&
|
|
3352
|
-
input.SubnetIds !== null && { SubnetIds: serializeAws_json1_1SubnetIds(input.SubnetIds, context) })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1Tags(input.Tags, context) })), (input.WindowsConfiguration !== undefined &&
|
|
3353
|
-
input.WindowsConfiguration !== null && {
|
|
3335
|
+
})), (input.StorageCapacity != null && { StorageCapacity: input.StorageCapacity })), (input.StorageType != null && { StorageType: input.StorageType })), (input.SubnetIds != null && { SubnetIds: serializeAws_json1_1SubnetIds(input.SubnetIds, context) })), (input.Tags != null && { Tags: serializeAws_json1_1Tags(input.Tags, context) })), (input.WindowsConfiguration != null && {
|
|
3354
3336
|
WindowsConfiguration: serializeAws_json1_1CreateFileSystemWindowsConfiguration(input.WindowsConfiguration, context),
|
|
3355
3337
|
}));
|
|
3356
3338
|
};
|
|
3357
3339
|
var serializeAws_json1_1CreateFileSystemWindowsConfiguration = function (input, context) {
|
|
3358
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ActiveDirectoryId
|
|
3359
|
-
input.ActiveDirectoryId !== null && { ActiveDirectoryId: input.ActiveDirectoryId })), (input.Aliases !== undefined &&
|
|
3360
|
-
input.Aliases !== null && { Aliases: serializeAws_json1_1AlternateDNSNames(input.Aliases, context) })), (input.AuditLogConfiguration !== undefined &&
|
|
3361
|
-
input.AuditLogConfiguration !== null && {
|
|
3340
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ActiveDirectoryId != null && { ActiveDirectoryId: input.ActiveDirectoryId })), (input.Aliases != null && { Aliases: serializeAws_json1_1AlternateDNSNames(input.Aliases, context) })), (input.AuditLogConfiguration != null && {
|
|
3362
3341
|
AuditLogConfiguration: serializeAws_json1_1WindowsAuditLogCreateConfiguration(input.AuditLogConfiguration, context),
|
|
3363
|
-
})), (input.AutomaticBackupRetentionDays
|
|
3364
|
-
input.AutomaticBackupRetentionDays !== null && {
|
|
3342
|
+
})), (input.AutomaticBackupRetentionDays != null && {
|
|
3365
3343
|
AutomaticBackupRetentionDays: input.AutomaticBackupRetentionDays,
|
|
3366
|
-
})), (input.CopyTagsToBackups
|
|
3367
|
-
input.CopyTagsToBackups !== null && { CopyTagsToBackups: input.CopyTagsToBackups })), (input.DailyAutomaticBackupStartTime !== undefined &&
|
|
3368
|
-
input.DailyAutomaticBackupStartTime !== null && {
|
|
3344
|
+
})), (input.CopyTagsToBackups != null && { CopyTagsToBackups: input.CopyTagsToBackups })), (input.DailyAutomaticBackupStartTime != null && {
|
|
3369
3345
|
DailyAutomaticBackupStartTime: input.DailyAutomaticBackupStartTime,
|
|
3370
|
-
})), (input.DeploymentType
|
|
3371
|
-
input.DeploymentType !== null && { DeploymentType: input.DeploymentType })), (input.PreferredSubnetId !== undefined &&
|
|
3372
|
-
input.PreferredSubnetId !== null && { PreferredSubnetId: input.PreferredSubnetId })), (input.SelfManagedActiveDirectoryConfiguration !== undefined &&
|
|
3373
|
-
input.SelfManagedActiveDirectoryConfiguration !== null && {
|
|
3346
|
+
})), (input.DeploymentType != null && { DeploymentType: input.DeploymentType })), (input.PreferredSubnetId != null && { PreferredSubnetId: input.PreferredSubnetId })), (input.SelfManagedActiveDirectoryConfiguration != null && {
|
|
3374
3347
|
SelfManagedActiveDirectoryConfiguration: serializeAws_json1_1SelfManagedActiveDirectoryConfiguration(input.SelfManagedActiveDirectoryConfiguration, context),
|
|
3375
|
-
})), (input.ThroughputCapacity
|
|
3376
|
-
input.ThroughputCapacity !== null && { ThroughputCapacity: input.ThroughputCapacity })), (input.WeeklyMaintenanceStartTime !== undefined &&
|
|
3377
|
-
input.WeeklyMaintenanceStartTime !== null && { WeeklyMaintenanceStartTime: input.WeeklyMaintenanceStartTime }));
|
|
3348
|
+
})), (input.ThroughputCapacity != null && { ThroughputCapacity: input.ThroughputCapacity })), (input.WeeklyMaintenanceStartTime != null && { WeeklyMaintenanceStartTime: input.WeeklyMaintenanceStartTime }));
|
|
3378
3349
|
};
|
|
3379
3350
|
var serializeAws_json1_1CreateOntapVolumeConfiguration = function (input, context) {
|
|
3380
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.JunctionPath
|
|
3381
|
-
input.SizeInMegabytes !== null && { SizeInMegabytes: input.SizeInMegabytes })), (input.StorageEfficiencyEnabled !== undefined &&
|
|
3382
|
-
input.StorageEfficiencyEnabled !== null && { StorageEfficiencyEnabled: input.StorageEfficiencyEnabled })), (input.StorageVirtualMachineId !== undefined &&
|
|
3383
|
-
input.StorageVirtualMachineId !== null && { StorageVirtualMachineId: input.StorageVirtualMachineId })), (input.TieringPolicy !== undefined &&
|
|
3384
|
-
input.TieringPolicy !== null && {
|
|
3351
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.JunctionPath != null && { JunctionPath: input.JunctionPath })), (input.SecurityStyle != null && { SecurityStyle: input.SecurityStyle })), (input.SizeInMegabytes != null && { SizeInMegabytes: input.SizeInMegabytes })), (input.StorageEfficiencyEnabled != null && { StorageEfficiencyEnabled: input.StorageEfficiencyEnabled })), (input.StorageVirtualMachineId != null && { StorageVirtualMachineId: input.StorageVirtualMachineId })), (input.TieringPolicy != null && {
|
|
3385
3352
|
TieringPolicy: serializeAws_json1_1TieringPolicy(input.TieringPolicy, context),
|
|
3386
3353
|
}));
|
|
3387
3354
|
};
|
|
3388
3355
|
var serializeAws_json1_1CreateOpenZFSOriginSnapshotConfiguration = function (input, context) {
|
|
3389
|
-
return __assign(__assign({}, (input.CopyStrategy
|
|
3356
|
+
return __assign(__assign({}, (input.CopyStrategy != null && { CopyStrategy: input.CopyStrategy })), (input.SnapshotARN != null && { SnapshotARN: input.SnapshotARN }));
|
|
3390
3357
|
};
|
|
3391
3358
|
var serializeAws_json1_1CreateOpenZFSVolumeConfiguration = function (input, context) {
|
|
3392
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CopyTagsToSnapshots
|
|
3393
|
-
input.CopyTagsToSnapshots !== null && { CopyTagsToSnapshots: input.CopyTagsToSnapshots })), (input.DataCompressionType !== undefined &&
|
|
3394
|
-
input.DataCompressionType !== null && { DataCompressionType: input.DataCompressionType })), (input.NfsExports !== undefined &&
|
|
3395
|
-
input.NfsExports !== null && { NfsExports: serializeAws_json1_1OpenZFSNfsExports(input.NfsExports, context) })), (input.OriginSnapshot !== undefined &&
|
|
3396
|
-
input.OriginSnapshot !== null && {
|
|
3359
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CopyTagsToSnapshots != null && { CopyTagsToSnapshots: input.CopyTagsToSnapshots })), (input.DataCompressionType != null && { DataCompressionType: input.DataCompressionType })), (input.NfsExports != null && { NfsExports: serializeAws_json1_1OpenZFSNfsExports(input.NfsExports, context) })), (input.OriginSnapshot != null && {
|
|
3397
3360
|
OriginSnapshot: serializeAws_json1_1CreateOpenZFSOriginSnapshotConfiguration(input.OriginSnapshot, context),
|
|
3398
|
-
})), (input.ParentVolumeId
|
|
3399
|
-
input.ParentVolumeId !== null && { ParentVolumeId: input.ParentVolumeId })), (input.ReadOnly !== undefined && input.ReadOnly !== null && { ReadOnly: input.ReadOnly })), (input.RecordSizeKiB !== undefined && input.RecordSizeKiB !== null && { RecordSizeKiB: input.RecordSizeKiB })), (input.StorageCapacityQuotaGiB !== undefined &&
|
|
3400
|
-
input.StorageCapacityQuotaGiB !== null && { StorageCapacityQuotaGiB: input.StorageCapacityQuotaGiB })), (input.StorageCapacityReservationGiB !== undefined &&
|
|
3401
|
-
input.StorageCapacityReservationGiB !== null && {
|
|
3361
|
+
})), (input.ParentVolumeId != null && { ParentVolumeId: input.ParentVolumeId })), (input.ReadOnly != null && { ReadOnly: input.ReadOnly })), (input.RecordSizeKiB != null && { RecordSizeKiB: input.RecordSizeKiB })), (input.StorageCapacityQuotaGiB != null && { StorageCapacityQuotaGiB: input.StorageCapacityQuotaGiB })), (input.StorageCapacityReservationGiB != null && {
|
|
3402
3362
|
StorageCapacityReservationGiB: input.StorageCapacityReservationGiB,
|
|
3403
|
-
})), (input.UserAndGroupQuotas
|
|
3404
|
-
input.UserAndGroupQuotas !== null && {
|
|
3363
|
+
})), (input.UserAndGroupQuotas != null && {
|
|
3405
3364
|
UserAndGroupQuotas: serializeAws_json1_1OpenZFSUserAndGroupQuotas(input.UserAndGroupQuotas, context),
|
|
3406
3365
|
}));
|
|
3407
3366
|
};
|
|
3408
3367
|
var serializeAws_json1_1CreateSnapshotRequest = function (input, context) {
|
|
3409
3368
|
var _a;
|
|
3410
|
-
return __assign(__assign(__assign({ ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.Name
|
|
3369
|
+
return __assign(__assign(__assign({ ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.Name != null && { Name: input.Name })), (input.Tags != null && { Tags: serializeAws_json1_1Tags(input.Tags, context) })), (input.VolumeId != null && { VolumeId: input.VolumeId }));
|
|
3411
3370
|
};
|
|
3412
3371
|
var serializeAws_json1_1CreateStorageVirtualMachineRequest = function (input, context) {
|
|
3413
3372
|
var _a;
|
|
3414
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ActiveDirectoryConfiguration
|
|
3415
|
-
input.ActiveDirectoryConfiguration !== null && {
|
|
3373
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ActiveDirectoryConfiguration != null && {
|
|
3416
3374
|
ActiveDirectoryConfiguration: serializeAws_json1_1CreateSvmActiveDirectoryConfiguration(input.ActiveDirectoryConfiguration, context),
|
|
3417
|
-
})), { ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }), (input.FileSystemId
|
|
3418
|
-
input.RootVolumeSecurityStyle !== null && { RootVolumeSecurityStyle: input.RootVolumeSecurityStyle })), (input.SvmAdminPassword !== undefined &&
|
|
3419
|
-
input.SvmAdminPassword !== null && { SvmAdminPassword: input.SvmAdminPassword })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1Tags(input.Tags, context) }));
|
|
3375
|
+
})), { ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }), (input.FileSystemId != null && { FileSystemId: input.FileSystemId })), (input.Name != null && { Name: input.Name })), (input.RootVolumeSecurityStyle != null && { RootVolumeSecurityStyle: input.RootVolumeSecurityStyle })), (input.SvmAdminPassword != null && { SvmAdminPassword: input.SvmAdminPassword })), (input.Tags != null && { Tags: serializeAws_json1_1Tags(input.Tags, context) }));
|
|
3420
3376
|
};
|
|
3421
3377
|
var serializeAws_json1_1CreateSvmActiveDirectoryConfiguration = function (input, context) {
|
|
3422
|
-
return __assign(__assign({}, (input.NetBiosName
|
|
3423
|
-
input.SelfManagedActiveDirectoryConfiguration !== null && {
|
|
3378
|
+
return __assign(__assign({}, (input.NetBiosName != null && { NetBiosName: input.NetBiosName })), (input.SelfManagedActiveDirectoryConfiguration != null && {
|
|
3424
3379
|
SelfManagedActiveDirectoryConfiguration: serializeAws_json1_1SelfManagedActiveDirectoryConfiguration(input.SelfManagedActiveDirectoryConfiguration, context),
|
|
3425
3380
|
}));
|
|
3426
3381
|
};
|
|
3427
3382
|
var serializeAws_json1_1CreateVolumeFromBackupRequest = function (input, context) {
|
|
3428
3383
|
var _a;
|
|
3429
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.BackupId
|
|
3430
|
-
input.OntapConfiguration !== null && {
|
|
3384
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.BackupId != null && { BackupId: input.BackupId })), { ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }), (input.Name != null && { Name: input.Name })), (input.OntapConfiguration != null && {
|
|
3431
3385
|
OntapConfiguration: serializeAws_json1_1CreateOntapVolumeConfiguration(input.OntapConfiguration, context),
|
|
3432
|
-
})), (input.Tags
|
|
3386
|
+
})), (input.Tags != null && { Tags: serializeAws_json1_1Tags(input.Tags, context) }));
|
|
3433
3387
|
};
|
|
3434
3388
|
var serializeAws_json1_1CreateVolumeRequest = function (input, context) {
|
|
3435
3389
|
var _a;
|
|
3436
|
-
return __assign(__assign(__assign(__assign(__assign({ ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.Name
|
|
3437
|
-
input.OntapConfiguration !== null && {
|
|
3390
|
+
return __assign(__assign(__assign(__assign(__assign({ ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.Name != null && { Name: input.Name })), (input.OntapConfiguration != null && {
|
|
3438
3391
|
OntapConfiguration: serializeAws_json1_1CreateOntapVolumeConfiguration(input.OntapConfiguration, context),
|
|
3439
|
-
})), (input.OpenZFSConfiguration
|
|
3440
|
-
input.OpenZFSConfiguration !== null && {
|
|
3392
|
+
})), (input.OpenZFSConfiguration != null && {
|
|
3441
3393
|
OpenZFSConfiguration: serializeAws_json1_1CreateOpenZFSVolumeConfiguration(input.OpenZFSConfiguration, context),
|
|
3442
|
-
})), (input.Tags
|
|
3394
|
+
})), (input.Tags != null && { Tags: serializeAws_json1_1Tags(input.Tags, context) })), (input.VolumeType != null && { VolumeType: input.VolumeType }));
|
|
3443
3395
|
};
|
|
3444
3396
|
var serializeAws_json1_1DataRepositoryAssociationIds = function (input, context) {
|
|
3445
3397
|
return input
|
|
@@ -3452,8 +3404,7 @@ var serializeAws_json1_1DataRepositoryAssociationIds = function (input, context)
|
|
|
3452
3404
|
});
|
|
3453
3405
|
};
|
|
3454
3406
|
var serializeAws_json1_1DataRepositoryTaskFilter = function (input, context) {
|
|
3455
|
-
return __assign(__assign({}, (input.Name
|
|
3456
|
-
input.Values !== null && { Values: serializeAws_json1_1DataRepositoryTaskFilterValues(input.Values, context) }));
|
|
3407
|
+
return __assign(__assign({}, (input.Name != null && { Name: input.Name })), (input.Values != null && { Values: serializeAws_json1_1DataRepositoryTaskFilterValues(input.Values, context) }));
|
|
3457
3408
|
};
|
|
3458
3409
|
var serializeAws_json1_1DataRepositoryTaskFilters = function (input, context) {
|
|
3459
3410
|
return input
|
|
@@ -3487,25 +3438,19 @@ var serializeAws_json1_1DataRepositoryTaskPaths = function (input, context) {
|
|
|
3487
3438
|
};
|
|
3488
3439
|
var serializeAws_json1_1DeleteBackupRequest = function (input, context) {
|
|
3489
3440
|
var _a;
|
|
3490
|
-
return __assign(__assign({}, (input.BackupId
|
|
3441
|
+
return __assign(__assign({}, (input.BackupId != null && { BackupId: input.BackupId })), { ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() });
|
|
3491
3442
|
};
|
|
3492
3443
|
var serializeAws_json1_1DeleteDataRepositoryAssociationRequest = function (input, context) {
|
|
3493
3444
|
var _a;
|
|
3494
|
-
return __assign(__assign(__assign({}, (input.AssociationId
|
|
3495
|
-
input.DeleteDataInFileSystem !== null && { DeleteDataInFileSystem: input.DeleteDataInFileSystem }));
|
|
3445
|
+
return __assign(__assign(__assign({}, (input.AssociationId != null && { AssociationId: input.AssociationId })), { ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }), (input.DeleteDataInFileSystem != null && { DeleteDataInFileSystem: input.DeleteDataInFileSystem }));
|
|
3496
3446
|
};
|
|
3497
3447
|
var serializeAws_json1_1DeleteFileSystemLustreConfiguration = function (input, context) {
|
|
3498
|
-
return __assign(__assign({}, (input.FinalBackupTags
|
|
3499
|
-
input.FinalBackupTags !== null && { FinalBackupTags: serializeAws_json1_1Tags(input.FinalBackupTags, context) })), (input.SkipFinalBackup !== undefined &&
|
|
3500
|
-
input.SkipFinalBackup !== null && { SkipFinalBackup: input.SkipFinalBackup }));
|
|
3448
|
+
return __assign(__assign({}, (input.FinalBackupTags != null && { FinalBackupTags: serializeAws_json1_1Tags(input.FinalBackupTags, context) })), (input.SkipFinalBackup != null && { SkipFinalBackup: input.SkipFinalBackup }));
|
|
3501
3449
|
};
|
|
3502
3450
|
var serializeAws_json1_1DeleteFileSystemOpenZFSConfiguration = function (input, context) {
|
|
3503
|
-
return __assign(__assign(__assign({}, (input.FinalBackupTags
|
|
3504
|
-
input.FinalBackupTags !== null && { FinalBackupTags: serializeAws_json1_1Tags(input.FinalBackupTags, context) })), (input.Options !== undefined &&
|
|
3505
|
-
input.Options !== null && {
|
|
3451
|
+
return __assign(__assign(__assign({}, (input.FinalBackupTags != null && { FinalBackupTags: serializeAws_json1_1Tags(input.FinalBackupTags, context) })), (input.Options != null && {
|
|
3506
3452
|
Options: serializeAws_json1_1DeleteFileSystemOpenZFSOptions(input.Options, context),
|
|
3507
|
-
})), (input.SkipFinalBackup
|
|
3508
|
-
input.SkipFinalBackup !== null && { SkipFinalBackup: input.SkipFinalBackup }));
|
|
3453
|
+
})), (input.SkipFinalBackup != null && { SkipFinalBackup: input.SkipFinalBackup }));
|
|
3509
3454
|
};
|
|
3510
3455
|
var serializeAws_json1_1DeleteFileSystemOpenZFSOptions = function (input, context) {
|
|
3511
3456
|
return input
|
|
@@ -3519,21 +3464,16 @@ var serializeAws_json1_1DeleteFileSystemOpenZFSOptions = function (input, contex
|
|
|
3519
3464
|
};
|
|
3520
3465
|
var serializeAws_json1_1DeleteFileSystemRequest = function (input, context) {
|
|
3521
3466
|
var _a;
|
|
3522
|
-
return __assign(__assign(__assign(__assign({ ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.FileSystemId
|
|
3523
|
-
input.LustreConfiguration !== null && {
|
|
3467
|
+
return __assign(__assign(__assign(__assign({ ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.FileSystemId != null && { FileSystemId: input.FileSystemId })), (input.LustreConfiguration != null && {
|
|
3524
3468
|
LustreConfiguration: serializeAws_json1_1DeleteFileSystemLustreConfiguration(input.LustreConfiguration, context),
|
|
3525
|
-
})), (input.OpenZFSConfiguration
|
|
3526
|
-
input.OpenZFSConfiguration !== null && {
|
|
3469
|
+
})), (input.OpenZFSConfiguration != null && {
|
|
3527
3470
|
OpenZFSConfiguration: serializeAws_json1_1DeleteFileSystemOpenZFSConfiguration(input.OpenZFSConfiguration, context),
|
|
3528
|
-
})), (input.WindowsConfiguration
|
|
3529
|
-
input.WindowsConfiguration !== null && {
|
|
3471
|
+
})), (input.WindowsConfiguration != null && {
|
|
3530
3472
|
WindowsConfiguration: serializeAws_json1_1DeleteFileSystemWindowsConfiguration(input.WindowsConfiguration, context),
|
|
3531
3473
|
}));
|
|
3532
3474
|
};
|
|
3533
3475
|
var serializeAws_json1_1DeleteFileSystemWindowsConfiguration = function (input, context) {
|
|
3534
|
-
return __assign(__assign({}, (input.FinalBackupTags
|
|
3535
|
-
input.FinalBackupTags !== null && { FinalBackupTags: serializeAws_json1_1Tags(input.FinalBackupTags, context) })), (input.SkipFinalBackup !== undefined &&
|
|
3536
|
-
input.SkipFinalBackup !== null && { SkipFinalBackup: input.SkipFinalBackup }));
|
|
3476
|
+
return __assign(__assign({}, (input.FinalBackupTags != null && { FinalBackupTags: serializeAws_json1_1Tags(input.FinalBackupTags, context) })), (input.SkipFinalBackup != null && { SkipFinalBackup: input.SkipFinalBackup }));
|
|
3537
3477
|
};
|
|
3538
3478
|
var serializeAws_json1_1DeleteOpenZFSVolumeOptions = function (input, context) {
|
|
3539
3479
|
return input
|
|
@@ -3547,83 +3487,63 @@ var serializeAws_json1_1DeleteOpenZFSVolumeOptions = function (input, context) {
|
|
|
3547
3487
|
};
|
|
3548
3488
|
var serializeAws_json1_1DeleteSnapshotRequest = function (input, context) {
|
|
3549
3489
|
var _a;
|
|
3550
|
-
return __assign({ ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.SnapshotId
|
|
3490
|
+
return __assign({ ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.SnapshotId != null && { SnapshotId: input.SnapshotId }));
|
|
3551
3491
|
};
|
|
3552
3492
|
var serializeAws_json1_1DeleteStorageVirtualMachineRequest = function (input, context) {
|
|
3553
3493
|
var _a;
|
|
3554
|
-
return __assign({ ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.StorageVirtualMachineId
|
|
3555
|
-
input.StorageVirtualMachineId !== null && { StorageVirtualMachineId: input.StorageVirtualMachineId }));
|
|
3494
|
+
return __assign({ ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.StorageVirtualMachineId != null && { StorageVirtualMachineId: input.StorageVirtualMachineId }));
|
|
3556
3495
|
};
|
|
3557
3496
|
var serializeAws_json1_1DeleteVolumeOntapConfiguration = function (input, context) {
|
|
3558
|
-
return __assign(__assign({}, (input.FinalBackupTags
|
|
3559
|
-
input.FinalBackupTags !== null && { FinalBackupTags: serializeAws_json1_1Tags(input.FinalBackupTags, context) })), (input.SkipFinalBackup !== undefined &&
|
|
3560
|
-
input.SkipFinalBackup !== null && { SkipFinalBackup: input.SkipFinalBackup }));
|
|
3497
|
+
return __assign(__assign({}, (input.FinalBackupTags != null && { FinalBackupTags: serializeAws_json1_1Tags(input.FinalBackupTags, context) })), (input.SkipFinalBackup != null && { SkipFinalBackup: input.SkipFinalBackup }));
|
|
3561
3498
|
};
|
|
3562
3499
|
var serializeAws_json1_1DeleteVolumeOpenZFSConfiguration = function (input, context) {
|
|
3563
|
-
return __assign({}, (input.Options
|
|
3564
|
-
input.Options !== null && { Options: serializeAws_json1_1DeleteOpenZFSVolumeOptions(input.Options, context) }));
|
|
3500
|
+
return __assign({}, (input.Options != null && { Options: serializeAws_json1_1DeleteOpenZFSVolumeOptions(input.Options, context) }));
|
|
3565
3501
|
};
|
|
3566
3502
|
var serializeAws_json1_1DeleteVolumeRequest = function (input, context) {
|
|
3567
3503
|
var _a;
|
|
3568
|
-
return __assign(__assign(__assign({ ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.OntapConfiguration
|
|
3569
|
-
input.OntapConfiguration !== null && {
|
|
3504
|
+
return __assign(__assign(__assign({ ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.OntapConfiguration != null && {
|
|
3570
3505
|
OntapConfiguration: serializeAws_json1_1DeleteVolumeOntapConfiguration(input.OntapConfiguration, context),
|
|
3571
|
-
})), (input.OpenZFSConfiguration
|
|
3572
|
-
input.OpenZFSConfiguration !== null && {
|
|
3506
|
+
})), (input.OpenZFSConfiguration != null && {
|
|
3573
3507
|
OpenZFSConfiguration: serializeAws_json1_1DeleteVolumeOpenZFSConfiguration(input.OpenZFSConfiguration, context),
|
|
3574
|
-
})), (input.VolumeId
|
|
3508
|
+
})), (input.VolumeId != null && { VolumeId: input.VolumeId }));
|
|
3575
3509
|
};
|
|
3576
3510
|
var serializeAws_json1_1DescribeBackupsRequest = function (input, context) {
|
|
3577
|
-
return __assign(__assign(__assign(__assign({}, (input.BackupIds
|
|
3578
|
-
input.BackupIds !== null && { BackupIds: serializeAws_json1_1BackupIds(input.BackupIds, context) })), (input.Filters !== undefined &&
|
|
3579
|
-
input.Filters !== null && { Filters: serializeAws_json1_1Filters(input.Filters, context) })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }));
|
|
3511
|
+
return __assign(__assign(__assign(__assign({}, (input.BackupIds != null && { BackupIds: serializeAws_json1_1BackupIds(input.BackupIds, context) })), (input.Filters != null && { Filters: serializeAws_json1_1Filters(input.Filters, context) })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
3580
3512
|
};
|
|
3581
3513
|
var serializeAws_json1_1DescribeDataRepositoryAssociationsRequest = function (input, context) {
|
|
3582
|
-
return __assign(__assign(__assign(__assign({}, (input.AssociationIds
|
|
3583
|
-
input.AssociationIds !== null && {
|
|
3514
|
+
return __assign(__assign(__assign(__assign({}, (input.AssociationIds != null && {
|
|
3584
3515
|
AssociationIds: serializeAws_json1_1DataRepositoryAssociationIds(input.AssociationIds, context),
|
|
3585
|
-
})), (input.Filters
|
|
3586
|
-
input.Filters !== null && { Filters: serializeAws_json1_1Filters(input.Filters, context) })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }));
|
|
3516
|
+
})), (input.Filters != null && { Filters: serializeAws_json1_1Filters(input.Filters, context) })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
3587
3517
|
};
|
|
3588
3518
|
var serializeAws_json1_1DescribeDataRepositoryTasksRequest = function (input, context) {
|
|
3589
|
-
return __assign(__assign(__assign(__assign({}, (input.Filters
|
|
3590
|
-
input.Filters !== null && { Filters: serializeAws_json1_1DataRepositoryTaskFilters(input.Filters, context) })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.TaskIds !== undefined &&
|
|
3591
|
-
input.TaskIds !== null && { TaskIds: serializeAws_json1_1TaskIds(input.TaskIds, context) }));
|
|
3519
|
+
return __assign(__assign(__assign(__assign({}, (input.Filters != null && { Filters: serializeAws_json1_1DataRepositoryTaskFilters(input.Filters, context) })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.TaskIds != null && { TaskIds: serializeAws_json1_1TaskIds(input.TaskIds, context) }));
|
|
3592
3520
|
};
|
|
3593
3521
|
var serializeAws_json1_1DescribeFileSystemAliasesRequest = function (input, context) {
|
|
3594
3522
|
var _a;
|
|
3595
|
-
return __assign(__assign(__assign({ ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.FileSystemId
|
|
3523
|
+
return __assign(__assign(__assign({ ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.FileSystemId != null && { FileSystemId: input.FileSystemId })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
3596
3524
|
};
|
|
3597
3525
|
var serializeAws_json1_1DescribeFileSystemsRequest = function (input, context) {
|
|
3598
|
-
return __assign(__assign(__assign({}, (input.FileSystemIds
|
|
3599
|
-
input.FileSystemIds !== null && {
|
|
3526
|
+
return __assign(__assign(__assign({}, (input.FileSystemIds != null && {
|
|
3600
3527
|
FileSystemIds: serializeAws_json1_1FileSystemIds(input.FileSystemIds, context),
|
|
3601
|
-
})), (input.MaxResults
|
|
3528
|
+
})), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
3602
3529
|
};
|
|
3603
3530
|
var serializeAws_json1_1DescribeSnapshotsRequest = function (input, context) {
|
|
3604
|
-
return __assign(__assign(__assign(__assign({}, (input.Filters
|
|
3605
|
-
input.Filters !== null && { Filters: serializeAws_json1_1SnapshotFilters(input.Filters, context) })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.SnapshotIds !== undefined &&
|
|
3606
|
-
input.SnapshotIds !== null && { SnapshotIds: serializeAws_json1_1SnapshotIds(input.SnapshotIds, context) }));
|
|
3531
|
+
return __assign(__assign(__assign(__assign({}, (input.Filters != null && { Filters: serializeAws_json1_1SnapshotFilters(input.Filters, context) })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.SnapshotIds != null && { SnapshotIds: serializeAws_json1_1SnapshotIds(input.SnapshotIds, context) }));
|
|
3607
3532
|
};
|
|
3608
3533
|
var serializeAws_json1_1DescribeStorageVirtualMachinesRequest = function (input, context) {
|
|
3609
|
-
return __assign(__assign(__assign(__assign({}, (input.Filters
|
|
3610
|
-
input.Filters !== null && { Filters: serializeAws_json1_1StorageVirtualMachineFilters(input.Filters, context) })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.StorageVirtualMachineIds !== undefined &&
|
|
3611
|
-
input.StorageVirtualMachineIds !== null && {
|
|
3534
|
+
return __assign(__assign(__assign(__assign({}, (input.Filters != null && { Filters: serializeAws_json1_1StorageVirtualMachineFilters(input.Filters, context) })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.StorageVirtualMachineIds != null && {
|
|
3612
3535
|
StorageVirtualMachineIds: serializeAws_json1_1StorageVirtualMachineIds(input.StorageVirtualMachineIds, context),
|
|
3613
3536
|
}));
|
|
3614
3537
|
};
|
|
3615
3538
|
var serializeAws_json1_1DescribeVolumesRequest = function (input, context) {
|
|
3616
|
-
return __assign(__assign(__assign(__assign({}, (input.Filters
|
|
3617
|
-
input.Filters !== null && { Filters: serializeAws_json1_1VolumeFilters(input.Filters, context) })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.VolumeIds !== undefined &&
|
|
3618
|
-
input.VolumeIds !== null && { VolumeIds: serializeAws_json1_1VolumeIds(input.VolumeIds, context) }));
|
|
3539
|
+
return __assign(__assign(__assign(__assign({}, (input.Filters != null && { Filters: serializeAws_json1_1VolumeFilters(input.Filters, context) })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.VolumeIds != null && { VolumeIds: serializeAws_json1_1VolumeIds(input.VolumeIds, context) }));
|
|
3619
3540
|
};
|
|
3620
3541
|
var serializeAws_json1_1DisassociateFileSystemAliasesRequest = function (input, context) {
|
|
3621
3542
|
var _a;
|
|
3622
|
-
return __assign(__assign(__assign({}, (input.Aliases !==
|
|
3623
|
-
input.Aliases !== null && { Aliases: serializeAws_json1_1AlternateDNSNames(input.Aliases, context) })), { ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }), (input.FileSystemId !== undefined && input.FileSystemId !== null && { FileSystemId: input.FileSystemId }));
|
|
3543
|
+
return __assign(__assign(__assign({}, (input.Aliases != null && { Aliases: serializeAws_json1_1AlternateDNSNames(input.Aliases, context) })), { ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }), (input.FileSystemId != null && { FileSystemId: input.FileSystemId }));
|
|
3624
3544
|
};
|
|
3625
3545
|
var serializeAws_json1_1DiskIopsConfiguration = function (input, context) {
|
|
3626
|
-
return __assign(__assign({}, (input.Iops
|
|
3546
|
+
return __assign(__assign({}, (input.Iops != null && { Iops: input.Iops })), (input.Mode != null && { Mode: input.Mode }));
|
|
3627
3547
|
};
|
|
3628
3548
|
var serializeAws_json1_1DnsIps = function (input, context) {
|
|
3629
3549
|
return input
|
|
@@ -3656,8 +3576,7 @@ var serializeAws_json1_1FileSystemIds = function (input, context) {
|
|
|
3656
3576
|
});
|
|
3657
3577
|
};
|
|
3658
3578
|
var serializeAws_json1_1Filter = function (input, context) {
|
|
3659
|
-
return __assign(__assign({}, (input.Name
|
|
3660
|
-
input.Values !== null && { Values: serializeAws_json1_1FilterValues(input.Values, context) }));
|
|
3579
|
+
return __assign(__assign({}, (input.Name != null && { Name: input.Name })), (input.Values != null && { Values: serializeAws_json1_1FilterValues(input.Values, context) }));
|
|
3661
3580
|
};
|
|
3662
3581
|
var serializeAws_json1_1Filters = function (input, context) {
|
|
3663
3582
|
return input
|
|
@@ -3680,10 +3599,10 @@ var serializeAws_json1_1FilterValues = function (input, context) {
|
|
|
3680
3599
|
});
|
|
3681
3600
|
};
|
|
3682
3601
|
var serializeAws_json1_1ListTagsForResourceRequest = function (input, context) {
|
|
3683
|
-
return __assign(__assign(__assign({}, (input.MaxResults
|
|
3602
|
+
return __assign(__assign(__assign({}, (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.ResourceARN != null && { ResourceARN: input.ResourceARN }));
|
|
3684
3603
|
};
|
|
3685
3604
|
var serializeAws_json1_1LustreLogCreateConfiguration = function (input, context) {
|
|
3686
|
-
return __assign(__assign({}, (input.Destination
|
|
3605
|
+
return __assign(__assign({}, (input.Destination != null && { Destination: input.Destination })), (input.Level != null && { Level: input.Level }));
|
|
3687
3606
|
};
|
|
3688
3607
|
var serializeAws_json1_1LustreNoSquashNids = function (input, context) {
|
|
3689
3608
|
return input
|
|
@@ -3696,14 +3615,12 @@ var serializeAws_json1_1LustreNoSquashNids = function (input, context) {
|
|
|
3696
3615
|
});
|
|
3697
3616
|
};
|
|
3698
3617
|
var serializeAws_json1_1LustreRootSquashConfiguration = function (input, context) {
|
|
3699
|
-
return __assign(__assign({}, (input.NoSquashNids
|
|
3700
|
-
input.NoSquashNids !== null && {
|
|
3618
|
+
return __assign(__assign({}, (input.NoSquashNids != null && {
|
|
3701
3619
|
NoSquashNids: serializeAws_json1_1LustreNoSquashNids(input.NoSquashNids, context),
|
|
3702
|
-
})), (input.RootSquash
|
|
3620
|
+
})), (input.RootSquash != null && { RootSquash: input.RootSquash }));
|
|
3703
3621
|
};
|
|
3704
3622
|
var serializeAws_json1_1OpenZFSClientConfiguration = function (input, context) {
|
|
3705
|
-
return __assign(__assign({}, (input.Clients
|
|
3706
|
-
input.Options !== null && { Options: serializeAws_json1_1OpenZFSNfsExportOptions(input.Options, context) }));
|
|
3623
|
+
return __assign(__assign({}, (input.Clients != null && { Clients: input.Clients })), (input.Options != null && { Options: serializeAws_json1_1OpenZFSNfsExportOptions(input.Options, context) }));
|
|
3707
3624
|
};
|
|
3708
3625
|
var serializeAws_json1_1OpenZFSClientConfigurations = function (input, context) {
|
|
3709
3626
|
return input
|
|
@@ -3716,17 +3633,12 @@ var serializeAws_json1_1OpenZFSClientConfigurations = function (input, context)
|
|
|
3716
3633
|
});
|
|
3717
3634
|
};
|
|
3718
3635
|
var serializeAws_json1_1OpenZFSCreateRootVolumeConfiguration = function (input, context) {
|
|
3719
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.CopyTagsToSnapshots
|
|
3720
|
-
input.CopyTagsToSnapshots !== null && { CopyTagsToSnapshots: input.CopyTagsToSnapshots })), (input.DataCompressionType !== undefined &&
|
|
3721
|
-
input.DataCompressionType !== null && { DataCompressionType: input.DataCompressionType })), (input.NfsExports !== undefined &&
|
|
3722
|
-
input.NfsExports !== null && { NfsExports: serializeAws_json1_1OpenZFSNfsExports(input.NfsExports, context) })), (input.ReadOnly !== undefined && input.ReadOnly !== null && { ReadOnly: input.ReadOnly })), (input.RecordSizeKiB !== undefined && input.RecordSizeKiB !== null && { RecordSizeKiB: input.RecordSizeKiB })), (input.UserAndGroupQuotas !== undefined &&
|
|
3723
|
-
input.UserAndGroupQuotas !== null && {
|
|
3636
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.CopyTagsToSnapshots != null && { CopyTagsToSnapshots: input.CopyTagsToSnapshots })), (input.DataCompressionType != null && { DataCompressionType: input.DataCompressionType })), (input.NfsExports != null && { NfsExports: serializeAws_json1_1OpenZFSNfsExports(input.NfsExports, context) })), (input.ReadOnly != null && { ReadOnly: input.ReadOnly })), (input.RecordSizeKiB != null && { RecordSizeKiB: input.RecordSizeKiB })), (input.UserAndGroupQuotas != null && {
|
|
3724
3637
|
UserAndGroupQuotas: serializeAws_json1_1OpenZFSUserAndGroupQuotas(input.UserAndGroupQuotas, context),
|
|
3725
3638
|
}));
|
|
3726
3639
|
};
|
|
3727
3640
|
var serializeAws_json1_1OpenZFSNfsExport = function (input, context) {
|
|
3728
|
-
return __assign({}, (input.ClientConfigurations
|
|
3729
|
-
input.ClientConfigurations !== null && {
|
|
3641
|
+
return __assign({}, (input.ClientConfigurations != null && {
|
|
3730
3642
|
ClientConfigurations: serializeAws_json1_1OpenZFSClientConfigurations(input.ClientConfigurations, context),
|
|
3731
3643
|
}));
|
|
3732
3644
|
};
|
|
@@ -3761,12 +3673,11 @@ var serializeAws_json1_1OpenZFSUserAndGroupQuotas = function (input, context) {
|
|
|
3761
3673
|
});
|
|
3762
3674
|
};
|
|
3763
3675
|
var serializeAws_json1_1OpenZFSUserOrGroupQuota = function (input, context) {
|
|
3764
|
-
return __assign(__assign(__assign({}, (input.Id
|
|
3765
|
-
input.StorageCapacityQuotaGiB !== null && { StorageCapacityQuotaGiB: input.StorageCapacityQuotaGiB })), (input.Type !== undefined && input.Type !== null && { Type: input.Type }));
|
|
3676
|
+
return __assign(__assign(__assign({}, (input.Id != null && { Id: input.Id })), (input.StorageCapacityQuotaGiB != null && { StorageCapacityQuotaGiB: input.StorageCapacityQuotaGiB })), (input.Type != null && { Type: input.Type }));
|
|
3766
3677
|
};
|
|
3767
3678
|
var serializeAws_json1_1ReleaseFileSystemNfsV3LocksRequest = function (input, context) {
|
|
3768
3679
|
var _a;
|
|
3769
|
-
return __assign({ ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.FileSystemId
|
|
3680
|
+
return __assign({ ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.FileSystemId != null && { FileSystemId: input.FileSystemId }));
|
|
3770
3681
|
};
|
|
3771
3682
|
var serializeAws_json1_1RestoreOpenZFSVolumeOptions = function (input, context) {
|
|
3772
3683
|
return input
|
|
@@ -3780,8 +3691,7 @@ var serializeAws_json1_1RestoreOpenZFSVolumeOptions = function (input, context)
|
|
|
3780
3691
|
};
|
|
3781
3692
|
var serializeAws_json1_1RestoreVolumeFromSnapshotRequest = function (input, context) {
|
|
3782
3693
|
var _a;
|
|
3783
|
-
return __assign(__assign(__assign({ ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.Options
|
|
3784
|
-
input.Options !== null && { Options: serializeAws_json1_1RestoreOpenZFSVolumeOptions(input.Options, context) })), (input.SnapshotId !== undefined && input.SnapshotId !== null && { SnapshotId: input.SnapshotId })), (input.VolumeId !== undefined && input.VolumeId !== null && { VolumeId: input.VolumeId }));
|
|
3694
|
+
return __assign(__assign(__assign({ ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.Options != null && { Options: serializeAws_json1_1RestoreOpenZFSVolumeOptions(input.Options, context) })), (input.SnapshotId != null && { SnapshotId: input.SnapshotId })), (input.VolumeId != null && { VolumeId: input.VolumeId }));
|
|
3785
3695
|
};
|
|
3786
3696
|
var serializeAws_json1_1RouteTableIds = function (input, context) {
|
|
3787
3697
|
return input
|
|
@@ -3794,11 +3704,9 @@ var serializeAws_json1_1RouteTableIds = function (input, context) {
|
|
|
3794
3704
|
});
|
|
3795
3705
|
};
|
|
3796
3706
|
var serializeAws_json1_1S3DataRepositoryConfiguration = function (input, context) {
|
|
3797
|
-
return __assign(__assign({}, (input.AutoExportPolicy
|
|
3798
|
-
input.AutoExportPolicy !== null && {
|
|
3707
|
+
return __assign(__assign({}, (input.AutoExportPolicy != null && {
|
|
3799
3708
|
AutoExportPolicy: serializeAws_json1_1AutoExportPolicy(input.AutoExportPolicy, context),
|
|
3800
|
-
})), (input.AutoImportPolicy
|
|
3801
|
-
input.AutoImportPolicy !== null && {
|
|
3709
|
+
})), (input.AutoImportPolicy != null && {
|
|
3802
3710
|
AutoImportPolicy: serializeAws_json1_1AutoImportPolicy(input.AutoImportPolicy, context),
|
|
3803
3711
|
}));
|
|
3804
3712
|
};
|
|
@@ -3813,22 +3721,17 @@ var serializeAws_json1_1SecurityGroupIds = function (input, context) {
|
|
|
3813
3721
|
});
|
|
3814
3722
|
};
|
|
3815
3723
|
var serializeAws_json1_1SelfManagedActiveDirectoryConfiguration = function (input, context) {
|
|
3816
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.DnsIps
|
|
3817
|
-
input.DnsIps !== null && { DnsIps: serializeAws_json1_1DnsIps(input.DnsIps, context) })), (input.DomainName !== undefined && input.DomainName !== null && { DomainName: input.DomainName })), (input.FileSystemAdministratorsGroup !== undefined &&
|
|
3818
|
-
input.FileSystemAdministratorsGroup !== null && {
|
|
3724
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.DnsIps != null && { DnsIps: serializeAws_json1_1DnsIps(input.DnsIps, context) })), (input.DomainName != null && { DomainName: input.DomainName })), (input.FileSystemAdministratorsGroup != null && {
|
|
3819
3725
|
FileSystemAdministratorsGroup: input.FileSystemAdministratorsGroup,
|
|
3820
|
-
})), (input.OrganizationalUnitDistinguishedName
|
|
3821
|
-
input.OrganizationalUnitDistinguishedName !== null && {
|
|
3726
|
+
})), (input.OrganizationalUnitDistinguishedName != null && {
|
|
3822
3727
|
OrganizationalUnitDistinguishedName: input.OrganizationalUnitDistinguishedName,
|
|
3823
|
-
})), (input.Password
|
|
3728
|
+
})), (input.Password != null && { Password: input.Password })), (input.UserName != null && { UserName: input.UserName }));
|
|
3824
3729
|
};
|
|
3825
3730
|
var serializeAws_json1_1SelfManagedActiveDirectoryConfigurationUpdates = function (input, context) {
|
|
3826
|
-
return __assign(__assign(__assign({}, (input.DnsIps
|
|
3827
|
-
input.DnsIps !== null && { DnsIps: serializeAws_json1_1DnsIps(input.DnsIps, context) })), (input.Password !== undefined && input.Password !== null && { Password: input.Password })), (input.UserName !== undefined && input.UserName !== null && { UserName: input.UserName }));
|
|
3731
|
+
return __assign(__assign(__assign({}, (input.DnsIps != null && { DnsIps: serializeAws_json1_1DnsIps(input.DnsIps, context) })), (input.Password != null && { Password: input.Password })), (input.UserName != null && { UserName: input.UserName }));
|
|
3828
3732
|
};
|
|
3829
3733
|
var serializeAws_json1_1SnapshotFilter = function (input, context) {
|
|
3830
|
-
return __assign(__assign({}, (input.Name
|
|
3831
|
-
input.Values !== null && { Values: serializeAws_json1_1SnapshotFilterValues(input.Values, context) }));
|
|
3734
|
+
return __assign(__assign({}, (input.Name != null && { Name: input.Name })), (input.Values != null && { Values: serializeAws_json1_1SnapshotFilterValues(input.Values, context) }));
|
|
3832
3735
|
};
|
|
3833
3736
|
var serializeAws_json1_1SnapshotFilters = function (input, context) {
|
|
3834
3737
|
return input
|
|
@@ -3861,8 +3764,7 @@ var serializeAws_json1_1SnapshotIds = function (input, context) {
|
|
|
3861
3764
|
});
|
|
3862
3765
|
};
|
|
3863
3766
|
var serializeAws_json1_1StorageVirtualMachineFilter = function (input, context) {
|
|
3864
|
-
return __assign(__assign({}, (input.Name
|
|
3865
|
-
input.Values !== null && {
|
|
3767
|
+
return __assign(__assign({}, (input.Name != null && { Name: input.Name })), (input.Values != null && {
|
|
3866
3768
|
Values: serializeAws_json1_1StorageVirtualMachineFilterValues(input.Values, context),
|
|
3867
3769
|
}));
|
|
3868
3770
|
};
|
|
@@ -3907,7 +3809,7 @@ var serializeAws_json1_1SubnetIds = function (input, context) {
|
|
|
3907
3809
|
});
|
|
3908
3810
|
};
|
|
3909
3811
|
var serializeAws_json1_1Tag = function (input, context) {
|
|
3910
|
-
return __assign(__assign({}, (input.Key
|
|
3812
|
+
return __assign(__assign({}, (input.Key != null && { Key: input.Key })), (input.Value != null && { Value: input.Value }));
|
|
3911
3813
|
};
|
|
3912
3814
|
var serializeAws_json1_1TagKeys = function (input, context) {
|
|
3913
3815
|
return input
|
|
@@ -3920,7 +3822,7 @@ var serializeAws_json1_1TagKeys = function (input, context) {
|
|
|
3920
3822
|
});
|
|
3921
3823
|
};
|
|
3922
3824
|
var serializeAws_json1_1TagResourceRequest = function (input, context) {
|
|
3923
|
-
return __assign(__assign({}, (input.ResourceARN
|
|
3825
|
+
return __assign(__assign({}, (input.ResourceARN != null && { ResourceARN: input.ResourceARN })), (input.Tags != null && { Tags: serializeAws_json1_1Tags(input.Tags, context) }));
|
|
3924
3826
|
};
|
|
3925
3827
|
var serializeAws_json1_1Tags = function (input, context) {
|
|
3926
3828
|
return input
|
|
@@ -3943,153 +3845,104 @@ var serializeAws_json1_1TaskIds = function (input, context) {
|
|
|
3943
3845
|
});
|
|
3944
3846
|
};
|
|
3945
3847
|
var serializeAws_json1_1TieringPolicy = function (input, context) {
|
|
3946
|
-
return __assign(__assign({}, (input.CoolingPeriod
|
|
3848
|
+
return __assign(__assign({}, (input.CoolingPeriod != null && { CoolingPeriod: input.CoolingPeriod })), (input.Name != null && { Name: input.Name }));
|
|
3947
3849
|
};
|
|
3948
3850
|
var serializeAws_json1_1UntagResourceRequest = function (input, context) {
|
|
3949
|
-
return __assign(__assign({}, (input.ResourceARN
|
|
3950
|
-
input.TagKeys !== null && { TagKeys: serializeAws_json1_1TagKeys(input.TagKeys, context) }));
|
|
3851
|
+
return __assign(__assign({}, (input.ResourceARN != null && { ResourceARN: input.ResourceARN })), (input.TagKeys != null && { TagKeys: serializeAws_json1_1TagKeys(input.TagKeys, context) }));
|
|
3951
3852
|
};
|
|
3952
3853
|
var serializeAws_json1_1UpdateDataRepositoryAssociationRequest = function (input, context) {
|
|
3953
3854
|
var _a;
|
|
3954
|
-
return __assign(__assign(__assign(__assign({}, (input.AssociationId
|
|
3955
|
-
input.ImportedFileChunkSize !== null && { ImportedFileChunkSize: input.ImportedFileChunkSize })), (input.S3 !== undefined &&
|
|
3956
|
-
input.S3 !== null && { S3: serializeAws_json1_1S3DataRepositoryConfiguration(input.S3, context) }));
|
|
3855
|
+
return __assign(__assign(__assign(__assign({}, (input.AssociationId != null && { AssociationId: input.AssociationId })), { ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }), (input.ImportedFileChunkSize != null && { ImportedFileChunkSize: input.ImportedFileChunkSize })), (input.S3 != null && { S3: serializeAws_json1_1S3DataRepositoryConfiguration(input.S3, context) }));
|
|
3957
3856
|
};
|
|
3958
3857
|
var serializeAws_json1_1UpdateFileSystemLustreConfiguration = function (input, context) {
|
|
3959
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AutoImportPolicy
|
|
3960
|
-
input.AutoImportPolicy !== null && { AutoImportPolicy: input.AutoImportPolicy })), (input.AutomaticBackupRetentionDays !== undefined &&
|
|
3961
|
-
input.AutomaticBackupRetentionDays !== null && {
|
|
3858
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AutoImportPolicy != null && { AutoImportPolicy: input.AutoImportPolicy })), (input.AutomaticBackupRetentionDays != null && {
|
|
3962
3859
|
AutomaticBackupRetentionDays: input.AutomaticBackupRetentionDays,
|
|
3963
|
-
})), (input.DailyAutomaticBackupStartTime
|
|
3964
|
-
input.DailyAutomaticBackupStartTime !== null && {
|
|
3860
|
+
})), (input.DailyAutomaticBackupStartTime != null && {
|
|
3965
3861
|
DailyAutomaticBackupStartTime: input.DailyAutomaticBackupStartTime,
|
|
3966
|
-
})), (input.DataCompressionType
|
|
3967
|
-
input.DataCompressionType !== null && { DataCompressionType: input.DataCompressionType })), (input.LogConfiguration !== undefined &&
|
|
3968
|
-
input.LogConfiguration !== null && {
|
|
3862
|
+
})), (input.DataCompressionType != null && { DataCompressionType: input.DataCompressionType })), (input.LogConfiguration != null && {
|
|
3969
3863
|
LogConfiguration: serializeAws_json1_1LustreLogCreateConfiguration(input.LogConfiguration, context),
|
|
3970
|
-
})), (input.RootSquashConfiguration
|
|
3971
|
-
input.RootSquashConfiguration !== null && {
|
|
3864
|
+
})), (input.RootSquashConfiguration != null && {
|
|
3972
3865
|
RootSquashConfiguration: serializeAws_json1_1LustreRootSquashConfiguration(input.RootSquashConfiguration, context),
|
|
3973
|
-
})), (input.WeeklyMaintenanceStartTime
|
|
3974
|
-
input.WeeklyMaintenanceStartTime !== null && { WeeklyMaintenanceStartTime: input.WeeklyMaintenanceStartTime }));
|
|
3866
|
+
})), (input.WeeklyMaintenanceStartTime != null && { WeeklyMaintenanceStartTime: input.WeeklyMaintenanceStartTime }));
|
|
3975
3867
|
};
|
|
3976
3868
|
var serializeAws_json1_1UpdateFileSystemOntapConfiguration = function (input, context) {
|
|
3977
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.AutomaticBackupRetentionDays
|
|
3978
|
-
input.AutomaticBackupRetentionDays !== null && {
|
|
3869
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.AutomaticBackupRetentionDays != null && {
|
|
3979
3870
|
AutomaticBackupRetentionDays: input.AutomaticBackupRetentionDays,
|
|
3980
|
-
})), (input.DailyAutomaticBackupStartTime
|
|
3981
|
-
input.DailyAutomaticBackupStartTime !== null && {
|
|
3871
|
+
})), (input.DailyAutomaticBackupStartTime != null && {
|
|
3982
3872
|
DailyAutomaticBackupStartTime: input.DailyAutomaticBackupStartTime,
|
|
3983
|
-
})), (input.DiskIopsConfiguration
|
|
3984
|
-
input.DiskIopsConfiguration !== null && {
|
|
3873
|
+
})), (input.DiskIopsConfiguration != null && {
|
|
3985
3874
|
DiskIopsConfiguration: serializeAws_json1_1DiskIopsConfiguration(input.DiskIopsConfiguration, context),
|
|
3986
|
-
})), (input.FsxAdminPassword
|
|
3987
|
-
input.FsxAdminPassword !== null && { FsxAdminPassword: input.FsxAdminPassword })), (input.ThroughputCapacity !== undefined &&
|
|
3988
|
-
input.ThroughputCapacity !== null && { ThroughputCapacity: input.ThroughputCapacity })), (input.WeeklyMaintenanceStartTime !== undefined &&
|
|
3989
|
-
input.WeeklyMaintenanceStartTime !== null && { WeeklyMaintenanceStartTime: input.WeeklyMaintenanceStartTime }));
|
|
3875
|
+
})), (input.FsxAdminPassword != null && { FsxAdminPassword: input.FsxAdminPassword })), (input.ThroughputCapacity != null && { ThroughputCapacity: input.ThroughputCapacity })), (input.WeeklyMaintenanceStartTime != null && { WeeklyMaintenanceStartTime: input.WeeklyMaintenanceStartTime }));
|
|
3990
3876
|
};
|
|
3991
3877
|
var serializeAws_json1_1UpdateFileSystemOpenZFSConfiguration = function (input, context) {
|
|
3992
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AutomaticBackupRetentionDays
|
|
3993
|
-
input.AutomaticBackupRetentionDays !== null && {
|
|
3878
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AutomaticBackupRetentionDays != null && {
|
|
3994
3879
|
AutomaticBackupRetentionDays: input.AutomaticBackupRetentionDays,
|
|
3995
|
-
})), (input.CopyTagsToBackups
|
|
3996
|
-
input.CopyTagsToBackups !== null && { CopyTagsToBackups: input.CopyTagsToBackups })), (input.CopyTagsToVolumes !== undefined &&
|
|
3997
|
-
input.CopyTagsToVolumes !== null && { CopyTagsToVolumes: input.CopyTagsToVolumes })), (input.DailyAutomaticBackupStartTime !== undefined &&
|
|
3998
|
-
input.DailyAutomaticBackupStartTime !== null && {
|
|
3880
|
+
})), (input.CopyTagsToBackups != null && { CopyTagsToBackups: input.CopyTagsToBackups })), (input.CopyTagsToVolumes != null && { CopyTagsToVolumes: input.CopyTagsToVolumes })), (input.DailyAutomaticBackupStartTime != null && {
|
|
3999
3881
|
DailyAutomaticBackupStartTime: input.DailyAutomaticBackupStartTime,
|
|
4000
|
-
})), (input.DiskIopsConfiguration
|
|
4001
|
-
input.DiskIopsConfiguration !== null && {
|
|
3882
|
+
})), (input.DiskIopsConfiguration != null && {
|
|
4002
3883
|
DiskIopsConfiguration: serializeAws_json1_1DiskIopsConfiguration(input.DiskIopsConfiguration, context),
|
|
4003
|
-
})), (input.ThroughputCapacity
|
|
4004
|
-
input.ThroughputCapacity !== null && { ThroughputCapacity: input.ThroughputCapacity })), (input.WeeklyMaintenanceStartTime !== undefined &&
|
|
4005
|
-
input.WeeklyMaintenanceStartTime !== null && { WeeklyMaintenanceStartTime: input.WeeklyMaintenanceStartTime }));
|
|
3884
|
+
})), (input.ThroughputCapacity != null && { ThroughputCapacity: input.ThroughputCapacity })), (input.WeeklyMaintenanceStartTime != null && { WeeklyMaintenanceStartTime: input.WeeklyMaintenanceStartTime }));
|
|
4006
3885
|
};
|
|
4007
3886
|
var serializeAws_json1_1UpdateFileSystemRequest = function (input, context) {
|
|
4008
3887
|
var _a;
|
|
4009
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({ ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.FileSystemId
|
|
4010
|
-
input.LustreConfiguration !== null && {
|
|
3888
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({ ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.FileSystemId != null && { FileSystemId: input.FileSystemId })), (input.LustreConfiguration != null && {
|
|
4011
3889
|
LustreConfiguration: serializeAws_json1_1UpdateFileSystemLustreConfiguration(input.LustreConfiguration, context),
|
|
4012
|
-
})), (input.OntapConfiguration
|
|
4013
|
-
input.OntapConfiguration !== null && {
|
|
3890
|
+
})), (input.OntapConfiguration != null && {
|
|
4014
3891
|
OntapConfiguration: serializeAws_json1_1UpdateFileSystemOntapConfiguration(input.OntapConfiguration, context),
|
|
4015
|
-
})), (input.OpenZFSConfiguration
|
|
4016
|
-
input.OpenZFSConfiguration !== null && {
|
|
3892
|
+
})), (input.OpenZFSConfiguration != null && {
|
|
4017
3893
|
OpenZFSConfiguration: serializeAws_json1_1UpdateFileSystemOpenZFSConfiguration(input.OpenZFSConfiguration, context),
|
|
4018
|
-
})), (input.StorageCapacity
|
|
4019
|
-
input.StorageCapacity !== null && { StorageCapacity: input.StorageCapacity })), (input.WindowsConfiguration !== undefined &&
|
|
4020
|
-
input.WindowsConfiguration !== null && {
|
|
3894
|
+
})), (input.StorageCapacity != null && { StorageCapacity: input.StorageCapacity })), (input.WindowsConfiguration != null && {
|
|
4021
3895
|
WindowsConfiguration: serializeAws_json1_1UpdateFileSystemWindowsConfiguration(input.WindowsConfiguration, context),
|
|
4022
3896
|
}));
|
|
4023
3897
|
};
|
|
4024
3898
|
var serializeAws_json1_1UpdateFileSystemWindowsConfiguration = function (input, context) {
|
|
4025
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.AuditLogConfiguration
|
|
4026
|
-
input.AuditLogConfiguration !== null && {
|
|
3899
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.AuditLogConfiguration != null && {
|
|
4027
3900
|
AuditLogConfiguration: serializeAws_json1_1WindowsAuditLogCreateConfiguration(input.AuditLogConfiguration, context),
|
|
4028
|
-
})), (input.AutomaticBackupRetentionDays
|
|
4029
|
-
input.AutomaticBackupRetentionDays !== null && {
|
|
3901
|
+
})), (input.AutomaticBackupRetentionDays != null && {
|
|
4030
3902
|
AutomaticBackupRetentionDays: input.AutomaticBackupRetentionDays,
|
|
4031
|
-
})), (input.DailyAutomaticBackupStartTime
|
|
4032
|
-
input.DailyAutomaticBackupStartTime !== null && {
|
|
3903
|
+
})), (input.DailyAutomaticBackupStartTime != null && {
|
|
4033
3904
|
DailyAutomaticBackupStartTime: input.DailyAutomaticBackupStartTime,
|
|
4034
|
-
})), (input.SelfManagedActiveDirectoryConfiguration
|
|
4035
|
-
input.SelfManagedActiveDirectoryConfiguration !== null && {
|
|
3905
|
+
})), (input.SelfManagedActiveDirectoryConfiguration != null && {
|
|
4036
3906
|
SelfManagedActiveDirectoryConfiguration: serializeAws_json1_1SelfManagedActiveDirectoryConfigurationUpdates(input.SelfManagedActiveDirectoryConfiguration, context),
|
|
4037
|
-
})), (input.ThroughputCapacity
|
|
4038
|
-
input.ThroughputCapacity !== null && { ThroughputCapacity: input.ThroughputCapacity })), (input.WeeklyMaintenanceStartTime !== undefined &&
|
|
4039
|
-
input.WeeklyMaintenanceStartTime !== null && { WeeklyMaintenanceStartTime: input.WeeklyMaintenanceStartTime }));
|
|
3907
|
+
})), (input.ThroughputCapacity != null && { ThroughputCapacity: input.ThroughputCapacity })), (input.WeeklyMaintenanceStartTime != null && { WeeklyMaintenanceStartTime: input.WeeklyMaintenanceStartTime }));
|
|
4040
3908
|
};
|
|
4041
3909
|
var serializeAws_json1_1UpdateOntapVolumeConfiguration = function (input, context) {
|
|
4042
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.JunctionPath
|
|
4043
|
-
input.SizeInMegabytes !== null && { SizeInMegabytes: input.SizeInMegabytes })), (input.StorageEfficiencyEnabled !== undefined &&
|
|
4044
|
-
input.StorageEfficiencyEnabled !== null && { StorageEfficiencyEnabled: input.StorageEfficiencyEnabled })), (input.TieringPolicy !== undefined &&
|
|
4045
|
-
input.TieringPolicy !== null && {
|
|
3910
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.JunctionPath != null && { JunctionPath: input.JunctionPath })), (input.SecurityStyle != null && { SecurityStyle: input.SecurityStyle })), (input.SizeInMegabytes != null && { SizeInMegabytes: input.SizeInMegabytes })), (input.StorageEfficiencyEnabled != null && { StorageEfficiencyEnabled: input.StorageEfficiencyEnabled })), (input.TieringPolicy != null && {
|
|
4046
3911
|
TieringPolicy: serializeAws_json1_1TieringPolicy(input.TieringPolicy, context),
|
|
4047
3912
|
}));
|
|
4048
3913
|
};
|
|
4049
3914
|
var serializeAws_json1_1UpdateOpenZFSVolumeConfiguration = function (input, context) {
|
|
4050
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.DataCompressionType
|
|
4051
|
-
input.DataCompressionType !== null && { DataCompressionType: input.DataCompressionType })), (input.NfsExports !== undefined &&
|
|
4052
|
-
input.NfsExports !== null && { NfsExports: serializeAws_json1_1OpenZFSNfsExports(input.NfsExports, context) })), (input.ReadOnly !== undefined && input.ReadOnly !== null && { ReadOnly: input.ReadOnly })), (input.RecordSizeKiB !== undefined && input.RecordSizeKiB !== null && { RecordSizeKiB: input.RecordSizeKiB })), (input.StorageCapacityQuotaGiB !== undefined &&
|
|
4053
|
-
input.StorageCapacityQuotaGiB !== null && { StorageCapacityQuotaGiB: input.StorageCapacityQuotaGiB })), (input.StorageCapacityReservationGiB !== undefined &&
|
|
4054
|
-
input.StorageCapacityReservationGiB !== null && {
|
|
3915
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.DataCompressionType != null && { DataCompressionType: input.DataCompressionType })), (input.NfsExports != null && { NfsExports: serializeAws_json1_1OpenZFSNfsExports(input.NfsExports, context) })), (input.ReadOnly != null && { ReadOnly: input.ReadOnly })), (input.RecordSizeKiB != null && { RecordSizeKiB: input.RecordSizeKiB })), (input.StorageCapacityQuotaGiB != null && { StorageCapacityQuotaGiB: input.StorageCapacityQuotaGiB })), (input.StorageCapacityReservationGiB != null && {
|
|
4055
3916
|
StorageCapacityReservationGiB: input.StorageCapacityReservationGiB,
|
|
4056
|
-
})), (input.UserAndGroupQuotas
|
|
4057
|
-
input.UserAndGroupQuotas !== null && {
|
|
3917
|
+
})), (input.UserAndGroupQuotas != null && {
|
|
4058
3918
|
UserAndGroupQuotas: serializeAws_json1_1OpenZFSUserAndGroupQuotas(input.UserAndGroupQuotas, context),
|
|
4059
3919
|
}));
|
|
4060
3920
|
};
|
|
4061
3921
|
var serializeAws_json1_1UpdateSnapshotRequest = function (input, context) {
|
|
4062
3922
|
var _a;
|
|
4063
|
-
return __assign(__assign({ ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.Name
|
|
3923
|
+
return __assign(__assign({ ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.Name != null && { Name: input.Name })), (input.SnapshotId != null && { SnapshotId: input.SnapshotId }));
|
|
4064
3924
|
};
|
|
4065
3925
|
var serializeAws_json1_1UpdateStorageVirtualMachineRequest = function (input, context) {
|
|
4066
3926
|
var _a;
|
|
4067
|
-
return __assign(__assign(__assign(__assign({}, (input.ActiveDirectoryConfiguration
|
|
4068
|
-
input.ActiveDirectoryConfiguration !== null && {
|
|
3927
|
+
return __assign(__assign(__assign(__assign({}, (input.ActiveDirectoryConfiguration != null && {
|
|
4069
3928
|
ActiveDirectoryConfiguration: serializeAws_json1_1UpdateSvmActiveDirectoryConfiguration(input.ActiveDirectoryConfiguration, context),
|
|
4070
|
-
})), { ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }), (input.StorageVirtualMachineId
|
|
4071
|
-
input.StorageVirtualMachineId !== null && { StorageVirtualMachineId: input.StorageVirtualMachineId })), (input.SvmAdminPassword !== undefined &&
|
|
4072
|
-
input.SvmAdminPassword !== null && { SvmAdminPassword: input.SvmAdminPassword }));
|
|
3929
|
+
})), { ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }), (input.StorageVirtualMachineId != null && { StorageVirtualMachineId: input.StorageVirtualMachineId })), (input.SvmAdminPassword != null && { SvmAdminPassword: input.SvmAdminPassword }));
|
|
4073
3930
|
};
|
|
4074
3931
|
var serializeAws_json1_1UpdateSvmActiveDirectoryConfiguration = function (input, context) {
|
|
4075
|
-
return __assign({}, (input.SelfManagedActiveDirectoryConfiguration
|
|
4076
|
-
input.SelfManagedActiveDirectoryConfiguration !== null && {
|
|
3932
|
+
return __assign({}, (input.SelfManagedActiveDirectoryConfiguration != null && {
|
|
4077
3933
|
SelfManagedActiveDirectoryConfiguration: serializeAws_json1_1SelfManagedActiveDirectoryConfigurationUpdates(input.SelfManagedActiveDirectoryConfiguration, context),
|
|
4078
3934
|
}));
|
|
4079
3935
|
};
|
|
4080
3936
|
var serializeAws_json1_1UpdateVolumeRequest = function (input, context) {
|
|
4081
3937
|
var _a;
|
|
4082
|
-
return __assign(__assign(__assign(__assign({ ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.Name
|
|
4083
|
-
input.OntapConfiguration !== null && {
|
|
3938
|
+
return __assign(__assign(__assign(__assign({ ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.Name != null && { Name: input.Name })), (input.OntapConfiguration != null && {
|
|
4084
3939
|
OntapConfiguration: serializeAws_json1_1UpdateOntapVolumeConfiguration(input.OntapConfiguration, context),
|
|
4085
|
-
})), (input.OpenZFSConfiguration
|
|
4086
|
-
input.OpenZFSConfiguration !== null && {
|
|
3940
|
+
})), (input.OpenZFSConfiguration != null && {
|
|
4087
3941
|
OpenZFSConfiguration: serializeAws_json1_1UpdateOpenZFSVolumeConfiguration(input.OpenZFSConfiguration, context),
|
|
4088
|
-
})), (input.VolumeId
|
|
3942
|
+
})), (input.VolumeId != null && { VolumeId: input.VolumeId }));
|
|
4089
3943
|
};
|
|
4090
3944
|
var serializeAws_json1_1VolumeFilter = function (input, context) {
|
|
4091
|
-
return __assign(__assign({}, (input.Name
|
|
4092
|
-
input.Values !== null && { Values: serializeAws_json1_1VolumeFilterValues(input.Values, context) }));
|
|
3945
|
+
return __assign(__assign({}, (input.Name != null && { Name: input.Name })), (input.Values != null && { Values: serializeAws_json1_1VolumeFilterValues(input.Values, context) }));
|
|
4093
3946
|
};
|
|
4094
3947
|
var serializeAws_json1_1VolumeFilters = function (input, context) {
|
|
4095
3948
|
return input
|
|
@@ -4122,10 +3975,7 @@ var serializeAws_json1_1VolumeIds = function (input, context) {
|
|
|
4122
3975
|
});
|
|
4123
3976
|
};
|
|
4124
3977
|
var serializeAws_json1_1WindowsAuditLogCreateConfiguration = function (input, context) {
|
|
4125
|
-
return __assign(__assign(__assign({}, (input.AuditLogDestination
|
|
4126
|
-
input.AuditLogDestination !== null && { AuditLogDestination: input.AuditLogDestination })), (input.FileAccessAuditLogLevel !== undefined &&
|
|
4127
|
-
input.FileAccessAuditLogLevel !== null && { FileAccessAuditLogLevel: input.FileAccessAuditLogLevel })), (input.FileShareAccessAuditLogLevel !== undefined &&
|
|
4128
|
-
input.FileShareAccessAuditLogLevel !== null && {
|
|
3978
|
+
return __assign(__assign(__assign({}, (input.AuditLogDestination != null && { AuditLogDestination: input.AuditLogDestination })), (input.FileAccessAuditLogLevel != null && { FileAccessAuditLogLevel: input.FileAccessAuditLogLevel })), (input.FileShareAccessAuditLogLevel != null && {
|
|
4129
3979
|
FileShareAccessAuditLogLevel: input.FileShareAccessAuditLogLevel,
|
|
4130
3980
|
}));
|
|
4131
3981
|
};
|
|
@@ -4146,23 +3996,21 @@ var deserializeAws_json1_1ActiveDirectoryError = function (output, context) {
|
|
|
4146
3996
|
var deserializeAws_json1_1AdministrativeAction = function (output, context) {
|
|
4147
3997
|
return {
|
|
4148
3998
|
AdministrativeActionType: __expectString(output.AdministrativeActionType),
|
|
4149
|
-
FailureDetails: output.FailureDetails
|
|
3999
|
+
FailureDetails: output.FailureDetails != null
|
|
4150
4000
|
? deserializeAws_json1_1AdministrativeActionFailureDetails(output.FailureDetails, context)
|
|
4151
4001
|
: undefined,
|
|
4152
4002
|
ProgressPercent: __expectInt32(output.ProgressPercent),
|
|
4153
|
-
RequestTime: output.RequestTime
|
|
4003
|
+
RequestTime: output.RequestTime != null
|
|
4154
4004
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.RequestTime)))
|
|
4155
4005
|
: undefined,
|
|
4156
4006
|
Status: __expectString(output.Status),
|
|
4157
|
-
TargetFileSystemValues: output.TargetFileSystemValues
|
|
4007
|
+
TargetFileSystemValues: output.TargetFileSystemValues != null
|
|
4158
4008
|
? deserializeAws_json1_1FileSystem(output.TargetFileSystemValues, context)
|
|
4159
4009
|
: undefined,
|
|
4160
|
-
TargetSnapshotValues: output.TargetSnapshotValues
|
|
4010
|
+
TargetSnapshotValues: output.TargetSnapshotValues != null
|
|
4161
4011
|
? deserializeAws_json1_1Snapshot(output.TargetSnapshotValues, context)
|
|
4162
4012
|
: undefined,
|
|
4163
|
-
TargetVolumeValues: output.TargetVolumeValues
|
|
4164
|
-
? deserializeAws_json1_1Volume(output.TargetVolumeValues, context)
|
|
4165
|
-
: undefined,
|
|
4013
|
+
TargetVolumeValues: output.TargetVolumeValues != null ? deserializeAws_json1_1Volume(output.TargetVolumeValues, context) : undefined,
|
|
4166
4014
|
};
|
|
4167
4015
|
};
|
|
4168
4016
|
var deserializeAws_json1_1AdministrativeActionFailureDetails = function (output, context) {
|
|
@@ -4200,40 +4048,32 @@ var deserializeAws_json1_1Aliases = function (output, context) {
|
|
|
4200
4048
|
};
|
|
4201
4049
|
var deserializeAws_json1_1AssociateFileSystemAliasesResponse = function (output, context) {
|
|
4202
4050
|
return {
|
|
4203
|
-
Aliases: output.Aliases
|
|
4204
|
-
? deserializeAws_json1_1Aliases(output.Aliases, context)
|
|
4205
|
-
: undefined,
|
|
4051
|
+
Aliases: output.Aliases != null ? deserializeAws_json1_1Aliases(output.Aliases, context) : undefined,
|
|
4206
4052
|
};
|
|
4207
4053
|
};
|
|
4208
4054
|
var deserializeAws_json1_1AutoExportPolicy = function (output, context) {
|
|
4209
4055
|
return {
|
|
4210
|
-
Events: output.Events
|
|
4211
|
-
? deserializeAws_json1_1EventTypes(output.Events, context)
|
|
4212
|
-
: undefined,
|
|
4056
|
+
Events: output.Events != null ? deserializeAws_json1_1EventTypes(output.Events, context) : undefined,
|
|
4213
4057
|
};
|
|
4214
4058
|
};
|
|
4215
4059
|
var deserializeAws_json1_1AutoImportPolicy = function (output, context) {
|
|
4216
4060
|
return {
|
|
4217
|
-
Events: output.Events
|
|
4218
|
-
? deserializeAws_json1_1EventTypes(output.Events, context)
|
|
4219
|
-
: undefined,
|
|
4061
|
+
Events: output.Events != null ? deserializeAws_json1_1EventTypes(output.Events, context) : undefined,
|
|
4220
4062
|
};
|
|
4221
4063
|
};
|
|
4222
4064
|
var deserializeAws_json1_1Backup = function (output, context) {
|
|
4223
4065
|
return {
|
|
4224
4066
|
BackupId: __expectString(output.BackupId),
|
|
4225
|
-
CreationTime: output.CreationTime
|
|
4067
|
+
CreationTime: output.CreationTime != null
|
|
4226
4068
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
4227
4069
|
: undefined,
|
|
4228
|
-
DirectoryInformation: output.DirectoryInformation
|
|
4070
|
+
DirectoryInformation: output.DirectoryInformation != null
|
|
4229
4071
|
? deserializeAws_json1_1ActiveDirectoryBackupAttributes(output.DirectoryInformation, context)
|
|
4230
4072
|
: undefined,
|
|
4231
|
-
FailureDetails: output.FailureDetails
|
|
4073
|
+
FailureDetails: output.FailureDetails != null
|
|
4232
4074
|
? deserializeAws_json1_1BackupFailureDetails(output.FailureDetails, context)
|
|
4233
4075
|
: undefined,
|
|
4234
|
-
FileSystem: output.FileSystem
|
|
4235
|
-
? deserializeAws_json1_1FileSystem(output.FileSystem, context)
|
|
4236
|
-
: undefined,
|
|
4076
|
+
FileSystem: output.FileSystem != null ? deserializeAws_json1_1FileSystem(output.FileSystem, context) : undefined,
|
|
4237
4077
|
KmsKeyId: __expectString(output.KmsKeyId),
|
|
4238
4078
|
Lifecycle: __expectString(output.Lifecycle),
|
|
4239
4079
|
OwnerId: __expectString(output.OwnerId),
|
|
@@ -4242,11 +4082,9 @@ var deserializeAws_json1_1Backup = function (output, context) {
|
|
|
4242
4082
|
ResourceType: __expectString(output.ResourceType),
|
|
4243
4083
|
SourceBackupId: __expectString(output.SourceBackupId),
|
|
4244
4084
|
SourceBackupRegion: __expectString(output.SourceBackupRegion),
|
|
4245
|
-
Tags: output.Tags
|
|
4085
|
+
Tags: output.Tags != null ? deserializeAws_json1_1Tags(output.Tags, context) : undefined,
|
|
4246
4086
|
Type: __expectString(output.Type),
|
|
4247
|
-
Volume: output.Volume
|
|
4248
|
-
? deserializeAws_json1_1Volume(output.Volume, context)
|
|
4249
|
-
: undefined,
|
|
4087
|
+
Volume: output.Volume != null ? deserializeAws_json1_1Volume(output.Volume, context) : undefined,
|
|
4250
4088
|
};
|
|
4251
4089
|
};
|
|
4252
4090
|
var deserializeAws_json1_1BackupBeingCopied = function (output, context) {
|
|
@@ -4308,83 +4146,69 @@ var deserializeAws_json1_1CompletionReport = function (output, context) {
|
|
|
4308
4146
|
};
|
|
4309
4147
|
var deserializeAws_json1_1CopyBackupResponse = function (output, context) {
|
|
4310
4148
|
return {
|
|
4311
|
-
Backup: output.Backup
|
|
4312
|
-
? deserializeAws_json1_1Backup(output.Backup, context)
|
|
4313
|
-
: undefined,
|
|
4149
|
+
Backup: output.Backup != null ? deserializeAws_json1_1Backup(output.Backup, context) : undefined,
|
|
4314
4150
|
};
|
|
4315
4151
|
};
|
|
4316
4152
|
var deserializeAws_json1_1CreateBackupResponse = function (output, context) {
|
|
4317
4153
|
return {
|
|
4318
|
-
Backup: output.Backup
|
|
4319
|
-
? deserializeAws_json1_1Backup(output.Backup, context)
|
|
4320
|
-
: undefined,
|
|
4154
|
+
Backup: output.Backup != null ? deserializeAws_json1_1Backup(output.Backup, context) : undefined,
|
|
4321
4155
|
};
|
|
4322
4156
|
};
|
|
4323
4157
|
var deserializeAws_json1_1CreateDataRepositoryAssociationResponse = function (output, context) {
|
|
4324
4158
|
return {
|
|
4325
|
-
Association: output.Association
|
|
4159
|
+
Association: output.Association != null
|
|
4326
4160
|
? deserializeAws_json1_1DataRepositoryAssociation(output.Association, context)
|
|
4327
4161
|
: undefined,
|
|
4328
4162
|
};
|
|
4329
4163
|
};
|
|
4330
4164
|
var deserializeAws_json1_1CreateDataRepositoryTaskResponse = function (output, context) {
|
|
4331
4165
|
return {
|
|
4332
|
-
DataRepositoryTask: output.DataRepositoryTask
|
|
4166
|
+
DataRepositoryTask: output.DataRepositoryTask != null
|
|
4333
4167
|
? deserializeAws_json1_1DataRepositoryTask(output.DataRepositoryTask, context)
|
|
4334
4168
|
: undefined,
|
|
4335
4169
|
};
|
|
4336
4170
|
};
|
|
4337
4171
|
var deserializeAws_json1_1CreateFileSystemFromBackupResponse = function (output, context) {
|
|
4338
4172
|
return {
|
|
4339
|
-
FileSystem: output.FileSystem
|
|
4340
|
-
? deserializeAws_json1_1FileSystem(output.FileSystem, context)
|
|
4341
|
-
: undefined,
|
|
4173
|
+
FileSystem: output.FileSystem != null ? deserializeAws_json1_1FileSystem(output.FileSystem, context) : undefined,
|
|
4342
4174
|
};
|
|
4343
4175
|
};
|
|
4344
4176
|
var deserializeAws_json1_1CreateFileSystemResponse = function (output, context) {
|
|
4345
4177
|
return {
|
|
4346
|
-
FileSystem: output.FileSystem
|
|
4347
|
-
? deserializeAws_json1_1FileSystem(output.FileSystem, context)
|
|
4348
|
-
: undefined,
|
|
4178
|
+
FileSystem: output.FileSystem != null ? deserializeAws_json1_1FileSystem(output.FileSystem, context) : undefined,
|
|
4349
4179
|
};
|
|
4350
4180
|
};
|
|
4351
4181
|
var deserializeAws_json1_1CreateSnapshotResponse = function (output, context) {
|
|
4352
4182
|
return {
|
|
4353
|
-
Snapshot: output.Snapshot
|
|
4354
|
-
? deserializeAws_json1_1Snapshot(output.Snapshot, context)
|
|
4355
|
-
: undefined,
|
|
4183
|
+
Snapshot: output.Snapshot != null ? deserializeAws_json1_1Snapshot(output.Snapshot, context) : undefined,
|
|
4356
4184
|
};
|
|
4357
4185
|
};
|
|
4358
4186
|
var deserializeAws_json1_1CreateStorageVirtualMachineResponse = function (output, context) {
|
|
4359
4187
|
return {
|
|
4360
|
-
StorageVirtualMachine: output.StorageVirtualMachine
|
|
4188
|
+
StorageVirtualMachine: output.StorageVirtualMachine != null
|
|
4361
4189
|
? deserializeAws_json1_1StorageVirtualMachine(output.StorageVirtualMachine, context)
|
|
4362
4190
|
: undefined,
|
|
4363
4191
|
};
|
|
4364
4192
|
};
|
|
4365
4193
|
var deserializeAws_json1_1CreateVolumeFromBackupResponse = function (output, context) {
|
|
4366
4194
|
return {
|
|
4367
|
-
Volume: output.Volume
|
|
4368
|
-
? deserializeAws_json1_1Volume(output.Volume, context)
|
|
4369
|
-
: undefined,
|
|
4195
|
+
Volume: output.Volume != null ? deserializeAws_json1_1Volume(output.Volume, context) : undefined,
|
|
4370
4196
|
};
|
|
4371
4197
|
};
|
|
4372
4198
|
var deserializeAws_json1_1CreateVolumeResponse = function (output, context) {
|
|
4373
4199
|
return {
|
|
4374
|
-
Volume: output.Volume
|
|
4375
|
-
? deserializeAws_json1_1Volume(output.Volume, context)
|
|
4376
|
-
: undefined,
|
|
4200
|
+
Volume: output.Volume != null ? deserializeAws_json1_1Volume(output.Volume, context) : undefined,
|
|
4377
4201
|
};
|
|
4378
4202
|
};
|
|
4379
4203
|
var deserializeAws_json1_1DataRepositoryAssociation = function (output, context) {
|
|
4380
4204
|
return {
|
|
4381
4205
|
AssociationId: __expectString(output.AssociationId),
|
|
4382
4206
|
BatchImportMetaDataOnCreate: __expectBoolean(output.BatchImportMetaDataOnCreate),
|
|
4383
|
-
CreationTime: output.CreationTime
|
|
4207
|
+
CreationTime: output.CreationTime != null
|
|
4384
4208
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
4385
4209
|
: undefined,
|
|
4386
4210
|
DataRepositoryPath: __expectString(output.DataRepositoryPath),
|
|
4387
|
-
FailureDetails: output.FailureDetails
|
|
4211
|
+
FailureDetails: output.FailureDetails != null
|
|
4388
4212
|
? deserializeAws_json1_1DataRepositoryFailureDetails(output.FailureDetails, context)
|
|
4389
4213
|
: undefined,
|
|
4390
4214
|
FileSystemId: __expectString(output.FileSystemId),
|
|
@@ -4392,10 +4216,8 @@ var deserializeAws_json1_1DataRepositoryAssociation = function (output, context)
|
|
|
4392
4216
|
ImportedFileChunkSize: __expectInt32(output.ImportedFileChunkSize),
|
|
4393
4217
|
Lifecycle: __expectString(output.Lifecycle),
|
|
4394
4218
|
ResourceARN: __expectString(output.ResourceARN),
|
|
4395
|
-
S3: output.S3
|
|
4396
|
-
|
|
4397
|
-
: undefined,
|
|
4398
|
-
Tags: output.Tags !== undefined && output.Tags !== null ? deserializeAws_json1_1Tags(output.Tags, context) : undefined,
|
|
4219
|
+
S3: output.S3 != null ? deserializeAws_json1_1S3DataRepositoryConfiguration(output.S3, context) : undefined,
|
|
4220
|
+
Tags: output.Tags != null ? deserializeAws_json1_1Tags(output.Tags, context) : undefined,
|
|
4399
4221
|
};
|
|
4400
4222
|
};
|
|
4401
4223
|
var deserializeAws_json1_1DataRepositoryAssociationNotFound = function (output, context) {
|
|
@@ -4418,7 +4240,7 @@ var deserializeAws_json1_1DataRepositoryConfiguration = function (output, contex
|
|
|
4418
4240
|
return {
|
|
4419
4241
|
AutoImportPolicy: __expectString(output.AutoImportPolicy),
|
|
4420
4242
|
ExportPath: __expectString(output.ExportPath),
|
|
4421
|
-
FailureDetails: output.FailureDetails
|
|
4243
|
+
FailureDetails: output.FailureDetails != null
|
|
4422
4244
|
? deserializeAws_json1_1DataRepositoryFailureDetails(output.FailureDetails, context)
|
|
4423
4245
|
: undefined,
|
|
4424
4246
|
ImportPath: __expectString(output.ImportPath),
|
|
@@ -4433,31 +4255,21 @@ var deserializeAws_json1_1DataRepositoryFailureDetails = function (output, conte
|
|
|
4433
4255
|
};
|
|
4434
4256
|
var deserializeAws_json1_1DataRepositoryTask = function (output, context) {
|
|
4435
4257
|
return {
|
|
4436
|
-
CreationTime: output.CreationTime
|
|
4258
|
+
CreationTime: output.CreationTime != null
|
|
4437
4259
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
4438
4260
|
: undefined,
|
|
4439
|
-
EndTime: output.EndTime
|
|
4440
|
-
|
|
4441
|
-
: undefined,
|
|
4442
|
-
FailureDetails: output.FailureDetails !== undefined && output.FailureDetails !== null
|
|
4261
|
+
EndTime: output.EndTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EndTime))) : undefined,
|
|
4262
|
+
FailureDetails: output.FailureDetails != null
|
|
4443
4263
|
? deserializeAws_json1_1DataRepositoryTaskFailureDetails(output.FailureDetails, context)
|
|
4444
4264
|
: undefined,
|
|
4445
4265
|
FileSystemId: __expectString(output.FileSystemId),
|
|
4446
4266
|
Lifecycle: __expectString(output.Lifecycle),
|
|
4447
|
-
Paths: output.Paths
|
|
4448
|
-
|
|
4449
|
-
: undefined,
|
|
4450
|
-
Report: output.Report !== undefined && output.Report !== null
|
|
4451
|
-
? deserializeAws_json1_1CompletionReport(output.Report, context)
|
|
4452
|
-
: undefined,
|
|
4267
|
+
Paths: output.Paths != null ? deserializeAws_json1_1DataRepositoryTaskPaths(output.Paths, context) : undefined,
|
|
4268
|
+
Report: output.Report != null ? deserializeAws_json1_1CompletionReport(output.Report, context) : undefined,
|
|
4453
4269
|
ResourceARN: __expectString(output.ResourceARN),
|
|
4454
|
-
StartTime: output.StartTime
|
|
4455
|
-
|
|
4456
|
-
|
|
4457
|
-
Status: output.Status !== undefined && output.Status !== null
|
|
4458
|
-
? deserializeAws_json1_1DataRepositoryTaskStatus(output.Status, context)
|
|
4459
|
-
: undefined,
|
|
4460
|
-
Tags: output.Tags !== undefined && output.Tags !== null ? deserializeAws_json1_1Tags(output.Tags, context) : undefined,
|
|
4270
|
+
StartTime: output.StartTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime))) : undefined,
|
|
4271
|
+
Status: output.Status != null ? deserializeAws_json1_1DataRepositoryTaskStatus(output.Status, context) : undefined,
|
|
4272
|
+
Tags: output.Tags != null ? deserializeAws_json1_1Tags(output.Tags, context) : undefined,
|
|
4461
4273
|
TaskId: __expectString(output.TaskId),
|
|
4462
4274
|
Type: __expectString(output.Type),
|
|
4463
4275
|
};
|
|
@@ -4507,7 +4319,7 @@ var deserializeAws_json1_1DataRepositoryTasks = function (output, context) {
|
|
|
4507
4319
|
var deserializeAws_json1_1DataRepositoryTaskStatus = function (output, context) {
|
|
4508
4320
|
return {
|
|
4509
4321
|
FailedCount: __expectLong(output.FailedCount),
|
|
4510
|
-
LastUpdatedTime: output.LastUpdatedTime
|
|
4322
|
+
LastUpdatedTime: output.LastUpdatedTime != null
|
|
4511
4323
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdatedTime)))
|
|
4512
4324
|
: undefined,
|
|
4513
4325
|
SucceededCount: __expectLong(output.SucceededCount),
|
|
@@ -4530,30 +4342,26 @@ var deserializeAws_json1_1DeleteDataRepositoryAssociationResponse = function (ou
|
|
|
4530
4342
|
var deserializeAws_json1_1DeleteFileSystemLustreResponse = function (output, context) {
|
|
4531
4343
|
return {
|
|
4532
4344
|
FinalBackupId: __expectString(output.FinalBackupId),
|
|
4533
|
-
FinalBackupTags: output.FinalBackupTags
|
|
4534
|
-
? deserializeAws_json1_1Tags(output.FinalBackupTags, context)
|
|
4535
|
-
: undefined,
|
|
4345
|
+
FinalBackupTags: output.FinalBackupTags != null ? deserializeAws_json1_1Tags(output.FinalBackupTags, context) : undefined,
|
|
4536
4346
|
};
|
|
4537
4347
|
};
|
|
4538
4348
|
var deserializeAws_json1_1DeleteFileSystemOpenZFSResponse = function (output, context) {
|
|
4539
4349
|
return {
|
|
4540
4350
|
FinalBackupId: __expectString(output.FinalBackupId),
|
|
4541
|
-
FinalBackupTags: output.FinalBackupTags
|
|
4542
|
-
? deserializeAws_json1_1Tags(output.FinalBackupTags, context)
|
|
4543
|
-
: undefined,
|
|
4351
|
+
FinalBackupTags: output.FinalBackupTags != null ? deserializeAws_json1_1Tags(output.FinalBackupTags, context) : undefined,
|
|
4544
4352
|
};
|
|
4545
4353
|
};
|
|
4546
4354
|
var deserializeAws_json1_1DeleteFileSystemResponse = function (output, context) {
|
|
4547
4355
|
return {
|
|
4548
4356
|
FileSystemId: __expectString(output.FileSystemId),
|
|
4549
4357
|
Lifecycle: __expectString(output.Lifecycle),
|
|
4550
|
-
LustreResponse: output.LustreResponse
|
|
4358
|
+
LustreResponse: output.LustreResponse != null
|
|
4551
4359
|
? deserializeAws_json1_1DeleteFileSystemLustreResponse(output.LustreResponse, context)
|
|
4552
4360
|
: undefined,
|
|
4553
|
-
OpenZFSResponse: output.OpenZFSResponse
|
|
4361
|
+
OpenZFSResponse: output.OpenZFSResponse != null
|
|
4554
4362
|
? deserializeAws_json1_1DeleteFileSystemOpenZFSResponse(output.OpenZFSResponse, context)
|
|
4555
4363
|
: undefined,
|
|
4556
|
-
WindowsResponse: output.WindowsResponse
|
|
4364
|
+
WindowsResponse: output.WindowsResponse != null
|
|
4557
4365
|
? deserializeAws_json1_1DeleteFileSystemWindowsResponse(output.WindowsResponse, context)
|
|
4558
4366
|
: undefined,
|
|
4559
4367
|
};
|
|
@@ -4561,9 +4369,7 @@ var deserializeAws_json1_1DeleteFileSystemResponse = function (output, context)
|
|
|
4561
4369
|
var deserializeAws_json1_1DeleteFileSystemWindowsResponse = function (output, context) {
|
|
4562
4370
|
return {
|
|
4563
4371
|
FinalBackupId: __expectString(output.FinalBackupId),
|
|
4564
|
-
FinalBackupTags: output.FinalBackupTags
|
|
4565
|
-
? deserializeAws_json1_1Tags(output.FinalBackupTags, context)
|
|
4566
|
-
: undefined,
|
|
4372
|
+
FinalBackupTags: output.FinalBackupTags != null ? deserializeAws_json1_1Tags(output.FinalBackupTags, context) : undefined,
|
|
4567
4373
|
};
|
|
4568
4374
|
};
|
|
4569
4375
|
var deserializeAws_json1_1DeleteSnapshotResponse = function (output, context) {
|
|
@@ -4581,15 +4387,13 @@ var deserializeAws_json1_1DeleteStorageVirtualMachineResponse = function (output
|
|
|
4581
4387
|
var deserializeAws_json1_1DeleteVolumeOntapResponse = function (output, context) {
|
|
4582
4388
|
return {
|
|
4583
4389
|
FinalBackupId: __expectString(output.FinalBackupId),
|
|
4584
|
-
FinalBackupTags: output.FinalBackupTags
|
|
4585
|
-
? deserializeAws_json1_1Tags(output.FinalBackupTags, context)
|
|
4586
|
-
: undefined,
|
|
4390
|
+
FinalBackupTags: output.FinalBackupTags != null ? deserializeAws_json1_1Tags(output.FinalBackupTags, context) : undefined,
|
|
4587
4391
|
};
|
|
4588
4392
|
};
|
|
4589
4393
|
var deserializeAws_json1_1DeleteVolumeResponse = function (output, context) {
|
|
4590
4394
|
return {
|
|
4591
4395
|
Lifecycle: __expectString(output.Lifecycle),
|
|
4592
|
-
OntapResponse: output.OntapResponse
|
|
4396
|
+
OntapResponse: output.OntapResponse != null
|
|
4593
4397
|
? deserializeAws_json1_1DeleteVolumeOntapResponse(output.OntapResponse, context)
|
|
4594
4398
|
: undefined,
|
|
4595
4399
|
VolumeId: __expectString(output.VolumeId),
|
|
@@ -4597,15 +4401,13 @@ var deserializeAws_json1_1DeleteVolumeResponse = function (output, context) {
|
|
|
4597
4401
|
};
|
|
4598
4402
|
var deserializeAws_json1_1DescribeBackupsResponse = function (output, context) {
|
|
4599
4403
|
return {
|
|
4600
|
-
Backups: output.Backups
|
|
4601
|
-
? deserializeAws_json1_1Backups(output.Backups, context)
|
|
4602
|
-
: undefined,
|
|
4404
|
+
Backups: output.Backups != null ? deserializeAws_json1_1Backups(output.Backups, context) : undefined,
|
|
4603
4405
|
NextToken: __expectString(output.NextToken),
|
|
4604
4406
|
};
|
|
4605
4407
|
};
|
|
4606
4408
|
var deserializeAws_json1_1DescribeDataRepositoryAssociationsResponse = function (output, context) {
|
|
4607
4409
|
return {
|
|
4608
|
-
Associations: output.Associations
|
|
4410
|
+
Associations: output.Associations != null
|
|
4609
4411
|
? deserializeAws_json1_1DataRepositoryAssociations(output.Associations, context)
|
|
4610
4412
|
: undefined,
|
|
4611
4413
|
NextToken: __expectString(output.NextToken),
|
|
@@ -4613,7 +4415,7 @@ var deserializeAws_json1_1DescribeDataRepositoryAssociationsResponse = function
|
|
|
4613
4415
|
};
|
|
4614
4416
|
var deserializeAws_json1_1DescribeDataRepositoryTasksResponse = function (output, context) {
|
|
4615
4417
|
return {
|
|
4616
|
-
DataRepositoryTasks: output.DataRepositoryTasks
|
|
4418
|
+
DataRepositoryTasks: output.DataRepositoryTasks != null
|
|
4617
4419
|
? deserializeAws_json1_1DataRepositoryTasks(output.DataRepositoryTasks, context)
|
|
4618
4420
|
: undefined,
|
|
4619
4421
|
NextToken: __expectString(output.NextToken),
|
|
@@ -4621,32 +4423,26 @@ var deserializeAws_json1_1DescribeDataRepositoryTasksResponse = function (output
|
|
|
4621
4423
|
};
|
|
4622
4424
|
var deserializeAws_json1_1DescribeFileSystemAliasesResponse = function (output, context) {
|
|
4623
4425
|
return {
|
|
4624
|
-
Aliases: output.Aliases
|
|
4625
|
-
? deserializeAws_json1_1Aliases(output.Aliases, context)
|
|
4626
|
-
: undefined,
|
|
4426
|
+
Aliases: output.Aliases != null ? deserializeAws_json1_1Aliases(output.Aliases, context) : undefined,
|
|
4627
4427
|
NextToken: __expectString(output.NextToken),
|
|
4628
4428
|
};
|
|
4629
4429
|
};
|
|
4630
4430
|
var deserializeAws_json1_1DescribeFileSystemsResponse = function (output, context) {
|
|
4631
4431
|
return {
|
|
4632
|
-
FileSystems: output.FileSystems
|
|
4633
|
-
? deserializeAws_json1_1FileSystems(output.FileSystems, context)
|
|
4634
|
-
: undefined,
|
|
4432
|
+
FileSystems: output.FileSystems != null ? deserializeAws_json1_1FileSystems(output.FileSystems, context) : undefined,
|
|
4635
4433
|
NextToken: __expectString(output.NextToken),
|
|
4636
4434
|
};
|
|
4637
4435
|
};
|
|
4638
4436
|
var deserializeAws_json1_1DescribeSnapshotsResponse = function (output, context) {
|
|
4639
4437
|
return {
|
|
4640
4438
|
NextToken: __expectString(output.NextToken),
|
|
4641
|
-
Snapshots: output.Snapshots
|
|
4642
|
-
? deserializeAws_json1_1Snapshots(output.Snapshots, context)
|
|
4643
|
-
: undefined,
|
|
4439
|
+
Snapshots: output.Snapshots != null ? deserializeAws_json1_1Snapshots(output.Snapshots, context) : undefined,
|
|
4644
4440
|
};
|
|
4645
4441
|
};
|
|
4646
4442
|
var deserializeAws_json1_1DescribeStorageVirtualMachinesResponse = function (output, context) {
|
|
4647
4443
|
return {
|
|
4648
4444
|
NextToken: __expectString(output.NextToken),
|
|
4649
|
-
StorageVirtualMachines: output.StorageVirtualMachines
|
|
4445
|
+
StorageVirtualMachines: output.StorageVirtualMachines != null
|
|
4650
4446
|
? deserializeAws_json1_1StorageVirtualMachines(output.StorageVirtualMachines, context)
|
|
4651
4447
|
: undefined,
|
|
4652
4448
|
};
|
|
@@ -4654,16 +4450,12 @@ var deserializeAws_json1_1DescribeStorageVirtualMachinesResponse = function (out
|
|
|
4654
4450
|
var deserializeAws_json1_1DescribeVolumesResponse = function (output, context) {
|
|
4655
4451
|
return {
|
|
4656
4452
|
NextToken: __expectString(output.NextToken),
|
|
4657
|
-
Volumes: output.Volumes
|
|
4658
|
-
? deserializeAws_json1_1Volumes(output.Volumes, context)
|
|
4659
|
-
: undefined,
|
|
4453
|
+
Volumes: output.Volumes != null ? deserializeAws_json1_1Volumes(output.Volumes, context) : undefined,
|
|
4660
4454
|
};
|
|
4661
4455
|
};
|
|
4662
4456
|
var deserializeAws_json1_1DisassociateFileSystemAliasesResponse = function (output, context) {
|
|
4663
4457
|
return {
|
|
4664
|
-
Aliases: output.Aliases
|
|
4665
|
-
? deserializeAws_json1_1Aliases(output.Aliases, context)
|
|
4666
|
-
: undefined,
|
|
4458
|
+
Aliases: output.Aliases != null ? deserializeAws_json1_1Aliases(output.Aliases, context) : undefined,
|
|
4667
4459
|
};
|
|
4668
4460
|
};
|
|
4669
4461
|
var deserializeAws_json1_1DiskIopsConfiguration = function (output, context) {
|
|
@@ -4696,14 +4488,14 @@ var deserializeAws_json1_1EventTypes = function (output, context) {
|
|
|
4696
4488
|
};
|
|
4697
4489
|
var deserializeAws_json1_1FileSystem = function (output, context) {
|
|
4698
4490
|
return {
|
|
4699
|
-
AdministrativeActions: output.AdministrativeActions
|
|
4491
|
+
AdministrativeActions: output.AdministrativeActions != null
|
|
4700
4492
|
? deserializeAws_json1_1AdministrativeActions(output.AdministrativeActions, context)
|
|
4701
4493
|
: undefined,
|
|
4702
|
-
CreationTime: output.CreationTime
|
|
4494
|
+
CreationTime: output.CreationTime != null
|
|
4703
4495
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
4704
4496
|
: undefined,
|
|
4705
4497
|
DNSName: __expectString(output.DNSName),
|
|
4706
|
-
FailureDetails: output.FailureDetails
|
|
4498
|
+
FailureDetails: output.FailureDetails != null
|
|
4707
4499
|
? deserializeAws_json1_1FileSystemFailureDetails(output.FailureDetails, context)
|
|
4708
4500
|
: undefined,
|
|
4709
4501
|
FileSystemId: __expectString(output.FileSystemId),
|
|
@@ -4711,28 +4503,26 @@ var deserializeAws_json1_1FileSystem = function (output, context) {
|
|
|
4711
4503
|
FileSystemTypeVersion: __expectString(output.FileSystemTypeVersion),
|
|
4712
4504
|
KmsKeyId: __expectString(output.KmsKeyId),
|
|
4713
4505
|
Lifecycle: __expectString(output.Lifecycle),
|
|
4714
|
-
LustreConfiguration: output.LustreConfiguration
|
|
4506
|
+
LustreConfiguration: output.LustreConfiguration != null
|
|
4715
4507
|
? deserializeAws_json1_1LustreFileSystemConfiguration(output.LustreConfiguration, context)
|
|
4716
4508
|
: undefined,
|
|
4717
|
-
NetworkInterfaceIds: output.NetworkInterfaceIds
|
|
4509
|
+
NetworkInterfaceIds: output.NetworkInterfaceIds != null
|
|
4718
4510
|
? deserializeAws_json1_1NetworkInterfaceIds(output.NetworkInterfaceIds, context)
|
|
4719
4511
|
: undefined,
|
|
4720
|
-
OntapConfiguration: output.OntapConfiguration
|
|
4512
|
+
OntapConfiguration: output.OntapConfiguration != null
|
|
4721
4513
|
? deserializeAws_json1_1OntapFileSystemConfiguration(output.OntapConfiguration, context)
|
|
4722
4514
|
: undefined,
|
|
4723
|
-
OpenZFSConfiguration: output.OpenZFSConfiguration
|
|
4515
|
+
OpenZFSConfiguration: output.OpenZFSConfiguration != null
|
|
4724
4516
|
? deserializeAws_json1_1OpenZFSFileSystemConfiguration(output.OpenZFSConfiguration, context)
|
|
4725
4517
|
: undefined,
|
|
4726
4518
|
OwnerId: __expectString(output.OwnerId),
|
|
4727
4519
|
ResourceARN: __expectString(output.ResourceARN),
|
|
4728
4520
|
StorageCapacity: __expectInt32(output.StorageCapacity),
|
|
4729
4521
|
StorageType: __expectString(output.StorageType),
|
|
4730
|
-
SubnetIds: output.SubnetIds
|
|
4731
|
-
|
|
4732
|
-
: undefined,
|
|
4733
|
-
Tags: output.Tags !== undefined && output.Tags !== null ? deserializeAws_json1_1Tags(output.Tags, context) : undefined,
|
|
4522
|
+
SubnetIds: output.SubnetIds != null ? deserializeAws_json1_1SubnetIds(output.SubnetIds, context) : undefined,
|
|
4523
|
+
Tags: output.Tags != null ? deserializeAws_json1_1Tags(output.Tags, context) : undefined,
|
|
4734
4524
|
VpcId: __expectString(output.VpcId),
|
|
4735
|
-
WindowsConfiguration: output.WindowsConfiguration
|
|
4525
|
+
WindowsConfiguration: output.WindowsConfiguration != null
|
|
4736
4526
|
? deserializeAws_json1_1WindowsFileSystemConfiguration(output.WindowsConfiguration, context)
|
|
4737
4527
|
: undefined,
|
|
4738
4528
|
};
|
|
@@ -4740,19 +4530,15 @@ var deserializeAws_json1_1FileSystem = function (output, context) {
|
|
|
4740
4530
|
var deserializeAws_json1_1FileSystemEndpoint = function (output, context) {
|
|
4741
4531
|
return {
|
|
4742
4532
|
DNSName: __expectString(output.DNSName),
|
|
4743
|
-
IpAddresses: output.IpAddresses
|
|
4533
|
+
IpAddresses: output.IpAddresses != null
|
|
4744
4534
|
? deserializeAws_json1_1OntapEndpointIpAddresses(output.IpAddresses, context)
|
|
4745
4535
|
: undefined,
|
|
4746
4536
|
};
|
|
4747
4537
|
};
|
|
4748
4538
|
var deserializeAws_json1_1FileSystemEndpoints = function (output, context) {
|
|
4749
4539
|
return {
|
|
4750
|
-
Intercluster: output.Intercluster
|
|
4751
|
-
|
|
4752
|
-
: undefined,
|
|
4753
|
-
Management: output.Management !== undefined && output.Management !== null
|
|
4754
|
-
? deserializeAws_json1_1FileSystemEndpoint(output.Management, context)
|
|
4755
|
-
: undefined,
|
|
4540
|
+
Intercluster: output.Intercluster != null ? deserializeAws_json1_1FileSystemEndpoint(output.Intercluster, context) : undefined,
|
|
4541
|
+
Management: output.Management != null ? deserializeAws_json1_1FileSystemEndpoint(output.Management, context) : undefined,
|
|
4756
4542
|
};
|
|
4757
4543
|
};
|
|
4758
4544
|
var deserializeAws_json1_1FileSystemFailureDetails = function (output, context) {
|
|
@@ -4854,7 +4640,7 @@ var deserializeAws_json1_1LifecycleTransitionReason = function (output, context)
|
|
|
4854
4640
|
var deserializeAws_json1_1ListTagsForResourceResponse = function (output, context) {
|
|
4855
4641
|
return {
|
|
4856
4642
|
NextToken: __expectString(output.NextToken),
|
|
4857
|
-
Tags: output.Tags
|
|
4643
|
+
Tags: output.Tags != null ? deserializeAws_json1_1Tags(output.Tags, context) : undefined,
|
|
4858
4644
|
};
|
|
4859
4645
|
};
|
|
4860
4646
|
var deserializeAws_json1_1LustreFileSystemConfiguration = function (output, context) {
|
|
@@ -4863,17 +4649,17 @@ var deserializeAws_json1_1LustreFileSystemConfiguration = function (output, cont
|
|
|
4863
4649
|
CopyTagsToBackups: __expectBoolean(output.CopyTagsToBackups),
|
|
4864
4650
|
DailyAutomaticBackupStartTime: __expectString(output.DailyAutomaticBackupStartTime),
|
|
4865
4651
|
DataCompressionType: __expectString(output.DataCompressionType),
|
|
4866
|
-
DataRepositoryConfiguration: output.DataRepositoryConfiguration
|
|
4652
|
+
DataRepositoryConfiguration: output.DataRepositoryConfiguration != null
|
|
4867
4653
|
? deserializeAws_json1_1DataRepositoryConfiguration(output.DataRepositoryConfiguration, context)
|
|
4868
4654
|
: undefined,
|
|
4869
4655
|
DeploymentType: __expectString(output.DeploymentType),
|
|
4870
4656
|
DriveCacheType: __expectString(output.DriveCacheType),
|
|
4871
|
-
LogConfiguration: output.LogConfiguration
|
|
4657
|
+
LogConfiguration: output.LogConfiguration != null
|
|
4872
4658
|
? deserializeAws_json1_1LustreLogConfiguration(output.LogConfiguration, context)
|
|
4873
4659
|
: undefined,
|
|
4874
4660
|
MountName: __expectString(output.MountName),
|
|
4875
4661
|
PerUnitStorageThroughput: __expectInt32(output.PerUnitStorageThroughput),
|
|
4876
|
-
RootSquashConfiguration: output.RootSquashConfiguration
|
|
4662
|
+
RootSquashConfiguration: output.RootSquashConfiguration != null
|
|
4877
4663
|
? deserializeAws_json1_1LustreRootSquashConfiguration(output.RootSquashConfiguration, context)
|
|
4878
4664
|
: undefined,
|
|
4879
4665
|
WeeklyMaintenanceStartTime: __expectString(output.WeeklyMaintenanceStartTime),
|
|
@@ -4898,9 +4684,7 @@ var deserializeAws_json1_1LustreNoSquashNids = function (output, context) {
|
|
|
4898
4684
|
};
|
|
4899
4685
|
var deserializeAws_json1_1LustreRootSquashConfiguration = function (output, context) {
|
|
4900
4686
|
return {
|
|
4901
|
-
NoSquashNids: output.NoSquashNids
|
|
4902
|
-
? deserializeAws_json1_1LustreNoSquashNids(output.NoSquashNids, context)
|
|
4903
|
-
: undefined,
|
|
4687
|
+
NoSquashNids: output.NoSquashNids != null ? deserializeAws_json1_1LustreNoSquashNids(output.NoSquashNids, context) : undefined,
|
|
4904
4688
|
RootSquash: __expectString(output.RootSquash),
|
|
4905
4689
|
};
|
|
4906
4690
|
};
|
|
@@ -4947,17 +4731,13 @@ var deserializeAws_json1_1OntapFileSystemConfiguration = function (output, conte
|
|
|
4947
4731
|
AutomaticBackupRetentionDays: __expectInt32(output.AutomaticBackupRetentionDays),
|
|
4948
4732
|
DailyAutomaticBackupStartTime: __expectString(output.DailyAutomaticBackupStartTime),
|
|
4949
4733
|
DeploymentType: __expectString(output.DeploymentType),
|
|
4950
|
-
DiskIopsConfiguration: output.DiskIopsConfiguration
|
|
4734
|
+
DiskIopsConfiguration: output.DiskIopsConfiguration != null
|
|
4951
4735
|
? deserializeAws_json1_1DiskIopsConfiguration(output.DiskIopsConfiguration, context)
|
|
4952
4736
|
: undefined,
|
|
4953
4737
|
EndpointIpAddressRange: __expectString(output.EndpointIpAddressRange),
|
|
4954
|
-
Endpoints: output.Endpoints
|
|
4955
|
-
? deserializeAws_json1_1FileSystemEndpoints(output.Endpoints, context)
|
|
4956
|
-
: undefined,
|
|
4738
|
+
Endpoints: output.Endpoints != null ? deserializeAws_json1_1FileSystemEndpoints(output.Endpoints, context) : undefined,
|
|
4957
4739
|
PreferredSubnetId: __expectString(output.PreferredSubnetId),
|
|
4958
|
-
RouteTableIds: output.RouteTableIds
|
|
4959
|
-
? deserializeAws_json1_1RouteTableIds(output.RouteTableIds, context)
|
|
4960
|
-
: undefined,
|
|
4740
|
+
RouteTableIds: output.RouteTableIds != null ? deserializeAws_json1_1RouteTableIds(output.RouteTableIds, context) : undefined,
|
|
4961
4741
|
ThroughputCapacity: __expectInt32(output.ThroughputCapacity),
|
|
4962
4742
|
WeeklyMaintenanceStartTime: __expectString(output.WeeklyMaintenanceStartTime),
|
|
4963
4743
|
};
|
|
@@ -4972,18 +4752,14 @@ var deserializeAws_json1_1OntapVolumeConfiguration = function (output, context)
|
|
|
4972
4752
|
StorageEfficiencyEnabled: __expectBoolean(output.StorageEfficiencyEnabled),
|
|
4973
4753
|
StorageVirtualMachineId: __expectString(output.StorageVirtualMachineId),
|
|
4974
4754
|
StorageVirtualMachineRoot: __expectBoolean(output.StorageVirtualMachineRoot),
|
|
4975
|
-
TieringPolicy: output.TieringPolicy
|
|
4976
|
-
? deserializeAws_json1_1TieringPolicy(output.TieringPolicy, context)
|
|
4977
|
-
: undefined,
|
|
4755
|
+
TieringPolicy: output.TieringPolicy != null ? deserializeAws_json1_1TieringPolicy(output.TieringPolicy, context) : undefined,
|
|
4978
4756
|
UUID: __expectString(output.UUID),
|
|
4979
4757
|
};
|
|
4980
4758
|
};
|
|
4981
4759
|
var deserializeAws_json1_1OpenZFSClientConfiguration = function (output, context) {
|
|
4982
4760
|
return {
|
|
4983
4761
|
Clients: __expectString(output.Clients),
|
|
4984
|
-
Options: output.Options
|
|
4985
|
-
? deserializeAws_json1_1OpenZFSNfsExportOptions(output.Options, context)
|
|
4986
|
-
: undefined,
|
|
4762
|
+
Options: output.Options != null ? deserializeAws_json1_1OpenZFSNfsExportOptions(output.Options, context) : undefined,
|
|
4987
4763
|
};
|
|
4988
4764
|
};
|
|
4989
4765
|
var deserializeAws_json1_1OpenZFSClientConfigurations = function (output, context) {
|
|
@@ -5004,7 +4780,7 @@ var deserializeAws_json1_1OpenZFSFileSystemConfiguration = function (output, con
|
|
|
5004
4780
|
CopyTagsToVolumes: __expectBoolean(output.CopyTagsToVolumes),
|
|
5005
4781
|
DailyAutomaticBackupStartTime: __expectString(output.DailyAutomaticBackupStartTime),
|
|
5006
4782
|
DeploymentType: __expectString(output.DeploymentType),
|
|
5007
|
-
DiskIopsConfiguration: output.DiskIopsConfiguration
|
|
4783
|
+
DiskIopsConfiguration: output.DiskIopsConfiguration != null
|
|
5008
4784
|
? deserializeAws_json1_1DiskIopsConfiguration(output.DiskIopsConfiguration, context)
|
|
5009
4785
|
: undefined,
|
|
5010
4786
|
RootVolumeId: __expectString(output.RootVolumeId),
|
|
@@ -5014,7 +4790,7 @@ var deserializeAws_json1_1OpenZFSFileSystemConfiguration = function (output, con
|
|
|
5014
4790
|
};
|
|
5015
4791
|
var deserializeAws_json1_1OpenZFSNfsExport = function (output, context) {
|
|
5016
4792
|
return {
|
|
5017
|
-
ClientConfigurations: output.ClientConfigurations
|
|
4793
|
+
ClientConfigurations: output.ClientConfigurations != null
|
|
5018
4794
|
? deserializeAws_json1_1OpenZFSClientConfigurations(output.ClientConfigurations, context)
|
|
5019
4795
|
: undefined,
|
|
5020
4796
|
};
|
|
@@ -5069,10 +4845,8 @@ var deserializeAws_json1_1OpenZFSVolumeConfiguration = function (output, context
|
|
|
5069
4845
|
return {
|
|
5070
4846
|
CopyTagsToSnapshots: __expectBoolean(output.CopyTagsToSnapshots),
|
|
5071
4847
|
DataCompressionType: __expectString(output.DataCompressionType),
|
|
5072
|
-
NfsExports: output.NfsExports
|
|
5073
|
-
|
|
5074
|
-
: undefined,
|
|
5075
|
-
OriginSnapshot: output.OriginSnapshot !== undefined && output.OriginSnapshot !== null
|
|
4848
|
+
NfsExports: output.NfsExports != null ? deserializeAws_json1_1OpenZFSNfsExports(output.NfsExports, context) : undefined,
|
|
4849
|
+
OriginSnapshot: output.OriginSnapshot != null
|
|
5076
4850
|
? deserializeAws_json1_1OpenZFSOriginSnapshotConfiguration(output.OriginSnapshot, context)
|
|
5077
4851
|
: undefined,
|
|
5078
4852
|
ParentVolumeId: __expectString(output.ParentVolumeId),
|
|
@@ -5080,7 +4854,7 @@ var deserializeAws_json1_1OpenZFSVolumeConfiguration = function (output, context
|
|
|
5080
4854
|
RecordSizeKiB: __expectInt32(output.RecordSizeKiB),
|
|
5081
4855
|
StorageCapacityQuotaGiB: __expectInt32(output.StorageCapacityQuotaGiB),
|
|
5082
4856
|
StorageCapacityReservationGiB: __expectInt32(output.StorageCapacityReservationGiB),
|
|
5083
|
-
UserAndGroupQuotas: output.UserAndGroupQuotas
|
|
4857
|
+
UserAndGroupQuotas: output.UserAndGroupQuotas != null
|
|
5084
4858
|
? deserializeAws_json1_1OpenZFSUserAndGroupQuotas(output.UserAndGroupQuotas, context)
|
|
5085
4859
|
: undefined,
|
|
5086
4860
|
VolumePath: __expectString(output.VolumePath),
|
|
@@ -5088,9 +4862,7 @@ var deserializeAws_json1_1OpenZFSVolumeConfiguration = function (output, context
|
|
|
5088
4862
|
};
|
|
5089
4863
|
var deserializeAws_json1_1ReleaseFileSystemNfsV3LocksResponse = function (output, context) {
|
|
5090
4864
|
return {
|
|
5091
|
-
FileSystem: output.FileSystem
|
|
5092
|
-
? deserializeAws_json1_1FileSystem(output.FileSystem, context)
|
|
5093
|
-
: undefined,
|
|
4865
|
+
FileSystem: output.FileSystem != null ? deserializeAws_json1_1FileSystem(output.FileSystem, context) : undefined,
|
|
5094
4866
|
};
|
|
5095
4867
|
};
|
|
5096
4868
|
var deserializeAws_json1_1ResourceDoesNotSupportTagging = function (output, context) {
|
|
@@ -5124,19 +4896,17 @@ var deserializeAws_json1_1RouteTableIds = function (output, context) {
|
|
|
5124
4896
|
};
|
|
5125
4897
|
var deserializeAws_json1_1S3DataRepositoryConfiguration = function (output, context) {
|
|
5126
4898
|
return {
|
|
5127
|
-
AutoExportPolicy: output.AutoExportPolicy
|
|
4899
|
+
AutoExportPolicy: output.AutoExportPolicy != null
|
|
5128
4900
|
? deserializeAws_json1_1AutoExportPolicy(output.AutoExportPolicy, context)
|
|
5129
4901
|
: undefined,
|
|
5130
|
-
AutoImportPolicy: output.AutoImportPolicy
|
|
4902
|
+
AutoImportPolicy: output.AutoImportPolicy != null
|
|
5131
4903
|
? deserializeAws_json1_1AutoImportPolicy(output.AutoImportPolicy, context)
|
|
5132
4904
|
: undefined,
|
|
5133
4905
|
};
|
|
5134
4906
|
};
|
|
5135
4907
|
var deserializeAws_json1_1SelfManagedActiveDirectoryAttributes = function (output, context) {
|
|
5136
4908
|
return {
|
|
5137
|
-
DnsIps: output.DnsIps
|
|
5138
|
-
? deserializeAws_json1_1DnsIps(output.DnsIps, context)
|
|
5139
|
-
: undefined,
|
|
4909
|
+
DnsIps: output.DnsIps != null ? deserializeAws_json1_1DnsIps(output.DnsIps, context) : undefined,
|
|
5140
4910
|
DomainName: __expectString(output.DomainName),
|
|
5141
4911
|
FileSystemAdministratorsGroup: __expectString(output.FileSystemAdministratorsGroup),
|
|
5142
4912
|
OrganizationalUnitDistinguishedName: __expectString(output.OrganizationalUnitDistinguishedName),
|
|
@@ -5151,20 +4921,20 @@ var deserializeAws_json1_1ServiceLimitExceeded = function (output, context) {
|
|
|
5151
4921
|
};
|
|
5152
4922
|
var deserializeAws_json1_1Snapshot = function (output, context) {
|
|
5153
4923
|
return {
|
|
5154
|
-
AdministrativeActions: output.AdministrativeActions
|
|
4924
|
+
AdministrativeActions: output.AdministrativeActions != null
|
|
5155
4925
|
? deserializeAws_json1_1AdministrativeActions(output.AdministrativeActions, context)
|
|
5156
4926
|
: undefined,
|
|
5157
|
-
CreationTime: output.CreationTime
|
|
4927
|
+
CreationTime: output.CreationTime != null
|
|
5158
4928
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
5159
4929
|
: undefined,
|
|
5160
4930
|
Lifecycle: __expectString(output.Lifecycle),
|
|
5161
|
-
LifecycleTransitionReason: output.LifecycleTransitionReason
|
|
4931
|
+
LifecycleTransitionReason: output.LifecycleTransitionReason != null
|
|
5162
4932
|
? deserializeAws_json1_1LifecycleTransitionReason(output.LifecycleTransitionReason, context)
|
|
5163
4933
|
: undefined,
|
|
5164
4934
|
Name: __expectString(output.Name),
|
|
5165
4935
|
ResourceARN: __expectString(output.ResourceARN),
|
|
5166
4936
|
SnapshotId: __expectString(output.SnapshotId),
|
|
5167
|
-
Tags: output.Tags
|
|
4937
|
+
Tags: output.Tags != null ? deserializeAws_json1_1Tags(output.Tags, context) : undefined,
|
|
5168
4938
|
VolumeId: __expectString(output.VolumeId),
|
|
5169
4939
|
};
|
|
5170
4940
|
};
|
|
@@ -5192,18 +4962,16 @@ var deserializeAws_json1_1SourceBackupUnavailable = function (output, context) {
|
|
|
5192
4962
|
};
|
|
5193
4963
|
var deserializeAws_json1_1StorageVirtualMachine = function (output, context) {
|
|
5194
4964
|
return {
|
|
5195
|
-
ActiveDirectoryConfiguration: output.ActiveDirectoryConfiguration
|
|
4965
|
+
ActiveDirectoryConfiguration: output.ActiveDirectoryConfiguration != null
|
|
5196
4966
|
? deserializeAws_json1_1SvmActiveDirectoryConfiguration(output.ActiveDirectoryConfiguration, context)
|
|
5197
4967
|
: undefined,
|
|
5198
|
-
CreationTime: output.CreationTime
|
|
4968
|
+
CreationTime: output.CreationTime != null
|
|
5199
4969
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
5200
4970
|
: undefined,
|
|
5201
|
-
Endpoints: output.Endpoints
|
|
5202
|
-
? deserializeAws_json1_1SvmEndpoints(output.Endpoints, context)
|
|
5203
|
-
: undefined,
|
|
4971
|
+
Endpoints: output.Endpoints != null ? deserializeAws_json1_1SvmEndpoints(output.Endpoints, context) : undefined,
|
|
5204
4972
|
FileSystemId: __expectString(output.FileSystemId),
|
|
5205
4973
|
Lifecycle: __expectString(output.Lifecycle),
|
|
5206
|
-
LifecycleTransitionReason: output.LifecycleTransitionReason
|
|
4974
|
+
LifecycleTransitionReason: output.LifecycleTransitionReason != null
|
|
5207
4975
|
? deserializeAws_json1_1LifecycleTransitionReason(output.LifecycleTransitionReason, context)
|
|
5208
4976
|
: undefined,
|
|
5209
4977
|
Name: __expectString(output.Name),
|
|
@@ -5211,7 +4979,7 @@ var deserializeAws_json1_1StorageVirtualMachine = function (output, context) {
|
|
|
5211
4979
|
RootVolumeSecurityStyle: __expectString(output.RootVolumeSecurityStyle),
|
|
5212
4980
|
StorageVirtualMachineId: __expectString(output.StorageVirtualMachineId),
|
|
5213
4981
|
Subtype: __expectString(output.Subtype),
|
|
5214
|
-
Tags: output.Tags
|
|
4982
|
+
Tags: output.Tags != null ? deserializeAws_json1_1Tags(output.Tags, context) : undefined,
|
|
5215
4983
|
UUID: __expectString(output.UUID),
|
|
5216
4984
|
};
|
|
5217
4985
|
};
|
|
@@ -5245,8 +5013,7 @@ var deserializeAws_json1_1SubnetIds = function (output, context) {
|
|
|
5245
5013
|
var deserializeAws_json1_1SvmActiveDirectoryConfiguration = function (output, context) {
|
|
5246
5014
|
return {
|
|
5247
5015
|
NetBiosName: __expectString(output.NetBiosName),
|
|
5248
|
-
SelfManagedActiveDirectoryConfiguration: output.SelfManagedActiveDirectoryConfiguration
|
|
5249
|
-
output.SelfManagedActiveDirectoryConfiguration !== null
|
|
5016
|
+
SelfManagedActiveDirectoryConfiguration: output.SelfManagedActiveDirectoryConfiguration != null
|
|
5250
5017
|
? deserializeAws_json1_1SelfManagedActiveDirectoryAttributes(output.SelfManagedActiveDirectoryConfiguration, context)
|
|
5251
5018
|
: undefined,
|
|
5252
5019
|
};
|
|
@@ -5254,25 +5021,17 @@ var deserializeAws_json1_1SvmActiveDirectoryConfiguration = function (output, co
|
|
|
5254
5021
|
var deserializeAws_json1_1SvmEndpoint = function (output, context) {
|
|
5255
5022
|
return {
|
|
5256
5023
|
DNSName: __expectString(output.DNSName),
|
|
5257
|
-
IpAddresses: output.IpAddresses
|
|
5024
|
+
IpAddresses: output.IpAddresses != null
|
|
5258
5025
|
? deserializeAws_json1_1OntapEndpointIpAddresses(output.IpAddresses, context)
|
|
5259
5026
|
: undefined,
|
|
5260
5027
|
};
|
|
5261
5028
|
};
|
|
5262
5029
|
var deserializeAws_json1_1SvmEndpoints = function (output, context) {
|
|
5263
5030
|
return {
|
|
5264
|
-
Iscsi: output.Iscsi
|
|
5265
|
-
|
|
5266
|
-
|
|
5267
|
-
|
|
5268
|
-
? deserializeAws_json1_1SvmEndpoint(output.Management, context)
|
|
5269
|
-
: undefined,
|
|
5270
|
-
Nfs: output.Nfs !== undefined && output.Nfs !== null
|
|
5271
|
-
? deserializeAws_json1_1SvmEndpoint(output.Nfs, context)
|
|
5272
|
-
: undefined,
|
|
5273
|
-
Smb: output.Smb !== undefined && output.Smb !== null
|
|
5274
|
-
? deserializeAws_json1_1SvmEndpoint(output.Smb, context)
|
|
5275
|
-
: undefined,
|
|
5031
|
+
Iscsi: output.Iscsi != null ? deserializeAws_json1_1SvmEndpoint(output.Iscsi, context) : undefined,
|
|
5032
|
+
Management: output.Management != null ? deserializeAws_json1_1SvmEndpoint(output.Management, context) : undefined,
|
|
5033
|
+
Nfs: output.Nfs != null ? deserializeAws_json1_1SvmEndpoint(output.Nfs, context) : undefined,
|
|
5034
|
+
Smb: output.Smb != null ? deserializeAws_json1_1SvmEndpoint(output.Smb, context) : undefined,
|
|
5276
5035
|
};
|
|
5277
5036
|
};
|
|
5278
5037
|
var deserializeAws_json1_1Tag = function (output, context) {
|
|
@@ -5311,61 +5070,55 @@ var deserializeAws_json1_1UntagResourceResponse = function (output, context) {
|
|
|
5311
5070
|
};
|
|
5312
5071
|
var deserializeAws_json1_1UpdateDataRepositoryAssociationResponse = function (output, context) {
|
|
5313
5072
|
return {
|
|
5314
|
-
Association: output.Association
|
|
5073
|
+
Association: output.Association != null
|
|
5315
5074
|
? deserializeAws_json1_1DataRepositoryAssociation(output.Association, context)
|
|
5316
5075
|
: undefined,
|
|
5317
5076
|
};
|
|
5318
5077
|
};
|
|
5319
5078
|
var deserializeAws_json1_1UpdateFileSystemResponse = function (output, context) {
|
|
5320
5079
|
return {
|
|
5321
|
-
FileSystem: output.FileSystem
|
|
5322
|
-
? deserializeAws_json1_1FileSystem(output.FileSystem, context)
|
|
5323
|
-
: undefined,
|
|
5080
|
+
FileSystem: output.FileSystem != null ? deserializeAws_json1_1FileSystem(output.FileSystem, context) : undefined,
|
|
5324
5081
|
};
|
|
5325
5082
|
};
|
|
5326
5083
|
var deserializeAws_json1_1UpdateSnapshotResponse = function (output, context) {
|
|
5327
5084
|
return {
|
|
5328
|
-
Snapshot: output.Snapshot
|
|
5329
|
-
? deserializeAws_json1_1Snapshot(output.Snapshot, context)
|
|
5330
|
-
: undefined,
|
|
5085
|
+
Snapshot: output.Snapshot != null ? deserializeAws_json1_1Snapshot(output.Snapshot, context) : undefined,
|
|
5331
5086
|
};
|
|
5332
5087
|
};
|
|
5333
5088
|
var deserializeAws_json1_1UpdateStorageVirtualMachineResponse = function (output, context) {
|
|
5334
5089
|
return {
|
|
5335
|
-
StorageVirtualMachine: output.StorageVirtualMachine
|
|
5090
|
+
StorageVirtualMachine: output.StorageVirtualMachine != null
|
|
5336
5091
|
? deserializeAws_json1_1StorageVirtualMachine(output.StorageVirtualMachine, context)
|
|
5337
5092
|
: undefined,
|
|
5338
5093
|
};
|
|
5339
5094
|
};
|
|
5340
5095
|
var deserializeAws_json1_1UpdateVolumeResponse = function (output, context) {
|
|
5341
5096
|
return {
|
|
5342
|
-
Volume: output.Volume
|
|
5343
|
-
? deserializeAws_json1_1Volume(output.Volume, context)
|
|
5344
|
-
: undefined,
|
|
5097
|
+
Volume: output.Volume != null ? deserializeAws_json1_1Volume(output.Volume, context) : undefined,
|
|
5345
5098
|
};
|
|
5346
5099
|
};
|
|
5347
5100
|
var deserializeAws_json1_1Volume = function (output, context) {
|
|
5348
5101
|
return {
|
|
5349
|
-
AdministrativeActions: output.AdministrativeActions
|
|
5102
|
+
AdministrativeActions: output.AdministrativeActions != null
|
|
5350
5103
|
? deserializeAws_json1_1AdministrativeActions(output.AdministrativeActions, context)
|
|
5351
5104
|
: undefined,
|
|
5352
|
-
CreationTime: output.CreationTime
|
|
5105
|
+
CreationTime: output.CreationTime != null
|
|
5353
5106
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
5354
5107
|
: undefined,
|
|
5355
5108
|
FileSystemId: __expectString(output.FileSystemId),
|
|
5356
5109
|
Lifecycle: __expectString(output.Lifecycle),
|
|
5357
|
-
LifecycleTransitionReason: output.LifecycleTransitionReason
|
|
5110
|
+
LifecycleTransitionReason: output.LifecycleTransitionReason != null
|
|
5358
5111
|
? deserializeAws_json1_1LifecycleTransitionReason(output.LifecycleTransitionReason, context)
|
|
5359
5112
|
: undefined,
|
|
5360
5113
|
Name: __expectString(output.Name),
|
|
5361
|
-
OntapConfiguration: output.OntapConfiguration
|
|
5114
|
+
OntapConfiguration: output.OntapConfiguration != null
|
|
5362
5115
|
? deserializeAws_json1_1OntapVolumeConfiguration(output.OntapConfiguration, context)
|
|
5363
5116
|
: undefined,
|
|
5364
|
-
OpenZFSConfiguration: output.OpenZFSConfiguration
|
|
5117
|
+
OpenZFSConfiguration: output.OpenZFSConfiguration != null
|
|
5365
5118
|
? deserializeAws_json1_1OpenZFSVolumeConfiguration(output.OpenZFSConfiguration, context)
|
|
5366
5119
|
: undefined,
|
|
5367
5120
|
ResourceARN: __expectString(output.ResourceARN),
|
|
5368
|
-
Tags: output.Tags
|
|
5121
|
+
Tags: output.Tags != null ? deserializeAws_json1_1Tags(output.Tags, context) : undefined,
|
|
5369
5122
|
VolumeId: __expectString(output.VolumeId),
|
|
5370
5123
|
VolumeType: __expectString(output.VolumeType),
|
|
5371
5124
|
};
|
|
@@ -5396,24 +5149,21 @@ var deserializeAws_json1_1WindowsAuditLogConfiguration = function (output, conte
|
|
|
5396
5149
|
var deserializeAws_json1_1WindowsFileSystemConfiguration = function (output, context) {
|
|
5397
5150
|
return {
|
|
5398
5151
|
ActiveDirectoryId: __expectString(output.ActiveDirectoryId),
|
|
5399
|
-
Aliases: output.Aliases
|
|
5400
|
-
|
|
5401
|
-
: undefined,
|
|
5402
|
-
AuditLogConfiguration: output.AuditLogConfiguration !== undefined && output.AuditLogConfiguration !== null
|
|
5152
|
+
Aliases: output.Aliases != null ? deserializeAws_json1_1Aliases(output.Aliases, context) : undefined,
|
|
5153
|
+
AuditLogConfiguration: output.AuditLogConfiguration != null
|
|
5403
5154
|
? deserializeAws_json1_1WindowsAuditLogConfiguration(output.AuditLogConfiguration, context)
|
|
5404
5155
|
: undefined,
|
|
5405
5156
|
AutomaticBackupRetentionDays: __expectInt32(output.AutomaticBackupRetentionDays),
|
|
5406
5157
|
CopyTagsToBackups: __expectBoolean(output.CopyTagsToBackups),
|
|
5407
5158
|
DailyAutomaticBackupStartTime: __expectString(output.DailyAutomaticBackupStartTime),
|
|
5408
5159
|
DeploymentType: __expectString(output.DeploymentType),
|
|
5409
|
-
MaintenanceOperationsInProgress: output.MaintenanceOperationsInProgress
|
|
5160
|
+
MaintenanceOperationsInProgress: output.MaintenanceOperationsInProgress != null
|
|
5410
5161
|
? deserializeAws_json1_1FileSystemMaintenanceOperations(output.MaintenanceOperationsInProgress, context)
|
|
5411
5162
|
: undefined,
|
|
5412
5163
|
PreferredFileServerIp: __expectString(output.PreferredFileServerIp),
|
|
5413
5164
|
PreferredSubnetId: __expectString(output.PreferredSubnetId),
|
|
5414
5165
|
RemoteAdministrationEndpoint: __expectString(output.RemoteAdministrationEndpoint),
|
|
5415
|
-
SelfManagedActiveDirectoryConfiguration: output.SelfManagedActiveDirectoryConfiguration
|
|
5416
|
-
output.SelfManagedActiveDirectoryConfiguration !== null
|
|
5166
|
+
SelfManagedActiveDirectoryConfiguration: output.SelfManagedActiveDirectoryConfiguration != null
|
|
5417
5167
|
? deserializeAws_json1_1SelfManagedActiveDirectoryAttributes(output.SelfManagedActiveDirectoryConfiguration, context)
|
|
5418
5168
|
: undefined,
|
|
5419
5169
|
ThroughputCapacity: __expectInt32(output.ThroughputCapacity),
|
|
@@ -5494,5 +5244,4 @@ var loadRestJsonErrorCode = function (output, data) {
|
|
|
5494
5244
|
if (data["__type"] !== undefined) {
|
|
5495
5245
|
return sanitizeErrorCode(data["__type"]);
|
|
5496
5246
|
}
|
|
5497
|
-
return "";
|
|
5498
5247
|
};
|