@aws-sdk/client-groundstation 3.525.0 → 3.529.1
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/dist-cjs/index.js +33 -74
- package/dist-es/protocols/Aws_restJson1.js +1 -41
- package/package.json +4 -4
package/dist-cjs/index.js
CHANGED
|
@@ -990,7 +990,7 @@ var de_CancelContactCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
990
990
|
const contents = (0, import_smithy_client.map)({
|
|
991
991
|
$metadata: deserializeMetadata(output)
|
|
992
992
|
});
|
|
993
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
993
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
994
994
|
const doc = (0, import_smithy_client.take)(data, {
|
|
995
995
|
contactId: import_smithy_client.expectString
|
|
996
996
|
});
|
|
@@ -1004,7 +1004,7 @@ var de_CreateConfigCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1004
1004
|
const contents = (0, import_smithy_client.map)({
|
|
1005
1005
|
$metadata: deserializeMetadata(output)
|
|
1006
1006
|
});
|
|
1007
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1007
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1008
1008
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1009
1009
|
configArn: import_smithy_client.expectString,
|
|
1010
1010
|
configId: import_smithy_client.expectString,
|
|
@@ -1020,7 +1020,7 @@ var de_CreateDataflowEndpointGroupCommand = /* @__PURE__ */ __name(async (output
|
|
|
1020
1020
|
const contents = (0, import_smithy_client.map)({
|
|
1021
1021
|
$metadata: deserializeMetadata(output)
|
|
1022
1022
|
});
|
|
1023
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1023
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1024
1024
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1025
1025
|
dataflowEndpointGroupId: import_smithy_client.expectString
|
|
1026
1026
|
});
|
|
@@ -1034,7 +1034,7 @@ var de_CreateEphemerisCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
1034
1034
|
const contents = (0, import_smithy_client.map)({
|
|
1035
1035
|
$metadata: deserializeMetadata(output)
|
|
1036
1036
|
});
|
|
1037
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1037
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1038
1038
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1039
1039
|
ephemerisId: import_smithy_client.expectString
|
|
1040
1040
|
});
|
|
@@ -1048,7 +1048,7 @@ var de_CreateMissionProfileCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
1048
1048
|
const contents = (0, import_smithy_client.map)({
|
|
1049
1049
|
$metadata: deserializeMetadata(output)
|
|
1050
1050
|
});
|
|
1051
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1051
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1052
1052
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1053
1053
|
missionProfileId: import_smithy_client.expectString
|
|
1054
1054
|
});
|
|
@@ -1062,7 +1062,7 @@ var de_DeleteConfigCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1062
1062
|
const contents = (0, import_smithy_client.map)({
|
|
1063
1063
|
$metadata: deserializeMetadata(output)
|
|
1064
1064
|
});
|
|
1065
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1065
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1066
1066
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1067
1067
|
configArn: import_smithy_client.expectString,
|
|
1068
1068
|
configId: import_smithy_client.expectString,
|
|
@@ -1078,7 +1078,7 @@ var de_DeleteDataflowEndpointGroupCommand = /* @__PURE__ */ __name(async (output
|
|
|
1078
1078
|
const contents = (0, import_smithy_client.map)({
|
|
1079
1079
|
$metadata: deserializeMetadata(output)
|
|
1080
1080
|
});
|
|
1081
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1081
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1082
1082
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1083
1083
|
dataflowEndpointGroupId: import_smithy_client.expectString
|
|
1084
1084
|
});
|
|
@@ -1092,7 +1092,7 @@ var de_DeleteEphemerisCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
1092
1092
|
const contents = (0, import_smithy_client.map)({
|
|
1093
1093
|
$metadata: deserializeMetadata(output)
|
|
1094
1094
|
});
|
|
1095
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1095
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1096
1096
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1097
1097
|
ephemerisId: import_smithy_client.expectString
|
|
1098
1098
|
});
|
|
@@ -1106,7 +1106,7 @@ var de_DeleteMissionProfileCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
1106
1106
|
const contents = (0, import_smithy_client.map)({
|
|
1107
1107
|
$metadata: deserializeMetadata(output)
|
|
1108
1108
|
});
|
|
1109
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1109
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1110
1110
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1111
1111
|
missionProfileId: import_smithy_client.expectString
|
|
1112
1112
|
});
|
|
@@ -1120,7 +1120,7 @@ var de_DescribeContactCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
1120
1120
|
const contents = (0, import_smithy_client.map)({
|
|
1121
1121
|
$metadata: deserializeMetadata(output)
|
|
1122
1122
|
});
|
|
1123
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1123
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1124
1124
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1125
1125
|
contactId: import_smithy_client.expectString,
|
|
1126
1126
|
contactStatus: import_smithy_client.expectString,
|
|
@@ -1147,7 +1147,7 @@ var de_DescribeEphemerisCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1147
1147
|
const contents = (0, import_smithy_client.map)({
|
|
1148
1148
|
$metadata: deserializeMetadata(output)
|
|
1149
1149
|
});
|
|
1150
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1150
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1151
1151
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1152
1152
|
creationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1153
1153
|
enabled: import_smithy_client.expectBoolean,
|
|
@@ -1170,7 +1170,7 @@ var de_GetAgentConfigurationCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
1170
1170
|
const contents = (0, import_smithy_client.map)({
|
|
1171
1171
|
$metadata: deserializeMetadata(output)
|
|
1172
1172
|
});
|
|
1173
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1173
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1174
1174
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1175
1175
|
agentId: import_smithy_client.expectString,
|
|
1176
1176
|
taskingDocument: import_smithy_client.expectString
|
|
@@ -1185,7 +1185,7 @@ var de_GetConfigCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1185
1185
|
const contents = (0, import_smithy_client.map)({
|
|
1186
1186
|
$metadata: deserializeMetadata(output)
|
|
1187
1187
|
});
|
|
1188
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1188
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1189
1189
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1190
1190
|
configArn: import_smithy_client.expectString,
|
|
1191
1191
|
configData: (_) => de_ConfigTypeData((0, import_core2.awsExpectUnion)(_), context),
|
|
@@ -1204,7 +1204,7 @@ var de_GetDataflowEndpointGroupCommand = /* @__PURE__ */ __name(async (output, c
|
|
|
1204
1204
|
const contents = (0, import_smithy_client.map)({
|
|
1205
1205
|
$metadata: deserializeMetadata(output)
|
|
1206
1206
|
});
|
|
1207
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1207
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1208
1208
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1209
1209
|
contactPostPassDurationSeconds: import_smithy_client.expectInt32,
|
|
1210
1210
|
contactPrePassDurationSeconds: import_smithy_client.expectInt32,
|
|
@@ -1223,7 +1223,7 @@ var de_GetMinuteUsageCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1223
1223
|
const contents = (0, import_smithy_client.map)({
|
|
1224
1224
|
$metadata: deserializeMetadata(output)
|
|
1225
1225
|
});
|
|
1226
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1226
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1227
1227
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1228
1228
|
estimatedMinutesRemaining: import_smithy_client.expectInt32,
|
|
1229
1229
|
isReservedMinutesCustomer: import_smithy_client.expectBoolean,
|
|
@@ -1241,7 +1241,7 @@ var de_GetMissionProfileCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1241
1241
|
const contents = (0, import_smithy_client.map)({
|
|
1242
1242
|
$metadata: deserializeMetadata(output)
|
|
1243
1243
|
});
|
|
1244
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1244
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1245
1245
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1246
1246
|
contactPostPassDurationSeconds: import_smithy_client.expectInt32,
|
|
1247
1247
|
contactPrePassDurationSeconds: import_smithy_client.expectInt32,
|
|
@@ -1266,7 +1266,7 @@ var de_GetSatelliteCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1266
1266
|
const contents = (0, import_smithy_client.map)({
|
|
1267
1267
|
$metadata: deserializeMetadata(output)
|
|
1268
1268
|
});
|
|
1269
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1269
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1270
1270
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1271
1271
|
currentEphemeris: (_) => de_EphemerisMetaData(_, context),
|
|
1272
1272
|
groundStations: import_smithy_client._json,
|
|
@@ -1284,7 +1284,7 @@ var de_ListConfigsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1284
1284
|
const contents = (0, import_smithy_client.map)({
|
|
1285
1285
|
$metadata: deserializeMetadata(output)
|
|
1286
1286
|
});
|
|
1287
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1287
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1288
1288
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1289
1289
|
configList: import_smithy_client._json,
|
|
1290
1290
|
nextToken: import_smithy_client.expectString
|
|
@@ -1299,7 +1299,7 @@ var de_ListContactsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1299
1299
|
const contents = (0, import_smithy_client.map)({
|
|
1300
1300
|
$metadata: deserializeMetadata(output)
|
|
1301
1301
|
});
|
|
1302
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1302
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1303
1303
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1304
1304
|
contactList: (_) => de_ContactList(_, context),
|
|
1305
1305
|
nextToken: import_smithy_client.expectString
|
|
@@ -1314,7 +1314,7 @@ var de_ListDataflowEndpointGroupsCommand = /* @__PURE__ */ __name(async (output,
|
|
|
1314
1314
|
const contents = (0, import_smithy_client.map)({
|
|
1315
1315
|
$metadata: deserializeMetadata(output)
|
|
1316
1316
|
});
|
|
1317
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1317
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1318
1318
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1319
1319
|
dataflowEndpointGroupList: import_smithy_client._json,
|
|
1320
1320
|
nextToken: import_smithy_client.expectString
|
|
@@ -1329,7 +1329,7 @@ var de_ListEphemeridesCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
1329
1329
|
const contents = (0, import_smithy_client.map)({
|
|
1330
1330
|
$metadata: deserializeMetadata(output)
|
|
1331
1331
|
});
|
|
1332
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1332
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1333
1333
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1334
1334
|
ephemerides: (_) => de_EphemeridesList(_, context),
|
|
1335
1335
|
nextToken: import_smithy_client.expectString
|
|
@@ -1344,7 +1344,7 @@ var de_ListGroundStationsCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
1344
1344
|
const contents = (0, import_smithy_client.map)({
|
|
1345
1345
|
$metadata: deserializeMetadata(output)
|
|
1346
1346
|
});
|
|
1347
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1347
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1348
1348
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1349
1349
|
groundStationList: import_smithy_client._json,
|
|
1350
1350
|
nextToken: import_smithy_client.expectString
|
|
@@ -1359,7 +1359,7 @@ var de_ListMissionProfilesCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
1359
1359
|
const contents = (0, import_smithy_client.map)({
|
|
1360
1360
|
$metadata: deserializeMetadata(output)
|
|
1361
1361
|
});
|
|
1362
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1362
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1363
1363
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1364
1364
|
missionProfileList: import_smithy_client._json,
|
|
1365
1365
|
nextToken: import_smithy_client.expectString
|
|
@@ -1374,7 +1374,7 @@ var de_ListSatellitesCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1374
1374
|
const contents = (0, import_smithy_client.map)({
|
|
1375
1375
|
$metadata: deserializeMetadata(output)
|
|
1376
1376
|
});
|
|
1377
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1377
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1378
1378
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1379
1379
|
nextToken: import_smithy_client.expectString,
|
|
1380
1380
|
satellites: (_) => de_SatelliteList(_, context)
|
|
@@ -1389,7 +1389,7 @@ var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
1389
1389
|
const contents = (0, import_smithy_client.map)({
|
|
1390
1390
|
$metadata: deserializeMetadata(output)
|
|
1391
1391
|
});
|
|
1392
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1392
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1393
1393
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1394
1394
|
tags: import_smithy_client._json
|
|
1395
1395
|
});
|
|
@@ -1403,7 +1403,7 @@ var de_RegisterAgentCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1403
1403
|
const contents = (0, import_smithy_client.map)({
|
|
1404
1404
|
$metadata: deserializeMetadata(output)
|
|
1405
1405
|
});
|
|
1406
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1406
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1407
1407
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1408
1408
|
agentId: import_smithy_client.expectString
|
|
1409
1409
|
});
|
|
@@ -1417,7 +1417,7 @@ var de_ReserveContactCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1417
1417
|
const contents = (0, import_smithy_client.map)({
|
|
1418
1418
|
$metadata: deserializeMetadata(output)
|
|
1419
1419
|
});
|
|
1420
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1420
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1421
1421
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1422
1422
|
contactId: import_smithy_client.expectString
|
|
1423
1423
|
});
|
|
@@ -1451,7 +1451,7 @@ var de_UpdateAgentStatusCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1451
1451
|
const contents = (0, import_smithy_client.map)({
|
|
1452
1452
|
$metadata: deserializeMetadata(output)
|
|
1453
1453
|
});
|
|
1454
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1454
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1455
1455
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1456
1456
|
agentId: import_smithy_client.expectString
|
|
1457
1457
|
});
|
|
@@ -1465,7 +1465,7 @@ var de_UpdateConfigCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1465
1465
|
const contents = (0, import_smithy_client.map)({
|
|
1466
1466
|
$metadata: deserializeMetadata(output)
|
|
1467
1467
|
});
|
|
1468
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1468
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1469
1469
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1470
1470
|
configArn: import_smithy_client.expectString,
|
|
1471
1471
|
configId: import_smithy_client.expectString,
|
|
@@ -1481,7 +1481,7 @@ var de_UpdateEphemerisCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
1481
1481
|
const contents = (0, import_smithy_client.map)({
|
|
1482
1482
|
$metadata: deserializeMetadata(output)
|
|
1483
1483
|
});
|
|
1484
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1484
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1485
1485
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1486
1486
|
ephemerisId: import_smithy_client.expectString
|
|
1487
1487
|
});
|
|
@@ -1495,7 +1495,7 @@ var de_UpdateMissionProfileCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
1495
1495
|
const contents = (0, import_smithy_client.map)({
|
|
1496
1496
|
$metadata: deserializeMetadata(output)
|
|
1497
1497
|
});
|
|
1498
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1498
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1499
1499
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1500
1500
|
missionProfileId: import_smithy_client.expectString
|
|
1501
1501
|
});
|
|
@@ -1505,9 +1505,9 @@ var de_UpdateMissionProfileCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
1505
1505
|
var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1506
1506
|
const parsedOutput = {
|
|
1507
1507
|
...output,
|
|
1508
|
-
body: await
|
|
1508
|
+
body: await (0, import_core2.parseJsonErrorBody)(output.body, context)
|
|
1509
1509
|
};
|
|
1510
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1510
|
+
const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body);
|
|
1511
1511
|
switch (errorCode) {
|
|
1512
1512
|
case "DependencyException":
|
|
1513
1513
|
case "com.amazonaws.groundstation#DependencyException":
|
|
@@ -1847,51 +1847,10 @@ var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
|
1847
1847
|
extendedRequestId: output.headers["x-amz-id-2"],
|
|
1848
1848
|
cfId: output.headers["x-amz-cf-id"]
|
|
1849
1849
|
}), "deserializeMetadata");
|
|
1850
|
-
var collectBodyString = /* @__PURE__ */ __name((streamBody, context) => (0, import_smithy_client.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body)), "collectBodyString");
|
|
1851
1850
|
var _mR = "maxResults";
|
|
1852
1851
|
var _nT = "nextToken";
|
|
1853
1852
|
var _sI = "satelliteId";
|
|
1854
1853
|
var _tK = "tagKeys";
|
|
1855
|
-
var parseBody = /* @__PURE__ */ __name((streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
1856
|
-
if (encoded.length) {
|
|
1857
|
-
return JSON.parse(encoded);
|
|
1858
|
-
}
|
|
1859
|
-
return {};
|
|
1860
|
-
}), "parseBody");
|
|
1861
|
-
var parseErrorBody = /* @__PURE__ */ __name(async (errorBody, context) => {
|
|
1862
|
-
const value = await parseBody(errorBody, context);
|
|
1863
|
-
value.message = value.message ?? value.Message;
|
|
1864
|
-
return value;
|
|
1865
|
-
}, "parseErrorBody");
|
|
1866
|
-
var loadRestJsonErrorCode = /* @__PURE__ */ __name((output, data) => {
|
|
1867
|
-
const findKey = /* @__PURE__ */ __name((object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase()), "findKey");
|
|
1868
|
-
const sanitizeErrorCode = /* @__PURE__ */ __name((rawValue) => {
|
|
1869
|
-
let cleanValue = rawValue;
|
|
1870
|
-
if (typeof cleanValue === "number") {
|
|
1871
|
-
cleanValue = cleanValue.toString();
|
|
1872
|
-
}
|
|
1873
|
-
if (cleanValue.indexOf(",") >= 0) {
|
|
1874
|
-
cleanValue = cleanValue.split(",")[0];
|
|
1875
|
-
}
|
|
1876
|
-
if (cleanValue.indexOf(":") >= 0) {
|
|
1877
|
-
cleanValue = cleanValue.split(":")[0];
|
|
1878
|
-
}
|
|
1879
|
-
if (cleanValue.indexOf("#") >= 0) {
|
|
1880
|
-
cleanValue = cleanValue.split("#")[1];
|
|
1881
|
-
}
|
|
1882
|
-
return cleanValue;
|
|
1883
|
-
}, "sanitizeErrorCode");
|
|
1884
|
-
const headerKey = findKey(output.headers, "x-amzn-errortype");
|
|
1885
|
-
if (headerKey !== void 0) {
|
|
1886
|
-
return sanitizeErrorCode(output.headers[headerKey]);
|
|
1887
|
-
}
|
|
1888
|
-
if (data.code !== void 0) {
|
|
1889
|
-
return sanitizeErrorCode(data.code);
|
|
1890
|
-
}
|
|
1891
|
-
if (data["__type"] !== void 0) {
|
|
1892
|
-
return sanitizeErrorCode(data["__type"]);
|
|
1893
|
-
}
|
|
1894
|
-
}, "loadRestJsonErrorCode");
|
|
1895
1854
|
|
|
1896
1855
|
// src/commands/CancelContactCommand.ts
|
|
1897
1856
|
var _CancelContactCommand = class _CancelContactCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { awsExpectUnion as __expectUnion } from "@aws-sdk/core";
|
|
1
|
+
import { awsExpectUnion as __expectUnion, loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody as parseErrorBody, } from "@aws-sdk/core";
|
|
2
2
|
import { requestBuilder as rb } from "@smithy/core";
|
|
3
3
|
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, limitedParseDouble as __limitedParseDouble, map, parseEpochTimestamp as __parseEpochTimestamp, serializeFloat as __serializeFloat, take, withBaseException, } from "@smithy/smithy-client";
|
|
4
4
|
import { GroundStationServiceException as __BaseException } from "../models/GroundStationServiceException";
|
|
@@ -1318,43 +1318,3 @@ const _mR = "maxResults";
|
|
|
1318
1318
|
const _nT = "nextToken";
|
|
1319
1319
|
const _sI = "satelliteId";
|
|
1320
1320
|
const _tK = "tagKeys";
|
|
1321
|
-
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
1322
|
-
if (encoded.length) {
|
|
1323
|
-
return JSON.parse(encoded);
|
|
1324
|
-
}
|
|
1325
|
-
return {};
|
|
1326
|
-
});
|
|
1327
|
-
const parseErrorBody = async (errorBody, context) => {
|
|
1328
|
-
const value = await parseBody(errorBody, context);
|
|
1329
|
-
value.message = value.message ?? value.Message;
|
|
1330
|
-
return value;
|
|
1331
|
-
};
|
|
1332
|
-
const loadRestJsonErrorCode = (output, data) => {
|
|
1333
|
-
const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
|
|
1334
|
-
const sanitizeErrorCode = (rawValue) => {
|
|
1335
|
-
let cleanValue = rawValue;
|
|
1336
|
-
if (typeof cleanValue === "number") {
|
|
1337
|
-
cleanValue = cleanValue.toString();
|
|
1338
|
-
}
|
|
1339
|
-
if (cleanValue.indexOf(",") >= 0) {
|
|
1340
|
-
cleanValue = cleanValue.split(",")[0];
|
|
1341
|
-
}
|
|
1342
|
-
if (cleanValue.indexOf(":") >= 0) {
|
|
1343
|
-
cleanValue = cleanValue.split(":")[0];
|
|
1344
|
-
}
|
|
1345
|
-
if (cleanValue.indexOf("#") >= 0) {
|
|
1346
|
-
cleanValue = cleanValue.split("#")[1];
|
|
1347
|
-
}
|
|
1348
|
-
return cleanValue;
|
|
1349
|
-
};
|
|
1350
|
-
const headerKey = findKey(output.headers, "x-amzn-errortype");
|
|
1351
|
-
if (headerKey !== undefined) {
|
|
1352
|
-
return sanitizeErrorCode(output.headers[headerKey]);
|
|
1353
|
-
}
|
|
1354
|
-
if (data.code !== undefined) {
|
|
1355
|
-
return sanitizeErrorCode(data.code);
|
|
1356
|
-
}
|
|
1357
|
-
if (data["__type"] !== undefined) {
|
|
1358
|
-
return sanitizeErrorCode(data["__type"]);
|
|
1359
|
-
}
|
|
1360
|
-
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-groundstation",
|
|
3
3
|
"description": "AWS SDK for JavaScript Groundstation Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.529.1",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-groundstation",
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/core": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.529.1",
|
|
24
|
+
"@aws-sdk/core": "3.529.1",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.529.1",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.523.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.523.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.523.0",
|