Skip to content

Commit b6eadd0

Browse files
author
awstools
committed
feat(client-groundstation): This release adds the preview of customer-provided ephemeris support for AWS Ground Station, allowing space vehicle owners to provide their own position and trajectory information for a satellite.
1 parent 09a0c2e commit b6eadd0

File tree

13 files changed

+3290
-311
lines changed

13 files changed

+3290
-311
lines changed

clients/client-groundstation/src/GroundStation.ts

Lines changed: 185 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ import {
1616
CreateDataflowEndpointGroupCommandInput,
1717
CreateDataflowEndpointGroupCommandOutput,
1818
} from "./commands/CreateDataflowEndpointGroupCommand";
19+
import {
20+
CreateEphemerisCommand,
21+
CreateEphemerisCommandInput,
22+
CreateEphemerisCommandOutput,
23+
} from "./commands/CreateEphemerisCommand";
1924
import {
2025
CreateMissionProfileCommand,
2126
CreateMissionProfileCommandInput,
@@ -31,6 +36,11 @@ import {
3136
DeleteDataflowEndpointGroupCommandInput,
3237
DeleteDataflowEndpointGroupCommandOutput,
3338
} from "./commands/DeleteDataflowEndpointGroupCommand";
39+
import {
40+
DeleteEphemerisCommand,
41+
DeleteEphemerisCommandInput,
42+
DeleteEphemerisCommandOutput,
43+
} from "./commands/DeleteEphemerisCommand";
3444
import {
3545
DeleteMissionProfileCommand,
3646
DeleteMissionProfileCommandInput,
@@ -41,6 +51,11 @@ import {
4151
DescribeContactCommandInput,
4252
DescribeContactCommandOutput,
4353
} from "./commands/DescribeContactCommand";
54+
import {
55+
DescribeEphemerisCommand,
56+
DescribeEphemerisCommandInput,
57+
DescribeEphemerisCommandOutput,
58+
} from "./commands/DescribeEphemerisCommand";
4459
import { GetConfigCommand, GetConfigCommandInput, GetConfigCommandOutput } from "./commands/GetConfigCommand";
4560
import {
4661
GetDataflowEndpointGroupCommand,
@@ -73,6 +88,11 @@ import {
7388
ListDataflowEndpointGroupsCommandInput,
7489
ListDataflowEndpointGroupsCommandOutput,
7590
} from "./commands/ListDataflowEndpointGroupsCommand";
91+
import {
92+
ListEphemeridesCommand,
93+
ListEphemeridesCommandInput,
94+
ListEphemeridesCommandOutput,
95+
} from "./commands/ListEphemeridesCommand";
7696
import {
7797
ListGroundStationsCommand,
7898
ListGroundStationsCommandInput,
@@ -109,6 +129,11 @@ import {
109129
UpdateConfigCommandInput,
110130
UpdateConfigCommandOutput,
111131
} from "./commands/UpdateConfigCommand";
132+
import {
133+
UpdateEphemerisCommand,
134+
UpdateEphemerisCommandInput,
135+
UpdateEphemerisCommandOutput,
136+
} from "./commands/UpdateEphemerisCommand";
112137
import {
113138
UpdateMissionProfileCommand,
114139
UpdateMissionProfileCommandInput,
@@ -221,6 +246,38 @@ export class GroundStation extends GroundStationClient {
221246
}
222247
}
223248

249+
/**
250+
* <p>Creates an Ephemeris with the specified <code>EphemerisData</code>.</p>
251+
*/
252+
public createEphemeris(
253+
args: CreateEphemerisCommandInput,
254+
options?: __HttpHandlerOptions
255+
): Promise<CreateEphemerisCommandOutput>;
256+
public createEphemeris(
257+
args: CreateEphemerisCommandInput,
258+
cb: (err: any, data?: CreateEphemerisCommandOutput) => void
259+
): void;
260+
public createEphemeris(
261+
args: CreateEphemerisCommandInput,
262+
options: __HttpHandlerOptions,
263+
cb: (err: any, data?: CreateEphemerisCommandOutput) => void
264+
): void;
265+
public createEphemeris(
266+
args: CreateEphemerisCommandInput,
267+
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateEphemerisCommandOutput) => void),
268+
cb?: (err: any, data?: CreateEphemerisCommandOutput) => void
269+
): Promise<CreateEphemerisCommandOutput> | void {
270+
const command = new CreateEphemerisCommand(args);
271+
if (typeof optionsOrCb === "function") {
272+
this.send(command, optionsOrCb);
273+
} else if (typeof cb === "function") {
274+
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
275+
this.send(command, optionsOrCb || {}, cb);
276+
} else {
277+
return this.send(command, optionsOrCb);
278+
}
279+
}
280+
224281
/**
225282
* <p>Creates a mission profile.</p>
226283
* <p>
@@ -317,6 +374,38 @@ export class GroundStation extends GroundStationClient {
317374
}
318375
}
319376

377+
/**
378+
* <p>Deletes an ephemeris</p>
379+
*/
380+
public deleteEphemeris(
381+
args: DeleteEphemerisCommandInput,
382+
options?: __HttpHandlerOptions
383+
): Promise<DeleteEphemerisCommandOutput>;
384+
public deleteEphemeris(
385+
args: DeleteEphemerisCommandInput,
386+
cb: (err: any, data?: DeleteEphemerisCommandOutput) => void
387+
): void;
388+
public deleteEphemeris(
389+
args: DeleteEphemerisCommandInput,
390+
options: __HttpHandlerOptions,
391+
cb: (err: any, data?: DeleteEphemerisCommandOutput) => void
392+
): void;
393+
public deleteEphemeris(
394+
args: DeleteEphemerisCommandInput,
395+
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteEphemerisCommandOutput) => void),
396+
cb?: (err: any, data?: DeleteEphemerisCommandOutput) => void
397+
): Promise<DeleteEphemerisCommandOutput> | void {
398+
const command = new DeleteEphemerisCommand(args);
399+
if (typeof optionsOrCb === "function") {
400+
this.send(command, optionsOrCb);
401+
} else if (typeof cb === "function") {
402+
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
403+
this.send(command, optionsOrCb || {}, cb);
404+
} else {
405+
return this.send(command, optionsOrCb);
406+
}
407+
}
408+
320409
/**
321410
* <p>Deletes a mission profile.</p>
322411
*/
@@ -381,6 +470,38 @@ export class GroundStation extends GroundStationClient {
381470
}
382471
}
383472

