@aws-sdk/client-groundstation 3.54.0 → 3.56.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 +24 -0
- package/dist-cjs/GroundStationClient.js +13 -13
- package/dist-cjs/commands/CancelContactCommand.js +3 -3
- package/dist-cjs/commands/CreateConfigCommand.js +3 -3
- package/dist-cjs/commands/CreateDataflowEndpointGroupCommand.js +3 -3
- package/dist-cjs/commands/CreateMissionProfileCommand.js +3 -3
- package/dist-cjs/commands/DeleteConfigCommand.js +3 -3
- package/dist-cjs/commands/DeleteDataflowEndpointGroupCommand.js +3 -3
- package/dist-cjs/commands/DeleteMissionProfileCommand.js +3 -3
- package/dist-cjs/commands/DescribeContactCommand.js +3 -3
- package/dist-cjs/commands/GetConfigCommand.js +3 -3
- package/dist-cjs/commands/GetDataflowEndpointGroupCommand.js +3 -3
- package/dist-cjs/commands/GetMinuteUsageCommand.js +3 -3
- package/dist-cjs/commands/GetMissionProfileCommand.js +3 -3
- package/dist-cjs/commands/GetSatelliteCommand.js +3 -3
- package/dist-cjs/commands/ListConfigsCommand.js +3 -3
- package/dist-cjs/commands/ListContactsCommand.js +3 -3
- package/dist-cjs/commands/ListDataflowEndpointGroupsCommand.js +3 -3
- package/dist-cjs/commands/ListGroundStationsCommand.js +3 -3
- package/dist-cjs/commands/ListMissionProfilesCommand.js +3 -3
- package/dist-cjs/commands/ListSatellitesCommand.js +3 -3
- package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-cjs/commands/ReserveContactCommand.js +3 -3
- package/dist-cjs/commands/TagResourceCommand.js +3 -3
- package/dist-cjs/commands/UntagResourceCommand.js +3 -3
- package/dist-cjs/commands/UpdateConfigCommand.js +3 -3
- package/dist-cjs/commands/UpdateMissionProfileCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_restJson1.js +206 -206
- package/dist-cjs/runtimeConfig.browser.js +4 -4
- package/dist-cjs/runtimeConfig.js +9 -9
- package/dist-cjs/runtimeConfig.native.js +1 -1
- package/dist-es/GroundStation.js +25 -25
- package/dist-es/pagination/ListConfigsPaginator.js +4 -4
- package/dist-es/pagination/ListContactsPaginator.js +4 -4
- package/dist-es/pagination/ListDataflowEndpointGroupsPaginator.js +4 -4
- package/dist-es/pagination/ListGroundStationsPaginator.js +4 -4
- package/dist-es/pagination/ListMissionProfilesPaginator.js +4 -4
- package/dist-es/pagination/ListSatellitesPaginator.js +4 -4
- package/dist-es/protocols/Aws_restJson1.js +25 -25
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
- package/package.json +34 -34
|
@@ -14,7 +14,7 @@ const serializeAws_restJson1CancelContactCommand = async (input, context) => {
|
|
|
14
14
|
if (labelValue.length <= 0) {
|
|
15
15
|
throw new Error("Empty value provided for input HTTP label: contactId.");
|
|
16
16
|
}
|
|
17
|
-
resolvedPath = resolvedPath.replace("{contactId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
17
|
+
resolvedPath = resolvedPath.replace("{contactId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
18
18
|
}
|
|
19
19
|
else {
|
|
20
20
|
throw new Error("No value provided for input HTTP label: contactId.");
|
|
@@ -132,7 +132,7 @@ const serializeAws_restJson1DeleteConfigCommand = async (input, context) => {
|
|
|
132
132
|
if (labelValue.length <= 0) {
|
|
133
133
|
throw new Error("Empty value provided for input HTTP label: configId.");
|
|
134
134
|
}
|
|
135
|
-
resolvedPath = resolvedPath.replace("{configId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
135
|
+
resolvedPath = resolvedPath.replace("{configId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
136
136
|
}
|
|
137
137
|
else {
|
|
138
138
|
throw new Error("No value provided for input HTTP label: configId.");
|
|
@@ -142,7 +142,7 @@ const serializeAws_restJson1DeleteConfigCommand = async (input, context) => {
|
|
|
142
142
|
if (labelValue.length <= 0) {
|
|
143
143
|
throw new Error("Empty value provided for input HTTP label: configType.");
|
|
144
144
|
}
|
|
145
|
-
resolvedPath = resolvedPath.replace("{configType}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
145
|
+
resolvedPath = resolvedPath.replace("{configType}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
146
146
|
}
|
|
147
147
|
else {
|
|
148
148
|
throw new Error("No value provided for input HTTP label: configType.");
|
|
@@ -169,7 +169,7 @@ const serializeAws_restJson1DeleteDataflowEndpointGroupCommand = async (input, c
|
|
|
169
169
|
if (labelValue.length <= 0) {
|
|
170
170
|
throw new Error("Empty value provided for input HTTP label: dataflowEndpointGroupId.");
|
|
171
171
|
}
|
|
172
|
-
resolvedPath = resolvedPath.replace("{dataflowEndpointGroupId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
172
|
+
resolvedPath = resolvedPath.replace("{dataflowEndpointGroupId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
173
173
|
}
|
|
174
174
|
else {
|
|
175
175
|
throw new Error("No value provided for input HTTP label: dataflowEndpointGroupId.");
|
|
@@ -195,7 +195,7 @@ const serializeAws_restJson1DeleteMissionProfileCommand = async (input, context)
|
|
|
195
195
|
if (labelValue.length <= 0) {
|
|
196
196
|
throw new Error("Empty value provided for input HTTP label: missionProfileId.");
|
|
197
197
|
}
|
|
198
|
-
resolvedPath = resolvedPath.replace("{missionProfileId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
198
|
+
resolvedPath = resolvedPath.replace("{missionProfileId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
199
199
|
}
|
|
200
200
|
else {
|
|
201
201
|
throw new Error("No value provided for input HTTP label: missionProfileId.");
|
|
@@ -221,7 +221,7 @@ const serializeAws_restJson1DescribeContactCommand = async (input, context) => {
|
|
|
221
221
|
if (labelValue.length <= 0) {
|
|
222
222
|
throw new Error("Empty value provided for input HTTP label: contactId.");
|
|
223
223
|
}
|
|
224
|
-
resolvedPath = resolvedPath.replace("{contactId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
224
|
+
resolvedPath = resolvedPath.replace("{contactId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
225
225
|
}
|
|
226
226
|
else {
|
|
227
227
|
throw new Error("No value provided for input HTTP label: contactId.");
|
|
@@ -247,7 +247,7 @@ const serializeAws_restJson1GetConfigCommand = async (input, context) => {
|
|
|
247
247
|
if (labelValue.length <= 0) {
|
|
248
248
|
throw new Error("Empty value provided for input HTTP label: configId.");
|
|
249
249
|
}
|
|
250
|
-
resolvedPath = resolvedPath.replace("{configId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
250
|
+
resolvedPath = resolvedPath.replace("{configId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
251
251
|
}
|
|
252
252
|
else {
|
|
253
253
|
throw new Error("No value provided for input HTTP label: configId.");
|
|
@@ -257,7 +257,7 @@ const serializeAws_restJson1GetConfigCommand = async (input, context) => {
|
|
|
257
257
|
if (labelValue.length <= 0) {
|
|
258
258
|
throw new Error("Empty value provided for input HTTP label: configType.");
|
|
259
259
|
}
|
|
260
|
-
resolvedPath = resolvedPath.replace("{configType}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
260
|
+
resolvedPath = resolvedPath.replace("{configType}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
261
261
|
}
|
|
262
262
|
else {
|
|
263
263
|
throw new Error("No value provided for input HTTP label: configType.");
|
|
@@ -284,7 +284,7 @@ const serializeAws_restJson1GetDataflowEndpointGroupCommand = async (input, cont
|
|
|
284
284
|
if (labelValue.length <= 0) {
|
|
285
285
|
throw new Error("Empty value provided for input HTTP label: dataflowEndpointGroupId.");
|
|
286
286
|
}
|
|
287
|
-
resolvedPath = resolvedPath.replace("{dataflowEndpointGroupId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
287
|
+
resolvedPath = resolvedPath.replace("{dataflowEndpointGroupId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
288
288
|
}
|
|
289
289
|
else {
|
|
290
290
|
throw new Error("No value provided for input HTTP label: dataflowEndpointGroupId.");
|
|
@@ -332,7 +332,7 @@ const serializeAws_restJson1GetMissionProfileCommand = async (input, context) =>
|
|
|
332
332
|
if (labelValue.length <= 0) {
|
|
333
333
|
throw new Error("Empty value provided for input HTTP label: missionProfileId.");
|
|
334
334
|
}
|
|
335
|
-
resolvedPath = resolvedPath.replace("{missionProfileId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
335
|
+
resolvedPath = resolvedPath.replace("{missionProfileId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
336
336
|
}
|
|
337
337
|
else {
|
|
338
338
|
throw new Error("No value provided for input HTTP label: missionProfileId.");
|
|
@@ -358,7 +358,7 @@ const serializeAws_restJson1GetSatelliteCommand = async (input, context) => {
|
|
|
358
358
|
if (labelValue.length <= 0) {
|
|
359
359
|
throw new Error("Empty value provided for input HTTP label: satelliteId.");
|
|
360
360
|
}
|
|
361
|
-
resolvedPath = resolvedPath.replace("{satelliteId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
361
|
+
resolvedPath = resolvedPath.replace("{satelliteId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
362
362
|
}
|
|
363
363
|
else {
|
|
364
364
|
throw new Error("No value provided for input HTTP label: satelliteId.");
|
|
@@ -522,7 +522,7 @@ const serializeAws_restJson1ListTagsForResourceCommand = async (input, context)
|
|
|
522
522
|
if (labelValue.length <= 0) {
|
|
523
523
|
throw new Error("Empty value provided for input HTTP label: resourceArn.");
|
|
524
524
|
}
|
|
525
|
-
resolvedPath = resolvedPath.replace("{resourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
525
|
+
resolvedPath = resolvedPath.replace("{resourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
526
526
|
}
|
|
527
527
|
else {
|
|
528
528
|
throw new Error("No value provided for input HTTP label: resourceArn.");
|
|
@@ -580,7 +580,7 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
|
|
|
580
580
|
if (labelValue.length <= 0) {
|
|
581
581
|
throw new Error("Empty value provided for input HTTP label: resourceArn.");
|
|
582
582
|
}
|
|
583
|
-
resolvedPath = resolvedPath.replace("{resourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
583
|
+
resolvedPath = resolvedPath.replace("{resourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
584
584
|
}
|
|
585
585
|
else {
|
|
586
586
|
throw new Error("No value provided for input HTTP label: resourceArn.");
|
|
@@ -610,7 +610,7 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
|
|
|
610
610
|
if (labelValue.length <= 0) {
|
|
611
611
|
throw new Error("Empty value provided for input HTTP label: resourceArn.");
|
|
612
612
|
}
|
|
613
|
-
resolvedPath = resolvedPath.replace("{resourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
613
|
+
resolvedPath = resolvedPath.replace("{resourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
614
614
|
}
|
|
615
615
|
else {
|
|
616
616
|
throw new Error("No value provided for input HTTP label: resourceArn.");
|
|
@@ -642,7 +642,7 @@ const serializeAws_restJson1UpdateConfigCommand = async (input, context) => {
|
|
|
642
642
|
if (labelValue.length <= 0) {
|
|
643
643
|
throw new Error("Empty value provided for input HTTP label: configId.");
|
|
644
644
|
}
|
|
645
|
-
resolvedPath = resolvedPath.replace("{configId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
645
|
+
resolvedPath = resolvedPath.replace("{configId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
646
646
|
}
|
|
647
647
|
else {
|
|
648
648
|
throw new Error("No value provided for input HTTP label: configId.");
|
|
@@ -652,7 +652,7 @@ const serializeAws_restJson1UpdateConfigCommand = async (input, context) => {
|
|
|
652
652
|
if (labelValue.length <= 0) {
|
|
653
653
|
throw new Error("Empty value provided for input HTTP label: configType.");
|
|
654
654
|
}
|
|
655
|
-
resolvedPath = resolvedPath.replace("{configType}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
655
|
+
resolvedPath = resolvedPath.replace("{configType}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
656
656
|
}
|
|
657
657
|
else {
|
|
658
658
|
throw new Error("No value provided for input HTTP label: configType.");
|
|
@@ -685,7 +685,7 @@ const serializeAws_restJson1UpdateMissionProfileCommand = async (input, context)
|
|
|
685
685
|
if (labelValue.length <= 0) {
|
|
686
686
|
throw new Error("Empty value provided for input HTTP label: missionProfileId.");
|
|
687
687
|
}
|
|
688
|
-
resolvedPath = resolvedPath.replace("{missionProfileId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
688
|
+
resolvedPath = resolvedPath.replace("{missionProfileId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
689
689
|
}
|
|
690
690
|
else {
|
|
691
691
|
throw new Error("No value provided for input HTTP label: missionProfileId.");
|
|
@@ -731,9 +731,9 @@ const deserializeAws_restJson1CancelContactCommand = async (output, context) =>
|
|
|
731
731
|
$metadata: deserializeMetadata(output),
|
|
732
732
|
contactId: undefined,
|
|
733
733
|
};
|
|
734
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
734
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
735
735
|
if (data.contactId !== undefined && data.contactId !== null) {
|
|
736
|
-
contents.contactId = smithy_client_1.expectString(data.contactId);
|
|
736
|
+
contents.contactId = (0, smithy_client_1.expectString)(data.contactId);
|
|
737
737
|
}
|
|
738
738
|
return Promise.resolve(contents);
|
|
739
739
|
};
|
|
@@ -763,7 +763,7 @@ const deserializeAws_restJson1CancelContactCommandError = async (output, context
|
|
|
763
763
|
$fault: "client",
|
|
764
764
|
$metadata: deserializeMetadata(output),
|
|
765
765
|
});
|
|
766
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
766
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
767
767
|
}
|
|
768
768
|
};
|
|
769
769
|
const deserializeAws_restJson1CreateConfigCommand = async (output, context) => {
|
|
@@ -776,15 +776,15 @@ const deserializeAws_restJson1CreateConfigCommand = async (output, context) => {
|
|
|
776
776
|
configId: undefined,
|
|
777
777
|
configType: undefined,
|
|
778
778
|
};
|
|
779
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
779
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
780
780
|
if (data.configArn !== undefined && data.configArn !== null) {
|
|
781
|
-
contents.configArn = smithy_client_1.expectString(data.configArn);
|
|
781
|
+
contents.configArn = (0, smithy_client_1.expectString)(data.configArn);
|
|
782
782
|
}
|
|
783
783
|
if (data.configId !== undefined && data.configId !== null) {
|
|
784
|
-
contents.configId = smithy_client_1.expectString(data.configId);
|
|
784
|
+
contents.configId = (0, smithy_client_1.expectString)(data.configId);
|
|
785
785
|
}
|
|
786
786
|
if (data.configType !== undefined && data.configType !== null) {
|
|
787
|
-
contents.configType = smithy_client_1.expectString(data.configType);
|
|
787
|
+
contents.configType = (0, smithy_client_1.expectString)(data.configType);
|
|
788
788
|
}
|
|
789
789
|
return Promise.resolve(contents);
|
|
790
790
|
};
|
|
@@ -817,7 +817,7 @@ const deserializeAws_restJson1CreateConfigCommandError = async (output, context)
|
|
|
817
817
|
$fault: "client",
|
|
818
818
|
$metadata: deserializeMetadata(output),
|
|
819
819
|
});
|
|
820
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
820
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
821
821
|
}
|
|
822
822
|
};
|
|
823
823
|
const deserializeAws_restJson1CreateDataflowEndpointGroupCommand = async (output, context) => {
|
|
@@ -828,9 +828,9 @@ const deserializeAws_restJson1CreateDataflowEndpointGroupCommand = async (output
|
|
|
828
828
|
$metadata: deserializeMetadata(output),
|
|
829
829
|
dataflowEndpointGroupId: undefined,
|
|
830
830
|
};
|
|
831
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
831
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
832
832
|
if (data.dataflowEndpointGroupId !== undefined && data.dataflowEndpointGroupId !== null) {
|
|
833
|
-
contents.dataflowEndpointGroupId = smithy_client_1.expectString(data.dataflowEndpointGroupId);
|
|
833
|
+
contents.dataflowEndpointGroupId = (0, smithy_client_1.expectString)(data.dataflowEndpointGroupId);
|
|
834
834
|
}
|
|
835
835
|
return Promise.resolve(contents);
|
|
836
836
|
};
|
|
@@ -860,7 +860,7 @@ const deserializeAws_restJson1CreateDataflowEndpointGroupCommandError = async (o
|
|
|
860
860
|
$fault: "client",
|
|
861
861
|
$metadata: deserializeMetadata(output),
|
|
862
862
|
});
|
|
863
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
863
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
864
864
|
}
|
|
865
865
|
};
|
|
866
866
|
const deserializeAws_restJson1CreateMissionProfileCommand = async (output, context) => {
|
|
@@ -871,9 +871,9 @@ const deserializeAws_restJson1CreateMissionProfileCommand = async (output, conte
|
|
|
871
871
|
$metadata: deserializeMetadata(output),
|
|
872
872
|
missionProfileId: undefined,
|
|
873
873
|
};
|
|
874
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
874
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
875
875
|
if (data.missionProfileId !== undefined && data.missionProfileId !== null) {
|
|
876
|
-
contents.missionProfileId = smithy_client_1.expectString(data.missionProfileId);
|
|
876
|
+
contents.missionProfileId = (0, smithy_client_1.expectString)(data.missionProfileId);
|
|
877
877
|
}
|
|
878
878
|
return Promise.resolve(contents);
|
|
879
879
|
};
|
|
@@ -903,7 +903,7 @@ const deserializeAws_restJson1CreateMissionProfileCommandError = async (output,
|
|
|
903
903
|
$fault: "client",
|
|
904
904
|
$metadata: deserializeMetadata(output),
|
|
905
905
|
});
|
|
906
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
906
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
907
907
|
}
|
|
908
908
|
};
|
|
909
909
|
const deserializeAws_restJson1DeleteConfigCommand = async (output, context) => {
|
|
@@ -916,15 +916,15 @@ const deserializeAws_restJson1DeleteConfigCommand = async (output, context) => {
|
|
|
916
916
|
configId: undefined,
|
|
917
917
|
configType: undefined,
|
|
918
918
|
};
|
|
919
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
919
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
920
920
|
if (data.configArn !== undefined && data.configArn !== null) {
|
|
921
|
-
contents.configArn = smithy_client_1.expectString(data.configArn);
|
|
921
|
+
contents.configArn = (0, smithy_client_1.expectString)(data.configArn);
|
|
922
922
|
}
|
|
923
923
|
if (data.configId !== undefined && data.configId !== null) {
|
|
924
|
-
contents.configId = smithy_client_1.expectString(data.configId);
|
|
924
|
+
contents.configId = (0, smithy_client_1.expectString)(data.configId);
|
|
925
925
|
}
|
|
926
926
|
if (data.configType !== undefined && data.configType !== null) {
|
|
927
|
-
contents.configType = smithy_client_1.expectString(data.configType);
|
|
927
|
+
contents.configType = (0, smithy_client_1.expectString)(data.configType);
|
|
928
928
|
}
|
|
929
929
|
return Promise.resolve(contents);
|
|
930
930
|
};
|
|
@@ -954,7 +954,7 @@ const deserializeAws_restJson1DeleteConfigCommandError = async (output, context)
|
|
|
954
954
|
$fault: "client",
|
|
955
955
|
$metadata: deserializeMetadata(output),
|
|
956
956
|
});
|
|
957
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
957
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
958
958
|
}
|
|
959
959
|
};
|
|
960
960
|
const deserializeAws_restJson1DeleteDataflowEndpointGroupCommand = async (output, context) => {
|
|
@@ -965,9 +965,9 @@ const deserializeAws_restJson1DeleteDataflowEndpointGroupCommand = async (output
|
|
|
965
965
|
$metadata: deserializeMetadata(output),
|
|
966
966
|
dataflowEndpointGroupId: undefined,
|
|
967
967
|
};
|
|
968
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
968
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
969
969
|
if (data.dataflowEndpointGroupId !== undefined && data.dataflowEndpointGroupId !== null) {
|
|
970
|
-
contents.dataflowEndpointGroupId = smithy_client_1.expectString(data.dataflowEndpointGroupId);
|
|
970
|
+
contents.dataflowEndpointGroupId = (0, smithy_client_1.expectString)(data.dataflowEndpointGroupId);
|
|
971
971
|
}
|
|
972
972
|
return Promise.resolve(contents);
|
|
973
973
|
};
|
|
@@ -997,7 +997,7 @@ const deserializeAws_restJson1DeleteDataflowEndpointGroupCommandError = async (o
|
|
|
997
997
|
$fault: "client",
|
|
998
998
|
$metadata: deserializeMetadata(output),
|
|
999
999
|
});
|
|
1000
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1000
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1001
1001
|
}
|
|
1002
1002
|
};
|
|
1003
1003
|
const deserializeAws_restJson1DeleteMissionProfileCommand = async (output, context) => {
|
|
@@ -1008,9 +1008,9 @@ const deserializeAws_restJson1DeleteMissionProfileCommand = async (output, conte
|
|
|
1008
1008
|
$metadata: deserializeMetadata(output),
|
|
1009
1009
|
missionProfileId: undefined,
|
|
1010
1010
|
};
|
|
1011
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1011
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1012
1012
|
if (data.missionProfileId !== undefined && data.missionProfileId !== null) {
|
|
1013
|
-
contents.missionProfileId = smithy_client_1.expectString(data.missionProfileId);
|
|
1013
|
+
contents.missionProfileId = (0, smithy_client_1.expectString)(data.missionProfileId);
|
|
1014
1014
|
}
|
|
1015
1015
|
return Promise.resolve(contents);
|
|
1016
1016
|
};
|
|
@@ -1040,7 +1040,7 @@ const deserializeAws_restJson1DeleteMissionProfileCommandError = async (output,
|
|
|
1040
1040
|
$fault: "client",
|
|
1041
1041
|
$metadata: deserializeMetadata(output),
|
|
1042
1042
|
});
|
|
1043
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1043
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1044
1044
|
}
|
|
1045
1045
|
};
|
|
1046
1046
|
const deserializeAws_restJson1DescribeContactCommand = async (output, context) => {
|
|
@@ -1064,45 +1064,45 @@ const deserializeAws_restJson1DescribeContactCommand = async (output, context) =
|
|
|
1064
1064
|
startTime: undefined,
|
|
1065
1065
|
tags: undefined,
|
|
1066
1066
|
};
|
|
1067
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1067
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1068
1068
|
if (data.contactId !== undefined && data.contactId !== null) {
|
|
1069
|
-
contents.contactId = smithy_client_1.expectString(data.contactId);
|
|
1069
|
+
contents.contactId = (0, smithy_client_1.expectString)(data.contactId);
|
|
1070
1070
|
}
|
|
1071
1071
|
if (data.contactStatus !== undefined && data.contactStatus !== null) {
|
|
1072
|
-
contents.contactStatus = smithy_client_1.expectString(data.contactStatus);
|
|
1072
|
+
contents.contactStatus = (0, smithy_client_1.expectString)(data.contactStatus);
|
|
1073
1073
|
}
|
|
1074
1074
|
if (data.dataflowList !== undefined && data.dataflowList !== null) {
|
|
1075
1075
|
contents.dataflowList = deserializeAws_restJson1DataflowList(data.dataflowList, context);
|
|
1076
1076
|
}
|
|
1077
1077
|
if (data.endTime !== undefined && data.endTime !== null) {
|
|
1078
|
-
contents.endTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.endTime)));
|
|
1078
|
+
contents.endTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.endTime)));
|
|
1079
1079
|
}
|
|
1080
1080
|
if (data.errorMessage !== undefined && data.errorMessage !== null) {
|
|
1081
|
-
contents.errorMessage = smithy_client_1.expectString(data.errorMessage);
|
|
1081
|
+
contents.errorMessage = (0, smithy_client_1.expectString)(data.errorMessage);
|
|
1082
1082
|
}
|
|
1083
1083
|
if (data.groundStation !== undefined && data.groundStation !== null) {
|
|
1084
|
-
contents.groundStation = smithy_client_1.expectString(data.groundStation);
|
|
1084
|
+
contents.groundStation = (0, smithy_client_1.expectString)(data.groundStation);
|
|
1085
1085
|
}
|
|
1086
1086
|
if (data.maximumElevation !== undefined && data.maximumElevation !== null) {
|
|
1087
1087
|
contents.maximumElevation = deserializeAws_restJson1Elevation(data.maximumElevation, context);
|
|
1088
1088
|
}
|
|
1089
1089
|
if (data.missionProfileArn !== undefined && data.missionProfileArn !== null) {
|
|
1090
|
-
contents.missionProfileArn = smithy_client_1.expectString(data.missionProfileArn);
|
|
1090
|
+
contents.missionProfileArn = (0, smithy_client_1.expectString)(data.missionProfileArn);
|
|
1091
1091
|
}
|
|
1092
1092
|
if (data.postPassEndTime !== undefined && data.postPassEndTime !== null) {
|
|
1093
|
-
contents.postPassEndTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.postPassEndTime)));
|
|
1093
|
+
contents.postPassEndTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.postPassEndTime)));
|
|
1094
1094
|
}
|
|
1095
1095
|
if (data.prePassStartTime !== undefined && data.prePassStartTime !== null) {
|
|
1096
|
-
contents.prePassStartTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.prePassStartTime)));
|
|
1096
|
+
contents.prePassStartTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.prePassStartTime)));
|
|
1097
1097
|
}
|
|
1098
1098
|
if (data.region !== undefined && data.region !== null) {
|
|
1099
|
-
contents.region = smithy_client_1.expectString(data.region);
|
|
1099
|
+
contents.region = (0, smithy_client_1.expectString)(data.region);
|
|
1100
1100
|
}
|
|
1101
1101
|
if (data.satelliteArn !== undefined && data.satelliteArn !== null) {
|
|
1102
|
-
contents.satelliteArn = smithy_client_1.expectString(data.satelliteArn);
|
|
1102
|
+
contents.satelliteArn = (0, smithy_client_1.expectString)(data.satelliteArn);
|
|
1103
1103
|
}
|
|
1104
1104
|
if (data.startTime !== undefined && data.startTime !== null) {
|
|
1105
|
-
contents.startTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.startTime)));
|
|
1105
|
+
contents.startTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.startTime)));
|
|
1106
1106
|
}
|
|
1107
1107
|
if (data.tags !== undefined && data.tags !== null) {
|
|
1108
1108
|
contents.tags = deserializeAws_restJson1TagsMap(data.tags, context);
|
|
@@ -1135,7 +1135,7 @@ const deserializeAws_restJson1DescribeContactCommandError = async (output, conte
|
|
|
1135
1135
|
$fault: "client",
|
|
1136
1136
|
$metadata: deserializeMetadata(output),
|
|
1137
1137
|
});
|
|
1138
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1138
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1139
1139
|
}
|
|
1140
1140
|
};
|
|
1141
1141
|
const deserializeAws_restJson1GetConfigCommand = async (output, context) => {
|
|
@@ -1151,21 +1151,21 @@ const deserializeAws_restJson1GetConfigCommand = async (output, context) => {
|
|
|
1151
1151
|
name: undefined,
|
|
1152
1152
|
tags: undefined,
|
|
1153
1153
|
};
|
|
1154
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1154
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1155
1155
|
if (data.configArn !== undefined && data.configArn !== null) {
|
|
1156
|
-
contents.configArn = smithy_client_1.expectString(data.configArn);
|
|
1156
|
+
contents.configArn = (0, smithy_client_1.expectString)(data.configArn);
|
|
1157
1157
|
}
|
|
1158
1158
|
if (data.configData !== undefined && data.configData !== null) {
|
|
1159
|
-
contents.configData = deserializeAws_restJson1ConfigTypeData(smithy_client_1.expectUnion(data.configData), context);
|
|
1159
|
+
contents.configData = deserializeAws_restJson1ConfigTypeData((0, smithy_client_1.expectUnion)(data.configData), context);
|
|
1160
1160
|
}
|
|
1161
1161
|
if (data.configId !== undefined && data.configId !== null) {
|
|
1162
|
-
contents.configId = smithy_client_1.expectString(data.configId);
|
|
1162
|
+
contents.configId = (0, smithy_client_1.expectString)(data.configId);
|
|
1163
1163
|
}
|
|
1164
1164
|
if (data.configType !== undefined && data.configType !== null) {
|
|
1165
|
-
contents.configType = smithy_client_1.expectString(data.configType);
|
|
1165
|
+
contents.configType = (0, smithy_client_1.expectString)(data.configType);
|
|
1166
1166
|
}
|
|
1167
1167
|
if (data.name !== undefined && data.name !== null) {
|
|
1168
|
-
contents.name = smithy_client_1.expectString(data.name);
|
|
1168
|
+
contents.name = (0, smithy_client_1.expectString)(data.name);
|
|
1169
1169
|
}
|
|
1170
1170
|
if (data.tags !== undefined && data.tags !== null) {
|
|
1171
1171
|
contents.tags = deserializeAws_restJson1TagsMap(data.tags, context);
|
|
@@ -1198,7 +1198,7 @@ const deserializeAws_restJson1GetConfigCommandError = async (output, context) =>
|
|
|
1198
1198
|
$fault: "client",
|
|
1199
1199
|
$metadata: deserializeMetadata(output),
|
|
1200
1200
|
});
|
|
1201
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1201
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1202
1202
|
}
|
|
1203
1203
|
};
|
|
1204
1204
|
const deserializeAws_restJson1GetDataflowEndpointGroupCommand = async (output, context) => {
|
|
@@ -1212,12 +1212,12 @@ const deserializeAws_restJson1GetDataflowEndpointGroupCommand = async (output, c
|
|
|
1212
1212
|
endpointsDetails: undefined,
|
|
1213
1213
|
tags: undefined,
|
|
1214
1214
|
};
|
|
1215
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1215
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1216
1216
|
if (data.dataflowEndpointGroupArn !== undefined && data.dataflowEndpointGroupArn !== null) {
|
|
1217
|
-
contents.dataflowEndpointGroupArn = smithy_client_1.expectString(data.dataflowEndpointGroupArn);
|
|
1217
|
+
contents.dataflowEndpointGroupArn = (0, smithy_client_1.expectString)(data.dataflowEndpointGroupArn);
|
|
1218
1218
|
}
|
|
1219
1219
|
if (data.dataflowEndpointGroupId !== undefined && data.dataflowEndpointGroupId !== null) {
|
|
1220
|
-
contents.dataflowEndpointGroupId = smithy_client_1.expectString(data.dataflowEndpointGroupId);
|
|
1220
|
+
contents.dataflowEndpointGroupId = (0, smithy_client_1.expectString)(data.dataflowEndpointGroupId);
|
|
1221
1221
|
}
|
|
1222
1222
|
if (data.endpointsDetails !== undefined && data.endpointsDetails !== null) {
|
|
1223
1223
|
contents.endpointsDetails = deserializeAws_restJson1EndpointDetailsList(data.endpointsDetails, context);
|
|
@@ -1253,7 +1253,7 @@ const deserializeAws_restJson1GetDataflowEndpointGroupCommandError = async (outp
|
|
|
1253
1253
|
$fault: "client",
|
|
1254
1254
|
$metadata: deserializeMetadata(output),
|
|
1255
1255
|
});
|
|
1256
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1256
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1257
1257
|
}
|
|
1258
1258
|
};
|
|
1259
1259
|
const deserializeAws_restJson1GetMinuteUsageCommand = async (output, context) => {
|
|
@@ -1268,21 +1268,21 @@ const deserializeAws_restJson1GetMinuteUsageCommand = async (output, context) =>
|
|
|
1268
1268
|
totalScheduledMinutes: undefined,
|
|
1269
1269
|
upcomingMinutesScheduled: undefined,
|
|
1270
1270
|
};
|
|
1271
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1271
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1272
1272
|
if (data.estimatedMinutesRemaining !== undefined && data.estimatedMinutesRemaining !== null) {
|
|
1273
|
-
contents.estimatedMinutesRemaining = smithy_client_1.expectInt32(data.estimatedMinutesRemaining);
|
|
1273
|
+
contents.estimatedMinutesRemaining = (0, smithy_client_1.expectInt32)(data.estimatedMinutesRemaining);
|
|
1274
1274
|
}
|
|
1275
1275
|
if (data.isReservedMinutesCustomer !== undefined && data.isReservedMinutesCustomer !== null) {
|
|
1276
|
-
contents.isReservedMinutesCustomer = smithy_client_1.expectBoolean(data.isReservedMinutesCustomer);
|
|
1276
|
+
contents.isReservedMinutesCustomer = (0, smithy_client_1.expectBoolean)(data.isReservedMinutesCustomer);
|
|
1277
1277
|
}
|
|
1278
1278
|
if (data.totalReservedMinuteAllocation !== undefined && data.totalReservedMinuteAllocation !== null) {
|
|
1279
|
-
contents.totalReservedMinuteAllocation = smithy_client_1.expectInt32(data.totalReservedMinuteAllocation);
|
|
1279
|
+
contents.totalReservedMinuteAllocation = (0, smithy_client_1.expectInt32)(data.totalReservedMinuteAllocation);
|
|
1280
1280
|
}
|
|
1281
1281
|
if (data.totalScheduledMinutes !== undefined && data.totalScheduledMinutes !== null) {
|
|
1282
|
-
contents.totalScheduledMinutes = smithy_client_1.expectInt32(data.totalScheduledMinutes);
|
|
1282
|
+
contents.totalScheduledMinutes = (0, smithy_client_1.expectInt32)(data.totalScheduledMinutes);
|
|
1283
1283
|
}
|
|
1284
1284
|
if (data.upcomingMinutesScheduled !== undefined && data.upcomingMinutesScheduled !== null) {
|
|
1285
|
-
contents.upcomingMinutesScheduled = smithy_client_1.expectInt32(data.upcomingMinutesScheduled);
|
|
1285
|
+
contents.upcomingMinutesScheduled = (0, smithy_client_1.expectInt32)(data.upcomingMinutesScheduled);
|
|
1286
1286
|
}
|
|
1287
1287
|
return Promise.resolve(contents);
|
|
1288
1288
|
};
|
|
@@ -1312,7 +1312,7 @@ const deserializeAws_restJson1GetMinuteUsageCommandError = async (output, contex
|
|
|
1312
1312
|
$fault: "client",
|
|
1313
1313
|
$metadata: deserializeMetadata(output),
|
|
1314
1314
|
});
|
|
1315
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1315
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1316
1316
|
}
|
|
1317
1317
|
};
|
|
1318
1318
|
const deserializeAws_restJson1GetMissionProfileCommand = async (output, context) => {
|
|
@@ -1332,36 +1332,36 @@ const deserializeAws_restJson1GetMissionProfileCommand = async (output, context)
|
|
|
1332
1332
|
tags: undefined,
|
|
1333
1333
|
trackingConfigArn: undefined,
|
|
1334
1334
|
};
|
|
1335
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1335
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1336
1336
|
if (data.contactPostPassDurationSeconds !== undefined && data.contactPostPassDurationSeconds !== null) {
|
|
1337
|
-
contents.contactPostPassDurationSeconds = smithy_client_1.expectInt32(data.contactPostPassDurationSeconds);
|
|
1337
|
+
contents.contactPostPassDurationSeconds = (0, smithy_client_1.expectInt32)(data.contactPostPassDurationSeconds);
|
|
1338
1338
|
}
|
|
1339
1339
|
if (data.contactPrePassDurationSeconds !== undefined && data.contactPrePassDurationSeconds !== null) {
|
|
1340
|
-
contents.contactPrePassDurationSeconds = smithy_client_1.expectInt32(data.contactPrePassDurationSeconds);
|
|
1340
|
+
contents.contactPrePassDurationSeconds = (0, smithy_client_1.expectInt32)(data.contactPrePassDurationSeconds);
|
|
1341
1341
|
}
|
|
1342
1342
|
if (data.dataflowEdges !== undefined && data.dataflowEdges !== null) {
|
|
1343
1343
|
contents.dataflowEdges = deserializeAws_restJson1DataflowEdgeList(data.dataflowEdges, context);
|
|
1344
1344
|
}
|
|
1345
1345
|
if (data.minimumViableContactDurationSeconds !== undefined && data.minimumViableContactDurationSeconds !== null) {
|
|
1346
|
-
contents.minimumViableContactDurationSeconds = smithy_client_1.expectInt32(data.minimumViableContactDurationSeconds);
|
|
1346
|
+
contents.minimumViableContactDurationSeconds = (0, smithy_client_1.expectInt32)(data.minimumViableContactDurationSeconds);
|
|
1347
1347
|
}
|
|
1348
1348
|
if (data.missionProfileArn !== undefined && data.missionProfileArn !== null) {
|
|
1349
|
-
contents.missionProfileArn = smithy_client_1.expectString(data.missionProfileArn);
|
|
1349
|
+
contents.missionProfileArn = (0, smithy_client_1.expectString)(data.missionProfileArn);
|
|
1350
1350
|
}
|
|
1351
1351
|
if (data.missionProfileId !== undefined && data.missionProfileId !== null) {
|
|
1352
|
-
contents.missionProfileId = smithy_client_1.expectString(data.missionProfileId);
|
|
1352
|
+
contents.missionProfileId = (0, smithy_client_1.expectString)(data.missionProfileId);
|
|
1353
1353
|
}
|
|
1354
1354
|
if (data.name !== undefined && data.name !== null) {
|
|
1355
|
-
contents.name = smithy_client_1.expectString(data.name);
|
|
1355
|
+
contents.name = (0, smithy_client_1.expectString)(data.name);
|
|
1356
1356
|
}
|
|
1357
1357
|
if (data.region !== undefined && data.region !== null) {
|
|
1358
|
-
contents.region = smithy_client_1.expectString(data.region);
|
|
1358
|
+
contents.region = (0, smithy_client_1.expectString)(data.region);
|
|
1359
1359
|
}
|
|
1360
1360
|
if (data.tags !== undefined && data.tags !== null) {
|
|
1361
1361
|
contents.tags = deserializeAws_restJson1TagsMap(data.tags, context);
|
|
1362
1362
|
}
|
|
1363
1363
|
if (data.trackingConfigArn !== undefined && data.trackingConfigArn !== null) {
|
|
1364
|
-
contents.trackingConfigArn = smithy_client_1.expectString(data.trackingConfigArn);
|
|
1364
|
+
contents.trackingConfigArn = (0, smithy_client_1.expectString)(data.trackingConfigArn);
|
|
1365
1365
|
}
|
|
1366
1366
|
return Promise.resolve(contents);
|
|
1367
1367
|
};
|
|
@@ -1391,7 +1391,7 @@ const deserializeAws_restJson1GetMissionProfileCommandError = async (output, con
|
|
|
1391
1391
|
$fault: "client",
|
|
1392
1392
|
$metadata: deserializeMetadata(output),
|
|
1393
1393
|
});
|
|
1394
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1394
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1395
1395
|
}
|
|
1396
1396
|
};
|
|
1397
1397
|
const deserializeAws_restJson1GetSatelliteCommand = async (output, context) => {
|
|
@@ -1405,18 +1405,18 @@ const deserializeAws_restJson1GetSatelliteCommand = async (output, context) => {
|
|
|
1405
1405
|
satelliteArn: undefined,
|
|
1406
1406
|
satelliteId: undefined,
|
|
1407
1407
|
};
|
|
1408
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1408
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1409
1409
|
if (data.groundStations !== undefined && data.groundStations !== null) {
|
|
1410
1410
|
contents.groundStations = deserializeAws_restJson1GroundStationIdList(data.groundStations, context);
|
|
1411
1411
|
}
|
|
1412
1412
|
if (data.noradSatelliteID !== undefined && data.noradSatelliteID !== null) {
|
|
1413
|
-
contents.noradSatelliteID = smithy_client_1.expectInt32(data.noradSatelliteID);
|
|
1413
|
+
contents.noradSatelliteID = (0, smithy_client_1.expectInt32)(data.noradSatelliteID);
|
|
1414
1414
|
}
|
|
1415
1415
|
if (data.satelliteArn !== undefined && data.satelliteArn !== null) {
|
|
1416
|
-
contents.satelliteArn = smithy_client_1.expectString(data.satelliteArn);
|
|
1416
|
+
contents.satelliteArn = (0, smithy_client_1.expectString)(data.satelliteArn);
|
|
1417
1417
|
}
|
|
1418
1418
|
if (data.satelliteId !== undefined && data.satelliteId !== null) {
|
|
1419
|
-
contents.satelliteId = smithy_client_1.expectString(data.satelliteId);
|
|
1419
|
+
contents.satelliteId = (0, smithy_client_1.expectString)(data.satelliteId);
|
|
1420
1420
|
}
|
|
1421
1421
|
return Promise.resolve(contents);
|
|
1422
1422
|
};
|
|
@@ -1446,7 +1446,7 @@ const deserializeAws_restJson1GetSatelliteCommandError = async (output, context)
|
|
|
1446
1446
|
$fault: "client",
|
|
1447
1447
|
$metadata: deserializeMetadata(output),
|
|
1448
1448
|
});
|
|
1449
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1449
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1450
1450
|
}
|
|
1451
1451
|
};
|
|
1452
1452
|
const deserializeAws_restJson1ListConfigsCommand = async (output, context) => {
|
|
@@ -1458,12 +1458,12 @@ const deserializeAws_restJson1ListConfigsCommand = async (output, context) => {
|
|
|
1458
1458
|
configList: undefined,
|
|
1459
1459
|
nextToken: undefined,
|
|
1460
1460
|
};
|
|
1461
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1461
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1462
1462
|
if (data.configList !== undefined && data.configList !== null) {
|
|
1463
1463
|
contents.configList = deserializeAws_restJson1ConfigList(data.configList, context);
|
|
1464
1464
|
}
|
|
1465
1465
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
1466
|
-
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
1466
|
+
contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
1467
1467
|
}
|
|
1468
1468
|
return Promise.resolve(contents);
|
|
1469
1469
|
};
|
|
@@ -1493,7 +1493,7 @@ const deserializeAws_restJson1ListConfigsCommandError = async (output, context)
|
|
|
1493
1493
|
$fault: "client",
|
|
1494
1494
|
$metadata: deserializeMetadata(output),
|
|
1495
1495
|
});
|
|
1496
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1496
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1497
1497
|
}
|
|
1498
1498
|
};
|
|
1499
1499
|
const deserializeAws_restJson1ListContactsCommand = async (output, context) => {
|
|
@@ -1505,12 +1505,12 @@ const deserializeAws_restJson1ListContactsCommand = async (output, context) => {
|
|
|
1505
1505
|
contactList: undefined,
|
|
1506
1506
|
nextToken: undefined,
|
|
1507
1507
|
};
|
|
1508
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1508
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1509
1509
|
if (data.contactList !== undefined && data.contactList !== null) {
|
|
1510
1510
|
contents.contactList = deserializeAws_restJson1ContactList(data.contactList, context);
|
|
1511
1511
|
}
|
|
1512
1512
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
1513
|
-
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
1513
|
+
contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
1514
1514
|
}
|
|
1515
1515
|
return Promise.resolve(contents);
|
|
1516
1516
|
};
|
|
@@ -1540,7 +1540,7 @@ const deserializeAws_restJson1ListContactsCommandError = async (output, context)
|
|
|
1540
1540
|
$fault: "client",
|
|
1541
1541
|
$metadata: deserializeMetadata(output),
|
|
1542
1542
|
});
|
|
1543
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1543
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1544
1544
|
}
|
|
1545
1545
|
};
|
|
1546
1546
|
const deserializeAws_restJson1ListDataflowEndpointGroupsCommand = async (output, context) => {
|
|
@@ -1552,12 +1552,12 @@ const deserializeAws_restJson1ListDataflowEndpointGroupsCommand = async (output,
|
|
|
1552
1552
|
dataflowEndpointGroupList: undefined,
|
|
1553
1553
|
nextToken: undefined,
|
|
1554
1554
|
};
|
|
1555
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1555
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1556
1556
|
if (data.dataflowEndpointGroupList !== undefined && data.dataflowEndpointGroupList !== null) {
|
|
1557
1557
|
contents.dataflowEndpointGroupList = deserializeAws_restJson1DataflowEndpointGroupList(data.dataflowEndpointGroupList, context);
|
|
1558
1558
|
}
|
|
1559
1559
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
1560
|
-
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
1560
|
+
contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
1561
1561
|
}
|
|
1562
1562
|
return Promise.resolve(contents);
|
|
1563
1563
|
};
|
|
@@ -1587,7 +1587,7 @@ const deserializeAws_restJson1ListDataflowEndpointGroupsCommandError = async (ou
|
|
|
1587
1587
|
$fault: "client",
|
|
1588
1588
|
$metadata: deserializeMetadata(output),
|
|
1589
1589
|
});
|
|
1590
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1590
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1591
1591
|
}
|
|
1592
1592
|
};
|
|
1593
1593
|
const deserializeAws_restJson1ListGroundStationsCommand = async (output, context) => {
|
|
@@ -1599,12 +1599,12 @@ const deserializeAws_restJson1ListGroundStationsCommand = async (output, context
|
|
|
1599
1599
|
groundStationList: undefined,
|
|
1600
1600
|
nextToken: undefined,
|
|
1601
1601
|
};
|
|
1602
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1602
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1603
1603
|
if (data.groundStationList !== undefined && data.groundStationList !== null) {
|
|
1604
1604
|
contents.groundStationList = deserializeAws_restJson1GroundStationList(data.groundStationList, context);
|
|
1605
1605
|
}
|
|
1606
1606
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
1607
|
-
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
1607
|
+
contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
1608
1608
|
}
|
|
1609
1609
|
return Promise.resolve(contents);
|
|
1610
1610
|
};
|
|
@@ -1634,7 +1634,7 @@ const deserializeAws_restJson1ListGroundStationsCommandError = async (output, co
|
|
|
1634
1634
|
$fault: "client",
|
|
1635
1635
|
$metadata: deserializeMetadata(output),
|
|
1636
1636
|
});
|
|
1637
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1637
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1638
1638
|
}
|
|
1639
1639
|
};
|
|
1640
1640
|
const deserializeAws_restJson1ListMissionProfilesCommand = async (output, context) => {
|
|
@@ -1646,12 +1646,12 @@ const deserializeAws_restJson1ListMissionProfilesCommand = async (output, contex
|
|
|
1646
1646
|
missionProfileList: undefined,
|
|
1647
1647
|
nextToken: undefined,
|
|
1648
1648
|
};
|
|
1649
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1649
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1650
1650
|
if (data.missionProfileList !== undefined && data.missionProfileList !== null) {
|
|
1651
1651
|
contents.missionProfileList = deserializeAws_restJson1MissionProfileList(data.missionProfileList, context);
|
|
1652
1652
|
}
|
|
1653
1653
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
1654
|
-
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
1654
|
+
contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
1655
1655
|
}
|
|
1656
1656
|
return Promise.resolve(contents);
|
|
1657
1657
|
};
|
|
@@ -1681,7 +1681,7 @@ const deserializeAws_restJson1ListMissionProfilesCommandError = async (output, c
|
|
|
1681
1681
|
$fault: "client",
|
|
1682
1682
|
$metadata: deserializeMetadata(output),
|
|
1683
1683
|
});
|
|
1684
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1684
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1685
1685
|
}
|
|
1686
1686
|
};
|
|
1687
1687
|
const deserializeAws_restJson1ListSatellitesCommand = async (output, context) => {
|
|
@@ -1693,9 +1693,9 @@ const deserializeAws_restJson1ListSatellitesCommand = async (output, context) =>
|
|
|
1693
1693
|
nextToken: undefined,
|
|
1694
1694
|
satellites: undefined,
|
|
1695
1695
|
};
|
|
1696
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1696
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1697
1697
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
1698
|
-
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
1698
|
+
contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
1699
1699
|
}
|
|
1700
1700
|
if (data.satellites !== undefined && data.satellites !== null) {
|
|
1701
1701
|
contents.satellites = deserializeAws_restJson1SatelliteList(data.satellites, context);
|
|
@@ -1728,7 +1728,7 @@ const deserializeAws_restJson1ListSatellitesCommandError = async (output, contex
|
|
|
1728
1728
|
$fault: "client",
|
|
1729
1729
|
$metadata: deserializeMetadata(output),
|
|
1730
1730
|
});
|
|
1731
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1731
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1732
1732
|
}
|
|
1733
1733
|
};
|
|
1734
1734
|
const deserializeAws_restJson1ListTagsForResourceCommand = async (output, context) => {
|
|
@@ -1739,7 +1739,7 @@ const deserializeAws_restJson1ListTagsForResourceCommand = async (output, contex
|
|
|
1739
1739
|
$metadata: deserializeMetadata(output),
|
|
1740
1740
|
tags: undefined,
|
|
1741
1741
|
};
|
|
1742
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1742
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1743
1743
|
if (data.tags !== undefined && data.tags !== null) {
|
|
1744
1744
|
contents.tags = deserializeAws_restJson1TagsMap(data.tags, context);
|
|
1745
1745
|
}
|
|
@@ -1771,7 +1771,7 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
|
|
|
1771
1771
|
$fault: "client",
|
|
1772
1772
|
$metadata: deserializeMetadata(output),
|
|
1773
1773
|
});
|
|
1774
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1774
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1775
1775
|
}
|
|
1776
1776
|
};
|
|
1777
1777
|
const deserializeAws_restJson1ReserveContactCommand = async (output, context) => {
|
|
@@ -1782,9 +1782,9 @@ const deserializeAws_restJson1ReserveContactCommand = async (output, context) =>
|
|
|
1782
1782
|
$metadata: deserializeMetadata(output),
|
|
1783
1783
|
contactId: undefined,
|
|
1784
1784
|
};
|
|
1785
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1785
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1786
1786
|
if (data.contactId !== undefined && data.contactId !== null) {
|
|
1787
|
-
contents.contactId = smithy_client_1.expectString(data.contactId);
|
|
1787
|
+
contents.contactId = (0, smithy_client_1.expectString)(data.contactId);
|
|
1788
1788
|
}
|
|
1789
1789
|
return Promise.resolve(contents);
|
|
1790
1790
|
};
|
|
@@ -1814,7 +1814,7 @@ const deserializeAws_restJson1ReserveContactCommandError = async (output, contex
|
|
|
1814
1814
|
$fault: "client",
|
|
1815
1815
|
$metadata: deserializeMetadata(output),
|
|
1816
1816
|
});
|
|
1817
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1817
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1818
1818
|
}
|
|
1819
1819
|
};
|
|
1820
1820
|
const deserializeAws_restJson1TagResourceCommand = async (output, context) => {
|
|
@@ -1853,7 +1853,7 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
|
|
|
1853
1853
|
$fault: "client",
|
|
1854
1854
|
$metadata: deserializeMetadata(output),
|
|
1855
1855
|
});
|
|
1856
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1856
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1857
1857
|
}
|
|
1858
1858
|
};
|
|
1859
1859
|
const deserializeAws_restJson1UntagResourceCommand = async (output, context) => {
|
|
@@ -1892,7 +1892,7 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
|
|
|
1892
1892
|
$fault: "client",
|
|
1893
1893
|
$metadata: deserializeMetadata(output),
|
|
1894
1894
|
});
|
|
1895
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1895
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1896
1896
|
}
|
|
1897
1897
|
};
|
|
1898
1898
|
const deserializeAws_restJson1UpdateConfigCommand = async (output, context) => {
|
|
@@ -1905,15 +1905,15 @@ const deserializeAws_restJson1UpdateConfigCommand = async (output, context) => {
|
|
|
1905
1905
|
configId: undefined,
|
|
1906
1906
|
configType: undefined,
|
|
1907
1907
|
};
|
|
1908
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1908
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1909
1909
|
if (data.configArn !== undefined && data.configArn !== null) {
|
|
1910
|
-
contents.configArn = smithy_client_1.expectString(data.configArn);
|
|
1910
|
+
contents.configArn = (0, smithy_client_1.expectString)(data.configArn);
|
|
1911
1911
|
}
|
|
1912
1912
|
if (data.configId !== undefined && data.configId !== null) {
|
|
1913
|
-
contents.configId = smithy_client_1.expectString(data.configId);
|
|
1913
|
+
contents.configId = (0, smithy_client_1.expectString)(data.configId);
|
|
1914
1914
|
}
|
|
1915
1915
|
if (data.configType !== undefined && data.configType !== null) {
|
|
1916
|
-
contents.configType = smithy_client_1.expectString(data.configType);
|
|
1916
|
+
contents.configType = (0, smithy_client_1.expectString)(data.configType);
|
|
1917
1917
|
}
|
|
1918
1918
|
return Promise.resolve(contents);
|
|
1919
1919
|
};
|
|
@@ -1943,7 +1943,7 @@ const deserializeAws_restJson1UpdateConfigCommandError = async (output, context)
|
|
|
1943
1943
|
$fault: "client",
|
|
1944
1944
|
$metadata: deserializeMetadata(output),
|
|
1945
1945
|
});
|
|
1946
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1946
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1947
1947
|
}
|
|
1948
1948
|
};
|
|
1949
1949
|
const deserializeAws_restJson1UpdateMissionProfileCommand = async (output, context) => {
|
|
@@ -1954,9 +1954,9 @@ const deserializeAws_restJson1UpdateMissionProfileCommand = async (output, conte
|
|
|
1954
1954
|
$metadata: deserializeMetadata(output),
|
|
1955
1955
|
missionProfileId: undefined,
|
|
1956
1956
|
};
|
|
1957
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1957
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1958
1958
|
if (data.missionProfileId !== undefined && data.missionProfileId !== null) {
|
|
1959
|
-
contents.missionProfileId = smithy_client_1.expectString(data.missionProfileId);
|
|
1959
|
+
contents.missionProfileId = (0, smithy_client_1.expectString)(data.missionProfileId);
|
|
1960
1960
|
}
|
|
1961
1961
|
return Promise.resolve(contents);
|
|
1962
1962
|
};
|
|
@@ -1986,65 +1986,65 @@ const deserializeAws_restJson1UpdateMissionProfileCommandError = async (output,
|
|
|
1986
1986
|
$fault: "client",
|
|
1987
1987
|
$metadata: deserializeMetadata(output),
|
|
1988
1988
|
});
|
|
1989
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1989
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1990
1990
|
}
|
|
1991
1991
|
};
|
|
1992
1992
|
const deserializeAws_restJson1DependencyExceptionResponse = async (parsedOutput, context) => {
|
|
1993
1993
|
const contents = {};
|
|
1994
1994
|
const data = parsedOutput.body;
|
|
1995
1995
|
if (data.message !== undefined && data.message !== null) {
|
|
1996
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
1996
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
1997
1997
|
}
|
|
1998
1998
|
if (data.parameterName !== undefined && data.parameterName !== null) {
|
|
1999
|
-
contents.parameterName = smithy_client_1.expectString(data.parameterName);
|
|
1999
|
+
contents.parameterName = (0, smithy_client_1.expectString)(data.parameterName);
|
|
2000
2000
|
}
|
|
2001
2001
|
const exception = new models_0_1.DependencyException({
|
|
2002
2002
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2003
2003
|
...contents,
|
|
2004
2004
|
});
|
|
2005
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
2005
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
2006
2006
|
};
|
|
2007
2007
|
const deserializeAws_restJson1InvalidParameterExceptionResponse = async (parsedOutput, context) => {
|
|
2008
2008
|
const contents = {};
|
|
2009
2009
|
const data = parsedOutput.body;
|
|
2010
2010
|
if (data.message !== undefined && data.message !== null) {
|
|
2011
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
2011
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
2012
2012
|
}
|
|
2013
2013
|
if (data.parameterName !== undefined && data.parameterName !== null) {
|
|
2014
|
-
contents.parameterName = smithy_client_1.expectString(data.parameterName);
|
|
2014
|
+
contents.parameterName = (0, smithy_client_1.expectString)(data.parameterName);
|
|
2015
2015
|
}
|
|
2016
2016
|
const exception = new models_0_1.InvalidParameterException({
|
|
2017
2017
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2018
2018
|
...contents,
|
|
2019
2019
|
});
|
|
2020
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
2020
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
2021
2021
|
};
|
|
2022
2022
|
const deserializeAws_restJson1ResourceLimitExceededExceptionResponse = async (parsedOutput, context) => {
|
|
2023
2023
|
const contents = {};
|
|
2024
2024
|
const data = parsedOutput.body;
|
|
2025
2025
|
if (data.message !== undefined && data.message !== null) {
|
|
2026
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
2026
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
2027
2027
|
}
|
|
2028
2028
|
if (data.parameterName !== undefined && data.parameterName !== null) {
|
|
2029
|
-
contents.parameterName = smithy_client_1.expectString(data.parameterName);
|
|
2029
|
+
contents.parameterName = (0, smithy_client_1.expectString)(data.parameterName);
|
|
2030
2030
|
}
|
|
2031
2031
|
const exception = new models_0_1.ResourceLimitExceededException({
|
|
2032
2032
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2033
2033
|
...contents,
|
|
2034
2034
|
});
|
|
2035
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
2035
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
2036
2036
|
};
|
|
2037
2037
|
const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
|
|
2038
2038
|
const contents = {};
|
|
2039
2039
|
const data = parsedOutput.body;
|
|
2040
2040
|
if (data.message !== undefined && data.message !== null) {
|
|
2041
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
2041
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
2042
2042
|
}
|
|
2043
2043
|
const exception = new models_0_1.ResourceNotFoundException({
|
|
2044
2044
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2045
2045
|
...contents,
|
|
2046
2046
|
});
|
|
2047
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
2047
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
2048
2048
|
};
|
|
2049
2049
|
const serializeAws_restJson1AntennaDownlinkConfig = (input, context) => {
|
|
2050
2050
|
return {
|
|
@@ -2152,7 +2152,7 @@ const serializeAws_restJson1DemodulationConfig = (input, context) => {
|
|
|
2152
2152
|
const serializeAws_restJson1Eirp = (input, context) => {
|
|
2153
2153
|
return {
|
|
2154
2154
|
...(input.units !== undefined && input.units !== null && { units: input.units }),
|
|
2155
|
-
...(input.value !== undefined && input.value !== null && { value: smithy_client_1.serializeFloat(input.value) }),
|
|
2155
|
+
...(input.value !== undefined && input.value !== null && { value: (0, smithy_client_1.serializeFloat)(input.value) }),
|
|
2156
2156
|
};
|
|
2157
2157
|
};
|
|
2158
2158
|
const serializeAws_restJson1EndpointDetails = (input, context) => {
|
|
@@ -2178,13 +2178,13 @@ const serializeAws_restJson1EndpointDetailsList = (input, context) => {
|
|
|
2178
2178
|
const serializeAws_restJson1Frequency = (input, context) => {
|
|
2179
2179
|
return {
|
|
2180
2180
|
...(input.units !== undefined && input.units !== null && { units: input.units }),
|
|
2181
|
-
...(input.value !== undefined && input.value !== null && { value: smithy_client_1.serializeFloat(input.value) }),
|
|
2181
|
+
...(input.value !== undefined && input.value !== null && { value: (0, smithy_client_1.serializeFloat)(input.value) }),
|
|
2182
2182
|
};
|
|
2183
2183
|
};
|
|
2184
2184
|
const serializeAws_restJson1FrequencyBandwidth = (input, context) => {
|
|
2185
2185
|
return {
|
|
2186
2186
|
...(input.units !== undefined && input.units !== null && { units: input.units }),
|
|
2187
|
-
...(input.value !== undefined && input.value !== null && { value: smithy_client_1.serializeFloat(input.value) }),
|
|
2187
|
+
...(input.value !== undefined && input.value !== null && { value: (0, smithy_client_1.serializeFloat)(input.value) }),
|
|
2188
2188
|
};
|
|
2189
2189
|
};
|
|
2190
2190
|
const serializeAws_restJson1S3RecordingConfig = (input, context) => {
|
|
@@ -2286,7 +2286,7 @@ const serializeAws_restJson1UplinkSpectrumConfig = (input, context) => {
|
|
|
2286
2286
|
};
|
|
2287
2287
|
const deserializeAws_restJson1AntennaDemodDecodeDetails = (output, context) => {
|
|
2288
2288
|
return {
|
|
2289
|
-
outputNode: smithy_client_1.expectString(output.outputNode),
|
|
2289
|
+
outputNode: (0, smithy_client_1.expectString)(output.outputNode),
|
|
2290
2290
|
};
|
|
2291
2291
|
};
|
|
2292
2292
|
const deserializeAws_restJson1AntennaDownlinkConfig = (output, context) => {
|
|
@@ -2317,7 +2317,7 @@ const deserializeAws_restJson1AntennaUplinkConfig = (output, context) => {
|
|
|
2317
2317
|
targetEirp: output.targetEirp !== undefined && output.targetEirp !== null
|
|
2318
2318
|
? deserializeAws_restJson1Eirp(output.targetEirp, context)
|
|
2319
2319
|
: undefined,
|
|
2320
|
-
transmitDisabled: smithy_client_1.expectBoolean(output.transmitDisabled),
|
|
2320
|
+
transmitDisabled: (0, smithy_client_1.expectBoolean)(output.transmitDisabled),
|
|
2321
2321
|
};
|
|
2322
2322
|
};
|
|
2323
2323
|
const deserializeAws_restJson1ConfigDetails = (output, context) => {
|
|
@@ -2351,10 +2351,10 @@ const deserializeAws_restJson1ConfigList = (output, context) => {
|
|
|
2351
2351
|
};
|
|
2352
2352
|
const deserializeAws_restJson1ConfigListItem = (output, context) => {
|
|
2353
2353
|
return {
|
|
2354
|
-
configArn: smithy_client_1.expectString(output.configArn),
|
|
2355
|
-
configId: smithy_client_1.expectString(output.configId),
|
|
2356
|
-
configType: smithy_client_1.expectString(output.configType),
|
|
2357
|
-
name: smithy_client_1.expectString(output.name),
|
|
2354
|
+
configArn: (0, smithy_client_1.expectString)(output.configArn),
|
|
2355
|
+
configId: (0, smithy_client_1.expectString)(output.configId),
|
|
2356
|
+
configType: (0, smithy_client_1.expectString)(output.configType),
|
|
2357
|
+
name: (0, smithy_client_1.expectString)(output.name),
|
|
2358
2358
|
};
|
|
2359
2359
|
};
|
|
2360
2360
|
const deserializeAws_restJson1ConfigTypeData = (output, context) => {
|
|
@@ -2397,27 +2397,27 @@ const deserializeAws_restJson1ConfigTypeData = (output, context) => {
|
|
|
2397
2397
|
};
|
|
2398
2398
|
const deserializeAws_restJson1ContactData = (output, context) => {
|
|
2399
2399
|
return {
|
|
2400
|
-
contactId: smithy_client_1.expectString(output.contactId),
|
|
2401
|
-
contactStatus: smithy_client_1.expectString(output.contactStatus),
|
|
2400
|
+
contactId: (0, smithy_client_1.expectString)(output.contactId),
|
|
2401
|
+
contactStatus: (0, smithy_client_1.expectString)(output.contactStatus),
|
|
2402
2402
|
endTime: output.endTime !== undefined && output.endTime !== null
|
|
2403
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.endTime)))
|
|
2403
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.endTime)))
|
|
2404
2404
|
: undefined,
|
|
2405
|
-
errorMessage: smithy_client_1.expectString(output.errorMessage),
|
|
2406
|
-
groundStation: smithy_client_1.expectString(output.groundStation),
|
|
2405
|
+
errorMessage: (0, smithy_client_1.expectString)(output.errorMessage),
|
|
2406
|
+
groundStation: (0, smithy_client_1.expectString)(output.groundStation),
|
|
2407
2407
|
maximumElevation: output.maximumElevation !== undefined && output.maximumElevation !== null
|
|
2408
2408
|
? deserializeAws_restJson1Elevation(output.maximumElevation, context)
|
|
2409
2409
|
: undefined,
|
|
2410
|
-
missionProfileArn: smithy_client_1.expectString(output.missionProfileArn),
|
|
2410
|
+
missionProfileArn: (0, smithy_client_1.expectString)(output.missionProfileArn),
|
|
2411
2411
|
postPassEndTime: output.postPassEndTime !== undefined && output.postPassEndTime !== null
|
|
2412
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.postPassEndTime)))
|
|
2412
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.postPassEndTime)))
|
|
2413
2413
|
: undefined,
|
|
2414
2414
|
prePassStartTime: output.prePassStartTime !== undefined && output.prePassStartTime !== null
|
|
2415
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.prePassStartTime)))
|
|
2415
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.prePassStartTime)))
|
|
2416
2416
|
: undefined,
|
|
2417
|
-
region: smithy_client_1.expectString(output.region),
|
|
2418
|
-
satelliteArn: smithy_client_1.expectString(output.satelliteArn),
|
|
2417
|
+
region: (0, smithy_client_1.expectString)(output.region),
|
|
2418
|
+
satelliteArn: (0, smithy_client_1.expectString)(output.satelliteArn),
|
|
2419
2419
|
startTime: output.startTime !== undefined && output.startTime !== null
|
|
2420
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.startTime)))
|
|
2420
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.startTime)))
|
|
2421
2421
|
: undefined,
|
|
2422
2422
|
tags: output.tags !== undefined && output.tags !== null
|
|
2423
2423
|
? deserializeAws_restJson1TagsMap(output.tags, context)
|
|
@@ -2440,7 +2440,7 @@ const deserializeAws_restJson1DataflowDetail = (output, context) => {
|
|
|
2440
2440
|
destination: output.destination !== undefined && output.destination !== null
|
|
2441
2441
|
? deserializeAws_restJson1Destination(output.destination, context)
|
|
2442
2442
|
: undefined,
|
|
2443
|
-
errorMessage: smithy_client_1.expectString(output.errorMessage),
|
|
2443
|
+
errorMessage: (0, smithy_client_1.expectString)(output.errorMessage),
|
|
2444
2444
|
source: output.source !== undefined && output.source !== null
|
|
2445
2445
|
? deserializeAws_restJson1Source(output.source, context)
|
|
2446
2446
|
: undefined,
|
|
@@ -2453,7 +2453,7 @@ const deserializeAws_restJson1DataflowEdge = (output, context) => {
|
|
|
2453
2453
|
if (entry === null) {
|
|
2454
2454
|
return null;
|
|
2455
2455
|
}
|
|
2456
|
-
return smithy_client_1.expectString(entry);
|
|
2456
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
2457
2457
|
});
|
|
2458
2458
|
return retVal;
|
|
2459
2459
|
};
|
|
@@ -2473,15 +2473,15 @@ const deserializeAws_restJson1DataflowEndpoint = (output, context) => {
|
|
|
2473
2473
|
address: output.address !== undefined && output.address !== null
|
|
2474
2474
|
? deserializeAws_restJson1SocketAddress(output.address, context)
|
|
2475
2475
|
: undefined,
|
|
2476
|
-
mtu: smithy_client_1.expectInt32(output.mtu),
|
|
2477
|
-
name: smithy_client_1.expectString(output.name),
|
|
2478
|
-
status: smithy_client_1.expectString(output.status),
|
|
2476
|
+
mtu: (0, smithy_client_1.expectInt32)(output.mtu),
|
|
2477
|
+
name: (0, smithy_client_1.expectString)(output.name),
|
|
2478
|
+
status: (0, smithy_client_1.expectString)(output.status),
|
|
2479
2479
|
};
|
|
2480
2480
|
};
|
|
2481
2481
|
const deserializeAws_restJson1DataflowEndpointConfig = (output, context) => {
|
|
2482
2482
|
return {
|
|
2483
|
-
dataflowEndpointName: smithy_client_1.expectString(output.dataflowEndpointName),
|
|
2484
|
-
dataflowEndpointRegion: smithy_client_1.expectString(output.dataflowEndpointRegion),
|
|
2483
|
+
dataflowEndpointName: (0, smithy_client_1.expectString)(output.dataflowEndpointName),
|
|
2484
|
+
dataflowEndpointRegion: (0, smithy_client_1.expectString)(output.dataflowEndpointRegion),
|
|
2485
2485
|
};
|
|
2486
2486
|
};
|
|
2487
2487
|
const deserializeAws_restJson1DataflowEndpointGroupList = (output, context) => {
|
|
@@ -2497,8 +2497,8 @@ const deserializeAws_restJson1DataflowEndpointGroupList = (output, context) => {
|
|
|
2497
2497
|
};
|
|
2498
2498
|
const deserializeAws_restJson1DataflowEndpointListItem = (output, context) => {
|
|
2499
2499
|
return {
|
|
2500
|
-
dataflowEndpointGroupArn: smithy_client_1.expectString(output.dataflowEndpointGroupArn),
|
|
2501
|
-
dataflowEndpointGroupId: smithy_client_1.expectString(output.dataflowEndpointGroupId),
|
|
2500
|
+
dataflowEndpointGroupArn: (0, smithy_client_1.expectString)(output.dataflowEndpointGroupArn),
|
|
2501
|
+
dataflowEndpointGroupId: (0, smithy_client_1.expectString)(output.dataflowEndpointGroupId),
|
|
2502
2502
|
};
|
|
2503
2503
|
};
|
|
2504
2504
|
const deserializeAws_restJson1DataflowList = (output, context) => {
|
|
@@ -2514,34 +2514,34 @@ const deserializeAws_restJson1DataflowList = (output, context) => {
|
|
|
2514
2514
|
};
|
|
2515
2515
|
const deserializeAws_restJson1DecodeConfig = (output, context) => {
|
|
2516
2516
|
return {
|
|
2517
|
-
unvalidatedJSON: smithy_client_1.expectString(output.unvalidatedJSON),
|
|
2517
|
+
unvalidatedJSON: (0, smithy_client_1.expectString)(output.unvalidatedJSON),
|
|
2518
2518
|
};
|
|
2519
2519
|
};
|
|
2520
2520
|
const deserializeAws_restJson1DemodulationConfig = (output, context) => {
|
|
2521
2521
|
return {
|
|
2522
|
-
unvalidatedJSON: smithy_client_1.expectString(output.unvalidatedJSON),
|
|
2522
|
+
unvalidatedJSON: (0, smithy_client_1.expectString)(output.unvalidatedJSON),
|
|
2523
2523
|
};
|
|
2524
2524
|
};
|
|
2525
2525
|
const deserializeAws_restJson1Destination = (output, context) => {
|
|
2526
2526
|
return {
|
|
2527
2527
|
configDetails: output.configDetails !== undefined && output.configDetails !== null
|
|
2528
|
-
? deserializeAws_restJson1ConfigDetails(smithy_client_1.expectUnion(output.configDetails), context)
|
|
2528
|
+
? deserializeAws_restJson1ConfigDetails((0, smithy_client_1.expectUnion)(output.configDetails), context)
|
|
2529
2529
|
: undefined,
|
|
2530
|
-
configId: smithy_client_1.expectString(output.configId),
|
|
2531
|
-
configType: smithy_client_1.expectString(output.configType),
|
|
2532
|
-
dataflowDestinationRegion: smithy_client_1.expectString(output.dataflowDestinationRegion),
|
|
2530
|
+
configId: (0, smithy_client_1.expectString)(output.configId),
|
|
2531
|
+
configType: (0, smithy_client_1.expectString)(output.configType),
|
|
2532
|
+
dataflowDestinationRegion: (0, smithy_client_1.expectString)(output.dataflowDestinationRegion),
|
|
2533
2533
|
};
|
|
2534
2534
|
};
|
|
2535
2535
|
const deserializeAws_restJson1Eirp = (output, context) => {
|
|
2536
2536
|
return {
|
|
2537
|
-
units: smithy_client_1.expectString(output.units),
|
|
2538
|
-
value: smithy_client_1.limitedParseDouble(output.value),
|
|
2537
|
+
units: (0, smithy_client_1.expectString)(output.units),
|
|
2538
|
+
value: (0, smithy_client_1.limitedParseDouble)(output.value),
|
|
2539
2539
|
};
|
|
2540
2540
|
};
|
|
2541
2541
|
const deserializeAws_restJson1Elevation = (output, context) => {
|
|
2542
2542
|
return {
|
|
2543
|
-
unit: smithy_client_1.expectString(output.unit),
|
|
2544
|
-
value: smithy_client_1.limitedParseDouble(output.value),
|
|
2543
|
+
unit: (0, smithy_client_1.expectString)(output.unit),
|
|
2544
|
+
value: (0, smithy_client_1.limitedParseDouble)(output.value),
|
|
2545
2545
|
};
|
|
2546
2546
|
};
|
|
2547
2547
|
const deserializeAws_restJson1EndpointDetails = (output, context) => {
|
|
@@ -2567,21 +2567,21 @@ const deserializeAws_restJson1EndpointDetailsList = (output, context) => {
|
|
|
2567
2567
|
};
|
|
2568
2568
|
const deserializeAws_restJson1Frequency = (output, context) => {
|
|
2569
2569
|
return {
|
|
2570
|
-
units: smithy_client_1.expectString(output.units),
|
|
2571
|
-
value: smithy_client_1.limitedParseDouble(output.value),
|
|
2570
|
+
units: (0, smithy_client_1.expectString)(output.units),
|
|
2571
|
+
value: (0, smithy_client_1.limitedParseDouble)(output.value),
|
|
2572
2572
|
};
|
|
2573
2573
|
};
|
|
2574
2574
|
const deserializeAws_restJson1FrequencyBandwidth = (output, context) => {
|
|
2575
2575
|
return {
|
|
2576
|
-
units: smithy_client_1.expectString(output.units),
|
|
2577
|
-
value: smithy_client_1.limitedParseDouble(output.value),
|
|
2576
|
+
units: (0, smithy_client_1.expectString)(output.units),
|
|
2577
|
+
value: (0, smithy_client_1.limitedParseDouble)(output.value),
|
|
2578
2578
|
};
|
|
2579
2579
|
};
|
|
2580
2580
|
const deserializeAws_restJson1GroundStationData = (output, context) => {
|
|
2581
2581
|
return {
|
|
2582
|
-
groundStationId: smithy_client_1.expectString(output.groundStationId),
|
|
2583
|
-
groundStationName: smithy_client_1.expectString(output.groundStationName),
|
|
2584
|
-
region: smithy_client_1.expectString(output.region),
|
|
2582
|
+
groundStationId: (0, smithy_client_1.expectString)(output.groundStationId),
|
|
2583
|
+
groundStationName: (0, smithy_client_1.expectString)(output.groundStationName),
|
|
2584
|
+
region: (0, smithy_client_1.expectString)(output.region),
|
|
2585
2585
|
};
|
|
2586
2586
|
};
|
|
2587
2587
|
const deserializeAws_restJson1GroundStationIdList = (output, context) => {
|
|
@@ -2591,7 +2591,7 @@ const deserializeAws_restJson1GroundStationIdList = (output, context) => {
|
|
|
2591
2591
|
if (entry === null) {
|
|
2592
2592
|
return null;
|
|
2593
2593
|
}
|
|
2594
|
-
return smithy_client_1.expectString(entry);
|
|
2594
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
2595
2595
|
});
|
|
2596
2596
|
return retVal;
|
|
2597
2597
|
};
|
|
@@ -2619,23 +2619,23 @@ const deserializeAws_restJson1MissionProfileList = (output, context) => {
|
|
|
2619
2619
|
};
|
|
2620
2620
|
const deserializeAws_restJson1MissionProfileListItem = (output, context) => {
|
|
2621
2621
|
return {
|
|
2622
|
-
missionProfileArn: smithy_client_1.expectString(output.missionProfileArn),
|
|
2623
|
-
missionProfileId: smithy_client_1.expectString(output.missionProfileId),
|
|
2624
|
-
name: smithy_client_1.expectString(output.name),
|
|
2625
|
-
region: smithy_client_1.expectString(output.region),
|
|
2622
|
+
missionProfileArn: (0, smithy_client_1.expectString)(output.missionProfileArn),
|
|
2623
|
+
missionProfileId: (0, smithy_client_1.expectString)(output.missionProfileId),
|
|
2624
|
+
name: (0, smithy_client_1.expectString)(output.name),
|
|
2625
|
+
region: (0, smithy_client_1.expectString)(output.region),
|
|
2626
2626
|
};
|
|
2627
2627
|
};
|
|
2628
2628
|
const deserializeAws_restJson1S3RecordingConfig = (output, context) => {
|
|
2629
2629
|
return {
|
|
2630
|
-
bucketArn: smithy_client_1.expectString(output.bucketArn),
|
|
2631
|
-
prefix: smithy_client_1.expectString(output.prefix),
|
|
2632
|
-
roleArn: smithy_client_1.expectString(output.roleArn),
|
|
2630
|
+
bucketArn: (0, smithy_client_1.expectString)(output.bucketArn),
|
|
2631
|
+
prefix: (0, smithy_client_1.expectString)(output.prefix),
|
|
2632
|
+
roleArn: (0, smithy_client_1.expectString)(output.roleArn),
|
|
2633
2633
|
};
|
|
2634
2634
|
};
|
|
2635
2635
|
const deserializeAws_restJson1S3RecordingDetails = (output, context) => {
|
|
2636
2636
|
return {
|
|
2637
|
-
bucketArn: smithy_client_1.expectString(output.bucketArn),
|
|
2638
|
-
keyTemplate: smithy_client_1.expectString(output.keyTemplate),
|
|
2637
|
+
bucketArn: (0, smithy_client_1.expectString)(output.bucketArn),
|
|
2638
|
+
keyTemplate: (0, smithy_client_1.expectString)(output.keyTemplate),
|
|
2639
2639
|
};
|
|
2640
2640
|
};
|
|
2641
2641
|
const deserializeAws_restJson1SatelliteList = (output, context) => {
|
|
@@ -2654,14 +2654,14 @@ const deserializeAws_restJson1SatelliteListItem = (output, context) => {
|
|
|
2654
2654
|
groundStations: output.groundStations !== undefined && output.groundStations !== null
|
|
2655
2655
|
? deserializeAws_restJson1GroundStationIdList(output.groundStations, context)
|
|
2656
2656
|
: undefined,
|
|
2657
|
-
noradSatelliteID: smithy_client_1.expectInt32(output.noradSatelliteID),
|
|
2658
|
-
satelliteArn: smithy_client_1.expectString(output.satelliteArn),
|
|
2659
|
-
satelliteId: smithy_client_1.expectString(output.satelliteId),
|
|
2657
|
+
noradSatelliteID: (0, smithy_client_1.expectInt32)(output.noradSatelliteID),
|
|
2658
|
+
satelliteArn: (0, smithy_client_1.expectString)(output.satelliteArn),
|
|
2659
|
+
satelliteId: (0, smithy_client_1.expectString)(output.satelliteId),
|
|
2660
2660
|
};
|
|
2661
2661
|
};
|
|
2662
2662
|
const deserializeAws_restJson1SecurityDetails = (output, context) => {
|
|
2663
2663
|
return {
|
|
2664
|
-
roleArn: smithy_client_1.expectString(output.roleArn),
|
|
2664
|
+
roleArn: (0, smithy_client_1.expectString)(output.roleArn),
|
|
2665
2665
|
securityGroupIds: output.securityGroupIds !== undefined && output.securityGroupIds !== null
|
|
2666
2666
|
? deserializeAws_restJson1SecurityGroupIdList(output.securityGroupIds, context)
|
|
2667
2667
|
: undefined,
|
|
@@ -2677,24 +2677,24 @@ const deserializeAws_restJson1SecurityGroupIdList = (output, context) => {
|
|
|
2677
2677
|
if (entry === null) {
|
|
2678
2678
|
return null;
|
|
2679
2679
|
}
|
|
2680
|
-
return smithy_client_1.expectString(entry);
|
|
2680
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
2681
2681
|
});
|
|
2682
2682
|
return retVal;
|
|
2683
2683
|
};
|
|
2684
2684
|
const deserializeAws_restJson1SocketAddress = (output, context) => {
|
|
2685
2685
|
return {
|
|
2686
|
-
name: smithy_client_1.expectString(output.name),
|
|
2687
|
-
port: smithy_client_1.expectInt32(output.port),
|
|
2686
|
+
name: (0, smithy_client_1.expectString)(output.name),
|
|
2687
|
+
port: (0, smithy_client_1.expectInt32)(output.port),
|
|
2688
2688
|
};
|
|
2689
2689
|
};
|
|
2690
2690
|
const deserializeAws_restJson1Source = (output, context) => {
|
|
2691
2691
|
return {
|
|
2692
2692
|
configDetails: output.configDetails !== undefined && output.configDetails !== null
|
|
2693
|
-
? deserializeAws_restJson1ConfigDetails(smithy_client_1.expectUnion(output.configDetails), context)
|
|
2693
|
+
? deserializeAws_restJson1ConfigDetails((0, smithy_client_1.expectUnion)(output.configDetails), context)
|
|
2694
2694
|
: undefined,
|
|
2695
|
-
configId: smithy_client_1.expectString(output.configId),
|
|
2696
|
-
configType: smithy_client_1.expectString(output.configType),
|
|
2697
|
-
dataflowSourceRegion: smithy_client_1.expectString(output.dataflowSourceRegion),
|
|
2695
|
+
configId: (0, smithy_client_1.expectString)(output.configId),
|
|
2696
|
+
configType: (0, smithy_client_1.expectString)(output.configType),
|
|
2697
|
+
dataflowSourceRegion: (0, smithy_client_1.expectString)(output.dataflowSourceRegion),
|
|
2698
2698
|
};
|
|
2699
2699
|
};
|
|
2700
2700
|
const deserializeAws_restJson1SpectrumConfig = (output, context) => {
|
|
@@ -2705,7 +2705,7 @@ const deserializeAws_restJson1SpectrumConfig = (output, context) => {
|
|
|
2705
2705
|
centerFrequency: output.centerFrequency !== undefined && output.centerFrequency !== null
|
|
2706
2706
|
? deserializeAws_restJson1Frequency(output.centerFrequency, context)
|
|
2707
2707
|
: undefined,
|
|
2708
|
-
polarization: smithy_client_1.expectString(output.polarization),
|
|
2708
|
+
polarization: (0, smithy_client_1.expectString)(output.polarization),
|
|
2709
2709
|
};
|
|
2710
2710
|
};
|
|
2711
2711
|
const deserializeAws_restJson1SubnetList = (output, context) => {
|
|
@@ -2715,7 +2715,7 @@ const deserializeAws_restJson1SubnetList = (output, context) => {
|
|
|
2715
2715
|
if (entry === null) {
|
|
2716
2716
|
return null;
|
|
2717
2717
|
}
|
|
2718
|
-
return smithy_client_1.expectString(entry);
|
|
2718
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
2719
2719
|
});
|
|
2720
2720
|
return retVal;
|
|
2721
2721
|
};
|
|
@@ -2726,19 +2726,19 @@ const deserializeAws_restJson1TagsMap = (output, context) => {
|
|
|
2726
2726
|
}
|
|
2727
2727
|
return {
|
|
2728
2728
|
...acc,
|
|
2729
|
-
[key]: smithy_client_1.expectString(value),
|
|
2729
|
+
[key]: (0, smithy_client_1.expectString)(value),
|
|
2730
2730
|
};
|
|
2731
2731
|
}, {});
|
|
2732
2732
|
};
|
|
2733
2733
|
const deserializeAws_restJson1TrackingConfig = (output, context) => {
|
|
2734
2734
|
return {
|
|
2735
|
-
autotrack: smithy_client_1.expectString(output.autotrack),
|
|
2735
|
+
autotrack: (0, smithy_client_1.expectString)(output.autotrack),
|
|
2736
2736
|
};
|
|
2737
2737
|
};
|
|
2738
2738
|
const deserializeAws_restJson1UplinkEchoConfig = (output, context) => {
|
|
2739
2739
|
return {
|
|
2740
|
-
antennaUplinkConfigArn: smithy_client_1.expectString(output.antennaUplinkConfigArn),
|
|
2741
|
-
enabled: smithy_client_1.expectBoolean(output.enabled),
|
|
2740
|
+
antennaUplinkConfigArn: (0, smithy_client_1.expectString)(output.antennaUplinkConfigArn),
|
|
2741
|
+
enabled: (0, smithy_client_1.expectBoolean)(output.enabled),
|
|
2742
2742
|
};
|
|
2743
2743
|
};
|
|
2744
2744
|
const deserializeAws_restJson1UplinkSpectrumConfig = (output, context) => {
|
|
@@ -2746,7 +2746,7 @@ const deserializeAws_restJson1UplinkSpectrumConfig = (output, context) => {
|
|
|
2746
2746
|
centerFrequency: output.centerFrequency !== undefined && output.centerFrequency !== null
|
|
2747
2747
|
? deserializeAws_restJson1Frequency(output.centerFrequency, context)
|
|
2748
2748
|
: undefined,
|
|
2749
|
-
polarization: smithy_client_1.expectString(output.polarization),
|
|
2749
|
+
polarization: (0, smithy_client_1.expectString)(output.polarization),
|
|
2750
2750
|
};
|
|
2751
2751
|
};
|
|
2752
2752
|
const deserializeMetadata = (output) => {
|