@aws-sdk/client-groundstation 3.204.0 → 3.207.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.
Files changed (47) hide show
  1. package/dist-cjs/GroundStation.js +75 -0
  2. package/dist-cjs/commands/CreateEphemerisCommand.js +46 -0
  3. package/dist-cjs/commands/DeleteEphemerisCommand.js +46 -0
  4. package/dist-cjs/commands/DescribeEphemerisCommand.js +46 -0
  5. package/dist-cjs/commands/ListEphemeridesCommand.js +46 -0
  6. package/dist-cjs/commands/UpdateEphemerisCommand.js +46 -0
  7. package/dist-cjs/commands/index.js +5 -0
  8. package/dist-cjs/models/models_0.js +129 -2
  9. package/dist-cjs/pagination/ListEphemeridesPaginator.js +36 -0
  10. package/dist-cjs/pagination/index.js +1 -0
  11. package/dist-cjs/protocols/Aws_restJson1.js +468 -1
  12. package/dist-es/GroundStation.js +75 -0
  13. package/dist-es/commands/CreateEphemerisCommand.js +42 -0
  14. package/dist-es/commands/DeleteEphemerisCommand.js +42 -0
  15. package/dist-es/commands/DescribeEphemerisCommand.js +42 -0
  16. package/dist-es/commands/ListEphemeridesCommand.js +42 -0
  17. package/dist-es/commands/UpdateEphemerisCommand.js +42 -0
  18. package/dist-es/commands/index.js +5 -0
  19. package/dist-es/models/models_0.js +108 -0
  20. package/dist-es/pagination/ListEphemeridesPaginator.js +32 -0
  21. package/dist-es/pagination/index.js +1 -0
  22. package/dist-es/protocols/Aws_restJson1.js +457 -1
  23. package/dist-types/GroundStation.d.ts +35 -0
  24. package/dist-types/GroundStationClient.d.ts +7 -2
  25. package/dist-types/commands/CreateEphemerisCommand.d.ts +37 -0
  26. package/dist-types/commands/DeleteEphemerisCommand.d.ts +37 -0
  27. package/dist-types/commands/DescribeEphemerisCommand.d.ts +37 -0
  28. package/dist-types/commands/ListEphemeridesCommand.d.ts +37 -0
  29. package/dist-types/commands/UpdateEphemerisCommand.d.ts +37 -0
  30. package/dist-types/commands/index.d.ts +5 -0
  31. package/dist-types/models/models_0.d.ts +492 -11
  32. package/dist-types/pagination/ListEphemeridesPaginator.d.ts +4 -0
  33. package/dist-types/pagination/index.d.ts +1 -0
  34. package/dist-types/protocols/Aws_restJson1.d.ts +15 -0
  35. package/dist-types/ts3.4/GroundStation.d.ts +85 -0
  36. package/dist-types/ts3.4/GroundStationClient.d.ts +30 -0
  37. package/dist-types/ts3.4/commands/CreateEphemerisCommand.d.ts +37 -0
  38. package/dist-types/ts3.4/commands/DeleteEphemerisCommand.d.ts +37 -0
  39. package/dist-types/ts3.4/commands/DescribeEphemerisCommand.d.ts +38 -0
  40. package/dist-types/ts3.4/commands/ListEphemeridesCommand.d.ts +37 -0
  41. package/dist-types/ts3.4/commands/UpdateEphemerisCommand.d.ts +37 -0
  42. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  43. package/dist-types/ts3.4/models/models_0.d.ts +209 -0
  44. package/dist-types/ts3.4/pagination/ListEphemeridesPaginator.d.ts +11 -0
  45. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  46. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +60 -0
  47. package/package.json +1 -1
@@ -1,11 +1,14 @@
1
1
  import { CancelContactCommand, } from "./commands/CancelContactCommand";
2
2
  import { CreateConfigCommand, } from "./commands/CreateConfigCommand";
3
3
  import { CreateDataflowEndpointGroupCommand, } from "./commands/CreateDataflowEndpointGroupCommand";
4
+ import { CreateEphemerisCommand, } from "./commands/CreateEphemerisCommand";
4
5
  import { CreateMissionProfileCommand, } from "./commands/CreateMissionProfileCommand";
5
6
  import { DeleteConfigCommand, } from "./commands/DeleteConfigCommand";
