@aws-sdk/client-groundstation 3.917.0 → 3.919.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/README.md +1 -4
- package/dist-cjs/endpoint/ruleset.js +1 -1
- package/dist-cjs/index.js +169 -0
- package/dist-es/endpoint/ruleset.js +1 -1
- package/dist-es/models/models_0.js +88 -0
- package/dist-es/protocols/Aws_restJson1.js +80 -2
- package/dist-types/GroundStation.d.ts +1 -4
- package/dist-types/GroundStationClient.d.ts +1 -4
- package/dist-types/commands/CreateConfigCommand.d.ts +1 -2
- package/dist-types/commands/CreateDataflowEndpointGroupCommand.d.ts +1 -5
- package/dist-types/commands/CreateEphemerisCommand.d.ts +31 -2
- package/dist-types/commands/CreateMissionProfileCommand.d.ts +1 -4
- package/dist-types/commands/DeleteEphemerisCommand.d.ts +4 -1
- package/dist-types/commands/DescribeContactCommand.d.ts +11 -0
- package/dist-types/commands/DescribeEphemerisCommand.d.ts +15 -1
- package/dist-types/commands/GetAgentConfigurationCommand.d.ts +1 -4
- package/dist-types/commands/GetConfigCommand.d.ts +1 -2
- package/dist-types/commands/ListContactsCommand.d.ts +10 -4
- package/dist-types/commands/ListEphemeridesCommand.d.ts +4 -2
- package/dist-types/commands/RegisterAgentCommand.d.ts +1 -4
- package/dist-types/commands/ReserveContactCommand.d.ts +11 -1
- package/dist-types/commands/UpdateAgentStatusCommand.d.ts +1 -4
- package/dist-types/commands/UpdateConfigCommand.d.ts +1 -3
- package/dist-types/commands/UpdateEphemerisCommand.d.ts +1 -1
- package/dist-types/commands/UpdateMissionProfileCommand.d.ts +1 -3
- package/dist-types/index.d.ts +1 -4
- package/dist-types/models/models_0.d.ts +474 -167
- package/dist-types/ts3.4/models/models_0.d.ts +196 -8
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -6,10 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
AWS SDK for JavaScript GroundStation Client for Node.js, Browser and React Native.
|
|
8
8
|
|
|
9
|
-
<p>Welcome to the AWS Ground Station API Reference. AWS Ground Station is a fully managed service that
|
|
10
|
-
enables you to control satellite communications, downlink and process satellite data, and
|
|
11
|
-
scale your satellite operations efficiently and cost-effectively without having
|
|
12
|
-
to build or manage your own ground station infrastructure.</p>
|
|
9
|
+
<p>Welcome to the AWS Ground Station API Reference. AWS Ground Station is a fully managed service that enables you to control satellite communications, downlink and process satellite data, and scale your satellite operations efficiently and cost-effectively without having to build or manage your own ground station infrastructure.</p>
|
|
13
10
|
|
|
14
11
|
## Installing
|
|
15
12
|
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
4
|
const s = "required", t = "fn", u = "argv", v = "ref";
|
|
5
|
-
const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = { [s]: false, "type": "
|
|
5
|
+
const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = { [s]: false, "type": "string" }, i = { [s]: true, "default": false, "type": "boolean" }, j = { [v]: "Endpoint" }, k = { [t]: c, [u]: [{ [v]: "UseFIPS" }, true] }, l = { [t]: c, [u]: [{ [v]: "UseDualStack" }, true] }, m = {}, n = { [t]: "getAttr", [u]: [{ [v]: g }, "supportsFIPS"] }, o = { [t]: c, [u]: [true, { [t]: "getAttr", [u]: [{ [v]: g }, "supportsDualStack"] }] }, p = [k], q = [l], r = [{ [v]: "Region" }];
|
|
6
6
|
const _data = { version: "1.0", parameters: { Region: h, UseDualStack: i, UseFIPS: i, Endpoint: h }, rules: [{ conditions: [{ [t]: b, [u]: [j] }], rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: j, properties: m, headers: m }, type: e }], type: f }, { conditions: [{ [t]: b, [u]: r }], rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: g }], rules: [{ conditions: [k, l], rules: [{ conditions: [{ [t]: c, [u]: [a, n] }, o], rules: [{ endpoint: { url: "https://groundstation-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: p, rules: [{ conditions: [{ [t]: c, [u]: [n, a] }], rules: [{ endpoint: { url: "https://groundstation-fips.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: q, rules: [{ conditions: [o], rules: [{ endpoint: { url: "https://groundstation.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { endpoint: { url: "https://groundstation.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }] };
|
|
7
7
|
exports.ruleSet = _data;
|
package/dist-cjs/index.js
CHANGED
|
@@ -190,6 +190,16 @@ const AuditResults = {
|
|
|
190
190
|
HEALTHY: "HEALTHY",
|
|
191
191
|
UNHEALTHY: "UNHEALTHY",
|
|
192
192
|
};
|
|
193
|
+
exports.AzElSegmentsData = void 0;
|
|
194
|
+
(function (AzElSegmentsData) {
|
|
195
|
+
AzElSegmentsData.visit = (value, visitor) => {
|
|
196
|
+
if (value.s3Object !== undefined)
|
|
197
|
+
return visitor.s3Object(value.s3Object);
|
|
198
|
+
if (value.azElData !== undefined)
|
|
199
|
+
return visitor.azElData(value.azElData);
|
|
200
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
201
|
+
};
|
|
202
|
+
})(exports.AzElSegmentsData || (exports.AzElSegmentsData = {}));
|
|
193
203
|
const CapabilityHealth = {
|
|
194
204
|
HEALTHY: "HEALTHY",
|
|
195
205
|
UNHEALTHY: "UNHEALTHY",
|
|
@@ -285,6 +295,28 @@ const ContactStatus = {
|
|
|
285
295
|
SCHEDULED: "SCHEDULED",
|
|
286
296
|
SCHEDULING: "SCHEDULING",
|
|
287
297
|
};
|
|
298
|
+
const EphemerisType = {
|
|
299
|
+
AZ_EL: "AZ_EL",
|
|
300
|
+
OEM: "OEM",
|
|
301
|
+
SERVICE_MANAGED: "SERVICE_MANAGED",
|
|
302
|
+
TLE: "TLE",
|
|
303
|
+
};
|
|
304
|
+
exports.ProgramTrackSettings = void 0;
|
|
305
|
+
(function (ProgramTrackSettings) {
|
|
306
|
+
ProgramTrackSettings.visit = (value, visitor) => {
|
|
307
|
+
if (value.azEl !== undefined)
|
|
308
|
+
return visitor.azEl(value.azEl);
|
|
309
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
310
|
+
};
|
|
311
|
+
})(exports.ProgramTrackSettings || (exports.ProgramTrackSettings = {}));
|
|
312
|
+
exports.EphemerisFilter = void 0;
|
|
313
|
+
(function (EphemerisFilter) {
|
|
314
|
+
EphemerisFilter.visit = (value, visitor) => {
|
|
315
|
+
if (value.azEl !== undefined)
|
|
316
|
+
return visitor.azEl(value.azEl);
|
|
317
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
318
|
+
};
|
|
319
|
+
})(exports.EphemerisFilter || (exports.EphemerisFilter = {}));
|
|
288
320
|
exports.EphemerisData = void 0;
|
|
289
321
|
(function (EphemerisData) {
|
|
290
322
|
EphemerisData.visit = (value, visitor) => {
|
|
@@ -292,6 +324,8 @@ exports.EphemerisData = void 0;
|
|
|
292
324
|
return visitor.tle(value.tle);
|
|
293
325
|
if (value.oem !== undefined)
|
|
294
326
|
return visitor.oem(value.oem);
|
|
327
|
+
if (value.azEl !== undefined)
|
|
328
|
+
return visitor.azEl(value.azEl);
|
|
295
329
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
296
330
|
};
|
|
297
331
|
})(exports.EphemerisData || (exports.EphemerisData = {}));
|
|
@@ -307,6 +341,58 @@ exports.KmsKey = void 0;
|
|
|
307
341
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
308
342
|
};
|
|
309
343
|
})(exports.KmsKey || (exports.KmsKey = {}));
|
|
344
|
+
class ResourceInUseException extends GroundStationServiceException {
|
|
345
|
+
name = "ResourceInUseException";
|
|
346
|
+
$fault = "client";
|
|
347
|
+
constructor(opts) {
|
|
348
|
+
super({
|
|
349
|
+
name: "ResourceInUseException",
|
|
350
|
+
$fault: "client",
|
|
351
|
+
...opts,
|
|
352
|
+
});
|
|
353
|
+
Object.setPrototypeOf(this, ResourceInUseException.prototype);
|
|
354
|
+
}
|
|
355
|
+
}
|
|
356
|
+
const EphemerisErrorCode = {
|
|
357
|
+
AZ_EL_SEGMENTS_OUT_OF_ORDER: "AZ_EL_SEGMENTS_OUT_OF_ORDER",
|
|
358
|
+
AZ_EL_SEGMENT_END_TIME_BEFORE_START_TIME: "AZ_EL_SEGMENT_END_TIME_BEFORE_START_TIME",
|
|
359
|
+
AZ_EL_SEGMENT_END_TIME_INVALID: "AZ_EL_SEGMENT_END_TIME_INVALID",
|
|
360
|
+
AZ_EL_SEGMENT_END_TIME_TOO_LATE: "AZ_EL_SEGMENT_END_TIME_TOO_LATE",
|
|
361
|
+
AZ_EL_SEGMENT_LIST_MISSING: "AZ_EL_SEGMENT_LIST_MISSING",
|
|
362
|
+
AZ_EL_SEGMENT_REFERENCE_EPOCH_INVALID: "AZ_EL_SEGMENT_REFERENCE_EPOCH_INVALID",
|
|
363
|
+
AZ_EL_SEGMENT_START_TIME_INVALID: "AZ_EL_SEGMENT_START_TIME_INVALID",
|
|
364
|
+
AZ_EL_SEGMENT_TIMES_OVERLAP: "AZ_EL_SEGMENT_TIMES_OVERLAP",
|
|
365
|
+
AZ_EL_SEGMENT_VALID_TIME_RANGE_INVALID: "AZ_EL_SEGMENT_VALID_TIME_RANGE_INVALID",
|
|
366
|
+
AZ_EL_TOTAL_DURATION_EXCEEDED: "AZ_EL_TOTAL_DURATION_EXCEEDED",
|
|
367
|
+
CENTER_BODY_UNSUPPORTED: "CENTER_BODY_UNSUPPORTED",
|
|
368
|
+
CREATION_DATE_MISSING: "CREATION_DATE_MISSING",
|
|
369
|
+
END_TIME_IN_PAST: "END_TIME_IN_PAST",
|
|
370
|
+
EXPIRATION_TIME_TOO_EARLY: "EXPIRATION_TIME_TOO_EARLY",
|
|
371
|
+
FILE_FORMAT_INVALID: "FILE_FORMAT_INVALID",
|
|
372
|
+
INSUFFICIENT_KMS_PERMISSIONS: "INSUFFICIENT_KMS_PERMISSIONS",
|
|
373
|
+
INSUFFICIENT_TIME_AZ_EL: "INSUFFICIENT_TIME_AZ_EL",
|
|
374
|
+
INTERNAL_ERROR: "INTERNAL_ERROR",
|
|
375
|
+
INTERPOLATION_DEGREE_INVALID: "INTERPOLATION_DEGREE_INVALID",
|
|
376
|
+
INTERPOLATION_MISSING: "INTERPOLATION_MISSING",
|
|
377
|
+
MEAN_MOTION_INVALID: "MEAN_MOTION_INVALID",
|
|
378
|
+
MISMATCHED_SATCAT_ID: "MISMATCHED_SATCAT_ID",
|
|
379
|
+
OBJECT_ID_MISSING: "OBJECT_ID_MISSING",
|
|
380
|
+
OBJECT_NAME_MISSING: "OBJECT_NAME_MISSING",
|
|
381
|
+
OEM_VERSION_UNSUPPORTED: "OEM_VERSION_UNSUPPORTED",
|
|
382
|
+
ORIGINATOR_MISSING: "ORIGINATOR_MISSING",
|
|
383
|
+
REF_FRAME_EPOCH_UNSUPPORTED: "REF_FRAME_EPOCH_UNSUPPORTED",
|
|
384
|
+
REF_FRAME_UNSUPPORTED: "REF_FRAME_UNSUPPORTED",
|
|
385
|
+
START_TIME_IN_FUTURE: "START_TIME_IN_FUTURE",
|
|
386
|
+
START_TIME_METADATA_TOO_EARLY: "START_TIME_METADATA_TOO_EARLY",
|
|
387
|
+
STOP_TIME_METADATA_TOO_LATE: "STOP_TIME_METADATA_TOO_LATE",
|
|
388
|
+
TIME_AZ_EL_ANGLE_UNITS_INVALID: "TIME_AZ_EL_ANGLE_UNITS_INVALID",
|
|
389
|
+
TIME_AZ_EL_AZ_DEGREE_RANGE_INVALID: "TIME_AZ_EL_AZ_DEGREE_RANGE_INVALID",
|
|
390
|
+
TIME_AZ_EL_AZ_RADIAN_RANGE_INVALID: "TIME_AZ_EL_AZ_RADIAN_RANGE_INVALID",
|
|
391
|
+
TIME_AZ_EL_EL_DEGREE_RANGE_INVALID: "TIME_AZ_EL_EL_DEGREE_RANGE_INVALID",
|
|
392
|
+
TIME_AZ_EL_EL_RADIAN_RANGE_INVALID: "TIME_AZ_EL_EL_RADIAN_RANGE_INVALID",
|
|
393
|
+
TIME_AZ_EL_ITEMS_OUT_OF_ORDER: "TIME_AZ_EL_ITEMS_OUT_OF_ORDER",
|
|
394
|
+
TIME_SYSTEM_UNSUPPORTED: "TIME_SYSTEM_UNSUPPORTED",
|
|
395
|
+
};
|
|
310
396
|
const EphemerisInvalidReason = {
|
|
311
397
|
KMS_KEY_INVALID: "KMS_KEY_INVALID",
|
|
312
398
|
METADATA_INVALID: "METADATA_INVALID",
|
|
@@ -329,6 +415,8 @@ exports.EphemerisTypeDescription = void 0;
|
|
|
329
415
|
return visitor.tle(value.tle);
|
|
330
416
|
if (value.oem !== undefined)
|
|
331
417
|
return visitor.oem(value.oem);
|
|
418
|
+
if (value.azEl !== undefined)
|
|
419
|
+
return visitor.azEl(value.azEl);
|
|
332
420
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
333
421
|
};
|
|
334
422
|
})(exports.EphemerisTypeDescription || (exports.EphemerisTypeDescription = {}));
|
|
@@ -554,6 +642,7 @@ const se_ListContactsCommand = async (input, context) => {
|
|
|
554
642
|
let body;
|
|
555
643
|
body = JSON.stringify(smithyClient.take(input, {
|
|
556
644
|
endTime: (_) => _.getTime() / 1_000,
|
|
645
|
+
ephemeris: (_) => smithyClient._json(_),
|
|
557
646
|
groundStation: [],
|
|
558
647
|
maxResults: [],
|
|
559
648
|
missionProfileArn: [],
|
|
@@ -590,6 +679,7 @@ const se_ListEphemeridesCommand = async (input, context) => {
|
|
|
590
679
|
let body;
|
|
591
680
|
body = JSON.stringify(smithyClient.take(input, {
|
|
592
681
|
endTime: (_) => _.getTime() / 1_000,
|
|
682
|
+
ephemerisType: [],
|
|
593
683
|
satelliteId: [],
|
|
594
684
|
startTime: (_) => _.getTime() / 1_000,
|
|
595
685
|
statusList: (_) => smithyClient._json(_),
|
|
@@ -672,6 +762,7 @@ const se_ReserveContactCommand = async (input, context) => {
|
|
|
672
762
|
satelliteArn: [],
|
|
673
763
|
startTime: (_) => _.getTime() / 1_000,
|
|
674
764
|
tags: (_) => smithyClient._json(_),
|
|
765
|
+
trackingOverrides: (_) => smithyClient._json(_),
|
|
675
766
|
}));
|
|
676
767
|
b.m("POST").h(headers).b(body);
|
|
677
768
|
return b.build();
|
|
@@ -914,6 +1005,7 @@ const de_DescribeContactCommand = async (output, context) => {
|
|
|
914
1005
|
contactStatus: smithyClient.expectString,
|
|
915
1006
|
dataflowList: smithyClient._json,
|
|
916
1007
|
endTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1008
|
+
ephemeris: smithyClient._json,
|
|
917
1009
|
errorMessage: smithyClient.expectString,
|
|
918
1010
|
groundStation: smithyClient.expectString,
|
|
919
1011
|
maximumElevation: (_) => de_Elevation(_),
|
|
@@ -924,6 +1016,7 @@ const de_DescribeContactCommand = async (output, context) => {
|
|
|
924
1016
|
satelliteArn: smithyClient.expectString,
|
|
925
1017
|
startTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
926
1018
|
tags: smithyClient._json,
|
|
1019
|
+
trackingOverrides: smithyClient._json,
|
|
927
1020
|
visibilityEndTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
928
1021
|
visibilityStartTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
929
1022
|
});
|
|
@@ -942,6 +1035,7 @@ const de_DescribeEphemerisCommand = async (output, context) => {
|
|
|
942
1035
|
creationTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
943
1036
|
enabled: smithyClient.expectBoolean,
|
|
944
1037
|
ephemerisId: smithyClient.expectString,
|
|
1038
|
+
errorReasons: smithyClient._json,
|
|
945
1039
|
invalidReason: smithyClient.expectString,
|
|
946
1040
|
name: smithyClient.expectString,
|
|
947
1041
|
priority: smithyClient.expectInt32,
|
|
@@ -1311,6 +1405,9 @@ const de_CommandError = async (output, context) => {
|
|
|
1311
1405
|
case "ResourceLimitExceededException":
|
|
1312
1406
|
case "com.amazonaws.groundstation#ResourceLimitExceededException":
|
|
1313
1407
|
throw await de_ResourceLimitExceededExceptionRes(parsedOutput);
|
|
1408
|
+
case "ResourceInUseException":
|
|
1409
|
+
case "com.amazonaws.groundstation#ResourceInUseException":
|
|
1410
|
+
throw await de_ResourceInUseExceptionRes(parsedOutput);
|
|
1314
1411
|
default:
|
|
1315
1412
|
const parsedBody = parsedOutput.body;
|
|
1316
1413
|
return throwDefaultError({
|
|
@@ -1349,6 +1446,19 @@ const de_InvalidParameterExceptionRes = async (parsedOutput, context) => {
|
|
|
1349
1446
|
});
|
|
1350
1447
|
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1351
1448
|
};
|
|
1449
|
+
const de_ResourceInUseExceptionRes = async (parsedOutput, context) => {
|
|
1450
|
+
const contents = smithyClient.map({});
|
|
1451
|
+
const data = parsedOutput.body;
|
|
1452
|
+
const doc = smithyClient.take(data, {
|
|
1453
|
+
message: smithyClient.expectString,
|
|
1454
|
+
});
|
|
1455
|
+
Object.assign(contents, doc);
|
|
1456
|
+
const exception = new ResourceInUseException({
|
|
1457
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1458
|
+
...contents,
|
|
1459
|
+
});
|
|
1460
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1461
|
+
};
|
|
1352
1462
|
const de_ResourceLimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
1353
1463
|
const contents = smithyClient.map({});
|
|
1354
1464
|
const data = parsedOutput.body;
|
|
@@ -1395,6 +1505,39 @@ const se_AntennaUplinkConfig = (input, context) => {
|
|
|
1395
1505
|
transmitDisabled: [],
|
|
1396
1506
|
});
|
|
1397
1507
|
};
|
|
1508
|
+
const se_AzElEphemeris = (input, context) => {
|
|
1509
|
+
return smithyClient.take(input, {
|
|
1510
|
+
data: (_) => se_AzElSegmentsData(_),
|
|
1511
|
+
groundStation: [],
|
|
1512
|
+
});
|
|
1513
|
+
};
|
|
1514
|
+
const se_AzElSegment = (input, context) => {
|
|
1515
|
+
return smithyClient.take(input, {
|
|
1516
|
+
azElList: (_) => se_TimeAzElList(_),
|
|
1517
|
+
referenceEpoch: smithyClient.serializeDateTime,
|
|
1518
|
+
validTimeRange: (_) => se_ISO8601TimeRange(_),
|
|
1519
|
+
});
|
|
1520
|
+
};
|
|
1521
|
+
const se_AzElSegmentList = (input, context) => {
|
|
1522
|
+
return input
|
|
1523
|
+
.filter((e) => e != null)
|
|
1524
|
+
.map((entry) => {
|
|
1525
|
+
return se_AzElSegment(entry);
|
|
1526
|
+
});
|
|
1527
|
+
};
|
|
1528
|
+
const se_AzElSegments = (input, context) => {
|
|
1529
|
+
return smithyClient.take(input, {
|
|
1530
|
+
angleUnit: [],
|
|
1531
|
+
azElSegmentList: (_) => se_AzElSegmentList(_),
|
|
1532
|
+
});
|
|
1533
|
+
};
|
|
1534
|
+
const se_AzElSegmentsData = (input, context) => {
|
|
1535
|
+
return exports.AzElSegmentsData.visit(input, {
|
|
1536
|
+
azElData: (value) => ({ azElData: se_AzElSegments(value) }),
|
|
1537
|
+
s3Object: (value) => ({ s3Object: smithyClient._json(value) }),
|
|
1538
|
+
_: (name, value) => ({ [name]: value }),
|
|
1539
|
+
});
|
|
1540
|
+
};
|
|
1398
1541
|
const se_ConfigTypeData = (input, context) => {
|
|
1399
1542
|
return exports.ConfigTypeData.visit(input, {
|
|
1400
1543
|
antennaDownlinkConfig: (value) => ({ antennaDownlinkConfig: se_AntennaDownlinkConfig(value) }),
|
|
@@ -1417,6 +1560,7 @@ const se_Eirp = (input, context) => {
|
|
|
1417
1560
|
};
|
|
1418
1561
|
const se_EphemerisData = (input, context) => {
|
|
1419
1562
|
return exports.EphemerisData.visit(input, {
|
|
1563
|
+
azEl: (value) => ({ azEl: se_AzElEphemeris(value) }),
|
|
1420
1564
|
oem: (value) => ({ oem: smithyClient._json(value) }),
|
|
1421
1565
|
tle: (value) => ({ tle: se_TLEEphemeris(value) }),
|
|
1422
1566
|
_: (name, value) => ({ [name]: value }),
|
|
@@ -1434,6 +1578,12 @@ const se_FrequencyBandwidth = (input, context) => {
|
|
|
1434
1578
|
value: smithyClient.serializeFloat,
|
|
1435
1579
|
});
|
|
1436
1580
|
};
|
|
1581
|
+
const se_ISO8601TimeRange = (input, context) => {
|
|
1582
|
+
return smithyClient.take(input, {
|
|
1583
|
+
endTime: smithyClient.serializeDateTime,
|
|
1584
|
+
startTime: smithyClient.serializeDateTime,
|
|
1585
|
+
});
|
|
1586
|
+
};
|
|
1437
1587
|
const se_SpectrumConfig = (input, context) => {
|
|
1438
1588
|
return smithyClient.take(input, {
|
|
1439
1589
|
bandwidth: (_) => se_FrequencyBandwidth(_),
|
|
@@ -1441,6 +1591,20 @@ const se_SpectrumConfig = (input, context) => {
|
|
|
1441
1591
|
polarization: [],
|
|
1442
1592
|
});
|
|
1443
1593
|
};
|
|
1594
|
+
const se_TimeAzEl = (input, context) => {
|
|
1595
|
+
return smithyClient.take(input, {
|
|
1596
|
+
az: smithyClient.serializeFloat,
|
|
1597
|
+
dt: smithyClient.serializeFloat,
|
|
1598
|
+
el: smithyClient.serializeFloat,
|
|
1599
|
+
});
|
|
1600
|
+
};
|
|
1601
|
+
const se_TimeAzElList = (input, context) => {
|
|
1602
|
+
return input
|
|
1603
|
+
.filter((e) => e != null)
|
|
1604
|
+
.map((entry) => {
|
|
1605
|
+
return se_TimeAzEl(entry);
|
|
1606
|
+
});
|
|
1607
|
+
};
|
|
1444
1608
|
const se_TimeRange = (input, context) => {
|
|
1445
1609
|
return smithyClient.take(input, {
|
|
1446
1610
|
endTime: (_) => _.getTime() / 1_000,
|
|
@@ -1535,6 +1699,7 @@ const de_ContactData = (output, context) => {
|
|
|
1535
1699
|
contactId: smithyClient.expectString,
|
|
1536
1700
|
contactStatus: smithyClient.expectString,
|
|
1537
1701
|
endTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1702
|
+
ephemeris: smithyClient._json,
|
|
1538
1703
|
errorMessage: smithyClient.expectString,
|
|
1539
1704
|
groundStation: smithyClient.expectString,
|
|
1540
1705
|
maximumElevation: (_) => de_Elevation(_),
|
|
@@ -1582,6 +1747,7 @@ const de_EphemerisItem = (output, context) => {
|
|
|
1582
1747
|
creationTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1583
1748
|
enabled: smithyClient.expectBoolean,
|
|
1584
1749
|
ephemerisId: smithyClient.expectString,
|
|
1750
|
+
ephemerisType: smithyClient.expectString,
|
|
1585
1751
|
name: smithyClient.expectString,
|
|
1586
1752
|
priority: smithyClient.expectInt32,
|
|
1587
1753
|
sourceS3Object: smithyClient._json,
|
|
@@ -2333,9 +2499,11 @@ exports.DescribeContactCommand = DescribeContactCommand;
|
|
|
2333
2499
|
exports.DescribeEphemerisCommand = DescribeEphemerisCommand;
|
|
2334
2500
|
exports.EirpUnits = EirpUnits;
|
|
2335
2501
|
exports.EndpointStatus = EndpointStatus;
|
|
2502
|
+
exports.EphemerisErrorCode = EphemerisErrorCode;
|
|
2336
2503
|
exports.EphemerisInvalidReason = EphemerisInvalidReason;
|
|
2337
2504
|
exports.EphemerisSource = EphemerisSource;
|
|
2338
2505
|
exports.EphemerisStatus = EphemerisStatus;
|
|
2506
|
+
exports.EphemerisType = EphemerisType;
|
|
2339
2507
|
exports.FrequencyUnits = FrequencyUnits;
|
|
2340
2508
|
exports.GetAgentConfigurationCommand = GetAgentConfigurationCommand;
|
|
2341
2509
|
exports.GetConfigCommand = GetConfigCommand;
|
|
@@ -2358,6 +2526,7 @@ exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
|
|
|
2358
2526
|
exports.Polarization = Polarization;
|
|
2359
2527
|
exports.RegisterAgentCommand = RegisterAgentCommand;
|
|
2360
2528
|
exports.ReserveContactCommand = ReserveContactCommand;
|
|
2529
|
+
exports.ResourceInUseException = ResourceInUseException;
|
|
2361
2530
|
exports.ResourceLimitExceededException = ResourceLimitExceededException;
|
|
2362
2531
|
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
2363
2532
|
exports.TagResourceCommand = TagResourceCommand;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
const s = "required", t = "fn", u = "argv", v = "ref";
|
|
2
|
-
const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = { [s]: false, "type": "
|
|
2
|
+
const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = { [s]: false, "type": "string" }, i = { [s]: true, "default": false, "type": "boolean" }, j = { [v]: "Endpoint" }, k = { [t]: c, [u]: [{ [v]: "UseFIPS" }, true] }, l = { [t]: c, [u]: [{ [v]: "UseDualStack" }, true] }, m = {}, n = { [t]: "getAttr", [u]: [{ [v]: g }, "supportsFIPS"] }, o = { [t]: c, [u]: [true, { [t]: "getAttr", [u]: [{ [v]: g }, "supportsDualStack"] }] }, p = [k], q = [l], r = [{ [v]: "Region" }];
|
|
3
3
|
const _data = { version: "1.0", parameters: { Region: h, UseDualStack: i, UseFIPS: i, Endpoint: h }, rules: [{ conditions: [{ [t]: b, [u]: [j] }], rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: j, properties: m, headers: m }, type: e }], type: f }, { conditions: [{ [t]: b, [u]: r }], rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: g }], rules: [{ conditions: [k, l], rules: [{ conditions: [{ [t]: c, [u]: [a, n] }, o], rules: [{ endpoint: { url: "https://groundstation-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: p, rules: [{ conditions: [{ [t]: c, [u]: [n, a] }], rules: [{ endpoint: { url: "https://groundstation-fips.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: q, rules: [{ conditions: [o], rules: [{ endpoint: { url: "https://groundstation.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { endpoint: { url: "https://groundstation.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }] };
|
|
4
4
|
export const ruleSet = _data;
|
|
@@ -71,6 +71,16 @@ export const AuditResults = {
|
|
|
71
71
|
HEALTHY: "HEALTHY",
|
|
72
72
|
UNHEALTHY: "UNHEALTHY",
|
|
73
73
|
};
|
|
74
|
+
export var AzElSegmentsData;
|
|
75
|
+
(function (AzElSegmentsData) {
|
|
76
|
+
AzElSegmentsData.visit = (value, visitor) => {
|
|
77
|
+
if (value.s3Object !== undefined)
|
|
78
|
+
return visitor.s3Object(value.s3Object);
|
|
79
|
+
if (value.azElData !== undefined)
|
|
80
|
+
return visitor.azElData(value.azElData);
|
|
81
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
82
|
+
};
|
|
83
|
+
})(AzElSegmentsData || (AzElSegmentsData = {}));
|
|
74
84
|
export const CapabilityHealth = {
|
|
75
85
|
HEALTHY: "HEALTHY",
|
|
76
86
|
UNHEALTHY: "UNHEALTHY",
|
|
@@ -166,6 +176,28 @@ export const ContactStatus = {
|
|
|
166
176
|
SCHEDULED: "SCHEDULED",
|
|
167
177
|
SCHEDULING: "SCHEDULING",
|
|
168
178
|
};
|
|
179
|
+
export const EphemerisType = {
|
|
180
|
+
AZ_EL: "AZ_EL",
|
|
181
|
+
OEM: "OEM",
|
|
182
|
+
SERVICE_MANAGED: "SERVICE_MANAGED",
|
|
183
|
+
TLE: "TLE",
|
|
184
|
+
};
|
|
185
|
+
export var ProgramTrackSettings;
|
|
186
|
+
(function (ProgramTrackSettings) {
|
|
187
|
+
ProgramTrackSettings.visit = (value, visitor) => {
|
|
188
|
+
if (value.azEl !== undefined)
|
|
189
|
+
return visitor.azEl(value.azEl);
|
|
190
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
191
|
+
};
|
|
192
|
+
})(ProgramTrackSettings || (ProgramTrackSettings = {}));
|
|
193
|
+
export var EphemerisFilter;
|
|
194
|
+
(function (EphemerisFilter) {
|
|
195
|
+
EphemerisFilter.visit = (value, visitor) => {
|
|
196
|
+
if (value.azEl !== undefined)
|
|
197
|
+
return visitor.azEl(value.azEl);
|
|
198
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
199
|
+
};
|
|
200
|
+
})(EphemerisFilter || (EphemerisFilter = {}));
|
|
169
201
|
export var EphemerisData;
|
|
170
202
|
(function (EphemerisData) {
|
|
171
203
|
EphemerisData.visit = (value, visitor) => {
|
|
@@ -173,6 +205,8 @@ export var EphemerisData;
|
|
|
173
205
|
return visitor.tle(value.tle);
|
|
174
206
|
if (value.oem !== undefined)
|
|
175
207
|
return visitor.oem(value.oem);
|
|
208
|
+
if (value.azEl !== undefined)
|
|
209
|
+
return visitor.azEl(value.azEl);
|
|
176
210
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
177
211
|
};
|
|
178
212
|
})(EphemerisData || (EphemerisData = {}));
|
|
@@ -188,6 +222,58 @@ export var KmsKey;
|
|
|
188
222
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
189
223
|
};
|
|
190
224
|
})(KmsKey || (KmsKey = {}));
|
|
225
|
+
export class ResourceInUseException extends __BaseException {
|
|
226
|
+
name = "ResourceInUseException";
|
|
227
|
+
$fault = "client";
|
|
228
|
+
constructor(opts) {
|
|
229
|
+
super({
|
|
230
|
+
name: "ResourceInUseException",
|
|
231
|
+
$fault: "client",
|
|
232
|
+
...opts,
|
|
233
|
+
});
|
|
234
|
+
Object.setPrototypeOf(this, ResourceInUseException.prototype);
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
export const EphemerisErrorCode = {
|
|
238
|
+
AZ_EL_SEGMENTS_OUT_OF_ORDER: "AZ_EL_SEGMENTS_OUT_OF_ORDER",
|
|
239
|
+
AZ_EL_SEGMENT_END_TIME_BEFORE_START_TIME: "AZ_EL_SEGMENT_END_TIME_BEFORE_START_TIME",
|
|
240
|
+
AZ_EL_SEGMENT_END_TIME_INVALID: "AZ_EL_SEGMENT_END_TIME_INVALID",
|
|
241
|
+
AZ_EL_SEGMENT_END_TIME_TOO_LATE: "AZ_EL_SEGMENT_END_TIME_TOO_LATE",
|
|
242
|
+
AZ_EL_SEGMENT_LIST_MISSING: "AZ_EL_SEGMENT_LIST_MISSING",
|
|
243
|
+
AZ_EL_SEGMENT_REFERENCE_EPOCH_INVALID: "AZ_EL_SEGMENT_REFERENCE_EPOCH_INVALID",
|
|
244
|
+
AZ_EL_SEGMENT_START_TIME_INVALID: "AZ_EL_SEGMENT_START_TIME_INVALID",
|
|
245
|
+
AZ_EL_SEGMENT_TIMES_OVERLAP: "AZ_EL_SEGMENT_TIMES_OVERLAP",
|
|
246
|
+
AZ_EL_SEGMENT_VALID_TIME_RANGE_INVALID: "AZ_EL_SEGMENT_VALID_TIME_RANGE_INVALID",
|
|
247
|
+
AZ_EL_TOTAL_DURATION_EXCEEDED: "AZ_EL_TOTAL_DURATION_EXCEEDED",
|
|
248
|
+
CENTER_BODY_UNSUPPORTED: "CENTER_BODY_UNSUPPORTED",
|
|
249
|
+
CREATION_DATE_MISSING: "CREATION_DATE_MISSING",
|
|
250
|
+
END_TIME_IN_PAST: "END_TIME_IN_PAST",
|
|
251
|
+
EXPIRATION_TIME_TOO_EARLY: "EXPIRATION_TIME_TOO_EARLY",
|
|
252
|
+
FILE_FORMAT_INVALID: "FILE_FORMAT_INVALID",
|
|
253
|
+
INSUFFICIENT_KMS_PERMISSIONS: "INSUFFICIENT_KMS_PERMISSIONS",
|
|
254
|
+
INSUFFICIENT_TIME_AZ_EL: "INSUFFICIENT_TIME_AZ_EL",
|
|
255
|
+
INTERNAL_ERROR: "INTERNAL_ERROR",
|
|
256
|
+
INTERPOLATION_DEGREE_INVALID: "INTERPOLATION_DEGREE_INVALID",
|
|
257
|
+
INTERPOLATION_MISSING: "INTERPOLATION_MISSING",
|
|
258
|
+
MEAN_MOTION_INVALID: "MEAN_MOTION_INVALID",
|
|
259
|
+
MISMATCHED_SATCAT_ID: "MISMATCHED_SATCAT_ID",
|
|
260
|
+
OBJECT_ID_MISSING: "OBJECT_ID_MISSING",
|
|
261
|
+
OBJECT_NAME_MISSING: "OBJECT_NAME_MISSING",
|
|
262
|
+
OEM_VERSION_UNSUPPORTED: "OEM_VERSION_UNSUPPORTED",
|
|
263
|
+
ORIGINATOR_MISSING: "ORIGINATOR_MISSING",
|
|
264
|
+
REF_FRAME_EPOCH_UNSUPPORTED: "REF_FRAME_EPOCH_UNSUPPORTED",
|
|
265
|
+
REF_FRAME_UNSUPPORTED: "REF_FRAME_UNSUPPORTED",
|
|
266
|
+
START_TIME_IN_FUTURE: "START_TIME_IN_FUTURE",
|
|
267
|
+
START_TIME_METADATA_TOO_EARLY: "START_TIME_METADATA_TOO_EARLY",
|
|
268
|
+
STOP_TIME_METADATA_TOO_LATE: "STOP_TIME_METADATA_TOO_LATE",
|
|
269
|
+
TIME_AZ_EL_ANGLE_UNITS_INVALID: "TIME_AZ_EL_ANGLE_UNITS_INVALID",
|
|
270
|
+
TIME_AZ_EL_AZ_DEGREE_RANGE_INVALID: "TIME_AZ_EL_AZ_DEGREE_RANGE_INVALID",
|
|
271
|
+
TIME_AZ_EL_AZ_RADIAN_RANGE_INVALID: "TIME_AZ_EL_AZ_RADIAN_RANGE_INVALID",
|
|
272
|
+
TIME_AZ_EL_EL_DEGREE_RANGE_INVALID: "TIME_AZ_EL_EL_DEGREE_RANGE_INVALID",
|
|
273
|
+
TIME_AZ_EL_EL_RADIAN_RANGE_INVALID: "TIME_AZ_EL_EL_RADIAN_RANGE_INVALID",
|
|
274
|
+
TIME_AZ_EL_ITEMS_OUT_OF_ORDER: "TIME_AZ_EL_ITEMS_OUT_OF_ORDER",
|
|
275
|
+
TIME_SYSTEM_UNSUPPORTED: "TIME_SYSTEM_UNSUPPORTED",
|
|
276
|
+
};
|
|
191
277
|
export const EphemerisInvalidReason = {
|
|
192
278
|
KMS_KEY_INVALID: "KMS_KEY_INVALID",
|
|
193
279
|
METADATA_INVALID: "METADATA_INVALID",
|
|
@@ -210,6 +296,8 @@ export var EphemerisTypeDescription;
|
|
|
210
296
|
return visitor.tle(value.tle);
|
|
211
297
|
if (value.oem !== undefined)
|
|
212
298
|
return visitor.oem(value.oem);
|
|
299
|
+
if (value.azEl !== undefined)
|
|
300
|
+
return visitor.azEl(value.azEl);
|
|
213
301
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
214
302
|
};
|
|
215
303
|
})(EphemerisTypeDescription || (EphemerisTypeDescription = {}));
|
|
@@ -1,8 +1,8 @@
|
|
|
1
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
|
-
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";
|
|
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, serializeDateTime as __serializeDateTime, serializeFloat as __serializeFloat, take, withBaseException, } from "@smithy/smithy-client";
|
|
4
4
|
import { GroundStationServiceException as __BaseException } from "../models/GroundStationServiceException";
|
|
5
|
-
import { ConfigTypeData, DependencyException, EphemerisData, InvalidParameterException, ResourceLimitExceededException, ResourceNotFoundException, } from "../models/models_0";
|
|
5
|
+
import { AzElSegmentsData, ConfigTypeData, DependencyException, EphemerisData, InvalidParameterException, ResourceInUseException, ResourceLimitExceededException, ResourceNotFoundException, } from "../models/models_0";
|
|
6
6
|
export const se_CancelContactCommand = async (input, context) => {
|
|
7
7
|
const b = rb(input, context);
|
|
8
8
|
const headers = {};
|
|
@@ -220,6 +220,7 @@ export const se_ListContactsCommand = async (input, context) => {
|
|
|
220
220
|
let body;
|
|
221
221
|
body = JSON.stringify(take(input, {
|
|
222
222
|
endTime: (_) => _.getTime() / 1_000,
|
|
223
|
+
ephemeris: (_) => _json(_),
|
|
223
224
|
groundStation: [],
|
|
224
225
|
maxResults: [],
|
|
225
226
|
missionProfileArn: [],
|
|
@@ -256,6 +257,7 @@ export const se_ListEphemeridesCommand = async (input, context) => {
|
|
|
256
257
|
let body;
|
|
257
258
|
body = JSON.stringify(take(input, {
|
|
258
259
|
endTime: (_) => _.getTime() / 1_000,
|
|
260
|
+
ephemerisType: [],
|
|
259
261
|
satelliteId: [],
|
|
260
262
|
startTime: (_) => _.getTime() / 1_000,
|
|
261
263
|
statusList: (_) => _json(_),
|
|
@@ -338,6 +340,7 @@ export const se_ReserveContactCommand = async (input, context) => {
|
|
|
338
340
|
satelliteArn: [],
|
|
339
341
|
startTime: (_) => _.getTime() / 1_000,
|
|
340
342
|
tags: (_) => _json(_),
|
|
343
|
+
trackingOverrides: (_) => _json(_),
|
|
341
344
|
}));
|
|
342
345
|
b.m("POST").h(headers).b(body);
|
|
343
346
|
return b.build();
|
|
@@ -580,6 +583,7 @@ export const de_DescribeContactCommand = async (output, context) => {
|
|
|
580
583
|
contactStatus: __expectString,
|
|
581
584
|
dataflowList: _json,
|
|
582
585
|
endTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
586
|
+
ephemeris: _json,
|
|
583
587
|
errorMessage: __expectString,
|
|
584
588
|
groundStation: __expectString,
|
|
585
589
|
maximumElevation: (_) => de_Elevation(_, context),
|
|
@@ -590,6 +594,7 @@ export const de_DescribeContactCommand = async (output, context) => {
|
|
|
590
594
|
satelliteArn: __expectString,
|
|
591
595
|
startTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
592
596
|
tags: _json,
|
|
597
|
+
trackingOverrides: _json,
|
|
593
598
|
visibilityEndTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
594
599
|
visibilityStartTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
595
600
|
});
|
|
@@ -608,6 +613,7 @@ export const de_DescribeEphemerisCommand = async (output, context) => {
|
|
|
608
613
|
creationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
609
614
|
enabled: __expectBoolean,
|
|
610
615
|
ephemerisId: __expectString,
|
|
616
|
+
errorReasons: _json,
|
|
611
617
|
invalidReason: __expectString,
|
|
612
618
|
name: __expectString,
|
|
613
619
|
priority: __expectInt32,
|
|
@@ -977,6 +983,9 @@ const de_CommandError = async (output, context) => {
|
|
|
977
983
|
case "ResourceLimitExceededException":
|
|
978
984
|
case "com.amazonaws.groundstation#ResourceLimitExceededException":
|
|
979
985
|
throw await de_ResourceLimitExceededExceptionRes(parsedOutput, context);
|
|
986
|
+
case "ResourceInUseException":
|
|
987
|
+
case "com.amazonaws.groundstation#ResourceInUseException":
|
|
988
|
+
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
980
989
|
default:
|
|
981
990
|
const parsedBody = parsedOutput.body;
|
|
982
991
|
return throwDefaultError({
|
|
@@ -1015,6 +1024,19 @@ const de_InvalidParameterExceptionRes = async (parsedOutput, context) => {
|
|
|
1015
1024
|
});
|
|
1016
1025
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
1017
1026
|
};
|
|
1027
|
+
const de_ResourceInUseExceptionRes = async (parsedOutput, context) => {
|
|
1028
|
+
const contents = map({});
|
|
1029
|
+
const data = parsedOutput.body;
|
|
1030
|
+
const doc = take(data, {
|
|
1031
|
+
message: __expectString,
|
|
1032
|
+
});
|
|
1033
|
+
Object.assign(contents, doc);
|
|
1034
|
+
const exception = new ResourceInUseException({
|
|
1035
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1036
|
+
...contents,
|
|
1037
|
+
});
|
|
1038
|
+
return __decorateServiceException(exception, parsedOutput.body);
|
|
1039
|
+
};
|
|
1018
1040
|
const de_ResourceLimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
1019
1041
|
const contents = map({});
|
|
1020
1042
|
const data = parsedOutput.body;
|
|
@@ -1061,6 +1083,39 @@ const se_AntennaUplinkConfig = (input, context) => {
|
|
|
1061
1083
|
transmitDisabled: [],
|
|
1062
1084
|
});
|
|
1063
1085
|
};
|
|
1086
|
+
const se_AzElEphemeris = (input, context) => {
|
|
1087
|
+
return take(input, {
|
|
1088
|
+
data: (_) => se_AzElSegmentsData(_, context),
|
|
1089
|
+
groundStation: [],
|
|
1090
|
+
});
|
|
1091
|
+
};
|
|
1092
|
+
const se_AzElSegment = (input, context) => {
|
|
1093
|
+
return take(input, {
|
|
1094
|
+
azElList: (_) => se_TimeAzElList(_, context),
|
|
1095
|
+
referenceEpoch: __serializeDateTime,
|
|
1096
|
+
validTimeRange: (_) => se_ISO8601TimeRange(_, context),
|
|
1097
|
+
});
|
|
1098
|
+
};
|
|
1099
|
+
const se_AzElSegmentList = (input, context) => {
|
|
1100
|
+
return input
|
|
1101
|
+
.filter((e) => e != null)
|
|
1102
|
+
.map((entry) => {
|
|
1103
|
+
return se_AzElSegment(entry, context);
|
|
1104
|
+
});
|
|
1105
|
+
};
|
|
1106
|
+
const se_AzElSegments = (input, context) => {
|
|
1107
|
+
return take(input, {
|
|
1108
|
+
angleUnit: [],
|
|
1109
|
+
azElSegmentList: (_) => se_AzElSegmentList(_, context),
|
|
1110
|
+
});
|
|
1111
|
+
};
|
|
1112
|
+
const se_AzElSegmentsData = (input, context) => {
|
|
1113
|
+
return AzElSegmentsData.visit(input, {
|
|
1114
|
+
azElData: (value) => ({ azElData: se_AzElSegments(value, context) }),
|
|
1115
|
+
s3Object: (value) => ({ s3Object: _json(value) }),
|
|
1116
|
+
_: (name, value) => ({ [name]: value }),
|
|
1117
|
+
});
|
|
1118
|
+
};
|
|
1064
1119
|
const se_ConfigTypeData = (input, context) => {
|
|
1065
1120
|
return ConfigTypeData.visit(input, {
|
|
1066
1121
|
antennaDownlinkConfig: (value) => ({ antennaDownlinkConfig: se_AntennaDownlinkConfig(value, context) }),
|
|
@@ -1083,6 +1138,7 @@ const se_Eirp = (input, context) => {
|
|
|
1083
1138
|
};
|
|
1084
1139
|
const se_EphemerisData = (input, context) => {
|
|
1085
1140
|
return EphemerisData.visit(input, {
|
|
1141
|
+
azEl: (value) => ({ azEl: se_AzElEphemeris(value, context) }),
|
|
1086
1142
|
oem: (value) => ({ oem: _json(value) }),
|
|
1087
1143
|
tle: (value) => ({ tle: se_TLEEphemeris(value, context) }),
|
|
1088
1144
|
_: (name, value) => ({ [name]: value }),
|
|
@@ -1100,6 +1156,12 @@ const se_FrequencyBandwidth = (input, context) => {
|
|
|
1100
1156
|
value: __serializeFloat,
|
|
1101
1157
|
});
|
|
1102
1158
|
};
|
|
1159
|
+
const se_ISO8601TimeRange = (input, context) => {
|
|
1160
|
+
return take(input, {
|
|
1161
|
+
endTime: __serializeDateTime,
|
|
1162
|
+
startTime: __serializeDateTime,
|
|
1163
|
+
});
|
|
1164
|
+
};
|
|
1103
1165
|
const se_SpectrumConfig = (input, context) => {
|
|
1104
1166
|
return take(input, {
|
|
1105
1167
|
bandwidth: (_) => se_FrequencyBandwidth(_, context),
|
|
@@ -1107,6 +1169,20 @@ const se_SpectrumConfig = (input, context) => {
|
|
|
1107
1169
|
polarization: [],
|
|
1108
1170
|
});
|
|
1109
1171
|
};
|
|
1172
|
+
const se_TimeAzEl = (input, context) => {
|
|
1173
|
+
return take(input, {
|
|
1174
|
+
az: __serializeFloat,
|
|
1175
|
+
dt: __serializeFloat,
|
|
1176
|
+
el: __serializeFloat,
|
|
1177
|
+
});
|
|
1178
|
+
};
|
|
1179
|
+
const se_TimeAzElList = (input, context) => {
|
|
1180
|
+
return input
|
|
1181
|
+
.filter((e) => e != null)
|
|
1182
|
+
.map((entry) => {
|
|
1183
|
+
return se_TimeAzEl(entry, context);
|
|
1184
|
+
});
|
|
1185
|
+
};
|
|
1110
1186
|
const se_TimeRange = (input, context) => {
|
|
1111
1187
|
return take(input, {
|
|
1112
1188
|
endTime: (_) => _.getTime() / 1_000,
|
|
@@ -1201,6 +1277,7 @@ const de_ContactData = (output, context) => {
|
|
|
1201
1277
|
contactId: __expectString,
|
|
1202
1278
|
contactStatus: __expectString,
|
|
1203
1279
|
endTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1280
|
+
ephemeris: _json,
|
|
1204
1281
|
errorMessage: __expectString,
|
|
1205
1282
|
groundStation: __expectString,
|
|
1206
1283
|
maximumElevation: (_) => de_Elevation(_, context),
|
|
@@ -1248,6 +1325,7 @@ const de_EphemerisItem = (output, context) => {
|
|
|
1248
1325
|
creationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1249
1326
|
enabled: __expectBoolean,
|
|
1250
1327
|
ephemerisId: __expectString,
|
|
1328
|
+
ephemerisType: __expectString,
|
|
1251
1329
|
name: __expectString,
|
|
1252
1330
|
priority: __expectInt32,
|
|
1253
1331
|
sourceS3Object: _json,
|
|
@@ -239,10 +239,7 @@ export interface GroundStation {
|
|
|
239
239
|
updateMissionProfile(args: UpdateMissionProfileCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateMissionProfileCommandOutput) => void): void;
|
|
240
240
|
}
|
|
241
241
|
/**
|
|
242
|
-
* <p>Welcome to the AWS Ground Station API Reference. AWS Ground Station is a fully managed service that
|
|
243
|
-
* enables you to control satellite communications, downlink and process satellite data, and
|
|
244
|
-
* scale your satellite operations efficiently and cost-effectively without having
|
|
245
|
-
* to build or manage your own ground station infrastructure.</p>
|
|
242
|
+
* <p>Welcome to the AWS Ground Station API Reference. AWS Ground Station is a fully managed service that enables you to control satellite communications, downlink and process satellite data, and scale your satellite operations efficiently and cost-effectively without having to build or manage your own ground station infrastructure.</p>
|
|
246
243
|
* @public
|
|
247
244
|
*/
|
|
248
245
|
export declare class GroundStation extends GroundStationClient implements GroundStation {
|