@aws-sdk/client-groundstation 3.204.0 → 3.208.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/dist-cjs/GroundStation.js +75 -0
- package/dist-cjs/commands/CreateEphemerisCommand.js +46 -0
- package/dist-cjs/commands/DeleteEphemerisCommand.js +46 -0
- package/dist-cjs/commands/DescribeEphemerisCommand.js +46 -0
- package/dist-cjs/commands/ListEphemeridesCommand.js +46 -0
- package/dist-cjs/commands/UpdateEphemerisCommand.js +46 -0
- package/dist-cjs/commands/index.js +5 -0
- package/dist-cjs/models/models_0.js +129 -2
- package/dist-cjs/pagination/ListEphemeridesPaginator.js +36 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_restJson1.js +468 -1
- package/dist-es/GroundStation.js +75 -0
- package/dist-es/commands/CreateEphemerisCommand.js +42 -0
- package/dist-es/commands/DeleteEphemerisCommand.js +42 -0
- package/dist-es/commands/DescribeEphemerisCommand.js +42 -0
- package/dist-es/commands/ListEphemeridesCommand.js +42 -0
- package/dist-es/commands/UpdateEphemerisCommand.js +42 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/models_0.js +108 -0
- package/dist-es/pagination/ListEphemeridesPaginator.js +32 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +457 -1
- package/dist-types/GroundStation.d.ts +35 -0
- package/dist-types/GroundStationClient.d.ts +7 -2
- package/dist-types/commands/CreateEphemerisCommand.d.ts +37 -0
- package/dist-types/commands/DeleteEphemerisCommand.d.ts +37 -0
- package/dist-types/commands/DescribeEphemerisCommand.d.ts +37 -0
- package/dist-types/commands/ListEphemeridesCommand.d.ts +37 -0
- package/dist-types/commands/UpdateEphemerisCommand.d.ts +37 -0
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/models_0.d.ts +492 -11
- package/dist-types/pagination/ListEphemeridesPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +15 -0
- package/dist-types/ts3.4/GroundStation.d.ts +85 -0
- package/dist-types/ts3.4/GroundStationClient.d.ts +30 -0
- package/dist-types/ts3.4/commands/CreateEphemerisCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/DeleteEphemerisCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/DescribeEphemerisCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListEphemeridesCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/UpdateEphemerisCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +209 -0
- package/dist-types/ts3.4/pagination/ListEphemeridesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +60 -0
- package/package.json +35 -35
|
@@ -4,11 +4,14 @@ exports.GroundStation = void 0;
|
|
|
4
4
|
const CancelContactCommand_1 = require("./commands/CancelContactCommand");
|
|
5
5
|
const CreateConfigCommand_1 = require("./commands/CreateConfigCommand");
|
|
6
6
|
const CreateDataflowEndpointGroupCommand_1 = require("./commands/CreateDataflowEndpointGroupCommand");
|
|
7
|
+
const CreateEphemerisCommand_1 = require("./commands/CreateEphemerisCommand");
|
|
7
8
|
const CreateMissionProfileCommand_1 = require("./commands/CreateMissionProfileCommand");
|
|
8
9
|
const DeleteConfigCommand_1 = require("./commands/DeleteConfigCommand");
|
|
9
10
|
const DeleteDataflowEndpointGroupCommand_1 = require("./commands/DeleteDataflowEndpointGroupCommand");
|
|
11
|
+
const DeleteEphemerisCommand_1 = require("./commands/DeleteEphemerisCommand");
|
|
10
12
|
const DeleteMissionProfileCommand_1 = require("./commands/DeleteMissionProfileCommand");
|
|
11
13
|
const DescribeContactCommand_1 = require("./commands/DescribeContactCommand");
|
|
14
|
+
const DescribeEphemerisCommand_1 = require("./commands/DescribeEphemerisCommand");
|
|
12
15
|
const GetConfigCommand_1 = require("./commands/GetConfigCommand");
|
|
13
16
|
const GetDataflowEndpointGroupCommand_1 = require("./commands/GetDataflowEndpointGroupCommand");
|
|
14
17
|
const GetMinuteUsageCommand_1 = require("./commands/GetMinuteUsageCommand");
|
|
@@ -17,6 +20,7 @@ const GetSatelliteCommand_1 = require("./commands/GetSatelliteCommand");
|
|
|
17
20
|
const ListConfigsCommand_1 = require("./commands/ListConfigsCommand");
|
|
18
21
|
const ListContactsCommand_1 = require("./commands/ListContactsCommand");
|
|
19
22
|
const ListDataflowEndpointGroupsCommand_1 = require("./commands/ListDataflowEndpointGroupsCommand");
|
|
23
|
+
const ListEphemeridesCommand_1 = require("./commands/ListEphemeridesCommand");
|
|
20
24
|
const ListGroundStationsCommand_1 = require("./commands/ListGroundStationsCommand");
|
|
21
25
|
const ListMissionProfilesCommand_1 = require("./commands/ListMissionProfilesCommand");
|
|
22
26
|
const ListSatellitesCommand_1 = require("./commands/ListSatellitesCommand");
|
|
@@ -25,6 +29,7 @@ const ReserveContactCommand_1 = require("./commands/ReserveContactCommand");
|
|
|
25
29
|
const TagResourceCommand_1 = require("./commands/TagResourceCommand");
|
|
26
30
|
const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
|
|
27
31
|
const UpdateConfigCommand_1 = require("./commands/UpdateConfigCommand");
|
|
32
|
+
const UpdateEphemerisCommand_1 = require("./commands/UpdateEphemerisCommand");
|
|
28
33
|
const UpdateMissionProfileCommand_1 = require("./commands/UpdateMissionProfileCommand");
|
|
29
34
|
const GroundStationClient_1 = require("./GroundStationClient");
|
|
30
35
|
class GroundStation extends GroundStationClient_1.GroundStationClient {
|
|
@@ -70,6 +75,20 @@ class GroundStation extends GroundStationClient_1.GroundStationClient {
|
|
|
70
75
|
return this.send(command, optionsOrCb);
|
|
71
76
|
}
|
|
72
77
|
}
|
|
78
|
+
createEphemeris(args, optionsOrCb, cb) {
|
|
79
|
+
const command = new CreateEphemerisCommand_1.CreateEphemerisCommand(args);
|
|
80
|
+
if (typeof optionsOrCb === "function") {
|
|
81
|
+
this.send(command, optionsOrCb);
|
|
82
|
+
}
|
|
83
|
+
else if (typeof cb === "function") {
|
|
84
|
+
if (typeof optionsOrCb !== "object")
|
|
85
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
86
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
87
|
+
}
|
|
88
|
+
else {
|
|
89
|
+
return this.send(command, optionsOrCb);
|
|
90
|
+
}
|
|
91
|
+
}
|
|
73
92
|
createMissionProfile(args, optionsOrCb, cb) {
|
|
74
93
|
const command = new CreateMissionProfileCommand_1.CreateMissionProfileCommand(args);
|
|
75
94
|
if (typeof optionsOrCb === "function") {
|
|
@@ -112,6 +131,20 @@ class GroundStation extends GroundStationClient_1.GroundStationClient {
|
|
|
112
131
|
return this.send(command, optionsOrCb);
|
|
113
132
|
}
|
|
114
133
|
}
|
|
134
|
+
deleteEphemeris(args, optionsOrCb, cb) {
|
|
135
|
+
const command = new DeleteEphemerisCommand_1.DeleteEphemerisCommand(args);
|
|
136
|
+
if (typeof optionsOrCb === "function") {
|
|
137
|
+
this.send(command, optionsOrCb);
|
|
138
|
+
}
|
|
139
|
+
else if (typeof cb === "function") {
|
|
140
|
+
if (typeof optionsOrCb !== "object")
|
|
141
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
142
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
143
|
+
}
|
|
144
|
+
else {
|
|
145
|
+
return this.send(command, optionsOrCb);
|
|
146
|
+
}
|
|
147
|
+
}
|
|
115
148
|
deleteMissionProfile(args, optionsOrCb, cb) {
|
|
116
149
|
const command = new DeleteMissionProfileCommand_1.DeleteMissionProfileCommand(args);
|
|
117
150
|
if (typeof optionsOrCb === "function") {
|
|
@@ -140,6 +173,20 @@ class GroundStation extends GroundStationClient_1.GroundStationClient {
|
|
|
140
173
|
return this.send(command, optionsOrCb);
|
|
141
174
|
}
|
|
142
175
|
}
|
|
176
|
+
describeEphemeris(args, optionsOrCb, cb) {
|
|
177
|
+
const command = new DescribeEphemerisCommand_1.DescribeEphemerisCommand(args);
|
|
178
|
+
if (typeof optionsOrCb === "function") {
|
|
179
|
+
this.send(command, optionsOrCb);
|
|
180
|
+
}
|
|
181
|
+
else if (typeof cb === "function") {
|
|
182
|
+
if (typeof optionsOrCb !== "object")
|
|
183
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
184
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
185
|
+
}
|
|
186
|
+
else {
|
|
187
|
+
return this.send(command, optionsOrCb);
|
|
188
|
+
}
|
|
189
|
+
}
|
|
143
190
|
getConfig(args, optionsOrCb, cb) {
|
|
144
191
|
const command = new GetConfigCommand_1.GetConfigCommand(args);
|
|
145
192
|
if (typeof optionsOrCb === "function") {
|
|
@@ -252,6 +299,20 @@ class GroundStation extends GroundStationClient_1.GroundStationClient {
|
|
|
252
299
|
return this.send(command, optionsOrCb);
|
|
253
300
|
}
|
|
254
301
|
}
|
|
302
|
+
listEphemerides(args, optionsOrCb, cb) {
|
|
303
|
+
const command = new ListEphemeridesCommand_1.ListEphemeridesCommand(args);
|
|
304
|
+
if (typeof optionsOrCb === "function") {
|
|
305
|
+
this.send(command, optionsOrCb);
|
|
306
|
+
}
|
|
307
|
+
else if (typeof cb === "function") {
|
|
308
|
+
if (typeof optionsOrCb !== "object")
|
|
309
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
310
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
311
|
+
}
|
|
312
|
+
else {
|
|
313
|
+
return this.send(command, optionsOrCb);
|
|
314
|
+
}
|
|
315
|
+
}
|
|
255
316
|
listGroundStations(args, optionsOrCb, cb) {
|
|
256
317
|
const command = new ListGroundStationsCommand_1.ListGroundStationsCommand(args);
|
|
257
318
|
if (typeof optionsOrCb === "function") {
|
|
@@ -364,6 +425,20 @@ class GroundStation extends GroundStationClient_1.GroundStationClient {
|
|
|
364
425
|
return this.send(command, optionsOrCb);
|
|
365
426
|
}
|
|
366
427
|
}
|
|
428
|
+
updateEphemeris(args, optionsOrCb, cb) {
|
|
429
|
+
const command = new UpdateEphemerisCommand_1.UpdateEphemerisCommand(args);
|
|
430
|
+
if (typeof optionsOrCb === "function") {
|
|
431
|
+
this.send(command, optionsOrCb);
|
|
432
|
+
}
|
|
433
|
+
else if (typeof cb === "function") {
|
|
434
|
+
if (typeof optionsOrCb !== "object")
|
|
435
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
436
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
437
|
+
}
|
|
438
|
+
else {
|
|
439
|
+
return this.send(command, optionsOrCb);
|
|
440
|
+
}
|
|
441
|
+
}
|
|
367
442
|
updateMissionProfile(args, optionsOrCb, cb) {
|
|
368
443
|
const command = new UpdateMissionProfileCommand_1.UpdateMissionProfileCommand(args);
|
|
369
444
|
if (typeof optionsOrCb === "function") {
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreateEphemerisCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const models_0_1 = require("../models/models_0");
|
|
8
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
|
+
class CreateEphemerisCommand extends smithy_client_1.Command {
|
|
10
|
+
constructor(input) {
|
|
11
|
+
super();
|
|
12
|
+
this.input = input;
|
|
13
|
+
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateEphemerisCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "GroundStationClient";
|
|
28
|
+
const commandName = "CreateEphemerisCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: models_0_1.CreateEphemerisRequestFilterSensitiveLog,
|
|
34
|
+
outputFilterSensitiveLog: models_0_1.EphemerisIdResponseFilterSensitiveLog,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1CreateEphemerisCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1CreateEphemerisCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.CreateEphemerisCommand = CreateEphemerisCommand;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeleteEphemerisCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const models_0_1 = require("../models/models_0");
|
|
8
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
|
+
class DeleteEphemerisCommand extends smithy_client_1.Command {
|
|
10
|
+
constructor(input) {
|
|
11
|
+
super();
|
|
12
|
+
this.input = input;
|
|
13
|
+
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteEphemerisCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "GroundStationClient";
|
|
28
|
+
const commandName = "DeleteEphemerisCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: models_0_1.DeleteEphemerisRequestFilterSensitiveLog,
|
|
34
|
+
outputFilterSensitiveLog: models_0_1.EphemerisIdResponseFilterSensitiveLog,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1DeleteEphemerisCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1DeleteEphemerisCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.DeleteEphemerisCommand = DeleteEphemerisCommand;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DescribeEphemerisCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const models_0_1 = require("../models/models_0");
|
|
8
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
|
+
class DescribeEphemerisCommand extends smithy_client_1.Command {
|
|
10
|
+
constructor(input) {
|
|
11
|
+
super();
|
|
12
|
+
this.input = input;
|
|
13
|
+
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DescribeEphemerisCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "GroundStationClient";
|
|
28
|
+
const commandName = "DescribeEphemerisCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: models_0_1.DescribeEphemerisRequestFilterSensitiveLog,
|
|
34
|
+
outputFilterSensitiveLog: models_0_1.DescribeEphemerisResponseFilterSensitiveLog,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1DescribeEphemerisCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1DescribeEphemerisCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.DescribeEphemerisCommand = DescribeEphemerisCommand;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListEphemeridesCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const models_0_1 = require("../models/models_0");
|
|
8
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
|
+
class ListEphemeridesCommand extends smithy_client_1.Command {
|
|
10
|
+
constructor(input) {
|
|
11
|
+
super();
|
|
12
|
+
this.input = input;
|
|
13
|
+
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListEphemeridesCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "GroundStationClient";
|
|
28
|
+
const commandName = "ListEphemeridesCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: models_0_1.ListEphemeridesRequestFilterSensitiveLog,
|
|
34
|
+
outputFilterSensitiveLog: models_0_1.ListEphemeridesResponseFilterSensitiveLog,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1ListEphemeridesCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1ListEphemeridesCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.ListEphemeridesCommand = ListEphemeridesCommand;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateEphemerisCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const models_0_1 = require("../models/models_0");
|
|
8
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
|
+
class UpdateEphemerisCommand extends smithy_client_1.Command {
|
|
10
|
+
constructor(input) {
|
|
11
|
+
super();
|
|
12
|
+
this.input = input;
|
|
13
|
+
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateEphemerisCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "GroundStationClient";
|
|
28
|
+
const commandName = "UpdateEphemerisCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: models_0_1.UpdateEphemerisRequestFilterSensitiveLog,
|
|
34
|
+
outputFilterSensitiveLog: models_0_1.EphemerisIdResponseFilterSensitiveLog,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1UpdateEphemerisCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1UpdateEphemerisCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.UpdateEphemerisCommand = UpdateEphemerisCommand;
|
|
@@ -4,11 +4,14 @@ const tslib_1 = require("tslib");
|
|
|
4
4
|
tslib_1.__exportStar(require("./CancelContactCommand"), exports);
|
|
5
5
|
tslib_1.__exportStar(require("./CreateConfigCommand"), exports);
|
|
6
6
|
tslib_1.__exportStar(require("./CreateDataflowEndpointGroupCommand"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./CreateEphemerisCommand"), exports);
|
|
7
8
|
tslib_1.__exportStar(require("./CreateMissionProfileCommand"), exports);
|
|
8
9
|
tslib_1.__exportStar(require("./DeleteConfigCommand"), exports);
|
|
9
10
|
tslib_1.__exportStar(require("./DeleteDataflowEndpointGroupCommand"), exports);
|
|
11
|
+
tslib_1.__exportStar(require("./DeleteEphemerisCommand"), exports);
|
|
10
12
|
tslib_1.__exportStar(require("./DeleteMissionProfileCommand"), exports);
|
|
11
13
|
tslib_1.__exportStar(require("./DescribeContactCommand"), exports);
|
|
14
|
+
tslib_1.__exportStar(require("./DescribeEphemerisCommand"), exports);
|
|
12
15
|
tslib_1.__exportStar(require("./GetConfigCommand"), exports);
|
|
13
16
|
tslib_1.__exportStar(require("./GetDataflowEndpointGroupCommand"), exports);
|
|
14
17
|
tslib_1.__exportStar(require("./GetMinuteUsageCommand"), exports);
|
|
@@ -17,6 +20,7 @@ tslib_1.__exportStar(require("./GetSatelliteCommand"), exports);
|
|
|
17
20
|
tslib_1.__exportStar(require("./ListConfigsCommand"), exports);
|
|
18
21
|
tslib_1.__exportStar(require("./ListContactsCommand"), exports);
|
|
19
22
|
tslib_1.__exportStar(require("./ListDataflowEndpointGroupsCommand"), exports);
|
|
23
|
+
tslib_1.__exportStar(require("./ListEphemeridesCommand"), exports);
|
|
20
24
|
tslib_1.__exportStar(require("./ListGroundStationsCommand"), exports);
|
|
21
25
|
tslib_1.__exportStar(require("./ListMissionProfilesCommand"), exports);
|
|
22
26
|
tslib_1.__exportStar(require("./ListSatellitesCommand"), exports);
|
|
@@ -25,4 +29,5 @@ tslib_1.__exportStar(require("./ReserveContactCommand"), exports);
|
|
|
25
29
|
tslib_1.__exportStar(require("./TagResourceCommand"), exports);
|
|
26
30
|
tslib_1.__exportStar(require("./UntagResourceCommand"), exports);
|
|
27
31
|
tslib_1.__exportStar(require("./UpdateConfigCommand"), exports);
|
|
32
|
+
tslib_1.__exportStar(require("./UpdateEphemerisCommand"), exports);
|
|
28
33
|
tslib_1.__exportStar(require("./UpdateMissionProfileCommand"), exports);
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
3
|
+
exports.SecurityDetailsFilterSensitiveLog = exports.DataflowEndpointFilterSensitiveLog = exports.SocketAddressFilterSensitiveLog = exports.UpdateConfigRequestFilterSensitiveLog = exports.ListConfigsResponseFilterSensitiveLog = exports.ConfigListItemFilterSensitiveLog = exports.ListConfigsRequestFilterSensitiveLog = exports.GetConfigResponseFilterSensitiveLog = exports.GetConfigRequestFilterSensitiveLog = exports.DeleteConfigRequestFilterSensitiveLog = exports.CreateConfigRequestFilterSensitiveLog = exports.ConfigTypeDataFilterSensitiveLog = exports.UplinkEchoConfigFilterSensitiveLog = exports.TrackingConfigFilterSensitiveLog = exports.S3RecordingConfigFilterSensitiveLog = exports.DataflowEndpointConfigFilterSensitiveLog = exports.ConfigIdResponseFilterSensitiveLog = exports.ContactIdResponseFilterSensitiveLog = exports.CancelContactRequestFilterSensitiveLog = exports.AntennaUplinkConfigFilterSensitiveLog = exports.EirpFilterSensitiveLog = exports.UplinkSpectrumConfigFilterSensitiveLog = exports.AntennaDownlinkDemodDecodeConfigFilterSensitiveLog = exports.DemodulationConfigFilterSensitiveLog = exports.DecodeConfigFilterSensitiveLog = exports.AntennaDownlinkConfigFilterSensitiveLog = exports.SpectrumConfigFilterSensitiveLog = exports.FrequencyFilterSensitiveLog = exports.FrequencyBandwidthFilterSensitiveLog = exports.AntennaDemodDecodeDetailsFilterSensitiveLog = exports.EphemerisSource = exports.EphemerisTypeDescription = exports.EphemerisStatus = exports.EphemerisInvalidReason = exports.EphemerisData = exports.ContactStatus = exports.ConfigDetails = exports.EndpointStatus = exports.ResourceLimitExceededException = exports.ConfigTypeData = exports.Criticality = exports.ConfigCapabilityType = exports.ResourceNotFoundException = exports.InvalidParameterException = exports.DependencyException = exports.EirpUnits = exports.Polarization = exports.FrequencyUnits = exports.BandwidthUnits = exports.AngleUnits = void 0;
|
|
4
|
+
exports.GroundStationDataFilterSensitiveLog = exports.ListGroundStationsRequestFilterSensitiveLog = exports.GetSatelliteResponseFilterSensitiveLog = exports.GetSatelliteRequestFilterSensitiveLog = exports.GetMissionProfileResponseFilterSensitiveLog = exports.GetMissionProfileRequestFilterSensitiveLog = exports.GetMinuteUsageResponseFilterSensitiveLog = exports.GetMinuteUsageRequestFilterSensitiveLog = exports.EphemerisMetaDataFilterSensitiveLog = exports.UpdateEphemerisRequestFilterSensitiveLog = exports.ListEphemeridesResponseFilterSensitiveLog = exports.ListEphemeridesRequestFilterSensitiveLog = exports.EphemerisItemFilterSensitiveLog = exports.DescribeEphemerisResponseFilterSensitiveLog = exports.EphemerisTypeDescriptionFilterSensitiveLog = exports.EphemerisDescriptionFilterSensitiveLog = exports.DescribeEphemerisRequestFilterSensitiveLog = exports.DeleteMissionProfileRequestFilterSensitiveLog = exports.DeleteEphemerisRequestFilterSensitiveLog = exports.ListDataflowEndpointGroupsResponseFilterSensitiveLog = exports.DataflowEndpointListItemFilterSensitiveLog = exports.ListDataflowEndpointGroupsRequestFilterSensitiveLog = exports.GetDataflowEndpointGroupResponseFilterSensitiveLog = exports.GetDataflowEndpointGroupRequestFilterSensitiveLog = exports.DeleteDataflowEndpointGroupRequestFilterSensitiveLog = exports.MissionProfileIdResponseFilterSensitiveLog = exports.CreateMissionProfileRequestFilterSensitiveLog = exports.EphemerisIdResponseFilterSensitiveLog = exports.CreateEphemerisRequestFilterSensitiveLog = exports.EphemerisDataFilterSensitiveLog = exports.TLEEphemerisFilterSensitiveLog = exports.TLEDataFilterSensitiveLog = exports.TimeRangeFilterSensitiveLog = exports.OEMEphemerisFilterSensitiveLog = exports.S3ObjectFilterSensitiveLog = exports.DataflowEndpointGroupIdResponseFilterSensitiveLog = exports.CreateDataflowEndpointGroupRequestFilterSensitiveLog = exports.ReserveContactRequestFilterSensitiveLog = exports.ListContactsResponseFilterSensitiveLog = exports.ContactDataFilterSensitiveLog = exports.ListContactsRequestFilterSensitiveLog = exports.DescribeContactResponseFilterSensitiveLog = exports.ElevationFilterSensitiveLog = exports.DataflowDetailFilterSensitiveLog = exports.SourceFilterSensitiveLog = exports.DestinationFilterSensitiveLog = exports.DescribeContactRequestFilterSensitiveLog = exports.ConfigDetailsFilterSensitiveLog = exports.S3RecordingDetailsFilterSensitiveLog = exports.EndpointDetailsFilterSensitiveLog = void 0;
|
|
5
|
+
exports.UntagResourceResponseFilterSensitiveLog = exports.UntagResourceRequestFilterSensitiveLog = exports.TagResourceResponseFilterSensitiveLog = exports.TagResourceRequestFilterSensitiveLog = exports.ListSatellitesResponseFilterSensitiveLog = exports.SatelliteListItemFilterSensitiveLog = exports.ListSatellitesRequestFilterSensitiveLog = exports.UpdateMissionProfileRequestFilterSensitiveLog = exports.ListMissionProfilesResponseFilterSensitiveLog = exports.MissionProfileListItemFilterSensitiveLog = exports.ListMissionProfilesRequestFilterSensitiveLog = exports.ListTagsForResourceResponseFilterSensitiveLog = exports.ListTagsForResourceRequestFilterSensitiveLog = exports.ListGroundStationsResponseFilterSensitiveLog = void 0;
|
|
5
6
|
const GroundStationServiceException_1 = require("./GroundStationServiceException");
|
|
6
7
|
var AngleUnits;
|
|
7
8
|
(function (AngleUnits) {
|
|
@@ -157,6 +158,48 @@ var ContactStatus;
|
|
|
157
158
|
ContactStatus["SCHEDULED"] = "SCHEDULED";
|
|
158
159
|
ContactStatus["SCHEDULING"] = "SCHEDULING";
|
|
159
160
|
})(ContactStatus = exports.ContactStatus || (exports.ContactStatus = {}));
|
|
161
|
+
var EphemerisData;
|
|
162
|
+
(function (EphemerisData) {
|
|
163
|
+
EphemerisData.visit = (value, visitor) => {
|
|
164
|
+
if (value.tle !== undefined)
|
|
165
|
+
return visitor.tle(value.tle);
|
|
166
|
+
if (value.oem !== undefined)
|
|
167
|
+
return visitor.oem(value.oem);
|
|
168
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
169
|
+
};
|
|
170
|
+
})(EphemerisData = exports.EphemerisData || (exports.EphemerisData = {}));
|
|
171
|
+
var EphemerisInvalidReason;
|
|
172
|
+
(function (EphemerisInvalidReason) {
|
|
173
|
+
EphemerisInvalidReason["KMS_KEY_INVALID"] = "KMS_KEY_INVALID";
|
|
174
|
+
EphemerisInvalidReason["METADATA_INVALID"] = "METADATA_INVALID";
|
|
175
|
+
EphemerisInvalidReason["TIME_RANGE_INVALID"] = "TIME_RANGE_INVALID";
|
|
176
|
+
EphemerisInvalidReason["TRAJECTORY_INVALID"] = "TRAJECTORY_INVALID";
|
|
177
|
+
EphemerisInvalidReason["VALIDATION_ERROR"] = "VALIDATION_ERROR";
|
|
178
|
+
})(EphemerisInvalidReason = exports.EphemerisInvalidReason || (exports.EphemerisInvalidReason = {}));
|
|
179
|
+
var EphemerisStatus;
|
|
180
|
+
(function (EphemerisStatus) {
|
|
181
|
+
EphemerisStatus["DISABLED"] = "DISABLED";
|
|
182
|
+
EphemerisStatus["ENABLED"] = "ENABLED";
|
|
183
|
+
EphemerisStatus["ERROR"] = "ERROR";
|
|
184
|
+
EphemerisStatus["EXPIRED"] = "EXPIRED";
|
|
185
|
+
EphemerisStatus["INVALID"] = "INVALID";
|
|
186
|
+
EphemerisStatus["VALIDATING"] = "VALIDATING";
|
|
187
|
+
})(EphemerisStatus = exports.EphemerisStatus || (exports.EphemerisStatus = {}));
|
|
188
|
+
var EphemerisTypeDescription;
|
|
189
|
+
(function (EphemerisTypeDescription) {
|
|
190
|
+
EphemerisTypeDescription.visit = (value, visitor) => {
|
|
191
|
+
if (value.tle !== undefined)
|
|
192
|
+
return visitor.tle(value.tle);
|
|
193
|
+
if (value.oem !== undefined)
|
|
194
|
+
return visitor.oem(value.oem);
|
|
195
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
196
|
+
};
|
|
197
|
+
})(EphemerisTypeDescription = exports.EphemerisTypeDescription || (exports.EphemerisTypeDescription = {}));
|
|
198
|
+
var EphemerisSource;
|
|
199
|
+
(function (EphemerisSource) {
|
|
200
|
+
EphemerisSource["CUSTOMER_PROVIDED"] = "CUSTOMER_PROVIDED";
|
|
201
|
+
EphemerisSource["SPACE_TRACK"] = "SPACE_TRACK";
|
|
202
|
+
})(EphemerisSource = exports.EphemerisSource || (exports.EphemerisSource = {}));
|
|
160
203
|
const AntennaDemodDecodeDetailsFilterSensitiveLog = (obj) => ({
|
|
161
204
|
...obj,
|
|
162
205
|
});
|
|
@@ -369,6 +412,44 @@ const DataflowEndpointGroupIdResponseFilterSensitiveLog = (obj) => ({
|
|
|
369
412
|
...obj,
|
|
370
413
|
});
|
|
371
414
|
exports.DataflowEndpointGroupIdResponseFilterSensitiveLog = DataflowEndpointGroupIdResponseFilterSensitiveLog;
|
|
415
|
+
const S3ObjectFilterSensitiveLog = (obj) => ({
|
|
416
|
+
...obj,
|
|
417
|
+
});
|
|
418
|
+
exports.S3ObjectFilterSensitiveLog = S3ObjectFilterSensitiveLog;
|
|
419
|
+
const OEMEphemerisFilterSensitiveLog = (obj) => ({
|
|
420
|
+
...obj,
|
|
421
|
+
});
|
|
422
|
+
exports.OEMEphemerisFilterSensitiveLog = OEMEphemerisFilterSensitiveLog;
|
|
423
|
+
const TimeRangeFilterSensitiveLog = (obj) => ({
|
|
424
|
+
...obj,
|
|
425
|
+
});
|
|
426
|
+
exports.TimeRangeFilterSensitiveLog = TimeRangeFilterSensitiveLog;
|
|
427
|
+
const TLEDataFilterSensitiveLog = (obj) => ({
|
|
428
|
+
...obj,
|
|
429
|
+
});
|
|
430
|
+
exports.TLEDataFilterSensitiveLog = TLEDataFilterSensitiveLog;
|
|
431
|
+
const TLEEphemerisFilterSensitiveLog = (obj) => ({
|
|
432
|
+
...obj,
|
|
433
|
+
});
|
|
434
|
+
exports.TLEEphemerisFilterSensitiveLog = TLEEphemerisFilterSensitiveLog;
|
|
435
|
+
const EphemerisDataFilterSensitiveLog = (obj) => {
|
|
436
|
+
if (obj.tle !== undefined)
|
|
437
|
+
return { tle: (0, exports.TLEEphemerisFilterSensitiveLog)(obj.tle) };
|
|
438
|
+
if (obj.oem !== undefined)
|
|
439
|
+
return { oem: (0, exports.OEMEphemerisFilterSensitiveLog)(obj.oem) };
|
|
440
|
+
if (obj.$unknown !== undefined)
|
|
441
|
+
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
442
|
+
};
|
|
443
|
+
exports.EphemerisDataFilterSensitiveLog = EphemerisDataFilterSensitiveLog;
|
|
444
|
+
const CreateEphemerisRequestFilterSensitiveLog = (obj) => ({
|
|
445
|
+
...obj,
|
|
446
|
+
...(obj.ephemeris && { ephemeris: (0, exports.EphemerisDataFilterSensitiveLog)(obj.ephemeris) }),
|
|
447
|
+
});
|
|
448
|
+
exports.CreateEphemerisRequestFilterSensitiveLog = CreateEphemerisRequestFilterSensitiveLog;
|
|
449
|
+
const EphemerisIdResponseFilterSensitiveLog = (obj) => ({
|
|
450
|
+
...obj,
|
|
451
|
+
});
|
|
452
|
+
exports.EphemerisIdResponseFilterSensitiveLog = EphemerisIdResponseFilterSensitiveLog;
|
|
372
453
|
const CreateMissionProfileRequestFilterSensitiveLog = (obj) => ({
|
|
373
454
|
...obj,
|
|
374
455
|
});
|
|
@@ -401,10 +482,56 @@ const ListDataflowEndpointGroupsResponseFilterSensitiveLog = (obj) => ({
|
|
|
401
482
|
...obj,
|
|
402
483
|
});
|
|
403
484
|
exports.ListDataflowEndpointGroupsResponseFilterSensitiveLog = ListDataflowEndpointGroupsResponseFilterSensitiveLog;
|
|
485
|
+
const DeleteEphemerisRequestFilterSensitiveLog = (obj) => ({
|
|
486
|
+
...obj,
|
|
487
|
+
});
|
|
488
|
+
exports.DeleteEphemerisRequestFilterSensitiveLog = DeleteEphemerisRequestFilterSensitiveLog;
|
|
404
489
|
const DeleteMissionProfileRequestFilterSensitiveLog = (obj) => ({
|
|
405
490
|
...obj,
|
|
406
491
|
});
|
|
407
492
|
exports.DeleteMissionProfileRequestFilterSensitiveLog = DeleteMissionProfileRequestFilterSensitiveLog;
|
|
493
|
+
const DescribeEphemerisRequestFilterSensitiveLog = (obj) => ({
|
|
494
|
+
...obj,
|
|
495
|
+
});
|
|
496
|
+
exports.DescribeEphemerisRequestFilterSensitiveLog = DescribeEphemerisRequestFilterSensitiveLog;
|
|
497
|
+
const EphemerisDescriptionFilterSensitiveLog = (obj) => ({
|
|
498
|
+
...obj,
|
|
499
|
+
});
|
|
500
|
+
exports.EphemerisDescriptionFilterSensitiveLog = EphemerisDescriptionFilterSensitiveLog;
|
|
501
|
+
const EphemerisTypeDescriptionFilterSensitiveLog = (obj) => {
|
|
502
|
+
if (obj.tle !== undefined)
|
|
503
|
+
return { tle: (0, exports.EphemerisDescriptionFilterSensitiveLog)(obj.tle) };
|
|
504
|
+
if (obj.oem !== undefined)
|
|
505
|
+
return { oem: (0, exports.EphemerisDescriptionFilterSensitiveLog)(obj.oem) };
|
|
506
|
+
if (obj.$unknown !== undefined)
|
|
507
|
+
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
508
|
+
};
|
|
509
|
+
exports.EphemerisTypeDescriptionFilterSensitiveLog = EphemerisTypeDescriptionFilterSensitiveLog;
|
|
510
|
+
const DescribeEphemerisResponseFilterSensitiveLog = (obj) => ({
|
|
511
|
+
...obj,
|
|
512
|
+
...(obj.suppliedData && { suppliedData: (0, exports.EphemerisTypeDescriptionFilterSensitiveLog)(obj.suppliedData) }),
|
|
513
|
+
});
|
|
514
|
+
exports.DescribeEphemerisResponseFilterSensitiveLog = DescribeEphemerisResponseFilterSensitiveLog;
|
|
515
|
+
const EphemerisItemFilterSensitiveLog = (obj) => ({
|
|
516
|
+
...obj,
|
|
517
|
+
});
|
|
518
|
+
exports.EphemerisItemFilterSensitiveLog = EphemerisItemFilterSensitiveLog;
|
|
519
|
+
const ListEphemeridesRequestFilterSensitiveLog = (obj) => ({
|
|
520
|
+
...obj,
|
|
521
|
+
});
|
|
522
|
+
exports.ListEphemeridesRequestFilterSensitiveLog = ListEphemeridesRequestFilterSensitiveLog;
|
|
523
|
+
const ListEphemeridesResponseFilterSensitiveLog = (obj) => ({
|
|
524
|
+
...obj,
|
|
525
|
+
});
|
|
526
|
+
exports.ListEphemeridesResponseFilterSensitiveLog = ListEphemeridesResponseFilterSensitiveLog;
|
|
527
|
+
const UpdateEphemerisRequestFilterSensitiveLog = (obj) => ({
|
|
528
|
+
...obj,
|
|
529
|
+
});
|
|
530
|
+
exports.UpdateEphemerisRequestFilterSensitiveLog = UpdateEphemerisRequestFilterSensitiveLog;
|
|
531
|
+
const EphemerisMetaDataFilterSensitiveLog = (obj) => ({
|
|
532
|
+
...obj,
|
|
533
|
+
});
|
|
534
|
+
exports.EphemerisMetaDataFilterSensitiveLog = EphemerisMetaDataFilterSensitiveLog;
|
|
408
535
|
const GetMinuteUsageRequestFilterSensitiveLog = (obj) => ({
|
|
409
536
|
...obj,
|
|
410
537
|
});
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListEphemerides = void 0;
|
|
4
|
+
const ListEphemeridesCommand_1 = require("../commands/ListEphemeridesCommand");
|
|
5
|
+
const GroundStation_1 = require("../GroundStation");
|
|
6
|
+
const GroundStationClient_1 = require("../GroundStationClient");
|
|
7
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
|
+
return await client.send(new ListEphemeridesCommand_1.ListEphemeridesCommand(input), ...args);
|
|
9
|
+
};
|
|
10
|
+
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
+
return await client.listEphemerides(input, ...args);
|
|
12
|
+
};
|
|
13
|
+
async function* paginateListEphemerides(config, input, ...additionalArguments) {
|
|
14
|
+
let token = config.startingToken || undefined;
|
|
15
|
+
let hasNext = true;
|
|
16
|
+
let page;
|
|
17
|
+
while (hasNext) {
|
|
18
|
+
input.nextToken = token;
|
|
19
|
+
input["maxResults"] = config.pageSize;
|
|
20
|
+
if (config.client instanceof GroundStation_1.GroundStation) {
|
|
21
|
+
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
+
}
|
|
23
|
+
else if (config.client instanceof GroundStationClient_1.GroundStationClient) {
|
|
24
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
|
+
}
|
|
26
|
+
else {
|
|
27
|
+
throw new Error("Invalid client, expected GroundStation | GroundStationClient");
|
|
28
|
+
}
|
|
29
|
+
yield page;
|
|
30
|
+
const prevToken = token;
|
|
31
|
+
token = page.nextToken;
|
|
32
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
33
|
+
}
|
|
34
|
+
return undefined;
|
|
35
|
+
}
|
|
36
|
+
exports.paginateListEphemerides = paginateListEphemerides;
|
|
@@ -5,6 +5,7 @@ tslib_1.__exportStar(require("./Interfaces"), exports);
|
|
|
5
5
|
tslib_1.__exportStar(require("./ListConfigsPaginator"), exports);
|
|
6
6
|
tslib_1.__exportStar(require("./ListContactsPaginator"), exports);
|
|
7
7
|
tslib_1.__exportStar(require("./ListDataflowEndpointGroupsPaginator"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./ListEphemeridesPaginator"), exports);
|
|
8
9
|
tslib_1.__exportStar(require("./ListGroundStationsPaginator"), exports);
|
|
9
10
|
tslib_1.__exportStar(require("./ListMissionProfilesPaginator"), exports);
|
|
10
11
|
tslib_1.__exportStar(require("./ListSatellitesPaginator"), exports);
|