6
7
  import { DeleteDataflowEndpointGroupCommand, } from "./commands/DeleteDataflowEndpointGroupCommand";
8
+ import { DeleteEphemerisCommand, } from "./commands/DeleteEphemerisCommand";
7
9
  import { DeleteMissionProfileCommand, } from "./commands/DeleteMissionProfileCommand";
8
10
  import { DescribeContactCommand, } from "./commands/DescribeContactCommand";
11
+ import { DescribeEphemerisCommand, } from "./commands/DescribeEphemerisCommand";
9
12
  import { GetConfigCommand } from "./commands/GetConfigCommand";
10
13
  import { GetDataflowEndpointGroupCommand, } from "./commands/GetDataflowEndpointGroupCommand";
11
14
  import { GetMinuteUsageCommand, } from "./commands/GetMinuteUsageCommand";
@@ -14,6 +17,7 @@ import { GetSatelliteCommand, } from "./commands/GetSatelliteCommand";
14
17
  import { ListConfigsCommand } from "./commands/ListConfigsCommand";
15
18
  import { ListContactsCommand, } from "./commands/ListContactsCommand";
16
19
  import { ListDataflowEndpointGroupsCommand, } from "./commands/ListDataflowEndpointGroupsCommand";
20
+ import { ListEphemeridesCommand, } from "./commands/ListEphemeridesCommand";
17
21
  import { ListGroundStationsCommand, } from "./commands/ListGroundStationsCommand";
18
22
  import { ListMissionProfilesCommand, } from "./commands/ListMissionProfilesCommand";
19
23
  import { ListSatellitesCommand, } from "./commands/ListSatellitesCommand";
@@ -22,6 +26,7 @@ import { ReserveContactCommand, } from "./commands/ReserveContactCommand";
22
26
  import { TagResourceCommand } from "./commands/TagResourceCommand";
23
27
  import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
24
28
  import { UpdateConfigCommand, } from "./commands/UpdateConfigCommand";
29
+ import { UpdateEphemerisCommand, } from "./commands/UpdateEphemerisCommand";
25
30
  import { UpdateMissionProfileCommand, } from "./commands/UpdateMissionProfileCommand";
26
31
  import { GroundStationClient } from "./GroundStationClient";
27
32
  export class GroundStation extends GroundStationClient {
@@ -67,6 +72,20 @@ export class GroundStation extends GroundStationClient {
67
72
  return this.send(command, optionsOrCb);
68
73
  }
69
74
  }
