@aws-sdk/client-datasync 3.118.1 → 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 +31 -0
- package/dist-cjs/DataSync.js +30 -0
- package/dist-cjs/commands/CreateLocationFsxOntapCommand.js +36 -0
- package/dist-cjs/commands/DescribeLocationFsxOntapCommand.js +36 -0
- package/dist-cjs/commands/index.js +2 -0
- package/dist-cjs/models/models_0.js +51 -15
- package/dist-cjs/protocols/Aws_json1_1.js +617 -572
- package/dist-es/DataSync.js +30 -0
- package/dist-es/commands/CreateLocationFsxOntapCommand.js +39 -0
- package/dist-es/commands/DescribeLocationFsxOntapCommand.js +39 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_0.js +33 -13
- package/dist-es/protocols/Aws_json1_1.js +505 -442
- package/dist-types/DataSync.d.ts +17 -4
- package/dist-types/DataSyncClient.d.ts +4 -2
- package/dist-types/commands/CreateLocationFsxOntapCommand.d.ts +36 -0
- package/dist-types/commands/CreateLocationObjectStorageCommand.d.ts +1 -2
- package/dist-types/commands/DescribeLocationFsxOntapCommand.d.ts +35 -0
- package/dist-types/commands/DescribeLocationObjectStorageCommand.d.ts +1 -2
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +293 -154
- package/dist-types/protocols/Aws_json1_1.d.ts +6 -0
- package/dist-types/ts3.4/DataSync.d.ts +10 -0
- package/dist-types/ts3.4/DataSyncClient.d.ts +4 -2
- package/dist-types/ts3.4/commands/CreateLocationFsxOntapCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeLocationFsxOntapCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +83 -14
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +6 -0
- package/package.json +26 -26
|
@@ -47,6 +47,17 @@ export var serializeAws_json1_1CreateLocationFsxLustreCommand = function (input,
|
|
|
47
47
|
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
48
48
|
});
|
|
49
49
|
}); };
|
|
50
|
+
export var serializeAws_json1_1CreateLocationFsxOntapCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
51
|
+
var headers, body;
|
|
52
|
+
return __generator(this, function (_a) {
|
|
53
|
+
headers = {
|
|
54
|
+
"content-type": "application/x-amz-json-1.1",
|
|
55
|
+
"x-amz-target": "FmrsService.CreateLocationFsxOntap",
|
|
56
|
+
};
|
|
57
|
+
body = JSON.stringify(serializeAws_json1_1CreateLocationFsxOntapRequest(input, context));
|
|
58
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
59
|
+
});
|
|
60
|
+
}); };
|
|
50
61
|
export var serializeAws_json1_1CreateLocationFsxOpenZfsCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
51
62
|
var headers, body;
|
|
52
63
|
return __generator(this, function (_a) {
|
|
@@ -201,6 +212,17 @@ export var serializeAws_json1_1DescribeLocationFsxLustreCommand = function (inpu
|
|
|
201
212
|
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
202
213
|
});
|
|
203
214
|
}); };
|
|
215
|
+
export var serializeAws_json1_1DescribeLocationFsxOntapCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
216
|
+
var headers, body;
|
|
217
|
+
return __generator(this, function (_a) {
|
|
218
|
+
headers = {
|
|
219
|
+
"content-type": "application/x-amz-json-1.1",
|
|
220
|
+
"x-amz-target": "FmrsService.DescribeLocationFsxOntap",
|
|
221
|
+
};
|
|
222
|
+
body = JSON.stringify(serializeAws_json1_1DescribeLocationFsxOntapRequest(input, context));
|
|
223
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
224
|
+
});
|
|
225
|
+
}); };
|
|
204
226
|
export var serializeAws_json1_1DescribeLocationFsxOpenZfsCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
205
227
|
var headers, body;
|
|
206
228
|
return __generator(this, function (_a) {
|
|
@@ -484,7 +506,7 @@ export var deserializeAws_json1_1CancelTaskExecutionCommand = function (output,
|
|
|
484
506
|
});
|
|
485
507
|
}); };
|
|
486
508
|
var deserializeAws_json1_1CancelTaskExecutionCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
487
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
509
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
488
510
|
var _c;
|
|
489
511
|
return __generator(this, function (_d) {
|
|
490
512
|
switch (_d.label) {
|
|
@@ -494,7 +516,6 @@ var deserializeAws_json1_1CancelTaskExecutionCommandError = function (output, co
|
|
|
494
516
|
return [4, parseBody(output.body, context)];
|
|
495
517
|
case 1:
|
|
496
518
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
497
|
-
errorCode = "UnknownError";
|
|
498
519
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
499
520
|
_b = errorCode;
|
|
500
521
|
switch (_b) {
|
|
@@ -510,10 +531,12 @@ var deserializeAws_json1_1CancelTaskExecutionCommandError = function (output, co
|
|
|
510
531
|
case 5: throw _d.sent();
|
|
511
532
|
case 6:
|
|
512
533
|
parsedBody = parsedOutput.body;
|
|
534
|
+
$metadata = deserializeMetadata(output);
|
|
535
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
513
536
|
response = new __BaseException({
|
|
514
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
537
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
515
538
|
$fault: "client",
|
|
516
|
-
$metadata:
|
|
539
|
+
$metadata: $metadata,
|
|
517
540
|
});
|
|
518
541
|
throw __decorateServiceException(response, parsedBody);
|
|
519
542
|
}
|
|
@@ -538,7 +561,7 @@ export var deserializeAws_json1_1CreateAgentCommand = function (output, context)
|
|
|
538
561
|
});
|
|
539
562
|
}); };
|
|
540
563
|
var deserializeAws_json1_1CreateAgentCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
541
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
564
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
542
565
|
var _c;
|
|
543
566
|
return __generator(this, function (_d) {
|
|
544
567
|
switch (_d.label) {
|
|
@@ -548,7 +571,6 @@ var deserializeAws_json1_1CreateAgentCommandError = function (output, context) {
|
|
|
548
571
|
return [4, parseBody(output.body, context)];
|
|
549
572
|
case 1:
|
|
550
573
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
551
|
-
errorCode = "UnknownError";
|
|
552
574
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
553
575
|
_b = errorCode;
|
|
554
576
|
switch (_b) {
|
|
@@ -564,10 +586,12 @@ var deserializeAws_json1_1CreateAgentCommandError = function (output, context) {
|
|
|
564
586
|
case 5: throw _d.sent();
|
|
565
587
|
case 6:
|
|
566
588
|
parsedBody = parsedOutput.body;
|
|
589
|
+
$metadata = deserializeMetadata(output);
|
|
590
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
567
591
|
response = new __BaseException({
|
|
568
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
592
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
569
593
|
$fault: "client",
|
|
570
|
-
$metadata:
|
|
594
|
+
$metadata: $metadata,
|
|
571
595
|
});
|
|
572
596
|
throw __decorateServiceException(response, parsedBody);
|
|
573
597
|
}
|
|
@@ -592,7 +616,7 @@ export var deserializeAws_json1_1CreateLocationEfsCommand = function (output, co
|
|
|
592
616
|
});
|
|
593
617
|
}); };
|
|
594
618
|
var deserializeAws_json1_1CreateLocationEfsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
595
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
619
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
596
620
|
var _c;
|
|
597
621
|
return __generator(this, function (_d) {
|
|
598
622
|
switch (_d.label) {
|
|
@@ -602,7 +626,6 @@ var deserializeAws_json1_1CreateLocationEfsCommandError = function (output, cont
|
|
|
602
626
|
return [4, parseBody(output.body, context)];
|
|
603
627
|
case 1:
|
|
604
628
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
605
|
-
errorCode = "UnknownError";
|
|
606
629
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
607
630
|
_b = errorCode;
|
|
608
631
|
switch (_b) {
|
|
@@ -618,10 +641,12 @@ var deserializeAws_json1_1CreateLocationEfsCommandError = function (output, cont
|
|
|
618
641
|
case 5: throw _d.sent();
|
|
619
642
|
case 6:
|
|
620
643
|
parsedBody = parsedOutput.body;
|
|
644
|
+
$metadata = deserializeMetadata(output);
|
|
645
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
621
646
|
response = new __BaseException({
|
|
622
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
647
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
623
648
|
$fault: "client",
|
|
624
|
-
$metadata:
|
|
649
|
+
$metadata: $metadata,
|
|
625
650
|
});
|
|
626
651
|
throw __decorateServiceException(response, parsedBody);
|
|
627
652
|
}
|
|
@@ -646,7 +671,62 @@ export var deserializeAws_json1_1CreateLocationFsxLustreCommand = function (outp
|
|
|
646
671
|
});
|
|
647
672
|
}); };
|
|
648
673
|
var deserializeAws_json1_1CreateLocationFsxLustreCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
649
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
674
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
675
|
+
var _c;
|
|
676
|
+
return __generator(this, function (_d) {
|
|
677
|
+
switch (_d.label) {
|
|
678
|
+
case 0:
|
|
679
|
+
_a = [__assign({}, output)];
|
|
680
|
+
_c = {};
|
|
681
|
+
return [4, parseBody(output.body, context)];
|
|
682
|
+
case 1:
|
|
683
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
684
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
685
|
+
_b = errorCode;
|
|
686
|
+
switch (_b) {
|
|
687
|
+
case "InternalException": return [3, 2];
|
|
688
|
+
case "com.amazonaws.datasync#InternalException": return [3, 2];
|
|
689
|
+
case "InvalidRequestException": return [3, 4];
|
|
690
|
+
case "com.amazonaws.datasync#InvalidRequestException": return [3, 4];
|
|
691
|
+
}
|
|
692
|
+
return [3, 6];
|
|
693
|
+
case 2: return [4, deserializeAws_json1_1InternalExceptionResponse(parsedOutput, context)];
|
|
694
|
+
case 3: throw _d.sent();
|
|
695
|
+
case 4: return [4, deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context)];
|
|
696
|
+
case 5: throw _d.sent();
|
|
697
|
+
case 6:
|
|
698
|
+
parsedBody = parsedOutput.body;
|
|
699
|
+
$metadata = deserializeMetadata(output);
|
|
700
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
701
|
+
response = new __BaseException({
|
|
702
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
703
|
+
$fault: "client",
|
|
704
|
+
$metadata: $metadata,
|
|
705
|
+
});
|
|
706
|
+
throw __decorateServiceException(response, parsedBody);
|
|
707
|
+
}
|
|
708
|
+
});
|
|
709
|
+
}); };
|
|
710
|
+
export var deserializeAws_json1_1CreateLocationFsxOntapCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
711
|
+
var data, contents, response;
|
|
712
|
+
return __generator(this, function (_a) {
|
|
713
|
+
switch (_a.label) {
|
|
714
|
+
case 0:
|
|
715
|
+
if (output.statusCode >= 300) {
|
|
716
|
+
return [2, deserializeAws_json1_1CreateLocationFsxOntapCommandError(output, context)];
|
|
717
|
+
}
|
|
718
|
+
return [4, parseBody(output.body, context)];
|
|
719
|
+
case 1:
|
|
720
|
+
data = _a.sent();
|
|
721
|
+
contents = {};
|
|
722
|
+
contents = deserializeAws_json1_1CreateLocationFsxOntapResponse(data, context);
|
|
723
|
+
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
724
|
+
return [2, Promise.resolve(response)];
|
|
725
|
+
}
|
|
726
|
+
});
|
|
727
|
+
}); };
|
|
728
|
+
var deserializeAws_json1_1CreateLocationFsxOntapCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
729
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
650
730
|
var _c;
|
|
651
731
|
return __generator(this, function (_d) {
|
|
652
732
|
switch (_d.label) {
|
|
@@ -656,7 +736,6 @@ var deserializeAws_json1_1CreateLocationFsxLustreCommandError = function (output
|
|
|
656
736
|
return [4, parseBody(output.body, context)];
|
|
657
737
|
case 1:
|
|
658
738
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
659
|
-
errorCode = "UnknownError";
|
|
660
739
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
661
740
|
_b = errorCode;
|
|
662
741
|
switch (_b) {
|
|
@@ -672,10 +751,12 @@ var deserializeAws_json1_1CreateLocationFsxLustreCommandError = function (output
|
|
|
672
751
|
case 5: throw _d.sent();
|
|
673
752
|
case 6:
|
|
674
753
|
parsedBody = parsedOutput.body;
|
|
754
|
+
$metadata = deserializeMetadata(output);
|
|
755
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
675
756
|
response = new __BaseException({
|
|
676
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
757
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
677
758
|
$fault: "client",
|
|
678
|
-
$metadata:
|
|
759
|
+
$metadata: $metadata,
|
|
679
760
|
});
|
|
680
761
|
throw __decorateServiceException(response, parsedBody);
|
|
681
762
|
}
|
|
@@ -700,7 +781,7 @@ export var deserializeAws_json1_1CreateLocationFsxOpenZfsCommand = function (out
|
|
|
700
781
|
});
|
|
701
782
|
}); };
|
|
702
783
|
var deserializeAws_json1_1CreateLocationFsxOpenZfsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
703
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
784
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
704
785
|
var _c;
|
|
705
786
|
return __generator(this, function (_d) {
|
|
706
787
|
switch (_d.label) {
|
|
@@ -710,7 +791,6 @@ var deserializeAws_json1_1CreateLocationFsxOpenZfsCommandError = function (outpu
|
|
|
710
791
|
return [4, parseBody(output.body, context)];
|
|
711
792
|
case 1:
|
|
712
793
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
713
|
-
errorCode = "UnknownError";
|
|
714
794
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
715
795
|
_b = errorCode;
|
|
716
796
|
switch (_b) {
|
|
@@ -726,10 +806,12 @@ var deserializeAws_json1_1CreateLocationFsxOpenZfsCommandError = function (outpu
|
|
|
726
806
|
case 5: throw _d.sent();
|
|
727
807
|
case 6:
|
|
728
808
|
parsedBody = parsedOutput.body;
|
|
809
|
+
$metadata = deserializeMetadata(output);
|
|
810
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
729
811
|
response = new __BaseException({
|
|
730
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
812
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
731
813
|
$fault: "client",
|
|
732
|
-
$metadata:
|
|
814
|
+
$metadata: $metadata,
|
|
733
815
|
});
|
|
734
816
|
throw __decorateServiceException(response, parsedBody);
|
|
735
817
|
}
|
|
@@ -754,7 +836,7 @@ export var deserializeAws_json1_1CreateLocationFsxWindowsCommand = function (out
|
|
|
754
836
|
});
|
|
755
837
|
}); };
|
|
756
838
|
var deserializeAws_json1_1CreateLocationFsxWindowsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
757
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
839
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
758
840
|
var _c;
|
|
759
841
|
return __generator(this, function (_d) {
|
|
760
842
|
switch (_d.label) {
|
|
@@ -764,7 +846,6 @@ var deserializeAws_json1_1CreateLocationFsxWindowsCommandError = function (outpu
|
|
|
764
846
|
return [4, parseBody(output.body, context)];
|
|
765
847
|
case 1:
|
|
766
848
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
767
|
-
errorCode = "UnknownError";
|
|
768
849
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
769
850
|
_b = errorCode;
|
|
770
851
|
switch (_b) {
|
|
@@ -780,10 +861,12 @@ var deserializeAws_json1_1CreateLocationFsxWindowsCommandError = function (outpu
|
|
|
780
861
|
case 5: throw _d.sent();
|
|
781
862
|
case 6:
|
|
782
863
|
parsedBody = parsedOutput.body;
|
|
864
|
+
$metadata = deserializeMetadata(output);
|
|
865
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
783
866
|
response = new __BaseException({
|
|
784
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
867
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
785
868
|
$fault: "client",
|
|
786
|
-
$metadata:
|
|
869
|
+
$metadata: $metadata,
|
|
787
870
|
});
|
|
788
871
|
throw __decorateServiceException(response, parsedBody);
|
|
789
872
|
}
|
|
@@ -808,7 +891,7 @@ export var deserializeAws_json1_1CreateLocationHdfsCommand = function (output, c
|
|
|
808
891
|
});
|
|
809
892
|
}); };
|
|
810
893
|
var deserializeAws_json1_1CreateLocationHdfsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
811
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
894
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
812
895
|
var _c;
|
|
813
896
|
return __generator(this, function (_d) {
|
|
814
897
|
switch (_d.label) {
|
|
@@ -818,7 +901,6 @@ var deserializeAws_json1_1CreateLocationHdfsCommandError = function (output, con
|
|
|
818
901
|
return [4, parseBody(output.body, context)];
|
|
819
902
|
case 1:
|
|
820
903
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
821
|
-
errorCode = "UnknownError";
|
|
822
904
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
823
905
|
_b = errorCode;
|
|
824
906
|
switch (_b) {
|
|
@@ -834,10 +916,12 @@ var deserializeAws_json1_1CreateLocationHdfsCommandError = function (output, con
|
|
|
834
916
|
case 5: throw _d.sent();
|
|
835
917
|
case 6:
|
|
836
918
|
parsedBody = parsedOutput.body;
|
|
919
|
+
$metadata = deserializeMetadata(output);
|
|
920
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
837
921
|
response = new __BaseException({
|
|
838
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
922
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
839
923
|
$fault: "client",
|
|
840
|
-
$metadata:
|
|
924
|
+
$metadata: $metadata,
|
|
841
925
|
});
|
|
842
926
|
throw __decorateServiceException(response, parsedBody);
|
|
843
927
|
}
|
|
@@ -862,7 +946,7 @@ export var deserializeAws_json1_1CreateLocationNfsCommand = function (output, co
|
|
|
862
946
|
});
|
|
863
947
|
}); };
|
|
864
948
|
var deserializeAws_json1_1CreateLocationNfsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
865
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
949
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
866
950
|
var _c;
|
|
867
951
|
return __generator(this, function (_d) {
|
|
868
952
|
switch (_d.label) {
|
|
@@ -872,7 +956,6 @@ var deserializeAws_json1_1CreateLocationNfsCommandError = function (output, cont
|
|
|
872
956
|
return [4, parseBody(output.body, context)];
|
|
873
957
|
case 1:
|
|
874
958
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
875
|
-
errorCode = "UnknownError";
|
|
876
959
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
877
960
|
_b = errorCode;
|
|
878
961
|
switch (_b) {
|
|
@@ -888,10 +971,12 @@ var deserializeAws_json1_1CreateLocationNfsCommandError = function (output, cont
|
|
|
888
971
|
case 5: throw _d.sent();
|
|
889
972
|
case 6:
|
|
890
973
|
parsedBody = parsedOutput.body;
|
|
974
|
+
$metadata = deserializeMetadata(output);
|
|
975
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
891
976
|
response = new __BaseException({
|
|
892
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
977
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
893
978
|
$fault: "client",
|
|
894
|
-
$metadata:
|
|
979
|
+
$metadata: $metadata,
|
|
895
980
|
});
|
|
896
981
|
throw __decorateServiceException(response, parsedBody);
|
|
897
982
|
}
|
|
@@ -916,7 +1001,7 @@ export var deserializeAws_json1_1CreateLocationObjectStorageCommand = function (
|
|
|
916
1001
|
});
|
|
917
1002
|
}); };
|
|
918
1003
|
var deserializeAws_json1_1CreateLocationObjectStorageCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
919
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1004
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
920
1005
|
var _c;
|
|
921
1006
|
return __generator(this, function (_d) {
|
|
922
1007
|
switch (_d.label) {
|
|
@@ -926,7 +1011,6 @@ var deserializeAws_json1_1CreateLocationObjectStorageCommandError = function (ou
|
|
|
926
1011
|
return [4, parseBody(output.body, context)];
|
|
927
1012
|
case 1:
|
|
928
1013
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
929
|
-
errorCode = "UnknownError";
|
|
930
1014
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
931
1015
|
_b = errorCode;
|
|
932
1016
|
switch (_b) {
|
|
@@ -942,10 +1026,12 @@ var deserializeAws_json1_1CreateLocationObjectStorageCommandError = function (ou
|
|
|
942
1026
|
case 5: throw _d.sent();
|
|
943
1027
|
case 6:
|
|
944
1028
|
parsedBody = parsedOutput.body;
|
|
1029
|
+
$metadata = deserializeMetadata(output);
|
|
1030
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
945
1031
|
response = new __BaseException({
|
|
946
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1032
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
947
1033
|
$fault: "client",
|
|
948
|
-
$metadata:
|
|
1034
|
+
$metadata: $metadata,
|
|
949
1035
|
});
|
|
950
1036
|
throw __decorateServiceException(response, parsedBody);
|
|
951
1037
|
}
|
|
@@ -970,7 +1056,7 @@ export var deserializeAws_json1_1CreateLocationS3Command = function (output, con
|
|
|
970
1056
|
});
|
|
971
1057
|
}); };
|
|
972
1058
|
var deserializeAws_json1_1CreateLocationS3CommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
973
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1059
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
974
1060
|
var _c;
|
|
975
1061
|
return __generator(this, function (_d) {
|
|
976
1062
|
switch (_d.label) {
|
|
@@ -980,7 +1066,6 @@ var deserializeAws_json1_1CreateLocationS3CommandError = function (output, conte
|
|
|
980
1066
|
return [4, parseBody(output.body, context)];
|
|
981
1067
|
case 1:
|
|
982
1068
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
983
|
-
errorCode = "UnknownError";
|
|
984
1069
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
985
1070
|
_b = errorCode;
|
|
986
1071
|
switch (_b) {
|
|
@@ -996,10 +1081,12 @@ var deserializeAws_json1_1CreateLocationS3CommandError = function (output, conte
|
|
|
996
1081
|
case 5: throw _d.sent();
|
|
997
1082
|
case 6:
|
|
998
1083
|
parsedBody = parsedOutput.body;
|
|
1084
|
+
$metadata = deserializeMetadata(output);
|
|
1085
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
999
1086
|
response = new __BaseException({
|
|
1000
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1087
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1001
1088
|
$fault: "client",
|
|
1002
|
-
$metadata:
|
|
1089
|
+
$metadata: $metadata,
|
|
1003
1090
|
});
|
|
1004
1091
|
throw __decorateServiceException(response, parsedBody);
|
|
1005
1092
|
}
|
|
@@ -1024,7 +1111,7 @@ export var deserializeAws_json1_1CreateLocationSmbCommand = function (output, co
|
|
|
1024
1111
|
});
|
|
1025
1112
|
}); };
|
|
1026
1113
|
var deserializeAws_json1_1CreateLocationSmbCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1027
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1114
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1028
1115
|
var _c;
|
|
1029
1116
|
return __generator(this, function (_d) {
|
|
1030
1117
|
switch (_d.label) {
|
|
@@ -1034,7 +1121,6 @@ var deserializeAws_json1_1CreateLocationSmbCommandError = function (output, cont
|
|
|
1034
1121
|
return [4, parseBody(output.body, context)];
|
|
1035
1122
|
case 1:
|
|
1036
1123
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1037
|
-
errorCode = "UnknownError";
|
|
1038
1124
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1039
1125
|
_b = errorCode;
|
|
1040
1126
|
switch (_b) {
|
|
@@ -1050,10 +1136,12 @@ var deserializeAws_json1_1CreateLocationSmbCommandError = function (output, cont
|
|
|
1050
1136
|
case 5: throw _d.sent();
|
|
1051
1137
|
case 6:
|
|
1052
1138
|
parsedBody = parsedOutput.body;
|
|
1139
|
+
$metadata = deserializeMetadata(output);
|
|
1140
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1053
1141
|
response = new __BaseException({
|
|
1054
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1142
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1055
1143
|
$fault: "client",
|
|
1056
|
-
$metadata:
|
|
1144
|
+
$metadata: $metadata,
|
|
1057
1145
|
});
|
|
1058
1146
|
throw __decorateServiceException(response, parsedBody);
|
|
1059
1147
|
}
|
|
@@ -1078,7 +1166,7 @@ export var deserializeAws_json1_1CreateTaskCommand = function (output, context)
|
|
|
1078
1166
|
});
|
|
1079
1167
|
}); };
|
|
1080
1168
|
var deserializeAws_json1_1CreateTaskCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1081
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1169
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1082
1170
|
var _c;
|
|
1083
1171
|
return __generator(this, function (_d) {
|
|
1084
1172
|
switch (_d.label) {
|
|
@@ -1088,7 +1176,6 @@ var deserializeAws_json1_1CreateTaskCommandError = function (output, context) {
|
|
|
1088
1176
|
return [4, parseBody(output.body, context)];
|
|
1089
1177
|
case 1:
|
|
1090
1178
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1091
|
-
errorCode = "UnknownError";
|
|
1092
1179
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1093
1180
|
_b = errorCode;
|
|
1094
1181
|
switch (_b) {
|
|
@@ -1104,10 +1191,12 @@ var deserializeAws_json1_1CreateTaskCommandError = function (output, context) {
|
|
|
1104
1191
|
case 5: throw _d.sent();
|
|
1105
1192
|
case 6:
|
|
1106
1193
|
parsedBody = parsedOutput.body;
|
|
1194
|
+
$metadata = deserializeMetadata(output);
|
|
1195
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1107
1196
|
response = new __BaseException({
|
|
1108
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1197
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1109
1198
|
$fault: "client",
|
|
1110
|
-
$metadata:
|
|
1199
|
+
$metadata: $metadata,
|
|
1111
1200
|
});
|
|
1112
1201
|
throw __decorateServiceException(response, parsedBody);
|
|
1113
1202
|
}
|
|
@@ -1132,7 +1221,7 @@ export var deserializeAws_json1_1DeleteAgentCommand = function (output, context)
|
|
|
1132
1221
|
});
|
|
1133
1222
|
}); };
|
|
1134
1223
|
var deserializeAws_json1_1DeleteAgentCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1135
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1224
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1136
1225
|
var _c;
|
|
1137
1226
|
return __generator(this, function (_d) {
|
|
1138
1227
|
switch (_d.label) {
|
|
@@ -1142,7 +1231,6 @@ var deserializeAws_json1_1DeleteAgentCommandError = function (output, context) {
|
|
|
1142
1231
|
return [4, parseBody(output.body, context)];
|
|
1143
1232
|
case 1:
|
|
1144
1233
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1145
|
-
errorCode = "UnknownError";
|
|
1146
1234
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1147
1235
|
_b = errorCode;
|
|
1148
1236
|
switch (_b) {
|
|
@@ -1158,10 +1246,12 @@ var deserializeAws_json1_1DeleteAgentCommandError = function (output, context) {
|
|
|
1158
1246
|
case 5: throw _d.sent();
|
|
1159
1247
|
case 6:
|
|
1160
1248
|
parsedBody = parsedOutput.body;
|
|
1249
|
+
$metadata = deserializeMetadata(output);
|
|
1250
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1161
1251
|
response = new __BaseException({
|
|
1162
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1252
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1163
1253
|
$fault: "client",
|
|
1164
|
-
$metadata:
|
|
1254
|
+
$metadata: $metadata,
|
|
1165
1255
|
});
|
|
1166
1256
|
throw __decorateServiceException(response, parsedBody);
|
|
1167
1257
|
}
|
|
@@ -1186,7 +1276,7 @@ export var deserializeAws_json1_1DeleteLocationCommand = function (output, conte
|
|
|
1186
1276
|
});
|
|
1187
1277
|
}); };
|
|
1188
1278
|
var deserializeAws_json1_1DeleteLocationCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1189
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1279
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1190
1280
|
var _c;
|
|
1191
1281
|
return __generator(this, function (_d) {
|
|
1192
1282
|
switch (_d.label) {
|
|
@@ -1196,7 +1286,6 @@ var deserializeAws_json1_1DeleteLocationCommandError = function (output, context
|
|
|
1196
1286
|
return [4, parseBody(output.body, context)];
|
|
1197
1287
|
case 1:
|
|
1198
1288
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1199
|
-
errorCode = "UnknownError";
|
|
1200
1289
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1201
1290
|
_b = errorCode;
|
|
1202
1291
|
switch (_b) {
|
|
@@ -1212,10 +1301,12 @@ var deserializeAws_json1_1DeleteLocationCommandError = function (output, context
|
|
|
1212
1301
|
case 5: throw _d.sent();
|
|
1213
1302
|
case 6:
|
|
1214
1303
|
parsedBody = parsedOutput.body;
|
|
1304
|
+
$metadata = deserializeMetadata(output);
|
|
1305
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1215
1306
|
response = new __BaseException({
|
|
1216
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1307
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1217
1308
|
$fault: "client",
|
|
1218
|
-
$metadata:
|
|
1309
|
+
$metadata: $metadata,
|
|
1219
1310
|
});
|
|
1220
1311
|
throw __decorateServiceException(response, parsedBody);
|
|
1221
1312
|
}
|
|
@@ -1240,7 +1331,7 @@ export var deserializeAws_json1_1DeleteTaskCommand = function (output, context)
|
|
|
1240
1331
|
});
|
|
1241
1332
|
}); };
|
|
1242
1333
|
var deserializeAws_json1_1DeleteTaskCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1243
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1334
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1244
1335
|
var _c;
|
|
1245
1336
|
return __generator(this, function (_d) {
|
|
1246
1337
|
switch (_d.label) {
|
|
@@ -1250,7 +1341,6 @@ var deserializeAws_json1_1DeleteTaskCommandError = function (output, context) {
|
|
|
1250
1341
|
return [4, parseBody(output.body, context)];
|
|
1251
1342
|
case 1:
|
|
1252
1343
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1253
|
-
errorCode = "UnknownError";
|
|
1254
1344
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1255
1345
|
_b = errorCode;
|
|
1256
1346
|
switch (_b) {
|
|
@@ -1266,10 +1356,12 @@ var deserializeAws_json1_1DeleteTaskCommandError = function (output, context) {
|
|
|
1266
1356
|
case 5: throw _d.sent();
|
|
1267
1357
|
case 6:
|
|
1268
1358
|
parsedBody = parsedOutput.body;
|
|
1359
|
+
$metadata = deserializeMetadata(output);
|
|
1360
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1269
1361
|
response = new __BaseException({
|
|
1270
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1362
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1271
1363
|
$fault: "client",
|
|
1272
|
-
$metadata:
|
|
1364
|
+
$metadata: $metadata,
|
|
1273
1365
|
});
|
|
1274
1366
|
throw __decorateServiceException(response, parsedBody);
|
|
1275
1367
|
}
|
|
@@ -1294,7 +1386,7 @@ export var deserializeAws_json1_1DescribeAgentCommand = function (output, contex
|
|
|
1294
1386
|
});
|
|
1295
1387
|
}); };
|
|
1296
1388
|
var deserializeAws_json1_1DescribeAgentCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1297
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1389
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1298
1390
|
var _c;
|
|
1299
1391
|
return __generator(this, function (_d) {
|
|
1300
1392
|
switch (_d.label) {
|
|
@@ -1304,7 +1396,6 @@ var deserializeAws_json1_1DescribeAgentCommandError = function (output, context)
|
|
|
1304
1396
|
return [4, parseBody(output.body, context)];
|
|
1305
1397
|
case 1:
|
|
1306
1398
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1307
|
-
errorCode = "UnknownError";
|
|
1308
1399
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1309
1400
|
_b = errorCode;
|
|
1310
1401
|
switch (_b) {
|
|
@@ -1320,10 +1411,12 @@ var deserializeAws_json1_1DescribeAgentCommandError = function (output, context)
|
|
|
1320
1411
|
case 5: throw _d.sent();
|
|
1321
1412
|
case 6:
|
|
1322
1413
|
parsedBody = parsedOutput.body;
|
|
1414
|
+
$metadata = deserializeMetadata(output);
|
|
1415
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1323
1416
|
response = new __BaseException({
|
|
1324
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1417
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1325
1418
|
$fault: "client",
|
|
1326
|
-
$metadata:
|
|
1419
|
+
$metadata: $metadata,
|
|
1327
1420
|
});
|
|
1328
1421
|
throw __decorateServiceException(response, parsedBody);
|
|
1329
1422
|
}
|
|
@@ -1348,7 +1441,7 @@ export var deserializeAws_json1_1DescribeLocationEfsCommand = function (output,
|
|
|
1348
1441
|
});
|
|
1349
1442
|
}); };
|
|
1350
1443
|
var deserializeAws_json1_1DescribeLocationEfsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1351
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1444
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1352
1445
|
var _c;
|
|
1353
1446
|
return __generator(this, function (_d) {
|
|
1354
1447
|
switch (_d.label) {
|
|
@@ -1358,7 +1451,6 @@ var deserializeAws_json1_1DescribeLocationEfsCommandError = function (output, co
|
|
|
1358
1451
|
return [4, parseBody(output.body, context)];
|
|
1359
1452
|
case 1:
|
|
1360
1453
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1361
|
-
errorCode = "UnknownError";
|
|
1362
1454
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1363
1455
|
_b = errorCode;
|
|
1364
1456
|
switch (_b) {
|
|
@@ -1374,10 +1466,12 @@ var deserializeAws_json1_1DescribeLocationEfsCommandError = function (output, co
|
|
|
1374
1466
|
case 5: throw _d.sent();
|
|
1375
1467
|
case 6:
|
|
1376
1468
|
parsedBody = parsedOutput.body;
|
|
1469
|
+
$metadata = deserializeMetadata(output);
|
|
1470
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1377
1471
|
response = new __BaseException({
|
|
1378
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1472
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1379
1473
|
$fault: "client",
|
|
1380
|
-
$metadata:
|
|
1474
|
+
$metadata: $metadata,
|
|
1381
1475
|
});
|
|
1382
1476
|
throw __decorateServiceException(response, parsedBody);
|
|
1383
1477
|
}
|
|
@@ -1402,7 +1496,7 @@ export var deserializeAws_json1_1DescribeLocationFsxLustreCommand = function (ou
|
|
|
1402
1496
|
});
|
|
1403
1497
|
}); };
|
|
1404
1498
|
var deserializeAws_json1_1DescribeLocationFsxLustreCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1405
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1499
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1406
1500
|
var _c;
|
|
1407
1501
|
return __generator(this, function (_d) {
|
|
1408
1502
|
switch (_d.label) {
|
|
@@ -1412,7 +1506,6 @@ var deserializeAws_json1_1DescribeLocationFsxLustreCommandError = function (outp
|
|
|
1412
1506
|
return [4, parseBody(output.body, context)];
|
|
1413
1507
|
case 1:
|
|
1414
1508
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1415
|
-
errorCode = "UnknownError";
|
|
1416
1509
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1417
1510
|
_b = errorCode;
|
|
1418
1511
|
switch (_b) {
|
|
@@ -1428,10 +1521,67 @@ var deserializeAws_json1_1DescribeLocationFsxLustreCommandError = function (outp
|
|
|
1428
1521
|
case 5: throw _d.sent();
|
|
1429
1522
|
case 6:
|
|
1430
1523
|
parsedBody = parsedOutput.body;
|
|
1524
|
+
$metadata = deserializeMetadata(output);
|
|
1525
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1431
1526
|
response = new __BaseException({
|
|
1432
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1527
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1433
1528
|
$fault: "client",
|
|
1434
|
-
$metadata:
|
|
1529
|
+
$metadata: $metadata,
|
|
1530
|
+
});
|
|
1531
|
+
throw __decorateServiceException(response, parsedBody);
|
|
1532
|
+
}
|
|
1533
|
+
});
|
|
1534
|
+
}); };
|
|
1535
|
+
export var deserializeAws_json1_1DescribeLocationFsxOntapCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1536
|
+
var data, contents, response;
|
|
1537
|
+
return __generator(this, function (_a) {
|
|
1538
|
+
switch (_a.label) {
|
|
1539
|
+
case 0:
|
|
1540
|
+
if (output.statusCode >= 300) {
|
|
1541
|
+
return [2, deserializeAws_json1_1DescribeLocationFsxOntapCommandError(output, context)];
|
|
1542
|
+
}
|
|
1543
|
+
return [4, parseBody(output.body, context)];
|
|
1544
|
+
case 1:
|
|
1545
|
+
data = _a.sent();
|
|
1546
|
+
contents = {};
|
|
1547
|
+
contents = deserializeAws_json1_1DescribeLocationFsxOntapResponse(data, context);
|
|
1548
|
+
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
1549
|
+
return [2, Promise.resolve(response)];
|
|
1550
|
+
}
|
|
1551
|
+
});
|
|
1552
|
+
}); };
|
|
1553
|
+
var deserializeAws_json1_1DescribeLocationFsxOntapCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1554
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1555
|
+
var _c;
|
|
1556
|
+
return __generator(this, function (_d) {
|
|
1557
|
+
switch (_d.label) {
|
|
1558
|
+
case 0:
|
|
1559
|
+
_a = [__assign({}, output)];
|
|
1560
|
+
_c = {};
|
|
1561
|
+
return [4, parseBody(output.body, context)];
|
|
1562
|
+
case 1:
|
|
1563
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1564
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1565
|
+
_b = errorCode;
|
|
1566
|
+
switch (_b) {
|
|
1567
|
+
case "InternalException": return [3, 2];
|
|
1568
|
+
case "com.amazonaws.datasync#InternalException": return [3, 2];
|
|
1569
|
+
case "InvalidRequestException": return [3, 4];
|
|
1570
|
+
case "com.amazonaws.datasync#InvalidRequestException": return [3, 4];
|
|
1571
|
+
}
|
|
1572
|
+
return [3, 6];
|
|
1573
|
+
case 2: return [4, deserializeAws_json1_1InternalExceptionResponse(parsedOutput, context)];
|
|
1574
|
+
case 3: throw _d.sent();
|
|
1575
|
+
case 4: return [4, deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context)];
|
|
1576
|
+
case 5: throw _d.sent();
|
|
1577
|
+
case 6:
|
|
1578
|
+
parsedBody = parsedOutput.body;
|
|
1579
|
+
$metadata = deserializeMetadata(output);
|
|
1580
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1581
|
+
response = new __BaseException({
|
|
1582
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1583
|
+
$fault: "client",
|
|
1584
|
+
$metadata: $metadata,
|
|
1435
1585
|
});
|
|
1436
1586
|
throw __decorateServiceException(response, parsedBody);
|
|
1437
1587
|
}
|
|
@@ -1456,7 +1606,7 @@ export var deserializeAws_json1_1DescribeLocationFsxOpenZfsCommand = function (o
|
|
|
1456
1606
|
});
|
|
1457
1607
|
}); };
|
|
1458
1608
|
var deserializeAws_json1_1DescribeLocationFsxOpenZfsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1459
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1609
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1460
1610
|
var _c;
|
|
1461
1611
|
return __generator(this, function (_d) {
|
|
1462
1612
|
switch (_d.label) {
|
|
@@ -1466,7 +1616,6 @@ var deserializeAws_json1_1DescribeLocationFsxOpenZfsCommandError = function (out
|
|
|
1466
1616
|
return [4, parseBody(output.body, context)];
|
|
1467
1617
|
case 1:
|
|
1468
1618
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1469
|
-
errorCode = "UnknownError";
|
|
1470
1619
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1471
1620
|
_b = errorCode;
|
|
1472
1621
|
switch (_b) {
|
|
@@ -1482,10 +1631,12 @@ var deserializeAws_json1_1DescribeLocationFsxOpenZfsCommandError = function (out
|
|
|
1482
1631
|
case 5: throw _d.sent();
|
|
1483
1632
|
case 6:
|
|
1484
1633
|
parsedBody = parsedOutput.body;
|
|
1634
|
+
$metadata = deserializeMetadata(output);
|
|
1635
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1485
1636
|
response = new __BaseException({
|
|
1486
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1637
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1487
1638
|
$fault: "client",
|
|
1488
|
-
$metadata:
|
|
1639
|
+
$metadata: $metadata,
|
|
1489
1640
|
});
|
|
1490
1641
|
throw __decorateServiceException(response, parsedBody);
|
|
1491
1642
|
}
|
|
@@ -1510,7 +1661,7 @@ export var deserializeAws_json1_1DescribeLocationFsxWindowsCommand = function (o
|
|
|
1510
1661
|
});
|
|
1511
1662
|
}); };
|
|
1512
1663
|
var deserializeAws_json1_1DescribeLocationFsxWindowsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1513
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1664
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1514
1665
|
var _c;
|
|
1515
1666
|
return __generator(this, function (_d) {
|
|
1516
1667
|
switch (_d.label) {
|
|
@@ -1520,7 +1671,6 @@ var deserializeAws_json1_1DescribeLocationFsxWindowsCommandError = function (out
|
|
|
1520
1671
|
return [4, parseBody(output.body, context)];
|
|
1521
1672
|
case 1:
|
|
1522
1673
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1523
|
-
errorCode = "UnknownError";
|
|
1524
1674
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1525
1675
|
_b = errorCode;
|
|
1526
1676
|
switch (_b) {
|
|
@@ -1536,10 +1686,12 @@ var deserializeAws_json1_1DescribeLocationFsxWindowsCommandError = function (out
|
|
|
1536
1686
|
case 5: throw _d.sent();
|
|
1537
1687
|
case 6:
|
|
1538
1688
|
parsedBody = parsedOutput.body;
|
|
1689
|
+
$metadata = deserializeMetadata(output);
|
|
1690
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1539
1691
|
response = new __BaseException({
|
|
1540
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1692
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1541
1693
|
$fault: "client",
|
|
1542
|
-
$metadata:
|
|
1694
|
+
$metadata: $metadata,
|
|
1543
1695
|
});
|
|
1544
1696
|
throw __decorateServiceException(response, parsedBody);
|
|
1545
1697
|
}
|
|
@@ -1564,7 +1716,7 @@ export var deserializeAws_json1_1DescribeLocationHdfsCommand = function (output,
|
|
|
1564
1716
|
});
|
|
1565
1717
|
}); };
|
|
1566
1718
|
var deserializeAws_json1_1DescribeLocationHdfsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1567
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1719
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1568
1720
|
var _c;
|
|
1569
1721
|
return __generator(this, function (_d) {
|
|
1570
1722
|
switch (_d.label) {
|
|
@@ -1574,7 +1726,6 @@ var deserializeAws_json1_1DescribeLocationHdfsCommandError = function (output, c
|
|
|
1574
1726
|
return [4, parseBody(output.body, context)];
|
|
1575
1727
|
case 1:
|
|
1576
1728
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1577
|
-
errorCode = "UnknownError";
|
|
1578
1729
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1579
1730
|
_b = errorCode;
|
|
1580
1731
|
switch (_b) {
|
|
@@ -1590,10 +1741,12 @@ var deserializeAws_json1_1DescribeLocationHdfsCommandError = function (output, c
|
|
|
1590
1741
|
case 5: throw _d.sent();
|
|
1591
1742
|
case 6:
|
|
1592
1743
|
parsedBody = parsedOutput.body;
|
|
1744
|
+
$metadata = deserializeMetadata(output);
|
|
1745
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1593
1746
|
response = new __BaseException({
|
|
1594
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1747
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1595
1748
|
$fault: "client",
|
|
1596
|
-
$metadata:
|
|
1749
|
+
$metadata: $metadata,
|
|
1597
1750
|
});
|
|
1598
1751
|
throw __decorateServiceException(response, parsedBody);
|
|
1599
1752
|
}
|
|
@@ -1618,7 +1771,7 @@ export var deserializeAws_json1_1DescribeLocationNfsCommand = function (output,
|
|
|
1618
1771
|
});
|
|
1619
1772
|
}); };
|
|
1620
1773
|
var deserializeAws_json1_1DescribeLocationNfsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1621
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1774
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1622
1775
|
var _c;
|
|
1623
1776
|
return __generator(this, function (_d) {
|
|
1624
1777
|
switch (_d.label) {
|
|
@@ -1628,7 +1781,6 @@ var deserializeAws_json1_1DescribeLocationNfsCommandError = function (output, co
|
|
|
1628
1781
|
return [4, parseBody(output.body, context)];
|
|
1629
1782
|
case 1:
|
|
1630
1783
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1631
|
-
errorCode = "UnknownError";
|
|
1632
1784
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1633
1785
|
_b = errorCode;
|
|
1634
1786
|
switch (_b) {
|
|
@@ -1644,10 +1796,12 @@ var deserializeAws_json1_1DescribeLocationNfsCommandError = function (output, co
|
|
|
1644
1796
|
case 5: throw _d.sent();
|
|
1645
1797
|
case 6:
|
|
1646
1798
|
parsedBody = parsedOutput.body;
|
|
1799
|
+
$metadata = deserializeMetadata(output);
|
|
1800
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1647
1801
|
response = new __BaseException({
|
|
1648
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1802
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1649
1803
|
$fault: "client",
|
|
1650
|
-
$metadata:
|
|
1804
|
+
$metadata: $metadata,
|
|
1651
1805
|
});
|
|
1652
1806
|
throw __decorateServiceException(response, parsedBody);
|
|
1653
1807
|
}
|
|
@@ -1672,7 +1826,7 @@ export var deserializeAws_json1_1DescribeLocationObjectStorageCommand = function
|
|
|
1672
1826
|
});
|
|
1673
1827
|
}); };
|
|
1674
1828
|
var deserializeAws_json1_1DescribeLocationObjectStorageCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1675
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1829
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1676
1830
|
var _c;
|
|
1677
1831
|
return __generator(this, function (_d) {
|
|
1678
1832
|
switch (_d.label) {
|
|
@@ -1682,7 +1836,6 @@ var deserializeAws_json1_1DescribeLocationObjectStorageCommandError = function (
|
|
|
1682
1836
|
return [4, parseBody(output.body, context)];
|
|
1683
1837
|
case 1:
|
|
1684
1838
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1685
|
-
errorCode = "UnknownError";
|
|
1686
1839
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1687
1840
|
_b = errorCode;
|
|
1688
1841
|
switch (_b) {
|
|
@@ -1698,10 +1851,12 @@ var deserializeAws_json1_1DescribeLocationObjectStorageCommandError = function (
|
|
|
1698
1851
|
case 5: throw _d.sent();
|
|
1699
1852
|
case 6:
|
|
1700
1853
|
parsedBody = parsedOutput.body;
|
|
1854
|
+
$metadata = deserializeMetadata(output);
|
|
1855
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1701
1856
|
response = new __BaseException({
|
|
1702
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1857
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1703
1858
|
$fault: "client",
|
|
1704
|
-
$metadata:
|
|
1859
|
+
$metadata: $metadata,
|
|
1705
1860
|
});
|
|
1706
1861
|
throw __decorateServiceException(response, parsedBody);
|
|
1707
1862
|
}
|
|
@@ -1726,7 +1881,7 @@ export var deserializeAws_json1_1DescribeLocationS3Command = function (output, c
|
|
|
1726
1881
|
});
|
|
1727
1882
|
}); };
|
|
1728
1883
|
var deserializeAws_json1_1DescribeLocationS3CommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1729
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1884
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1730
1885
|
var _c;
|
|
1731
1886
|
return __generator(this, function (_d) {
|
|
1732
1887
|
switch (_d.label) {
|
|
@@ -1736,7 +1891,6 @@ var deserializeAws_json1_1DescribeLocationS3CommandError = function (output, con
|
|
|
1736
1891
|
return [4, parseBody(output.body, context)];
|
|
1737
1892
|
case 1:
|
|
1738
1893
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1739
|
-
errorCode = "UnknownError";
|
|
1740
1894
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1741
1895
|
_b = errorCode;
|
|
1742
1896
|
switch (_b) {
|
|
@@ -1752,10 +1906,12 @@ var deserializeAws_json1_1DescribeLocationS3CommandError = function (output, con
|
|
|
1752
1906
|
case 5: throw _d.sent();
|
|
1753
1907
|
case 6:
|
|
1754
1908
|
parsedBody = parsedOutput.body;
|
|
1909
|
+
$metadata = deserializeMetadata(output);
|
|
1910
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1755
1911
|
response = new __BaseException({
|
|
1756
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1912
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1757
1913
|
$fault: "client",
|
|
1758
|
-
$metadata:
|
|
1914
|
+
$metadata: $metadata,
|
|
1759
1915
|
});
|
|
1760
1916
|
throw __decorateServiceException(response, parsedBody);
|
|
1761
1917
|
}
|
|
@@ -1780,7 +1936,7 @@ export var deserializeAws_json1_1DescribeLocationSmbCommand = function (output,
|
|
|
1780
1936
|
});
|
|
1781
1937
|
}); };
|
|
1782
1938
|
var deserializeAws_json1_1DescribeLocationSmbCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1783
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1939
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1784
1940
|
var _c;
|
|
1785
1941
|
return __generator(this, function (_d) {
|
|
1786
1942
|
switch (_d.label) {
|
|
@@ -1790,7 +1946,6 @@ var deserializeAws_json1_1DescribeLocationSmbCommandError = function (output, co
|
|
|
1790
1946
|
return [4, parseBody(output.body, context)];
|
|
1791
1947
|
case 1:
|
|
1792
1948
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1793
|
-
errorCode = "UnknownError";
|
|
1794
1949
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1795
1950
|
_b = errorCode;
|
|
1796
1951
|
switch (_b) {
|
|
@@ -1806,10 +1961,12 @@ var deserializeAws_json1_1DescribeLocationSmbCommandError = function (output, co
|
|
|
1806
1961
|
case 5: throw _d.sent();
|
|
1807
1962
|
case 6:
|
|
1808
1963
|
parsedBody = parsedOutput.body;
|
|
1964
|
+
$metadata = deserializeMetadata(output);
|
|
1965
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1809
1966
|
response = new __BaseException({
|
|
1810
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1967
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1811
1968
|
$fault: "client",
|
|
1812
|
-
$metadata:
|
|
1969
|
+
$metadata: $metadata,
|
|
1813
1970
|
});
|
|
1814
1971
|
throw __decorateServiceException(response, parsedBody);
|
|
1815
1972
|
}
|
|
@@ -1834,7 +1991,7 @@ export var deserializeAws_json1_1DescribeTaskCommand = function (output, context
|
|
|
1834
1991
|
});
|
|
1835
1992
|
}); };
|
|
1836
1993
|
var deserializeAws_json1_1DescribeTaskCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1837
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1994
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1838
1995
|
var _c;
|
|
1839
1996
|
return __generator(this, function (_d) {
|
|
1840
1997
|
switch (_d.label) {
|
|
@@ -1844,7 +2001,6 @@ var deserializeAws_json1_1DescribeTaskCommandError = function (output, context)
|
|
|
1844
2001
|
return [4, parseBody(output.body, context)];
|
|
1845
2002
|
case 1:
|
|
1846
2003
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1847
|
-
errorCode = "UnknownError";
|
|
1848
2004
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1849
2005
|
_b = errorCode;
|
|
1850
2006
|
switch (_b) {
|
|
@@ -1860,10 +2016,12 @@ var deserializeAws_json1_1DescribeTaskCommandError = function (output, context)
|
|
|
1860
2016
|
case 5: throw _d.sent();
|
|
1861
2017
|
case 6:
|
|
1862
2018
|
parsedBody = parsedOutput.body;
|
|
2019
|
+
$metadata = deserializeMetadata(output);
|
|
2020
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1863
2021
|
response = new __BaseException({
|
|
1864
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2022
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1865
2023
|
$fault: "client",
|
|
1866
|
-
$metadata:
|
|
2024
|
+
$metadata: $metadata,
|
|
1867
2025
|
});
|
|
1868
2026
|
throw __decorateServiceException(response, parsedBody);
|
|
1869
2027
|
}
|
|
@@ -1888,7 +2046,7 @@ export var deserializeAws_json1_1DescribeTaskExecutionCommand = function (output
|
|
|
1888
2046
|
});
|
|
1889
2047
|
}); };
|
|
1890
2048
|
var deserializeAws_json1_1DescribeTaskExecutionCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1891
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2049
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1892
2050
|
var _c;
|
|
1893
2051
|
return __generator(this, function (_d) {
|
|
1894
2052
|
switch (_d.label) {
|
|
@@ -1898,7 +2056,6 @@ var deserializeAws_json1_1DescribeTaskExecutionCommandError = function (output,
|
|
|
1898
2056
|
return [4, parseBody(output.body, context)];
|
|
1899
2057
|
case 1:
|
|
1900
2058
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1901
|
-
errorCode = "UnknownError";
|
|
1902
2059
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1903
2060
|
_b = errorCode;
|
|
1904
2061
|
switch (_b) {
|
|
@@ -1914,10 +2071,12 @@ var deserializeAws_json1_1DescribeTaskExecutionCommandError = function (output,
|
|
|
1914
2071
|
case 5: throw _d.sent();
|
|
1915
2072
|
case 6:
|
|
1916
2073
|
parsedBody = parsedOutput.body;
|
|
2074
|
+
$metadata = deserializeMetadata(output);
|
|
2075
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1917
2076
|
response = new __BaseException({
|
|
1918
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2077
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1919
2078
|
$fault: "client",
|
|
1920
|
-
$metadata:
|
|
2079
|
+
$metadata: $metadata,
|
|
1921
2080
|
});
|
|
1922
2081
|
throw __decorateServiceException(response, parsedBody);
|
|
1923
2082
|
}
|
|
@@ -1942,7 +2101,7 @@ export var deserializeAws_json1_1ListAgentsCommand = function (output, context)
|
|
|
1942
2101
|
});
|
|
1943
2102
|
}); };
|
|
1944
2103
|
var deserializeAws_json1_1ListAgentsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1945
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2104
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1946
2105
|
var _c;
|
|
1947
2106
|
return __generator(this, function (_d) {
|
|
1948
2107
|
switch (_d.label) {
|
|
@@ -1952,7 +2111,6 @@ var deserializeAws_json1_1ListAgentsCommandError = function (output, context) {
|
|
|
1952
2111
|
return [4, parseBody(output.body, context)];
|
|
1953
2112
|
case 1:
|
|
1954
2113
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1955
|
-
errorCode = "UnknownError";
|
|
1956
2114
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1957
2115
|
_b = errorCode;
|
|
1958
2116
|
switch (_b) {
|
|
@@ -1968,10 +2126,12 @@ var deserializeAws_json1_1ListAgentsCommandError = function (output, context) {
|
|
|
1968
2126
|
case 5: throw _d.sent();
|
|
1969
2127
|
case 6:
|
|
1970
2128
|
parsedBody = parsedOutput.body;
|
|
2129
|
+
$metadata = deserializeMetadata(output);
|
|
2130
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1971
2131
|
response = new __BaseException({
|
|
1972
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2132
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1973
2133
|
$fault: "client",
|
|
1974
|
-
$metadata:
|
|
2134
|
+
$metadata: $metadata,
|
|
1975
2135
|
});
|
|
1976
2136
|
throw __decorateServiceException(response, parsedBody);
|
|
1977
2137
|
}
|
|
@@ -1996,7 +2156,7 @@ export var deserializeAws_json1_1ListLocationsCommand = function (output, contex
|
|
|
1996
2156
|
});
|
|
1997
2157
|
}); };
|
|
1998
2158
|
var deserializeAws_json1_1ListLocationsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1999
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2159
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2000
2160
|
var _c;
|
|
2001
2161
|
return __generator(this, function (_d) {
|
|
2002
2162
|
switch (_d.label) {
|
|
@@ -2006,7 +2166,6 @@ var deserializeAws_json1_1ListLocationsCommandError = function (output, context)
|
|
|
2006
2166
|
return [4, parseBody(output.body, context)];
|
|
2007
2167
|
case 1:
|
|
2008
2168
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2009
|
-
errorCode = "UnknownError";
|
|
2010
2169
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2011
2170
|
_b = errorCode;
|
|
2012
2171
|
switch (_b) {
|
|
@@ -2022,10 +2181,12 @@ var deserializeAws_json1_1ListLocationsCommandError = function (output, context)
|
|
|
2022
2181
|
case 5: throw _d.sent();
|
|
2023
2182
|
case 6:
|
|
2024
2183
|
parsedBody = parsedOutput.body;
|
|
2184
|
+
$metadata = deserializeMetadata(output);
|
|
2185
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2025
2186
|
response = new __BaseException({
|
|
2026
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2187
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2027
2188
|
$fault: "client",
|
|
2028
|
-
$metadata:
|
|
2189
|
+
$metadata: $metadata,
|
|
2029
2190
|
});
|
|
2030
2191
|
throw __decorateServiceException(response, parsedBody);
|
|
2031
2192
|
}
|
|
@@ -2050,7 +2211,7 @@ export var deserializeAws_json1_1ListTagsForResourceCommand = function (output,
|
|
|
2050
2211
|
});
|
|
2051
2212
|
}); };
|
|
2052
2213
|
var deserializeAws_json1_1ListTagsForResourceCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2053
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2214
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2054
2215
|
var _c;
|
|
2055
2216
|
return __generator(this, function (_d) {
|
|
2056
2217
|
switch (_d.label) {
|
|
@@ -2060,7 +2221,6 @@ var deserializeAws_json1_1ListTagsForResourceCommandError = function (output, co
|
|
|
2060
2221
|
return [4, parseBody(output.body, context)];
|
|
2061
2222
|
case 1:
|
|
2062
2223
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2063
|
-
errorCode = "UnknownError";
|
|
2064
2224
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2065
2225
|
_b = errorCode;
|
|
2066
2226
|
switch (_b) {
|
|
@@ -2076,10 +2236,12 @@ var deserializeAws_json1_1ListTagsForResourceCommandError = function (output, co
|
|
|
2076
2236
|
case 5: throw _d.sent();
|
|
2077
2237
|
case 6:
|
|
2078
2238
|
parsedBody = parsedOutput.body;
|
|
2239
|
+
$metadata = deserializeMetadata(output);
|
|
2240
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2079
2241
|
response = new __BaseException({
|
|
2080
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2242
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2081
2243
|
$fault: "client",
|
|
2082
|
-
$metadata:
|
|
2244
|
+
$metadata: $metadata,
|
|
2083
2245
|
});
|
|
2084
2246
|
throw __decorateServiceException(response, parsedBody);
|
|
2085
2247
|
}
|
|
@@ -2104,7 +2266,7 @@ export var deserializeAws_json1_1ListTaskExecutionsCommand = function (output, c
|
|
|
2104
2266
|
});
|
|
2105
2267
|
}); };
|
|
2106
2268
|
var deserializeAws_json1_1ListTaskExecutionsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2107
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2269
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2108
2270
|
var _c;
|
|
2109
2271
|
return __generator(this, function (_d) {
|
|
2110
2272
|
switch (_d.label) {
|
|
@@ -2114,7 +2276,6 @@ var deserializeAws_json1_1ListTaskExecutionsCommandError = function (output, con
|
|
|
2114
2276
|
return [4, parseBody(output.body, context)];
|
|
2115
2277
|
case 1:
|
|
2116
2278
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2117
|
-
errorCode = "UnknownError";
|
|
2118
2279
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2119
2280
|
_b = errorCode;
|
|
2120
2281
|
switch (_b) {
|
|
@@ -2130,10 +2291,12 @@ var deserializeAws_json1_1ListTaskExecutionsCommandError = function (output, con
|
|
|
2130
2291
|
case 5: throw _d.sent();
|
|
2131
2292
|
case 6:
|
|
2132
2293
|
parsedBody = parsedOutput.body;
|
|
2294
|
+
$metadata = deserializeMetadata(output);
|
|
2295
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2133
2296
|
response = new __BaseException({
|
|
2134
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2297
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2135
2298
|
$fault: "client",
|
|
2136
|
-
$metadata:
|
|
2299
|
+
$metadata: $metadata,
|
|
2137
2300
|
});
|
|
2138
2301
|
throw __decorateServiceException(response, parsedBody);
|
|
2139
2302
|
}
|
|
@@ -2158,7 +2321,7 @@ export var deserializeAws_json1_1ListTasksCommand = function (output, context) {
|
|
|
2158
2321
|
});
|
|
2159
2322
|
}); };
|
|
2160
2323
|
var deserializeAws_json1_1ListTasksCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2161
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2324
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2162
2325
|
var _c;
|
|
2163
2326
|
return __generator(this, function (_d) {
|
|
2164
2327
|
switch (_d.label) {
|
|
@@ -2168,7 +2331,6 @@ var deserializeAws_json1_1ListTasksCommandError = function (output, context) { r
|
|
|
2168
2331
|
return [4, parseBody(output.body, context)];
|
|
2169
2332
|
case 1:
|
|
2170
2333
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2171
|
-
errorCode = "UnknownError";
|
|
2172
2334
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2173
2335
|
_b = errorCode;
|
|
2174
2336
|
switch (_b) {
|
|
@@ -2184,10 +2346,12 @@ var deserializeAws_json1_1ListTasksCommandError = function (output, context) { r
|
|
|
2184
2346
|
case 5: throw _d.sent();
|
|
2185
2347
|
case 6:
|
|
2186
2348
|
parsedBody = parsedOutput.body;
|
|
2349
|
+
$metadata = deserializeMetadata(output);
|
|
2350
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2187
2351
|
response = new __BaseException({
|
|
2188
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2352
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2189
2353
|
$fault: "client",
|
|
2190
|
-
$metadata:
|
|
2354
|
+
$metadata: $metadata,
|
|
2191
2355
|
});
|
|
2192
2356
|
throw __decorateServiceException(response, parsedBody);
|
|
2193
2357
|
}
|
|
@@ -2212,7 +2376,7 @@ export var deserializeAws_json1_1StartTaskExecutionCommand = function (output, c
|
|
|
2212
2376
|
});
|
|
2213
2377
|
}); };
|
|
2214
2378
|
var deserializeAws_json1_1StartTaskExecutionCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2215
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2379
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2216
2380
|
var _c;
|
|
2217
2381
|
return __generator(this, function (_d) {
|
|
2218
2382
|
switch (_d.label) {
|
|
@@ -2222,7 +2386,6 @@ var deserializeAws_json1_1StartTaskExecutionCommandError = function (output, con
|
|
|
2222
2386
|
return [4, parseBody(output.body, context)];
|
|
2223
2387
|
case 1:
|
|
2224
2388
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2225
|
-
errorCode = "UnknownError";
|
|
2226
2389
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2227
2390
|
_b = errorCode;
|
|
2228
2391
|
switch (_b) {
|
|
@@ -2238,10 +2401,12 @@ var deserializeAws_json1_1StartTaskExecutionCommandError = function (output, con
|
|
|
2238
2401
|
case 5: throw _d.sent();
|
|
2239
2402
|
case 6:
|
|
2240
2403
|
parsedBody = parsedOutput.body;
|
|
2404
|
+
$metadata = deserializeMetadata(output);
|
|
2405
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2241
2406
|
response = new __BaseException({
|
|
2242
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2407
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2243
2408
|
$fault: "client",
|
|
2244
|
-
$metadata:
|
|
2409
|
+
$metadata: $metadata,
|
|
2245
2410
|
});
|
|
2246
2411
|
throw __decorateServiceException(response, parsedBody);
|
|
2247
2412
|
}
|
|
@@ -2266,7 +2431,7 @@ export var deserializeAws_json1_1TagResourceCommand = function (output, context)
|
|
|
2266
2431
|
});
|
|
2267
2432
|
}); };
|
|
2268
2433
|
var deserializeAws_json1_1TagResourceCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2269
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2434
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2270
2435
|
var _c;
|
|
2271
2436
|
return __generator(this, function (_d) {
|
|
2272
2437
|
switch (_d.label) {
|
|
@@ -2276,7 +2441,6 @@ var deserializeAws_json1_1TagResourceCommandError = function (output, context) {
|
|
|
2276
2441
|
return [4, parseBody(output.body, context)];
|
|
2277
2442
|
case 1:
|
|
2278
2443
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2279
|
-
errorCode = "UnknownError";
|
|
2280
2444
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2281
2445
|
_b = errorCode;
|
|
2282
2446
|
switch (_b) {
|
|
@@ -2292,10 +2456,12 @@ var deserializeAws_json1_1TagResourceCommandError = function (output, context) {
|
|
|
2292
2456
|
case 5: throw _d.sent();
|
|
2293
2457
|
case 6:
|
|
2294
2458
|
parsedBody = parsedOutput.body;
|
|
2459
|
+
$metadata = deserializeMetadata(output);
|
|
2460
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2295
2461
|
response = new __BaseException({
|
|
2296
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2462
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2297
2463
|
$fault: "client",
|
|
2298
|
-
$metadata:
|
|
2464
|
+
$metadata: $metadata,
|
|
2299
2465
|
});
|
|
2300
2466
|
throw __decorateServiceException(response, parsedBody);
|
|
2301
2467
|
}
|
|
@@ -2320,7 +2486,7 @@ export var deserializeAws_json1_1UntagResourceCommand = function (output, contex
|
|
|
2320
2486
|
});
|
|
2321
2487
|
}); };
|
|
2322
2488
|
var deserializeAws_json1_1UntagResourceCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2323
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2489
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2324
2490
|
var _c;
|
|
2325
2491
|
return __generator(this, function (_d) {
|
|
2326
2492
|
switch (_d.label) {
|
|
@@ -2330,7 +2496,6 @@ var deserializeAws_json1_1UntagResourceCommandError = function (output, context)
|
|
|
2330
2496
|
return [4, parseBody(output.body, context)];
|
|
2331
2497
|
case 1:
|
|
2332
2498
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2333
|
-
errorCode = "UnknownError";
|
|
2334
2499
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2335
2500
|
_b = errorCode;
|
|
2336
2501
|
switch (_b) {
|
|
@@ -2346,10 +2511,12 @@ var deserializeAws_json1_1UntagResourceCommandError = function (output, context)
|
|
|
2346
2511
|
case 5: throw _d.sent();
|
|
2347
2512
|
case 6:
|
|
2348
2513
|
parsedBody = parsedOutput.body;
|
|
2514
|
+
$metadata = deserializeMetadata(output);
|
|
2515
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2349
2516
|
response = new __BaseException({
|
|
2350
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2517
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2351
2518
|
$fault: "client",
|
|
2352
|
-
$metadata:
|
|
2519
|
+
$metadata: $metadata,
|
|
2353
2520
|
});
|
|
2354
2521
|
throw __decorateServiceException(response, parsedBody);
|
|
2355
2522
|
}
|
|
@@ -2374,7 +2541,7 @@ export var deserializeAws_json1_1UpdateAgentCommand = function (output, context)
|
|
|
2374
2541
|
});
|
|
2375
2542
|
}); };
|
|
2376
2543
|
var deserializeAws_json1_1UpdateAgentCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2377
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2544
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2378
2545
|
var _c;
|
|
2379
2546
|
return __generator(this, function (_d) {
|
|
2380
2547
|
switch (_d.label) {
|
|
@@ -2384,7 +2551,6 @@ var deserializeAws_json1_1UpdateAgentCommandError = function (output, context) {
|
|
|
2384
2551
|
return [4, parseBody(output.body, context)];
|
|
2385
2552
|
case 1:
|
|
2386
2553
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2387
|
-
errorCode = "UnknownError";
|
|
2388
2554
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2389
2555
|
_b = errorCode;
|
|
2390
2556
|
switch (_b) {
|
|
@@ -2400,10 +2566,12 @@ var deserializeAws_json1_1UpdateAgentCommandError = function (output, context) {
|
|
|
2400
2566
|
case 5: throw _d.sent();
|
|
2401
2567
|
case 6:
|
|
2402
2568
|
parsedBody = parsedOutput.body;
|
|
2569
|
+
$metadata = deserializeMetadata(output);
|
|
2570
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2403
2571
|
response = new __BaseException({
|
|
2404
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2572
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2405
2573
|
$fault: "client",
|
|
2406
|
-
$metadata:
|
|
2574
|
+
$metadata: $metadata,
|
|
2407
2575
|
});
|
|
2408
2576
|
throw __decorateServiceException(response, parsedBody);
|
|
2409
2577
|
}
|
|
@@ -2428,7 +2596,7 @@ export var deserializeAws_json1_1UpdateLocationHdfsCommand = function (output, c
|
|
|
2428
2596
|
});
|
|
2429
2597
|
}); };
|
|
2430
2598
|
var deserializeAws_json1_1UpdateLocationHdfsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2431
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2599
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2432
2600
|
var _c;
|
|
2433
2601
|
return __generator(this, function (_d) {
|
|
2434
2602
|
switch (_d.label) {
|
|
@@ -2438,7 +2606,6 @@ var deserializeAws_json1_1UpdateLocationHdfsCommandError = function (output, con
|
|
|
2438
2606
|
return [4, parseBody(output.body, context)];
|
|
2439
2607
|
case 1:
|
|
2440
2608
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2441
|
-
errorCode = "UnknownError";
|
|
2442
2609
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2443
2610
|
_b = errorCode;
|
|
2444
2611
|
switch (_b) {
|
|
@@ -2454,10 +2621,12 @@ var deserializeAws_json1_1UpdateLocationHdfsCommandError = function (output, con
|
|
|
2454
2621
|
case 5: throw _d.sent();
|
|
2455
2622
|
case 6:
|
|
2456
2623
|
parsedBody = parsedOutput.body;
|
|
2624
|
+
$metadata = deserializeMetadata(output);
|
|
2625
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2457
2626
|
response = new __BaseException({
|
|
2458
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2627
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2459
2628
|
$fault: "client",
|
|
2460
|
-
$metadata:
|
|
2629
|
+
$metadata: $metadata,
|
|
2461
2630
|
});
|
|
2462
2631
|
throw __decorateServiceException(response, parsedBody);
|
|
2463
2632
|
}
|
|
@@ -2482,7 +2651,7 @@ export var deserializeAws_json1_1UpdateLocationNfsCommand = function (output, co
|
|
|
2482
2651
|
});
|
|
2483
2652
|
}); };
|
|
2484
2653
|
var deserializeAws_json1_1UpdateLocationNfsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2485
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2654
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2486
2655
|
var _c;
|
|
2487
2656
|
return __generator(this, function (_d) {
|
|
2488
2657
|
switch (_d.label) {
|
|
@@ -2492,7 +2661,6 @@ var deserializeAws_json1_1UpdateLocationNfsCommandError = function (output, cont
|
|
|
2492
2661
|
return [4, parseBody(output.body, context)];
|
|
2493
2662
|
case 1:
|
|
2494
2663
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2495
|
-
errorCode = "UnknownError";
|
|
2496
2664
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2497
2665
|
_b = errorCode;
|
|
2498
2666
|
switch (_b) {
|
|
@@ -2508,10 +2676,12 @@ var deserializeAws_json1_1UpdateLocationNfsCommandError = function (output, cont
|
|
|
2508
2676
|
case 5: throw _d.sent();
|
|
2509
2677
|
case 6:
|
|
2510
2678
|
parsedBody = parsedOutput.body;
|
|
2679
|
+
$metadata = deserializeMetadata(output);
|
|
2680
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2511
2681
|
response = new __BaseException({
|
|
2512
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2682
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2513
2683
|
$fault: "client",
|
|
2514
|
-
$metadata:
|
|
2684
|
+
$metadata: $metadata,
|
|
2515
2685
|
});
|
|
2516
2686
|
throw __decorateServiceException(response, parsedBody);
|
|
2517
2687
|
}
|
|
@@ -2536,7 +2706,7 @@ export var deserializeAws_json1_1UpdateLocationObjectStorageCommand = function (
|
|
|
2536
2706
|
});
|
|
2537
2707
|
}); };
|
|
2538
2708
|
var deserializeAws_json1_1UpdateLocationObjectStorageCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2539
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2709
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2540
2710
|
var _c;
|
|
2541
2711
|
return __generator(this, function (_d) {
|
|
2542
2712
|
switch (_d.label) {
|
|
@@ -2546,7 +2716,6 @@ var deserializeAws_json1_1UpdateLocationObjectStorageCommandError = function (ou
|
|
|
2546
2716
|
return [4, parseBody(output.body, context)];
|
|
2547
2717
|
case 1:
|
|
2548
2718
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2549
|
-
errorCode = "UnknownError";
|
|
2550
2719
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2551
2720
|
_b = errorCode;
|
|
2552
2721
|
switch (_b) {
|
|
@@ -2562,10 +2731,12 @@ var deserializeAws_json1_1UpdateLocationObjectStorageCommandError = function (ou
|
|
|
2562
2731
|
case 5: throw _d.sent();
|
|
2563
2732
|
case 6:
|
|
2564
2733
|
parsedBody = parsedOutput.body;
|
|
2734
|
+
$metadata = deserializeMetadata(output);
|
|
2735
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2565
2736
|
response = new __BaseException({
|
|
2566
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2737
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2567
2738
|
$fault: "client",
|
|
2568
|
-
$metadata:
|
|
2739
|
+
$metadata: $metadata,
|
|
2569
2740
|
});
|
|
2570
2741
|
throw __decorateServiceException(response, parsedBody);
|
|
2571
2742
|
}
|
|
@@ -2590,7 +2761,7 @@ export var deserializeAws_json1_1UpdateLocationSmbCommand = function (output, co
|
|
|
2590
2761
|
});
|
|
2591
2762
|
}); };
|
|
2592
2763
|
var deserializeAws_json1_1UpdateLocationSmbCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2593
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2764
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2594
2765
|
var _c;
|
|
2595
2766
|
return __generator(this, function (_d) {
|
|
2596
2767
|
switch (_d.label) {
|
|
@@ -2600,7 +2771,6 @@ var deserializeAws_json1_1UpdateLocationSmbCommandError = function (output, cont
|
|
|
2600
2771
|
return [4, parseBody(output.body, context)];
|
|
2601
2772
|
case 1:
|
|
2602
2773
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2603
|
-
errorCode = "UnknownError";
|
|
2604
2774
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2605
2775
|
_b = errorCode;
|
|
2606
2776
|
switch (_b) {
|
|
@@ -2616,10 +2786,12 @@ var deserializeAws_json1_1UpdateLocationSmbCommandError = function (output, cont
|
|
|
2616
2786
|
case 5: throw _d.sent();
|
|
2617
2787
|
case 6:
|
|
2618
2788
|
parsedBody = parsedOutput.body;
|
|
2789
|
+
$metadata = deserializeMetadata(output);
|
|
2790
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2619
2791
|
response = new __BaseException({
|
|
2620
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2792
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2621
2793
|
$fault: "client",
|
|
2622
|
-
$metadata:
|
|
2794
|
+
$metadata: $metadata,
|
|
2623
2795
|
});
|
|
2624
2796
|
throw __decorateServiceException(response, parsedBody);
|
|
2625
2797
|
}
|
|
@@ -2644,7 +2816,7 @@ export var deserializeAws_json1_1UpdateTaskCommand = function (output, context)
|
|
|
2644
2816
|
});
|
|
2645
2817
|
}); };
|
|
2646
2818
|
var deserializeAws_json1_1UpdateTaskCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2647
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2819
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2648
2820
|
var _c;
|
|
2649
2821
|
return __generator(this, function (_d) {
|
|
2650
2822
|
switch (_d.label) {
|
|
@@ -2654,7 +2826,6 @@ var deserializeAws_json1_1UpdateTaskCommandError = function (output, context) {
|
|
|
2654
2826
|
return [4, parseBody(output.body, context)];
|
|
2655
2827
|
case 1:
|
|
2656
2828
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2657
|
-
errorCode = "UnknownError";
|
|
2658
2829
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2659
2830
|
_b = errorCode;
|
|
2660
2831
|
switch (_b) {
|
|
@@ -2670,10 +2841,12 @@ var deserializeAws_json1_1UpdateTaskCommandError = function (output, context) {
|
|
|
2670
2841
|
case 5: throw _d.sent();
|
|
2671
2842
|
case 6:
|
|
2672
2843
|
parsedBody = parsedOutput.body;
|
|
2844
|
+
$metadata = deserializeMetadata(output);
|
|
2845
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2673
2846
|
response = new __BaseException({
|
|
2674
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2847
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2675
2848
|
$fault: "client",
|
|
2676
|
-
$metadata:
|
|
2849
|
+
$metadata: $metadata,
|
|
2677
2850
|
});
|
|
2678
2851
|
throw __decorateServiceException(response, parsedBody);
|
|
2679
2852
|
}
|
|
@@ -2698,7 +2871,7 @@ export var deserializeAws_json1_1UpdateTaskExecutionCommand = function (output,
|
|
|
2698
2871
|
});
|
|
2699
2872
|
}); };
|
|
2700
2873
|
var deserializeAws_json1_1UpdateTaskExecutionCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2701
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2874
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2702
2875
|
var _c;
|
|
2703
2876
|
return __generator(this, function (_d) {
|
|
2704
2877
|
switch (_d.label) {
|
|
@@ -2708,7 +2881,6 @@ var deserializeAws_json1_1UpdateTaskExecutionCommandError = function (output, co
|
|
|
2708
2881
|
return [4, parseBody(output.body, context)];
|
|
2709
2882
|
case 1:
|
|
2710
2883
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2711
|
-
errorCode = "UnknownError";
|
|
2712
2884
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2713
2885
|
_b = errorCode;
|
|
2714
2886
|
switch (_b) {
|
|
@@ -2724,10 +2896,12 @@ var deserializeAws_json1_1UpdateTaskExecutionCommandError = function (output, co
|
|
|
2724
2896
|
case 5: throw _d.sent();
|
|
2725
2897
|
case 6:
|
|
2726
2898
|
parsedBody = parsedOutput.body;
|
|
2899
|
+
$metadata = deserializeMetadata(output);
|
|
2900
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2727
2901
|
response = new __BaseException({
|
|
2728
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2902
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2729
2903
|
$fault: "client",
|
|
2730
|
-
$metadata:
|
|
2904
|
+
$metadata: $metadata,
|
|
2731
2905
|
});
|
|
2732
2906
|
throw __decorateServiceException(response, parsedBody);
|
|
2733
2907
|
}
|
|
@@ -2762,160 +2936,112 @@ var serializeAws_json1_1AgentArnList = function (input, context) {
|
|
|
2762
2936
|
});
|
|
2763
2937
|
};
|
|
2764
2938
|
var serializeAws_json1_1CancelTaskExecutionRequest = function (input, context) {
|
|
2765
|
-
return __assign({}, (input.TaskExecutionArn
|
|
2766
|
-
input.TaskExecutionArn !== null && { TaskExecutionArn: input.TaskExecutionArn }));
|
|
2939
|
+
return __assign({}, (input.TaskExecutionArn != null && { TaskExecutionArn: input.TaskExecutionArn }));
|
|
2767
2940
|
};
|
|
2768
2941
|
var serializeAws_json1_1CreateAgentRequest = function (input, context) {
|
|
2769
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.ActivationKey
|
|
2770
|
-
input.SecurityGroupArns !== null && {
|
|
2942
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.ActivationKey != null && { ActivationKey: input.ActivationKey })), (input.AgentName != null && { AgentName: input.AgentName })), (input.SecurityGroupArns != null && {
|
|
2771
2943
|
SecurityGroupArns: serializeAws_json1_1PLSecurityGroupArnList(input.SecurityGroupArns, context),
|
|
2772
|
-
})), (input.SubnetArns
|
|
2773
|
-
input.SubnetArns !== null && { SubnetArns: serializeAws_json1_1PLSubnetArnList(input.SubnetArns, context) })), (input.Tags !== undefined &&
|
|
2774
|
-
input.Tags !== null && { Tags: serializeAws_json1_1InputTagList(input.Tags, context) })), (input.VpcEndpointId !== undefined && input.VpcEndpointId !== null && { VpcEndpointId: input.VpcEndpointId }));
|
|
2944
|
+
})), (input.SubnetArns != null && { SubnetArns: serializeAws_json1_1PLSubnetArnList(input.SubnetArns, context) })), (input.Tags != null && { Tags: serializeAws_json1_1InputTagList(input.Tags, context) })), (input.VpcEndpointId != null && { VpcEndpointId: input.VpcEndpointId }));
|
|
2775
2945
|
};
|
|
2776
2946
|
var serializeAws_json1_1CreateLocationEfsRequest = function (input, context) {
|
|
2777
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AccessPointArn
|
|
2778
|
-
input.AccessPointArn !== null && { AccessPointArn: input.AccessPointArn })), (input.Ec2Config !== undefined &&
|
|
2779
|
-
input.Ec2Config !== null && { Ec2Config: serializeAws_json1_1Ec2Config(input.Ec2Config, context) })), (input.EfsFilesystemArn !== undefined &&
|
|
2780
|
-
input.EfsFilesystemArn !== null && { EfsFilesystemArn: input.EfsFilesystemArn })), (input.FileSystemAccessRoleArn !== undefined &&
|
|
2781
|
-
input.FileSystemAccessRoleArn !== null && { FileSystemAccessRoleArn: input.FileSystemAccessRoleArn })), (input.InTransitEncryption !== undefined &&
|
|
2782
|
-
input.InTransitEncryption !== null && { InTransitEncryption: input.InTransitEncryption })), (input.Subdirectory !== undefined && input.Subdirectory !== null && { Subdirectory: input.Subdirectory })), (input.Tags !== undefined &&
|
|
2783
|
-
input.Tags !== null && { Tags: serializeAws_json1_1InputTagList(input.Tags, context) }));
|
|
2947
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AccessPointArn != null && { AccessPointArn: input.AccessPointArn })), (input.Ec2Config != null && { Ec2Config: serializeAws_json1_1Ec2Config(input.Ec2Config, context) })), (input.EfsFilesystemArn != null && { EfsFilesystemArn: input.EfsFilesystemArn })), (input.FileSystemAccessRoleArn != null && { FileSystemAccessRoleArn: input.FileSystemAccessRoleArn })), (input.InTransitEncryption != null && { InTransitEncryption: input.InTransitEncryption })), (input.Subdirectory != null && { Subdirectory: input.Subdirectory })), (input.Tags != null && { Tags: serializeAws_json1_1InputTagList(input.Tags, context) }));
|
|
2784
2948
|
};
|
|
2785
2949
|
var serializeAws_json1_1CreateLocationFsxLustreRequest = function (input, context) {
|
|
2786
|
-
return __assign(__assign(__assign(__assign({}, (input.FsxFilesystemArn
|
|
2787
|
-
|
|
2788
|
-
|
|
2950
|
+
return __assign(__assign(__assign(__assign({}, (input.FsxFilesystemArn != null && { FsxFilesystemArn: input.FsxFilesystemArn })), (input.SecurityGroupArns != null && {
|
|
2951
|
+
SecurityGroupArns: serializeAws_json1_1Ec2SecurityGroupArnList(input.SecurityGroupArns, context),
|
|
2952
|
+
})), (input.Subdirectory != null && { Subdirectory: input.Subdirectory })), (input.Tags != null && { Tags: serializeAws_json1_1InputTagList(input.Tags, context) }));
|
|
2953
|
+
};
|
|
2954
|
+
var serializeAws_json1_1CreateLocationFsxOntapRequest = function (input, context) {
|
|
2955
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.Protocol != null && { Protocol: serializeAws_json1_1FsxProtocol(input.Protocol, context) })), (input.SecurityGroupArns != null && {
|
|
2789
2956
|
SecurityGroupArns: serializeAws_json1_1Ec2SecurityGroupArnList(input.SecurityGroupArns, context),
|
|
2790
|
-
})), (input.
|
|
2791
|
-
input.Tags !== null && { Tags: serializeAws_json1_1InputTagList(input.Tags, context) }));
|
|
2957
|
+
})), (input.StorageVirtualMachineArn != null && { StorageVirtualMachineArn: input.StorageVirtualMachineArn })), (input.Subdirectory != null && { Subdirectory: input.Subdirectory })), (input.Tags != null && { Tags: serializeAws_json1_1InputTagList(input.Tags, context) }));
|
|
2792
2958
|
};
|
|
2793
2959
|
var serializeAws_json1_1CreateLocationFsxOpenZfsRequest = function (input, context) {
|
|
2794
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.FsxFilesystemArn
|
|
2795
|
-
input.FsxFilesystemArn !== null && { FsxFilesystemArn: input.FsxFilesystemArn })), (input.Protocol !== undefined &&
|
|
2796
|
-
input.Protocol !== null && { Protocol: serializeAws_json1_1FsxProtocol(input.Protocol, context) })), (input.SecurityGroupArns !== undefined &&
|
|
2797
|
-
input.SecurityGroupArns !== null && {
|
|
2960
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.FsxFilesystemArn != null && { FsxFilesystemArn: input.FsxFilesystemArn })), (input.Protocol != null && { Protocol: serializeAws_json1_1FsxProtocol(input.Protocol, context) })), (input.SecurityGroupArns != null && {
|
|
2798
2961
|
SecurityGroupArns: serializeAws_json1_1Ec2SecurityGroupArnList(input.SecurityGroupArns, context),
|
|
2799
|
-
})), (input.Subdirectory
|
|
2800
|
-
input.Tags !== null && { Tags: serializeAws_json1_1InputTagList(input.Tags, context) }));
|
|
2962
|
+
})), (input.Subdirectory != null && { Subdirectory: input.Subdirectory })), (input.Tags != null && { Tags: serializeAws_json1_1InputTagList(input.Tags, context) }));
|
|
2801
2963
|
};
|
|
2802
2964
|
var serializeAws_json1_1CreateLocationFsxWindowsRequest = function (input, context) {
|
|
2803
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Domain
|
|
2804
|
-
input.FsxFilesystemArn !== null && { FsxFilesystemArn: input.FsxFilesystemArn })), (input.Password !== undefined && input.Password !== null && { Password: input.Password })), (input.SecurityGroupArns !== undefined &&
|
|
2805
|
-
input.SecurityGroupArns !== null && {
|
|
2965
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Domain != null && { Domain: input.Domain })), (input.FsxFilesystemArn != null && { FsxFilesystemArn: input.FsxFilesystemArn })), (input.Password != null && { Password: input.Password })), (input.SecurityGroupArns != null && {
|
|
2806
2966
|
SecurityGroupArns: serializeAws_json1_1Ec2SecurityGroupArnList(input.SecurityGroupArns, context),
|
|
2807
|
-
})), (input.Subdirectory
|
|
2808
|
-
input.Tags !== null && { Tags: serializeAws_json1_1InputTagList(input.Tags, context) })), (input.User !== undefined && input.User !== null && { User: input.User }));
|
|
2967
|
+
})), (input.Subdirectory != null && { Subdirectory: input.Subdirectory })), (input.Tags != null && { Tags: serializeAws_json1_1InputTagList(input.Tags, context) })), (input.User != null && { User: input.User }));
|
|
2809
2968
|
};
|
|
2810
2969
|
var serializeAws_json1_1CreateLocationHdfsRequest = function (input, context) {
|
|
2811
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AgentArns
|
|
2812
|
-
input.AgentArns !== null && { AgentArns: serializeAws_json1_1AgentArnList(input.AgentArns, context) })), (input.AuthenticationType !== undefined &&
|
|
2813
|
-
input.AuthenticationType !== null && { AuthenticationType: input.AuthenticationType })), (input.BlockSize !== undefined && input.BlockSize !== null && { BlockSize: input.BlockSize })), (input.KerberosKeytab !== undefined &&
|
|
2814
|
-
input.KerberosKeytab !== null && { KerberosKeytab: context.base64Encoder(input.KerberosKeytab) })), (input.KerberosKrb5Conf !== undefined &&
|
|
2815
|
-
input.KerberosKrb5Conf !== null && { KerberosKrb5Conf: context.base64Encoder(input.KerberosKrb5Conf) })), (input.KerberosPrincipal !== undefined &&
|
|
2816
|
-
input.KerberosPrincipal !== null && { KerberosPrincipal: input.KerberosPrincipal })), (input.KmsKeyProviderUri !== undefined &&
|
|
2817
|
-
input.KmsKeyProviderUri !== null && { KmsKeyProviderUri: input.KmsKeyProviderUri })), (input.NameNodes !== undefined &&
|
|
2818
|
-
input.NameNodes !== null && { NameNodes: serializeAws_json1_1HdfsNameNodeList(input.NameNodes, context) })), (input.QopConfiguration !== undefined &&
|
|
2819
|
-
input.QopConfiguration !== null && {
|
|
2970
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AgentArns != null && { AgentArns: serializeAws_json1_1AgentArnList(input.AgentArns, context) })), (input.AuthenticationType != null && { AuthenticationType: input.AuthenticationType })), (input.BlockSize != null && { BlockSize: input.BlockSize })), (input.KerberosKeytab != null && { KerberosKeytab: context.base64Encoder(input.KerberosKeytab) })), (input.KerberosKrb5Conf != null && { KerberosKrb5Conf: context.base64Encoder(input.KerberosKrb5Conf) })), (input.KerberosPrincipal != null && { KerberosPrincipal: input.KerberosPrincipal })), (input.KmsKeyProviderUri != null && { KmsKeyProviderUri: input.KmsKeyProviderUri })), (input.NameNodes != null && { NameNodes: serializeAws_json1_1HdfsNameNodeList(input.NameNodes, context) })), (input.QopConfiguration != null && {
|
|
2820
2971
|
QopConfiguration: serializeAws_json1_1QopConfiguration(input.QopConfiguration, context),
|
|
2821
|
-
})), (input.ReplicationFactor
|
|
2822
|
-
input.ReplicationFactor !== null && { ReplicationFactor: input.ReplicationFactor })), (input.SimpleUser !== undefined && input.SimpleUser !== null && { SimpleUser: input.SimpleUser })), (input.Subdirectory !== undefined && input.Subdirectory !== null && { Subdirectory: input.Subdirectory })), (input.Tags !== undefined &&
|
|
2823
|
-
input.Tags !== null && { Tags: serializeAws_json1_1InputTagList(input.Tags, context) }));
|
|
2972
|
+
})), (input.ReplicationFactor != null && { ReplicationFactor: input.ReplicationFactor })), (input.SimpleUser != null && { SimpleUser: input.SimpleUser })), (input.Subdirectory != null && { Subdirectory: input.Subdirectory })), (input.Tags != null && { Tags: serializeAws_json1_1InputTagList(input.Tags, context) }));
|
|
2824
2973
|
};
|
|
2825
2974
|
var serializeAws_json1_1CreateLocationNfsRequest = function (input, context) {
|
|
2826
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.MountOptions
|
|
2827
|
-
input.MountOptions !== null && {
|
|
2975
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.MountOptions != null && {
|
|
2828
2976
|
MountOptions: serializeAws_json1_1NfsMountOptions(input.MountOptions, context),
|
|
2829
|
-
})), (input.OnPremConfig
|
|
2830
|
-
input.OnPremConfig !== null && { OnPremConfig: serializeAws_json1_1OnPremConfig(input.OnPremConfig, context) })), (input.ServerHostname !== undefined &&
|
|
2831
|
-
input.ServerHostname !== null && { ServerHostname: input.ServerHostname })), (input.Subdirectory !== undefined && input.Subdirectory !== null && { Subdirectory: input.Subdirectory })), (input.Tags !== undefined &&
|
|
2832
|
-
input.Tags !== null && { Tags: serializeAws_json1_1InputTagList(input.Tags, context) }));
|
|
2977
|
+
})), (input.OnPremConfig != null && { OnPremConfig: serializeAws_json1_1OnPremConfig(input.OnPremConfig, context) })), (input.ServerHostname != null && { ServerHostname: input.ServerHostname })), (input.Subdirectory != null && { Subdirectory: input.Subdirectory })), (input.Tags != null && { Tags: serializeAws_json1_1InputTagList(input.Tags, context) }));
|
|
2833
2978
|
};
|
|
2834
2979
|
var serializeAws_json1_1CreateLocationObjectStorageRequest = function (input, context) {
|
|
2835
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AccessKey
|
|
2836
|
-
input.AgentArns !== null && { AgentArns: serializeAws_json1_1AgentArnList(input.AgentArns, context) })), (input.BucketName !== undefined && input.BucketName !== null && { BucketName: input.BucketName })), (input.SecretKey !== undefined && input.SecretKey !== null && { SecretKey: input.SecretKey })), (input.ServerHostname !== undefined &&
|
|
2837
|
-
input.ServerHostname !== null && { ServerHostname: input.ServerHostname })), (input.ServerPort !== undefined && input.ServerPort !== null && { ServerPort: input.ServerPort })), (input.ServerProtocol !== undefined &&
|
|
2838
|
-
input.ServerProtocol !== null && { ServerProtocol: input.ServerProtocol })), (input.Subdirectory !== undefined && input.Subdirectory !== null && { Subdirectory: input.Subdirectory })), (input.Tags !== undefined &&
|
|
2839
|
-
input.Tags !== null && { Tags: serializeAws_json1_1InputTagList(input.Tags, context) }));
|
|
2980
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AccessKey != null && { AccessKey: input.AccessKey })), (input.AgentArns != null && { AgentArns: serializeAws_json1_1AgentArnList(input.AgentArns, context) })), (input.BucketName != null && { BucketName: input.BucketName })), (input.SecretKey != null && { SecretKey: input.SecretKey })), (input.ServerHostname != null && { ServerHostname: input.ServerHostname })), (input.ServerPort != null && { ServerPort: input.ServerPort })), (input.ServerProtocol != null && { ServerProtocol: input.ServerProtocol })), (input.Subdirectory != null && { Subdirectory: input.Subdirectory })), (input.Tags != null && { Tags: serializeAws_json1_1InputTagList(input.Tags, context) }));
|
|
2840
2981
|
};
|
|
2841
2982
|
var serializeAws_json1_1CreateLocationS3Request = function (input, context) {
|
|
2842
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.AgentArns
|
|
2843
|
-
input.AgentArns !== null && { AgentArns: serializeAws_json1_1AgentArnList(input.AgentArns, context) })), (input.S3BucketArn !== undefined && input.S3BucketArn !== null && { S3BucketArn: input.S3BucketArn })), (input.S3Config !== undefined &&
|
|
2844
|
-
input.S3Config !== null && { S3Config: serializeAws_json1_1S3Config(input.S3Config, context) })), (input.S3StorageClass !== undefined &&
|
|
2845
|
-
input.S3StorageClass !== null && { S3StorageClass: input.S3StorageClass })), (input.Subdirectory !== undefined && input.Subdirectory !== null && { Subdirectory: input.Subdirectory })), (input.Tags !== undefined &&
|
|
2846
|
-
input.Tags !== null && { Tags: serializeAws_json1_1InputTagList(input.Tags, context) }));
|
|
2983
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.AgentArns != null && { AgentArns: serializeAws_json1_1AgentArnList(input.AgentArns, context) })), (input.S3BucketArn != null && { S3BucketArn: input.S3BucketArn })), (input.S3Config != null && { S3Config: serializeAws_json1_1S3Config(input.S3Config, context) })), (input.S3StorageClass != null && { S3StorageClass: input.S3StorageClass })), (input.Subdirectory != null && { Subdirectory: input.Subdirectory })), (input.Tags != null && { Tags: serializeAws_json1_1InputTagList(input.Tags, context) }));
|
|
2847
2984
|
};
|
|
2848
2985
|
var serializeAws_json1_1CreateLocationSmbRequest = function (input, context) {
|
|
2849
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AgentArns
|
|
2850
|
-
input.AgentArns !== null && { AgentArns: serializeAws_json1_1AgentArnList(input.AgentArns, context) })), (input.Domain !== undefined && input.Domain !== null && { Domain: input.Domain })), (input.MountOptions !== undefined &&
|
|
2851
|
-
input.MountOptions !== null && {
|
|
2986
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AgentArns != null && { AgentArns: serializeAws_json1_1AgentArnList(input.AgentArns, context) })), (input.Domain != null && { Domain: input.Domain })), (input.MountOptions != null && {
|
|
2852
2987
|
MountOptions: serializeAws_json1_1SmbMountOptions(input.MountOptions, context),
|
|
2853
|
-
})), (input.Password
|
|
2854
|
-
input.ServerHostname !== null && { ServerHostname: input.ServerHostname })), (input.Subdirectory !== undefined && input.Subdirectory !== null && { Subdirectory: input.Subdirectory })), (input.Tags !== undefined &&
|
|
2855
|
-
input.Tags !== null && { Tags: serializeAws_json1_1InputTagList(input.Tags, context) })), (input.User !== undefined && input.User !== null && { User: input.User }));
|
|
2988
|
+
})), (input.Password != null && { Password: input.Password })), (input.ServerHostname != null && { ServerHostname: input.ServerHostname })), (input.Subdirectory != null && { Subdirectory: input.Subdirectory })), (input.Tags != null && { Tags: serializeAws_json1_1InputTagList(input.Tags, context) })), (input.User != null && { User: input.User }));
|
|
2856
2989
|
};
|
|
2857
2990
|
var serializeAws_json1_1CreateTaskRequest = function (input, context) {
|
|
2858
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CloudWatchLogGroupArn
|
|
2859
|
-
input.CloudWatchLogGroupArn !== null && { CloudWatchLogGroupArn: input.CloudWatchLogGroupArn })), (input.DestinationLocationArn !== undefined &&
|
|
2860
|
-
input.DestinationLocationArn !== null && { DestinationLocationArn: input.DestinationLocationArn })), (input.Excludes !== undefined &&
|
|
2861
|
-
input.Excludes !== null && { Excludes: serializeAws_json1_1FilterList(input.Excludes, context) })), (input.Includes !== undefined &&
|
|
2862
|
-
input.Includes !== null && { Includes: serializeAws_json1_1FilterList(input.Includes, context) })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.Options !== undefined &&
|
|
2863
|
-
input.Options !== null && { Options: serializeAws_json1_1Options(input.Options, context) })), (input.Schedule !== undefined &&
|
|
2864
|
-
input.Schedule !== null && { Schedule: serializeAws_json1_1TaskSchedule(input.Schedule, context) })), (input.SourceLocationArn !== undefined &&
|
|
2865
|
-
input.SourceLocationArn !== null && { SourceLocationArn: input.SourceLocationArn })), (input.Tags !== undefined &&
|
|
2866
|
-
input.Tags !== null && { Tags: serializeAws_json1_1InputTagList(input.Tags, context) }));
|
|
2991
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CloudWatchLogGroupArn != null && { CloudWatchLogGroupArn: input.CloudWatchLogGroupArn })), (input.DestinationLocationArn != null && { DestinationLocationArn: input.DestinationLocationArn })), (input.Excludes != null && { Excludes: serializeAws_json1_1FilterList(input.Excludes, context) })), (input.Includes != null && { Includes: serializeAws_json1_1FilterList(input.Includes, context) })), (input.Name != null && { Name: input.Name })), (input.Options != null && { Options: serializeAws_json1_1Options(input.Options, context) })), (input.Schedule != null && { Schedule: serializeAws_json1_1TaskSchedule(input.Schedule, context) })), (input.SourceLocationArn != null && { SourceLocationArn: input.SourceLocationArn })), (input.Tags != null && { Tags: serializeAws_json1_1InputTagList(input.Tags, context) }));
|
|
2867
2992
|
};
|
|
2868
2993
|
var serializeAws_json1_1DeleteAgentRequest = function (input, context) {
|
|
2869
|
-
return __assign({}, (input.AgentArn
|
|
2994
|
+
return __assign({}, (input.AgentArn != null && { AgentArn: input.AgentArn }));
|
|
2870
2995
|
};
|
|
2871
2996
|
var serializeAws_json1_1DeleteLocationRequest = function (input, context) {
|
|
2872
|
-
return __assign({}, (input.LocationArn
|
|
2997
|
+
return __assign({}, (input.LocationArn != null && { LocationArn: input.LocationArn }));
|
|
2873
2998
|
};
|
|
2874
2999
|
var serializeAws_json1_1DeleteTaskRequest = function (input, context) {
|
|
2875
|
-
return __assign({}, (input.TaskArn
|
|
3000
|
+
return __assign({}, (input.TaskArn != null && { TaskArn: input.TaskArn }));
|
|
2876
3001
|
};
|
|
2877
3002
|
var serializeAws_json1_1DescribeAgentRequest = function (input, context) {
|
|
2878
|
-
return __assign({}, (input.AgentArn
|
|
3003
|
+
return __assign({}, (input.AgentArn != null && { AgentArn: input.AgentArn }));
|
|
2879
3004
|
};
|
|
2880
3005
|
var serializeAws_json1_1DescribeLocationEfsRequest = function (input, context) {
|
|
2881
|
-
return __assign({}, (input.LocationArn
|
|
3006
|
+
return __assign({}, (input.LocationArn != null && { LocationArn: input.LocationArn }));
|
|
2882
3007
|
};
|
|
2883
3008
|
var serializeAws_json1_1DescribeLocationFsxLustreRequest = function (input, context) {
|
|
2884
|
-
return __assign({}, (input.LocationArn
|
|
3009
|
+
return __assign({}, (input.LocationArn != null && { LocationArn: input.LocationArn }));
|
|
3010
|
+
};
|
|
3011
|
+
var serializeAws_json1_1DescribeLocationFsxOntapRequest = function (input, context) {
|
|
3012
|
+
return __assign({}, (input.LocationArn != null && { LocationArn: input.LocationArn }));
|
|
2885
3013
|
};
|
|
2886
3014
|
var serializeAws_json1_1DescribeLocationFsxOpenZfsRequest = function (input, context) {
|
|
2887
|
-
return __assign({}, (input.LocationArn
|
|
3015
|
+
return __assign({}, (input.LocationArn != null && { LocationArn: input.LocationArn }));
|
|
2888
3016
|
};
|
|
2889
3017
|
var serializeAws_json1_1DescribeLocationFsxWindowsRequest = function (input, context) {
|
|
2890
|
-
return __assign({}, (input.LocationArn
|
|
3018
|
+
return __assign({}, (input.LocationArn != null && { LocationArn: input.LocationArn }));
|
|
2891
3019
|
};
|
|
2892
3020
|
var serializeAws_json1_1DescribeLocationHdfsRequest = function (input, context) {
|
|
2893
|
-
return __assign({}, (input.LocationArn
|
|
3021
|
+
return __assign({}, (input.LocationArn != null && { LocationArn: input.LocationArn }));
|
|
2894
3022
|
};
|
|
2895
3023
|
var serializeAws_json1_1DescribeLocationNfsRequest = function (input, context) {
|
|
2896
|
-
return __assign({}, (input.LocationArn
|
|
3024
|
+
return __assign({}, (input.LocationArn != null && { LocationArn: input.LocationArn }));
|
|
2897
3025
|
};
|
|
2898
3026
|
var serializeAws_json1_1DescribeLocationObjectStorageRequest = function (input, context) {
|
|
2899
|
-
return __assign({}, (input.LocationArn
|
|
3027
|
+
return __assign({}, (input.LocationArn != null && { LocationArn: input.LocationArn }));
|
|
2900
3028
|
};
|
|
2901
3029
|
var serializeAws_json1_1DescribeLocationS3Request = function (input, context) {
|
|
2902
|
-
return __assign({}, (input.LocationArn
|
|
3030
|
+
return __assign({}, (input.LocationArn != null && { LocationArn: input.LocationArn }));
|
|
2903
3031
|
};
|
|
2904
3032
|
var serializeAws_json1_1DescribeLocationSmbRequest = function (input, context) {
|
|
2905
|
-
return __assign({}, (input.LocationArn
|
|
3033
|
+
return __assign({}, (input.LocationArn != null && { LocationArn: input.LocationArn }));
|
|
2906
3034
|
};
|
|
2907
3035
|
var serializeAws_json1_1DescribeTaskExecutionRequest = function (input, context) {
|
|
2908
|
-
return __assign({}, (input.TaskExecutionArn
|
|
2909
|
-
input.TaskExecutionArn !== null && { TaskExecutionArn: input.TaskExecutionArn }));
|
|
3036
|
+
return __assign({}, (input.TaskExecutionArn != null && { TaskExecutionArn: input.TaskExecutionArn }));
|
|
2910
3037
|
};
|
|
2911
3038
|
var serializeAws_json1_1DescribeTaskRequest = function (input, context) {
|
|
2912
|
-
return __assign({}, (input.TaskArn
|
|
3039
|
+
return __assign({}, (input.TaskArn != null && { TaskArn: input.TaskArn }));
|
|
2913
3040
|
};
|
|
2914
3041
|
var serializeAws_json1_1Ec2Config = function (input, context) {
|
|
2915
|
-
return __assign(__assign({}, (input.SecurityGroupArns
|
|
2916
|
-
input.SecurityGroupArns !== null && {
|
|
3042
|
+
return __assign(__assign({}, (input.SecurityGroupArns != null && {
|
|
2917
3043
|
SecurityGroupArns: serializeAws_json1_1Ec2SecurityGroupArnList(input.SecurityGroupArns, context),
|
|
2918
|
-
})), (input.SubnetArn
|
|
3044
|
+
})), (input.SubnetArn != null && { SubnetArn: input.SubnetArn }));
|
|
2919
3045
|
};
|
|
2920
3046
|
var serializeAws_json1_1Ec2SecurityGroupArnList = function (input, context) {
|
|
2921
3047
|
return input
|
|
@@ -2938,7 +3064,7 @@ var serializeAws_json1_1FilterList = function (input, context) {
|
|
|
2938
3064
|
});
|
|
2939
3065
|
};
|
|
2940
3066
|
var serializeAws_json1_1FilterRule = function (input, context) {
|
|
2941
|
-
return __assign(__assign({}, (input.FilterType
|
|
3067
|
+
return __assign(__assign({}, (input.FilterType != null && { FilterType: input.FilterType })), (input.Value != null && { Value: input.Value }));
|
|
2942
3068
|
};
|
|
2943
3069
|
var serializeAws_json1_1FilterValues = function (input, context) {
|
|
2944
3070
|
return input
|
|
@@ -2951,17 +3077,20 @@ var serializeAws_json1_1FilterValues = function (input, context) {
|
|
|
2951
3077
|
});
|
|
2952
3078
|
};
|
|
2953
3079
|
var serializeAws_json1_1FsxProtocol = function (input, context) {
|
|
2954
|
-
return __assign({}, (input.NFS
|
|
2955
|
-
input.NFS !== null && { NFS: serializeAws_json1_1FsxProtocolNfs(input.NFS, context) }));
|
|
3080
|
+
return __assign(__assign({}, (input.NFS != null && { NFS: serializeAws_json1_1FsxProtocolNfs(input.NFS, context) })), (input.SMB != null && { SMB: serializeAws_json1_1FsxProtocolSmb(input.SMB, context) }));
|
|
2956
3081
|
};
|
|
2957
3082
|
var serializeAws_json1_1FsxProtocolNfs = function (input, context) {
|
|
2958
|
-
return __assign({}, (input.MountOptions
|
|
2959
|
-
input.MountOptions !== null && {
|
|
3083
|
+
return __assign({}, (input.MountOptions != null && {
|
|
2960
3084
|
MountOptions: serializeAws_json1_1NfsMountOptions(input.MountOptions, context),
|
|
2961
3085
|
}));
|
|
2962
3086
|
};
|
|
3087
|
+
var serializeAws_json1_1FsxProtocolSmb = function (input, context) {
|
|
3088
|
+
return __assign(__assign(__assign(__assign({}, (input.Domain != null && { Domain: input.Domain })), (input.MountOptions != null && {
|
|
3089
|
+
MountOptions: serializeAws_json1_1SmbMountOptions(input.MountOptions, context),
|
|
3090
|
+
})), (input.Password != null && { Password: input.Password })), (input.User != null && { User: input.User }));
|
|
3091
|
+
};
|
|
2963
3092
|
var serializeAws_json1_1HdfsNameNode = function (input, context) {
|
|
2964
|
-
return __assign(__assign({}, (input.Hostname
|
|
3093
|
+
return __assign(__assign({}, (input.Hostname != null && { Hostname: input.Hostname })), (input.Port != null && { Port: input.Port }));
|
|
2965
3094
|
};
|
|
2966
3095
|
var serializeAws_json1_1HdfsNameNodeList = function (input, context) {
|
|
2967
3096
|
return input
|
|
@@ -2984,25 +3113,22 @@ var serializeAws_json1_1InputTagList = function (input, context) {
|
|
|
2984
3113
|
});
|
|
2985
3114
|
};
|
|
2986
3115
|
var serializeAws_json1_1ListAgentsRequest = function (input, context) {
|
|
2987
|
-
return __assign(__assign({}, (input.MaxResults
|
|
3116
|
+
return __assign(__assign({}, (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
2988
3117
|
};
|
|
2989
3118
|
var serializeAws_json1_1ListLocationsRequest = function (input, context) {
|
|
2990
|
-
return __assign(__assign(__assign({}, (input.Filters
|
|
2991
|
-
input.Filters !== null && { Filters: serializeAws_json1_1LocationFilters(input.Filters, context) })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }));
|
|
3119
|
+
return __assign(__assign(__assign({}, (input.Filters != null && { Filters: serializeAws_json1_1LocationFilters(input.Filters, context) })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
2992
3120
|
};
|
|
2993
3121
|
var serializeAws_json1_1ListTagsForResourceRequest = function (input, context) {
|
|
2994
|
-
return __assign(__assign(__assign({}, (input.MaxResults
|
|
3122
|
+
return __assign(__assign(__assign({}, (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.ResourceArn != null && { ResourceArn: input.ResourceArn }));
|
|
2995
3123
|
};
|
|
2996
3124
|
var serializeAws_json1_1ListTaskExecutionsRequest = function (input, context) {
|
|
2997
|
-
return __assign(__assign(__assign({}, (input.MaxResults
|
|
3125
|
+
return __assign(__assign(__assign({}, (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.TaskArn != null && { TaskArn: input.TaskArn }));
|
|
2998
3126
|
};
|
|
2999
3127
|
var serializeAws_json1_1ListTasksRequest = function (input, context) {
|
|
3000
|
-
return __assign(__assign(__assign({}, (input.Filters
|
|
3001
|
-
input.Filters !== null && { Filters: serializeAws_json1_1TaskFilters(input.Filters, context) })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }));
|
|
3128
|
+
return __assign(__assign(__assign({}, (input.Filters != null && { Filters: serializeAws_json1_1TaskFilters(input.Filters, context) })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
3002
3129
|
};
|
|
3003
3130
|
var serializeAws_json1_1LocationFilter = function (input, context) {
|
|
3004
|
-
return __assign(__assign(__assign({}, (input.Name
|
|
3005
|
-
input.Values !== null && { Values: serializeAws_json1_1FilterValues(input.Values, context) }));
|
|
3131
|
+
return __assign(__assign(__assign({}, (input.Name != null && { Name: input.Name })), (input.Operator != null && { Operator: input.Operator })), (input.Values != null && { Values: serializeAws_json1_1FilterValues(input.Values, context) }));
|
|
3006
3132
|
};
|
|
3007
3133
|
var serializeAws_json1_1LocationFilters = function (input, context) {
|
|
3008
3134
|
return input
|
|
@@ -3015,19 +3141,15 @@ var serializeAws_json1_1LocationFilters = function (input, context) {
|
|
|
3015
3141
|
});
|
|
3016
3142
|
};
|
|
3017
3143
|
var serializeAws_json1_1NfsMountOptions = function (input, context) {
|
|
3018
|
-
return __assign({}, (input.Version
|
|
3144
|
+
return __assign({}, (input.Version != null && { Version: input.Version }));
|
|
3019
3145
|
};
|
|
3020
3146
|
var serializeAws_json1_1OnPremConfig = function (input, context) {
|
|
3021
|
-
return __assign({}, (input.AgentArns
|
|
3022
|
-
input.AgentArns !== null && { AgentArns: serializeAws_json1_1AgentArnList(input.AgentArns, context) }));
|
|
3147
|
+
return __assign({}, (input.AgentArns != null && { AgentArns: serializeAws_json1_1AgentArnList(input.AgentArns, context) }));
|
|
3023
3148
|
};
|
|
3024
3149
|
var serializeAws_json1_1Options = function (input, context) {
|
|
3025
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Atime
|
|
3026
|
-
|
|
3027
|
-
|
|
3028
|
-
input.PreserveDeletedFiles !== null && { PreserveDeletedFiles: input.PreserveDeletedFiles })), (input.PreserveDevices !== undefined &&
|
|
3029
|
-
input.PreserveDevices !== null && { PreserveDevices: input.PreserveDevices })), (input.SecurityDescriptorCopyFlags !== undefined &&
|
|
3030
|
-
input.SecurityDescriptorCopyFlags !== null && { SecurityDescriptorCopyFlags: input.SecurityDescriptorCopyFlags })), (input.TaskQueueing !== undefined && input.TaskQueueing !== null && { TaskQueueing: input.TaskQueueing })), (input.TransferMode !== undefined && input.TransferMode !== null && { TransferMode: input.TransferMode })), (input.Uid !== undefined && input.Uid !== null && { Uid: input.Uid })), (input.VerifyMode !== undefined && input.VerifyMode !== null && { VerifyMode: input.VerifyMode }));
|
|
3150
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Atime != null && { Atime: input.Atime })), (input.BytesPerSecond != null && { BytesPerSecond: input.BytesPerSecond })), (input.Gid != null && { Gid: input.Gid })), (input.LogLevel != null && { LogLevel: input.LogLevel })), (input.Mtime != null && { Mtime: input.Mtime })), (input.ObjectTags != null && { ObjectTags: input.ObjectTags })), (input.OverwriteMode != null && { OverwriteMode: input.OverwriteMode })), (input.PosixPermissions != null && { PosixPermissions: input.PosixPermissions })), (input.PreserveDeletedFiles != null && { PreserveDeletedFiles: input.PreserveDeletedFiles })), (input.PreserveDevices != null && { PreserveDevices: input.PreserveDevices })), (input.SecurityDescriptorCopyFlags != null && {
|
|
3151
|
+
SecurityDescriptorCopyFlags: input.SecurityDescriptorCopyFlags,
|
|
3152
|
+
})), (input.TaskQueueing != null && { TaskQueueing: input.TaskQueueing })), (input.TransferMode != null && { TransferMode: input.TransferMode })), (input.Uid != null && { Uid: input.Uid })), (input.VerifyMode != null && { VerifyMode: input.VerifyMode }));
|
|
3031
3153
|
};
|
|
3032
3154
|
var serializeAws_json1_1PLSecurityGroupArnList = function (input, context) {
|
|
3033
3155
|
return input
|
|
@@ -3050,23 +3172,18 @@ var serializeAws_json1_1PLSubnetArnList = function (input, context) {
|
|
|
3050
3172
|
});
|
|
3051
3173
|
};
|
|
3052
3174
|
var serializeAws_json1_1QopConfiguration = function (input, context) {
|
|
3053
|
-
return __assign(__assign({}, (input.DataTransferProtection
|
|
3054
|
-
input.DataTransferProtection !== null && { DataTransferProtection: input.DataTransferProtection })), (input.RpcProtection !== undefined && input.RpcProtection !== null && { RpcProtection: input.RpcProtection }));
|
|
3175
|
+
return __assign(__assign({}, (input.DataTransferProtection != null && { DataTransferProtection: input.DataTransferProtection })), (input.RpcProtection != null && { RpcProtection: input.RpcProtection }));
|
|
3055
3176
|
};
|
|
3056
3177
|
var serializeAws_json1_1S3Config = function (input, context) {
|
|
3057
|
-
return __assign({}, (input.BucketAccessRoleArn
|
|
3058
|
-
input.BucketAccessRoleArn !== null && { BucketAccessRoleArn: input.BucketAccessRoleArn }));
|
|
3178
|
+
return __assign({}, (input.BucketAccessRoleArn != null && { BucketAccessRoleArn: input.BucketAccessRoleArn }));
|
|
3059
3179
|
};
|
|
3060
3180
|
var serializeAws_json1_1SmbMountOptions = function (input, context) {
|
|
3061
|
-
return __assign({}, (input.Version
|
|
3181
|
+
return __assign({}, (input.Version != null && { Version: input.Version }));
|
|
3062
3182
|
};
|
|
3063
3183
|
var serializeAws_json1_1StartTaskExecutionRequest = function (input, context) {
|
|
3064
|
-
return __assign(__assign(__assign(__assign({}, (input.Excludes
|
|
3065
|
-
input.Excludes !== null && { Excludes: serializeAws_json1_1FilterList(input.Excludes, context) })), (input.Includes !== undefined &&
|
|
3066
|
-
input.Includes !== null && { Includes: serializeAws_json1_1FilterList(input.Includes, context) })), (input.OverrideOptions !== undefined &&
|
|
3067
|
-
input.OverrideOptions !== null && {
|
|
3184
|
+
return __assign(__assign(__assign(__assign({}, (input.Excludes != null && { Excludes: serializeAws_json1_1FilterList(input.Excludes, context) })), (input.Includes != null && { Includes: serializeAws_json1_1FilterList(input.Includes, context) })), (input.OverrideOptions != null && {
|
|
3068
3185
|
OverrideOptions: serializeAws_json1_1Options(input.OverrideOptions, context),
|
|
3069
|
-
})), (input.TaskArn
|
|
3186
|
+
})), (input.TaskArn != null && { TaskArn: input.TaskArn }));
|
|
3070
3187
|
};
|
|
3071
3188
|
var serializeAws_json1_1TagKeyList = function (input, context) {
|
|
3072
3189
|
return input
|
|
@@ -3079,15 +3196,13 @@ var serializeAws_json1_1TagKeyList = function (input, context) {
|
|
|
3079
3196
|
});
|
|
3080
3197
|
};
|
|
3081
3198
|
var serializeAws_json1_1TagListEntry = function (input, context) {
|
|
3082
|
-
return __assign(__assign({}, (input.Key
|
|
3199
|
+
return __assign(__assign({}, (input.Key != null && { Key: input.Key })), (input.Value != null && { Value: input.Value }));
|
|
3083
3200
|
};
|
|
3084
3201
|
var serializeAws_json1_1TagResourceRequest = function (input, context) {
|
|
3085
|
-
return __assign(__assign({}, (input.ResourceArn
|
|
3086
|
-
input.Tags !== null && { Tags: serializeAws_json1_1InputTagList(input.Tags, context) }));
|
|
3202
|
+
return __assign(__assign({}, (input.ResourceArn != null && { ResourceArn: input.ResourceArn })), (input.Tags != null && { Tags: serializeAws_json1_1InputTagList(input.Tags, context) }));
|
|
3087
3203
|
};
|
|
3088
3204
|
var serializeAws_json1_1TaskFilter = function (input, context) {
|
|
3089
|
-
return __assign(__assign(__assign({}, (input.Name
|
|
3090
|
-
input.Values !== null && { Values: serializeAws_json1_1FilterValues(input.Values, context) }));
|
|
3205
|
+
return __assign(__assign(__assign({}, (input.Name != null && { Name: input.Name })), (input.Operator != null && { Operator: input.Operator })), (input.Values != null && { Values: serializeAws_json1_1FilterValues(input.Values, context) }));
|
|
3091
3206
|
};
|
|
3092
3207
|
var serializeAws_json1_1TaskFilters = function (input, context) {
|
|
3093
3208
|
return input
|
|
@@ -3100,61 +3215,37 @@ var serializeAws_json1_1TaskFilters = function (input, context) {
|
|
|
3100
3215
|
});
|
|
3101
3216
|
};
|
|
3102
3217
|
var serializeAws_json1_1TaskSchedule = function (input, context) {
|
|
3103
|
-
return __assign({}, (input.ScheduleExpression
|
|
3104
|
-
input.ScheduleExpression !== null && { ScheduleExpression: input.ScheduleExpression }));
|
|
3218
|
+
return __assign({}, (input.ScheduleExpression != null && { ScheduleExpression: input.ScheduleExpression }));
|
|
3105
3219
|
};
|
|
3106
3220
|
var serializeAws_json1_1UntagResourceRequest = function (input, context) {
|
|
3107
|
-
return __assign(__assign({}, (input.Keys
|
|
3108
|
-
input.Keys !== null && { Keys: serializeAws_json1_1TagKeyList(input.Keys, context) })), (input.ResourceArn !== undefined && input.ResourceArn !== null && { ResourceArn: input.ResourceArn }));
|
|
3221
|
+
return __assign(__assign({}, (input.Keys != null && { Keys: serializeAws_json1_1TagKeyList(input.Keys, context) })), (input.ResourceArn != null && { ResourceArn: input.ResourceArn }));
|
|
3109
3222
|
};
|
|
3110
3223
|
var serializeAws_json1_1UpdateAgentRequest = function (input, context) {
|
|
3111
|
-
return __assign(__assign({}, (input.AgentArn
|
|
3224
|
+
return __assign(__assign({}, (input.AgentArn != null && { AgentArn: input.AgentArn })), (input.Name != null && { Name: input.Name }));
|
|
3112
3225
|
};
|
|
3113
3226
|
var serializeAws_json1_1UpdateLocationHdfsRequest = function (input, context) {
|
|
3114
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AgentArns
|
|
3115
|
-
input.AgentArns !== null && { AgentArns: serializeAws_json1_1AgentArnList(input.AgentArns, context) })), (input.AuthenticationType !== undefined &&
|
|
3116
|
-
input.AuthenticationType !== null && { AuthenticationType: input.AuthenticationType })), (input.BlockSize !== undefined && input.BlockSize !== null && { BlockSize: input.BlockSize })), (input.KerberosKeytab !== undefined &&
|
|
3117
|
-
input.KerberosKeytab !== null && { KerberosKeytab: context.base64Encoder(input.KerberosKeytab) })), (input.KerberosKrb5Conf !== undefined &&
|
|
3118
|
-
input.KerberosKrb5Conf !== null && { KerberosKrb5Conf: context.base64Encoder(input.KerberosKrb5Conf) })), (input.KerberosPrincipal !== undefined &&
|
|
3119
|
-
input.KerberosPrincipal !== null && { KerberosPrincipal: input.KerberosPrincipal })), (input.KmsKeyProviderUri !== undefined &&
|
|
3120
|
-
input.KmsKeyProviderUri !== null && { KmsKeyProviderUri: input.KmsKeyProviderUri })), (input.LocationArn !== undefined && input.LocationArn !== null && { LocationArn: input.LocationArn })), (input.NameNodes !== undefined &&
|
|
3121
|
-
input.NameNodes !== null && { NameNodes: serializeAws_json1_1HdfsNameNodeList(input.NameNodes, context) })), (input.QopConfiguration !== undefined &&
|
|
3122
|
-
input.QopConfiguration !== null && {
|
|
3227
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AgentArns != null && { AgentArns: serializeAws_json1_1AgentArnList(input.AgentArns, context) })), (input.AuthenticationType != null && { AuthenticationType: input.AuthenticationType })), (input.BlockSize != null && { BlockSize: input.BlockSize })), (input.KerberosKeytab != null && { KerberosKeytab: context.base64Encoder(input.KerberosKeytab) })), (input.KerberosKrb5Conf != null && { KerberosKrb5Conf: context.base64Encoder(input.KerberosKrb5Conf) })), (input.KerberosPrincipal != null && { KerberosPrincipal: input.KerberosPrincipal })), (input.KmsKeyProviderUri != null && { KmsKeyProviderUri: input.KmsKeyProviderUri })), (input.LocationArn != null && { LocationArn: input.LocationArn })), (input.NameNodes != null && { NameNodes: serializeAws_json1_1HdfsNameNodeList(input.NameNodes, context) })), (input.QopConfiguration != null && {
|
|
3123
3228
|
QopConfiguration: serializeAws_json1_1QopConfiguration(input.QopConfiguration, context),
|
|
3124
|
-
})), (input.ReplicationFactor
|
|
3125
|
-
input.ReplicationFactor !== null && { ReplicationFactor: input.ReplicationFactor })), (input.SimpleUser !== undefined && input.SimpleUser !== null && { SimpleUser: input.SimpleUser })), (input.Subdirectory !== undefined && input.Subdirectory !== null && { Subdirectory: input.Subdirectory }));
|
|
3229
|
+
})), (input.ReplicationFactor != null && { ReplicationFactor: input.ReplicationFactor })), (input.SimpleUser != null && { SimpleUser: input.SimpleUser })), (input.Subdirectory != null && { Subdirectory: input.Subdirectory }));
|
|
3126
3230
|
};
|
|
3127
3231
|
var serializeAws_json1_1UpdateLocationNfsRequest = function (input, context) {
|
|
3128
|
-
return __assign(__assign(__assign(__assign({}, (input.LocationArn
|
|
3129
|
-
input.MountOptions !== null && {
|
|
3232
|
+
return __assign(__assign(__assign(__assign({}, (input.LocationArn != null && { LocationArn: input.LocationArn })), (input.MountOptions != null && {
|
|
3130
3233
|
MountOptions: serializeAws_json1_1NfsMountOptions(input.MountOptions, context),
|
|
3131
|
-
})), (input.OnPremConfig
|
|
3132
|
-
input.OnPremConfig !== null && { OnPremConfig: serializeAws_json1_1OnPremConfig(input.OnPremConfig, context) })), (input.Subdirectory !== undefined && input.Subdirectory !== null && { Subdirectory: input.Subdirectory }));
|
|
3234
|
+
})), (input.OnPremConfig != null && { OnPremConfig: serializeAws_json1_1OnPremConfig(input.OnPremConfig, context) })), (input.Subdirectory != null && { Subdirectory: input.Subdirectory }));
|
|
3133
3235
|
};
|
|
3134
3236
|
var serializeAws_json1_1UpdateLocationObjectStorageRequest = function (input, context) {
|
|
3135
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AccessKey
|
|
3136
|
-
input.AgentArns !== null && { AgentArns: serializeAws_json1_1AgentArnList(input.AgentArns, context) })), (input.LocationArn !== undefined && input.LocationArn !== null && { LocationArn: input.LocationArn })), (input.SecretKey !== undefined && input.SecretKey !== null && { SecretKey: input.SecretKey })), (input.ServerPort !== undefined && input.ServerPort !== null && { ServerPort: input.ServerPort })), (input.ServerProtocol !== undefined &&
|
|
3137
|
-
input.ServerProtocol !== null && { ServerProtocol: input.ServerProtocol })), (input.Subdirectory !== undefined && input.Subdirectory !== null && { Subdirectory: input.Subdirectory }));
|
|
3237
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AccessKey != null && { AccessKey: input.AccessKey })), (input.AgentArns != null && { AgentArns: serializeAws_json1_1AgentArnList(input.AgentArns, context) })), (input.LocationArn != null && { LocationArn: input.LocationArn })), (input.SecretKey != null && { SecretKey: input.SecretKey })), (input.ServerPort != null && { ServerPort: input.ServerPort })), (input.ServerProtocol != null && { ServerProtocol: input.ServerProtocol })), (input.Subdirectory != null && { Subdirectory: input.Subdirectory }));
|
|
3138
3238
|
};
|
|
3139
3239
|
var serializeAws_json1_1UpdateLocationSmbRequest = function (input, context) {
|
|
3140
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AgentArns
|
|
3141
|
-
input.AgentArns !== null && { AgentArns: serializeAws_json1_1AgentArnList(input.AgentArns, context) })), (input.Domain !== undefined && input.Domain !== null && { Domain: input.Domain })), (input.LocationArn !== undefined && input.LocationArn !== null && { LocationArn: input.LocationArn })), (input.MountOptions !== undefined &&
|
|
3142
|
-
input.MountOptions !== null && {
|
|
3240
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AgentArns != null && { AgentArns: serializeAws_json1_1AgentArnList(input.AgentArns, context) })), (input.Domain != null && { Domain: input.Domain })), (input.LocationArn != null && { LocationArn: input.LocationArn })), (input.MountOptions != null && {
|
|
3143
3241
|
MountOptions: serializeAws_json1_1SmbMountOptions(input.MountOptions, context),
|
|
3144
|
-
})), (input.Password
|
|
3242
|
+
})), (input.Password != null && { Password: input.Password })), (input.Subdirectory != null && { Subdirectory: input.Subdirectory })), (input.User != null && { User: input.User }));
|
|
3145
3243
|
};
|
|
3146
3244
|
var serializeAws_json1_1UpdateTaskExecutionRequest = function (input, context) {
|
|
3147
|
-
return __assign(__assign({}, (input.Options
|
|
3148
|
-
input.Options !== null && { Options: serializeAws_json1_1Options(input.Options, context) })), (input.TaskExecutionArn !== undefined &&
|
|
3149
|
-
input.TaskExecutionArn !== null && { TaskExecutionArn: input.TaskExecutionArn }));
|
|
3245
|
+
return __assign(__assign({}, (input.Options != null && { Options: serializeAws_json1_1Options(input.Options, context) })), (input.TaskExecutionArn != null && { TaskExecutionArn: input.TaskExecutionArn }));
|
|
3150
3246
|
};
|
|
3151
3247
|
var serializeAws_json1_1UpdateTaskRequest = function (input, context) {
|
|
3152
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CloudWatchLogGroupArn
|
|
3153
|
-
input.CloudWatchLogGroupArn !== null && { CloudWatchLogGroupArn: input.CloudWatchLogGroupArn })), (input.Excludes !== undefined &&
|
|
3154
|
-
input.Excludes !== null && { Excludes: serializeAws_json1_1FilterList(input.Excludes, context) })), (input.Includes !== undefined &&
|
|
3155
|
-
input.Includes !== null && { Includes: serializeAws_json1_1FilterList(input.Includes, context) })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.Options !== undefined &&
|
|
3156
|
-
input.Options !== null && { Options: serializeAws_json1_1Options(input.Options, context) })), (input.Schedule !== undefined &&
|
|
3157
|
-
input.Schedule !== null && { Schedule: serializeAws_json1_1TaskSchedule(input.Schedule, context) })), (input.TaskArn !== undefined && input.TaskArn !== null && { TaskArn: input.TaskArn }));
|
|
3248
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CloudWatchLogGroupArn != null && { CloudWatchLogGroupArn: input.CloudWatchLogGroupArn })), (input.Excludes != null && { Excludes: serializeAws_json1_1FilterList(input.Excludes, context) })), (input.Includes != null && { Includes: serializeAws_json1_1FilterList(input.Includes, context) })), (input.Name != null && { Name: input.Name })), (input.Options != null && { Options: serializeAws_json1_1Options(input.Options, context) })), (input.Schedule != null && { Schedule: serializeAws_json1_1TaskSchedule(input.Schedule, context) })), (input.TaskArn != null && { TaskArn: input.TaskArn }));
|
|
3158
3249
|
};
|
|
3159
3250
|
var deserializeAws_json1_1AgentArnList = function (output, context) {
|
|
3160
3251
|
var retVal = (output || [])
|
|
@@ -3203,6 +3294,11 @@ var deserializeAws_json1_1CreateLocationFsxLustreResponse = function (output, co
|
|
|
3203
3294
|
LocationArn: __expectString(output.LocationArn),
|
|
3204
3295
|
};
|
|
3205
3296
|
};
|
|
3297
|
+
var deserializeAws_json1_1CreateLocationFsxOntapResponse = function (output, context) {
|
|
3298
|
+
return {
|
|
3299
|
+
LocationArn: __expectString(output.LocationArn),
|
|
3300
|
+
};
|
|
3301
|
+
};
|
|
3206
3302
|
var deserializeAws_json1_1CreateLocationFsxOpenZfsResponse = function (output, context) {
|
|
3207
3303
|
return {
|
|
3208
3304
|
LocationArn: __expectString(output.LocationArn),
|
|
@@ -3255,15 +3351,15 @@ var deserializeAws_json1_1DeleteTaskResponse = function (output, context) {
|
|
|
3255
3351
|
var deserializeAws_json1_1DescribeAgentResponse = function (output, context) {
|
|
3256
3352
|
return {
|
|
3257
3353
|
AgentArn: __expectString(output.AgentArn),
|
|
3258
|
-
CreationTime: output.CreationTime
|
|
3354
|
+
CreationTime: output.CreationTime != null
|
|
3259
3355
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
3260
3356
|
: undefined,
|
|
3261
3357
|
EndpointType: __expectString(output.EndpointType),
|
|
3262
|
-
LastConnectionTime: output.LastConnectionTime
|
|
3358
|
+
LastConnectionTime: output.LastConnectionTime != null
|
|
3263
3359
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastConnectionTime)))
|
|
3264
3360
|
: undefined,
|
|
3265
3361
|
Name: __expectString(output.Name),
|
|
3266
|
-
PrivateLinkConfig: output.PrivateLinkConfig
|
|
3362
|
+
PrivateLinkConfig: output.PrivateLinkConfig != null
|
|
3267
3363
|
? deserializeAws_json1_1PrivateLinkConfig(output.PrivateLinkConfig, context)
|
|
3268
3364
|
: undefined,
|
|
3269
3365
|
Status: __expectString(output.Status),
|
|
@@ -3272,12 +3368,10 @@ var deserializeAws_json1_1DescribeAgentResponse = function (output, context) {
|
|
|
3272
3368
|
var deserializeAws_json1_1DescribeLocationEfsResponse = function (output, context) {
|
|
3273
3369
|
return {
|
|
3274
3370
|
AccessPointArn: __expectString(output.AccessPointArn),
|
|
3275
|
-
CreationTime: output.CreationTime
|
|
3371
|
+
CreationTime: output.CreationTime != null
|
|
3276
3372
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
3277
3373
|
: undefined,
|
|
3278
|
-
Ec2Config: output.Ec2Config
|
|
3279
|
-
? deserializeAws_json1_1Ec2Config(output.Ec2Config, context)
|
|
3280
|
-
: undefined,
|
|
3374
|
+
Ec2Config: output.Ec2Config != null ? deserializeAws_json1_1Ec2Config(output.Ec2Config, context) : undefined,
|
|
3281
3375
|
FileSystemAccessRoleArn: __expectString(output.FileSystemAccessRoleArn),
|
|
3282
3376
|
InTransitEncryption: __expectString(output.InTransitEncryption),
|
|
3283
3377
|
LocationArn: __expectString(output.LocationArn),
|
|
@@ -3286,40 +3380,53 @@ var deserializeAws_json1_1DescribeLocationEfsResponse = function (output, contex
|
|
|
3286
3380
|
};
|
|
3287
3381
|
var deserializeAws_json1_1DescribeLocationFsxLustreResponse = function (output, context) {
|
|
3288
3382
|
return {
|
|
3289
|
-
CreationTime: output.CreationTime
|
|
3383
|
+
CreationTime: output.CreationTime != null
|
|
3290
3384
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
3291
3385
|
: undefined,
|
|
3292
3386
|
LocationArn: __expectString(output.LocationArn),
|
|
3293
3387
|
LocationUri: __expectString(output.LocationUri),
|
|
3294
|
-
SecurityGroupArns: output.SecurityGroupArns
|
|
3388
|
+
SecurityGroupArns: output.SecurityGroupArns != null
|
|
3295
3389
|
? deserializeAws_json1_1Ec2SecurityGroupArnList(output.SecurityGroupArns, context)
|
|
3296
3390
|
: undefined,
|
|
3297
3391
|
};
|
|
3298
3392
|
};
|
|
3299
|
-
var
|
|
3393
|
+
var deserializeAws_json1_1DescribeLocationFsxOntapResponse = function (output, context) {
|
|
3300
3394
|
return {
|
|
3301
|
-
CreationTime: output.CreationTime
|
|
3395
|
+
CreationTime: output.CreationTime != null
|
|
3302
3396
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
3303
3397
|
: undefined,
|
|
3398
|
+
FsxFilesystemArn: __expectString(output.FsxFilesystemArn),
|
|
3304
3399
|
LocationArn: __expectString(output.LocationArn),
|
|
3305
3400
|
LocationUri: __expectString(output.LocationUri),
|
|
3306
|
-
Protocol: output.Protocol
|
|
3307
|
-
|
|
3401
|
+
Protocol: output.Protocol != null ? deserializeAws_json1_1FsxProtocol(output.Protocol, context) : undefined,
|
|
3402
|
+
SecurityGroupArns: output.SecurityGroupArns != null
|
|
3403
|
+
? deserializeAws_json1_1Ec2SecurityGroupArnList(output.SecurityGroupArns, context)
|
|
3308
3404
|
: undefined,
|
|
3309
|
-
|
|
3405
|
+
StorageVirtualMachineArn: __expectString(output.StorageVirtualMachineArn),
|
|
3406
|
+
};
|
|
3407
|
+
};
|
|
3408
|
+
var deserializeAws_json1_1DescribeLocationFsxOpenZfsResponse = function (output, context) {
|
|
3409
|
+
return {
|
|
3410
|
+
CreationTime: output.CreationTime != null
|
|
3411
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
3412
|
+
: undefined,
|
|
3413
|
+
LocationArn: __expectString(output.LocationArn),
|
|
3414
|
+
LocationUri: __expectString(output.LocationUri),
|
|
3415
|
+
Protocol: output.Protocol != null ? deserializeAws_json1_1FsxProtocol(output.Protocol, context) : undefined,
|
|
3416
|
+
SecurityGroupArns: output.SecurityGroupArns != null
|
|
3310
3417
|
? deserializeAws_json1_1Ec2SecurityGroupArnList(output.SecurityGroupArns, context)
|
|
3311
3418
|
: undefined,
|
|
3312
3419
|
};
|
|
3313
3420
|
};
|
|
3314
3421
|
var deserializeAws_json1_1DescribeLocationFsxWindowsResponse = function (output, context) {
|
|
3315
3422
|
return {
|
|
3316
|
-
CreationTime: output.CreationTime
|
|
3423
|
+
CreationTime: output.CreationTime != null
|
|
3317
3424
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
3318
3425
|
: undefined,
|
|
3319
3426
|
Domain: __expectString(output.Domain),
|
|
3320
3427
|
LocationArn: __expectString(output.LocationArn),
|
|
3321
3428
|
LocationUri: __expectString(output.LocationUri),
|
|
3322
|
-
SecurityGroupArns: output.SecurityGroupArns
|
|
3429
|
+
SecurityGroupArns: output.SecurityGroupArns != null
|
|
3323
3430
|
? deserializeAws_json1_1Ec2SecurityGroupArnList(output.SecurityGroupArns, context)
|
|
3324
3431
|
: undefined,
|
|
3325
3432
|
User: __expectString(output.User),
|
|
@@ -3327,22 +3434,18 @@ var deserializeAws_json1_1DescribeLocationFsxWindowsResponse = function (output,
|
|
|
3327
3434
|
};
|
|
3328
3435
|
var deserializeAws_json1_1DescribeLocationHdfsResponse = function (output, context) {
|
|
3329
3436
|
return {
|
|
3330
|
-
AgentArns: output.AgentArns
|
|
3331
|
-
? deserializeAws_json1_1AgentArnList(output.AgentArns, context)
|
|
3332
|
-
: undefined,
|
|
3437
|
+
AgentArns: output.AgentArns != null ? deserializeAws_json1_1AgentArnList(output.AgentArns, context) : undefined,
|
|
3333
3438
|
AuthenticationType: __expectString(output.AuthenticationType),
|
|
3334
3439
|
BlockSize: __expectInt32(output.BlockSize),
|
|
3335
|
-
CreationTime: output.CreationTime
|
|
3440
|
+
CreationTime: output.CreationTime != null
|
|
3336
3441
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
3337
3442
|
: undefined,
|
|
3338
3443
|
KerberosPrincipal: __expectString(output.KerberosPrincipal),
|
|
3339
3444
|
KmsKeyProviderUri: __expectString(output.KmsKeyProviderUri),
|
|
3340
3445
|
LocationArn: __expectString(output.LocationArn),
|
|
3341
3446
|
LocationUri: __expectString(output.LocationUri),
|
|
3342
|
-
NameNodes: output.NameNodes
|
|
3343
|
-
|
|
3344
|
-
: undefined,
|
|
3345
|
-
QopConfiguration: output.QopConfiguration !== undefined && output.QopConfiguration !== null
|
|
3447
|
+
NameNodes: output.NameNodes != null ? deserializeAws_json1_1HdfsNameNodeList(output.NameNodes, context) : undefined,
|
|
3448
|
+
QopConfiguration: output.QopConfiguration != null
|
|
3346
3449
|
? deserializeAws_json1_1QopConfiguration(output.QopConfiguration, context)
|
|
3347
3450
|
: undefined,
|
|
3348
3451
|
ReplicationFactor: __expectInt32(output.ReplicationFactor),
|
|
@@ -3351,26 +3454,20 @@ var deserializeAws_json1_1DescribeLocationHdfsResponse = function (output, conte
|
|
|
3351
3454
|
};
|
|
3352
3455
|
var deserializeAws_json1_1DescribeLocationNfsResponse = function (output, context) {
|
|
3353
3456
|
return {
|
|
3354
|
-
CreationTime: output.CreationTime
|
|
3457
|
+
CreationTime: output.CreationTime != null
|
|
3355
3458
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
3356
3459
|
: undefined,
|
|
3357
3460
|
LocationArn: __expectString(output.LocationArn),
|
|
3358
3461
|
LocationUri: __expectString(output.LocationUri),
|
|
3359
|
-
MountOptions: output.MountOptions
|
|
3360
|
-
|
|
3361
|
-
: undefined,
|
|
3362
|
-
OnPremConfig: output.OnPremConfig !== undefined && output.OnPremConfig !== null
|
|
3363
|
-
? deserializeAws_json1_1OnPremConfig(output.OnPremConfig, context)
|
|
3364
|
-
: undefined,
|
|
3462
|
+
MountOptions: output.MountOptions != null ? deserializeAws_json1_1NfsMountOptions(output.MountOptions, context) : undefined,
|
|
3463
|
+
OnPremConfig: output.OnPremConfig != null ? deserializeAws_json1_1OnPremConfig(output.OnPremConfig, context) : undefined,
|
|
3365
3464
|
};
|
|
3366
3465
|
};
|
|
3367
3466
|
var deserializeAws_json1_1DescribeLocationObjectStorageResponse = function (output, context) {
|
|
3368
3467
|
return {
|
|
3369
3468
|
AccessKey: __expectString(output.AccessKey),
|
|
3370
|
-
AgentArns: output.AgentArns
|
|
3371
|
-
|
|
3372
|
-
: undefined,
|
|
3373
|
-
CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
|
|
3469
|
+
AgentArns: output.AgentArns != null ? deserializeAws_json1_1AgentArnList(output.AgentArns, context) : undefined,
|
|
3470
|
+
CreationTime: output.CreationTime != null
|
|
3374
3471
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
3375
3472
|
: undefined,
|
|
3376
3473
|
LocationArn: __expectString(output.LocationArn),
|
|
@@ -3381,34 +3478,26 @@ var deserializeAws_json1_1DescribeLocationObjectStorageResponse = function (outp
|
|
|
3381
3478
|
};
|
|
3382
3479
|
var deserializeAws_json1_1DescribeLocationS3Response = function (output, context) {
|
|
3383
3480
|
return {
|
|
3384
|
-
AgentArns: output.AgentArns
|
|
3385
|
-
|
|
3386
|
-
: undefined,
|
|
3387
|
-
CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
|
|
3481
|
+
AgentArns: output.AgentArns != null ? deserializeAws_json1_1AgentArnList(output.AgentArns, context) : undefined,
|
|
3482
|
+
CreationTime: output.CreationTime != null
|
|
3388
3483
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
3389
3484
|
: undefined,
|
|
3390
3485
|
LocationArn: __expectString(output.LocationArn),
|
|
3391
3486
|
LocationUri: __expectString(output.LocationUri),
|
|
3392
|
-
S3Config: output.S3Config
|
|
3393
|
-
? deserializeAws_json1_1S3Config(output.S3Config, context)
|
|
3394
|
-
: undefined,
|
|
3487
|
+
S3Config: output.S3Config != null ? deserializeAws_json1_1S3Config(output.S3Config, context) : undefined,
|
|
3395
3488
|
S3StorageClass: __expectString(output.S3StorageClass),
|
|
3396
3489
|
};
|
|
3397
3490
|
};
|
|
3398
3491
|
var deserializeAws_json1_1DescribeLocationSmbResponse = function (output, context) {
|
|
3399
3492
|
return {
|
|
3400
|
-
AgentArns: output.AgentArns
|
|
3401
|
-
|
|
3402
|
-
: undefined,
|
|
3403
|
-
CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
|
|
3493
|
+
AgentArns: output.AgentArns != null ? deserializeAws_json1_1AgentArnList(output.AgentArns, context) : undefined,
|
|
3494
|
+
CreationTime: output.CreationTime != null
|
|
3404
3495
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
3405
3496
|
: undefined,
|
|
3406
3497
|
Domain: __expectString(output.Domain),
|
|
3407
3498
|
LocationArn: __expectString(output.LocationArn),
|
|
3408
3499
|
LocationUri: __expectString(output.LocationUri),
|
|
3409
|
-
MountOptions: output.MountOptions
|
|
3410
|
-
? deserializeAws_json1_1SmbMountOptions(output.MountOptions, context)
|
|
3411
|
-
: undefined,
|
|
3500
|
+
MountOptions: output.MountOptions != null ? deserializeAws_json1_1SmbMountOptions(output.MountOptions, context) : undefined,
|
|
3412
3501
|
User: __expectString(output.User),
|
|
3413
3502
|
};
|
|
3414
3503
|
};
|
|
@@ -3418,22 +3507,12 @@ var deserializeAws_json1_1DescribeTaskExecutionResponse = function (output, cont
|
|
|
3418
3507
|
BytesWritten: __expectLong(output.BytesWritten),
|
|
3419
3508
|
EstimatedBytesToTransfer: __expectLong(output.EstimatedBytesToTransfer),
|
|
3420
3509
|
EstimatedFilesToTransfer: __expectLong(output.EstimatedFilesToTransfer),
|
|
3421
|
-
Excludes: output.Excludes
|
|
3422
|
-
? deserializeAws_json1_1FilterList(output.Excludes, context)
|
|
3423
|
-
: undefined,
|
|
3510
|
+
Excludes: output.Excludes != null ? deserializeAws_json1_1FilterList(output.Excludes, context) : undefined,
|
|
3424
3511
|
FilesTransferred: __expectLong(output.FilesTransferred),
|
|
3425
|
-
Includes: output.Includes
|
|
3426
|
-
|
|
3427
|
-
|
|
3428
|
-
|
|
3429
|
-
? deserializeAws_json1_1Options(output.Options, context)
|
|
3430
|
-
: undefined,
|
|
3431
|
-
Result: output.Result !== undefined && output.Result !== null
|
|
3432
|
-
? deserializeAws_json1_1TaskExecutionResultDetail(output.Result, context)
|
|
3433
|
-
: undefined,
|
|
3434
|
-
StartTime: output.StartTime !== undefined && output.StartTime !== null
|
|
3435
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime)))
|
|
3436
|
-
: undefined,
|
|
3512
|
+
Includes: output.Includes != null ? deserializeAws_json1_1FilterList(output.Includes, context) : undefined,
|
|
3513
|
+
Options: output.Options != null ? deserializeAws_json1_1Options(output.Options, context) : undefined,
|
|
3514
|
+
Result: output.Result != null ? deserializeAws_json1_1TaskExecutionResultDetail(output.Result, context) : undefined,
|
|
3515
|
+
StartTime: output.StartTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime))) : undefined,
|
|
3437
3516
|
Status: __expectString(output.Status),
|
|
3438
3517
|
TaskExecutionArn: __expectString(output.TaskExecutionArn),
|
|
3439
3518
|
};
|
|
@@ -3441,31 +3520,23 @@ var deserializeAws_json1_1DescribeTaskExecutionResponse = function (output, cont
|
|
|
3441
3520
|
var deserializeAws_json1_1DescribeTaskResponse = function (output, context) {
|
|
3442
3521
|
return {
|
|
3443
3522
|
CloudWatchLogGroupArn: __expectString(output.CloudWatchLogGroupArn),
|
|
3444
|
-
CreationTime: output.CreationTime
|
|
3523
|
+
CreationTime: output.CreationTime != null
|
|
3445
3524
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
3446
3525
|
: undefined,
|
|
3447
3526
|
CurrentTaskExecutionArn: __expectString(output.CurrentTaskExecutionArn),
|
|
3448
3527
|
DestinationLocationArn: __expectString(output.DestinationLocationArn),
|
|
3449
|
-
DestinationNetworkInterfaceArns: output.DestinationNetworkInterfaceArns
|
|
3528
|
+
DestinationNetworkInterfaceArns: output.DestinationNetworkInterfaceArns != null
|
|
3450
3529
|
? deserializeAws_json1_1DestinationNetworkInterfaceArns(output.DestinationNetworkInterfaceArns, context)
|
|
3451
3530
|
: undefined,
|
|
3452
3531
|
ErrorCode: __expectString(output.ErrorCode),
|
|
3453
3532
|
ErrorDetail: __expectString(output.ErrorDetail),
|
|
3454
|
-
Excludes: output.Excludes
|
|
3455
|
-
|
|
3456
|
-
: undefined,
|
|
3457
|
-
Includes: output.Includes !== undefined && output.Includes !== null
|
|
3458
|
-
? deserializeAws_json1_1FilterList(output.Includes, context)
|
|
3459
|
-
: undefined,
|
|
3533
|
+
Excludes: output.Excludes != null ? deserializeAws_json1_1FilterList(output.Excludes, context) : undefined,
|
|
3534
|
+
Includes: output.Includes != null ? deserializeAws_json1_1FilterList(output.Includes, context) : undefined,
|
|
3460
3535
|
Name: __expectString(output.Name),
|
|
3461
|
-
Options: output.Options
|
|
3462
|
-
|
|
3463
|
-
: undefined,
|
|
3464
|
-
Schedule: output.Schedule !== undefined && output.Schedule !== null
|
|
3465
|
-
? deserializeAws_json1_1TaskSchedule(output.Schedule, context)
|
|
3466
|
-
: undefined,
|
|
3536
|
+
Options: output.Options != null ? deserializeAws_json1_1Options(output.Options, context) : undefined,
|
|
3537
|
+
Schedule: output.Schedule != null ? deserializeAws_json1_1TaskSchedule(output.Schedule, context) : undefined,
|
|
3467
3538
|
SourceLocationArn: __expectString(output.SourceLocationArn),
|
|
3468
|
-
SourceNetworkInterfaceArns: output.SourceNetworkInterfaceArns
|
|
3539
|
+
SourceNetworkInterfaceArns: output.SourceNetworkInterfaceArns != null
|
|
3469
3540
|
? deserializeAws_json1_1SourceNetworkInterfaceArns(output.SourceNetworkInterfaceArns, context)
|
|
3470
3541
|
: undefined,
|
|
3471
3542
|
Status: __expectString(output.Status),
|
|
@@ -3485,7 +3556,7 @@ var deserializeAws_json1_1DestinationNetworkInterfaceArns = function (output, co
|
|
|
3485
3556
|
};
|
|
3486
3557
|
var deserializeAws_json1_1Ec2Config = function (output, context) {
|
|
3487
3558
|
return {
|
|
3488
|
-
SecurityGroupArns: output.SecurityGroupArns
|
|
3559
|
+
SecurityGroupArns: output.SecurityGroupArns != null
|
|
3489
3560
|
? deserializeAws_json1_1Ec2SecurityGroupArnList(output.SecurityGroupArns, context)
|
|
3490
3561
|
: undefined,
|
|
3491
3562
|
SubnetArn: __expectString(output.SubnetArn),
|
|
@@ -3521,16 +3592,21 @@ var deserializeAws_json1_1FilterRule = function (output, context) {
|
|
|
3521
3592
|
};
|
|
3522
3593
|
var deserializeAws_json1_1FsxProtocol = function (output, context) {
|
|
3523
3594
|
return {
|
|
3524
|
-
NFS: output.NFS
|
|
3525
|
-
|
|
3526
|
-
: undefined,
|
|
3595
|
+
NFS: output.NFS != null ? deserializeAws_json1_1FsxProtocolNfs(output.NFS, context) : undefined,
|
|
3596
|
+
SMB: output.SMB != null ? deserializeAws_json1_1FsxProtocolSmb(output.SMB, context) : undefined,
|
|
3527
3597
|
};
|
|
3528
3598
|
};
|
|
3529
3599
|
var deserializeAws_json1_1FsxProtocolNfs = function (output, context) {
|
|
3530
3600
|
return {
|
|
3531
|
-
MountOptions: output.MountOptions
|
|
3532
|
-
|
|
3533
|
-
|
|
3601
|
+
MountOptions: output.MountOptions != null ? deserializeAws_json1_1NfsMountOptions(output.MountOptions, context) : undefined,
|
|
3602
|
+
};
|
|
3603
|
+
};
|
|
3604
|
+
var deserializeAws_json1_1FsxProtocolSmb = function (output, context) {
|
|
3605
|
+
return {
|
|
3606
|
+
Domain: __expectString(output.Domain),
|
|
3607
|
+
MountOptions: output.MountOptions != null ? deserializeAws_json1_1SmbMountOptions(output.MountOptions, context) : undefined,
|
|
3608
|
+
Password: __expectString(output.Password),
|
|
3609
|
+
User: __expectString(output.User),
|
|
3534
3610
|
};
|
|
3535
3611
|
};
|
|
3536
3612
|
var deserializeAws_json1_1HdfsNameNode = function (output, context) {
|
|
@@ -3565,32 +3641,26 @@ var deserializeAws_json1_1InvalidRequestException = function (output, context) {
|
|
|
3565
3641
|
};
|
|
3566
3642
|
var deserializeAws_json1_1ListAgentsResponse = function (output, context) {
|
|
3567
3643
|
return {
|
|
3568
|
-
Agents: output.Agents
|
|
3569
|
-
? deserializeAws_json1_1AgentList(output.Agents, context)
|
|
3570
|
-
: undefined,
|
|
3644
|
+
Agents: output.Agents != null ? deserializeAws_json1_1AgentList(output.Agents, context) : undefined,
|
|
3571
3645
|
NextToken: __expectString(output.NextToken),
|
|
3572
3646
|
};
|
|
3573
3647
|
};
|
|
3574
3648
|
var deserializeAws_json1_1ListLocationsResponse = function (output, context) {
|
|
3575
3649
|
return {
|
|
3576
|
-
Locations: output.Locations
|
|
3577
|
-
? deserializeAws_json1_1LocationList(output.Locations, context)
|
|
3578
|
-
: undefined,
|
|
3650
|
+
Locations: output.Locations != null ? deserializeAws_json1_1LocationList(output.Locations, context) : undefined,
|
|
3579
3651
|
NextToken: __expectString(output.NextToken),
|
|
3580
3652
|
};
|
|
3581
3653
|
};
|
|
3582
3654
|
var deserializeAws_json1_1ListTagsForResourceResponse = function (output, context) {
|
|
3583
3655
|
return {
|
|
3584
3656
|
NextToken: __expectString(output.NextToken),
|
|
3585
|
-
Tags: output.Tags
|
|
3586
|
-
? deserializeAws_json1_1OutputTagList(output.Tags, context)
|
|
3587
|
-
: undefined,
|
|
3657
|
+
Tags: output.Tags != null ? deserializeAws_json1_1OutputTagList(output.Tags, context) : undefined,
|
|
3588
3658
|
};
|
|
3589
3659
|
};
|
|
3590
3660
|
var deserializeAws_json1_1ListTaskExecutionsResponse = function (output, context) {
|
|
3591
3661
|
return {
|
|
3592
3662
|
NextToken: __expectString(output.NextToken),
|
|
3593
|
-
TaskExecutions: output.TaskExecutions
|
|
3663
|
+
TaskExecutions: output.TaskExecutions != null
|
|
3594
3664
|
? deserializeAws_json1_1TaskExecutionList(output.TaskExecutions, context)
|
|
3595
3665
|
: undefined,
|
|
3596
3666
|
};
|
|
@@ -3598,9 +3668,7 @@ var deserializeAws_json1_1ListTaskExecutionsResponse = function (output, context
|
|
|
3598
3668
|
var deserializeAws_json1_1ListTasksResponse = function (output, context) {
|
|
3599
3669
|
return {
|
|
3600
3670
|
NextToken: __expectString(output.NextToken),
|
|
3601
|
-
Tasks: output.Tasks
|
|
3602
|
-
? deserializeAws_json1_1TaskList(output.Tasks, context)
|
|
3603
|
-
: undefined,
|
|
3671
|
+
Tasks: output.Tasks != null ? deserializeAws_json1_1TaskList(output.Tasks, context) : undefined,
|
|
3604
3672
|
};
|
|
3605
3673
|
};
|
|
3606
3674
|
var deserializeAws_json1_1LocationList = function (output, context) {
|
|
@@ -3627,9 +3695,7 @@ var deserializeAws_json1_1NfsMountOptions = function (output, context) {
|
|
|
3627
3695
|
};
|
|
3628
3696
|
var deserializeAws_json1_1OnPremConfig = function (output, context) {
|
|
3629
3697
|
return {
|
|
3630
|
-
AgentArns: output.AgentArns
|
|
3631
|
-
? deserializeAws_json1_1AgentArnList(output.AgentArns, context)
|
|
3632
|
-
: undefined,
|
|
3698
|
+
AgentArns: output.AgentArns != null ? deserializeAws_json1_1AgentArnList(output.AgentArns, context) : undefined,
|
|
3633
3699
|
};
|
|
3634
3700
|
};
|
|
3635
3701
|
var deserializeAws_json1_1Options = function (output, context) {
|
|
@@ -3687,12 +3753,10 @@ var deserializeAws_json1_1PLSubnetArnList = function (output, context) {
|
|
|
3687
3753
|
var deserializeAws_json1_1PrivateLinkConfig = function (output, context) {
|
|
3688
3754
|
return {
|
|
3689
3755
|
PrivateLinkEndpoint: __expectString(output.PrivateLinkEndpoint),
|
|
3690
|
-
SecurityGroupArns: output.SecurityGroupArns
|
|
3756
|
+
SecurityGroupArns: output.SecurityGroupArns != null
|
|
3691
3757
|
? deserializeAws_json1_1PLSecurityGroupArnList(output.SecurityGroupArns, context)
|
|
3692
3758
|
: undefined,
|
|
3693
|
-
SubnetArns: output.SubnetArns
|
|
3694
|
-
? deserializeAws_json1_1PLSubnetArnList(output.SubnetArns, context)
|
|
3695
|
-
: undefined,
|
|
3759
|
+
SubnetArns: output.SubnetArns != null ? deserializeAws_json1_1PLSubnetArnList(output.SubnetArns, context) : undefined,
|
|
3696
3760
|
VpcEndpointId: __expectString(output.VpcEndpointId),
|
|
3697
3761
|
};
|
|
3698
3762
|
};
|
|
@@ -3888,5 +3952,4 @@ var loadRestJsonErrorCode = function (output, data) {
|
|
|
3888
3952
|
if (data["__type"] !== undefined) {
|
|
3889
3953
|
return sanitizeErrorCode(data["__type"]);
|
|
3890
3954
|
}
|
|
3891
|
-
return "";
|
|
3892
3955
|
};
|