473+
/**
474+
* <p>Describes an existing ephemeris.</p>
475+
*/
476+
public describeEphemeris(
477+
args: DescribeEphemerisCommandInput,
478+
options?: __HttpHandlerOptions
479+
): Promise<DescribeEphemerisCommandOutput>;
480+
public describeEphemeris(
481+
args: DescribeEphemerisCommandInput,
482+
cb: (err: any, data?: DescribeEphemerisCommandOutput) => void
483+
): void;
484+
public describeEphemeris(
485+
args: DescribeEphemerisCommandInput,
486+
options: __HttpHandlerOptions,
487+
cb: (err: any, data?: DescribeEphemerisCommandOutput) => void
488+
): void;
489+
public describeEphemeris(
490+
args: DescribeEphemerisCommandInput,
491+
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeEphemerisCommandOutput) => void),
492+
cb?: (err: any, data?: DescribeEphemerisCommandOutput) => void
493+
): Promise<DescribeEphemerisCommandOutput> | void {
494+
const command = new DescribeEphemerisCommand(args);
495+
if (typeof optionsOrCb === "function") {
496+
this.send(command, optionsOrCb);
497+
} else if (typeof cb === "function") {
498+
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
499+
this.send(command, optionsOrCb || {}, cb);
500+
} else {
501+
return this.send(command, optionsOrCb);
502+
}
503+
}
504+
384505
/**
385506
* <p>Returns <code>Config</code> information.</p>
386507
* <p>Only one <code>Config</code> response can be returned.</p>
@@ -623,6 +744,38 @@ export class GroundStation extends GroundStationClient {
623744
}
624745
}
625746

747+
/**
748+
* <p>List existing ephemerides.</p>
749+
*/
750+
public listEphemerides(
751+
args: ListEphemeridesCommandInput,
752+
options?: __HttpHandlerOptions
753+
): Promise<ListEphemeridesCommandOutput>;
754+
public listEphemerides(
755+
args: ListEphemeridesCommandInput,
756+
cb: (err: any, data?: ListEphemeridesCommandOutput) => void
757+
): void;
758+
public listEphemerides(
759+
args: ListEphemeridesCommandInput,
760+
options: __HttpHandlerOptions,
761+
cb: (err: any, data?: ListEphemeridesCommandOutput) => void
762+
): void;
763+
public listEphemerides(
764+
args: ListEphemeridesCommandInput,
765+
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListEphemeridesCommandOutput) => void),
766+
cb?: (err: any, data?: ListEphemeridesCommandOutput) => void
767+
): Promise<ListEphemeridesCommandOutput> | void {
768+
const command = new ListEphemeridesCommand(args);
769+
if (typeof optionsOrCb === "function") {
770+
this.send(command, optionsOrCb);
771+
} else if (typeof cb === "function") {
772+
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
773+
this.send(command, optionsOrCb || {}, cb);
774+
} else {
775+
return this.send(command, optionsOrCb);
776+
}
777+
}
778+
626779
/**
627780
* <p>Returns a list of ground stations. </p>
628781
*/
@@ -872,6 +1025,38 @@ export class GroundStation extends GroundStationClient {
8721025
}
8731026
}
8741027