75
+ createEphemeris(args, optionsOrCb, cb) {
76
+ const command = new CreateEphemerisCommand(args);
77
+ if (typeof optionsOrCb === "function") {
78
+ this.send(command, optionsOrCb);
79
+ }
80
+ else if (typeof cb === "function") {
81
+ if (typeof optionsOrCb !== "object")
82
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
83
+ this.send(command, optionsOrCb || {}, cb);
84
+ }
85
+ else {
86
+ return this.send(command, optionsOrCb);
87
+ }
88
+ }
70
89
  createMissionProfile(args, optionsOrCb, cb) {
71
90
  const command = new CreateMissionProfileCommand(args);
72
91
  if (typeof optionsOrCb === "function") {
@@ -109,6 +128,20 @@ export class GroundStation extends GroundStationClient {
109
128
  return this.send(command, optionsOrCb);
110
129
  }
111
130
  }
131
+ deleteEphemeris(args, optionsOrCb, cb) {
132
+ const command = new DeleteEphemerisCommand(args);
133
+ if (typeof optionsOrCb === "function") {
134
+ this.send(command, optionsOrCb);
135
+ }
136
+ else if (typeof cb === "function") {
137
+ if (typeof optionsOrCb !== "object")
138
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
139
+ this.send(command, optionsOrCb || {}, cb);
140
+ }
141
+ else {
142
+ return this.send(command, optionsOrCb);
143
+ }
144
+ }
112
145
  deleteMissionProfile(args, optionsOrCb, cb) {
113
146
  const command = new DeleteMissionProfileCommand(args);
114
147
  if (typeof optionsOrCb === "function") {
@@ -137,6 +170,20 @@ export class GroundStation extends GroundStationClient {
137
170
  return this.send(command, optionsOrCb);
138
171
  }
139
172
  }
173
+ describeEphemeris(args, optionsOrCb, cb) {
174
+ const command = new DescribeEphemerisCommand(args);
175
+ if (typeof optionsOrCb === "function") {
176
+ this.send(command, optionsOrCb);
177
+ }
178
+ else if (typeof cb === "function") {
179
+ if (typeof optionsOrCb !== "object")
180
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
181
+ this.send(command, optionsOrCb || {}, cb);
182
+ }
183
+ else {
184
+ return this.send(command, optionsOrCb);
185
+ }
186
+ }
140
187
  getConfig(args, optionsOrCb, cb) {
141
188
  const command = new GetConfigCommand(args);
142
189
  if (typeof optionsOrCb === "function") {
@@ -249,6 +296,20 @@ export class GroundStation extends GroundStationClient {
249
296
  return this.send(command, optionsOrCb);
250
297
  }
251
298
  }
299
+ listEphemerides(args, optionsOrCb, cb) {
300
+ const command = new ListEphemeridesCommand(args);
301
+ if (typeof optionsOrCb === "function") {
302
+ this.send(command, optionsOrCb);
303
+ }
304
+ else if (typeof cb === "function") {
305
+ if (typeof optionsOrCb !== "object")
306
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
307
+ this.send(command, optionsOrCb || {}, cb);
308
+ }
309
+ else {
310
+ return this.send(command, optionsOrCb);
311
+ }
312
+ }
252
313
  listGroundStations(args, optionsOrCb, cb) {
253
314
  const command = new ListGroundStationsCommand(args);
254
315
  if (typeof optionsOrCb === "function") {
@@ -361,6 +422,20 @@ export class GroundStation extends GroundStationClient {
361
422
  return this.send(command, optionsOrCb);
362
423
  }
363
424
  }
425
+ updateEphemeris(args, optionsOrCb, cb) {
426
+ const command = new UpdateEphemerisCommand(args);
427
+ if (typeof optionsOrCb === "function") {
428
+ this.send(command, optionsOrCb);
429
+ }
430
+ else if (typeof cb === "function") {
431
+ if (typeof optionsOrCb !== "object")
432
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
433
+ this.send(command, optionsOrCb || {}, cb);
434
+ }
435
+ else {
436
+ return this.send(command, optionsOrCb);
437
+ }
438
+ }
364
439
  updateMissionProfile(args, optionsOrCb, cb) {
365
440
  const command = new UpdateMissionProfileCommand(args);
366
441
  if (typeof optionsOrCb === "function") {
@@ -0,0 +1,42 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { CreateEphemerisRequestFilterSensitiveLog, EphemerisIdResponseFilterSensitiveLog, } from "../models/models_0";
5
+ import { deserializeAws_restJson1CreateEphemerisCommand, serializeAws_restJson1CreateEphemerisCommand, } from "../protocols/Aws_restJson1";
6
+ export class CreateEphemerisCommand extends $Command {
7
+ constructor(input) {
8
+ super();
9
+ this.input = input;
10
+ }
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
19
+ resolveMiddleware(clientStack, configuration, options) {
20
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, CreateEphemerisCommand.getEndpointParameterInstructions()));
22
+ const stack = clientStack.concat(this.middlewareStack);
23
+ const { logger } = configuration;
24
+ const clientName = "GroundStationClient";
25
+ const commandName = "CreateEphemerisCommand";
26
+ const handlerExecutionContext = {
27
+ logger,
28
+ clientName,
29
+ commandName,
30
+ inputFilterSensitiveLog: CreateEphemerisRequestFilterSensitiveLog,
31
+ outputFilterSensitiveLog: EphemerisIdResponseFilterSensitiveLog,
32
+ };
33
+ const { requestHandler } = configuration;
34
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
35
+ }
36
+ serialize(input, context) {
37
+ return serializeAws_restJson1CreateEphemerisCommand(input, context);
38
+ }
39
+ deserialize(output, context) {
40
+ return deserializeAws_restJson1CreateEphemerisCommand(output, context);
41
+ }
42
+ }
@@ -0,0 +1,42 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { DeleteEphemerisRequestFilterSensitiveLog, EphemerisIdResponseFilterSensitiveLog, } from "../models/models_0";
5
+ import { deserializeAws_restJson1DeleteEphemerisCommand, serializeAws_restJson1DeleteEphemerisCommand, } from "../protocols/Aws_restJson1";
6
+ export class DeleteEphemerisCommand extends $Command {
7
+ constructor(input) {
8
+ super();
9
+ this.input = input;
10
+ }
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
19
+ resolveMiddleware(clientStack, configuration, options) {
20
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, DeleteEphemerisCommand.getEndpointParameterInstructions()));
22
+ const stack = clientStack.concat(this.middlewareStack);
23
+ const { logger } = configuration;
24
+ const clientName = "GroundStationClient";
25
+ const commandName = "DeleteEphemerisCommand";
26
+ const handlerExecutionContext = {
27
+ logger,
28
+ clientName,
29
+ commandName,
30
+ inputFilterSensitiveLog: DeleteEphemerisRequestFilterSensitiveLog,
31
+ outputFilterSensitiveLog: EphemerisIdResponseFilterSensitiveLog,
32
+ };
33
+ const { requestHandler } = configuration;
34
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
35
+ }
36
+ serialize(input, context) {
37
+ return serializeAws_restJson1DeleteEphemerisCommand(input, context);
38
+ }
39
+ deserialize(output, context) {
40
+ return deserializeAws_restJson1DeleteEphemerisCommand(output, context);
41
+ }
42
+ }
@@ -0,0 +1,42 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { DescribeEphemerisRequestFilterSensitiveLog, DescribeEphemerisResponseFilterSensitiveLog, } from "../models/models_0";
5
+ import { deserializeAws_restJson1DescribeEphemerisCommand, serializeAws_restJson1DescribeEphemerisCommand, } from "../protocols/Aws_restJson1";
6
+ export class DescribeEphemerisCommand extends $Command {
7
+ constructor(input) {
8
+ super();
9
+ this.input = input;
10
+ }
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
19
+ resolveMiddleware(clientStack, configuration, options) {
20
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, DescribeEphemerisCommand.getEndpointParameterInstructions()));
22
+ const stack = clientStack.concat(this.middlewareStack);
23
+ const { logger } = configuration;
24
+ const clientName = "GroundStationClient";
25
+ const commandName = "DescribeEphemerisCommand";
26
+ const handlerExecutionContext = {
27
+ logger,
28
+ clientName,
29
+ commandName,
30
+ inputFilterSensitiveLog: DescribeEphemerisRequestFilterSensitiveLog,
31
+ outputFilterSensitiveLog: DescribeEphemerisResponseFilterSensitiveLog,
32
+ };
33
+ const { requestHandler } = configuration;
34
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
35
+ }
36
+ serialize(input, context) {
37
+ return serializeAws_restJson1DescribeEphemerisCommand(input, context);
38
+ }
39
+ deserialize(output, context) {
40
+ return deserializeAws_restJson1DescribeEphemerisCommand(output, context);
41
+ }
42
+ }
@@ -0,0 +1,42 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { ListEphemeridesRequestFilterSensitiveLog, ListEphemeridesResponseFilterSensitiveLog, } from "../models/models_0";
5
+ import { deserializeAws_restJson1ListEphemeridesCommand, serializeAws_restJson1ListEphemeridesCommand, } from "../protocols/Aws_restJson1";
6
+ export class ListEphemeridesCommand extends $Command {
7
+ constructor(input) {
8
+ super();
9
+ this.input = input;
10
+ }
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
19
+ resolveMiddleware(clientStack, configuration, options) {
20
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, ListEphemeridesCommand.getEndpointParameterInstructions()));
22
+ const stack = clientStack.concat(this.middlewareStack);
23
+ const { logger } = configuration;
24
+ const clientName = "GroundStationClient";
25
+ const commandName = "ListEphemeridesCommand";
26
+ const handlerExecutionContext = {
27
+ logger,
28
+ clientName,
29
+ commandName,
30
+ inputFilterSensitiveLog: ListEphemeridesRequestFilterSensitiveLog,
31
+ outputFilterSensitiveLog: ListEphemeridesResponseFilterSensitiveLog,
32
+ };
33
+ const { requestHandler } = configuration;
34
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
35
+ }
36
+ serialize(input, context) {
37
+ return serializeAws_restJson1ListEphemeridesCommand(input, context);
38
+ }
39
+ deserialize(output, context) {
40
+ return deserializeAws_restJson1ListEphemeridesCommand(output, context);
41
+ }
42
+ }
@@ -0,0 +1,42 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { EphemerisIdResponseFilterSensitiveLog, UpdateEphemerisRequestFilterSensitiveLog, } from "../models/models_0";
5
+ import { deserializeAws_restJson1UpdateEphemerisCommand, serializeAws_restJson1UpdateEphemerisCommand, } from "../protocols/Aws_restJson1";
6
+ export class UpdateEphemerisCommand extends $Command {
7
+ constructor(input) {
8
+ super();
9
+ this.input = input;
10
+ }
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
19
+ resolveMiddleware(clientStack, configuration, options) {
20
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, UpdateEphemerisCommand.getEndpointParameterInstructions()));
22
+ const stack = clientStack.concat(this.middlewareStack);
23
+ const { logger } = configuration;
24
+ const clientName = "GroundStationClient";
25
+ const commandName = "UpdateEphemerisCommand";
26
+ const handlerExecutionContext = {
27
+ logger,
28
+ clientName,
29
+ commandName,
30
+ inputFilterSensitiveLog: UpdateEphemerisRequestFilterSensitiveLog,
31
+ outputFilterSensitiveLog: EphemerisIdResponseFilterSensitiveLog,
32
+ };
33
+ const { requestHandler } = configuration;
34
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
35
+ }
36
+ serialize(input, context) {
37
+ return serializeAws_restJson1UpdateEphemerisCommand(input, context);
38
+ }
39
+ deserialize(output, context) {
40
+ return deserializeAws_restJson1UpdateEphemerisCommand(output, context);
41
+ }
42
+ }
@@ -1,11 +1,14 @@
1
1
  export * from "./CancelContactCommand";
