@aws-sdk/client-groundstation 3.118.0 → 3.127.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +27 -0
- package/dist-cjs/protocols/Aws_restJson1.js +228 -275
- package/dist-es/protocols/Aws_restJson1.js +193 -240
- package/package.json +26 -26
|
@@ -45,9 +45,7 @@ export var serializeAws_restJson1CreateConfigCommand = function (input, context)
|
|
|
45
45
|
"content-type": "application/json",
|
|
46
46
|
};
|
|
47
47
|
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/config";
|
|
48
|
-
body = JSON.stringify(__assign(__assign(__assign({}, (input.configData
|
|
49
|
-
input.configData !== null && { configData: serializeAws_restJson1ConfigTypeData(input.configData, context) })), (input.name !== undefined && input.name !== null && { name: input.name })), (input.tags !== undefined &&
|
|
50
|
-
input.tags !== null && { tags: serializeAws_restJson1TagsMap(input.tags, context) })));
|
|
48
|
+
body = JSON.stringify(__assign(__assign(__assign({}, (input.configData != null && { configData: serializeAws_restJson1ConfigTypeData(input.configData, context) })), (input.name != null && { name: input.name })), (input.tags != null && { tags: serializeAws_restJson1TagsMap(input.tags, context) })));
|
|
51
49
|
return [2, new __HttpRequest({
|
|
52
50
|
protocol: protocol,
|
|
53
51
|
hostname: hostname,
|
|
@@ -71,11 +69,9 @@ export var serializeAws_restJson1CreateDataflowEndpointGroupCommand = function (
|
|
|
71
69
|
"content-type": "application/json",
|
|
72
70
|
};
|
|
73
71
|
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/dataflowEndpointGroup";
|
|
74
|
-
body = JSON.stringify(__assign(__assign({}, (input.endpointDetails
|
|
75
|
-
input.endpointDetails !== null && {
|
|
72
|
+
body = JSON.stringify(__assign(__assign({}, (input.endpointDetails != null && {
|
|
76
73
|
endpointDetails: serializeAws_restJson1EndpointDetailsList(input.endpointDetails, context),
|
|
77
|
-
})), (input.tags
|
|
78
|
-
input.tags !== null && { tags: serializeAws_restJson1TagsMap(input.tags, context) })));
|
|
74
|
+
})), (input.tags != null && { tags: serializeAws_restJson1TagsMap(input.tags, context) })));
|
|
79
75
|
return [2, new __HttpRequest({
|
|
80
76
|
protocol: protocol,
|
|
81
77
|
hostname: hostname,
|
|
@@ -99,21 +95,15 @@ export var serializeAws_restJson1CreateMissionProfileCommand = function (input,
|
|
|
99
95
|
"content-type": "application/json",
|
|
100
96
|
};
|
|
101
97
|
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/missionprofile";
|
|
102
|
-
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.contactPostPassDurationSeconds
|
|
103
|
-
input.contactPostPassDurationSeconds !== null && {
|
|
98
|
+
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.contactPostPassDurationSeconds != null && {
|
|
104
99
|
contactPostPassDurationSeconds: input.contactPostPassDurationSeconds,
|
|
105
|
-
})), (input.contactPrePassDurationSeconds
|
|
106
|
-
input.contactPrePassDurationSeconds !== null && {
|
|
100
|
+
})), (input.contactPrePassDurationSeconds != null && {
|
|
107
101
|
contactPrePassDurationSeconds: input.contactPrePassDurationSeconds,
|
|
108
|
-
})), (input.dataflowEdges
|
|
109
|
-
input.dataflowEdges !== null && {
|
|
102
|
+
})), (input.dataflowEdges != null && {
|
|
110
103
|
dataflowEdges: serializeAws_restJson1DataflowEdgeList(input.dataflowEdges, context),
|
|
111
|
-
})), (input.minimumViableContactDurationSeconds
|
|
112
|
-
input.minimumViableContactDurationSeconds !== null && {
|
|
104
|
+
})), (input.minimumViableContactDurationSeconds != null && {
|
|
113
105
|
minimumViableContactDurationSeconds: input.minimumViableContactDurationSeconds,
|
|
114
|
-
})), (input.name
|
|
115
|
-
input.tags !== null && { tags: serializeAws_restJson1TagsMap(input.tags, context) })), (input.trackingConfigArn !== undefined &&
|
|
116
|
-
input.trackingConfigArn !== null && { trackingConfigArn: input.trackingConfigArn })));
|
|
106
|
+
})), (input.name != null && { name: input.name })), (input.tags != null && { tags: serializeAws_restJson1TagsMap(input.tags, context) })), (input.trackingConfigArn != null && { trackingConfigArn: input.trackingConfigArn })));
|
|
117
107
|
return [2, new __HttpRequest({
|
|
118
108
|
protocol: protocol,
|
|
119
109
|
hostname: hostname,
|
|
@@ -345,7 +335,7 @@ export var serializeAws_restJson1GetMinuteUsageCommand = function (input, contex
|
|
|
345
335
|
"content-type": "application/json",
|
|
346
336
|
};
|
|
347
337
|
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/minute-usage";
|
|
348
|
-
body = JSON.stringify(__assign(__assign({}, (input.month
|
|
338
|
+
body = JSON.stringify(__assign(__assign({}, (input.month != null && { month: input.month })), (input.year != null && { year: input.year })));
|
|
349
339
|
return [2, new __HttpRequest({
|
|
350
340
|
protocol: protocol,
|
|
351
341
|
hostname: hostname,
|
|
@@ -454,11 +444,7 @@ export var serializeAws_restJson1ListContactsCommand = function (input, context)
|
|
|
454
444
|
"content-type": "application/json",
|
|
455
445
|
};
|
|
456
446
|
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/contacts";
|
|
457
|
-
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.endTime
|
|
458
|
-
input.endTime !== null && { endTime: Math.round(input.endTime.getTime() / 1000) })), (input.groundStation !== undefined && input.groundStation !== null && { groundStation: input.groundStation })), (input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults })), (input.missionProfileArn !== undefined &&
|
|
459
|
-
input.missionProfileArn !== null && { missionProfileArn: input.missionProfileArn })), (input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken })), (input.satelliteArn !== undefined && input.satelliteArn !== null && { satelliteArn: input.satelliteArn })), (input.startTime !== undefined &&
|
|
460
|
-
input.startTime !== null && { startTime: Math.round(input.startTime.getTime() / 1000) })), (input.statusList !== undefined &&
|
|
461
|
-
input.statusList !== null && { statusList: serializeAws_restJson1StatusList(input.statusList, context) })));
|
|
447
|
+
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.endTime != null && { endTime: Math.round(input.endTime.getTime() / 1000) })), (input.groundStation != null && { groundStation: input.groundStation })), (input.maxResults != null && { maxResults: input.maxResults })), (input.missionProfileArn != null && { missionProfileArn: input.missionProfileArn })), (input.nextToken != null && { nextToken: input.nextToken })), (input.satelliteArn != null && { satelliteArn: input.satelliteArn })), (input.startTime != null && { startTime: Math.round(input.startTime.getTime() / 1000) })), (input.statusList != null && { statusList: serializeAws_restJson1StatusList(input.statusList, context) })));
|
|
462
448
|
return [2, new __HttpRequest({
|
|
463
449
|
protocol: protocol,
|
|
464
450
|
hostname: hostname,
|
|
@@ -605,11 +591,7 @@ export var serializeAws_restJson1ReserveContactCommand = function (input, contex
|
|
|
605
591
|
"content-type": "application/json",
|
|
606
592
|
};
|
|
607
593
|
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/contact";
|
|
608
|
-
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.endTime
|
|
609
|
-
input.endTime !== null && { endTime: Math.round(input.endTime.getTime() / 1000) })), (input.groundStation !== undefined && input.groundStation !== null && { groundStation: input.groundStation })), (input.missionProfileArn !== undefined &&
|
|
610
|
-
input.missionProfileArn !== null && { missionProfileArn: input.missionProfileArn })), (input.satelliteArn !== undefined && input.satelliteArn !== null && { satelliteArn: input.satelliteArn })), (input.startTime !== undefined &&
|
|
611
|
-
input.startTime !== null && { startTime: Math.round(input.startTime.getTime() / 1000) })), (input.tags !== undefined &&
|
|
612
|
-
input.tags !== null && { tags: serializeAws_restJson1TagsMap(input.tags, context) })));
|
|
594
|
+
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.endTime != null && { endTime: Math.round(input.endTime.getTime() / 1000) })), (input.groundStation != null && { groundStation: input.groundStation })), (input.missionProfileArn != null && { missionProfileArn: input.missionProfileArn })), (input.satelliteArn != null && { satelliteArn: input.satelliteArn })), (input.startTime != null && { startTime: Math.round(input.startTime.getTime() / 1000) })), (input.tags != null && { tags: serializeAws_restJson1TagsMap(input.tags, context) })));
|
|
613
595
|
return [2, new __HttpRequest({
|
|
614
596
|
protocol: protocol,
|
|
615
597
|
hostname: hostname,
|
|
@@ -643,8 +625,7 @@ export var serializeAws_restJson1TagResourceCommand = function (input, context)
|
|
|
643
625
|
else {
|
|
644
626
|
throw new Error("No value provided for input HTTP label: resourceArn.");
|
|
645
627
|
}
|
|
646
|
-
body = JSON.stringify(__assign({}, (input.tags
|
|
647
|
-
input.tags !== null && { tags: serializeAws_restJson1TagsMap(input.tags, context) })));
|
|
628
|
+
body = JSON.stringify(__assign({}, (input.tags != null && { tags: serializeAws_restJson1TagsMap(input.tags, context) })));
|
|
648
629
|
return [2, new __HttpRequest({
|
|
649
630
|
protocol: protocol,
|
|
650
631
|
hostname: hostname,
|
|
@@ -721,8 +702,7 @@ export var serializeAws_restJson1UpdateConfigCommand = function (input, context)
|
|
|
721
702
|
else {
|
|
722
703
|
throw new Error("No value provided for input HTTP label: configType.");
|
|
723
704
|
}
|
|
724
|
-
body = JSON.stringify(__assign(__assign({}, (input.configData
|
|
725
|
-
input.configData !== null && { configData: serializeAws_restJson1ConfigTypeData(input.configData, context) })), (input.name !== undefined && input.name !== null && { name: input.name })));
|
|
705
|
+
body = JSON.stringify(__assign(__assign({}, (input.configData != null && { configData: serializeAws_restJson1ConfigTypeData(input.configData, context) })), (input.name != null && { name: input.name })));
|
|
726
706
|
return [2, new __HttpRequest({
|
|
727
707
|
protocol: protocol,
|
|
728
708
|
hostname: hostname,
|
|
@@ -756,20 +736,15 @@ export var serializeAws_restJson1UpdateMissionProfileCommand = function (input,
|
|
|
756
736
|
else {
|
|
757
737
|
throw new Error("No value provided for input HTTP label: missionProfileId.");
|
|
758
738
|
}
|
|
759
|
-
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.contactPostPassDurationSeconds
|
|
760
|
-
input.contactPostPassDurationSeconds !== null && {
|
|
739
|
+
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.contactPostPassDurationSeconds != null && {
|
|
761
740
|
contactPostPassDurationSeconds: input.contactPostPassDurationSeconds,
|
|
762
|
-
})), (input.contactPrePassDurationSeconds
|
|
763
|
-
input.contactPrePassDurationSeconds !== null && {
|
|
741
|
+
})), (input.contactPrePassDurationSeconds != null && {
|
|
764
742
|
contactPrePassDurationSeconds: input.contactPrePassDurationSeconds,
|
|
765
|
-
})), (input.dataflowEdges
|
|
766
|
-
input.dataflowEdges !== null && {
|
|
743
|
+
})), (input.dataflowEdges != null && {
|
|
767
744
|
dataflowEdges: serializeAws_restJson1DataflowEdgeList(input.dataflowEdges, context),
|
|
768
|
-
})), (input.minimumViableContactDurationSeconds
|
|
769
|
-
input.minimumViableContactDurationSeconds !== null && {
|
|
745
|
+
})), (input.minimumViableContactDurationSeconds != null && {
|
|
770
746
|
minimumViableContactDurationSeconds: input.minimumViableContactDurationSeconds,
|
|
771
|
-
})), (input.name
|
|
772
|
-
input.trackingConfigArn !== null && { trackingConfigArn: input.trackingConfigArn })));
|
|
747
|
+
})), (input.name != null && { name: input.name })), (input.trackingConfigArn != null && { trackingConfigArn: input.trackingConfigArn })));
|
|
773
748
|
return [2, new __HttpRequest({
|
|
774
749
|
protocol: protocol,
|
|
775
750
|
hostname: hostname,
|
|
@@ -807,7 +782,7 @@ export var deserializeAws_restJson1CancelContactCommand = function (output, cont
|
|
|
807
782
|
});
|
|
808
783
|
}); };
|
|
809
784
|
var deserializeAws_restJson1CancelContactCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
810
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
785
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
811
786
|
var _c;
|
|
812
787
|
return __generator(this, function (_d) {
|
|
813
788
|
switch (_d.label) {
|
|
@@ -817,7 +792,6 @@ var deserializeAws_restJson1CancelContactCommandError = function (output, contex
|
|
|
817
792
|
return [4, parseBody(output.body, context)];
|
|
818
793
|
case 1:
|
|
819
794
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
820
|
-
errorCode = "UnknownError";
|
|
821
795
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
822
796
|
_b = errorCode;
|
|
823
797
|
switch (_b) {
|
|
@@ -837,10 +811,12 @@ var deserializeAws_restJson1CancelContactCommandError = function (output, contex
|
|
|
837
811
|
case 7: throw _d.sent();
|
|
838
812
|
case 8:
|
|
839
813
|
parsedBody = parsedOutput.body;
|
|
814
|
+
$metadata = deserializeMetadata(output);
|
|
815
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
840
816
|
response = new __BaseException({
|
|
841
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
817
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
842
818
|
$fault: "client",
|
|
843
|
-
$metadata:
|
|
819
|
+
$metadata: $metadata,
|
|
844
820
|
});
|
|
845
821
|
throw __decorateServiceException(response, parsedBody);
|
|
846
822
|
}
|
|
@@ -879,7 +855,7 @@ export var deserializeAws_restJson1CreateConfigCommand = function (output, conte
|
|
|
879
855
|
});
|
|
880
856
|
}); };
|
|
881
857
|
var deserializeAws_restJson1CreateConfigCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
882
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
858
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
883
859
|
var _c;
|
|
884
860
|
return __generator(this, function (_d) {
|
|
885
861
|
switch (_d.label) {
|
|
@@ -889,7 +865,6 @@ var deserializeAws_restJson1CreateConfigCommandError = function (output, context
|
|
|
889
865
|
return [4, parseBody(output.body, context)];
|
|
890
866
|
case 1:
|
|
891
867
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
892
|
-
errorCode = "UnknownError";
|
|
893
868
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
894
869
|
_b = errorCode;
|
|
895
870
|
switch (_b) {
|
|
@@ -913,10 +888,12 @@ var deserializeAws_restJson1CreateConfigCommandError = function (output, context
|
|
|
913
888
|
case 9: throw _d.sent();
|
|
914
889
|
case 10:
|
|
915
890
|
parsedBody = parsedOutput.body;
|
|
891
|
+
$metadata = deserializeMetadata(output);
|
|
892
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
916
893
|
response = new __BaseException({
|
|
917
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
894
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
918
895
|
$fault: "client",
|
|
919
|
-
$metadata:
|
|
896
|
+
$metadata: $metadata,
|
|
920
897
|
});
|
|
921
898
|
throw __decorateServiceException(response, parsedBody);
|
|
922
899
|
}
|
|
@@ -947,7 +924,7 @@ export var deserializeAws_restJson1CreateDataflowEndpointGroupCommand = function
|
|
|
947
924
|
});
|
|
948
925
|
}); };
|
|
949
926
|
var deserializeAws_restJson1CreateDataflowEndpointGroupCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
950
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
927
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
951
928
|
var _c;
|
|
952
929
|
return __generator(this, function (_d) {
|
|
953
930
|
switch (_d.label) {
|
|
@@ -957,7 +934,6 @@ var deserializeAws_restJson1CreateDataflowEndpointGroupCommandError = function (
|
|
|
957
934
|
return [4, parseBody(output.body, context)];
|
|
958
935
|
case 1:
|
|
959
936
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
960
|
-
errorCode = "UnknownError";
|
|
961
937
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
962
938
|
_b = errorCode;
|
|
963
939
|
switch (_b) {
|
|
@@ -977,10 +953,12 @@ var deserializeAws_restJson1CreateDataflowEndpointGroupCommandError = function (
|
|
|
977
953
|
case 7: throw _d.sent();
|
|
978
954
|
case 8:
|
|
979
955
|
parsedBody = parsedOutput.body;
|
|
956
|
+
$metadata = deserializeMetadata(output);
|
|
957
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
980
958
|
response = new __BaseException({
|
|
981
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
959
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
982
960
|
$fault: "client",
|
|
983
|
-
$metadata:
|
|
961
|
+
$metadata: $metadata,
|
|
984
962
|
});
|
|
985
963
|
throw __decorateServiceException(response, parsedBody);
|
|
986
964
|
}
|
|
@@ -1011,7 +989,7 @@ export var deserializeAws_restJson1CreateMissionProfileCommand = function (outpu
|
|
|
1011
989
|
});
|
|
1012
990
|
}); };
|
|
1013
991
|
var deserializeAws_restJson1CreateMissionProfileCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1014
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
992
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1015
993
|
var _c;
|
|
1016
994
|
return __generator(this, function (_d) {
|
|
1017
995
|
switch (_d.label) {
|
|
@@ -1021,7 +999,6 @@ var deserializeAws_restJson1CreateMissionProfileCommandError = function (output,
|
|
|
1021
999
|
return [4, parseBody(output.body, context)];
|
|
1022
1000
|
case 1:
|
|
1023
1001
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1024
|
-
errorCode = "UnknownError";
|
|
1025
1002
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1026
1003
|
_b = errorCode;
|
|
1027
1004
|
switch (_b) {
|
|
@@ -1041,10 +1018,12 @@ var deserializeAws_restJson1CreateMissionProfileCommandError = function (output,
|
|
|
1041
1018
|
case 7: throw _d.sent();
|
|
1042
1019
|
case 8:
|
|
1043
1020
|
parsedBody = parsedOutput.body;
|
|
1021
|
+
$metadata = deserializeMetadata(output);
|
|
1022
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1044
1023
|
response = new __BaseException({
|
|
1045
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1024
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1046
1025
|
$fault: "client",
|
|
1047
|
-
$metadata:
|
|
1026
|
+
$metadata: $metadata,
|
|
1048
1027
|
});
|
|
1049
1028
|
throw __decorateServiceException(response, parsedBody);
|
|
1050
1029
|
}
|
|
@@ -1083,7 +1062,7 @@ export var deserializeAws_restJson1DeleteConfigCommand = function (output, conte
|
|
|
1083
1062
|
});
|
|
1084
1063
|
}); };
|
|
1085
1064
|
var deserializeAws_restJson1DeleteConfigCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1086
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1065
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1087
1066
|
var _c;
|
|
1088
1067
|
return __generator(this, function (_d) {
|
|
1089
1068
|
switch (_d.label) {
|
|
@@ -1093,7 +1072,6 @@ var deserializeAws_restJson1DeleteConfigCommandError = function (output, context
|
|
|
1093
1072
|
return [4, parseBody(output.body, context)];
|
|
1094
1073
|
case 1:
|
|
1095
1074
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1096
|
-
errorCode = "UnknownError";
|
|
1097
1075
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1098
1076
|
_b = errorCode;
|
|
1099
1077
|
switch (_b) {
|
|
@@ -1113,10 +1091,12 @@ var deserializeAws_restJson1DeleteConfigCommandError = function (output, context
|
|
|
1113
1091
|
case 7: throw _d.sent();
|
|
1114
1092
|
case 8:
|
|
1115
1093
|
parsedBody = parsedOutput.body;
|
|
1094
|
+
$metadata = deserializeMetadata(output);
|
|
1095
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1116
1096
|
response = new __BaseException({
|
|
1117
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1097
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1118
1098
|
$fault: "client",
|
|
1119
|
-
$metadata:
|
|
1099
|
+
$metadata: $metadata,
|
|
1120
1100
|
});
|
|
1121
1101
|
throw __decorateServiceException(response, parsedBody);
|
|
1122
1102
|
}
|
|
@@ -1147,7 +1127,7 @@ export var deserializeAws_restJson1DeleteDataflowEndpointGroupCommand = function
|
|
|
1147
1127
|
});
|
|
1148
1128
|
}); };
|
|
1149
1129
|
var deserializeAws_restJson1DeleteDataflowEndpointGroupCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1150
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1130
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1151
1131
|
var _c;
|
|
1152
1132
|
return __generator(this, function (_d) {
|
|
1153
1133
|
switch (_d.label) {
|
|
@@ -1157,7 +1137,6 @@ var deserializeAws_restJson1DeleteDataflowEndpointGroupCommandError = function (
|
|
|
1157
1137
|
return [4, parseBody(output.body, context)];
|
|
1158
1138
|
case 1:
|
|
1159
1139
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1160
|
-
errorCode = "UnknownError";
|
|
1161
1140
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1162
1141
|
_b = errorCode;
|
|
1163
1142
|
switch (_b) {
|
|
@@ -1177,10 +1156,12 @@ var deserializeAws_restJson1DeleteDataflowEndpointGroupCommandError = function (
|
|
|
1177
1156
|
case 7: throw _d.sent();
|
|
1178
1157
|
case 8:
|
|
1179
1158
|
parsedBody = parsedOutput.body;
|
|
1159
|
+
$metadata = deserializeMetadata(output);
|
|
1160
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1180
1161
|
response = new __BaseException({
|
|
1181
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1162
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1182
1163
|
$fault: "client",
|
|
1183
|
-
$metadata:
|
|
1164
|
+
$metadata: $metadata,
|
|
1184
1165
|
});
|
|
1185
1166
|
throw __decorateServiceException(response, parsedBody);
|
|
1186
1167
|
}
|
|
@@ -1211,7 +1192,7 @@ export var deserializeAws_restJson1DeleteMissionProfileCommand = function (outpu
|
|
|
1211
1192
|
});
|
|
1212
1193
|
}); };
|
|
1213
1194
|
var deserializeAws_restJson1DeleteMissionProfileCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1214
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1195
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1215
1196
|
var _c;
|
|
1216
1197
|
return __generator(this, function (_d) {
|
|
1217
1198
|
switch (_d.label) {
|
|
@@ -1221,7 +1202,6 @@ var deserializeAws_restJson1DeleteMissionProfileCommandError = function (output,
|
|
|
1221
1202
|
return [4, parseBody(output.body, context)];
|
|
1222
1203
|
case 1:
|
|
1223
1204
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1224
|
-
errorCode = "UnknownError";
|
|
1225
1205
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1226
1206
|
_b = errorCode;
|
|
1227
1207
|
switch (_b) {
|
|
@@ -1241,10 +1221,12 @@ var deserializeAws_restJson1DeleteMissionProfileCommandError = function (output,
|
|
|
1241
1221
|
case 7: throw _d.sent();
|
|
1242
1222
|
case 8:
|
|
1243
1223
|
parsedBody = parsedOutput.body;
|
|
1224
|
+
$metadata = deserializeMetadata(output);
|
|
1225
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1244
1226
|
response = new __BaseException({
|
|
1245
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1227
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1246
1228
|
$fault: "client",
|
|
1247
|
-
$metadata:
|
|
1229
|
+
$metadata: $metadata,
|
|
1248
1230
|
});
|
|
1249
1231
|
throw __decorateServiceException(response, parsedBody);
|
|
1250
1232
|
}
|
|
@@ -1327,7 +1309,7 @@ export var deserializeAws_restJson1DescribeContactCommand = function (output, co
|
|
|
1327
1309
|
});
|
|
1328
1310
|
}); };
|
|
1329
1311
|
var deserializeAws_restJson1DescribeContactCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1330
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1312
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1331
1313
|
var _c;
|
|
1332
1314
|
return __generator(this, function (_d) {
|
|
1333
1315
|
switch (_d.label) {
|
|
@@ -1337,7 +1319,6 @@ var deserializeAws_restJson1DescribeContactCommandError = function (output, cont
|
|
|
1337
1319
|
return [4, parseBody(output.body, context)];
|
|
1338
1320
|
case 1:
|
|
1339
1321
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1340
|
-
errorCode = "UnknownError";
|
|
1341
1322
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1342
1323
|
_b = errorCode;
|
|
1343
1324
|
switch (_b) {
|
|
@@ -1357,10 +1338,12 @@ var deserializeAws_restJson1DescribeContactCommandError = function (output, cont
|
|
|
1357
1338
|
case 7: throw _d.sent();
|
|
1358
1339
|
case 8:
|
|
1359
1340
|
parsedBody = parsedOutput.body;
|
|
1341
|
+
$metadata = deserializeMetadata(output);
|
|
1342
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1360
1343
|
response = new __BaseException({
|
|
1361
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1344
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1362
1345
|
$fault: "client",
|
|
1363
|
-
$metadata:
|
|
1346
|
+
$metadata: $metadata,
|
|
1364
1347
|
});
|
|
1365
1348
|
throw __decorateServiceException(response, parsedBody);
|
|
1366
1349
|
}
|
|
@@ -1411,7 +1394,7 @@ export var deserializeAws_restJson1GetConfigCommand = function (output, context)
|
|
|
1411
1394
|
});
|
|
1412
1395
|
}); };
|
|
1413
1396
|
var deserializeAws_restJson1GetConfigCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1414
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1397
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1415
1398
|
var _c;
|
|
1416
1399
|
return __generator(this, function (_d) {
|
|
1417
1400
|
switch (_d.label) {
|
|
@@ -1421,7 +1404,6 @@ var deserializeAws_restJson1GetConfigCommandError = function (output, context) {
|
|
|
1421
1404
|
return [4, parseBody(output.body, context)];
|
|
1422
1405
|
case 1:
|
|
1423
1406
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1424
|
-
errorCode = "UnknownError";
|
|
1425
1407
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1426
1408
|
_b = errorCode;
|
|
1427
1409
|
switch (_b) {
|
|
@@ -1441,10 +1423,12 @@ var deserializeAws_restJson1GetConfigCommandError = function (output, context) {
|
|
|
1441
1423
|
case 7: throw _d.sent();
|
|
1442
1424
|
case 8:
|
|
1443
1425
|
parsedBody = parsedOutput.body;
|
|
1426
|
+
$metadata = deserializeMetadata(output);
|
|
1427
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1444
1428
|
response = new __BaseException({
|
|
1445
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1429
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1446
1430
|
$fault: "client",
|
|
1447
|
-
$metadata:
|
|
1431
|
+
$metadata: $metadata,
|
|
1448
1432
|
});
|
|
1449
1433
|
throw __decorateServiceException(response, parsedBody);
|
|
1450
1434
|
}
|
|
@@ -1487,7 +1471,7 @@ export var deserializeAws_restJson1GetDataflowEndpointGroupCommand = function (o
|
|
|
1487
1471
|
});
|
|
1488
1472
|
}); };
|
|
1489
1473
|
var deserializeAws_restJson1GetDataflowEndpointGroupCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1490
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1474
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1491
1475
|
var _c;
|
|
1492
1476
|
return __generator(this, function (_d) {
|
|
1493
1477
|
switch (_d.label) {
|
|
@@ -1497,7 +1481,6 @@ var deserializeAws_restJson1GetDataflowEndpointGroupCommandError = function (out
|
|
|
1497
1481
|
return [4, parseBody(output.body, context)];
|
|
1498
1482
|
case 1:
|
|
1499
1483
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1500
|
-
errorCode = "UnknownError";
|
|
1501
1484
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1502
1485
|
_b = errorCode;
|
|
1503
1486
|
switch (_b) {
|
|
@@ -1517,10 +1500,12 @@ var deserializeAws_restJson1GetDataflowEndpointGroupCommandError = function (out
|
|
|
1517
1500
|
case 7: throw _d.sent();
|
|
1518
1501
|
case 8:
|
|
1519
1502
|
parsedBody = parsedOutput.body;
|
|
1503
|
+
$metadata = deserializeMetadata(output);
|
|
1504
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1520
1505
|
response = new __BaseException({
|
|
1521
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1506
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1522
1507
|
$fault: "client",
|
|
1523
|
-
$metadata:
|
|
1508
|
+
$metadata: $metadata,
|
|
1524
1509
|
});
|
|
1525
1510
|
throw __decorateServiceException(response, parsedBody);
|
|
1526
1511
|
}
|
|
@@ -1567,7 +1552,7 @@ export var deserializeAws_restJson1GetMinuteUsageCommand = function (output, con
|
|
|
1567
1552
|
});
|
|
1568
1553
|
}); };
|
|
1569
1554
|
var deserializeAws_restJson1GetMinuteUsageCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1570
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1555
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1571
1556
|
var _c;
|
|
1572
1557
|
return __generator(this, function (_d) {
|
|
1573
1558
|
switch (_d.label) {
|
|
@@ -1577,7 +1562,6 @@ var deserializeAws_restJson1GetMinuteUsageCommandError = function (output, conte
|
|
|
1577
1562
|
return [4, parseBody(output.body, context)];
|
|
1578
1563
|
case 1:
|
|
1579
1564
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1580
|
-
errorCode = "UnknownError";
|
|
1581
1565
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1582
1566
|
_b = errorCode;
|
|
1583
1567
|
switch (_b) {
|
|
@@ -1597,10 +1581,12 @@ var deserializeAws_restJson1GetMinuteUsageCommandError = function (output, conte
|
|
|
1597
1581
|
case 7: throw _d.sent();
|
|
1598
1582
|
case 8:
|
|
1599
1583
|
parsedBody = parsedOutput.body;
|
|
1584
|
+
$metadata = deserializeMetadata(output);
|
|
1585
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1600
1586
|
response = new __BaseException({
|
|
1601
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1587
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1602
1588
|
$fault: "client",
|
|
1603
|
-
$metadata:
|
|
1589
|
+
$metadata: $metadata,
|
|
1604
1590
|
});
|
|
1605
1591
|
throw __decorateServiceException(response, parsedBody);
|
|
1606
1592
|
}
|
|
@@ -1667,7 +1653,7 @@ export var deserializeAws_restJson1GetMissionProfileCommand = function (output,
|
|
|
1667
1653
|
});
|
|
1668
1654
|
}); };
|
|
1669
1655
|
var deserializeAws_restJson1GetMissionProfileCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1670
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1656
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1671
1657
|
var _c;
|
|
1672
1658
|
return __generator(this, function (_d) {
|
|
1673
1659
|
switch (_d.label) {
|
|
@@ -1677,7 +1663,6 @@ var deserializeAws_restJson1GetMissionProfileCommandError = function (output, co
|
|
|
1677
1663
|
return [4, parseBody(output.body, context)];
|
|
1678
1664
|
case 1:
|
|
1679
1665
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1680
|
-
errorCode = "UnknownError";
|
|
1681
1666
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1682
1667
|
_b = errorCode;
|
|
1683
1668
|
switch (_b) {
|
|
@@ -1697,10 +1682,12 @@ var deserializeAws_restJson1GetMissionProfileCommandError = function (output, co
|
|
|
1697
1682
|
case 7: throw _d.sent();
|
|
1698
1683
|
case 8:
|
|
1699
1684
|
parsedBody = parsedOutput.body;
|
|
1685
|
+
$metadata = deserializeMetadata(output);
|
|
1686
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1700
1687
|
response = new __BaseException({
|
|
1701
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1688
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1702
1689
|
$fault: "client",
|
|
1703
|
-
$metadata:
|
|
1690
|
+
$metadata: $metadata,
|
|
1704
1691
|
});
|
|
1705
1692
|
throw __decorateServiceException(response, parsedBody);
|
|
1706
1693
|
}
|
|
@@ -1743,7 +1730,7 @@ export var deserializeAws_restJson1GetSatelliteCommand = function (output, conte
|
|
|
1743
1730
|
});
|
|
1744
1731
|
}); };
|
|
1745
1732
|
var deserializeAws_restJson1GetSatelliteCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1746
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1733
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1747
1734
|
var _c;
|
|
1748
1735
|
return __generator(this, function (_d) {
|
|
1749
1736
|
switch (_d.label) {
|
|
@@ -1753,7 +1740,6 @@ var deserializeAws_restJson1GetSatelliteCommandError = function (output, context
|
|
|
1753
1740
|
return [4, parseBody(output.body, context)];
|
|
1754
1741
|
case 1:
|
|
1755
1742
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1756
|
-
errorCode = "UnknownError";
|
|
1757
1743
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1758
1744
|
_b = errorCode;
|
|
1759
1745
|
switch (_b) {
|
|
@@ -1773,10 +1759,12 @@ var deserializeAws_restJson1GetSatelliteCommandError = function (output, context
|
|
|
1773
1759
|
case 7: throw _d.sent();
|
|
1774
1760
|
case 8:
|
|
1775
1761
|
parsedBody = parsedOutput.body;
|
|
1762
|
+
$metadata = deserializeMetadata(output);
|
|
1763
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1776
1764
|
response = new __BaseException({
|
|
1777
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1765
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1778
1766
|
$fault: "client",
|
|
1779
|
-
$metadata:
|
|
1767
|
+
$metadata: $metadata,
|
|
1780
1768
|
});
|
|
1781
1769
|
throw __decorateServiceException(response, parsedBody);
|
|
1782
1770
|
}
|
|
@@ -1811,7 +1799,7 @@ export var deserializeAws_restJson1ListConfigsCommand = function (output, contex
|
|
|
1811
1799
|
});
|
|
1812
1800
|
}); };
|
|
1813
1801
|
var deserializeAws_restJson1ListConfigsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1814
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1802
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1815
1803
|
var _c;
|
|
1816
1804
|
return __generator(this, function (_d) {
|
|
1817
1805
|
switch (_d.label) {
|
|
@@ -1821,7 +1809,6 @@ var deserializeAws_restJson1ListConfigsCommandError = function (output, context)
|
|
|
1821
1809
|
return [4, parseBody(output.body, context)];
|
|
1822
1810
|
case 1:
|
|
1823
1811
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1824
|
-
errorCode = "UnknownError";
|
|
1825
1812
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1826
1813
|
_b = errorCode;
|
|
1827
1814
|
switch (_b) {
|
|
@@ -1841,10 +1828,12 @@ var deserializeAws_restJson1ListConfigsCommandError = function (output, context)
|
|
|
1841
1828
|
case 7: throw _d.sent();
|
|
1842
1829
|
case 8:
|
|
1843
1830
|
parsedBody = parsedOutput.body;
|
|
1831
|
+
$metadata = deserializeMetadata(output);
|
|
1832
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1844
1833
|
response = new __BaseException({
|
|
1845
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1834
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1846
1835
|
$fault: "client",
|
|
1847
|
-
$metadata:
|
|
1836
|
+
$metadata: $metadata,
|
|
1848
1837
|
});
|
|
1849
1838
|
throw __decorateServiceException(response, parsedBody);
|
|
1850
1839
|
}
|
|
@@ -1879,7 +1868,7 @@ export var deserializeAws_restJson1ListContactsCommand = function (output, conte
|
|
|
1879
1868
|
});
|
|
1880
1869
|
}); };
|
|
1881
1870
|
var deserializeAws_restJson1ListContactsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1882
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1871
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1883
1872
|
var _c;
|
|
1884
1873
|
return __generator(this, function (_d) {
|
|
1885
1874
|
switch (_d.label) {
|
|
@@ -1889,7 +1878,6 @@ var deserializeAws_restJson1ListContactsCommandError = function (output, context
|
|
|
1889
1878
|
return [4, parseBody(output.body, context)];
|
|
1890
1879
|
case 1:
|
|
1891
1880
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1892
|
-
errorCode = "UnknownError";
|
|
1893
1881
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1894
1882
|
_b = errorCode;
|
|
1895
1883
|
switch (_b) {
|
|
@@ -1909,10 +1897,12 @@ var deserializeAws_restJson1ListContactsCommandError = function (output, context
|
|
|
1909
1897
|
case 7: throw _d.sent();
|
|
1910
1898
|
case 8:
|
|
1911
1899
|
parsedBody = parsedOutput.body;
|
|
1900
|
+
$metadata = deserializeMetadata(output);
|
|
1901
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1912
1902
|
response = new __BaseException({
|
|
1913
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1903
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1914
1904
|
$fault: "client",
|
|
1915
|
-
$metadata:
|
|
1905
|
+
$metadata: $metadata,
|
|
1916
1906
|
});
|
|
1917
1907
|
throw __decorateServiceException(response, parsedBody);
|
|
1918
1908
|
}
|
|
@@ -1947,7 +1937,7 @@ export var deserializeAws_restJson1ListDataflowEndpointGroupsCommand = function
|
|
|
1947
1937
|
});
|
|
1948
1938
|
}); };
|
|
1949
1939
|
var deserializeAws_restJson1ListDataflowEndpointGroupsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1950
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1940
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1951
1941
|
var _c;
|
|
1952
1942
|
return __generator(this, function (_d) {
|
|
1953
1943
|
switch (_d.label) {
|
|
@@ -1957,7 +1947,6 @@ var deserializeAws_restJson1ListDataflowEndpointGroupsCommandError = function (o
|
|
|
1957
1947
|
return [4, parseBody(output.body, context)];
|
|
1958
1948
|
case 1:
|
|
1959
1949
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1960
|
-
errorCode = "UnknownError";
|
|
1961
1950
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1962
1951
|
_b = errorCode;
|
|
1963
1952
|
switch (_b) {
|
|
@@ -1977,10 +1966,12 @@ var deserializeAws_restJson1ListDataflowEndpointGroupsCommandError = function (o
|
|
|
1977
1966
|
case 7: throw _d.sent();
|
|
1978
1967
|
case 8:
|
|
1979
1968
|
parsedBody = parsedOutput.body;
|
|
1969
|
+
$metadata = deserializeMetadata(output);
|
|
1970
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1980
1971
|
response = new __BaseException({
|
|
1981
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1972
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1982
1973
|
$fault: "client",
|
|
1983
|
-
$metadata:
|
|
1974
|
+
$metadata: $metadata,
|
|
1984
1975
|
});
|
|
1985
1976
|
throw __decorateServiceException(response, parsedBody);
|
|
1986
1977
|
}
|
|
@@ -2015,7 +2006,7 @@ export var deserializeAws_restJson1ListGroundStationsCommand = function (output,
|
|
|
2015
2006
|
});
|
|
2016
2007
|
}); };
|
|
2017
2008
|
var deserializeAws_restJson1ListGroundStationsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2018
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2009
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2019
2010
|
var _c;
|
|
2020
2011
|
return __generator(this, function (_d) {
|
|
2021
2012
|
switch (_d.label) {
|
|
@@ -2025,7 +2016,6 @@ var deserializeAws_restJson1ListGroundStationsCommandError = function (output, c
|
|
|
2025
2016
|
return [4, parseBody(output.body, context)];
|
|
2026
2017
|
case 1:
|
|
2027
2018
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2028
|
-
errorCode = "UnknownError";
|
|
2029
2019
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2030
2020
|
_b = errorCode;
|
|
2031
2021
|
switch (_b) {
|
|
@@ -2045,10 +2035,12 @@ var deserializeAws_restJson1ListGroundStationsCommandError = function (output, c
|
|
|
2045
2035
|
case 7: throw _d.sent();
|
|
2046
2036
|
case 8:
|
|
2047
2037
|
parsedBody = parsedOutput.body;
|
|
2038
|
+
$metadata = deserializeMetadata(output);
|
|
2039
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2048
2040
|
response = new __BaseException({
|
|
2049
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2041
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2050
2042
|
$fault: "client",
|
|
2051
|
-
$metadata:
|
|
2043
|
+
$metadata: $metadata,
|
|
2052
2044
|
});
|
|
2053
2045
|
throw __decorateServiceException(response, parsedBody);
|
|
2054
2046
|
}
|
|
@@ -2083,7 +2075,7 @@ export var deserializeAws_restJson1ListMissionProfilesCommand = function (output
|
|
|
2083
2075
|
});
|
|
2084
2076
|
}); };
|
|
2085
2077
|
var deserializeAws_restJson1ListMissionProfilesCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2086
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2078
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2087
2079
|
var _c;
|
|
2088
2080
|
return __generator(this, function (_d) {
|
|
2089
2081
|
switch (_d.label) {
|
|
@@ -2093,7 +2085,6 @@ var deserializeAws_restJson1ListMissionProfilesCommandError = function (output,
|
|
|
2093
2085
|
return [4, parseBody(output.body, context)];
|
|
2094
2086
|
case 1:
|
|
2095
2087
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2096
|
-
errorCode = "UnknownError";
|
|
2097
2088
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2098
2089
|
_b = errorCode;
|
|
2099
2090
|
switch (_b) {
|
|
@@ -2113,10 +2104,12 @@ var deserializeAws_restJson1ListMissionProfilesCommandError = function (output,
|
|
|
2113
2104
|
case 7: throw _d.sent();
|
|
2114
2105
|
case 8:
|
|
2115
2106
|
parsedBody = parsedOutput.body;
|
|
2107
|
+
$metadata = deserializeMetadata(output);
|
|
2108
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2116
2109
|
response = new __BaseException({
|
|
2117
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2110
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2118
2111
|
$fault: "client",
|
|
2119
|
-
$metadata:
|
|
2112
|
+
$metadata: $metadata,
|
|
2120
2113
|
});
|
|
2121
2114
|
throw __decorateServiceException(response, parsedBody);
|
|
2122
2115
|
}
|
|
@@ -2151,7 +2144,7 @@ export var deserializeAws_restJson1ListSatellitesCommand = function (output, con
|
|
|
2151
2144
|
});
|
|
2152
2145
|
}); };
|
|
2153
2146
|
var deserializeAws_restJson1ListSatellitesCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2154
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2147
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2155
2148
|
var _c;
|
|
2156
2149
|
return __generator(this, function (_d) {
|
|
2157
2150
|
switch (_d.label) {
|
|
@@ -2161,7 +2154,6 @@ var deserializeAws_restJson1ListSatellitesCommandError = function (output, conte
|
|
|
2161
2154
|
return [4, parseBody(output.body, context)];
|
|
2162
2155
|
case 1:
|
|
2163
2156
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2164
|
-
errorCode = "UnknownError";
|
|
2165
2157
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2166
2158
|
_b = errorCode;
|
|
2167
2159
|
switch (_b) {
|
|
@@ -2181,10 +2173,12 @@ var deserializeAws_restJson1ListSatellitesCommandError = function (output, conte
|
|
|
2181
2173
|
case 7: throw _d.sent();
|
|
2182
2174
|
case 8:
|
|
2183
2175
|
parsedBody = parsedOutput.body;
|
|
2176
|
+
$metadata = deserializeMetadata(output);
|
|
2177
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2184
2178
|
response = new __BaseException({
|
|
2185
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2179
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2186
2180
|
$fault: "client",
|
|
2187
|
-
$metadata:
|
|
2181
|
+
$metadata: $metadata,
|
|
2188
2182
|
});
|
|
2189
2183
|
throw __decorateServiceException(response, parsedBody);
|
|
2190
2184
|
}
|
|
@@ -2215,7 +2209,7 @@ export var deserializeAws_restJson1ListTagsForResourceCommand = function (output
|
|
|
2215
2209
|
});
|
|
2216
2210
|
}); };
|
|
2217
2211
|
var deserializeAws_restJson1ListTagsForResourceCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2218
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2212
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2219
2213
|
var _c;
|
|
2220
2214
|
return __generator(this, function (_d) {
|
|
2221
2215
|
switch (_d.label) {
|
|
@@ -2225,7 +2219,6 @@ var deserializeAws_restJson1ListTagsForResourceCommandError = function (output,
|
|
|
2225
2219
|
return [4, parseBody(output.body, context)];
|
|
2226
2220
|
case 1:
|
|
2227
2221
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2228
|
-
errorCode = "UnknownError";
|
|
2229
2222
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2230
2223
|
_b = errorCode;
|
|
2231
2224
|
switch (_b) {
|
|
@@ -2245,10 +2238,12 @@ var deserializeAws_restJson1ListTagsForResourceCommandError = function (output,
|
|
|
2245
2238
|
case 7: throw _d.sent();
|
|
2246
2239
|
case 8:
|
|
2247
2240
|
parsedBody = parsedOutput.body;
|
|
2241
|
+
$metadata = deserializeMetadata(output);
|
|
2242
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2248
2243
|
response = new __BaseException({
|
|
2249
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2244
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2250
2245
|
$fault: "client",
|
|
2251
|
-
$metadata:
|
|
2246
|
+
$metadata: $metadata,
|
|
2252
2247
|
});
|
|
2253
2248
|
throw __decorateServiceException(response, parsedBody);
|
|
2254
2249
|
}
|
|
@@ -2279,7 +2274,7 @@ export var deserializeAws_restJson1ReserveContactCommand = function (output, con
|
|
|
2279
2274
|
});
|
|
2280
2275
|
}); };
|
|
2281
2276
|
var deserializeAws_restJson1ReserveContactCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2282
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2277
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2283
2278
|
var _c;
|
|
2284
2279
|
return __generator(this, function (_d) {
|
|
2285
2280
|
switch (_d.label) {
|
|
@@ -2289,7 +2284,6 @@ var deserializeAws_restJson1ReserveContactCommandError = function (output, conte
|
|
|
2289
2284
|
return [4, parseBody(output.body, context)];
|
|
2290
2285
|
case 1:
|
|
2291
2286
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2292
|
-
errorCode = "UnknownError";
|
|
2293
2287
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2294
2288
|
_b = errorCode;
|
|
2295
2289
|
switch (_b) {
|
|
@@ -2309,10 +2303,12 @@ var deserializeAws_restJson1ReserveContactCommandError = function (output, conte
|
|
|
2309
2303
|
case 7: throw _d.sent();
|
|
2310
2304
|
case 8:
|
|
2311
2305
|
parsedBody = parsedOutput.body;
|
|
2306
|
+
$metadata = deserializeMetadata(output);
|
|
2307
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2312
2308
|
response = new __BaseException({
|
|
2313
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2309
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2314
2310
|
$fault: "client",
|
|
2315
|
-
$metadata:
|
|
2311
|
+
$metadata: $metadata,
|
|
2316
2312
|
});
|
|
2317
2313
|
throw __decorateServiceException(response, parsedBody);
|
|
2318
2314
|
}
|
|
@@ -2337,7 +2333,7 @@ export var deserializeAws_restJson1TagResourceCommand = function (output, contex
|
|
|
2337
2333
|
});
|
|
2338
2334
|
}); };
|
|
2339
2335
|
var deserializeAws_restJson1TagResourceCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2340
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2336
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2341
2337
|
var _c;
|
|
2342
2338
|
return __generator(this, function (_d) {
|
|
2343
2339
|
switch (_d.label) {
|
|
@@ -2347,7 +2343,6 @@ var deserializeAws_restJson1TagResourceCommandError = function (output, context)
|
|
|
2347
2343
|
return [4, parseBody(output.body, context)];
|
|
2348
2344
|
case 1:
|
|
2349
2345
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2350
|
-
errorCode = "UnknownError";
|
|
2351
2346
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2352
2347
|
_b = errorCode;
|
|
2353
2348
|
switch (_b) {
|
|
@@ -2367,10 +2362,12 @@ var deserializeAws_restJson1TagResourceCommandError = function (output, context)
|
|
|
2367
2362
|
case 7: throw _d.sent();
|
|
2368
2363
|
case 8:
|
|
2369
2364
|
parsedBody = parsedOutput.body;
|
|
2365
|
+
$metadata = deserializeMetadata(output);
|
|
2366
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2370
2367
|
response = new __BaseException({
|
|
2371
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2368
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2372
2369
|
$fault: "client",
|
|
2373
|
-
$metadata:
|
|
2370
|
+
$metadata: $metadata,
|
|
2374
2371
|
});
|
|
2375
2372
|
throw __decorateServiceException(response, parsedBody);
|
|
2376
2373
|
}
|
|
@@ -2395,7 +2392,7 @@ export var deserializeAws_restJson1UntagResourceCommand = function (output, cont
|
|
|
2395
2392
|
});
|
|
2396
2393
|
}); };
|
|
2397
2394
|
var deserializeAws_restJson1UntagResourceCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2398
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2395
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2399
2396
|
var _c;
|
|
2400
2397
|
return __generator(this, function (_d) {
|
|
2401
2398
|
switch (_d.label) {
|
|
@@ -2405,7 +2402,6 @@ var deserializeAws_restJson1UntagResourceCommandError = function (output, contex
|
|
|
2405
2402
|
return [4, parseBody(output.body, context)];
|
|
2406
2403
|
case 1:
|
|
2407
2404
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2408
|
-
errorCode = "UnknownError";
|
|
2409
2405
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2410
2406
|
_b = errorCode;
|
|
2411
2407
|
switch (_b) {
|
|
@@ -2425,10 +2421,12 @@ var deserializeAws_restJson1UntagResourceCommandError = function (output, contex
|
|
|
2425
2421
|
case 7: throw _d.sent();
|
|
2426
2422
|
case 8:
|
|
2427
2423
|
parsedBody = parsedOutput.body;
|
|
2424
|
+
$metadata = deserializeMetadata(output);
|
|
2425
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2428
2426
|
response = new __BaseException({
|
|
2429
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2427
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2430
2428
|
$fault: "client",
|
|
2431
|
-
$metadata:
|
|
2429
|
+
$metadata: $metadata,
|
|
2432
2430
|
});
|
|
2433
2431
|
throw __decorateServiceException(response, parsedBody);
|
|
2434
2432
|
}
|
|
@@ -2467,7 +2465,7 @@ export var deserializeAws_restJson1UpdateConfigCommand = function (output, conte
|
|
|
2467
2465
|
});
|
|
2468
2466
|
}); };
|
|
2469
2467
|
var deserializeAws_restJson1UpdateConfigCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2470
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2468
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2471
2469
|
var _c;
|
|
2472
2470
|
return __generator(this, function (_d) {
|
|
2473
2471
|
switch (_d.label) {
|
|
@@ -2477,7 +2475,6 @@ var deserializeAws_restJson1UpdateConfigCommandError = function (output, context
|
|
|
2477
2475
|
return [4, parseBody(output.body, context)];
|
|
2478
2476
|
case 1:
|
|
2479
2477
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2480
|
-
errorCode = "UnknownError";
|
|
2481
2478
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2482
2479
|
_b = errorCode;
|
|
2483
2480
|
switch (_b) {
|
|
@@ -2497,10 +2494,12 @@ var deserializeAws_restJson1UpdateConfigCommandError = function (output, context
|
|
|
2497
2494
|
case 7: throw _d.sent();
|
|
2498
2495
|
case 8:
|
|
2499
2496
|
parsedBody = parsedOutput.body;
|
|
2497
|
+
$metadata = deserializeMetadata(output);
|
|
2498
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2500
2499
|
response = new __BaseException({
|
|
2501
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2500
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2502
2501
|
$fault: "client",
|
|
2503
|
-
$metadata:
|
|
2502
|
+
$metadata: $metadata,
|
|
2504
2503
|
});
|
|
2505
2504
|
throw __decorateServiceException(response, parsedBody);
|
|
2506
2505
|
}
|
|
@@ -2531,7 +2530,7 @@ export var deserializeAws_restJson1UpdateMissionProfileCommand = function (outpu
|
|
|
2531
2530
|
});
|
|
2532
2531
|
}); };
|
|
2533
2532
|
var deserializeAws_restJson1UpdateMissionProfileCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2534
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2533
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2535
2534
|
var _c;
|
|
2536
2535
|
return __generator(this, function (_d) {
|
|
2537
2536
|
switch (_d.label) {
|
|
@@ -2541,7 +2540,6 @@ var deserializeAws_restJson1UpdateMissionProfileCommandError = function (output,
|
|
|
2541
2540
|
return [4, parseBody(output.body, context)];
|
|
2542
2541
|
case 1:
|
|
2543
2542
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2544
|
-
errorCode = "UnknownError";
|
|
2545
2543
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2546
2544
|
_b = errorCode;
|
|
2547
2545
|
switch (_b) {
|
|
@@ -2561,10 +2559,12 @@ var deserializeAws_restJson1UpdateMissionProfileCommandError = function (output,
|
|
|
2561
2559
|
case 7: throw _d.sent();
|
|
2562
2560
|
case 8:
|
|
2563
2561
|
parsedBody = parsedOutput.body;
|
|
2562
|
+
$metadata = deserializeMetadata(output);
|
|
2563
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2564
2564
|
response = new __BaseException({
|
|
2565
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2565
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2566
2566
|
$fault: "client",
|
|
2567
|
-
$metadata:
|
|
2567
|
+
$metadata: $metadata,
|
|
2568
2568
|
});
|
|
2569
2569
|
throw __decorateServiceException(response, parsedBody);
|
|
2570
2570
|
}
|
|
@@ -2628,28 +2628,23 @@ var deserializeAws_restJson1ResourceNotFoundExceptionResponse = function (parsed
|
|
|
2628
2628
|
});
|
|
2629
2629
|
}); };
|
|
2630
2630
|
var serializeAws_restJson1AntennaDownlinkConfig = function (input, context) {
|
|
2631
|
-
return __assign({}, (input.spectrumConfig
|
|
2632
|
-
input.spectrumConfig !== null && {
|
|
2631
|
+
return __assign({}, (input.spectrumConfig != null && {
|
|
2633
2632
|
spectrumConfig: serializeAws_restJson1SpectrumConfig(input.spectrumConfig, context),
|
|
2634
2633
|
}));
|
|
2635
2634
|
};
|
|
2636
2635
|
var serializeAws_restJson1AntennaDownlinkDemodDecodeConfig = function (input, context) {
|
|
2637
|
-
return __assign(__assign(__assign({}, (input.decodeConfig
|
|
2638
|
-
|
|
2639
|
-
|
|
2636
|
+
return __assign(__assign(__assign({}, (input.decodeConfig != null && {
|
|
2637
|
+
decodeConfig: serializeAws_restJson1DecodeConfig(input.decodeConfig, context),
|
|
2638
|
+
})), (input.demodulationConfig != null && {
|
|
2640
2639
|
demodulationConfig: serializeAws_restJson1DemodulationConfig(input.demodulationConfig, context),
|
|
2641
|
-
})), (input.spectrumConfig
|
|
2642
|
-
input.spectrumConfig !== null && {
|
|
2640
|
+
})), (input.spectrumConfig != null && {
|
|
2643
2641
|
spectrumConfig: serializeAws_restJson1SpectrumConfig(input.spectrumConfig, context),
|
|
2644
2642
|
}));
|
|
2645
2643
|
};
|
|
2646
2644
|
var serializeAws_restJson1AntennaUplinkConfig = function (input, context) {
|
|
2647
|
-
return __assign(__assign(__assign({}, (input.spectrumConfig
|
|
2648
|
-
input.spectrumConfig !== null && {
|
|
2645
|
+
return __assign(__assign(__assign({}, (input.spectrumConfig != null && {
|
|
2649
2646
|
spectrumConfig: serializeAws_restJson1UplinkSpectrumConfig(input.spectrumConfig, context),
|
|
2650
|
-
})), (input.targetEirp
|
|
2651
|
-
input.targetEirp !== null && { targetEirp: serializeAws_restJson1Eirp(input.targetEirp, context) })), (input.transmitDisabled !== undefined &&
|
|
2652
|
-
input.transmitDisabled !== null && { transmitDisabled: input.transmitDisabled }));
|
|
2647
|
+
})), (input.targetEirp != null && { targetEirp: serializeAws_restJson1Eirp(input.targetEirp, context) })), (input.transmitDisabled != null && { transmitDisabled: input.transmitDisabled }));
|
|
2653
2648
|
};
|
|
2654
2649
|
var serializeAws_restJson1ConfigTypeData = function (input, context) {
|
|
2655
2650
|
return ConfigTypeData.visit(input, {
|
|
@@ -2692,29 +2687,22 @@ var serializeAws_restJson1DataflowEdgeList = function (input, context) {
|
|
|
2692
2687
|
});
|
|
2693
2688
|
};
|
|
2694
2689
|
var serializeAws_restJson1DataflowEndpoint = function (input, context) {
|
|
2695
|
-
return __assign(__assign(__assign(__assign({}, (input.address
|
|
2696
|
-
input.address !== null && { address: serializeAws_restJson1SocketAddress(input.address, context) })), (input.mtu !== undefined && input.mtu !== null && { mtu: input.mtu })), (input.name !== undefined && input.name !== null && { name: input.name })), (input.status !== undefined && input.status !== null && { status: input.status }));
|
|
2690
|
+
return __assign(__assign(__assign(__assign({}, (input.address != null && { address: serializeAws_restJson1SocketAddress(input.address, context) })), (input.mtu != null && { mtu: input.mtu })), (input.name != null && { name: input.name })), (input.status != null && { status: input.status }));
|
|
2697
2691
|
};
|
|
2698
2692
|
var serializeAws_restJson1DataflowEndpointConfig = function (input, context) {
|
|
2699
|
-
return __assign(__assign({}, (input.dataflowEndpointName
|
|
2700
|
-
input.dataflowEndpointName !== null && { dataflowEndpointName: input.dataflowEndpointName })), (input.dataflowEndpointRegion !== undefined &&
|
|
2701
|
-
input.dataflowEndpointRegion !== null && { dataflowEndpointRegion: input.dataflowEndpointRegion }));
|
|
2693
|
+
return __assign(__assign({}, (input.dataflowEndpointName != null && { dataflowEndpointName: input.dataflowEndpointName })), (input.dataflowEndpointRegion != null && { dataflowEndpointRegion: input.dataflowEndpointRegion }));
|
|
2702
2694
|
};
|
|
2703
2695
|
var serializeAws_restJson1DecodeConfig = function (input, context) {
|
|
2704
|
-
return __assign({}, (input.unvalidatedJSON
|
|
2705
|
-
input.unvalidatedJSON !== null && { unvalidatedJSON: input.unvalidatedJSON }));
|
|
2696
|
+
return __assign({}, (input.unvalidatedJSON != null && { unvalidatedJSON: input.unvalidatedJSON }));
|
|
2706
2697
|
};
|
|
2707
2698
|
var serializeAws_restJson1DemodulationConfig = function (input, context) {
|
|
2708
|
-
return __assign({}, (input.unvalidatedJSON
|
|
2709
|
-
input.unvalidatedJSON !== null && { unvalidatedJSON: input.unvalidatedJSON }));
|
|
2699
|
+
return __assign({}, (input.unvalidatedJSON != null && { unvalidatedJSON: input.unvalidatedJSON }));
|
|
2710
2700
|
};
|
|
2711
2701
|
var serializeAws_restJson1Eirp = function (input, context) {
|
|
2712
|
-
return __assign(__assign({}, (input.units
|
|
2702
|
+
return __assign(__assign({}, (input.units != null && { units: input.units })), (input.value != null && { value: __serializeFloat(input.value) }));
|
|
2713
2703
|
};
|
|
2714
2704
|
var serializeAws_restJson1EndpointDetails = function (input, context) {
|
|
2715
|
-
return __assign(__assign({}, (input.endpoint
|
|
2716
|
-
input.endpoint !== null && { endpoint: serializeAws_restJson1DataflowEndpoint(input.endpoint, context) })), (input.securityDetails !== undefined &&
|
|
2717
|
-
input.securityDetails !== null && {
|
|
2705
|
+
return __assign(__assign({}, (input.endpoint != null && { endpoint: serializeAws_restJson1DataflowEndpoint(input.endpoint, context) })), (input.securityDetails != null && {
|
|
2718
2706
|
securityDetails: serializeAws_restJson1SecurityDetails(input.securityDetails, context),
|
|
2719
2707
|
}));
|
|
2720
2708
|
};
|
|
@@ -2729,20 +2717,18 @@ var serializeAws_restJson1EndpointDetailsList = function (input, context) {
|
|
|
2729
2717
|
});
|
|
2730
2718
|
};
|
|
2731
2719
|
var serializeAws_restJson1Frequency = function (input, context) {
|
|
2732
|
-
return __assign(__assign({}, (input.units
|
|
2720
|
+
return __assign(__assign({}, (input.units != null && { units: input.units })), (input.value != null && { value: __serializeFloat(input.value) }));
|
|
2733
2721
|
};
|
|
2734
2722
|
var serializeAws_restJson1FrequencyBandwidth = function (input, context) {
|
|
2735
|
-
return __assign(__assign({}, (input.units
|
|
2723
|
+
return __assign(__assign({}, (input.units != null && { units: input.units })), (input.value != null && { value: __serializeFloat(input.value) }));
|
|
2736
2724
|
};
|
|
2737
2725
|
var serializeAws_restJson1S3RecordingConfig = function (input, context) {
|
|
2738
|
-
return __assign(__assign(__assign({}, (input.bucketArn
|
|
2726
|
+
return __assign(__assign(__assign({}, (input.bucketArn != null && { bucketArn: input.bucketArn })), (input.prefix != null && { prefix: input.prefix })), (input.roleArn != null && { roleArn: input.roleArn }));
|
|
2739
2727
|
};
|
|
2740
2728
|
var serializeAws_restJson1SecurityDetails = function (input, context) {
|
|
2741
|
-
return __assign(__assign(__assign({}, (input.roleArn
|
|
2742
|
-
input.securityGroupIds !== null && {
|
|
2729
|
+
return __assign(__assign(__assign({}, (input.roleArn != null && { roleArn: input.roleArn })), (input.securityGroupIds != null && {
|
|
2743
2730
|
securityGroupIds: serializeAws_restJson1SecurityGroupIdList(input.securityGroupIds, context),
|
|
2744
|
-
})), (input.subnetIds
|
|
2745
|
-
input.subnetIds !== null && { subnetIds: serializeAws_restJson1SubnetList(input.subnetIds, context) }));
|
|
2731
|
+
})), (input.subnetIds != null && { subnetIds: serializeAws_restJson1SubnetList(input.subnetIds, context) }));
|
|
2746
2732
|
};
|
|
2747
2733
|
var serializeAws_restJson1SecurityGroupIdList = function (input, context) {
|
|
2748
2734
|
return input
|
|
@@ -2755,14 +2741,12 @@ var serializeAws_restJson1SecurityGroupIdList = function (input, context) {
|
|
|
2755
2741
|
});
|
|
2756
2742
|
};
|
|
2757
2743
|
var serializeAws_restJson1SocketAddress = function (input, context) {
|
|
2758
|
-
return __assign(__assign({}, (input.name
|
|
2744
|
+
return __assign(__assign({}, (input.name != null && { name: input.name })), (input.port != null && { port: input.port }));
|
|
2759
2745
|
};
|
|
2760
2746
|
var serializeAws_restJson1SpectrumConfig = function (input, context) {
|
|
2761
|
-
return __assign(__assign(__assign({}, (input.bandwidth
|
|
2762
|
-
input.bandwidth !== null && { bandwidth: serializeAws_restJson1FrequencyBandwidth(input.bandwidth, context) })), (input.centerFrequency !== undefined &&
|
|
2763
|
-
input.centerFrequency !== null && {
|
|
2747
|
+
return __assign(__assign(__assign({}, (input.bandwidth != null && { bandwidth: serializeAws_restJson1FrequencyBandwidth(input.bandwidth, context) })), (input.centerFrequency != null && {
|
|
2764
2748
|
centerFrequency: serializeAws_restJson1Frequency(input.centerFrequency, context),
|
|
2765
|
-
})), (input.polarization
|
|
2749
|
+
})), (input.polarization != null && { polarization: input.polarization }));
|
|
2766
2750
|
};
|
|
2767
2751
|
var serializeAws_restJson1StatusList = function (input, context) {
|
|
2768
2752
|
return input
|
|
@@ -2795,17 +2779,15 @@ var serializeAws_restJson1TagsMap = function (input, context) {
|
|
|
2795
2779
|
}, {});
|
|
2796
2780
|
};
|
|
2797
2781
|
var serializeAws_restJson1TrackingConfig = function (input, context) {
|
|
2798
|
-
return __assign({}, (input.autotrack
|
|
2782
|
+
return __assign({}, (input.autotrack != null && { autotrack: input.autotrack }));
|
|
2799
2783
|
};
|
|
2800
2784
|
var serializeAws_restJson1UplinkEchoConfig = function (input, context) {
|
|
2801
|
-
return __assign(__assign({}, (input.antennaUplinkConfigArn
|
|
2802
|
-
input.antennaUplinkConfigArn !== null && { antennaUplinkConfigArn: input.antennaUplinkConfigArn })), (input.enabled !== undefined && input.enabled !== null && { enabled: input.enabled }));
|
|
2785
|
+
return __assign(__assign({}, (input.antennaUplinkConfigArn != null && { antennaUplinkConfigArn: input.antennaUplinkConfigArn })), (input.enabled != null && { enabled: input.enabled }));
|
|
2803
2786
|
};
|
|
2804
2787
|
var serializeAws_restJson1UplinkSpectrumConfig = function (input, context) {
|
|
2805
|
-
return __assign(__assign({}, (input.centerFrequency
|
|
2806
|
-
input.centerFrequency !== null && {
|
|
2788
|
+
return __assign(__assign({}, (input.centerFrequency != null && {
|
|
2807
2789
|
centerFrequency: serializeAws_restJson1Frequency(input.centerFrequency, context),
|
|
2808
|
-
})), (input.polarization
|
|
2790
|
+
})), (input.polarization != null && { polarization: input.polarization }));
|
|
2809
2791
|
};
|
|
2810
2792
|
var deserializeAws_restJson1AntennaDemodDecodeDetails = function (output, context) {
|
|
2811
2793
|
return {
|
|
@@ -2814,32 +2796,28 @@ var deserializeAws_restJson1AntennaDemodDecodeDetails = function (output, contex
|
|
|
2814
2796
|
};
|
|
2815
2797
|
var deserializeAws_restJson1AntennaDownlinkConfig = function (output, context) {
|
|
2816
2798
|
return {
|
|
2817
|
-
spectrumConfig: output.spectrumConfig
|
|
2799
|
+
spectrumConfig: output.spectrumConfig != null
|
|
2818
2800
|
? deserializeAws_restJson1SpectrumConfig(output.spectrumConfig, context)
|
|
2819
2801
|
: undefined,
|
|
2820
2802
|
};
|
|
2821
2803
|
};
|
|
2822
2804
|
var deserializeAws_restJson1AntennaDownlinkDemodDecodeConfig = function (output, context) {
|
|
2823
2805
|
return {
|
|
2824
|
-
decodeConfig: output.decodeConfig
|
|
2825
|
-
|
|
2826
|
-
: undefined,
|
|
2827
|
-
demodulationConfig: output.demodulationConfig !== undefined && output.demodulationConfig !== null
|
|
2806
|
+
decodeConfig: output.decodeConfig != null ? deserializeAws_restJson1DecodeConfig(output.decodeConfig, context) : undefined,
|
|
2807
|
+
demodulationConfig: output.demodulationConfig != null
|
|
2828
2808
|
? deserializeAws_restJson1DemodulationConfig(output.demodulationConfig, context)
|
|
2829
2809
|
: undefined,
|
|
2830
|
-
spectrumConfig: output.spectrumConfig
|
|
2810
|
+
spectrumConfig: output.spectrumConfig != null
|
|
2831
2811
|
? deserializeAws_restJson1SpectrumConfig(output.spectrumConfig, context)
|
|
2832
2812
|
: undefined,
|
|
2833
2813
|
};
|
|
2834
2814
|
};
|
|
2835
2815
|
var deserializeAws_restJson1AntennaUplinkConfig = function (output, context) {
|
|
2836
2816
|
return {
|
|
2837
|
-
spectrumConfig: output.spectrumConfig
|
|
2817
|
+
spectrumConfig: output.spectrumConfig != null
|
|
2838
2818
|
? deserializeAws_restJson1UplinkSpectrumConfig(output.spectrumConfig, context)
|
|
2839
2819
|
: undefined,
|
|
2840
|
-
targetEirp: output.targetEirp
|
|
2841
|
-
? deserializeAws_restJson1Eirp(output.targetEirp, context)
|
|
2842
|
-
: undefined,
|
|
2820
|
+
targetEirp: output.targetEirp != null ? deserializeAws_restJson1Eirp(output.targetEirp, context) : undefined,
|
|
2843
2821
|
transmitDisabled: __expectBoolean(output.transmitDisabled),
|
|
2844
2822
|
};
|
|
2845
2823
|
};
|
|
@@ -2922,29 +2900,21 @@ var deserializeAws_restJson1ContactData = function (output, context) {
|
|
|
2922
2900
|
return {
|
|
2923
2901
|
contactId: __expectString(output.contactId),
|
|
2924
2902
|
contactStatus: __expectString(output.contactStatus),
|
|
2925
|
-
endTime: output.endTime
|
|
2926
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.endTime)))
|
|
2927
|
-
: undefined,
|
|
2903
|
+
endTime: output.endTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.endTime))) : undefined,
|
|
2928
2904
|
errorMessage: __expectString(output.errorMessage),
|
|
2929
2905
|
groundStation: __expectString(output.groundStation),
|
|
2930
|
-
maximumElevation: output.maximumElevation
|
|
2931
|
-
? deserializeAws_restJson1Elevation(output.maximumElevation, context)
|
|
2932
|
-
: undefined,
|
|
2906
|
+
maximumElevation: output.maximumElevation != null ? deserializeAws_restJson1Elevation(output.maximumElevation, context) : undefined,
|
|
2933
2907
|
missionProfileArn: __expectString(output.missionProfileArn),
|
|
2934
|
-
postPassEndTime: output.postPassEndTime
|
|
2908
|
+
postPassEndTime: output.postPassEndTime != null
|
|
2935
2909
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.postPassEndTime)))
|
|
2936
2910
|
: undefined,
|
|
2937
|
-
prePassStartTime: output.prePassStartTime
|
|
2911
|
+
prePassStartTime: output.prePassStartTime != null
|
|
2938
2912
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.prePassStartTime)))
|
|
2939
2913
|
: undefined,
|
|
2940
2914
|
region: __expectString(output.region),
|
|
2941
2915
|
satelliteArn: __expectString(output.satelliteArn),
|
|
2942
|
-
startTime: output.startTime
|
|
2943
|
-
|
|
2944
|
-
: undefined,
|
|
2945
|
-
tags: output.tags !== undefined && output.tags !== null
|
|
2946
|
-
? deserializeAws_restJson1TagsMap(output.tags, context)
|
|
2947
|
-
: undefined,
|
|
2916
|
+
startTime: output.startTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.startTime))) : undefined,
|
|
2917
|
+
tags: output.tags != null ? deserializeAws_restJson1TagsMap(output.tags, context) : undefined,
|
|
2948
2918
|
};
|
|
2949
2919
|
};
|
|
2950
2920
|
var deserializeAws_restJson1ContactList = function (output, context) {
|
|
@@ -2960,13 +2930,9 @@ var deserializeAws_restJson1ContactList = function (output, context) {
|
|
|
2960
2930
|
};
|
|
2961
2931
|
var deserializeAws_restJson1DataflowDetail = function (output, context) {
|
|
2962
2932
|
return {
|
|
2963
|
-
destination: output.destination
|
|
2964
|
-
? deserializeAws_restJson1Destination(output.destination, context)
|
|
2965
|
-
: undefined,
|
|
2933
|
+
destination: output.destination != null ? deserializeAws_restJson1Destination(output.destination, context) : undefined,
|
|
2966
2934
|
errorMessage: __expectString(output.errorMessage),
|
|
2967
|
-
source: output.source
|
|
2968
|
-
? deserializeAws_restJson1Source(output.source, context)
|
|
2969
|
-
: undefined,
|
|
2935
|
+
source: output.source != null ? deserializeAws_restJson1Source(output.source, context) : undefined,
|
|
2970
2936
|
};
|
|
2971
2937
|
};
|
|
2972
2938
|
var deserializeAws_restJson1DataflowEdge = function (output, context) {
|
|
@@ -2993,9 +2959,7 @@ var deserializeAws_restJson1DataflowEdgeList = function (output, context) {
|
|
|
2993
2959
|
};
|
|
2994
2960
|
var deserializeAws_restJson1DataflowEndpoint = function (output, context) {
|
|
2995
2961
|
return {
|
|
2996
|
-
address: output.address
|
|
2997
|
-
? deserializeAws_restJson1SocketAddress(output.address, context)
|
|
2998
|
-
: undefined,
|
|
2962
|
+
address: output.address != null ? deserializeAws_restJson1SocketAddress(output.address, context) : undefined,
|
|
2999
2963
|
mtu: __expectInt32(output.mtu),
|
|
3000
2964
|
name: __expectString(output.name),
|
|
3001
2965
|
status: __expectString(output.status),
|
|
@@ -3047,7 +3011,7 @@ var deserializeAws_restJson1DemodulationConfig = function (output, context) {
|
|
|
3047
3011
|
};
|
|
3048
3012
|
var deserializeAws_restJson1Destination = function (output, context) {
|
|
3049
3013
|
return {
|
|
3050
|
-
configDetails: output.configDetails
|
|
3014
|
+
configDetails: output.configDetails != null
|
|
3051
3015
|
? deserializeAws_restJson1ConfigDetails(__expectUnion(output.configDetails), context)
|
|
3052
3016
|
: undefined,
|
|
3053
3017
|
configId: __expectString(output.configId),
|
|
@@ -3069,10 +3033,8 @@ var deserializeAws_restJson1Elevation = function (output, context) {
|
|
|
3069
3033
|
};
|
|
3070
3034
|
var deserializeAws_restJson1EndpointDetails = function (output, context) {
|
|
3071
3035
|
return {
|
|
3072
|
-
endpoint: output.endpoint
|
|
3073
|
-
|
|
3074
|
-
: undefined,
|
|
3075
|
-
securityDetails: output.securityDetails !== undefined && output.securityDetails !== null
|
|
3036
|
+
endpoint: output.endpoint != null ? deserializeAws_restJson1DataflowEndpoint(output.endpoint, context) : undefined,
|
|
3037
|
+
securityDetails: output.securityDetails != null
|
|
3076
3038
|
? deserializeAws_restJson1SecurityDetails(output.securityDetails, context)
|
|
3077
3039
|
: undefined,
|
|
3078
3040
|
};
|
|
@@ -3174,7 +3136,7 @@ var deserializeAws_restJson1SatelliteList = function (output, context) {
|
|
|
3174
3136
|
};
|
|
3175
3137
|
var deserializeAws_restJson1SatelliteListItem = function (output, context) {
|
|
3176
3138
|
return {
|
|
3177
|
-
groundStations: output.groundStations
|
|
3139
|
+
groundStations: output.groundStations != null
|
|
3178
3140
|
? deserializeAws_restJson1GroundStationIdList(output.groundStations, context)
|
|
3179
3141
|
: undefined,
|
|
3180
3142
|
noradSatelliteID: __expectInt32(output.noradSatelliteID),
|
|
@@ -3185,12 +3147,10 @@ var deserializeAws_restJson1SatelliteListItem = function (output, context) {
|
|
|
3185
3147
|
var deserializeAws_restJson1SecurityDetails = function (output, context) {
|
|
3186
3148
|
return {
|
|
3187
3149
|
roleArn: __expectString(output.roleArn),
|
|
3188
|
-
securityGroupIds: output.securityGroupIds
|
|
3150
|
+
securityGroupIds: output.securityGroupIds != null
|
|
3189
3151
|
? deserializeAws_restJson1SecurityGroupIdList(output.securityGroupIds, context)
|
|
3190
3152
|
: undefined,
|
|
3191
|
-
subnetIds: output.subnetIds
|
|
3192
|
-
? deserializeAws_restJson1SubnetList(output.subnetIds, context)
|
|
3193
|
-
: undefined,
|
|
3153
|
+
subnetIds: output.subnetIds != null ? deserializeAws_restJson1SubnetList(output.subnetIds, context) : undefined,
|
|
3194
3154
|
};
|
|
3195
3155
|
};
|
|
3196
3156
|
var deserializeAws_restJson1SecurityGroupIdList = function (output, context) {
|
|
@@ -3212,7 +3172,7 @@ var deserializeAws_restJson1SocketAddress = function (output, context) {
|
|
|
3212
3172
|
};
|
|
3213
3173
|
var deserializeAws_restJson1Source = function (output, context) {
|
|
3214
3174
|
return {
|
|
3215
|
-
configDetails: output.configDetails
|
|
3175
|
+
configDetails: output.configDetails != null
|
|
3216
3176
|
? deserializeAws_restJson1ConfigDetails(__expectUnion(output.configDetails), context)
|
|
3217
3177
|
: undefined,
|
|
3218
3178
|
configId: __expectString(output.configId),
|
|
@@ -3222,12 +3182,8 @@ var deserializeAws_restJson1Source = function (output, context) {
|
|
|
3222
3182
|
};
|
|
3223
3183
|
var deserializeAws_restJson1SpectrumConfig = function (output, context) {
|
|
3224
3184
|
return {
|
|
3225
|
-
bandwidth: output.bandwidth
|
|
3226
|
-
|
|
3227
|
-
: undefined,
|
|
3228
|
-
centerFrequency: output.centerFrequency !== undefined && output.centerFrequency !== null
|
|
3229
|
-
? deserializeAws_restJson1Frequency(output.centerFrequency, context)
|
|
3230
|
-
: undefined,
|
|
3185
|
+
bandwidth: output.bandwidth != null ? deserializeAws_restJson1FrequencyBandwidth(output.bandwidth, context) : undefined,
|
|
3186
|
+
centerFrequency: output.centerFrequency != null ? deserializeAws_restJson1Frequency(output.centerFrequency, context) : undefined,
|
|
3231
3187
|
polarization: __expectString(output.polarization),
|
|
3232
3188
|
};
|
|
3233
3189
|
};
|
|
@@ -3265,9 +3221,7 @@ var deserializeAws_restJson1UplinkEchoConfig = function (output, context) {
|
|
|
3265
3221
|
};
|
|
3266
3222
|
var deserializeAws_restJson1UplinkSpectrumConfig = function (output, context) {
|
|
3267
3223
|
return {
|
|
3268
|
-
centerFrequency: output.centerFrequency
|
|
3269
|
-
? deserializeAws_restJson1Frequency(output.centerFrequency, context)
|
|
3270
|
-
: undefined,
|
|
3224
|
+
centerFrequency: output.centerFrequency != null ? deserializeAws_restJson1Frequency(output.centerFrequency, context) : undefined,
|
|
3271
3225
|
polarization: __expectString(output.polarization),
|
|
3272
3226
|
};
|
|
3273
3227
|
};
|
|
@@ -3327,5 +3281,4 @@ var loadRestJsonErrorCode = function (output, data) {
|
|
|
3327
3281
|
if (data["__type"] !== undefined) {
|
|
3328
3282
|
return sanitizeErrorCode(data["__type"]);
|
|
3329
3283
|
}
|
|
3330
|
-
return "";
|
|
3331
3284
|
};
|