1028+
/**
1029+
* <p>Updates an existing ephemeris</p>
1030+
*/
1031+
public updateEphemeris(
1032+
args: UpdateEphemerisCommandInput,
1033+
options?: __HttpHandlerOptions
1034+
): Promise<UpdateEphemerisCommandOutput>;
1035+
public updateEphemeris(
1036+
args: UpdateEphemerisCommandInput,
1037+
cb: (err: any, data?: UpdateEphemerisCommandOutput) => void
1038+
): void;
1039+
public updateEphemeris(
1040+
args: UpdateEphemerisCommandInput,
1041+
options: __HttpHandlerOptions,
1042+
cb: (err: any, data?: UpdateEphemerisCommandOutput) => void
1043+
): void;
1044+
public updateEphemeris(
1045+
args: UpdateEphemerisCommandInput,
1046+
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateEphemerisCommandOutput) => void),
1047+
cb?: (err: any, data?: UpdateEphemerisCommandOutput) => void
1048+
): Promise<UpdateEphemerisCommandOutput> | void {
1049+
const command = new UpdateEphemerisCommand(args);
1050+
if (typeof optionsOrCb === "function") {
1051+
this.send(command, optionsOrCb);
1052+
} else if (typeof cb === "function") {
1053+
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1054+
this.send(command, optionsOrCb || {}, cb);
1055+
} else {
1056+
return this.send(command, optionsOrCb);
1057+
}
1058+
}
1059+
8751060
/**
8761061
* <p>Updates a mission profile.</p>
8771062
* <p>Updating a mission profile will not update the execution parameters

clients/client-groundstation/src/GroundStationClient.ts

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ import {
5353
CreateDataflowEndpointGroupCommandInput,
5454
CreateDataflowEndpointGroupCommandOutput,
5555
} from "./commands/CreateDataflowEndpointGroupCommand";
56+
import { CreateEphemerisCommandInput, CreateEphemerisCommandOutput } from "./commands/CreateEphemerisCommand";
5657
import {
5758
CreateMissionProfileCommandInput,
5859
CreateMissionProfileCommandOutput,
@@ -62,11 +63,13 @@ import {
6263
DeleteDataflowEndpointGroupCommandInput,
6364
DeleteDataflowEndpointGroupCommandOutput,
6465
} from "./commands/DeleteDataflowEndpointGroupCommand";
66+
import { DeleteEphemerisCommandInput, DeleteEphemerisCommandOutput } from "./commands/DeleteEphemerisCommand";
6567
import {
6668
DeleteMissionProfileCommandInput,
6769
DeleteMissionProfileCommandOutput,
6870
} from "./commands/DeleteMissionProfileCommand";
6971
import { DescribeContactCommandInput, DescribeContactCommandOutput } from "./commands/DescribeContactCommand";
72+
import { DescribeEphemerisCommandInput, DescribeEphemerisCommandOutput } from "./commands/DescribeEphemerisCommand";
7073
import { GetConfigCommandInput, GetConfigCommandOutput } from "./commands/GetConfigCommand";
7174
import {
7275
GetDataflowEndpointGroupCommandInput,
@@ -81,6 +84,7 @@ import {
8184
ListDataflowEndpointGroupsCommandInput,
8285
ListDataflowEndpointGroupsCommandOutput,
8386
} from "./commands/ListDataflowEndpointGroupsCommand";
87+
import { ListEphemeridesCommandInput, ListEphemeridesCommandOutput } from "./commands/ListEphemeridesCommand";
8488
import { ListGroundStationsCommandInput, ListGroundStationsCommandOutput } from "./commands/ListGroundStationsCommand";
8589
import {
8690
ListMissionProfilesCommandInput,
@@ -95,6 +99,7 @@ import { ReserveContactCommandInput, ReserveContactCommandOutput } from "./comma
9599
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
96100
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
97101
import { UpdateConfigCommandInput, UpdateConfigCommandOutput } from "./commands/UpdateConfigCommand";
102+
import { UpdateEphemerisCommandInput, UpdateEphemerisCommandOutput } from "./commands/UpdateEphemerisCommand";
98103
import {
99104
UpdateMissionProfileCommandInput,
100105
UpdateMissionProfileCommandOutput,
@@ -111,11 +116,14 @@ export type ServiceInputTypes =
111116
| CancelContactCommandInput
112117
| CreateConfigCommandInput
113118
| CreateDataflowEndpointGroupCommandInput
119+
| CreateEphemerisCommandInput
114120
| CreateMissionProfileCommandInput
115121
| DeleteConfigCommandInput
116122
| DeleteDataflowEndpointGroupCommandInput
123+
| DeleteEphemerisCommandInput
117124
| DeleteMissionProfileCommandInput
118125
| DescribeContactCommandInput
126+
| DescribeEphemerisCommandInput
119127
| GetConfigCommandInput
120128
| GetDataflowEndpointGroupCommandInput
121129
| GetMinuteUsageCommandInput
@@ -124,6 +132,7 @@ export type ServiceInputTypes =
124132
| ListConfigsCommandInput
125133
| ListContactsCommandInput
126134
| ListDataflowEndpointGroupsCommandInput
135+
| ListEphemeridesCommandInput
127136
| ListGroundStationsCommandInput
128137
| ListMissionProfilesCommandInput
129138
| ListSatellitesCommandInput
@@ -132,17 +141,21 @@ export type ServiceInputTypes =
132141
| TagResourceCommandInput
133142
| UntagResourceCommandInput
134143
| UpdateConfigCommandInput
144+
| UpdateEphemerisCommandInput
135145
| UpdateMissionProfileCommandInput;
136146

137147
export type ServiceOutputTypes =
138148
| CancelContactCommandOutput
139149
| CreateConfigCommandOutput
140150
| CreateDataflowEndpointGroupCommandOutput
151+
| CreateEphemerisCommandOutput
141152
| CreateMissionProfileCommandOutput
142153
| DeleteConfigCommandOutput
143154
| DeleteDataflowEndpointGroupCommandOutput
155+
| DeleteEphemerisCommandOutput
144156
| DeleteMissionProfileCommandOutput
145157
| DescribeContactCommandOutput
158+
| DescribeEphemerisCommandOutput
146159
| GetConfigCommandOutput
147160
| GetDataflowEndpointGroupCommandOutput
148161
| GetMinuteUsageCommandOutput
@@ -151,6 +164,7 @@ export type ServiceOutputTypes =
151164
| ListConfigsCommandOutput
152165
| ListContactsCommandOutput
153166
| ListDataflowEndpointGroupsCommandOutput
167+
| ListEphemeridesCommandOutput
154168
| ListGroundStationsCommandOutput
155169
| ListMissionProfilesCommandOutput
156170
| ListSatellitesCommandOutput
@@ -159,6 +173,7 @@ export type ServiceOutputTypes =
159173
| TagResourceCommandOutput
160174
| UntagResourceCommandOutput
161175
| UpdateConfigCommandOutput
176+
| UpdateEphemerisCommandOutput
162177
| UpdateMissionProfileCommandOutput;
163178

164179
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {

0 commit comments

Comments
 (0)