2
2
  export * from "./CreateConfigCommand";
3
3
  export * from "./CreateDataflowEndpointGroupCommand";
4
+ export * from "./CreateEphemerisCommand";
4
5
  export * from "./CreateMissionProfileCommand";
5
6
  export * from "./DeleteConfigCommand";
6
7
  export * from "./DeleteDataflowEndpointGroupCommand";
8
+ export * from "./DeleteEphemerisCommand";
7
9
  export * from "./DeleteMissionProfileCommand";
8
10
  export * from "./DescribeContactCommand";
11
+ export * from "./DescribeEphemerisCommand";
9
12
  export * from "./GetConfigCommand";
10
13
  export * from "./GetDataflowEndpointGroupCommand";
11
14
  export * from "./GetMinuteUsageCommand";
@@ -14,6 +17,7 @@ export * from "./GetSatelliteCommand";
14
17
  export * from "./ListConfigsCommand";
15
18
  export * from "./ListContactsCommand";
16
19
  export * from "./ListDataflowEndpointGroupsCommand";
20
+ export * from "./ListEphemeridesCommand";
17
21
  export * from "./ListGroundStationsCommand";
18
22
  export * from "./ListMissionProfilesCommand";
19
23
  export * from "./ListSatellitesCommand";
@@ -22,4 +26,5 @@ export * from "./ReserveContactCommand";
22
26
  export * from "./TagResourceCommand";
