@aws-sdk/client-groundstation 3.29.0 → 3.33.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 +32 -0
- package/dist/cjs/GroundStationClient.js +13 -13
- package/dist/cjs/GroundStationClient.js.map +1 -1
- package/dist/cjs/commands/CancelContactCommand.js +3 -3
- package/dist/cjs/commands/CancelContactCommand.js.map +1 -1
- package/dist/cjs/commands/CreateConfigCommand.js +3 -3
- package/dist/cjs/commands/CreateConfigCommand.js.map +1 -1
- package/dist/cjs/commands/CreateDataflowEndpointGroupCommand.js +3 -3
- package/dist/cjs/commands/CreateDataflowEndpointGroupCommand.js.map +1 -1
- package/dist/cjs/commands/CreateMissionProfileCommand.js +3 -3
- package/dist/cjs/commands/CreateMissionProfileCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteConfigCommand.js +3 -3
- package/dist/cjs/commands/DeleteConfigCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteDataflowEndpointGroupCommand.js +3 -3
- package/dist/cjs/commands/DeleteDataflowEndpointGroupCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteMissionProfileCommand.js +3 -3
- package/dist/cjs/commands/DeleteMissionProfileCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeContactCommand.js +3 -3
- package/dist/cjs/commands/DescribeContactCommand.js.map +1 -1
- package/dist/cjs/commands/GetConfigCommand.js +3 -3
- package/dist/cjs/commands/GetConfigCommand.js.map +1 -1
- package/dist/cjs/commands/GetDataflowEndpointGroupCommand.js +3 -3
- package/dist/cjs/commands/GetDataflowEndpointGroupCommand.js.map +1 -1
- package/dist/cjs/commands/GetMinuteUsageCommand.js +3 -3
- package/dist/cjs/commands/GetMinuteUsageCommand.js.map +1 -1
- package/dist/cjs/commands/GetMissionProfileCommand.js +3 -3
- package/dist/cjs/commands/GetMissionProfileCommand.js.map +1 -1
- package/dist/cjs/commands/GetSatelliteCommand.js +3 -3
- package/dist/cjs/commands/GetSatelliteCommand.js.map +1 -1
- package/dist/cjs/commands/ListConfigsCommand.js +3 -3
- package/dist/cjs/commands/ListConfigsCommand.js.map +1 -1
- package/dist/cjs/commands/ListContactsCommand.js +3 -3
- package/dist/cjs/commands/ListContactsCommand.js.map +1 -1
- package/dist/cjs/commands/ListDataflowEndpointGroupsCommand.js +3 -3
- package/dist/cjs/commands/ListDataflowEndpointGroupsCommand.js.map +1 -1
- package/dist/cjs/commands/ListGroundStationsCommand.js +3 -3
- package/dist/cjs/commands/ListGroundStationsCommand.js.map +1 -1
- package/dist/cjs/commands/ListMissionProfilesCommand.js +3 -3
- package/dist/cjs/commands/ListMissionProfilesCommand.js.map +1 -1
- package/dist/cjs/commands/ListSatellitesCommand.js +3 -3
- package/dist/cjs/commands/ListSatellitesCommand.js.map +1 -1
- package/dist/cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist/cjs/commands/ListTagsForResourceCommand.js.map +1 -1
- package/dist/cjs/commands/ReserveContactCommand.js +3 -3
- package/dist/cjs/commands/ReserveContactCommand.js.map +1 -1
- package/dist/cjs/commands/TagResourceCommand.js +3 -3
- package/dist/cjs/commands/TagResourceCommand.js.map +1 -1
- package/dist/cjs/commands/UntagResourceCommand.js +3 -3
- package/dist/cjs/commands/UntagResourceCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateConfigCommand.js +3 -3
- package/dist/cjs/commands/UpdateConfigCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateMissionProfileCommand.js +3 -3
- package/dist/cjs/commands/UpdateMissionProfileCommand.js.map +1 -1
- package/dist/cjs/endpoints.js +1 -1
- package/dist/cjs/endpoints.js.map +1 -1
- package/dist/cjs/index.js +35 -35
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/models/index.js +1 -1
- package/dist/cjs/models/index.js.map +1 -1
- package/dist/cjs/package.json +31 -31
- package/dist/cjs/protocols/Aws_restJson1.js +179 -177
- package/dist/cjs/protocols/Aws_restJson1.js.map +1 -1
- package/dist/cjs/runtimeConfig.browser.js +4 -4
- package/dist/cjs/runtimeConfig.browser.js.map +1 -1
- package/dist/cjs/runtimeConfig.js +8 -8
- package/dist/cjs/runtimeConfig.js.map +1 -1
- package/dist/cjs/runtimeConfig.native.js +1 -1
- package/dist/cjs/runtimeConfig.native.js.map +1 -1
- package/dist/es/package.json +31 -31
- package/dist/es/pagination/ListConfigsPaginator.js +4 -4
- package/dist/es/pagination/ListConfigsPaginator.js.map +1 -1
- package/dist/es/pagination/ListContactsPaginator.js +4 -4
- package/dist/es/pagination/ListContactsPaginator.js.map +1 -1
- package/dist/es/pagination/ListDataflowEndpointGroupsPaginator.js +4 -4
- package/dist/es/pagination/ListDataflowEndpointGroupsPaginator.js.map +1 -1
- package/dist/es/pagination/ListGroundStationsPaginator.js +4 -4
- package/dist/es/pagination/ListGroundStationsPaginator.js.map +1 -1
- package/dist/es/pagination/ListMissionProfilesPaginator.js +4 -4
- package/dist/es/pagination/ListMissionProfilesPaginator.js.map +1 -1
- package/dist/es/pagination/ListSatellitesPaginator.js +4 -4
- package/dist/es/pagination/ListSatellitesPaginator.js.map +1 -1
- package/dist/es/protocols/Aws_restJson1.js +14 -12
- package/dist/es/protocols/Aws_restJson1.js.map +1 -1
- package/package.json +31 -31
- package/protocols/Aws_restJson1.ts +16 -11
- package/tsconfig.json +1 -2
|
@@ -13,7 +13,7 @@ const serializeAws_restJson1CancelContactCommand = async (input, context) => {
|
|
|
13
13
|
if (labelValue.length <= 0) {
|
|
14
14
|
throw new Error("Empty value provided for input HTTP label: contactId.");
|
|
15
15
|
}
|
|
16
|
-
resolvedPath = resolvedPath.replace("{contactId}",
|
|
16
|
+
resolvedPath = resolvedPath.replace("{contactId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
17
17
|
}
|
|
18
18
|
else {
|
|
19
19
|
throw new Error("No value provided for input HTTP label: contactId.");
|
|
@@ -131,7 +131,7 @@ const serializeAws_restJson1DeleteConfigCommand = async (input, context) => {
|
|
|
131
131
|
if (labelValue.length <= 0) {
|
|
132
132
|
throw new Error("Empty value provided for input HTTP label: configId.");
|
|
133
133
|
}
|
|
134
|
-
resolvedPath = resolvedPath.replace("{configId}",
|
|
134
|
+
resolvedPath = resolvedPath.replace("{configId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
135
135
|
}
|
|
136
136
|
else {
|
|
137
137
|
throw new Error("No value provided for input HTTP label: configId.");
|
|
@@ -141,7 +141,7 @@ const serializeAws_restJson1DeleteConfigCommand = async (input, context) => {
|
|
|
141
141
|
if (labelValue.length <= 0) {
|
|
142
142
|
throw new Error("Empty value provided for input HTTP label: configType.");
|
|
143
143
|
}
|
|
144
|
-
resolvedPath = resolvedPath.replace("{configType}",
|
|
144
|
+
resolvedPath = resolvedPath.replace("{configType}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
145
145
|
}
|
|
146
146
|
else {
|
|
147
147
|
throw new Error("No value provided for input HTTP label: configType.");
|
|
@@ -168,7 +168,7 @@ const serializeAws_restJson1DeleteDataflowEndpointGroupCommand = async (input, c
|
|
|
168
168
|
if (labelValue.length <= 0) {
|
|
169
169
|
throw new Error("Empty value provided for input HTTP label: dataflowEndpointGroupId.");
|
|
170
170
|
}
|
|
171
|
-
resolvedPath = resolvedPath.replace("{dataflowEndpointGroupId}",
|
|
171
|
+
resolvedPath = resolvedPath.replace("{dataflowEndpointGroupId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
172
172
|
}
|
|
173
173
|
else {
|
|
174
174
|
throw new Error("No value provided for input HTTP label: dataflowEndpointGroupId.");
|
|
@@ -194,7 +194,7 @@ const serializeAws_restJson1DeleteMissionProfileCommand = async (input, context)
|
|
|
194
194
|
if (labelValue.length <= 0) {
|
|
195
195
|
throw new Error("Empty value provided for input HTTP label: missionProfileId.");
|
|
196
196
|
}
|
|
197
|
-
resolvedPath = resolvedPath.replace("{missionProfileId}",
|
|
197
|
+
resolvedPath = resolvedPath.replace("{missionProfileId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
198
198
|
}
|
|
199
199
|
else {
|
|
200
200
|
throw new Error("No value provided for input HTTP label: missionProfileId.");
|
|
@@ -220,7 +220,7 @@ const serializeAws_restJson1DescribeContactCommand = async (input, context) => {
|
|
|
220
220
|
if (labelValue.length <= 0) {
|
|
221
221
|
throw new Error("Empty value provided for input HTTP label: contactId.");
|
|
222
222
|
}
|
|
223
|
-
resolvedPath = resolvedPath.replace("{contactId}",
|
|
223
|
+
resolvedPath = resolvedPath.replace("{contactId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
224
224
|
}
|
|
225
225
|
else {
|
|
226
226
|
throw new Error("No value provided for input HTTP label: contactId.");
|
|
@@ -246,7 +246,7 @@ const serializeAws_restJson1GetConfigCommand = async (input, context) => {
|
|
|
246
246
|
if (labelValue.length <= 0) {
|
|
247
247
|
throw new Error("Empty value provided for input HTTP label: configId.");
|
|
248
248
|
}
|
|
249
|
-
resolvedPath = resolvedPath.replace("{configId}",
|
|
249
|
+
resolvedPath = resolvedPath.replace("{configId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
250
250
|
}
|
|
251
251
|
else {
|
|
252
252
|
throw new Error("No value provided for input HTTP label: configId.");
|
|
@@ -256,7 +256,7 @@ const serializeAws_restJson1GetConfigCommand = async (input, context) => {
|
|
|
256
256
|
if (labelValue.length <= 0) {
|
|
257
257
|
throw new Error("Empty value provided for input HTTP label: configType.");
|
|
258
258
|
}
|
|
259
|
-
resolvedPath = resolvedPath.replace("{configType}",
|
|
259
|
+
resolvedPath = resolvedPath.replace("{configType}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
260
260
|
}
|
|
261
261
|
else {
|
|
262
262
|
throw new Error("No value provided for input HTTP label: configType.");
|
|
@@ -283,7 +283,7 @@ const serializeAws_restJson1GetDataflowEndpointGroupCommand = async (input, cont
|
|
|
283
283
|
if (labelValue.length <= 0) {
|
|
284
284
|
throw new Error("Empty value provided for input HTTP label: dataflowEndpointGroupId.");
|
|
285
285
|
}
|
|
286
|
-
resolvedPath = resolvedPath.replace("{dataflowEndpointGroupId}",
|
|
286
|
+
resolvedPath = resolvedPath.replace("{dataflowEndpointGroupId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
287
287
|
}
|
|
288
288
|
else {
|
|
289
289
|
throw new Error("No value provided for input HTTP label: dataflowEndpointGroupId.");
|
|
@@ -331,7 +331,7 @@ const serializeAws_restJson1GetMissionProfileCommand = async (input, context) =>
|
|
|
331
331
|
if (labelValue.length <= 0) {
|
|
332
332
|
throw new Error("Empty value provided for input HTTP label: missionProfileId.");
|
|
333
333
|
}
|
|
334
|
-
resolvedPath = resolvedPath.replace("{missionProfileId}",
|
|
334
|
+
resolvedPath = resolvedPath.replace("{missionProfileId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
335
335
|
}
|
|
336
336
|
else {
|
|
337
337
|
throw new Error("No value provided for input HTTP label: missionProfileId.");
|
|
@@ -357,7 +357,7 @@ const serializeAws_restJson1GetSatelliteCommand = async (input, context) => {
|
|
|
357
357
|
if (labelValue.length <= 0) {
|
|
358
358
|
throw new Error("Empty value provided for input HTTP label: satelliteId.");
|
|
359
359
|
}
|
|
360
|
-
resolvedPath = resolvedPath.replace("{satelliteId}",
|
|
360
|
+
resolvedPath = resolvedPath.replace("{satelliteId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
361
361
|
}
|
|
362
362
|
else {
|
|
363
363
|
throw new Error("No value provided for input HTTP label: satelliteId.");
|
|
@@ -521,7 +521,7 @@ const serializeAws_restJson1ListTagsForResourceCommand = async (input, context)
|
|
|
521
521
|
if (labelValue.length <= 0) {
|
|
522
522
|
throw new Error("Empty value provided for input HTTP label: resourceArn.");
|
|
523
523
|
}
|
|
524
|
-
resolvedPath = resolvedPath.replace("{resourceArn}",
|
|
524
|
+
resolvedPath = resolvedPath.replace("{resourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
525
525
|
}
|
|
526
526
|
else {
|
|
527
527
|
throw new Error("No value provided for input HTTP label: resourceArn.");
|
|
@@ -579,7 +579,7 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
|
|
|
579
579
|
if (labelValue.length <= 0) {
|
|
580
580
|
throw new Error("Empty value provided for input HTTP label: resourceArn.");
|
|
581
581
|
}
|
|
582
|
-
resolvedPath = resolvedPath.replace("{resourceArn}",
|
|
582
|
+
resolvedPath = resolvedPath.replace("{resourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
583
583
|
}
|
|
584
584
|
else {
|
|
585
585
|
throw new Error("No value provided for input HTTP label: resourceArn.");
|
|
@@ -609,7 +609,7 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
|
|
|
609
609
|
if (labelValue.length <= 0) {
|
|
610
610
|
throw new Error("Empty value provided for input HTTP label: resourceArn.");
|
|
611
611
|
}
|
|
612
|
-
resolvedPath = resolvedPath.replace("{resourceArn}",
|
|
612
|
+
resolvedPath = resolvedPath.replace("{resourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
613
613
|
}
|
|
614
614
|
else {
|
|
615
615
|
throw new Error("No value provided for input HTTP label: resourceArn.");
|
|
@@ -641,7 +641,7 @@ const serializeAws_restJson1UpdateConfigCommand = async (input, context) => {
|
|
|
641
641
|
if (labelValue.length <= 0) {
|
|
642
642
|
throw new Error("Empty value provided for input HTTP label: configId.");
|
|
643
643
|
}
|
|
644
|
-
resolvedPath = resolvedPath.replace("{configId}",
|
|
644
|
+
resolvedPath = resolvedPath.replace("{configId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
645
645
|
}
|
|
646
646
|
else {
|
|
647
647
|
throw new Error("No value provided for input HTTP label: configId.");
|
|
@@ -651,7 +651,7 @@ const serializeAws_restJson1UpdateConfigCommand = async (input, context) => {
|
|
|
651
651
|
if (labelValue.length <= 0) {
|
|
652
652
|
throw new Error("Empty value provided for input HTTP label: configType.");
|
|
653
653
|
}
|
|
654
|
-
resolvedPath = resolvedPath.replace("{configType}",
|
|
654
|
+
resolvedPath = resolvedPath.replace("{configType}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
655
655
|
}
|
|
656
656
|
else {
|
|
657
657
|
throw new Error("No value provided for input HTTP label: configType.");
|
|
@@ -684,7 +684,7 @@ const serializeAws_restJson1UpdateMissionProfileCommand = async (input, context)
|
|
|
684
684
|
if (labelValue.length <= 0) {
|
|
685
685
|
throw new Error("Empty value provided for input HTTP label: missionProfileId.");
|
|
686
686
|
}
|
|
687
|
-
resolvedPath = resolvedPath.replace("{missionProfileId}",
|
|
687
|
+
resolvedPath = resolvedPath.replace("{missionProfileId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
688
688
|
}
|
|
689
689
|
else {
|
|
690
690
|
throw new Error("No value provided for input HTTP label: missionProfileId.");
|
|
@@ -730,9 +730,9 @@ const deserializeAws_restJson1CancelContactCommand = async (output, context) =>
|
|
|
730
730
|
$metadata: deserializeMetadata(output),
|
|
731
731
|
contactId: undefined,
|
|
732
732
|
};
|
|
733
|
-
const data =
|
|
733
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
734
734
|
if (data.contactId !== undefined && data.contactId !== null) {
|
|
735
|
-
contents.contactId =
|
|
735
|
+
contents.contactId = smithy_client_1.expectString(data.contactId);
|
|
736
736
|
}
|
|
737
737
|
return Promise.resolve(contents);
|
|
738
738
|
};
|
|
@@ -796,15 +796,15 @@ const deserializeAws_restJson1CreateConfigCommand = async (output, context) => {
|
|
|
796
796
|
configId: undefined,
|
|
797
797
|
configType: undefined,
|
|
798
798
|
};
|
|
799
|
-
const data =
|
|
799
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
800
800
|
if (data.configArn !== undefined && data.configArn !== null) {
|
|
801
|
-
contents.configArn =
|
|
801
|
+
contents.configArn = smithy_client_1.expectString(data.configArn);
|
|
802
802
|
}
|
|
803
803
|
if (data.configId !== undefined && data.configId !== null) {
|
|
804
|
-
contents.configId =
|
|
804
|
+
contents.configId = smithy_client_1.expectString(data.configId);
|
|
805
805
|
}
|
|
806
806
|
if (data.configType !== undefined && data.configType !== null) {
|
|
807
|
-
contents.configType =
|
|
807
|
+
contents.configType = smithy_client_1.expectString(data.configType);
|
|
808
808
|
}
|
|
809
809
|
return Promise.resolve(contents);
|
|
810
810
|
};
|
|
@@ -874,9 +874,9 @@ const deserializeAws_restJson1CreateDataflowEndpointGroupCommand = async (output
|
|
|
874
874
|
$metadata: deserializeMetadata(output),
|
|
875
875
|
dataflowEndpointGroupId: undefined,
|
|
876
876
|
};
|
|
877
|
-
const data =
|
|
877
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
878
878
|
if (data.dataflowEndpointGroupId !== undefined && data.dataflowEndpointGroupId !== null) {
|
|
879
|
-
contents.dataflowEndpointGroupId =
|
|
879
|
+
contents.dataflowEndpointGroupId = smithy_client_1.expectString(data.dataflowEndpointGroupId);
|
|
880
880
|
}
|
|
881
881
|
return Promise.resolve(contents);
|
|
882
882
|
};
|
|
@@ -938,9 +938,9 @@ const deserializeAws_restJson1CreateMissionProfileCommand = async (output, conte
|
|
|
938
938
|
$metadata: deserializeMetadata(output),
|
|
939
939
|
missionProfileId: undefined,
|
|
940
940
|
};
|
|
941
|
-
const data =
|
|
941
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
942
942
|
if (data.missionProfileId !== undefined && data.missionProfileId !== null) {
|
|
943
|
-
contents.missionProfileId =
|
|
943
|
+
contents.missionProfileId = smithy_client_1.expectString(data.missionProfileId);
|
|
944
944
|
}
|
|
945
945
|
return Promise.resolve(contents);
|
|
946
946
|
};
|
|
@@ -1004,15 +1004,15 @@ const deserializeAws_restJson1DeleteConfigCommand = async (output, context) => {
|
|
|
1004
1004
|
configId: undefined,
|
|
1005
1005
|
configType: undefined,
|
|
1006
1006
|
};
|
|
1007
|
-
const data =
|
|
1007
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1008
1008
|
if (data.configArn !== undefined && data.configArn !== null) {
|
|
1009
|
-
contents.configArn =
|
|
1009
|
+
contents.configArn = smithy_client_1.expectString(data.configArn);
|
|
1010
1010
|
}
|
|
1011
1011
|
if (data.configId !== undefined && data.configId !== null) {
|
|
1012
|
-
contents.configId =
|
|
1012
|
+
contents.configId = smithy_client_1.expectString(data.configId);
|
|
1013
1013
|
}
|
|
1014
1014
|
if (data.configType !== undefined && data.configType !== null) {
|
|
1015
|
-
contents.configType =
|
|
1015
|
+
contents.configType = smithy_client_1.expectString(data.configType);
|
|
1016
1016
|
}
|
|
1017
1017
|
return Promise.resolve(contents);
|
|
1018
1018
|
};
|
|
@@ -1074,9 +1074,9 @@ const deserializeAws_restJson1DeleteDataflowEndpointGroupCommand = async (output
|
|
|
1074
1074
|
$metadata: deserializeMetadata(output),
|
|
1075
1075
|
dataflowEndpointGroupId: undefined,
|
|
1076
1076
|
};
|
|
1077
|
-
const data =
|
|
1077
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1078
1078
|
if (data.dataflowEndpointGroupId !== undefined && data.dataflowEndpointGroupId !== null) {
|
|
1079
|
-
contents.dataflowEndpointGroupId =
|
|
1079
|
+
contents.dataflowEndpointGroupId = smithy_client_1.expectString(data.dataflowEndpointGroupId);
|
|
1080
1080
|
}
|
|
1081
1081
|
return Promise.resolve(contents);
|
|
1082
1082
|
};
|
|
@@ -1138,9 +1138,9 @@ const deserializeAws_restJson1DeleteMissionProfileCommand = async (output, conte
|
|
|
1138
1138
|
$metadata: deserializeMetadata(output),
|
|
1139
1139
|
missionProfileId: undefined,
|
|
1140
1140
|
};
|
|
1141
|
-
const data =
|
|
1141
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1142
1142
|
if (data.missionProfileId !== undefined && data.missionProfileId !== null) {
|
|
1143
|
-
contents.missionProfileId =
|
|
1143
|
+
contents.missionProfileId = smithy_client_1.expectString(data.missionProfileId);
|
|
1144
1144
|
}
|
|
1145
1145
|
return Promise.resolve(contents);
|
|
1146
1146
|
};
|
|
@@ -1215,45 +1215,45 @@ const deserializeAws_restJson1DescribeContactCommand = async (output, context) =
|
|
|
1215
1215
|
startTime: undefined,
|
|
1216
1216
|
tags: undefined,
|
|
1217
1217
|
};
|
|
1218
|
-
const data =
|
|
1218
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1219
1219
|
if (data.contactId !== undefined && data.contactId !== null) {
|
|
1220
|
-
contents.contactId =
|
|
1220
|
+
contents.contactId = smithy_client_1.expectString(data.contactId);
|
|
1221
1221
|
}
|
|
1222
1222
|
if (data.contactStatus !== undefined && data.contactStatus !== null) {
|
|
1223
|
-
contents.contactStatus =
|
|
1223
|
+
contents.contactStatus = smithy_client_1.expectString(data.contactStatus);
|
|
1224
1224
|
}
|
|
1225
1225
|
if (data.dataflowList !== undefined && data.dataflowList !== null) {
|
|
1226
1226
|
contents.dataflowList = deserializeAws_restJson1DataflowList(data.dataflowList, context);
|
|
1227
1227
|
}
|
|
1228
1228
|
if (data.endTime !== undefined && data.endTime !== null) {
|
|
1229
|
-
contents.endTime =
|
|
1229
|
+
contents.endTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.endTime)));
|
|
1230
1230
|
}
|
|
1231
1231
|
if (data.errorMessage !== undefined && data.errorMessage !== null) {
|
|
1232
|
-
contents.errorMessage =
|
|
1232
|
+
contents.errorMessage = smithy_client_1.expectString(data.errorMessage);
|
|
1233
1233
|
}
|
|
1234
1234
|
if (data.groundStation !== undefined && data.groundStation !== null) {
|
|
1235
|
-
contents.groundStation =
|
|
1235
|
+
contents.groundStation = smithy_client_1.expectString(data.groundStation);
|
|
1236
1236
|
}
|
|
1237
1237
|
if (data.maximumElevation !== undefined && data.maximumElevation !== null) {
|
|
1238
1238
|
contents.maximumElevation = deserializeAws_restJson1Elevation(data.maximumElevation, context);
|
|
1239
1239
|
}
|
|
1240
1240
|
if (data.missionProfileArn !== undefined && data.missionProfileArn !== null) {
|
|
1241
|
-
contents.missionProfileArn =
|
|
1241
|
+
contents.missionProfileArn = smithy_client_1.expectString(data.missionProfileArn);
|
|
1242
1242
|
}
|
|
1243
1243
|
if (data.postPassEndTime !== undefined && data.postPassEndTime !== null) {
|
|
1244
|
-
contents.postPassEndTime =
|
|
1244
|
+
contents.postPassEndTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.postPassEndTime)));
|
|
1245
1245
|
}
|
|
1246
1246
|
if (data.prePassStartTime !== undefined && data.prePassStartTime !== null) {
|
|
1247
|
-
contents.prePassStartTime =
|
|
1247
|
+
contents.prePassStartTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.prePassStartTime)));
|
|
1248
1248
|
}
|
|
1249
1249
|
if (data.region !== undefined && data.region !== null) {
|
|
1250
|
-
contents.region =
|
|
1250
|
+
contents.region = smithy_client_1.expectString(data.region);
|
|
1251
1251
|
}
|
|
1252
1252
|
if (data.satelliteArn !== undefined && data.satelliteArn !== null) {
|
|
1253
|
-
contents.satelliteArn =
|
|
1253
|
+
contents.satelliteArn = smithy_client_1.expectString(data.satelliteArn);
|
|
1254
1254
|
}
|
|
1255
1255
|
if (data.startTime !== undefined && data.startTime !== null) {
|
|
1256
|
-
contents.startTime =
|
|
1256
|
+
contents.startTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.startTime)));
|
|
1257
1257
|
}
|
|
1258
1258
|
if (data.tags !== undefined && data.tags !== null) {
|
|
1259
1259
|
contents.tags = deserializeAws_restJson1TagsMap(data.tags, context);
|
|
@@ -1323,21 +1323,21 @@ const deserializeAws_restJson1GetConfigCommand = async (output, context) => {
|
|
|
1323
1323
|
name: undefined,
|
|
1324
1324
|
tags: undefined,
|
|
1325
1325
|
};
|
|
1326
|
-
const data =
|
|
1326
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1327
1327
|
if (data.configArn !== undefined && data.configArn !== null) {
|
|
1328
|
-
contents.configArn =
|
|
1328
|
+
contents.configArn = smithy_client_1.expectString(data.configArn);
|
|
1329
1329
|
}
|
|
1330
1330
|
if (data.configData !== undefined && data.configData !== null) {
|
|
1331
|
-
contents.configData = deserializeAws_restJson1ConfigTypeData(data.configData, context);
|
|
1331
|
+
contents.configData = deserializeAws_restJson1ConfigTypeData(smithy_client_1.expectUnion(data.configData), context);
|
|
1332
1332
|
}
|
|
1333
1333
|
if (data.configId !== undefined && data.configId !== null) {
|
|
1334
|
-
contents.configId =
|
|
1334
|
+
contents.configId = smithy_client_1.expectString(data.configId);
|
|
1335
1335
|
}
|
|
1336
1336
|
if (data.configType !== undefined && data.configType !== null) {
|
|
1337
|
-
contents.configType =
|
|
1337
|
+
contents.configType = smithy_client_1.expectString(data.configType);
|
|
1338
1338
|
}
|
|
1339
1339
|
if (data.name !== undefined && data.name !== null) {
|
|
1340
|
-
contents.name =
|
|
1340
|
+
contents.name = smithy_client_1.expectString(data.name);
|
|
1341
1341
|
}
|
|
1342
1342
|
if (data.tags !== undefined && data.tags !== null) {
|
|
1343
1343
|
contents.tags = deserializeAws_restJson1TagsMap(data.tags, context);
|
|
@@ -1405,12 +1405,12 @@ const deserializeAws_restJson1GetDataflowEndpointGroupCommand = async (output, c
|
|
|
1405
1405
|
endpointsDetails: undefined,
|
|
1406
1406
|
tags: undefined,
|
|
1407
1407
|
};
|
|
1408
|
-
const data =
|
|
1408
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1409
1409
|
if (data.dataflowEndpointGroupArn !== undefined && data.dataflowEndpointGroupArn !== null) {
|
|
1410
|
-
contents.dataflowEndpointGroupArn =
|
|
1410
|
+
contents.dataflowEndpointGroupArn = smithy_client_1.expectString(data.dataflowEndpointGroupArn);
|
|
1411
1411
|
}
|
|
1412
1412
|
if (data.dataflowEndpointGroupId !== undefined && data.dataflowEndpointGroupId !== null) {
|
|
1413
|
-
contents.dataflowEndpointGroupId =
|
|
1413
|
+
contents.dataflowEndpointGroupId = smithy_client_1.expectString(data.dataflowEndpointGroupId);
|
|
1414
1414
|
}
|
|
1415
1415
|
if (data.endpointsDetails !== undefined && data.endpointsDetails !== null) {
|
|
1416
1416
|
contents.endpointsDetails = deserializeAws_restJson1EndpointDetailsList(data.endpointsDetails, context);
|
|
@@ -1482,21 +1482,21 @@ const deserializeAws_restJson1GetMinuteUsageCommand = async (output, context) =>
|
|
|
1482
1482
|
totalScheduledMinutes: undefined,
|
|
1483
1483
|
upcomingMinutesScheduled: undefined,
|
|
1484
1484
|
};
|
|
1485
|
-
const data =
|
|
1485
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1486
1486
|
if (data.estimatedMinutesRemaining !== undefined && data.estimatedMinutesRemaining !== null) {
|
|
1487
|
-
contents.estimatedMinutesRemaining =
|
|
1487
|
+
contents.estimatedMinutesRemaining = smithy_client_1.expectInt32(data.estimatedMinutesRemaining);
|
|
1488
1488
|
}
|
|
1489
1489
|
if (data.isReservedMinutesCustomer !== undefined && data.isReservedMinutesCustomer !== null) {
|
|
1490
|
-
contents.isReservedMinutesCustomer =
|
|
1490
|
+
contents.isReservedMinutesCustomer = smithy_client_1.expectBoolean(data.isReservedMinutesCustomer);
|
|
1491
1491
|
}
|
|
1492
1492
|
if (data.totalReservedMinuteAllocation !== undefined && data.totalReservedMinuteAllocation !== null) {
|
|
1493
|
-
contents.totalReservedMinuteAllocation =
|
|
1493
|
+
contents.totalReservedMinuteAllocation = smithy_client_1.expectInt32(data.totalReservedMinuteAllocation);
|
|
1494
1494
|
}
|
|
1495
1495
|
if (data.totalScheduledMinutes !== undefined && data.totalScheduledMinutes !== null) {
|
|
1496
|
-
contents.totalScheduledMinutes =
|
|
1496
|
+
contents.totalScheduledMinutes = smithy_client_1.expectInt32(data.totalScheduledMinutes);
|
|
1497
1497
|
}
|
|
1498
1498
|
if (data.upcomingMinutesScheduled !== undefined && data.upcomingMinutesScheduled !== null) {
|
|
1499
|
-
contents.upcomingMinutesScheduled =
|
|
1499
|
+
contents.upcomingMinutesScheduled = smithy_client_1.expectInt32(data.upcomingMinutesScheduled);
|
|
1500
1500
|
}
|
|
1501
1501
|
return Promise.resolve(contents);
|
|
1502
1502
|
};
|
|
@@ -1567,36 +1567,36 @@ const deserializeAws_restJson1GetMissionProfileCommand = async (output, context)
|
|
|
1567
1567
|
tags: undefined,
|
|
1568
1568
|
trackingConfigArn: undefined,
|
|
1569
1569
|
};
|
|
1570
|
-
const data =
|
|
1570
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1571
1571
|
if (data.contactPostPassDurationSeconds !== undefined && data.contactPostPassDurationSeconds !== null) {
|
|
1572
|
-
contents.contactPostPassDurationSeconds =
|
|
1572
|
+
contents.contactPostPassDurationSeconds = smithy_client_1.expectInt32(data.contactPostPassDurationSeconds);
|
|
1573
1573
|
}
|
|
1574
1574
|
if (data.contactPrePassDurationSeconds !== undefined && data.contactPrePassDurationSeconds !== null) {
|
|
1575
|
-
contents.contactPrePassDurationSeconds =
|
|
1575
|
+
contents.contactPrePassDurationSeconds = smithy_client_1.expectInt32(data.contactPrePassDurationSeconds);
|
|
1576
1576
|
}
|
|
1577
1577
|
if (data.dataflowEdges !== undefined && data.dataflowEdges !== null) {
|
|
1578
1578
|
contents.dataflowEdges = deserializeAws_restJson1DataflowEdgeList(data.dataflowEdges, context);
|
|
1579
1579
|
}
|
|
1580
1580
|
if (data.minimumViableContactDurationSeconds !== undefined && data.minimumViableContactDurationSeconds !== null) {
|
|
1581
|
-
contents.minimumViableContactDurationSeconds =
|
|
1581
|
+
contents.minimumViableContactDurationSeconds = smithy_client_1.expectInt32(data.minimumViableContactDurationSeconds);
|
|
1582
1582
|
}
|
|
1583
1583
|
if (data.missionProfileArn !== undefined && data.missionProfileArn !== null) {
|
|
1584
|
-
contents.missionProfileArn =
|
|
1584
|
+
contents.missionProfileArn = smithy_client_1.expectString(data.missionProfileArn);
|
|
1585
1585
|
}
|
|
1586
1586
|
if (data.missionProfileId !== undefined && data.missionProfileId !== null) {
|
|
1587
|
-
contents.missionProfileId =
|
|
1587
|
+
contents.missionProfileId = smithy_client_1.expectString(data.missionProfileId);
|
|
1588
1588
|
}
|
|
1589
1589
|
if (data.name !== undefined && data.name !== null) {
|
|
1590
|
-
contents.name =
|
|
1590
|
+
contents.name = smithy_client_1.expectString(data.name);
|
|
1591
1591
|
}
|
|
1592
1592
|
if (data.region !== undefined && data.region !== null) {
|
|
1593
|
-
contents.region =
|
|
1593
|
+
contents.region = smithy_client_1.expectString(data.region);
|
|
1594
1594
|
}
|
|
1595
1595
|
if (data.tags !== undefined && data.tags !== null) {
|
|
1596
1596
|
contents.tags = deserializeAws_restJson1TagsMap(data.tags, context);
|
|
1597
1597
|
}
|
|
1598
1598
|
if (data.trackingConfigArn !== undefined && data.trackingConfigArn !== null) {
|
|
1599
|
-
contents.trackingConfigArn =
|
|
1599
|
+
contents.trackingConfigArn = smithy_client_1.expectString(data.trackingConfigArn);
|
|
1600
1600
|
}
|
|
1601
1601
|
return Promise.resolve(contents);
|
|
1602
1602
|
};
|
|
@@ -1661,18 +1661,18 @@ const deserializeAws_restJson1GetSatelliteCommand = async (output, context) => {
|
|
|
1661
1661
|
satelliteArn: undefined,
|
|
1662
1662
|
satelliteId: undefined,
|
|
1663
1663
|
};
|
|
1664
|
-
const data =
|
|
1664
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1665
1665
|
if (data.groundStations !== undefined && data.groundStations !== null) {
|
|
1666
1666
|
contents.groundStations = deserializeAws_restJson1GroundStationIdList(data.groundStations, context);
|
|
1667
1667
|
}
|
|
1668
1668
|
if (data.noradSatelliteID !== undefined && data.noradSatelliteID !== null) {
|
|
1669
|
-
contents.noradSatelliteID =
|
|
1669
|
+
contents.noradSatelliteID = smithy_client_1.expectInt32(data.noradSatelliteID);
|
|
1670
1670
|
}
|
|
1671
1671
|
if (data.satelliteArn !== undefined && data.satelliteArn !== null) {
|
|
1672
|
-
contents.satelliteArn =
|
|
1672
|
+
contents.satelliteArn = smithy_client_1.expectString(data.satelliteArn);
|
|
1673
1673
|
}
|
|
1674
1674
|
if (data.satelliteId !== undefined && data.satelliteId !== null) {
|
|
1675
|
-
contents.satelliteId =
|
|
1675
|
+
contents.satelliteId = smithy_client_1.expectString(data.satelliteId);
|
|
1676
1676
|
}
|
|
1677
1677
|
return Promise.resolve(contents);
|
|
1678
1678
|
};
|
|
@@ -1735,12 +1735,12 @@ const deserializeAws_restJson1ListConfigsCommand = async (output, context) => {
|
|
|
1735
1735
|
configList: undefined,
|
|
1736
1736
|
nextToken: undefined,
|
|
1737
1737
|
};
|
|
1738
|
-
const data =
|
|
1738
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1739
1739
|
if (data.configList !== undefined && data.configList !== null) {
|
|
1740
1740
|
contents.configList = deserializeAws_restJson1ConfigList(data.configList, context);
|
|
1741
1741
|
}
|
|
1742
1742
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
1743
|
-
contents.nextToken =
|
|
1743
|
+
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
1744
1744
|
}
|
|
1745
1745
|
return Promise.resolve(contents);
|
|
1746
1746
|
};
|
|
@@ -1803,12 +1803,12 @@ const deserializeAws_restJson1ListContactsCommand = async (output, context) => {
|
|
|
1803
1803
|
contactList: undefined,
|
|
1804
1804
|
nextToken: undefined,
|
|
1805
1805
|
};
|
|
1806
|
-
const data =
|
|
1806
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1807
1807
|
if (data.contactList !== undefined && data.contactList !== null) {
|
|
1808
1808
|
contents.contactList = deserializeAws_restJson1ContactList(data.contactList, context);
|
|
1809
1809
|
}
|
|
1810
1810
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
1811
|
-
contents.nextToken =
|
|
1811
|
+
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
1812
1812
|
}
|
|
1813
1813
|
return Promise.resolve(contents);
|
|
1814
1814
|
};
|
|
@@ -1871,12 +1871,12 @@ const deserializeAws_restJson1ListDataflowEndpointGroupsCommand = async (output,
|
|
|
1871
1871
|
dataflowEndpointGroupList: undefined,
|
|
1872
1872
|
nextToken: undefined,
|
|
1873
1873
|
};
|
|
1874
|
-
const data =
|
|
1874
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1875
1875
|
if (data.dataflowEndpointGroupList !== undefined && data.dataflowEndpointGroupList !== null) {
|
|
1876
1876
|
contents.dataflowEndpointGroupList = deserializeAws_restJson1DataflowEndpointGroupList(data.dataflowEndpointGroupList, context);
|
|
1877
1877
|
}
|
|
1878
1878
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
1879
|
-
contents.nextToken =
|
|
1879
|
+
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
1880
1880
|
}
|
|
1881
1881
|
return Promise.resolve(contents);
|
|
1882
1882
|
};
|
|
@@ -1939,12 +1939,12 @@ const deserializeAws_restJson1ListGroundStationsCommand = async (output, context
|
|
|
1939
1939
|
groundStationList: undefined,
|
|
1940
1940
|
nextToken: undefined,
|
|
1941
1941
|
};
|
|
1942
|
-
const data =
|
|
1942
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1943
1943
|
if (data.groundStationList !== undefined && data.groundStationList !== null) {
|
|
1944
1944
|
contents.groundStationList = deserializeAws_restJson1GroundStationList(data.groundStationList, context);
|
|
1945
1945
|
}
|
|
1946
1946
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
1947
|
-
contents.nextToken =
|
|
1947
|
+
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
1948
1948
|
}
|
|
1949
1949
|
return Promise.resolve(contents);
|
|
1950
1950
|
};
|
|
@@ -2007,12 +2007,12 @@ const deserializeAws_restJson1ListMissionProfilesCommand = async (output, contex
|
|
|
2007
2007
|
missionProfileList: undefined,
|
|
2008
2008
|
nextToken: undefined,
|
|
2009
2009
|
};
|
|
2010
|
-
const data =
|
|
2010
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2011
2011
|
if (data.missionProfileList !== undefined && data.missionProfileList !== null) {
|
|
2012
2012
|
contents.missionProfileList = deserializeAws_restJson1MissionProfileList(data.missionProfileList, context);
|
|
2013
2013
|
}
|
|
2014
2014
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
2015
|
-
contents.nextToken =
|
|
2015
|
+
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
2016
2016
|
}
|
|
2017
2017
|
return Promise.resolve(contents);
|
|
2018
2018
|
};
|
|
@@ -2075,9 +2075,9 @@ const deserializeAws_restJson1ListSatellitesCommand = async (output, context) =>
|
|
|
2075
2075
|
nextToken: undefined,
|
|
2076
2076
|
satellites: undefined,
|
|
2077
2077
|
};
|
|
2078
|
-
const data =
|
|
2078
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2079
2079
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
2080
|
-
contents.nextToken =
|
|
2080
|
+
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
2081
2081
|
}
|
|
2082
2082
|
if (data.satellites !== undefined && data.satellites !== null) {
|
|
2083
2083
|
contents.satellites = deserializeAws_restJson1SatelliteList(data.satellites, context);
|
|
@@ -2142,7 +2142,7 @@ const deserializeAws_restJson1ListTagsForResourceCommand = async (output, contex
|
|
|
2142
2142
|
$metadata: deserializeMetadata(output),
|
|
2143
2143
|
tags: undefined,
|
|
2144
2144
|
};
|
|
2145
|
-
const data =
|
|
2145
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2146
2146
|
if (data.tags !== undefined && data.tags !== null) {
|
|
2147
2147
|
contents.tags = deserializeAws_restJson1TagsMap(data.tags, context);
|
|
2148
2148
|
}
|
|
@@ -2206,9 +2206,9 @@ const deserializeAws_restJson1ReserveContactCommand = async (output, context) =>
|
|
|
2206
2206
|
$metadata: deserializeMetadata(output),
|
|
2207
2207
|
contactId: undefined,
|
|
2208
2208
|
};
|
|
2209
|
-
const data =
|
|
2209
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2210
2210
|
if (data.contactId !== undefined && data.contactId !== null) {
|
|
2211
|
-
contents.contactId =
|
|
2211
|
+
contents.contactId = smithy_client_1.expectString(data.contactId);
|
|
2212
2212
|
}
|
|
2213
2213
|
return Promise.resolve(contents);
|
|
2214
2214
|
};
|
|
@@ -2392,15 +2392,15 @@ const deserializeAws_restJson1UpdateConfigCommand = async (output, context) => {
|
|
|
2392
2392
|
configId: undefined,
|
|
2393
2393
|
configType: undefined,
|
|
2394
2394
|
};
|
|
2395
|
-
const data =
|
|
2395
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2396
2396
|
if (data.configArn !== undefined && data.configArn !== null) {
|
|
2397
|
-
contents.configArn =
|
|
2397
|
+
contents.configArn = smithy_client_1.expectString(data.configArn);
|
|
2398
2398
|
}
|
|
2399
2399
|
if (data.configId !== undefined && data.configId !== null) {
|
|
2400
|
-
contents.configId =
|
|
2400
|
+
contents.configId = smithy_client_1.expectString(data.configId);
|
|
2401
2401
|
}
|
|
2402
2402
|
if (data.configType !== undefined && data.configType !== null) {
|
|
2403
|
-
contents.configType =
|
|
2403
|
+
contents.configType = smithy_client_1.expectString(data.configType);
|
|
2404
2404
|
}
|
|
2405
2405
|
return Promise.resolve(contents);
|
|
2406
2406
|
};
|
|
@@ -2462,9 +2462,9 @@ const deserializeAws_restJson1UpdateMissionProfileCommand = async (output, conte
|
|
|
2462
2462
|
$metadata: deserializeMetadata(output),
|
|
2463
2463
|
missionProfileId: undefined,
|
|
2464
2464
|
};
|
|
2465
|
-
const data =
|
|
2465
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2466
2466
|
if (data.missionProfileId !== undefined && data.missionProfileId !== null) {
|
|
2467
|
-
contents.missionProfileId =
|
|
2467
|
+
contents.missionProfileId = smithy_client_1.expectString(data.missionProfileId);
|
|
2468
2468
|
}
|
|
2469
2469
|
return Promise.resolve(contents);
|
|
2470
2470
|
};
|
|
@@ -2528,10 +2528,10 @@ const deserializeAws_restJson1DependencyExceptionResponse = async (parsedOutput,
|
|
|
2528
2528
|
};
|
|
2529
2529
|
const data = parsedOutput.body;
|
|
2530
2530
|
if (data.message !== undefined && data.message !== null) {
|
|
2531
|
-
contents.message =
|
|
2531
|
+
contents.message = smithy_client_1.expectString(data.message);
|
|
2532
2532
|
}
|
|
2533
2533
|
if (data.parameterName !== undefined && data.parameterName !== null) {
|
|
2534
|
-
contents.parameterName =
|
|
2534
|
+
contents.parameterName = smithy_client_1.expectString(data.parameterName);
|
|
2535
2535
|
}
|
|
2536
2536
|
return contents;
|
|
2537
2537
|
};
|
|
@@ -2545,10 +2545,10 @@ const deserializeAws_restJson1InvalidParameterExceptionResponse = async (parsedO
|
|
|
2545
2545
|
};
|
|
2546
2546
|
const data = parsedOutput.body;
|
|
2547
2547
|
if (data.message !== undefined && data.message !== null) {
|
|
2548
|
-
contents.message =
|
|
2548
|
+
contents.message = smithy_client_1.expectString(data.message);
|
|
2549
2549
|
}
|
|
2550
2550
|
if (data.parameterName !== undefined && data.parameterName !== null) {
|
|
2551
|
-
contents.parameterName =
|
|
2551
|
+
contents.parameterName = smithy_client_1.expectString(data.parameterName);
|
|
2552
2552
|
}
|
|
2553
2553
|
return contents;
|
|
2554
2554
|
};
|
|
@@ -2562,10 +2562,10 @@ const deserializeAws_restJson1ResourceLimitExceededExceptionResponse = async (pa
|
|
|
2562
2562
|
};
|
|
2563
2563
|
const data = parsedOutput.body;
|
|
2564
2564
|
if (data.message !== undefined && data.message !== null) {
|
|
2565
|
-
contents.message =
|
|
2565
|
+
contents.message = smithy_client_1.expectString(data.message);
|
|
2566
2566
|
}
|
|
2567
2567
|
if (data.parameterName !== undefined && data.parameterName !== null) {
|
|
2568
|
-
contents.parameterName =
|
|
2568
|
+
contents.parameterName = smithy_client_1.expectString(data.parameterName);
|
|
2569
2569
|
}
|
|
2570
2570
|
return contents;
|
|
2571
2571
|
};
|
|
@@ -2578,7 +2578,7 @@ const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedO
|
|
|
2578
2578
|
};
|
|
2579
2579
|
const data = parsedOutput.body;
|
|
2580
2580
|
if (data.message !== undefined && data.message !== null) {
|
|
2581
|
-
contents.message =
|
|
2581
|
+
contents.message = smithy_client_1.expectString(data.message);
|
|
2582
2582
|
}
|
|
2583
2583
|
return contents;
|
|
2584
2584
|
};
|
|
@@ -2688,7 +2688,7 @@ const serializeAws_restJson1DemodulationConfig = (input, context) => {
|
|
|
2688
2688
|
const serializeAws_restJson1Eirp = (input, context) => {
|
|
2689
2689
|
return {
|
|
2690
2690
|
...(input.units !== undefined && input.units !== null && { units: input.units }),
|
|
2691
|
-
...(input.value !== undefined && input.value !== null && { value:
|
|
2691
|
+
...(input.value !== undefined && input.value !== null && { value: smithy_client_1.serializeFloat(input.value) }),
|
|
2692
2692
|
};
|
|
2693
2693
|
};
|
|
2694
2694
|
const serializeAws_restJson1EndpointDetails = (input, context) => {
|
|
@@ -2714,13 +2714,13 @@ const serializeAws_restJson1EndpointDetailsList = (input, context) => {
|
|
|
2714
2714
|
const serializeAws_restJson1Frequency = (input, context) => {
|
|
2715
2715
|
return {
|
|
2716
2716
|
...(input.units !== undefined && input.units !== null && { units: input.units }),
|
|
2717
|
-
...(input.value !== undefined && input.value !== null && { value:
|
|
2717
|
+
...(input.value !== undefined && input.value !== null && { value: smithy_client_1.serializeFloat(input.value) }),
|
|
2718
2718
|
};
|
|
2719
2719
|
};
|
|
2720
2720
|
const serializeAws_restJson1FrequencyBandwidth = (input, context) => {
|
|
2721
2721
|
return {
|
|
2722
2722
|
...(input.units !== undefined && input.units !== null && { units: input.units }),
|
|
2723
|
-
...(input.value !== undefined && input.value !== null && { value:
|
|
2723
|
+
...(input.value !== undefined && input.value !== null && { value: smithy_client_1.serializeFloat(input.value) }),
|
|
2724
2724
|
};
|
|
2725
2725
|
};
|
|
2726
2726
|
const serializeAws_restJson1S3RecordingConfig = (input, context) => {
|
|
@@ -2822,7 +2822,7 @@ const serializeAws_restJson1UplinkSpectrumConfig = (input, context) => {
|
|
|
2822
2822
|
};
|
|
2823
2823
|
const deserializeAws_restJson1AntennaDemodDecodeDetails = (output, context) => {
|
|
2824
2824
|
return {
|
|
2825
|
-
outputNode:
|
|
2825
|
+
outputNode: smithy_client_1.expectString(output.outputNode),
|
|
2826
2826
|
};
|
|
2827
2827
|
};
|
|
2828
2828
|
const deserializeAws_restJson1AntennaDownlinkConfig = (output, context) => {
|
|
@@ -2853,7 +2853,7 @@ const deserializeAws_restJson1AntennaUplinkConfig = (output, context) => {
|
|
|
2853
2853
|
targetEirp: output.targetEirp !== undefined && output.targetEirp !== null
|
|
2854
2854
|
? deserializeAws_restJson1Eirp(output.targetEirp, context)
|
|
2855
2855
|
: undefined,
|
|
2856
|
-
transmitDisabled:
|
|
2856
|
+
transmitDisabled: smithy_client_1.expectBoolean(output.transmitDisabled),
|
|
2857
2857
|
};
|
|
2858
2858
|
};
|
|
2859
2859
|
const deserializeAws_restJson1ConfigDetails = (output, context) => {
|
|
@@ -2886,10 +2886,10 @@ const deserializeAws_restJson1ConfigList = (output, context) => {
|
|
|
2886
2886
|
};
|
|
2887
2887
|
const deserializeAws_restJson1ConfigListItem = (output, context) => {
|
|
2888
2888
|
return {
|
|
2889
|
-
configArn:
|
|
2890
|
-
configId:
|
|
2891
|
-
configType:
|
|
2892
|
-
name:
|
|
2889
|
+
configArn: smithy_client_1.expectString(output.configArn),
|
|
2890
|
+
configId: smithy_client_1.expectString(output.configId),
|
|
2891
|
+
configType: smithy_client_1.expectString(output.configType),
|
|
2892
|
+
name: smithy_client_1.expectString(output.name),
|
|
2893
2893
|
};
|
|
2894
2894
|
};
|
|
2895
2895
|
const deserializeAws_restJson1ConfigTypeData = (output, context) => {
|
|
@@ -2932,25 +2932,27 @@ const deserializeAws_restJson1ConfigTypeData = (output, context) => {
|
|
|
2932
2932
|
};
|
|
2933
2933
|
const deserializeAws_restJson1ContactData = (output, context) => {
|
|
2934
2934
|
return {
|
|
2935
|
-
contactId:
|
|
2936
|
-
contactStatus:
|
|
2937
|
-
endTime: output.endTime !== undefined && output.endTime !== null
|
|
2938
|
-
|
|
2939
|
-
|
|
2935
|
+
contactId: smithy_client_1.expectString(output.contactId),
|
|
2936
|
+
contactStatus: smithy_client_1.expectString(output.contactStatus),
|
|
2937
|
+
endTime: output.endTime !== undefined && output.endTime !== null
|
|
2938
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.endTime)))
|
|
2939
|
+
: undefined,
|
|
2940
|
+
errorMessage: smithy_client_1.expectString(output.errorMessage),
|
|
2941
|
+
groundStation: smithy_client_1.expectString(output.groundStation),
|
|
2940
2942
|
maximumElevation: output.maximumElevation !== undefined && output.maximumElevation !== null
|
|
2941
2943
|
? deserializeAws_restJson1Elevation(output.maximumElevation, context)
|
|
2942
2944
|
: undefined,
|
|
2943
|
-
missionProfileArn:
|
|
2945
|
+
missionProfileArn: smithy_client_1.expectString(output.missionProfileArn),
|
|
2944
2946
|
postPassEndTime: output.postPassEndTime !== undefined && output.postPassEndTime !== null
|
|
2945
|
-
?
|
|
2947
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.postPassEndTime)))
|
|
2946
2948
|
: undefined,
|
|
2947
2949
|
prePassStartTime: output.prePassStartTime !== undefined && output.prePassStartTime !== null
|
|
2948
|
-
?
|
|
2950
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.prePassStartTime)))
|
|
2949
2951
|
: undefined,
|
|
2950
|
-
region:
|
|
2951
|
-
satelliteArn:
|
|
2952
|
+
region: smithy_client_1.expectString(output.region),
|
|
2953
|
+
satelliteArn: smithy_client_1.expectString(output.satelliteArn),
|
|
2952
2954
|
startTime: output.startTime !== undefined && output.startTime !== null
|
|
2953
|
-
?
|
|
2955
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.startTime)))
|
|
2954
2956
|
: undefined,
|
|
2955
2957
|
tags: output.tags !== undefined && output.tags !== null
|
|
2956
2958
|
? deserializeAws_restJson1TagsMap(output.tags, context)
|
|
@@ -2972,7 +2974,7 @@ const deserializeAws_restJson1DataflowDetail = (output, context) => {
|
|
|
2972
2974
|
destination: output.destination !== undefined && output.destination !== null
|
|
2973
2975
|
? deserializeAws_restJson1Destination(output.destination, context)
|
|
2974
2976
|
: undefined,
|
|
2975
|
-
errorMessage:
|
|
2977
|
+
errorMessage: smithy_client_1.expectString(output.errorMessage),
|
|
2976
2978
|
source: output.source !== undefined && output.source !== null
|
|
2977
2979
|
? deserializeAws_restJson1Source(output.source, context)
|
|
2978
2980
|
: undefined,
|
|
@@ -2985,7 +2987,7 @@ const deserializeAws_restJson1DataflowEdge = (output, context) => {
|
|
|
2985
2987
|
if (entry === null) {
|
|
2986
2988
|
return null;
|
|
2987
2989
|
}
|
|
2988
|
-
return
|
|
2990
|
+
return smithy_client_1.expectString(entry);
|
|
2989
2991
|
});
|
|
2990
2992
|
};
|
|
2991
2993
|
const deserializeAws_restJson1DataflowEdgeList = (output, context) => {
|
|
@@ -3003,15 +3005,15 @@ const deserializeAws_restJson1DataflowEndpoint = (output, context) => {
|
|
|
3003
3005
|
address: output.address !== undefined && output.address !== null
|
|
3004
3006
|
? deserializeAws_restJson1SocketAddress(output.address, context)
|
|
3005
3007
|
: undefined,
|
|
3006
|
-
mtu:
|
|
3007
|
-
name:
|
|
3008
|
-
status:
|
|
3008
|
+
mtu: smithy_client_1.expectInt32(output.mtu),
|
|
3009
|
+
name: smithy_client_1.expectString(output.name),
|
|
3010
|
+
status: smithy_client_1.expectString(output.status),
|
|
3009
3011
|
};
|
|
3010
3012
|
};
|
|
3011
3013
|
const deserializeAws_restJson1DataflowEndpointConfig = (output, context) => {
|
|
3012
3014
|
return {
|
|
3013
|
-
dataflowEndpointName:
|
|
3014
|
-
dataflowEndpointRegion:
|
|
3015
|
+
dataflowEndpointName: smithy_client_1.expectString(output.dataflowEndpointName),
|
|
3016
|
+
dataflowEndpointRegion: smithy_client_1.expectString(output.dataflowEndpointRegion),
|
|
3015
3017
|
};
|
|
3016
3018
|
};
|
|
3017
3019
|
const deserializeAws_restJson1DataflowEndpointGroupList = (output, context) => {
|
|
@@ -3026,8 +3028,8 @@ const deserializeAws_restJson1DataflowEndpointGroupList = (output, context) => {
|
|
|
3026
3028
|
};
|
|
3027
3029
|
const deserializeAws_restJson1DataflowEndpointListItem = (output, context) => {
|
|
3028
3030
|
return {
|
|
3029
|
-
dataflowEndpointGroupArn:
|
|
3030
|
-
dataflowEndpointGroupId:
|
|
3031
|
+
dataflowEndpointGroupArn: smithy_client_1.expectString(output.dataflowEndpointGroupArn),
|
|
3032
|
+
dataflowEndpointGroupId: smithy_client_1.expectString(output.dataflowEndpointGroupId),
|
|
3031
3033
|
};
|
|
3032
3034
|
};
|
|
3033
3035
|
const deserializeAws_restJson1DataflowList = (output, context) => {
|
|
@@ -3042,34 +3044,34 @@ const deserializeAws_restJson1DataflowList = (output, context) => {
|
|
|
3042
3044
|
};
|
|
3043
3045
|
const deserializeAws_restJson1DecodeConfig = (output, context) => {
|
|
3044
3046
|
return {
|
|
3045
|
-
unvalidatedJSON:
|
|
3047
|
+
unvalidatedJSON: smithy_client_1.expectString(output.unvalidatedJSON),
|
|
3046
3048
|
};
|
|
3047
3049
|
};
|
|
3048
3050
|
const deserializeAws_restJson1DemodulationConfig = (output, context) => {
|
|
3049
3051
|
return {
|
|
3050
|
-
unvalidatedJSON:
|
|
3052
|
+
unvalidatedJSON: smithy_client_1.expectString(output.unvalidatedJSON),
|
|
3051
3053
|
};
|
|
3052
3054
|
};
|
|
3053
3055
|
const deserializeAws_restJson1Destination = (output, context) => {
|
|
3054
3056
|
return {
|
|
3055
3057
|
configDetails: output.configDetails !== undefined && output.configDetails !== null
|
|
3056
|
-
? deserializeAws_restJson1ConfigDetails(output.configDetails, context)
|
|
3058
|
+
? deserializeAws_restJson1ConfigDetails(smithy_client_1.expectUnion(output.configDetails), context)
|
|
3057
3059
|
: undefined,
|
|
3058
|
-
configId:
|
|
3059
|
-
configType:
|
|
3060
|
-
dataflowDestinationRegion:
|
|
3060
|
+
configId: smithy_client_1.expectString(output.configId),
|
|
3061
|
+
configType: smithy_client_1.expectString(output.configType),
|
|
3062
|
+
dataflowDestinationRegion: smithy_client_1.expectString(output.dataflowDestinationRegion),
|
|
3061
3063
|
};
|
|
3062
3064
|
};
|
|
3063
3065
|
const deserializeAws_restJson1Eirp = (output, context) => {
|
|
3064
3066
|
return {
|
|
3065
|
-
units:
|
|
3066
|
-
value:
|
|
3067
|
+
units: smithy_client_1.expectString(output.units),
|
|
3068
|
+
value: smithy_client_1.limitedParseDouble(output.value),
|
|
3067
3069
|
};
|
|
3068
3070
|
};
|
|
3069
3071
|
const deserializeAws_restJson1Elevation = (output, context) => {
|
|
3070
3072
|
return {
|
|
3071
|
-
unit:
|
|
3072
|
-
value:
|
|
3073
|
+
unit: smithy_client_1.expectString(output.unit),
|
|
3074
|
+
value: smithy_client_1.limitedParseDouble(output.value),
|
|
3073
3075
|
};
|
|
3074
3076
|
};
|
|
3075
3077
|
const deserializeAws_restJson1EndpointDetails = (output, context) => {
|
|
@@ -3094,21 +3096,21 @@ const deserializeAws_restJson1EndpointDetailsList = (output, context) => {
|
|
|
3094
3096
|
};
|
|
3095
3097
|
const deserializeAws_restJson1Frequency = (output, context) => {
|
|
3096
3098
|
return {
|
|
3097
|
-
units:
|
|
3098
|
-
value:
|
|
3099
|
+
units: smithy_client_1.expectString(output.units),
|
|
3100
|
+
value: smithy_client_1.limitedParseDouble(output.value),
|
|
3099
3101
|
};
|
|
3100
3102
|
};
|
|
3101
3103
|
const deserializeAws_restJson1FrequencyBandwidth = (output, context) => {
|
|
3102
3104
|
return {
|
|
3103
|
-
units:
|
|
3104
|
-
value:
|
|
3105
|
+
units: smithy_client_1.expectString(output.units),
|
|
3106
|
+
value: smithy_client_1.limitedParseDouble(output.value),
|
|
3105
3107
|
};
|
|
3106
3108
|
};
|
|
3107
3109
|
const deserializeAws_restJson1GroundStationData = (output, context) => {
|
|
3108
3110
|
return {
|
|
3109
|
-
groundStationId:
|
|
3110
|
-
groundStationName:
|
|
3111
|
-
region:
|
|
3111
|
+
groundStationId: smithy_client_1.expectString(output.groundStationId),
|
|
3112
|
+
groundStationName: smithy_client_1.expectString(output.groundStationName),
|
|
3113
|
+
region: smithy_client_1.expectString(output.region),
|
|
3112
3114
|
};
|
|
3113
3115
|
};
|
|
3114
3116
|
const deserializeAws_restJson1GroundStationIdList = (output, context) => {
|
|
@@ -3118,7 +3120,7 @@ const deserializeAws_restJson1GroundStationIdList = (output, context) => {
|
|
|
3118
3120
|
if (entry === null) {
|
|
3119
3121
|
return null;
|
|
3120
3122
|
}
|
|
3121
|
-
return
|
|
3123
|
+
return smithy_client_1.expectString(entry);
|
|
3122
3124
|
});
|
|
3123
3125
|
};
|
|
3124
3126
|
const deserializeAws_restJson1GroundStationList = (output, context) => {
|
|
@@ -3143,23 +3145,23 @@ const deserializeAws_restJson1MissionProfileList = (output, context) => {
|
|
|
3143
3145
|
};
|
|
3144
3146
|
const deserializeAws_restJson1MissionProfileListItem = (output, context) => {
|
|
3145
3147
|
return {
|
|
3146
|
-
missionProfileArn:
|
|
3147
|
-
missionProfileId:
|
|
3148
|
-
name:
|
|
3149
|
-
region:
|
|
3148
|
+
missionProfileArn: smithy_client_1.expectString(output.missionProfileArn),
|
|
3149
|
+
missionProfileId: smithy_client_1.expectString(output.missionProfileId),
|
|
3150
|
+
name: smithy_client_1.expectString(output.name),
|
|
3151
|
+
region: smithy_client_1.expectString(output.region),
|
|
3150
3152
|
};
|
|
3151
3153
|
};
|
|
3152
3154
|
const deserializeAws_restJson1S3RecordingConfig = (output, context) => {
|
|
3153
3155
|
return {
|
|
3154
|
-
bucketArn:
|
|
3155
|
-
prefix:
|
|
3156
|
-
roleArn:
|
|
3156
|
+
bucketArn: smithy_client_1.expectString(output.bucketArn),
|
|
3157
|
+
prefix: smithy_client_1.expectString(output.prefix),
|
|
3158
|
+
roleArn: smithy_client_1.expectString(output.roleArn),
|
|
3157
3159
|
};
|
|
3158
3160
|
};
|
|
3159
3161
|
const deserializeAws_restJson1S3RecordingDetails = (output, context) => {
|
|
3160
3162
|
return {
|
|
3161
|
-
bucketArn:
|
|
3162
|
-
keyTemplate:
|
|
3163
|
+
bucketArn: smithy_client_1.expectString(output.bucketArn),
|
|
3164
|
+
keyTemplate: smithy_client_1.expectString(output.keyTemplate),
|
|
3163
3165
|
};
|
|
3164
3166
|
};
|
|
3165
3167
|
const deserializeAws_restJson1SatelliteList = (output, context) => {
|
|
@@ -3177,14 +3179,14 @@ const deserializeAws_restJson1SatelliteListItem = (output, context) => {
|
|
|
3177
3179
|
groundStations: output.groundStations !== undefined && output.groundStations !== null
|
|
3178
3180
|
? deserializeAws_restJson1GroundStationIdList(output.groundStations, context)
|
|
3179
3181
|
: undefined,
|
|
3180
|
-
noradSatelliteID:
|
|
3181
|
-
satelliteArn:
|
|
3182
|
-
satelliteId:
|
|
3182
|
+
noradSatelliteID: smithy_client_1.expectInt32(output.noradSatelliteID),
|
|
3183
|
+
satelliteArn: smithy_client_1.expectString(output.satelliteArn),
|
|
3184
|
+
satelliteId: smithy_client_1.expectString(output.satelliteId),
|
|
3183
3185
|
};
|
|
3184
3186
|
};
|
|
3185
3187
|
const deserializeAws_restJson1SecurityDetails = (output, context) => {
|
|
3186
3188
|
return {
|
|
3187
|
-
roleArn:
|
|
3189
|
+
roleArn: smithy_client_1.expectString(output.roleArn),
|
|
3188
3190
|
securityGroupIds: output.securityGroupIds !== undefined && output.securityGroupIds !== null
|
|
3189
3191
|
? deserializeAws_restJson1SecurityGroupIdList(output.securityGroupIds, context)
|
|
3190
3192
|
: undefined,
|
|
@@ -3200,23 +3202,23 @@ const deserializeAws_restJson1SecurityGroupIdList = (output, context) => {
|
|
|
3200
3202
|
if (entry === null) {
|
|
3201
3203
|
return null;
|
|
3202
3204
|
}
|
|
3203
|
-
return
|
|
3205
|
+
return smithy_client_1.expectString(entry);
|
|
3204
3206
|
});
|
|
3205
3207
|
};
|
|
3206
3208
|
const deserializeAws_restJson1SocketAddress = (output, context) => {
|
|
3207
3209
|
return {
|
|
3208
|
-
name:
|
|
3209
|
-
port:
|
|
3210
|
+
name: smithy_client_1.expectString(output.name),
|
|
3211
|
+
port: smithy_client_1.expectInt32(output.port),
|
|
3210
3212
|
};
|
|
3211
3213
|
};
|
|
3212
3214
|
const deserializeAws_restJson1Source = (output, context) => {
|
|
3213
3215
|
return {
|
|
3214
3216
|
configDetails: output.configDetails !== undefined && output.configDetails !== null
|
|
3215
|
-
? deserializeAws_restJson1ConfigDetails(output.configDetails, context)
|
|
3217
|
+
? deserializeAws_restJson1ConfigDetails(smithy_client_1.expectUnion(output.configDetails), context)
|
|
3216
3218
|
: undefined,
|
|
3217
|
-
configId:
|
|
3218
|
-
configType:
|
|
3219
|
-
dataflowSourceRegion:
|
|
3219
|
+
configId: smithy_client_1.expectString(output.configId),
|
|
3220
|
+
configType: smithy_client_1.expectString(output.configType),
|
|
3221
|
+
dataflowSourceRegion: smithy_client_1.expectString(output.dataflowSourceRegion),
|
|
3220
3222
|
};
|
|
3221
3223
|
};
|
|
3222
3224
|
const deserializeAws_restJson1SpectrumConfig = (output, context) => {
|
|
@@ -3227,7 +3229,7 @@ const deserializeAws_restJson1SpectrumConfig = (output, context) => {
|
|
|
3227
3229
|
centerFrequency: output.centerFrequency !== undefined && output.centerFrequency !== null
|
|
3228
3230
|
? deserializeAws_restJson1Frequency(output.centerFrequency, context)
|
|
3229
3231
|
: undefined,
|
|
3230
|
-
polarization:
|
|
3232
|
+
polarization: smithy_client_1.expectString(output.polarization),
|
|
3231
3233
|
};
|
|
3232
3234
|
};
|
|
3233
3235
|
const deserializeAws_restJson1SubnetList = (output, context) => {
|
|
@@ -3237,7 +3239,7 @@ const deserializeAws_restJson1SubnetList = (output, context) => {
|
|
|
3237
3239
|
if (entry === null) {
|
|
3238
3240
|
return null;
|
|
3239
3241
|
}
|
|
3240
|
-
return
|
|
3242
|
+
return smithy_client_1.expectString(entry);
|
|
3241
3243
|
});
|
|
3242
3244
|
};
|
|
3243
3245
|
const deserializeAws_restJson1TagsMap = (output, context) => {
|
|
@@ -3247,19 +3249,19 @@ const deserializeAws_restJson1TagsMap = (output, context) => {
|
|
|
3247
3249
|
}
|
|
3248
3250
|
return {
|
|
3249
3251
|
...acc,
|
|
3250
|
-
[key]:
|
|
3252
|
+
[key]: smithy_client_1.expectString(value),
|
|
3251
3253
|
};
|
|
3252
3254
|
}, {});
|
|
3253
3255
|
};
|
|
3254
3256
|
const deserializeAws_restJson1TrackingConfig = (output, context) => {
|
|
3255
3257
|
return {
|
|
3256
|
-
autotrack:
|
|
3258
|
+
autotrack: smithy_client_1.expectString(output.autotrack),
|
|
3257
3259
|
};
|
|
3258
3260
|
};
|
|
3259
3261
|
const deserializeAws_restJson1UplinkEchoConfig = (output, context) => {
|
|
3260
3262
|
return {
|
|
3261
|
-
antennaUplinkConfigArn:
|
|
3262
|
-
enabled:
|
|
3263
|
+
antennaUplinkConfigArn: smithy_client_1.expectString(output.antennaUplinkConfigArn),
|
|
3264
|
+
enabled: smithy_client_1.expectBoolean(output.enabled),
|
|
3263
3265
|
};
|
|
3264
3266
|
};
|
|
3265
3267
|
const deserializeAws_restJson1UplinkSpectrumConfig = (output, context) => {
|
|
@@ -3267,7 +3269,7 @@ const deserializeAws_restJson1UplinkSpectrumConfig = (output, context) => {
|
|
|
3267
3269
|
centerFrequency: output.centerFrequency !== undefined && output.centerFrequency !== null
|
|
3268
3270
|
? deserializeAws_restJson1Frequency(output.centerFrequency, context)
|
|
3269
3271
|
: undefined,
|
|
3270
|
-
polarization:
|
|
3272
|
+
polarization: smithy_client_1.expectString(output.polarization),
|
|
3271
3273
|
};
|
|
3272
3274
|
};
|
|
3273
3275
|
const deserializeMetadata = (output) => {
|