23
27
  export * from "./UntagResourceCommand";
24
28
  export * from "./UpdateConfigCommand";
29
+ export * from "./UpdateEphemerisCommand";
25
30
  export * from "./UpdateMissionProfileCommand";
@@ -149,6 +149,48 @@ export var ContactStatus;
149
149
  ContactStatus["SCHEDULED"] = "SCHEDULED";
150
150
  ContactStatus["SCHEDULING"] = "SCHEDULING";
151
151
  })(ContactStatus || (ContactStatus = {}));
152
+ export var EphemerisData;
153
+ (function (EphemerisData) {
154
+ EphemerisData.visit = (value, visitor) => {
155
+ if (value.tle !== undefined)
156
+ return visitor.tle(value.tle);
157
+ if (value.oem !== undefined)
158
+ return visitor.oem(value.oem);
159
+ return visitor._(value.$unknown[0], value.$unknown[1]);
160
+ };
161
+ })(EphemerisData || (EphemerisData = {}));
162
+ export var EphemerisInvalidReason;
163
+ (function (EphemerisInvalidReason) {
164
+ EphemerisInvalidReason["KMS_KEY_INVALID"] = "KMS_KEY_INVALID";
165
+ EphemerisInvalidReason["METADATA_INVALID"] = "METADATA_INVALID";
166
+ EphemerisInvalidReason["TIME_RANGE_INVALID"] = "TIME_RANGE_INVALID";
167
+ EphemerisInvalidReason["TRAJECTORY_INVALID"] = "TRAJECTORY_INVALID";
168
+ EphemerisInvalidReason["VALIDATION_ERROR"] = "VALIDATION_ERROR";
169
+ })(EphemerisInvalidReason || (EphemerisInvalidReason = {}));
170
+ export var EphemerisStatus;
171
+ (function (EphemerisStatus) {
172
+ EphemerisStatus["DISABLED"] = "DISABLED";
173
+ EphemerisStatus["ENABLED"] = "ENABLED";
174
+ EphemerisStatus["ERROR"] = "ERROR";
175
+ EphemerisStatus["EXPIRED"] = "EXPIRED";
176
+ EphemerisStatus["INVALID"] = "INVALID";
177
+ EphemerisStatus["VALIDATING"] = "VALIDATING";
178
+ })(EphemerisStatus || (EphemerisStatus = {}));
179
+ export var EphemerisTypeDescription;
180
+ (function (EphemerisTypeDescription) {
181
+ EphemerisTypeDescription.visit = (value, visitor) => {
182
+ if (value.tle !== undefined)
183
+ return visitor.tle(value.tle);
184
+ if (value.oem !== undefined)
185
+ return visitor.oem(value.oem);
186
+ return visitor._(value.$unknown[0], value.$unknown[1]);
187
+ };
188
+ })(EphemerisTypeDescription || (EphemerisTypeDescription = {}));
189
+ export var EphemerisSource;
190
+ (function (EphemerisSource) {
191
+ EphemerisSource["CUSTOMER_PROVIDED"] = "CUSTOMER_PROVIDED";
192
+ EphemerisSource["SPACE_TRACK"] = "SPACE_TRACK";
193
+ })(EphemerisSource || (EphemerisSource = {}));
152
194
  export const AntennaDemodDecodeDetailsFilterSensitiveLog = (obj) => ({
153
195
  ...obj,
154
196
  });
@@ -316,6 +358,36 @@ export const CreateDataflowEndpointGroupRequestFilterSensitiveLog = (obj) => ({
316
358
  export const DataflowEndpointGroupIdResponseFilterSensitiveLog = (obj) => ({
317
359
  ...obj,
318
360
  });
361
+ export const S3ObjectFilterSensitiveLog = (obj) => ({
362
+ ...obj,
363
+ });
364
+ export const OEMEphemerisFilterSensitiveLog = (obj) => ({
365
+ ...obj,
366
+ });
367
+ export const TimeRangeFilterSensitiveLog = (obj) => ({
368
+ ...obj,
369
+ });
370
+ export const TLEDataFilterSensitiveLog = (obj) => ({
371
+ ...obj,
372
+ });
373
+ export const TLEEphemerisFilterSensitiveLog = (obj) => ({
374
+ ...obj,
375
+ });
376
+ export const EphemerisDataFilterSensitiveLog = (obj) => {
377
+ if (obj.tle !== undefined)
378
+ return { tle: TLEEphemerisFilterSensitiveLog(obj.tle) };
379
+ if (obj.oem !== undefined)
380
+ return { oem: OEMEphemerisFilterSensitiveLog(obj.oem) };
381
+ if (obj.$unknown !== undefined)
382
+ return { [obj.$unknown[0]]: "UNKNOWN" };
383
+ };
384
+ export const CreateEphemerisRequestFilterSensitiveLog = (obj) => ({
385
+ ...obj,
386
+ ...(obj.ephemeris && { ephemeris: EphemerisDataFilterSensitiveLog(obj.ephemeris) }),
387
+ });
388
+ export const EphemerisIdResponseFilterSensitiveLog = (obj) => ({
389
+ ...obj,
390
+ });
319
391
  export const CreateMissionProfileRequestFilterSensitiveLog = (obj) => ({
320
392
  ...obj,
321
393
  });
@@ -340,9 +412,45 @@ export const DataflowEndpointListItemFilterSensitiveLog = (obj) => ({
340
412
  export const ListDataflowEndpointGroupsResponseFilterSensitiveLog = (obj) => ({
341
413
  ...obj,
342
414
  });
415
+ export const DeleteEphemerisRequestFilterSensitiveLog = (obj) => ({
416
+ ...obj,
417
+ });
343
418
  export const DeleteMissionProfileRequestFilterSensitiveLog = (obj) => ({
344
419
  ...obj,
345
420
  });
421
+ export const DescribeEphemerisRequestFilterSensitiveLog = (obj) => ({
422
+ ...obj,
423
+ });
424
+ export const EphemerisDescriptionFilterSensitiveLog = (obj) => ({
425
+ ...obj,
426
+ });
427
+ export const EphemerisTypeDescriptionFilterSensitiveLog = (obj) => {
428
+ if (obj.tle !== undefined)
429
+ return { tle: EphemerisDescriptionFilterSensitiveLog(obj.tle) };
430
+ if (obj.oem !== undefined)
431
+ return { oem: EphemerisDescriptionFilterSensitiveLog(obj.oem) };
432
+ if (obj.$unknown !== undefined)
433
+ return { [obj.$unknown[0]]: "UNKNOWN" };
434
+ };
435
+ export const DescribeEphemerisResponseFilterSensitiveLog = (obj) => ({
436
+ ...obj,
437
+ ...(obj.suppliedData && { suppliedData: EphemerisTypeDescriptionFilterSensitiveLog(obj.suppliedData) }),
438
+ });
439
+ export const EphemerisItemFilterSensitiveLog = (obj) => ({
440
+ ...obj,
441
+ });
442
+ export const ListEphemeridesRequestFilterSensitiveLog = (obj) => ({
443
+ ...obj,
444
+ });
445
+ export const ListEphemeridesResponseFilterSensitiveLog = (obj) => ({
446
+ ...obj,
447
+ });
448
+ export const UpdateEphemerisRequestFilterSensitiveLog = (obj) => ({
449
+ ...obj,
450
+ });
451
+ export const EphemerisMetaDataFilterSensitiveLog = (obj) => ({
452
+ ...obj,
453
+ });
346
454
  export const GetMinuteUsageRequestFilterSensitiveLog = (obj) => ({
347
455
  ...obj,
348
456
  });
@@ -0,0 +1,32 @@
1
+ import { ListEphemeridesCommand, } from "../commands/ListEphemeridesCommand";
2
+ import { GroundStation } from "../GroundStation";
3
+ import { GroundStationClient } from "../GroundStationClient";
4
+ const makePagedClientRequest = async (client, input, ...args) => {
5
+ return await client.send(new ListEphemeridesCommand(input), ...args);
6
+ };
7
+ const makePagedRequest = async (client, input, ...args) => {
8
+ return await client.listEphemerides(input, ...args);
9
+ };
10
+ export async function* paginateListEphemerides(config, input, ...additionalArguments) {
11
+ let token = config.startingToken || undefined;
12
+ let hasNext = true;
13
+ let page;
14
+ while (hasNext) {
15
+ input.nextToken = token;
16
+ input["maxResults"] = config.pageSize;
17
+ if (config.client instanceof GroundStation) {
18
+ page = await makePagedRequest(config.client, input, ...additionalArguments);
19
+ }
20
+ else if (config.client instanceof GroundStationClient) {
21
+ page = await makePagedClientRequest(config.client, input, ...additionalArguments);
22
+ }
23
+ else {
24
+ throw new Error("Invalid client, expected GroundStation | GroundStationClient");
25
+ }
26
+ yield page;
27
+ const prevToken = token;
28
+ token = page.nextToken;
29
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
30
+ }
31
+ return undefined;
32
+ }
@@ -2,6 +2,7 @@ export * from "./Interfaces";
2
2
  export * from "./ListConfigsPaginator";
3
3
  export * from "./ListContactsPaginator";
4
4
  export * from "./ListDataflowEndpointGroupsPaginator";
5
+ export * from "./ListEphemeridesPaginator";
5
6
  export * from "./ListGroundStationsPaginator";
6
7
  export * from "./ListMissionProfilesPaginator";
7
8
  export * from "./ListSatellitesPaginator";