@aws-sdk/client-groundstation 3.489.0 → 3.495.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 +1 -77
- package/dist-cjs/GroundStationClient.js +1 -43
- package/dist-cjs/commands/CancelContactCommand.js +1 -28
- package/dist-cjs/commands/CreateConfigCommand.js +1 -28
- package/dist-cjs/commands/CreateDataflowEndpointGroupCommand.js +1 -28
- package/dist-cjs/commands/CreateEphemerisCommand.js +1 -28
- package/dist-cjs/commands/CreateMissionProfileCommand.js +1 -28
- package/dist-cjs/commands/DeleteConfigCommand.js +1 -28
- package/dist-cjs/commands/DeleteDataflowEndpointGroupCommand.js +1 -28
- package/dist-cjs/commands/DeleteEphemerisCommand.js +1 -28
- package/dist-cjs/commands/DeleteMissionProfileCommand.js +1 -28
- package/dist-cjs/commands/DescribeContactCommand.js +1 -28
- package/dist-cjs/commands/DescribeEphemerisCommand.js +1 -28
- package/dist-cjs/commands/GetAgentConfigurationCommand.js +1 -28
- package/dist-cjs/commands/GetConfigCommand.js +1 -28
- package/dist-cjs/commands/GetDataflowEndpointGroupCommand.js +1 -28
- package/dist-cjs/commands/GetMinuteUsageCommand.js +1 -28
- package/dist-cjs/commands/GetMissionProfileCommand.js +1 -28
- package/dist-cjs/commands/GetSatelliteCommand.js +1 -28
- package/dist-cjs/commands/ListConfigsCommand.js +1 -28
- package/dist-cjs/commands/ListContactsCommand.js +1 -28
- package/dist-cjs/commands/ListDataflowEndpointGroupsCommand.js +1 -28
- package/dist-cjs/commands/ListEphemeridesCommand.js +1 -28
- package/dist-cjs/commands/ListGroundStationsCommand.js +1 -28
- package/dist-cjs/commands/ListMissionProfilesCommand.js +1 -28
- package/dist-cjs/commands/ListSatellitesCommand.js +1 -28
- package/dist-cjs/commands/ListTagsForResourceCommand.js +1 -28
- package/dist-cjs/commands/RegisterAgentCommand.js +1 -28
- package/dist-cjs/commands/ReserveContactCommand.js +1 -28
- package/dist-cjs/commands/TagResourceCommand.js +1 -28
- package/dist-cjs/commands/UntagResourceCommand.js +1 -28
- package/dist-cjs/commands/UpdateAgentStatusCommand.js +1 -28
- package/dist-cjs/commands/UpdateConfigCommand.js +1 -28
- package/dist-cjs/commands/UpdateEphemerisCommand.js +1 -28
- package/dist-cjs/commands/UpdateMissionProfileCommand.js +1 -28
- package/dist-cjs/commands/index.js +1 -36
- package/dist-cjs/endpoint/EndpointParameters.js +1 -18
- package/dist-cjs/extensionConfiguration.js +1 -2
- package/dist-cjs/index.js +3379 -12
- package/dist-cjs/models/GroundStationServiceException.js +1 -12
- package/dist-cjs/models/index.js +1 -4
- package/dist-cjs/models/models_0.js +1 -223
- package/dist-cjs/pagination/Interfaces.js +1 -2
- package/dist-cjs/pagination/ListConfigsPaginator.js +1 -7
- package/dist-cjs/pagination/ListContactsPaginator.js +1 -7
- package/dist-cjs/pagination/ListDataflowEndpointGroupsPaginator.js +1 -7
- package/dist-cjs/pagination/ListEphemeridesPaginator.js +1 -7
- package/dist-cjs/pagination/ListGroundStationsPaginator.js +1 -7
- package/dist-cjs/pagination/ListMissionProfilesPaginator.js +1 -7
- package/dist-cjs/pagination/ListSatellitesPaginator.js +1 -7
- package/dist-cjs/pagination/index.js +1 -11
- package/dist-cjs/protocols/Aws_restJson1.js +1 -2230
- package/dist-cjs/runtimeExtensions.js +1 -22
- package/dist-cjs/waiters/index.js +1 -4
- package/dist-cjs/waiters/waitForContactScheduled.js +1 -45
- package/package.json +41 -41
package/dist-cjs/index.js
CHANGED
|
@@ -1,13 +1,3380 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
Object.defineProperty
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all)
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
+
}
|
|
17
|
+
return to;
|
|
18
|
+
};
|
|
19
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
|
+
|
|
21
|
+
// src/index.ts
|
|
22
|
+
var src_exports = {};
|
|
23
|
+
__export(src_exports, {
|
|
24
|
+
AgentStatus: () => AgentStatus,
|
|
25
|
+
AngleUnits: () => AngleUnits,
|
|
26
|
+
AuditResults: () => AuditResults,
|
|
27
|
+
BandwidthUnits: () => BandwidthUnits,
|
|
28
|
+
CancelContactCommand: () => CancelContactCommand,
|
|
29
|
+
CapabilityHealth: () => CapabilityHealth,
|
|
30
|
+
CapabilityHealthReason: () => CapabilityHealthReason,
|
|
31
|
+
ConfigCapabilityType: () => ConfigCapabilityType,
|
|
32
|
+
ConfigDetails: () => ConfigDetails,
|
|
33
|
+
ConfigTypeData: () => ConfigTypeData,
|
|
34
|
+
ContactStatus: () => ContactStatus,
|
|
35
|
+
CreateConfigCommand: () => CreateConfigCommand,
|
|
36
|
+
CreateDataflowEndpointGroupCommand: () => CreateDataflowEndpointGroupCommand,
|
|
37
|
+
CreateEphemerisCommand: () => CreateEphemerisCommand,
|
|
38
|
+
CreateMissionProfileCommand: () => CreateMissionProfileCommand,
|
|
39
|
+
Criticality: () => Criticality,
|
|
40
|
+
DeleteConfigCommand: () => DeleteConfigCommand,
|
|
41
|
+
DeleteDataflowEndpointGroupCommand: () => DeleteDataflowEndpointGroupCommand,
|
|
42
|
+
DeleteEphemerisCommand: () => DeleteEphemerisCommand,
|
|
43
|
+
DeleteMissionProfileCommand: () => DeleteMissionProfileCommand,
|
|
44
|
+
DependencyException: () => DependencyException,
|
|
45
|
+
DescribeContactCommand: () => DescribeContactCommand,
|
|
46
|
+
DescribeEphemerisCommand: () => DescribeEphemerisCommand,
|
|
47
|
+
EirpUnits: () => EirpUnits,
|
|
48
|
+
EndpointStatus: () => EndpointStatus,
|
|
49
|
+
EphemerisData: () => EphemerisData,
|
|
50
|
+
EphemerisInvalidReason: () => EphemerisInvalidReason,
|
|
51
|
+
EphemerisSource: () => EphemerisSource,
|
|
52
|
+
EphemerisStatus: () => EphemerisStatus,
|
|
53
|
+
EphemerisTypeDescription: () => EphemerisTypeDescription,
|
|
54
|
+
FrequencyUnits: () => FrequencyUnits,
|
|
55
|
+
GetAgentConfigurationCommand: () => GetAgentConfigurationCommand,
|
|
56
|
+
GetConfigCommand: () => GetConfigCommand,
|
|
57
|
+
GetDataflowEndpointGroupCommand: () => GetDataflowEndpointGroupCommand,
|
|
58
|
+
GetMinuteUsageCommand: () => GetMinuteUsageCommand,
|
|
59
|
+
GetMissionProfileCommand: () => GetMissionProfileCommand,
|
|
60
|
+
GetSatelliteCommand: () => GetSatelliteCommand,
|
|
61
|
+
GroundStation: () => GroundStation,
|
|
62
|
+
GroundStationClient: () => GroundStationClient,
|
|
63
|
+
GroundStationServiceException: () => GroundStationServiceException,
|
|
64
|
+
InvalidParameterException: () => InvalidParameterException,
|
|
65
|
+
KmsKey: () => KmsKey,
|
|
66
|
+
ListConfigsCommand: () => ListConfigsCommand,
|
|
67
|
+
ListContactsCommand: () => ListContactsCommand,
|
|
68
|
+
ListDataflowEndpointGroupsCommand: () => ListDataflowEndpointGroupsCommand,
|
|
69
|
+
ListEphemeridesCommand: () => ListEphemeridesCommand,
|
|
70
|
+
ListGroundStationsCommand: () => ListGroundStationsCommand,
|
|
71
|
+
ListMissionProfilesCommand: () => ListMissionProfilesCommand,
|
|
72
|
+
ListSatellitesCommand: () => ListSatellitesCommand,
|
|
73
|
+
ListTagsForResourceCommand: () => ListTagsForResourceCommand,
|
|
74
|
+
Polarization: () => Polarization,
|
|
75
|
+
RegisterAgentCommand: () => RegisterAgentCommand,
|
|
76
|
+
ReserveContactCommand: () => ReserveContactCommand,
|
|
77
|
+
ResourceLimitExceededException: () => ResourceLimitExceededException,
|
|
78
|
+
ResourceNotFoundException: () => ResourceNotFoundException,
|
|
79
|
+
TagResourceCommand: () => TagResourceCommand,
|
|
80
|
+
UntagResourceCommand: () => UntagResourceCommand,
|
|
81
|
+
UpdateAgentStatusCommand: () => UpdateAgentStatusCommand,
|
|
82
|
+
UpdateConfigCommand: () => UpdateConfigCommand,
|
|
83
|
+
UpdateEphemerisCommand: () => UpdateEphemerisCommand,
|
|
84
|
+
UpdateMissionProfileCommand: () => UpdateMissionProfileCommand,
|
|
85
|
+
__Client: () => import_smithy_client.Client,
|
|
86
|
+
paginateListConfigs: () => paginateListConfigs,
|
|
87
|
+
paginateListContacts: () => paginateListContacts,
|
|
88
|
+
paginateListDataflowEndpointGroups: () => paginateListDataflowEndpointGroups,
|
|
89
|
+
paginateListEphemerides: () => paginateListEphemerides,
|
|
90
|
+
paginateListGroundStations: () => paginateListGroundStations,
|
|
91
|
+
paginateListMissionProfiles: () => paginateListMissionProfiles,
|
|
92
|
+
paginateListSatellites: () => paginateListSatellites,
|
|
93
|
+
waitForContactScheduled: () => waitForContactScheduled,
|
|
94
|
+
waitUntilContactScheduled: () => waitUntilContactScheduled
|
|
95
|
+
});
|
|
96
|
+
module.exports = __toCommonJS(src_exports);
|
|
97
|
+
|
|
98
|
+
// src/GroundStationClient.ts
|
|
99
|
+
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
100
|
+
var import_middleware_logger = require("@aws-sdk/middleware-logger");
|
|
101
|
+
var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
|
|
102
|
+
var import_middleware_signing = require("@aws-sdk/middleware-signing");
|
|
103
|
+
var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
|
|
104
|
+
var import_config_resolver = require("@smithy/config-resolver");
|
|
105
|
+
var import_middleware_content_length = require("@smithy/middleware-content-length");
|
|
106
|
+
var import_middleware_endpoint = require("@smithy/middleware-endpoint");
|
|
107
|
+
var import_middleware_retry = require("@smithy/middleware-retry");
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
// src/endpoint/EndpointParameters.ts
|
|
111
|
+
var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
|
|
112
|
+
return {
|
|
113
|
+
...options,
|
|
114
|
+
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
115
|
+
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
116
|
+
defaultSigningName: "groundstation"
|
|
117
|
+
};
|
|
118
|
+
}, "resolveClientEndpointParameters");
|
|
119
|
+
var commonParams = {
|
|
120
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
121
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
122
|
+
Region: { type: "builtInParams", name: "region" },
|
|
123
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
|
|
124
|
+
};
|
|
125
|
+
|
|
126
|
+
// src/GroundStationClient.ts
|
|
127
|
+
var import_runtimeConfig = require("././runtimeConfig");
|
|
128
|
+
|
|
129
|
+
// src/runtimeExtensions.ts
|
|
130
|
+
var import_region_config_resolver = require("@aws-sdk/region-config-resolver");
|
|
131
|
+
var import_protocol_http = require("@smithy/protocol-http");
|
|
132
|
+
var import_smithy_client = require("@smithy/smithy-client");
|
|
133
|
+
var asPartial = /* @__PURE__ */ __name((t) => t, "asPartial");
|
|
134
|
+
var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
|
|
135
|
+
const extensionConfiguration = {
|
|
136
|
+
...asPartial((0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig)),
|
|
137
|
+
...asPartial((0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig)),
|
|
138
|
+
...asPartial((0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig))
|
|
139
|
+
};
|
|
140
|
+
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
141
|
+
return {
|
|
142
|
+
...runtimeConfig,
|
|
143
|
+
...(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
|
|
144
|
+
...(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
145
|
+
...(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration)
|
|
146
|
+
};
|
|
147
|
+
}, "resolveRuntimeExtensions");
|
|
148
|
+
|
|
149
|
+
// src/GroundStationClient.ts
|
|
150
|
+
var _GroundStationClient = class _GroundStationClient extends import_smithy_client.Client {
|
|
151
|
+
constructor(...[configuration]) {
|
|
152
|
+
const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
|
|
153
|
+
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
154
|
+
const _config_2 = (0, import_config_resolver.resolveRegionConfig)(_config_1);
|
|
155
|
+
const _config_3 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_2);
|
|
156
|
+
const _config_4 = (0, import_middleware_retry.resolveRetryConfig)(_config_3);
|
|
157
|
+
const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
|
|
158
|
+
const _config_6 = (0, import_middleware_signing.resolveAwsAuthConfig)(_config_5);
|
|
159
|
+
const _config_7 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_6);
|
|
160
|
+
const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
|
|
161
|
+
super(_config_8);
|
|
162
|
+
this.config = _config_8;
|
|
163
|
+
this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
|
|
164
|
+
this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
|
|
165
|
+
this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
|
|
166
|
+
this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
|
|
167
|
+
this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
|
|
168
|
+
this.middlewareStack.use((0, import_middleware_signing.getAwsAuthPlugin)(this.config));
|
|
169
|
+
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
170
|
+
}
|
|
171
|
+
/**
|
|
172
|
+
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
173
|
+
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
174
|
+
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
175
|
+
*/
|
|
176
|
+
destroy() {
|
|
177
|
+
super.destroy();
|
|
178
|
+
}
|
|
179
|
+
};
|
|
180
|
+
__name(_GroundStationClient, "GroundStationClient");
|
|
181
|
+
var GroundStationClient = _GroundStationClient;
|
|
182
|
+
|
|
183
|
+
// src/GroundStation.ts
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
// src/commands/CancelContactCommand.ts
|
|
187
|
+
|
|
188
|
+
var import_middleware_serde = require("@smithy/middleware-serde");
|
|
189
|
+
|
|
190
|
+
var import_types = require("@smithy/types");
|
|
191
|
+
|
|
192
|
+
// src/protocols/Aws_restJson1.ts
|
|
193
|
+
var import_core = require("@aws-sdk/core");
|
|
194
|
+
var import_core2 = require("@smithy/core");
|
|
195
|
+
|
|
196
|
+
|
|
197
|
+
// src/models/GroundStationServiceException.ts
|
|
198
|
+
|
|
199
|
+
var _GroundStationServiceException = class _GroundStationServiceException extends import_smithy_client.ServiceException {
|
|
200
|
+
/**
|
|
201
|
+
* @internal
|
|
202
|
+
*/
|
|
203
|
+
constructor(options) {
|
|
204
|
+
super(options);
|
|
205
|
+
Object.setPrototypeOf(this, _GroundStationServiceException.prototype);
|
|
206
|
+
}
|
|
207
|
+
};
|
|
208
|
+
__name(_GroundStationServiceException, "GroundStationServiceException");
|
|
209
|
+
var GroundStationServiceException = _GroundStationServiceException;
|
|
210
|
+
|
|
211
|
+
// src/models/models_0.ts
|
|
212
|
+
var _DependencyException = class _DependencyException extends GroundStationServiceException {
|
|
213
|
+
/**
|
|
214
|
+
* @internal
|
|
215
|
+
*/
|
|
216
|
+
constructor(opts) {
|
|
217
|
+
super({
|
|
218
|
+
name: "DependencyException",
|
|
219
|
+
$fault: "server",
|
|
220
|
+
...opts
|
|
221
|
+
});
|
|
222
|
+
this.name = "DependencyException";
|
|
223
|
+
this.$fault = "server";
|
|
224
|
+
Object.setPrototypeOf(this, _DependencyException.prototype);
|
|
225
|
+
this.parameterName = opts.parameterName;
|
|
226
|
+
}
|
|
227
|
+
};
|
|
228
|
+
__name(_DependencyException, "DependencyException");
|
|
229
|
+
var DependencyException = _DependencyException;
|
|
230
|
+
var _InvalidParameterException = class _InvalidParameterException extends GroundStationServiceException {
|
|
231
|
+
/**
|
|
232
|
+
* @internal
|
|
233
|
+
*/
|
|
234
|
+
constructor(opts) {
|
|
235
|
+
super({
|
|
236
|
+
name: "InvalidParameterException",
|
|
237
|
+
$fault: "client",
|
|
238
|
+
...opts
|
|
239
|
+
});
|
|
240
|
+
this.name = "InvalidParameterException";
|
|
241
|
+
this.$fault = "client";
|
|
242
|
+
Object.setPrototypeOf(this, _InvalidParameterException.prototype);
|
|
243
|
+
this.parameterName = opts.parameterName;
|
|
244
|
+
}
|
|
245
|
+
};
|
|
246
|
+
__name(_InvalidParameterException, "InvalidParameterException");
|
|
247
|
+
var InvalidParameterException = _InvalidParameterException;
|
|
248
|
+
var _ResourceNotFoundException = class _ResourceNotFoundException extends GroundStationServiceException {
|
|
249
|
+
/**
|
|
250
|
+
* @internal
|
|
251
|
+
*/
|
|
252
|
+
constructor(opts) {
|
|
253
|
+
super({
|
|
254
|
+
name: "ResourceNotFoundException",
|
|
255
|
+
$fault: "client",
|
|
256
|
+
...opts
|
|
257
|
+
});
|
|
258
|
+
this.name = "ResourceNotFoundException";
|
|
259
|
+
this.$fault = "client";
|
|
260
|
+
Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
|
|
261
|
+
}
|
|
262
|
+
};
|
|
263
|
+
__name(_ResourceNotFoundException, "ResourceNotFoundException");
|
|
264
|
+
var ResourceNotFoundException = _ResourceNotFoundException;
|
|
265
|
+
var AgentStatus = {
|
|
266
|
+
ACTIVE: "ACTIVE",
|
|
267
|
+
FAILED: "FAILED",
|
|
268
|
+
INACTIVE: "INACTIVE",
|
|
269
|
+
SUCCESS: "SUCCESS"
|
|
270
|
+
};
|
|
271
|
+
var AngleUnits = {
|
|
272
|
+
DEGREE_ANGLE: "DEGREE_ANGLE",
|
|
273
|
+
RADIAN: "RADIAN"
|
|
274
|
+
};
|
|
275
|
+
var BandwidthUnits = {
|
|
276
|
+
GHZ: "GHz",
|
|
277
|
+
KHZ: "kHz",
|
|
278
|
+
MHZ: "MHz"
|
|
279
|
+
};
|
|
280
|
+
var FrequencyUnits = {
|
|
281
|
+
GHZ: "GHz",
|
|
282
|
+
KHZ: "kHz",
|
|
283
|
+
MHZ: "MHz"
|
|
284
|
+
};
|
|
285
|
+
var Polarization = {
|
|
286
|
+
LEFT_HAND: "LEFT_HAND",
|
|
287
|
+
NONE: "NONE",
|
|
288
|
+
RIGHT_HAND: "RIGHT_HAND"
|
|
289
|
+
};
|
|
290
|
+
var EirpUnits = {
|
|
291
|
+
DBW: "dBW"
|
|
292
|
+
};
|
|
293
|
+
var AuditResults = {
|
|
294
|
+
HEALTHY: "HEALTHY",
|
|
295
|
+
UNHEALTHY: "UNHEALTHY"
|
|
296
|
+
};
|
|
297
|
+
var CapabilityHealth = {
|
|
298
|
+
HEALTHY: "HEALTHY",
|
|
299
|
+
UNHEALTHY: "UNHEALTHY"
|
|
300
|
+
};
|
|
301
|
+
var CapabilityHealthReason = {
|
|
302
|
+
DATAPLANE_FAILURE: "DATAPLANE_FAILURE",
|
|
303
|
+
HEALTHY: "HEALTHY",
|
|
304
|
+
INITIALIZING_DATAPLANE: "INITIALIZING_DATAPLANE",
|
|
305
|
+
INVALID_IP_OWNERSHIP: "INVALID_IP_OWNERSHIP",
|
|
306
|
+
NOT_AUTHORIZED_TO_CREATE_SLR: "NOT_AUTHORIZED_TO_CREATE_SLR",
|
|
307
|
+
NO_REGISTERED_AGENT: "NO_REGISTERED_AGENT",
|
|
308
|
+
UNVERIFIED_IP_OWNERSHIP: "UNVERIFIED_IP_OWNERSHIP"
|
|
309
|
+
};
|
|
310
|
+
var ConfigCapabilityType = {
|
|
311
|
+
ANTENNA_DOWNLINK: "antenna-downlink",
|
|
312
|
+
ANTENNA_DOWNLINK_DEMOD_DECODE: "antenna-downlink-demod-decode",
|
|
313
|
+
ANTENNA_UPLINK: "antenna-uplink",
|
|
314
|
+
DATAFLOW_ENDPOINT: "dataflow-endpoint",
|
|
315
|
+
S3_RECORDING: "s3-recording",
|
|
316
|
+
TRACKING: "tracking",
|
|
317
|
+
UPLINK_ECHO: "uplink-echo"
|
|
318
|
+
};
|
|
319
|
+
var Criticality = {
|
|
320
|
+
PREFERRED: "PREFERRED",
|
|
321
|
+
REMOVED: "REMOVED",
|
|
322
|
+
REQUIRED: "REQUIRED"
|
|
323
|
+
};
|
|
324
|
+
var ConfigTypeData;
|
|
325
|
+
((ConfigTypeData2) => {
|
|
326
|
+
ConfigTypeData2.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
327
|
+
if (value.antennaDownlinkConfig !== void 0)
|
|
328
|
+
return visitor.antennaDownlinkConfig(value.antennaDownlinkConfig);
|
|
329
|
+
if (value.trackingConfig !== void 0)
|
|
330
|
+
return visitor.trackingConfig(value.trackingConfig);
|
|
331
|
+
if (value.dataflowEndpointConfig !== void 0)
|
|
332
|
+
return visitor.dataflowEndpointConfig(value.dataflowEndpointConfig);
|
|
333
|
+
if (value.antennaDownlinkDemodDecodeConfig !== void 0)
|
|
334
|
+
return visitor.antennaDownlinkDemodDecodeConfig(value.antennaDownlinkDemodDecodeConfig);
|
|
335
|
+
if (value.antennaUplinkConfig !== void 0)
|
|
336
|
+
return visitor.antennaUplinkConfig(value.antennaUplinkConfig);
|
|
337
|
+
if (value.uplinkEchoConfig !== void 0)
|
|
338
|
+
return visitor.uplinkEchoConfig(value.uplinkEchoConfig);
|
|
339
|
+
if (value.s3RecordingConfig !== void 0)
|
|
340
|
+
return visitor.s3RecordingConfig(value.s3RecordingConfig);
|
|
341
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
342
|
+
}, "visit");
|
|
343
|
+
})(ConfigTypeData || (ConfigTypeData = {}));
|
|
344
|
+
var _ResourceLimitExceededException = class _ResourceLimitExceededException extends GroundStationServiceException {
|
|
345
|
+
/**
|
|
346
|
+
* @internal
|
|
347
|
+
*/
|
|
348
|
+
constructor(opts) {
|
|
349
|
+
super({
|
|
350
|
+
name: "ResourceLimitExceededException",
|
|
351
|
+
$fault: "client",
|
|
352
|
+
...opts
|
|
353
|
+
});
|
|
354
|
+
this.name = "ResourceLimitExceededException";
|
|
355
|
+
this.$fault = "client";
|
|
356
|
+
Object.setPrototypeOf(this, _ResourceLimitExceededException.prototype);
|
|
357
|
+
this.parameterName = opts.parameterName;
|
|
358
|
+
}
|
|
359
|
+
};
|
|
360
|
+
__name(_ResourceLimitExceededException, "ResourceLimitExceededException");
|
|
361
|
+
var ResourceLimitExceededException = _ResourceLimitExceededException;
|
|
362
|
+
var EndpointStatus = {
|
|
363
|
+
created: "created",
|
|
364
|
+
creating: "creating",
|
|
365
|
+
deleted: "deleted",
|
|
366
|
+
deleting: "deleting",
|
|
367
|
+
failed: "failed"
|
|
368
|
+
};
|
|
369
|
+
var ConfigDetails;
|
|
370
|
+
((ConfigDetails2) => {
|
|
371
|
+
ConfigDetails2.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
372
|
+
if (value.endpointDetails !== void 0)
|
|
373
|
+
return visitor.endpointDetails(value.endpointDetails);
|
|
374
|
+
if (value.antennaDemodDecodeDetails !== void 0)
|
|
375
|
+
return visitor.antennaDemodDecodeDetails(value.antennaDemodDecodeDetails);
|
|
376
|
+
if (value.s3RecordingDetails !== void 0)
|
|
377
|
+
return visitor.s3RecordingDetails(value.s3RecordingDetails);
|
|
378
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
379
|
+
}, "visit");
|
|
380
|
+
})(ConfigDetails || (ConfigDetails = {}));
|
|
381
|
+
var ContactStatus = {
|
|
382
|
+
AVAILABLE: "AVAILABLE",
|
|
383
|
+
AWS_CANCELLED: "AWS_CANCELLED",
|
|
384
|
+
AWS_FAILED: "AWS_FAILED",
|
|
385
|
+
CANCELLED: "CANCELLED",
|
|
386
|
+
CANCELLING: "CANCELLING",
|
|
387
|
+
COMPLETED: "COMPLETED",
|
|
388
|
+
FAILED: "FAILED",
|
|
389
|
+
FAILED_TO_SCHEDULE: "FAILED_TO_SCHEDULE",
|
|
390
|
+
PASS: "PASS",
|
|
391
|
+
POSTPASS: "POSTPASS",
|
|
392
|
+
PREPASS: "PREPASS",
|
|
393
|
+
SCHEDULED: "SCHEDULED",
|
|
394
|
+
SCHEDULING: "SCHEDULING"
|
|
395
|
+
};
|
|
396
|
+
var EphemerisData;
|
|
397
|
+
((EphemerisData2) => {
|
|
398
|
+
EphemerisData2.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
399
|
+
if (value.tle !== void 0)
|
|
400
|
+
return visitor.tle(value.tle);
|
|
401
|
+
if (value.oem !== void 0)
|
|
402
|
+
return visitor.oem(value.oem);
|
|
403
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
404
|
+
}, "visit");
|
|
405
|
+
})(EphemerisData || (EphemerisData = {}));
|
|
406
|
+
var KmsKey;
|
|
407
|
+
((KmsKey3) => {
|
|
408
|
+
KmsKey3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
409
|
+
if (value.kmsKeyArn !== void 0)
|
|
410
|
+
return visitor.kmsKeyArn(value.kmsKeyArn);
|
|
411
|
+
if (value.kmsAliasArn !== void 0)
|
|
412
|
+
return visitor.kmsAliasArn(value.kmsAliasArn);
|
|
413
|
+
if (value.kmsAliasName !== void 0)
|
|
414
|
+
return visitor.kmsAliasName(value.kmsAliasName);
|
|
415
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
416
|
+
}, "visit");
|
|
417
|
+
})(KmsKey || (KmsKey = {}));
|
|
418
|
+
var EphemerisInvalidReason = {
|
|
419
|
+
/**
|
|
420
|
+
* Provided KMS key is invalid
|
|
421
|
+
*/
|
|
422
|
+
KMS_KEY_INVALID: "KMS_KEY_INVALID",
|
|
423
|
+
/**
|
|
424
|
+
* Provided spacecraft identifiers such as spacecraft NORAD Id are invalid
|
|
425
|
+
*/
|
|
426
|
+
METADATA_INVALID: "METADATA_INVALID",
|
|
427
|
+
/**
|
|
428
|
+
* Start, end, or expiration time(s) are invalid for the provided ephemeris
|
|
429
|
+
*/
|
|
430
|
+
TIME_RANGE_INVALID: "TIME_RANGE_INVALID",
|
|
431
|
+
/**
|
|
432
|
+
* Provided ephemeris defines invalid spacecraft trajectory
|
|
433
|
+
*/
|
|
434
|
+
TRAJECTORY_INVALID: "TRAJECTORY_INVALID",
|
|
435
|
+
/**
|
|
436
|
+
* Internal Service Error occurred while processing ephemeris
|
|
437
|
+
*/
|
|
438
|
+
VALIDATION_ERROR: "VALIDATION_ERROR"
|
|
439
|
+
};
|
|
440
|
+
var EphemerisStatus = {
|
|
441
|
+
DISABLED: "DISABLED",
|
|
442
|
+
ENABLED: "ENABLED",
|
|
443
|
+
ERROR: "ERROR",
|
|
444
|
+
EXPIRED: "EXPIRED",
|
|
445
|
+
INVALID: "INVALID",
|
|
446
|
+
VALIDATING: "VALIDATING"
|
|
447
|
+
};
|
|
448
|
+
var EphemerisTypeDescription;
|
|
449
|
+
((EphemerisTypeDescription2) => {
|
|
450
|
+
EphemerisTypeDescription2.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
451
|
+
if (value.tle !== void 0)
|
|
452
|
+
return visitor.tle(value.tle);
|
|
453
|
+
if (value.oem !== void 0)
|
|
454
|
+
return visitor.oem(value.oem);
|
|
455
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
456
|
+
}, "visit");
|
|
457
|
+
})(EphemerisTypeDescription || (EphemerisTypeDescription = {}));
|
|
458
|
+
var EphemerisSource = {
|
|
459
|
+
CUSTOMER_PROVIDED: "CUSTOMER_PROVIDED",
|
|
460
|
+
SPACE_TRACK: "SPACE_TRACK"
|
|
461
|
+
};
|
|
462
|
+
|
|
463
|
+
// src/protocols/Aws_restJson1.ts
|
|
464
|
+
var se_CancelContactCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
465
|
+
const b = (0, import_core2.requestBuilder)(input, context);
|
|
466
|
+
const headers = {};
|
|
467
|
+
b.bp("/contact/{contactId}");
|
|
468
|
+
b.p("contactId", () => input.contactId, "{contactId}", false);
|
|
469
|
+
let body;
|
|
470
|
+
b.m("DELETE").h(headers).b(body);
|
|
471
|
+
return b.build();
|
|
472
|
+
}, "se_CancelContactCommand");
|
|
473
|
+
var se_CreateConfigCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
474
|
+
const b = (0, import_core2.requestBuilder)(input, context);
|
|
475
|
+
const headers = {
|
|
476
|
+
"content-type": "application/json"
|
|
477
|
+
};
|
|
478
|
+
b.bp("/config");
|
|
479
|
+
let body;
|
|
480
|
+
body = JSON.stringify(
|
|
481
|
+
(0, import_smithy_client.take)(input, {
|
|
482
|
+
configData: (_) => se_ConfigTypeData(_, context),
|
|
483
|
+
name: [],
|
|
484
|
+
tags: (_) => (0, import_smithy_client._json)(_)
|
|
485
|
+
})
|
|
486
|
+
);
|
|
487
|
+
b.m("POST").h(headers).b(body);
|
|
488
|
+
return b.build();
|
|
489
|
+
}, "se_CreateConfigCommand");
|
|
490
|
+
var se_CreateDataflowEndpointGroupCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
491
|
+
const b = (0, import_core2.requestBuilder)(input, context);
|
|
492
|
+
const headers = {
|
|
493
|
+
"content-type": "application/json"
|
|
494
|
+
};
|
|
495
|
+
b.bp("/dataflowEndpointGroup");
|
|
496
|
+
let body;
|
|
497
|
+
body = JSON.stringify(
|
|
498
|
+
(0, import_smithy_client.take)(input, {
|
|
499
|
+
contactPostPassDurationSeconds: [],
|
|
500
|
+
contactPrePassDurationSeconds: [],
|
|
501
|
+
endpointDetails: (_) => (0, import_smithy_client._json)(_),
|
|
502
|
+
tags: (_) => (0, import_smithy_client._json)(_)
|
|
503
|
+
})
|
|
504
|
+
);
|
|
505
|
+
b.m("POST").h(headers).b(body);
|
|
506
|
+
return b.build();
|
|
507
|
+
}, "se_CreateDataflowEndpointGroupCommand");
|
|
508
|
+
var se_CreateEphemerisCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
509
|
+
const b = (0, import_core2.requestBuilder)(input, context);
|
|
510
|
+
const headers = {
|
|
511
|
+
"content-type": "application/json"
|
|
512
|
+
};
|
|
513
|
+
b.bp("/ephemeris");
|
|
514
|
+
let body;
|
|
515
|
+
body = JSON.stringify(
|
|
516
|
+
(0, import_smithy_client.take)(input, {
|
|
517
|
+
enabled: [],
|
|
518
|
+
ephemeris: (_) => se_EphemerisData(_, context),
|
|
519
|
+
expirationTime: (_) => Math.round(_.getTime() / 1e3),
|
|
520
|
+
kmsKeyArn: [],
|
|
521
|
+
name: [],
|
|
522
|
+
priority: [],
|
|
523
|
+
satelliteId: [],
|
|
524
|
+
tags: (_) => (0, import_smithy_client._json)(_)
|
|
525
|
+
})
|
|
526
|
+
);
|
|
527
|
+
b.m("POST").h(headers).b(body);
|
|
528
|
+
return b.build();
|
|
529
|
+
}, "se_CreateEphemerisCommand");
|
|
530
|
+
var se_CreateMissionProfileCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
531
|
+
const b = (0, import_core2.requestBuilder)(input, context);
|
|
532
|
+
const headers = {
|
|
533
|
+
"content-type": "application/json"
|
|
534
|
+
};
|
|
535
|
+
b.bp("/missionprofile");
|
|
536
|
+
let body;
|
|
537
|
+
body = JSON.stringify(
|
|
538
|
+
(0, import_smithy_client.take)(input, {
|
|
539
|
+
contactPostPassDurationSeconds: [],
|
|
540
|
+
contactPrePassDurationSeconds: [],
|
|
541
|
+
dataflowEdges: (_) => (0, import_smithy_client._json)(_),
|
|
542
|
+
minimumViableContactDurationSeconds: [],
|
|
543
|
+
name: [],
|
|
544
|
+
streamsKmsKey: (_) => (0, import_smithy_client._json)(_),
|
|
545
|
+
streamsKmsRole: [],
|
|
546
|
+
tags: (_) => (0, import_smithy_client._json)(_),
|
|
547
|
+
trackingConfigArn: []
|
|
548
|
+
})
|
|
549
|
+
);
|
|
550
|
+
b.m("POST").h(headers).b(body);
|
|
551
|
+
return b.build();
|
|
552
|
+
}, "se_CreateMissionProfileCommand");
|
|
553
|
+
var se_DeleteConfigCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
554
|
+
const b = (0, import_core2.requestBuilder)(input, context);
|
|
555
|
+
const headers = {};
|
|
556
|
+
b.bp("/config/{configType}/{configId}");
|
|
557
|
+
b.p("configId", () => input.configId, "{configId}", false);
|
|
558
|
+
b.p("configType", () => input.configType, "{configType}", false);
|
|
559
|
+
let body;
|
|
560
|
+
b.m("DELETE").h(headers).b(body);
|
|
561
|
+
return b.build();
|
|
562
|
+
}, "se_DeleteConfigCommand");
|
|
563
|
+
var se_DeleteDataflowEndpointGroupCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
564
|
+
const b = (0, import_core2.requestBuilder)(input, context);
|
|
565
|
+
const headers = {};
|
|
566
|
+
b.bp("/dataflowEndpointGroup/{dataflowEndpointGroupId}");
|
|
567
|
+
b.p("dataflowEndpointGroupId", () => input.dataflowEndpointGroupId, "{dataflowEndpointGroupId}", false);
|
|
568
|
+
let body;
|
|
569
|
+
b.m("DELETE").h(headers).b(body);
|
|
570
|
+
return b.build();
|
|
571
|
+
}, "se_DeleteDataflowEndpointGroupCommand");
|
|
572
|
+
var se_DeleteEphemerisCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
573
|
+
const b = (0, import_core2.requestBuilder)(input, context);
|
|
574
|
+
const headers = {};
|
|
575
|
+
b.bp("/ephemeris/{ephemerisId}");
|
|
576
|
+
b.p("ephemerisId", () => input.ephemerisId, "{ephemerisId}", false);
|
|
577
|
+
let body;
|
|
578
|
+
b.m("DELETE").h(headers).b(body);
|
|
579
|
+
return b.build();
|
|
580
|
+
}, "se_DeleteEphemerisCommand");
|
|
581
|
+
var se_DeleteMissionProfileCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
582
|
+
const b = (0, import_core2.requestBuilder)(input, context);
|
|
583
|
+
const headers = {};
|
|
584
|
+
b.bp("/missionprofile/{missionProfileId}");
|
|
585
|
+
b.p("missionProfileId", () => input.missionProfileId, "{missionProfileId}", false);
|
|
586
|
+
let body;
|
|
587
|
+
b.m("DELETE").h(headers).b(body);
|
|
588
|
+
return b.build();
|
|
589
|
+
}, "se_DeleteMissionProfileCommand");
|
|
590
|
+
var se_DescribeContactCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
591
|
+
const b = (0, import_core2.requestBuilder)(input, context);
|
|
592
|
+
const headers = {};
|
|
593
|
+
b.bp("/contact/{contactId}");
|
|
594
|
+
b.p("contactId", () => input.contactId, "{contactId}", false);
|
|
595
|
+
let body;
|
|
596
|
+
b.m("GET").h(headers).b(body);
|
|
597
|
+
return b.build();
|
|
598
|
+
}, "se_DescribeContactCommand");
|
|
599
|
+
var se_DescribeEphemerisCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
600
|
+
const b = (0, import_core2.requestBuilder)(input, context);
|
|
601
|
+
const headers = {};
|
|
602
|
+
b.bp("/ephemeris/{ephemerisId}");
|
|
603
|
+
b.p("ephemerisId", () => input.ephemerisId, "{ephemerisId}", false);
|
|
604
|
+
let body;
|
|
605
|
+
b.m("GET").h(headers).b(body);
|
|
606
|
+
return b.build();
|
|
607
|
+
}, "se_DescribeEphemerisCommand");
|
|
608
|
+
var se_GetAgentConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
609
|
+
const b = (0, import_core2.requestBuilder)(input, context);
|
|
610
|
+
const headers = {};
|
|
611
|
+
b.bp("/agent/{agentId}/configuration");
|
|
612
|
+
b.p("agentId", () => input.agentId, "{agentId}", false);
|
|
613
|
+
let body;
|
|
614
|
+
b.m("GET").h(headers).b(body);
|
|
615
|
+
return b.build();
|
|
616
|
+
}, "se_GetAgentConfigurationCommand");
|
|
617
|
+
var se_GetConfigCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
618
|
+
const b = (0, import_core2.requestBuilder)(input, context);
|
|
619
|
+
const headers = {};
|
|
620
|
+
b.bp("/config/{configType}/{configId}");
|
|
621
|
+
b.p("configId", () => input.configId, "{configId}", false);
|
|
622
|
+
b.p("configType", () => input.configType, "{configType}", false);
|
|
623
|
+
let body;
|
|
624
|
+
b.m("GET").h(headers).b(body);
|
|
625
|
+
return b.build();
|
|
626
|
+
}, "se_GetConfigCommand");
|
|
627
|
+
var se_GetDataflowEndpointGroupCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
628
|
+
const b = (0, import_core2.requestBuilder)(input, context);
|
|
629
|
+
const headers = {};
|
|
630
|
+
b.bp("/dataflowEndpointGroup/{dataflowEndpointGroupId}");
|
|
631
|
+
b.p("dataflowEndpointGroupId", () => input.dataflowEndpointGroupId, "{dataflowEndpointGroupId}", false);
|
|
632
|
+
let body;
|
|
633
|
+
b.m("GET").h(headers).b(body);
|
|
634
|
+
return b.build();
|
|
635
|
+
}, "se_GetDataflowEndpointGroupCommand");
|
|
636
|
+
var se_GetMinuteUsageCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
637
|
+
const b = (0, import_core2.requestBuilder)(input, context);
|
|
638
|
+
const headers = {
|
|
639
|
+
"content-type": "application/json"
|
|
640
|
+
};
|
|
641
|
+
b.bp("/minute-usage");
|
|
642
|
+
let body;
|
|
643
|
+
body = JSON.stringify(
|
|
644
|
+
(0, import_smithy_client.take)(input, {
|
|
645
|
+
month: [],
|
|
646
|
+
year: []
|
|
647
|
+
})
|
|
648
|
+
);
|
|
649
|
+
b.m("POST").h(headers).b(body);
|
|
650
|
+
return b.build();
|
|
651
|
+
}, "se_GetMinuteUsageCommand");
|
|
652
|
+
var se_GetMissionProfileCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
653
|
+
const b = (0, import_core2.requestBuilder)(input, context);
|
|
654
|
+
const headers = {};
|
|
655
|
+
b.bp("/missionprofile/{missionProfileId}");
|
|
656
|
+
b.p("missionProfileId", () => input.missionProfileId, "{missionProfileId}", false);
|
|
657
|
+
let body;
|
|
658
|
+
b.m("GET").h(headers).b(body);
|
|
659
|
+
return b.build();
|
|
660
|
+
}, "se_GetMissionProfileCommand");
|
|
661
|
+
var se_GetSatelliteCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
662
|
+
const b = (0, import_core2.requestBuilder)(input, context);
|
|
663
|
+
const headers = {};
|
|
664
|
+
b.bp("/satellite/{satelliteId}");
|
|
665
|
+
b.p("satelliteId", () => input.satelliteId, "{satelliteId}", false);
|
|
666
|
+
let body;
|
|
667
|
+
b.m("GET").h(headers).b(body);
|
|
668
|
+
return b.build();
|
|
669
|
+
}, "se_GetSatelliteCommand");
|
|
670
|
+
var se_ListConfigsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
671
|
+
const b = (0, import_core2.requestBuilder)(input, context);
|
|
672
|
+
const headers = {};
|
|
673
|
+
b.bp("/config");
|
|
674
|
+
const query = (0, import_smithy_client.map)({
|
|
675
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
676
|
+
[_nT]: [, input[_nT]]
|
|
677
|
+
});
|
|
678
|
+
let body;
|
|
679
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
680
|
+
return b.build();
|
|
681
|
+
}, "se_ListConfigsCommand");
|
|
682
|
+
var se_ListContactsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
683
|
+
const b = (0, import_core2.requestBuilder)(input, context);
|
|
684
|
+
const headers = {
|
|
685
|
+
"content-type": "application/json"
|
|
686
|
+
};
|
|
687
|
+
b.bp("/contacts");
|
|
688
|
+
let body;
|
|
689
|
+
body = JSON.stringify(
|
|
690
|
+
(0, import_smithy_client.take)(input, {
|
|
691
|
+
endTime: (_) => Math.round(_.getTime() / 1e3),
|
|
692
|
+
groundStation: [],
|
|
693
|
+
maxResults: [],
|
|
694
|
+
missionProfileArn: [],
|
|
695
|
+
nextToken: [],
|
|
696
|
+
satelliteArn: [],
|
|
697
|
+
startTime: (_) => Math.round(_.getTime() / 1e3),
|
|
698
|
+
statusList: (_) => (0, import_smithy_client._json)(_)
|
|
699
|
+
})
|
|
700
|
+
);
|
|
701
|
+
b.m("POST").h(headers).b(body);
|
|
702
|
+
return b.build();
|
|
703
|
+
}, "se_ListContactsCommand");
|
|
704
|
+
var se_ListDataflowEndpointGroupsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
705
|
+
const b = (0, import_core2.requestBuilder)(input, context);
|
|
706
|
+
const headers = {};
|
|
707
|
+
b.bp("/dataflowEndpointGroup");
|
|
708
|
+
const query = (0, import_smithy_client.map)({
|
|
709
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
710
|
+
[_nT]: [, input[_nT]]
|
|
711
|
+
});
|
|
712
|
+
let body;
|
|
713
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
714
|
+
return b.build();
|
|
715
|
+
}, "se_ListDataflowEndpointGroupsCommand");
|
|
716
|
+
var se_ListEphemeridesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
717
|
+
const b = (0, import_core2.requestBuilder)(input, context);
|
|
718
|
+
const headers = {
|
|
719
|
+
"content-type": "application/json"
|
|
720
|
+
};
|
|
721
|
+
b.bp("/ephemerides");
|
|
722
|
+
const query = (0, import_smithy_client.map)({
|
|
723
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
724
|
+
[_nT]: [, input[_nT]]
|
|
725
|
+
});
|
|
726
|
+
let body;
|
|
727
|
+
body = JSON.stringify(
|
|
728
|
+
(0, import_smithy_client.take)(input, {
|
|
729
|
+
endTime: (_) => Math.round(_.getTime() / 1e3),
|
|
730
|
+
satelliteId: [],
|
|
731
|
+
startTime: (_) => Math.round(_.getTime() / 1e3),
|
|
732
|
+
statusList: (_) => (0, import_smithy_client._json)(_)
|
|
733
|
+
})
|
|
734
|
+
);
|
|
735
|
+
b.m("POST").h(headers).q(query).b(body);
|
|
736
|
+
return b.build();
|
|
737
|
+
}, "se_ListEphemeridesCommand");
|
|
738
|
+
var se_ListGroundStationsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
739
|
+
const b = (0, import_core2.requestBuilder)(input, context);
|
|
740
|
+
const headers = {};
|
|
741
|
+
b.bp("/groundstation");
|
|
742
|
+
const query = (0, import_smithy_client.map)({
|
|
743
|
+
[_sI]: [, input[_sI]],
|
|
744
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
745
|
+
[_nT]: [, input[_nT]]
|
|
746
|
+
});
|
|
747
|
+
let body;
|
|
748
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
749
|
+
return b.build();
|
|
750
|
+
}, "se_ListGroundStationsCommand");
|
|
751
|
+
var se_ListMissionProfilesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
752
|
+
const b = (0, import_core2.requestBuilder)(input, context);
|
|
753
|
+
const headers = {};
|
|
754
|
+
b.bp("/missionprofile");
|
|
755
|
+
const query = (0, import_smithy_client.map)({
|
|
756
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
757
|
+
[_nT]: [, input[_nT]]
|
|
758
|
+
});
|
|
759
|
+
let body;
|
|
760
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
761
|
+
return b.build();
|
|
762
|
+
}, "se_ListMissionProfilesCommand");
|
|
763
|
+
var se_ListSatellitesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
764
|
+
const b = (0, import_core2.requestBuilder)(input, context);
|
|
765
|
+
const headers = {};
|
|
766
|
+
b.bp("/satellite");
|
|
767
|
+
const query = (0, import_smithy_client.map)({
|
|
768
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
769
|
+
[_nT]: [, input[_nT]]
|
|
770
|
+
});
|
|
771
|
+
let body;
|
|
772
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
773
|
+
return b.build();
|
|
774
|
+
}, "se_ListSatellitesCommand");
|
|
775
|
+
var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
776
|
+
const b = (0, import_core2.requestBuilder)(input, context);
|
|
777
|
+
const headers = {};
|
|
778
|
+
b.bp("/tags/{resourceArn}");
|
|
779
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
780
|
+
let body;
|
|
781
|
+
b.m("GET").h(headers).b(body);
|
|
782
|
+
return b.build();
|
|
783
|
+
}, "se_ListTagsForResourceCommand");
|
|
784
|
+
var se_RegisterAgentCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
785
|
+
const b = (0, import_core2.requestBuilder)(input, context);
|
|
786
|
+
const headers = {
|
|
787
|
+
"content-type": "application/json"
|
|
788
|
+
};
|
|
789
|
+
b.bp("/agent");
|
|
790
|
+
let body;
|
|
791
|
+
body = JSON.stringify(
|
|
792
|
+
(0, import_smithy_client.take)(input, {
|
|
793
|
+
agentDetails: (_) => (0, import_smithy_client._json)(_),
|
|
794
|
+
discoveryData: (_) => (0, import_smithy_client._json)(_)
|
|
795
|
+
})
|
|
796
|
+
);
|
|
797
|
+
b.m("POST").h(headers).b(body);
|
|
798
|
+
return b.build();
|
|
799
|
+
}, "se_RegisterAgentCommand");
|
|
800
|
+
var se_ReserveContactCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
801
|
+
const b = (0, import_core2.requestBuilder)(input, context);
|
|
802
|
+
const headers = {
|
|
803
|
+
"content-type": "application/json"
|
|
804
|
+
};
|
|
805
|
+
b.bp("/contact");
|
|
806
|
+
let body;
|
|
807
|
+
body = JSON.stringify(
|
|
808
|
+
(0, import_smithy_client.take)(input, {
|
|
809
|
+
endTime: (_) => Math.round(_.getTime() / 1e3),
|
|
810
|
+
groundStation: [],
|
|
811
|
+
missionProfileArn: [],
|
|
812
|
+
satelliteArn: [],
|
|
813
|
+
startTime: (_) => Math.round(_.getTime() / 1e3),
|
|
814
|
+
tags: (_) => (0, import_smithy_client._json)(_)
|
|
815
|
+
})
|
|
816
|
+
);
|
|
817
|
+
b.m("POST").h(headers).b(body);
|
|
818
|
+
return b.build();
|
|
819
|
+
}, "se_ReserveContactCommand");
|
|
820
|
+
var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
821
|
+
const b = (0, import_core2.requestBuilder)(input, context);
|
|
822
|
+
const headers = {
|
|
823
|
+
"content-type": "application/json"
|
|
824
|
+
};
|
|
825
|
+
b.bp("/tags/{resourceArn}");
|
|
826
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
827
|
+
let body;
|
|
828
|
+
body = JSON.stringify(
|
|
829
|
+
(0, import_smithy_client.take)(input, {
|
|
830
|
+
tags: (_) => (0, import_smithy_client._json)(_)
|
|
831
|
+
})
|
|
832
|
+
);
|
|
833
|
+
b.m("POST").h(headers).b(body);
|
|
834
|
+
return b.build();
|
|
835
|
+
}, "se_TagResourceCommand");
|
|
836
|
+
var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
837
|
+
const b = (0, import_core2.requestBuilder)(input, context);
|
|
838
|
+
const headers = {};
|
|
839
|
+
b.bp("/tags/{resourceArn}");
|
|
840
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
841
|
+
const query = (0, import_smithy_client.map)({
|
|
842
|
+
[_tK]: [
|
|
843
|
+
(0, import_smithy_client.expectNonNull)(input.tagKeys, `tagKeys`) != null,
|
|
844
|
+
() => (input[_tK] || []).map((_entry) => _entry)
|
|
845
|
+
]
|
|
846
|
+
});
|
|
847
|
+
let body;
|
|
848
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
849
|
+
return b.build();
|
|
850
|
+
}, "se_UntagResourceCommand");
|
|
851
|
+
var se_UpdateAgentStatusCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
852
|
+
const b = (0, import_core2.requestBuilder)(input, context);
|
|
853
|
+
const headers = {
|
|
854
|
+
"content-type": "application/json"
|
|
855
|
+
};
|
|
856
|
+
b.bp("/agent/{agentId}");
|
|
857
|
+
b.p("agentId", () => input.agentId, "{agentId}", false);
|
|
858
|
+
let body;
|
|
859
|
+
body = JSON.stringify(
|
|
860
|
+
(0, import_smithy_client.take)(input, {
|
|
861
|
+
aggregateStatus: (_) => (0, import_smithy_client._json)(_),
|
|
862
|
+
componentStatuses: (_) => (0, import_smithy_client._json)(_),
|
|
863
|
+
taskId: []
|
|
864
|
+
})
|
|
865
|
+
);
|
|
866
|
+
b.m("PUT").h(headers).b(body);
|
|
867
|
+
return b.build();
|
|
868
|
+
}, "se_UpdateAgentStatusCommand");
|
|
869
|
+
var se_UpdateConfigCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
870
|
+
const b = (0, import_core2.requestBuilder)(input, context);
|
|
871
|
+
const headers = {
|
|
872
|
+
"content-type": "application/json"
|
|
873
|
+
};
|
|
874
|
+
b.bp("/config/{configType}/{configId}");
|
|
875
|
+
b.p("configId", () => input.configId, "{configId}", false);
|
|
876
|
+
b.p("configType", () => input.configType, "{configType}", false);
|
|
877
|
+
let body;
|
|
878
|
+
body = JSON.stringify(
|
|
879
|
+
(0, import_smithy_client.take)(input, {
|
|
880
|
+
configData: (_) => se_ConfigTypeData(_, context),
|
|
881
|
+
name: []
|
|
882
|
+
})
|
|
883
|
+
);
|
|
884
|
+
b.m("PUT").h(headers).b(body);
|
|
885
|
+
return b.build();
|
|
886
|
+
}, "se_UpdateConfigCommand");
|
|
887
|
+
var se_UpdateEphemerisCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
888
|
+
const b = (0, import_core2.requestBuilder)(input, context);
|
|
889
|
+
const headers = {
|
|
890
|
+
"content-type": "application/json"
|
|
891
|
+
};
|
|
892
|
+
b.bp("/ephemeris/{ephemerisId}");
|
|
893
|
+
b.p("ephemerisId", () => input.ephemerisId, "{ephemerisId}", false);
|
|
894
|
+
let body;
|
|
895
|
+
body = JSON.stringify(
|
|
896
|
+
(0, import_smithy_client.take)(input, {
|
|
897
|
+
enabled: [],
|
|
898
|
+
name: [],
|
|
899
|
+
priority: []
|
|
900
|
+
})
|
|
901
|
+
);
|
|
902
|
+
b.m("PUT").h(headers).b(body);
|
|
903
|
+
return b.build();
|
|
904
|
+
}, "se_UpdateEphemerisCommand");
|
|
905
|
+
var se_UpdateMissionProfileCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
906
|
+
const b = (0, import_core2.requestBuilder)(input, context);
|
|
907
|
+
const headers = {
|
|
908
|
+
"content-type": "application/json"
|
|
909
|
+
};
|
|
910
|
+
b.bp("/missionprofile/{missionProfileId}");
|
|
911
|
+
b.p("missionProfileId", () => input.missionProfileId, "{missionProfileId}", false);
|
|
912
|
+
let body;
|
|
913
|
+
body = JSON.stringify(
|
|
914
|
+
(0, import_smithy_client.take)(input, {
|
|
915
|
+
contactPostPassDurationSeconds: [],
|
|
916
|
+
contactPrePassDurationSeconds: [],
|
|
917
|
+
dataflowEdges: (_) => (0, import_smithy_client._json)(_),
|
|
918
|
+
minimumViableContactDurationSeconds: [],
|
|
919
|
+
name: [],
|
|
920
|
+
streamsKmsKey: (_) => (0, import_smithy_client._json)(_),
|
|
921
|
+
streamsKmsRole: [],
|
|
922
|
+
trackingConfigArn: []
|
|
923
|
+
})
|
|
924
|
+
);
|
|
925
|
+
b.m("PUT").h(headers).b(body);
|
|
926
|
+
return b.build();
|
|
927
|
+
}, "se_UpdateMissionProfileCommand");
|
|
928
|
+
var de_CancelContactCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
929
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
930
|
+
return de_CancelContactCommandError(output, context);
|
|
931
|
+
}
|
|
932
|
+
const contents = (0, import_smithy_client.map)({
|
|
933
|
+
$metadata: deserializeMetadata(output)
|
|
934
|
+
});
|
|
935
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
936
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
937
|
+
contactId: import_smithy_client.expectString
|
|
938
|
+
});
|
|
939
|
+
Object.assign(contents, doc);
|
|
940
|
+
return contents;
|
|
941
|
+
}, "de_CancelContactCommand");
|
|
942
|
+
var de_CancelContactCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
943
|
+
const parsedOutput = {
|
|
944
|
+
...output,
|
|
945
|
+
body: await parseErrorBody(output.body, context)
|
|
946
|
+
};
|
|
947
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
948
|
+
switch (errorCode) {
|
|
949
|
+
case "DependencyException":
|
|
950
|
+
case "com.amazonaws.groundstation#DependencyException":
|
|
951
|
+
throw await de_DependencyExceptionRes(parsedOutput, context);
|
|
952
|
+
case "InvalidParameterException":
|
|
953
|
+
case "com.amazonaws.groundstation#InvalidParameterException":
|
|
954
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
955
|
+
case "ResourceNotFoundException":
|
|
956
|
+
case "com.amazonaws.groundstation#ResourceNotFoundException":
|
|
957
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
958
|
+
default:
|
|
959
|
+
const parsedBody = parsedOutput.body;
|
|
960
|
+
return throwDefaultError({
|
|
961
|
+
output,
|
|
962
|
+
parsedBody,
|
|
963
|
+
errorCode
|
|
964
|
+
});
|
|
965
|
+
}
|
|
966
|
+
}, "de_CancelContactCommandError");
|
|
967
|
+
var de_CreateConfigCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
968
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
969
|
+
return de_CreateConfigCommandError(output, context);
|
|
970
|
+
}
|
|
971
|
+
const contents = (0, import_smithy_client.map)({
|
|
972
|
+
$metadata: deserializeMetadata(output)
|
|
973
|
+
});
|
|
974
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
975
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
976
|
+
configArn: import_smithy_client.expectString,
|
|
977
|
+
configId: import_smithy_client.expectString,
|
|
978
|
+
configType: import_smithy_client.expectString
|
|
979
|
+
});
|
|
980
|
+
Object.assign(contents, doc);
|
|
981
|
+
return contents;
|
|
982
|
+
}, "de_CreateConfigCommand");
|
|
983
|
+
var de_CreateConfigCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
984
|
+
const parsedOutput = {
|
|
985
|
+
...output,
|
|
986
|
+
body: await parseErrorBody(output.body, context)
|
|
987
|
+
};
|
|
988
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
989
|
+
switch (errorCode) {
|
|
990
|
+
case "DependencyException":
|
|
991
|
+
case "com.amazonaws.groundstation#DependencyException":
|
|
992
|
+
throw await de_DependencyExceptionRes(parsedOutput, context);
|
|
993
|
+
case "InvalidParameterException":
|
|
994
|
+
case "com.amazonaws.groundstation#InvalidParameterException":
|
|
995
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
996
|
+
case "ResourceLimitExceededException":
|
|
997
|
+
case "com.amazonaws.groundstation#ResourceLimitExceededException":
|
|
998
|
+
throw await de_ResourceLimitExceededExceptionRes(parsedOutput, context);
|
|
999
|
+
case "ResourceNotFoundException":
|
|
1000
|
+
case "com.amazonaws.groundstation#ResourceNotFoundException":
|
|
1001
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1002
|
+
default:
|
|
1003
|
+
const parsedBody = parsedOutput.body;
|
|
1004
|
+
return throwDefaultError({
|
|
1005
|
+
output,
|
|
1006
|
+
parsedBody,
|
|
1007
|
+
errorCode
|
|
1008
|
+
});
|
|
1009
|
+
}
|
|
1010
|
+
}, "de_CreateConfigCommandError");
|
|
1011
|
+
var de_CreateDataflowEndpointGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1012
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1013
|
+
return de_CreateDataflowEndpointGroupCommandError(output, context);
|
|
1014
|
+
}
|
|
1015
|
+
const contents = (0, import_smithy_client.map)({
|
|
1016
|
+
$metadata: deserializeMetadata(output)
|
|
1017
|
+
});
|
|
1018
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1019
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1020
|
+
dataflowEndpointGroupId: import_smithy_client.expectString
|
|
1021
|
+
});
|
|
1022
|
+
Object.assign(contents, doc);
|
|
1023
|
+
return contents;
|
|
1024
|
+
}, "de_CreateDataflowEndpointGroupCommand");
|
|
1025
|
+
var de_CreateDataflowEndpointGroupCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1026
|
+
const parsedOutput = {
|
|
1027
|
+
...output,
|
|
1028
|
+
body: await parseErrorBody(output.body, context)
|
|
1029
|
+
};
|
|
1030
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1031
|
+
switch (errorCode) {
|
|
1032
|
+
case "DependencyException":
|
|
1033
|
+
case "com.amazonaws.groundstation#DependencyException":
|
|
1034
|
+
throw await de_DependencyExceptionRes(parsedOutput, context);
|
|
1035
|
+
case "InvalidParameterException":
|
|
1036
|
+
case "com.amazonaws.groundstation#InvalidParameterException":
|
|
1037
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1038
|
+
case "ResourceNotFoundException":
|
|
1039
|
+
case "com.amazonaws.groundstation#ResourceNotFoundException":
|
|
1040
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1041
|
+
default:
|
|
1042
|
+
const parsedBody = parsedOutput.body;
|
|
1043
|
+
return throwDefaultError({
|
|
1044
|
+
output,
|
|
1045
|
+
parsedBody,
|
|
1046
|
+
errorCode
|
|
1047
|
+
});
|
|
1048
|
+
}
|
|
1049
|
+
}, "de_CreateDataflowEndpointGroupCommandError");
|
|
1050
|
+
var de_CreateEphemerisCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1051
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1052
|
+
return de_CreateEphemerisCommandError(output, context);
|
|
1053
|
+
}
|
|
1054
|
+
const contents = (0, import_smithy_client.map)({
|
|
1055
|
+
$metadata: deserializeMetadata(output)
|
|
1056
|
+
});
|
|
1057
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1058
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1059
|
+
ephemerisId: import_smithy_client.expectString
|
|
1060
|
+
});
|
|
1061
|
+
Object.assign(contents, doc);
|
|
1062
|
+
return contents;
|
|
1063
|
+
}, "de_CreateEphemerisCommand");
|
|
1064
|
+
var de_CreateEphemerisCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1065
|
+
const parsedOutput = {
|
|
1066
|
+
...output,
|
|
1067
|
+
body: await parseErrorBody(output.body, context)
|
|
1068
|
+
};
|
|
1069
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1070
|
+
switch (errorCode) {
|
|
1071
|
+
case "DependencyException":
|
|
1072
|
+
case "com.amazonaws.groundstation#DependencyException":
|
|
1073
|
+
throw await de_DependencyExceptionRes(parsedOutput, context);
|
|
1074
|
+
case "InvalidParameterException":
|
|
1075
|
+
case "com.amazonaws.groundstation#InvalidParameterException":
|
|
1076
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1077
|
+
case "ResourceNotFoundException":
|
|
1078
|
+
case "com.amazonaws.groundstation#ResourceNotFoundException":
|
|
1079
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1080
|
+
default:
|
|
1081
|
+
const parsedBody = parsedOutput.body;
|
|
1082
|
+
return throwDefaultError({
|
|
1083
|
+
output,
|
|
1084
|
+
parsedBody,
|
|
1085
|
+
errorCode
|
|
1086
|
+
});
|
|
1087
|
+
}
|
|
1088
|
+
}, "de_CreateEphemerisCommandError");
|
|
1089
|
+
var de_CreateMissionProfileCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1090
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1091
|
+
return de_CreateMissionProfileCommandError(output, context);
|
|
1092
|
+
}
|
|
1093
|
+
const contents = (0, import_smithy_client.map)({
|
|
1094
|
+
$metadata: deserializeMetadata(output)
|
|
1095
|
+
});
|
|
1096
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1097
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1098
|
+
missionProfileId: import_smithy_client.expectString
|
|
1099
|
+
});
|
|
1100
|
+
Object.assign(contents, doc);
|
|
1101
|
+
return contents;
|
|
1102
|
+
}, "de_CreateMissionProfileCommand");
|
|
1103
|
+
var de_CreateMissionProfileCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1104
|
+
const parsedOutput = {
|
|
1105
|
+
...output,
|
|
1106
|
+
body: await parseErrorBody(output.body, context)
|
|
1107
|
+
};
|
|
1108
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1109
|
+
switch (errorCode) {
|
|
1110
|
+
case "DependencyException":
|
|
1111
|
+
case "com.amazonaws.groundstation#DependencyException":
|
|
1112
|
+
throw await de_DependencyExceptionRes(parsedOutput, context);
|
|
1113
|
+
case "InvalidParameterException":
|
|
1114
|
+
case "com.amazonaws.groundstation#InvalidParameterException":
|
|
1115
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1116
|
+
case "ResourceNotFoundException":
|
|
1117
|
+
case "com.amazonaws.groundstation#ResourceNotFoundException":
|
|
1118
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1119
|
+
default:
|
|
1120
|
+
const parsedBody = parsedOutput.body;
|
|
1121
|
+
return throwDefaultError({
|
|
1122
|
+
output,
|
|
1123
|
+
parsedBody,
|
|
1124
|
+
errorCode
|
|
1125
|
+
});
|
|
1126
|
+
}
|
|
1127
|
+
}, "de_CreateMissionProfileCommandError");
|
|
1128
|
+
var de_DeleteConfigCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1129
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1130
|
+
return de_DeleteConfigCommandError(output, context);
|
|
1131
|
+
}
|
|
1132
|
+
const contents = (0, import_smithy_client.map)({
|
|
1133
|
+
$metadata: deserializeMetadata(output)
|
|
1134
|
+
});
|
|
1135
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1136
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1137
|
+
configArn: import_smithy_client.expectString,
|
|
1138
|
+
configId: import_smithy_client.expectString,
|
|
1139
|
+
configType: import_smithy_client.expectString
|
|
1140
|
+
});
|
|
1141
|
+
Object.assign(contents, doc);
|
|
1142
|
+
return contents;
|
|
1143
|
+
}, "de_DeleteConfigCommand");
|
|
1144
|
+
var de_DeleteConfigCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1145
|
+
const parsedOutput = {
|
|
1146
|
+
...output,
|
|
1147
|
+
body: await parseErrorBody(output.body, context)
|
|
1148
|
+
};
|
|
1149
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1150
|
+
switch (errorCode) {
|
|
1151
|
+
case "DependencyException":
|
|
1152
|
+
case "com.amazonaws.groundstation#DependencyException":
|
|
1153
|
+
throw await de_DependencyExceptionRes(parsedOutput, context);
|
|
1154
|
+
case "InvalidParameterException":
|
|
1155
|
+
case "com.amazonaws.groundstation#InvalidParameterException":
|
|
1156
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1157
|
+
case "ResourceNotFoundException":
|
|
1158
|
+
case "com.amazonaws.groundstation#ResourceNotFoundException":
|
|
1159
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1160
|
+
default:
|
|
1161
|
+
const parsedBody = parsedOutput.body;
|
|
1162
|
+
return throwDefaultError({
|
|
1163
|
+
output,
|
|
1164
|
+
parsedBody,
|
|
1165
|
+
errorCode
|
|
1166
|
+
});
|
|
1167
|
+
}
|
|
1168
|
+
}, "de_DeleteConfigCommandError");
|
|
1169
|
+
var de_DeleteDataflowEndpointGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1170
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1171
|
+
return de_DeleteDataflowEndpointGroupCommandError(output, context);
|
|
1172
|
+
}
|
|
1173
|
+
const contents = (0, import_smithy_client.map)({
|
|
1174
|
+
$metadata: deserializeMetadata(output)
|
|
1175
|
+
});
|
|
1176
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1177
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1178
|
+
dataflowEndpointGroupId: import_smithy_client.expectString
|
|
1179
|
+
});
|
|
1180
|
+
Object.assign(contents, doc);
|
|
1181
|
+
return contents;
|
|
1182
|
+
}, "de_DeleteDataflowEndpointGroupCommand");
|
|
1183
|
+
var de_DeleteDataflowEndpointGroupCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1184
|
+
const parsedOutput = {
|
|
1185
|
+
...output,
|
|
1186
|
+
body: await parseErrorBody(output.body, context)
|
|
1187
|
+
};
|
|
1188
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1189
|
+
switch (errorCode) {
|
|
1190
|
+
case "DependencyException":
|
|
1191
|
+
case "com.amazonaws.groundstation#DependencyException":
|
|
1192
|
+
throw await de_DependencyExceptionRes(parsedOutput, context);
|
|
1193
|
+
case "InvalidParameterException":
|
|
1194
|
+
case "com.amazonaws.groundstation#InvalidParameterException":
|
|
1195
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1196
|
+
case "ResourceNotFoundException":
|
|
1197
|
+
case "com.amazonaws.groundstation#ResourceNotFoundException":
|
|
1198
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1199
|
+
default:
|
|
1200
|
+
const parsedBody = parsedOutput.body;
|
|
1201
|
+
return throwDefaultError({
|
|
1202
|
+
output,
|
|
1203
|
+
parsedBody,
|
|
1204
|
+
errorCode
|
|
1205
|
+
});
|
|
1206
|
+
}
|
|
1207
|
+
}, "de_DeleteDataflowEndpointGroupCommandError");
|
|
1208
|
+
var de_DeleteEphemerisCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1209
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1210
|
+
return de_DeleteEphemerisCommandError(output, context);
|
|
1211
|
+
}
|
|
1212
|
+
const contents = (0, import_smithy_client.map)({
|
|
1213
|
+
$metadata: deserializeMetadata(output)
|
|
1214
|
+
});
|
|
1215
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1216
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1217
|
+
ephemerisId: import_smithy_client.expectString
|
|
1218
|
+
});
|
|
1219
|
+
Object.assign(contents, doc);
|
|
1220
|
+
return contents;
|
|
1221
|
+
}, "de_DeleteEphemerisCommand");
|
|
1222
|
+
var de_DeleteEphemerisCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1223
|
+
const parsedOutput = {
|
|
1224
|
+
...output,
|
|
1225
|
+
body: await parseErrorBody(output.body, context)
|
|
1226
|
+
};
|
|
1227
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1228
|
+
switch (errorCode) {
|
|
1229
|
+
case "DependencyException":
|
|
1230
|
+
case "com.amazonaws.groundstation#DependencyException":
|
|
1231
|
+
throw await de_DependencyExceptionRes(parsedOutput, context);
|
|
1232
|
+
case "InvalidParameterException":
|
|
1233
|
+
case "com.amazonaws.groundstation#InvalidParameterException":
|
|
1234
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1235
|
+
case "ResourceNotFoundException":
|
|
1236
|
+
case "com.amazonaws.groundstation#ResourceNotFoundException":
|
|
1237
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1238
|
+
default:
|
|
1239
|
+
const parsedBody = parsedOutput.body;
|
|
1240
|
+
return throwDefaultError({
|
|
1241
|
+
output,
|
|
1242
|
+
parsedBody,
|
|
1243
|
+
errorCode
|
|
1244
|
+
});
|
|
1245
|
+
}
|
|
1246
|
+
}, "de_DeleteEphemerisCommandError");
|
|
1247
|
+
var de_DeleteMissionProfileCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1248
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1249
|
+
return de_DeleteMissionProfileCommandError(output, context);
|
|
1250
|
+
}
|
|
1251
|
+
const contents = (0, import_smithy_client.map)({
|
|
1252
|
+
$metadata: deserializeMetadata(output)
|
|
1253
|
+
});
|
|
1254
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1255
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1256
|
+
missionProfileId: import_smithy_client.expectString
|
|
1257
|
+
});
|
|
1258
|
+
Object.assign(contents, doc);
|
|
1259
|
+
return contents;
|
|
1260
|
+
}, "de_DeleteMissionProfileCommand");
|
|
1261
|
+
var de_DeleteMissionProfileCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1262
|
+
const parsedOutput = {
|
|
1263
|
+
...output,
|
|
1264
|
+
body: await parseErrorBody(output.body, context)
|
|
1265
|
+
};
|
|
1266
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1267
|
+
switch (errorCode) {
|
|
1268
|
+
case "DependencyException":
|
|
1269
|
+
case "com.amazonaws.groundstation#DependencyException":
|
|
1270
|
+
throw await de_DependencyExceptionRes(parsedOutput, context);
|
|
1271
|
+
case "InvalidParameterException":
|
|
1272
|
+
case "com.amazonaws.groundstation#InvalidParameterException":
|
|
1273
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1274
|
+
case "ResourceNotFoundException":
|
|
1275
|
+
case "com.amazonaws.groundstation#ResourceNotFoundException":
|
|
1276
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1277
|
+
default:
|
|
1278
|
+
const parsedBody = parsedOutput.body;
|
|
1279
|
+
return throwDefaultError({
|
|
1280
|
+
output,
|
|
1281
|
+
parsedBody,
|
|
1282
|
+
errorCode
|
|
1283
|
+
});
|
|
1284
|
+
}
|
|
1285
|
+
}, "de_DeleteMissionProfileCommandError");
|
|
1286
|
+
var de_DescribeContactCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1287
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1288
|
+
return de_DescribeContactCommandError(output, context);
|
|
1289
|
+
}
|
|
1290
|
+
const contents = (0, import_smithy_client.map)({
|
|
1291
|
+
$metadata: deserializeMetadata(output)
|
|
1292
|
+
});
|
|
1293
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1294
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1295
|
+
contactId: import_smithy_client.expectString,
|
|
1296
|
+
contactStatus: import_smithy_client.expectString,
|
|
1297
|
+
dataflowList: import_smithy_client._json,
|
|
1298
|
+
endTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1299
|
+
errorMessage: import_smithy_client.expectString,
|
|
1300
|
+
groundStation: import_smithy_client.expectString,
|
|
1301
|
+
maximumElevation: (_) => de_Elevation(_, context),
|
|
1302
|
+
missionProfileArn: import_smithy_client.expectString,
|
|
1303
|
+
postPassEndTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1304
|
+
prePassStartTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1305
|
+
region: import_smithy_client.expectString,
|
|
1306
|
+
satelliteArn: import_smithy_client.expectString,
|
|
1307
|
+
startTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1308
|
+
tags: import_smithy_client._json
|
|
1309
|
+
});
|
|
1310
|
+
Object.assign(contents, doc);
|
|
1311
|
+
return contents;
|
|
1312
|
+
}, "de_DescribeContactCommand");
|
|
1313
|
+
var de_DescribeContactCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1314
|
+
const parsedOutput = {
|
|
1315
|
+
...output,
|
|
1316
|
+
body: await parseErrorBody(output.body, context)
|
|
1317
|
+
};
|
|
1318
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1319
|
+
switch (errorCode) {
|
|
1320
|
+
case "DependencyException":
|
|
1321
|
+
case "com.amazonaws.groundstation#DependencyException":
|
|
1322
|
+
throw await de_DependencyExceptionRes(parsedOutput, context);
|
|
1323
|
+
case "InvalidParameterException":
|
|
1324
|
+
case "com.amazonaws.groundstation#InvalidParameterException":
|
|
1325
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1326
|
+
case "ResourceNotFoundException":
|
|
1327
|
+
case "com.amazonaws.groundstation#ResourceNotFoundException":
|
|
1328
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1329
|
+
default:
|
|
1330
|
+
const parsedBody = parsedOutput.body;
|
|
1331
|
+
return throwDefaultError({
|
|
1332
|
+
output,
|
|
1333
|
+
parsedBody,
|
|
1334
|
+
errorCode
|
|
1335
|
+
});
|
|
1336
|
+
}
|
|
1337
|
+
}, "de_DescribeContactCommandError");
|
|
1338
|
+
var de_DescribeEphemerisCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1339
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1340
|
+
return de_DescribeEphemerisCommandError(output, context);
|
|
1341
|
+
}
|
|
1342
|
+
const contents = (0, import_smithy_client.map)({
|
|
1343
|
+
$metadata: deserializeMetadata(output)
|
|
1344
|
+
});
|
|
1345
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1346
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1347
|
+
creationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1348
|
+
enabled: import_smithy_client.expectBoolean,
|
|
1349
|
+
ephemerisId: import_smithy_client.expectString,
|
|
1350
|
+
invalidReason: import_smithy_client.expectString,
|
|
1351
|
+
name: import_smithy_client.expectString,
|
|
1352
|
+
priority: import_smithy_client.expectInt32,
|
|
1353
|
+
satelliteId: import_smithy_client.expectString,
|
|
1354
|
+
status: import_smithy_client.expectString,
|
|
1355
|
+
suppliedData: (_) => (0, import_smithy_client._json)((0, import_core.awsExpectUnion)(_)),
|
|
1356
|
+
tags: import_smithy_client._json
|
|
1357
|
+
});
|
|
1358
|
+
Object.assign(contents, doc);
|
|
1359
|
+
return contents;
|
|
1360
|
+
}, "de_DescribeEphemerisCommand");
|
|
1361
|
+
var de_DescribeEphemerisCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1362
|
+
const parsedOutput = {
|
|
1363
|
+
...output,
|
|
1364
|
+
body: await parseErrorBody(output.body, context)
|
|
1365
|
+
};
|
|
1366
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1367
|
+
switch (errorCode) {
|
|
1368
|
+
case "DependencyException":
|
|
1369
|
+
case "com.amazonaws.groundstation#DependencyException":
|
|
1370
|
+
throw await de_DependencyExceptionRes(parsedOutput, context);
|
|
1371
|
+
case "InvalidParameterException":
|
|
1372
|
+
case "com.amazonaws.groundstation#InvalidParameterException":
|
|
1373
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1374
|
+
case "ResourceNotFoundException":
|
|
1375
|
+
case "com.amazonaws.groundstation#ResourceNotFoundException":
|
|
1376
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1377
|
+
default:
|
|
1378
|
+
const parsedBody = parsedOutput.body;
|
|
1379
|
+
return throwDefaultError({
|
|
1380
|
+
output,
|
|
1381
|
+
parsedBody,
|
|
1382
|
+
errorCode
|
|
1383
|
+
});
|
|
1384
|
+
}
|
|
1385
|
+
}, "de_DescribeEphemerisCommandError");
|
|
1386
|
+
var de_GetAgentConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1387
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1388
|
+
return de_GetAgentConfigurationCommandError(output, context);
|
|
1389
|
+
}
|
|
1390
|
+
const contents = (0, import_smithy_client.map)({
|
|
1391
|
+
$metadata: deserializeMetadata(output)
|
|
1392
|
+
});
|
|
1393
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1394
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1395
|
+
agentId: import_smithy_client.expectString,
|
|
1396
|
+
taskingDocument: import_smithy_client.expectString
|
|
1397
|
+
});
|
|
1398
|
+
Object.assign(contents, doc);
|
|
1399
|
+
return contents;
|
|
1400
|
+
}, "de_GetAgentConfigurationCommand");
|
|
1401
|
+
var de_GetAgentConfigurationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1402
|
+
const parsedOutput = {
|
|
1403
|
+
...output,
|
|
1404
|
+
body: await parseErrorBody(output.body, context)
|
|
1405
|
+
};
|
|
1406
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1407
|
+
switch (errorCode) {
|
|
1408
|
+
case "DependencyException":
|
|
1409
|
+
case "com.amazonaws.groundstation#DependencyException":
|
|
1410
|
+
throw await de_DependencyExceptionRes(parsedOutput, context);
|
|
1411
|
+
case "InvalidParameterException":
|
|
1412
|
+
case "com.amazonaws.groundstation#InvalidParameterException":
|
|
1413
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1414
|
+
case "ResourceNotFoundException":
|
|
1415
|
+
case "com.amazonaws.groundstation#ResourceNotFoundException":
|
|
1416
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1417
|
+
default:
|
|
1418
|
+
const parsedBody = parsedOutput.body;
|
|
1419
|
+
return throwDefaultError({
|
|
1420
|
+
output,
|
|
1421
|
+
parsedBody,
|
|
1422
|
+
errorCode
|
|
1423
|
+
});
|
|
1424
|
+
}
|
|
1425
|
+
}, "de_GetAgentConfigurationCommandError");
|
|
1426
|
+
var de_GetConfigCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1427
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1428
|
+
return de_GetConfigCommandError(output, context);
|
|
1429
|
+
}
|
|
1430
|
+
const contents = (0, import_smithy_client.map)({
|
|
1431
|
+
$metadata: deserializeMetadata(output)
|
|
1432
|
+
});
|
|
1433
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1434
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1435
|
+
configArn: import_smithy_client.expectString,
|
|
1436
|
+
configData: (_) => de_ConfigTypeData((0, import_core.awsExpectUnion)(_), context),
|
|
1437
|
+
configId: import_smithy_client.expectString,
|
|
1438
|
+
configType: import_smithy_client.expectString,
|
|
1439
|
+
name: import_smithy_client.expectString,
|
|
1440
|
+
tags: import_smithy_client._json
|
|
1441
|
+
});
|
|
1442
|
+
Object.assign(contents, doc);
|
|
1443
|
+
return contents;
|
|
1444
|
+
}, "de_GetConfigCommand");
|
|
1445
|
+
var de_GetConfigCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1446
|
+
const parsedOutput = {
|
|
1447
|
+
...output,
|
|
1448
|
+
body: await parseErrorBody(output.body, context)
|
|
1449
|
+
};
|
|
1450
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1451
|
+
switch (errorCode) {
|
|
1452
|
+
case "DependencyException":
|
|
1453
|
+
case "com.amazonaws.groundstation#DependencyException":
|
|
1454
|
+
throw await de_DependencyExceptionRes(parsedOutput, context);
|
|
1455
|
+
case "InvalidParameterException":
|
|
1456
|
+
case "com.amazonaws.groundstation#InvalidParameterException":
|
|
1457
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1458
|
+
case "ResourceNotFoundException":
|
|
1459
|
+
case "com.amazonaws.groundstation#ResourceNotFoundException":
|
|
1460
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1461
|
+
default:
|
|
1462
|
+
const parsedBody = parsedOutput.body;
|
|
1463
|
+
return throwDefaultError({
|
|
1464
|
+
output,
|
|
1465
|
+
parsedBody,
|
|
1466
|
+
errorCode
|
|
1467
|
+
});
|
|
1468
|
+
}
|
|
1469
|
+
}, "de_GetConfigCommandError");
|
|
1470
|
+
var de_GetDataflowEndpointGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1471
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1472
|
+
return de_GetDataflowEndpointGroupCommandError(output, context);
|
|
1473
|
+
}
|
|
1474
|
+
const contents = (0, import_smithy_client.map)({
|
|
1475
|
+
$metadata: deserializeMetadata(output)
|
|
1476
|
+
});
|
|
1477
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1478
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1479
|
+
contactPostPassDurationSeconds: import_smithy_client.expectInt32,
|
|
1480
|
+
contactPrePassDurationSeconds: import_smithy_client.expectInt32,
|
|
1481
|
+
dataflowEndpointGroupArn: import_smithy_client.expectString,
|
|
1482
|
+
dataflowEndpointGroupId: import_smithy_client.expectString,
|
|
1483
|
+
endpointsDetails: import_smithy_client._json,
|
|
1484
|
+
tags: import_smithy_client._json
|
|
1485
|
+
});
|
|
1486
|
+
Object.assign(contents, doc);
|
|
1487
|
+
return contents;
|
|
1488
|
+
}, "de_GetDataflowEndpointGroupCommand");
|
|
1489
|
+
var de_GetDataflowEndpointGroupCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1490
|
+
const parsedOutput = {
|
|
1491
|
+
...output,
|
|
1492
|
+
body: await parseErrorBody(output.body, context)
|
|
1493
|
+
};
|
|
1494
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1495
|
+
switch (errorCode) {
|
|
1496
|
+
case "DependencyException":
|
|
1497
|
+
case "com.amazonaws.groundstation#DependencyException":
|
|
1498
|
+
throw await de_DependencyExceptionRes(parsedOutput, context);
|
|
1499
|
+
case "InvalidParameterException":
|
|
1500
|
+
case "com.amazonaws.groundstation#InvalidParameterException":
|
|
1501
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1502
|
+
case "ResourceNotFoundException":
|
|
1503
|
+
case "com.amazonaws.groundstation#ResourceNotFoundException":
|
|
1504
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1505
|
+
default:
|
|
1506
|
+
const parsedBody = parsedOutput.body;
|
|
1507
|
+
return throwDefaultError({
|
|
1508
|
+
output,
|
|
1509
|
+
parsedBody,
|
|
1510
|
+
errorCode
|
|
1511
|
+
});
|
|
1512
|
+
}
|
|
1513
|
+
}, "de_GetDataflowEndpointGroupCommandError");
|
|
1514
|
+
var de_GetMinuteUsageCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1515
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1516
|
+
return de_GetMinuteUsageCommandError(output, context);
|
|
1517
|
+
}
|
|
1518
|
+
const contents = (0, import_smithy_client.map)({
|
|
1519
|
+
$metadata: deserializeMetadata(output)
|
|
1520
|
+
});
|
|
1521
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1522
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1523
|
+
estimatedMinutesRemaining: import_smithy_client.expectInt32,
|
|
1524
|
+
isReservedMinutesCustomer: import_smithy_client.expectBoolean,
|
|
1525
|
+
totalReservedMinuteAllocation: import_smithy_client.expectInt32,
|
|
1526
|
+
totalScheduledMinutes: import_smithy_client.expectInt32,
|
|
1527
|
+
upcomingMinutesScheduled: import_smithy_client.expectInt32
|
|
1528
|
+
});
|
|
1529
|
+
Object.assign(contents, doc);
|
|
1530
|
+
return contents;
|
|
1531
|
+
}, "de_GetMinuteUsageCommand");
|
|
1532
|
+
var de_GetMinuteUsageCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1533
|
+
const parsedOutput = {
|
|
1534
|
+
...output,
|
|
1535
|
+
body: await parseErrorBody(output.body, context)
|
|
1536
|
+
};
|
|
1537
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1538
|
+
switch (errorCode) {
|
|
1539
|
+
case "DependencyException":
|
|
1540
|
+
case "com.amazonaws.groundstation#DependencyException":
|
|
1541
|
+
throw await de_DependencyExceptionRes(parsedOutput, context);
|
|
1542
|
+
case "InvalidParameterException":
|
|
1543
|
+
case "com.amazonaws.groundstation#InvalidParameterException":
|
|
1544
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1545
|
+
case "ResourceNotFoundException":
|
|
1546
|
+
case "com.amazonaws.groundstation#ResourceNotFoundException":
|
|
1547
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1548
|
+
default:
|
|
1549
|
+
const parsedBody = parsedOutput.body;
|
|
1550
|
+
return throwDefaultError({
|
|
1551
|
+
output,
|
|
1552
|
+
parsedBody,
|
|
1553
|
+
errorCode
|
|
1554
|
+
});
|
|
1555
|
+
}
|
|
1556
|
+
}, "de_GetMinuteUsageCommandError");
|
|
1557
|
+
var de_GetMissionProfileCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1558
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1559
|
+
return de_GetMissionProfileCommandError(output, context);
|
|
1560
|
+
}
|
|
1561
|
+
const contents = (0, import_smithy_client.map)({
|
|
1562
|
+
$metadata: deserializeMetadata(output)
|
|
1563
|
+
});
|
|
1564
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1565
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1566
|
+
contactPostPassDurationSeconds: import_smithy_client.expectInt32,
|
|
1567
|
+
contactPrePassDurationSeconds: import_smithy_client.expectInt32,
|
|
1568
|
+
dataflowEdges: import_smithy_client._json,
|
|
1569
|
+
minimumViableContactDurationSeconds: import_smithy_client.expectInt32,
|
|
1570
|
+
missionProfileArn: import_smithy_client.expectString,
|
|
1571
|
+
missionProfileId: import_smithy_client.expectString,
|
|
1572
|
+
name: import_smithy_client.expectString,
|
|
1573
|
+
region: import_smithy_client.expectString,
|
|
1574
|
+
streamsKmsKey: (_) => (0, import_smithy_client._json)((0, import_core.awsExpectUnion)(_)),
|
|
1575
|
+
streamsKmsRole: import_smithy_client.expectString,
|
|
1576
|
+
tags: import_smithy_client._json,
|
|
1577
|
+
trackingConfigArn: import_smithy_client.expectString
|
|
1578
|
+
});
|
|
1579
|
+
Object.assign(contents, doc);
|
|
1580
|
+
return contents;
|
|
1581
|
+
}, "de_GetMissionProfileCommand");
|
|
1582
|
+
var de_GetMissionProfileCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1583
|
+
const parsedOutput = {
|
|
1584
|
+
...output,
|
|
1585
|
+
body: await parseErrorBody(output.body, context)
|
|
1586
|
+
};
|
|
1587
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1588
|
+
switch (errorCode) {
|
|
1589
|
+
case "DependencyException":
|
|
1590
|
+
case "com.amazonaws.groundstation#DependencyException":
|
|
1591
|
+
throw await de_DependencyExceptionRes(parsedOutput, context);
|
|
1592
|
+
case "InvalidParameterException":
|
|
1593
|
+
case "com.amazonaws.groundstation#InvalidParameterException":
|
|
1594
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1595
|
+
case "ResourceNotFoundException":
|
|
1596
|
+
case "com.amazonaws.groundstation#ResourceNotFoundException":
|
|
1597
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1598
|
+
default:
|
|
1599
|
+
const parsedBody = parsedOutput.body;
|
|
1600
|
+
return throwDefaultError({
|
|
1601
|
+
output,
|
|
1602
|
+
parsedBody,
|
|
1603
|
+
errorCode
|
|
1604
|
+
});
|
|
1605
|
+
}
|
|
1606
|
+
}, "de_GetMissionProfileCommandError");
|
|
1607
|
+
var de_GetSatelliteCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1608
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1609
|
+
return de_GetSatelliteCommandError(output, context);
|
|
1610
|
+
}
|
|
1611
|
+
const contents = (0, import_smithy_client.map)({
|
|
1612
|
+
$metadata: deserializeMetadata(output)
|
|
1613
|
+
});
|
|
1614
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1615
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1616
|
+
currentEphemeris: (_) => de_EphemerisMetaData(_, context),
|
|
1617
|
+
groundStations: import_smithy_client._json,
|
|
1618
|
+
noradSatelliteID: import_smithy_client.expectInt32,
|
|
1619
|
+
satelliteArn: import_smithy_client.expectString,
|
|
1620
|
+
satelliteId: import_smithy_client.expectString
|
|
1621
|
+
});
|
|
1622
|
+
Object.assign(contents, doc);
|
|
1623
|
+
return contents;
|
|
1624
|
+
}, "de_GetSatelliteCommand");
|
|
1625
|
+
var de_GetSatelliteCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1626
|
+
const parsedOutput = {
|
|
1627
|
+
...output,
|
|
1628
|
+
body: await parseErrorBody(output.body, context)
|
|
1629
|
+
};
|
|
1630
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1631
|
+
switch (errorCode) {
|
|
1632
|
+
case "DependencyException":
|
|
1633
|
+
case "com.amazonaws.groundstation#DependencyException":
|
|
1634
|
+
throw await de_DependencyExceptionRes(parsedOutput, context);
|
|
1635
|
+
case "InvalidParameterException":
|
|
1636
|
+
case "com.amazonaws.groundstation#InvalidParameterException":
|
|
1637
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1638
|
+
case "ResourceNotFoundException":
|
|
1639
|
+
case "com.amazonaws.groundstation#ResourceNotFoundException":
|
|
1640
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1641
|
+
default:
|
|
1642
|
+
const parsedBody = parsedOutput.body;
|
|
1643
|
+
return throwDefaultError({
|
|
1644
|
+
output,
|
|
1645
|
+
parsedBody,
|
|
1646
|
+
errorCode
|
|
1647
|
+
});
|
|
1648
|
+
}
|
|
1649
|
+
}, "de_GetSatelliteCommandError");
|
|
1650
|
+
var de_ListConfigsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1651
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1652
|
+
return de_ListConfigsCommandError(output, context);
|
|
1653
|
+
}
|
|
1654
|
+
const contents = (0, import_smithy_client.map)({
|
|
1655
|
+
$metadata: deserializeMetadata(output)
|
|
1656
|
+
});
|
|
1657
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1658
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1659
|
+
configList: import_smithy_client._json,
|
|
1660
|
+
nextToken: import_smithy_client.expectString
|
|
1661
|
+
});
|
|
1662
|
+
Object.assign(contents, doc);
|
|
1663
|
+
return contents;
|
|
1664
|
+
}, "de_ListConfigsCommand");
|
|
1665
|
+
var de_ListConfigsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1666
|
+
const parsedOutput = {
|
|
1667
|
+
...output,
|
|
1668
|
+
body: await parseErrorBody(output.body, context)
|
|
1669
|
+
};
|
|
1670
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1671
|
+
switch (errorCode) {
|
|
1672
|
+
case "DependencyException":
|
|
1673
|
+
case "com.amazonaws.groundstation#DependencyException":
|
|
1674
|
+
throw await de_DependencyExceptionRes(parsedOutput, context);
|
|
1675
|
+
case "InvalidParameterException":
|
|
1676
|
+
case "com.amazonaws.groundstation#InvalidParameterException":
|
|
1677
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1678
|
+
case "ResourceNotFoundException":
|
|
1679
|
+
case "com.amazonaws.groundstation#ResourceNotFoundException":
|
|
1680
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1681
|
+
default:
|
|
1682
|
+
const parsedBody = parsedOutput.body;
|
|
1683
|
+
return throwDefaultError({
|
|
1684
|
+
output,
|
|
1685
|
+
parsedBody,
|
|
1686
|
+
errorCode
|
|
1687
|
+
});
|
|
1688
|
+
}
|
|
1689
|
+
}, "de_ListConfigsCommandError");
|
|
1690
|
+
var de_ListContactsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1691
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1692
|
+
return de_ListContactsCommandError(output, context);
|
|
1693
|
+
}
|
|
1694
|
+
const contents = (0, import_smithy_client.map)({
|
|
1695
|
+
$metadata: deserializeMetadata(output)
|
|
1696
|
+
});
|
|
1697
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1698
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1699
|
+
contactList: (_) => de_ContactList(_, context),
|
|
1700
|
+
nextToken: import_smithy_client.expectString
|
|
1701
|
+
});
|
|
1702
|
+
Object.assign(contents, doc);
|
|
1703
|
+
return contents;
|
|
1704
|
+
}, "de_ListContactsCommand");
|
|
1705
|
+
var de_ListContactsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1706
|
+
const parsedOutput = {
|
|
1707
|
+
...output,
|
|
1708
|
+
body: await parseErrorBody(output.body, context)
|
|
1709
|
+
};
|
|
1710
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1711
|
+
switch (errorCode) {
|
|
1712
|
+
case "DependencyException":
|
|
1713
|
+
case "com.amazonaws.groundstation#DependencyException":
|
|
1714
|
+
throw await de_DependencyExceptionRes(parsedOutput, context);
|
|
1715
|
+
case "InvalidParameterException":
|
|
1716
|
+
case "com.amazonaws.groundstation#InvalidParameterException":
|
|
1717
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1718
|
+
case "ResourceNotFoundException":
|
|
1719
|
+
case "com.amazonaws.groundstation#ResourceNotFoundException":
|
|
1720
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1721
|
+
default:
|
|
1722
|
+
const parsedBody = parsedOutput.body;
|
|
1723
|
+
return throwDefaultError({
|
|
1724
|
+
output,
|
|
1725
|
+
parsedBody,
|
|
1726
|
+
errorCode
|
|
1727
|
+
});
|
|
1728
|
+
}
|
|
1729
|
+
}, "de_ListContactsCommandError");
|
|
1730
|
+
var de_ListDataflowEndpointGroupsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1731
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1732
|
+
return de_ListDataflowEndpointGroupsCommandError(output, context);
|
|
1733
|
+
}
|
|
1734
|
+
const contents = (0, import_smithy_client.map)({
|
|
1735
|
+
$metadata: deserializeMetadata(output)
|
|
1736
|
+
});
|
|
1737
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1738
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1739
|
+
dataflowEndpointGroupList: import_smithy_client._json,
|
|
1740
|
+
nextToken: import_smithy_client.expectString
|
|
1741
|
+
});
|
|
1742
|
+
Object.assign(contents, doc);
|
|
1743
|
+
return contents;
|
|
1744
|
+
}, "de_ListDataflowEndpointGroupsCommand");
|
|
1745
|
+
var de_ListDataflowEndpointGroupsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1746
|
+
const parsedOutput = {
|
|
1747
|
+
...output,
|
|
1748
|
+
body: await parseErrorBody(output.body, context)
|
|
1749
|
+
};
|
|
1750
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1751
|
+
switch (errorCode) {
|
|
1752
|
+
case "DependencyException":
|
|
1753
|
+
case "com.amazonaws.groundstation#DependencyException":
|
|
1754
|
+
throw await de_DependencyExceptionRes(parsedOutput, context);
|
|
1755
|
+
case "InvalidParameterException":
|
|
1756
|
+
case "com.amazonaws.groundstation#InvalidParameterException":
|
|
1757
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1758
|
+
case "ResourceNotFoundException":
|
|
1759
|
+
case "com.amazonaws.groundstation#ResourceNotFoundException":
|
|
1760
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1761
|
+
default:
|
|
1762
|
+
const parsedBody = parsedOutput.body;
|
|
1763
|
+
return throwDefaultError({
|
|
1764
|
+
output,
|
|
1765
|
+
parsedBody,
|
|
1766
|
+
errorCode
|
|
1767
|
+
});
|
|
1768
|
+
}
|
|
1769
|
+
}, "de_ListDataflowEndpointGroupsCommandError");
|
|
1770
|
+
var de_ListEphemeridesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1771
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1772
|
+
return de_ListEphemeridesCommandError(output, context);
|
|
1773
|
+
}
|
|
1774
|
+
const contents = (0, import_smithy_client.map)({
|
|
1775
|
+
$metadata: deserializeMetadata(output)
|
|
1776
|
+
});
|
|
1777
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1778
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1779
|
+
ephemerides: (_) => de_EphemeridesList(_, context),
|
|
1780
|
+
nextToken: import_smithy_client.expectString
|
|
1781
|
+
});
|
|
1782
|
+
Object.assign(contents, doc);
|
|
1783
|
+
return contents;
|
|
1784
|
+
}, "de_ListEphemeridesCommand");
|
|
1785
|
+
var de_ListEphemeridesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1786
|
+
const parsedOutput = {
|
|
1787
|
+
...output,
|
|
1788
|
+
body: await parseErrorBody(output.body, context)
|
|
1789
|
+
};
|
|
1790
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1791
|
+
switch (errorCode) {
|
|
1792
|
+
case "DependencyException":
|
|
1793
|
+
case "com.amazonaws.groundstation#DependencyException":
|
|
1794
|
+
throw await de_DependencyExceptionRes(parsedOutput, context);
|
|
1795
|
+
case "InvalidParameterException":
|
|
1796
|
+
case "com.amazonaws.groundstation#InvalidParameterException":
|
|
1797
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1798
|
+
case "ResourceNotFoundException":
|
|
1799
|
+
case "com.amazonaws.groundstation#ResourceNotFoundException":
|
|
1800
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1801
|
+
default:
|
|
1802
|
+
const parsedBody = parsedOutput.body;
|
|
1803
|
+
return throwDefaultError({
|
|
1804
|
+
output,
|
|
1805
|
+
parsedBody,
|
|
1806
|
+
errorCode
|
|
1807
|
+
});
|
|
1808
|
+
}
|
|
1809
|
+
}, "de_ListEphemeridesCommandError");
|
|
1810
|
+
var de_ListGroundStationsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1811
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1812
|
+
return de_ListGroundStationsCommandError(output, context);
|
|
1813
|
+
}
|
|
1814
|
+
const contents = (0, import_smithy_client.map)({
|
|
1815
|
+
$metadata: deserializeMetadata(output)
|
|
1816
|
+
});
|
|
1817
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1818
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1819
|
+
groundStationList: import_smithy_client._json,
|
|
1820
|
+
nextToken: import_smithy_client.expectString
|
|
1821
|
+
});
|
|
1822
|
+
Object.assign(contents, doc);
|
|
1823
|
+
return contents;
|
|
1824
|
+
}, "de_ListGroundStationsCommand");
|
|
1825
|
+
var de_ListGroundStationsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1826
|
+
const parsedOutput = {
|
|
1827
|
+
...output,
|
|
1828
|
+
body: await parseErrorBody(output.body, context)
|
|
1829
|
+
};
|
|
1830
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1831
|
+
switch (errorCode) {
|
|
1832
|
+
case "DependencyException":
|
|
1833
|
+
case "com.amazonaws.groundstation#DependencyException":
|
|
1834
|
+
throw await de_DependencyExceptionRes(parsedOutput, context);
|
|
1835
|
+
case "InvalidParameterException":
|
|
1836
|
+
case "com.amazonaws.groundstation#InvalidParameterException":
|
|
1837
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1838
|
+
case "ResourceNotFoundException":
|
|
1839
|
+
case "com.amazonaws.groundstation#ResourceNotFoundException":
|
|
1840
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1841
|
+
default:
|
|
1842
|
+
const parsedBody = parsedOutput.body;
|
|
1843
|
+
return throwDefaultError({
|
|
1844
|
+
output,
|
|
1845
|
+
parsedBody,
|
|
1846
|
+
errorCode
|
|
1847
|
+
});
|
|
1848
|
+
}
|
|
1849
|
+
}, "de_ListGroundStationsCommandError");
|
|
1850
|
+
var de_ListMissionProfilesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1851
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1852
|
+
return de_ListMissionProfilesCommandError(output, context);
|
|
1853
|
+
}
|
|
1854
|
+
const contents = (0, import_smithy_client.map)({
|
|
1855
|
+
$metadata: deserializeMetadata(output)
|
|
1856
|
+
});
|
|
1857
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1858
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1859
|
+
missionProfileList: import_smithy_client._json,
|
|
1860
|
+
nextToken: import_smithy_client.expectString
|
|
1861
|
+
});
|
|
1862
|
+
Object.assign(contents, doc);
|
|
1863
|
+
return contents;
|
|
1864
|
+
}, "de_ListMissionProfilesCommand");
|
|
1865
|
+
var de_ListMissionProfilesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1866
|
+
const parsedOutput = {
|
|
1867
|
+
...output,
|
|
1868
|
+
body: await parseErrorBody(output.body, context)
|
|
1869
|
+
};
|
|
1870
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1871
|
+
switch (errorCode) {
|
|
1872
|
+
case "DependencyException":
|
|
1873
|
+
case "com.amazonaws.groundstation#DependencyException":
|
|
1874
|
+
throw await de_DependencyExceptionRes(parsedOutput, context);
|
|
1875
|
+
case "InvalidParameterException":
|
|
1876
|
+
case "com.amazonaws.groundstation#InvalidParameterException":
|
|
1877
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1878
|
+
case "ResourceNotFoundException":
|
|
1879
|
+
case "com.amazonaws.groundstation#ResourceNotFoundException":
|
|
1880
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1881
|
+
default:
|
|
1882
|
+
const parsedBody = parsedOutput.body;
|
|
1883
|
+
return throwDefaultError({
|
|
1884
|
+
output,
|
|
1885
|
+
parsedBody,
|
|
1886
|
+
errorCode
|
|
1887
|
+
});
|
|
1888
|
+
}
|
|
1889
|
+
}, "de_ListMissionProfilesCommandError");
|
|
1890
|
+
var de_ListSatellitesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1891
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1892
|
+
return de_ListSatellitesCommandError(output, context);
|
|
1893
|
+
}
|
|
1894
|
+
const contents = (0, import_smithy_client.map)({
|
|
1895
|
+
$metadata: deserializeMetadata(output)
|
|
1896
|
+
});
|
|
1897
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1898
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1899
|
+
nextToken: import_smithy_client.expectString,
|
|
1900
|
+
satellites: (_) => de_SatelliteList(_, context)
|
|
1901
|
+
});
|
|
1902
|
+
Object.assign(contents, doc);
|
|
1903
|
+
return contents;
|
|
1904
|
+
}, "de_ListSatellitesCommand");
|
|
1905
|
+
var de_ListSatellitesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1906
|
+
const parsedOutput = {
|
|
1907
|
+
...output,
|
|
1908
|
+
body: await parseErrorBody(output.body, context)
|
|
1909
|
+
};
|
|
1910
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1911
|
+
switch (errorCode) {
|
|
1912
|
+
case "DependencyException":
|
|
1913
|
+
case "com.amazonaws.groundstation#DependencyException":
|
|
1914
|
+
throw await de_DependencyExceptionRes(parsedOutput, context);
|
|
1915
|
+
case "InvalidParameterException":
|
|
1916
|
+
case "com.amazonaws.groundstation#InvalidParameterException":
|
|
1917
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1918
|
+
case "ResourceNotFoundException":
|
|
1919
|
+
case "com.amazonaws.groundstation#ResourceNotFoundException":
|
|
1920
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1921
|
+
default:
|
|
1922
|
+
const parsedBody = parsedOutput.body;
|
|
1923
|
+
return throwDefaultError({
|
|
1924
|
+
output,
|
|
1925
|
+
parsedBody,
|
|
1926
|
+
errorCode
|
|
1927
|
+
});
|
|
1928
|
+
}
|
|
1929
|
+
}, "de_ListSatellitesCommandError");
|
|
1930
|
+
var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1931
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1932
|
+
return de_ListTagsForResourceCommandError(output, context);
|
|
1933
|
+
}
|
|
1934
|
+
const contents = (0, import_smithy_client.map)({
|
|
1935
|
+
$metadata: deserializeMetadata(output)
|
|
1936
|
+
});
|
|
1937
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1938
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1939
|
+
tags: import_smithy_client._json
|
|
1940
|
+
});
|
|
1941
|
+
Object.assign(contents, doc);
|
|
1942
|
+
return contents;
|
|
1943
|
+
}, "de_ListTagsForResourceCommand");
|
|
1944
|
+
var de_ListTagsForResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1945
|
+
const parsedOutput = {
|
|
1946
|
+
...output,
|
|
1947
|
+
body: await parseErrorBody(output.body, context)
|
|
1948
|
+
};
|
|
1949
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1950
|
+
switch (errorCode) {
|
|
1951
|
+
case "DependencyException":
|
|
1952
|
+
case "com.amazonaws.groundstation#DependencyException":
|
|
1953
|
+
throw await de_DependencyExceptionRes(parsedOutput, context);
|
|
1954
|
+
case "InvalidParameterException":
|
|
1955
|
+
case "com.amazonaws.groundstation#InvalidParameterException":
|
|
1956
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1957
|
+
case "ResourceNotFoundException":
|
|
1958
|
+
case "com.amazonaws.groundstation#ResourceNotFoundException":
|
|
1959
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1960
|
+
default:
|
|
1961
|
+
const parsedBody = parsedOutput.body;
|
|
1962
|
+
return throwDefaultError({
|
|
1963
|
+
output,
|
|
1964
|
+
parsedBody,
|
|
1965
|
+
errorCode
|
|
1966
|
+
});
|
|
1967
|
+
}
|
|
1968
|
+
}, "de_ListTagsForResourceCommandError");
|
|
1969
|
+
var de_RegisterAgentCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1970
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1971
|
+
return de_RegisterAgentCommandError(output, context);
|
|
1972
|
+
}
|
|
1973
|
+
const contents = (0, import_smithy_client.map)({
|
|
1974
|
+
$metadata: deserializeMetadata(output)
|
|
1975
|
+
});
|
|
1976
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1977
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1978
|
+
agentId: import_smithy_client.expectString
|
|
1979
|
+
});
|
|
1980
|
+
Object.assign(contents, doc);
|
|
1981
|
+
return contents;
|
|
1982
|
+
}, "de_RegisterAgentCommand");
|
|
1983
|
+
var de_RegisterAgentCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1984
|
+
const parsedOutput = {
|
|
1985
|
+
...output,
|
|
1986
|
+
body: await parseErrorBody(output.body, context)
|
|
1987
|
+
};
|
|
1988
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1989
|
+
switch (errorCode) {
|
|
1990
|
+
case "DependencyException":
|
|
1991
|
+
case "com.amazonaws.groundstation#DependencyException":
|
|
1992
|
+
throw await de_DependencyExceptionRes(parsedOutput, context);
|
|
1993
|
+
case "InvalidParameterException":
|
|
1994
|
+
case "com.amazonaws.groundstation#InvalidParameterException":
|
|
1995
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1996
|
+
case "ResourceNotFoundException":
|
|
1997
|
+
case "com.amazonaws.groundstation#ResourceNotFoundException":
|
|
1998
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1999
|
+
default:
|
|
2000
|
+
const parsedBody = parsedOutput.body;
|
|
2001
|
+
return throwDefaultError({
|
|
2002
|
+
output,
|
|
2003
|
+
parsedBody,
|
|
2004
|
+
errorCode
|
|
2005
|
+
});
|
|
2006
|
+
}
|
|
2007
|
+
}, "de_RegisterAgentCommandError");
|
|
2008
|
+
var de_ReserveContactCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2009
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2010
|
+
return de_ReserveContactCommandError(output, context);
|
|
2011
|
+
}
|
|
2012
|
+
const contents = (0, import_smithy_client.map)({
|
|
2013
|
+
$metadata: deserializeMetadata(output)
|
|
2014
|
+
});
|
|
2015
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
2016
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2017
|
+
contactId: import_smithy_client.expectString
|
|
2018
|
+
});
|
|
2019
|
+
Object.assign(contents, doc);
|
|
2020
|
+
return contents;
|
|
2021
|
+
}, "de_ReserveContactCommand");
|
|
2022
|
+
var de_ReserveContactCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2023
|
+
const parsedOutput = {
|
|
2024
|
+
...output,
|
|
2025
|
+
body: await parseErrorBody(output.body, context)
|
|
2026
|
+
};
|
|
2027
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2028
|
+
switch (errorCode) {
|
|
2029
|
+
case "DependencyException":
|
|
2030
|
+
case "com.amazonaws.groundstation#DependencyException":
|
|
2031
|
+
throw await de_DependencyExceptionRes(parsedOutput, context);
|
|
2032
|
+
case "InvalidParameterException":
|
|
2033
|
+
case "com.amazonaws.groundstation#InvalidParameterException":
|
|
2034
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
2035
|
+
case "ResourceNotFoundException":
|
|
2036
|
+
case "com.amazonaws.groundstation#ResourceNotFoundException":
|
|
2037
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2038
|
+
default:
|
|
2039
|
+
const parsedBody = parsedOutput.body;
|
|
2040
|
+
return throwDefaultError({
|
|
2041
|
+
output,
|
|
2042
|
+
parsedBody,
|
|
2043
|
+
errorCode
|
|
2044
|
+
});
|
|
2045
|
+
}
|
|
2046
|
+
}, "de_ReserveContactCommandError");
|
|
2047
|
+
var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2048
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2049
|
+
return de_TagResourceCommandError(output, context);
|
|
2050
|
+
}
|
|
2051
|
+
const contents = (0, import_smithy_client.map)({
|
|
2052
|
+
$metadata: deserializeMetadata(output)
|
|
2053
|
+
});
|
|
2054
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
2055
|
+
return contents;
|
|
2056
|
+
}, "de_TagResourceCommand");
|
|
2057
|
+
var de_TagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2058
|
+
const parsedOutput = {
|
|
2059
|
+
...output,
|
|
2060
|
+
body: await parseErrorBody(output.body, context)
|
|
2061
|
+
};
|
|
2062
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2063
|
+
switch (errorCode) {
|
|
2064
|
+
case "DependencyException":
|
|
2065
|
+
case "com.amazonaws.groundstation#DependencyException":
|
|
2066
|
+
throw await de_DependencyExceptionRes(parsedOutput, context);
|
|
2067
|
+
case "InvalidParameterException":
|
|
2068
|
+
case "com.amazonaws.groundstation#InvalidParameterException":
|
|
2069
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
2070
|
+
case "ResourceNotFoundException":
|
|
2071
|
+
case "com.amazonaws.groundstation#ResourceNotFoundException":
|
|
2072
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2073
|
+
default:
|
|
2074
|
+
const parsedBody = parsedOutput.body;
|
|
2075
|
+
return throwDefaultError({
|
|
2076
|
+
output,
|
|
2077
|
+
parsedBody,
|
|
2078
|
+
errorCode
|
|
2079
|
+
});
|
|
2080
|
+
}
|
|
2081
|
+
}, "de_TagResourceCommandError");
|
|
2082
|
+
var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2083
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2084
|
+
return de_UntagResourceCommandError(output, context);
|
|
2085
|
+
}
|
|
2086
|
+
const contents = (0, import_smithy_client.map)({
|
|
2087
|
+
$metadata: deserializeMetadata(output)
|
|
2088
|
+
});
|
|
2089
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
2090
|
+
return contents;
|
|
2091
|
+
}, "de_UntagResourceCommand");
|
|
2092
|
+
var de_UntagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2093
|
+
const parsedOutput = {
|
|
2094
|
+
...output,
|
|
2095
|
+
body: await parseErrorBody(output.body, context)
|
|
2096
|
+
};
|
|
2097
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2098
|
+
switch (errorCode) {
|
|
2099
|
+
case "DependencyException":
|
|
2100
|
+
case "com.amazonaws.groundstation#DependencyException":
|
|
2101
|
+
throw await de_DependencyExceptionRes(parsedOutput, context);
|
|
2102
|
+
case "InvalidParameterException":
|
|
2103
|
+
case "com.amazonaws.groundstation#InvalidParameterException":
|
|
2104
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
2105
|
+
case "ResourceNotFoundException":
|
|
2106
|
+
case "com.amazonaws.groundstation#ResourceNotFoundException":
|
|
2107
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2108
|
+
default:
|
|
2109
|
+
const parsedBody = parsedOutput.body;
|
|
2110
|
+
return throwDefaultError({
|
|
2111
|
+
output,
|
|
2112
|
+
parsedBody,
|
|
2113
|
+
errorCode
|
|
2114
|
+
});
|
|
2115
|
+
}
|
|
2116
|
+
}, "de_UntagResourceCommandError");
|
|
2117
|
+
var de_UpdateAgentStatusCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2118
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2119
|
+
return de_UpdateAgentStatusCommandError(output, context);
|
|
2120
|
+
}
|
|
2121
|
+
const contents = (0, import_smithy_client.map)({
|
|
2122
|
+
$metadata: deserializeMetadata(output)
|
|
2123
|
+
});
|
|
2124
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
2125
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2126
|
+
agentId: import_smithy_client.expectString
|
|
2127
|
+
});
|
|
2128
|
+
Object.assign(contents, doc);
|
|
2129
|
+
return contents;
|
|
2130
|
+
}, "de_UpdateAgentStatusCommand");
|
|
2131
|
+
var de_UpdateAgentStatusCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2132
|
+
const parsedOutput = {
|
|
2133
|
+
...output,
|
|
2134
|
+
body: await parseErrorBody(output.body, context)
|
|
2135
|
+
};
|
|
2136
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2137
|
+
switch (errorCode) {
|
|
2138
|
+
case "DependencyException":
|
|
2139
|
+
case "com.amazonaws.groundstation#DependencyException":
|
|
2140
|
+
throw await de_DependencyExceptionRes(parsedOutput, context);
|
|
2141
|
+
case "InvalidParameterException":
|
|
2142
|
+
case "com.amazonaws.groundstation#InvalidParameterException":
|
|
2143
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
2144
|
+
case "ResourceNotFoundException":
|
|
2145
|
+
case "com.amazonaws.groundstation#ResourceNotFoundException":
|
|
2146
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2147
|
+
default:
|
|
2148
|
+
const parsedBody = parsedOutput.body;
|
|
2149
|
+
return throwDefaultError({
|
|
2150
|
+
output,
|
|
2151
|
+
parsedBody,
|
|
2152
|
+
errorCode
|
|
2153
|
+
});
|
|
2154
|
+
}
|
|
2155
|
+
}, "de_UpdateAgentStatusCommandError");
|
|
2156
|
+
var de_UpdateConfigCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2157
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2158
|
+
return de_UpdateConfigCommandError(output, context);
|
|
2159
|
+
}
|
|
2160
|
+
const contents = (0, import_smithy_client.map)({
|
|
2161
|
+
$metadata: deserializeMetadata(output)
|
|
2162
|
+
});
|
|
2163
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
2164
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2165
|
+
configArn: import_smithy_client.expectString,
|
|
2166
|
+
configId: import_smithy_client.expectString,
|
|
2167
|
+
configType: import_smithy_client.expectString
|
|
2168
|
+
});
|
|
2169
|
+
Object.assign(contents, doc);
|
|
2170
|
+
return contents;
|
|
2171
|
+
}, "de_UpdateConfigCommand");
|
|
2172
|
+
var de_UpdateConfigCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2173
|
+
const parsedOutput = {
|
|
2174
|
+
...output,
|
|
2175
|
+
body: await parseErrorBody(output.body, context)
|
|
2176
|
+
};
|
|
2177
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2178
|
+
switch (errorCode) {
|
|
2179
|
+
case "DependencyException":
|
|
2180
|
+
case "com.amazonaws.groundstation#DependencyException":
|
|
2181
|
+
throw await de_DependencyExceptionRes(parsedOutput, context);
|
|
2182
|
+
case "InvalidParameterException":
|
|
2183
|
+
case "com.amazonaws.groundstation#InvalidParameterException":
|
|
2184
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
2185
|
+
case "ResourceNotFoundException":
|
|
2186
|
+
case "com.amazonaws.groundstation#ResourceNotFoundException":
|
|
2187
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2188
|
+
default:
|
|
2189
|
+
const parsedBody = parsedOutput.body;
|
|
2190
|
+
return throwDefaultError({
|
|
2191
|
+
output,
|
|
2192
|
+
parsedBody,
|
|
2193
|
+
errorCode
|
|
2194
|
+
});
|
|
2195
|
+
}
|
|
2196
|
+
}, "de_UpdateConfigCommandError");
|
|
2197
|
+
var de_UpdateEphemerisCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2198
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2199
|
+
return de_UpdateEphemerisCommandError(output, context);
|
|
2200
|
+
}
|
|
2201
|
+
const contents = (0, import_smithy_client.map)({
|
|
2202
|
+
$metadata: deserializeMetadata(output)
|
|
2203
|
+
});
|
|
2204
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
2205
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2206
|
+
ephemerisId: import_smithy_client.expectString
|
|
2207
|
+
});
|
|
2208
|
+
Object.assign(contents, doc);
|
|
2209
|
+
return contents;
|
|
2210
|
+
}, "de_UpdateEphemerisCommand");
|
|
2211
|
+
var de_UpdateEphemerisCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2212
|
+
const parsedOutput = {
|
|
2213
|
+
...output,
|
|
2214
|
+
body: await parseErrorBody(output.body, context)
|
|
2215
|
+
};
|
|
2216
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2217
|
+
switch (errorCode) {
|
|
2218
|
+
case "DependencyException":
|
|
2219
|
+
case "com.amazonaws.groundstation#DependencyException":
|
|
2220
|
+
throw await de_DependencyExceptionRes(parsedOutput, context);
|
|
2221
|
+
case "InvalidParameterException":
|
|
2222
|
+
case "com.amazonaws.groundstation#InvalidParameterException":
|
|
2223
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
2224
|
+
case "ResourceNotFoundException":
|
|
2225
|
+
case "com.amazonaws.groundstation#ResourceNotFoundException":
|
|
2226
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2227
|
+
default:
|
|
2228
|
+
const parsedBody = parsedOutput.body;
|
|
2229
|
+
return throwDefaultError({
|
|
2230
|
+
output,
|
|
2231
|
+
parsedBody,
|
|
2232
|
+
errorCode
|
|
2233
|
+
});
|
|
2234
|
+
}
|
|
2235
|
+
}, "de_UpdateEphemerisCommandError");
|
|
2236
|
+
var de_UpdateMissionProfileCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2237
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2238
|
+
return de_UpdateMissionProfileCommandError(output, context);
|
|
2239
|
+
}
|
|
2240
|
+
const contents = (0, import_smithy_client.map)({
|
|
2241
|
+
$metadata: deserializeMetadata(output)
|
|
2242
|
+
});
|
|
2243
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
2244
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2245
|
+
missionProfileId: import_smithy_client.expectString
|
|
2246
|
+
});
|
|
2247
|
+
Object.assign(contents, doc);
|
|
2248
|
+
return contents;
|
|
2249
|
+
}, "de_UpdateMissionProfileCommand");
|
|
2250
|
+
var de_UpdateMissionProfileCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2251
|
+
const parsedOutput = {
|
|
2252
|
+
...output,
|
|
2253
|
+
body: await parseErrorBody(output.body, context)
|
|
2254
|
+
};
|
|
2255
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2256
|
+
switch (errorCode) {
|
|
2257
|
+
case "DependencyException":
|
|
2258
|
+
case "com.amazonaws.groundstation#DependencyException":
|
|
2259
|
+
throw await de_DependencyExceptionRes(parsedOutput, context);
|
|
2260
|
+
case "InvalidParameterException":
|
|
2261
|
+
case "com.amazonaws.groundstation#InvalidParameterException":
|
|
2262
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
2263
|
+
case "ResourceNotFoundException":
|
|
2264
|
+
case "com.amazonaws.groundstation#ResourceNotFoundException":
|
|
2265
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2266
|
+
default:
|
|
2267
|
+
const parsedBody = parsedOutput.body;
|
|
2268
|
+
return throwDefaultError({
|
|
2269
|
+
output,
|
|
2270
|
+
parsedBody,
|
|
2271
|
+
errorCode
|
|
2272
|
+
});
|
|
2273
|
+
}
|
|
2274
|
+
}, "de_UpdateMissionProfileCommandError");
|
|
2275
|
+
var throwDefaultError = (0, import_smithy_client.withBaseException)(GroundStationServiceException);
|
|
2276
|
+
var de_DependencyExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2277
|
+
const contents = (0, import_smithy_client.map)({});
|
|
2278
|
+
const data = parsedOutput.body;
|
|
2279
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2280
|
+
message: import_smithy_client.expectString,
|
|
2281
|
+
parameterName: import_smithy_client.expectString
|
|
2282
|
+
});
|
|
2283
|
+
Object.assign(contents, doc);
|
|
2284
|
+
const exception = new DependencyException({
|
|
2285
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2286
|
+
...contents
|
|
2287
|
+
});
|
|
2288
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
2289
|
+
}, "de_DependencyExceptionRes");
|
|
2290
|
+
var de_InvalidParameterExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2291
|
+
const contents = (0, import_smithy_client.map)({});
|
|
2292
|
+
const data = parsedOutput.body;
|
|
2293
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2294
|
+
message: import_smithy_client.expectString,
|
|
2295
|
+
parameterName: import_smithy_client.expectString
|
|
2296
|
+
});
|
|
2297
|
+
Object.assign(contents, doc);
|
|
2298
|
+
const exception = new InvalidParameterException({
|
|
2299
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2300
|
+
...contents
|
|
2301
|
+
});
|
|
2302
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
2303
|
+
}, "de_InvalidParameterExceptionRes");
|
|
2304
|
+
var de_ResourceLimitExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2305
|
+
const contents = (0, import_smithy_client.map)({});
|
|
2306
|
+
const data = parsedOutput.body;
|
|
2307
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2308
|
+
message: import_smithy_client.expectString,
|
|
2309
|
+
parameterName: import_smithy_client.expectString
|
|
2310
|
+
});
|
|
2311
|
+
Object.assign(contents, doc);
|
|
2312
|
+
const exception = new ResourceLimitExceededException({
|
|
2313
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2314
|
+
...contents
|
|
2315
|
+
});
|
|
2316
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
2317
|
+
}, "de_ResourceLimitExceededExceptionRes");
|
|
2318
|
+
var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2319
|
+
const contents = (0, import_smithy_client.map)({});
|
|
2320
|
+
const data = parsedOutput.body;
|
|
2321
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2322
|
+
message: import_smithy_client.expectString
|
|
2323
|
+
});
|
|
2324
|
+
Object.assign(contents, doc);
|
|
2325
|
+
const exception = new ResourceNotFoundException({
|
|
2326
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2327
|
+
...contents
|
|
2328
|
+
});
|
|
2329
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
2330
|
+
}, "de_ResourceNotFoundExceptionRes");
|
|
2331
|
+
var se_AntennaDownlinkConfig = /* @__PURE__ */ __name((input, context) => {
|
|
2332
|
+
return (0, import_smithy_client.take)(input, {
|
|
2333
|
+
spectrumConfig: (_) => se_SpectrumConfig(_, context)
|
|
2334
|
+
});
|
|
2335
|
+
}, "se_AntennaDownlinkConfig");
|
|
2336
|
+
var se_AntennaDownlinkDemodDecodeConfig = /* @__PURE__ */ __name((input, context) => {
|
|
2337
|
+
return (0, import_smithy_client.take)(input, {
|
|
2338
|
+
decodeConfig: import_smithy_client._json,
|
|
2339
|
+
demodulationConfig: import_smithy_client._json,
|
|
2340
|
+
spectrumConfig: (_) => se_SpectrumConfig(_, context)
|
|
2341
|
+
});
|
|
2342
|
+
}, "se_AntennaDownlinkDemodDecodeConfig");
|
|
2343
|
+
var se_AntennaUplinkConfig = /* @__PURE__ */ __name((input, context) => {
|
|
2344
|
+
return (0, import_smithy_client.take)(input, {
|
|
2345
|
+
spectrumConfig: (_) => se_UplinkSpectrumConfig(_, context),
|
|
2346
|
+
targetEirp: (_) => se_Eirp(_, context),
|
|
2347
|
+
transmitDisabled: []
|
|
2348
|
+
});
|
|
2349
|
+
}, "se_AntennaUplinkConfig");
|
|
2350
|
+
var se_ConfigTypeData = /* @__PURE__ */ __name((input, context) => {
|
|
2351
|
+
return ConfigTypeData.visit(input, {
|
|
2352
|
+
antennaDownlinkConfig: (value) => ({ antennaDownlinkConfig: se_AntennaDownlinkConfig(value, context) }),
|
|
2353
|
+
antennaDownlinkDemodDecodeConfig: (value) => ({
|
|
2354
|
+
antennaDownlinkDemodDecodeConfig: se_AntennaDownlinkDemodDecodeConfig(value, context)
|
|
2355
|
+
}),
|
|
2356
|
+
antennaUplinkConfig: (value) => ({ antennaUplinkConfig: se_AntennaUplinkConfig(value, context) }),
|
|
2357
|
+
dataflowEndpointConfig: (value) => ({ dataflowEndpointConfig: (0, import_smithy_client._json)(value) }),
|
|
2358
|
+
s3RecordingConfig: (value) => ({ s3RecordingConfig: (0, import_smithy_client._json)(value) }),
|
|
2359
|
+
trackingConfig: (value) => ({ trackingConfig: (0, import_smithy_client._json)(value) }),
|
|
2360
|
+
uplinkEchoConfig: (value) => ({ uplinkEchoConfig: (0, import_smithy_client._json)(value) }),
|
|
2361
|
+
_: (name, value) => ({ name: value })
|
|
2362
|
+
});
|
|
2363
|
+
}, "se_ConfigTypeData");
|
|
2364
|
+
var se_Eirp = /* @__PURE__ */ __name((input, context) => {
|
|
2365
|
+
return (0, import_smithy_client.take)(input, {
|
|
2366
|
+
units: [],
|
|
2367
|
+
value: import_smithy_client.serializeFloat
|
|
2368
|
+
});
|
|
2369
|
+
}, "se_Eirp");
|
|
2370
|
+
var se_EphemerisData = /* @__PURE__ */ __name((input, context) => {
|
|
2371
|
+
return EphemerisData.visit(input, {
|
|
2372
|
+
oem: (value) => ({ oem: (0, import_smithy_client._json)(value) }),
|
|
2373
|
+
tle: (value) => ({ tle: se_TLEEphemeris(value, context) }),
|
|
2374
|
+
_: (name, value) => ({ name: value })
|
|
2375
|
+
});
|
|
2376
|
+
}, "se_EphemerisData");
|
|
2377
|
+
var se_Frequency = /* @__PURE__ */ __name((input, context) => {
|
|
2378
|
+
return (0, import_smithy_client.take)(input, {
|
|
2379
|
+
units: [],
|
|
2380
|
+
value: import_smithy_client.serializeFloat
|
|
2381
|
+
});
|
|
2382
|
+
}, "se_Frequency");
|
|
2383
|
+
var se_FrequencyBandwidth = /* @__PURE__ */ __name((input, context) => {
|
|
2384
|
+
return (0, import_smithy_client.take)(input, {
|
|
2385
|
+
units: [],
|
|
2386
|
+
value: import_smithy_client.serializeFloat
|
|
2387
|
+
});
|
|
2388
|
+
}, "se_FrequencyBandwidth");
|
|
2389
|
+
var se_SpectrumConfig = /* @__PURE__ */ __name((input, context) => {
|
|
2390
|
+
return (0, import_smithy_client.take)(input, {
|
|
2391
|
+
bandwidth: (_) => se_FrequencyBandwidth(_, context),
|
|
2392
|
+
centerFrequency: (_) => se_Frequency(_, context),
|
|
2393
|
+
polarization: []
|
|
2394
|
+
});
|
|
2395
|
+
}, "se_SpectrumConfig");
|
|
2396
|
+
var se_TimeRange = /* @__PURE__ */ __name((input, context) => {
|
|
2397
|
+
return (0, import_smithy_client.take)(input, {
|
|
2398
|
+
endTime: (_) => Math.round(_.getTime() / 1e3),
|
|
2399
|
+
startTime: (_) => Math.round(_.getTime() / 1e3)
|
|
2400
|
+
});
|
|
2401
|
+
}, "se_TimeRange");
|
|
2402
|
+
var se_TLEData = /* @__PURE__ */ __name((input, context) => {
|
|
2403
|
+
return (0, import_smithy_client.take)(input, {
|
|
2404
|
+
tleLine1: [],
|
|
2405
|
+
tleLine2: [],
|
|
2406
|
+
validTimeRange: (_) => se_TimeRange(_, context)
|
|
2407
|
+
});
|
|
2408
|
+
}, "se_TLEData");
|
|
2409
|
+
var se_TLEDataList = /* @__PURE__ */ __name((input, context) => {
|
|
2410
|
+
return input.filter((e) => e != null).map((entry) => {
|
|
2411
|
+
return se_TLEData(entry, context);
|
|
2412
|
+
});
|
|
2413
|
+
}, "se_TLEDataList");
|
|
2414
|
+
var se_TLEEphemeris = /* @__PURE__ */ __name((input, context) => {
|
|
2415
|
+
return (0, import_smithy_client.take)(input, {
|
|
2416
|
+
s3Object: import_smithy_client._json,
|
|
2417
|
+
tleData: (_) => se_TLEDataList(_, context)
|
|
2418
|
+
});
|
|
2419
|
+
}, "se_TLEEphemeris");
|
|
2420
|
+
var se_UplinkSpectrumConfig = /* @__PURE__ */ __name((input, context) => {
|
|
2421
|
+
return (0, import_smithy_client.take)(input, {
|
|
2422
|
+
centerFrequency: (_) => se_Frequency(_, context),
|
|
2423
|
+
polarization: []
|
|
2424
|
+
});
|
|
2425
|
+
}, "se_UplinkSpectrumConfig");
|
|
2426
|
+
var de_AntennaDownlinkConfig = /* @__PURE__ */ __name((output, context) => {
|
|
2427
|
+
return (0, import_smithy_client.take)(output, {
|
|
2428
|
+
spectrumConfig: (_) => de_SpectrumConfig(_, context)
|
|
2429
|
+
});
|
|
2430
|
+
}, "de_AntennaDownlinkConfig");
|
|
2431
|
+
var de_AntennaDownlinkDemodDecodeConfig = /* @__PURE__ */ __name((output, context) => {
|
|
2432
|
+
return (0, import_smithy_client.take)(output, {
|
|
2433
|
+
decodeConfig: import_smithy_client._json,
|
|
2434
|
+
demodulationConfig: import_smithy_client._json,
|
|
2435
|
+
spectrumConfig: (_) => de_SpectrumConfig(_, context)
|
|
2436
|
+
});
|
|
2437
|
+
}, "de_AntennaDownlinkDemodDecodeConfig");
|
|
2438
|
+
var de_AntennaUplinkConfig = /* @__PURE__ */ __name((output, context) => {
|
|
2439
|
+
return (0, import_smithy_client.take)(output, {
|
|
2440
|
+
spectrumConfig: (_) => de_UplinkSpectrumConfig(_, context),
|
|
2441
|
+
targetEirp: (_) => de_Eirp(_, context),
|
|
2442
|
+
transmitDisabled: import_smithy_client.expectBoolean
|
|
2443
|
+
});
|
|
2444
|
+
}, "de_AntennaUplinkConfig");
|
|
2445
|
+
var de_ConfigTypeData = /* @__PURE__ */ __name((output, context) => {
|
|
2446
|
+
if (output.antennaDownlinkConfig != null) {
|
|
2447
|
+
return {
|
|
2448
|
+
antennaDownlinkConfig: de_AntennaDownlinkConfig(output.antennaDownlinkConfig, context)
|
|
2449
|
+
};
|
|
2450
|
+
}
|
|
2451
|
+
if (output.antennaDownlinkDemodDecodeConfig != null) {
|
|
2452
|
+
return {
|
|
2453
|
+
antennaDownlinkDemodDecodeConfig: de_AntennaDownlinkDemodDecodeConfig(
|
|
2454
|
+
output.antennaDownlinkDemodDecodeConfig,
|
|
2455
|
+
context
|
|
2456
|
+
)
|
|
2457
|
+
};
|
|
2458
|
+
}
|
|
2459
|
+
if (output.antennaUplinkConfig != null) {
|
|
2460
|
+
return {
|
|
2461
|
+
antennaUplinkConfig: de_AntennaUplinkConfig(output.antennaUplinkConfig, context)
|
|
2462
|
+
};
|
|
2463
|
+
}
|
|
2464
|
+
if (output.dataflowEndpointConfig != null) {
|
|
2465
|
+
return {
|
|
2466
|
+
dataflowEndpointConfig: (0, import_smithy_client._json)(output.dataflowEndpointConfig)
|
|
2467
|
+
};
|
|
2468
|
+
}
|
|
2469
|
+
if (output.s3RecordingConfig != null) {
|
|
2470
|
+
return {
|
|
2471
|
+
s3RecordingConfig: (0, import_smithy_client._json)(output.s3RecordingConfig)
|
|
2472
|
+
};
|
|
2473
|
+
}
|
|
2474
|
+
if (output.trackingConfig != null) {
|
|
2475
|
+
return {
|
|
2476
|
+
trackingConfig: (0, import_smithy_client._json)(output.trackingConfig)
|
|
2477
|
+
};
|
|
2478
|
+
}
|
|
2479
|
+
if (output.uplinkEchoConfig != null) {
|
|
2480
|
+
return {
|
|
2481
|
+
uplinkEchoConfig: (0, import_smithy_client._json)(output.uplinkEchoConfig)
|
|
2482
|
+
};
|
|
2483
|
+
}
|
|
2484
|
+
return { $unknown: Object.entries(output)[0] };
|
|
2485
|
+
}, "de_ConfigTypeData");
|
|
2486
|
+
var de_ContactData = /* @__PURE__ */ __name((output, context) => {
|
|
2487
|
+
return (0, import_smithy_client.take)(output, {
|
|
2488
|
+
contactId: import_smithy_client.expectString,
|
|
2489
|
+
contactStatus: import_smithy_client.expectString,
|
|
2490
|
+
endTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2491
|
+
errorMessage: import_smithy_client.expectString,
|
|
2492
|
+
groundStation: import_smithy_client.expectString,
|
|
2493
|
+
maximumElevation: (_) => de_Elevation(_, context),
|
|
2494
|
+
missionProfileArn: import_smithy_client.expectString,
|
|
2495
|
+
postPassEndTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2496
|
+
prePassStartTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2497
|
+
region: import_smithy_client.expectString,
|
|
2498
|
+
satelliteArn: import_smithy_client.expectString,
|
|
2499
|
+
startTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2500
|
+
tags: import_smithy_client._json
|
|
2501
|
+
});
|
|
2502
|
+
}, "de_ContactData");
|
|
2503
|
+
var de_ContactList = /* @__PURE__ */ __name((output, context) => {
|
|
2504
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
2505
|
+
return de_ContactData(entry, context);
|
|
2506
|
+
});
|
|
2507
|
+
return retVal;
|
|
2508
|
+
}, "de_ContactList");
|
|
2509
|
+
var de_Eirp = /* @__PURE__ */ __name((output, context) => {
|
|
2510
|
+
return (0, import_smithy_client.take)(output, {
|
|
2511
|
+
units: import_smithy_client.expectString,
|
|
2512
|
+
value: import_smithy_client.limitedParseDouble
|
|
2513
|
+
});
|
|
2514
|
+
}, "de_Eirp");
|
|
2515
|
+
var de_Elevation = /* @__PURE__ */ __name((output, context) => {
|
|
2516
|
+
return (0, import_smithy_client.take)(output, {
|
|
2517
|
+
unit: import_smithy_client.expectString,
|
|
2518
|
+
value: import_smithy_client.limitedParseDouble
|
|
2519
|
+
});
|
|
2520
|
+
}, "de_Elevation");
|
|
2521
|
+
var de_EphemeridesList = /* @__PURE__ */ __name((output, context) => {
|
|
2522
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
2523
|
+
return de_EphemerisItem(entry, context);
|
|
2524
|
+
});
|
|
2525
|
+
return retVal;
|
|
2526
|
+
}, "de_EphemeridesList");
|
|
2527
|
+
var de_EphemerisItem = /* @__PURE__ */ __name((output, context) => {
|
|
2528
|
+
return (0, import_smithy_client.take)(output, {
|
|
2529
|
+
creationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2530
|
+
enabled: import_smithy_client.expectBoolean,
|
|
2531
|
+
ephemerisId: import_smithy_client.expectString,
|
|
2532
|
+
name: import_smithy_client.expectString,
|
|
2533
|
+
priority: import_smithy_client.expectInt32,
|
|
2534
|
+
sourceS3Object: import_smithy_client._json,
|
|
2535
|
+
status: import_smithy_client.expectString
|
|
2536
|
+
});
|
|
2537
|
+
}, "de_EphemerisItem");
|
|
2538
|
+
var de_EphemerisMetaData = /* @__PURE__ */ __name((output, context) => {
|
|
2539
|
+
return (0, import_smithy_client.take)(output, {
|
|
2540
|
+
ephemerisId: import_smithy_client.expectString,
|
|
2541
|
+
epoch: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2542
|
+
name: import_smithy_client.expectString,
|
|
2543
|
+
source: import_smithy_client.expectString
|
|
2544
|
+
});
|
|
2545
|
+
}, "de_EphemerisMetaData");
|
|
2546
|
+
var de_Frequency = /* @__PURE__ */ __name((output, context) => {
|
|
2547
|
+
return (0, import_smithy_client.take)(output, {
|
|
2548
|
+
units: import_smithy_client.expectString,
|
|
2549
|
+
value: import_smithy_client.limitedParseDouble
|
|
2550
|
+
});
|
|
2551
|
+
}, "de_Frequency");
|
|
2552
|
+
var de_FrequencyBandwidth = /* @__PURE__ */ __name((output, context) => {
|
|
2553
|
+
return (0, import_smithy_client.take)(output, {
|
|
2554
|
+
units: import_smithy_client.expectString,
|
|
2555
|
+
value: import_smithy_client.limitedParseDouble
|
|
2556
|
+
});
|
|
2557
|
+
}, "de_FrequencyBandwidth");
|
|
2558
|
+
var de_SatelliteList = /* @__PURE__ */ __name((output, context) => {
|
|
2559
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
2560
|
+
return de_SatelliteListItem(entry, context);
|
|
2561
|
+
});
|
|
2562
|
+
return retVal;
|
|
2563
|
+
}, "de_SatelliteList");
|
|
2564
|
+
var de_SatelliteListItem = /* @__PURE__ */ __name((output, context) => {
|
|
2565
|
+
return (0, import_smithy_client.take)(output, {
|
|
2566
|
+
currentEphemeris: (_) => de_EphemerisMetaData(_, context),
|
|
2567
|
+
groundStations: import_smithy_client._json,
|
|
2568
|
+
noradSatelliteID: import_smithy_client.expectInt32,
|
|
2569
|
+
satelliteArn: import_smithy_client.expectString,
|
|
2570
|
+
satelliteId: import_smithy_client.expectString
|
|
2571
|
+
});
|
|
2572
|
+
}, "de_SatelliteListItem");
|
|
2573
|
+
var de_SpectrumConfig = /* @__PURE__ */ __name((output, context) => {
|
|
2574
|
+
return (0, import_smithy_client.take)(output, {
|
|
2575
|
+
bandwidth: (_) => de_FrequencyBandwidth(_, context),
|
|
2576
|
+
centerFrequency: (_) => de_Frequency(_, context),
|
|
2577
|
+
polarization: import_smithy_client.expectString
|
|
2578
|
+
});
|
|
2579
|
+
}, "de_SpectrumConfig");
|
|
2580
|
+
var de_UplinkSpectrumConfig = /* @__PURE__ */ __name((output, context) => {
|
|
2581
|
+
return (0, import_smithy_client.take)(output, {
|
|
2582
|
+
centerFrequency: (_) => de_Frequency(_, context),
|
|
2583
|
+
polarization: import_smithy_client.expectString
|
|
2584
|
+
});
|
|
2585
|
+
}, "de_UplinkSpectrumConfig");
|
|
2586
|
+
var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
2587
|
+
httpStatusCode: output.statusCode,
|
|
2588
|
+
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
2589
|
+
extendedRequestId: output.headers["x-amz-id-2"],
|
|
2590
|
+
cfId: output.headers["x-amz-cf-id"]
|
|
2591
|
+
}), "deserializeMetadata");
|
|
2592
|
+
var collectBodyString = /* @__PURE__ */ __name((streamBody, context) => (0, import_smithy_client.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body)), "collectBodyString");
|
|
2593
|
+
var _mR = "maxResults";
|
|
2594
|
+
var _nT = "nextToken";
|
|
2595
|
+
var _sI = "satelliteId";
|
|
2596
|
+
var _tK = "tagKeys";
|
|
2597
|
+
var parseBody = /* @__PURE__ */ __name((streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
2598
|
+
if (encoded.length) {
|
|
2599
|
+
return JSON.parse(encoded);
|
|
2600
|
+
}
|
|
2601
|
+
return {};
|
|
2602
|
+
}), "parseBody");
|
|
2603
|
+
var parseErrorBody = /* @__PURE__ */ __name(async (errorBody, context) => {
|
|
2604
|
+
const value = await parseBody(errorBody, context);
|
|
2605
|
+
value.message = value.message ?? value.Message;
|
|
2606
|
+
return value;
|
|
2607
|
+
}, "parseErrorBody");
|
|
2608
|
+
var loadRestJsonErrorCode = /* @__PURE__ */ __name((output, data) => {
|
|
2609
|
+
const findKey = /* @__PURE__ */ __name((object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase()), "findKey");
|
|
2610
|
+
const sanitizeErrorCode = /* @__PURE__ */ __name((rawValue) => {
|
|
2611
|
+
let cleanValue = rawValue;
|
|
2612
|
+
if (typeof cleanValue === "number") {
|
|
2613
|
+
cleanValue = cleanValue.toString();
|
|
2614
|
+
}
|
|
2615
|
+
if (cleanValue.indexOf(",") >= 0) {
|
|
2616
|
+
cleanValue = cleanValue.split(",")[0];
|
|
2617
|
+
}
|
|
2618
|
+
if (cleanValue.indexOf(":") >= 0) {
|
|
2619
|
+
cleanValue = cleanValue.split(":")[0];
|
|
2620
|
+
}
|
|
2621
|
+
if (cleanValue.indexOf("#") >= 0) {
|
|
2622
|
+
cleanValue = cleanValue.split("#")[1];
|
|
2623
|
+
}
|
|
2624
|
+
return cleanValue;
|
|
2625
|
+
}, "sanitizeErrorCode");
|
|
2626
|
+
const headerKey = findKey(output.headers, "x-amzn-errortype");
|
|
2627
|
+
if (headerKey !== void 0) {
|
|
2628
|
+
return sanitizeErrorCode(output.headers[headerKey]);
|
|
2629
|
+
}
|
|
2630
|
+
if (data.code !== void 0) {
|
|
2631
|
+
return sanitizeErrorCode(data.code);
|
|
2632
|
+
}
|
|
2633
|
+
if (data["__type"] !== void 0) {
|
|
2634
|
+
return sanitizeErrorCode(data["__type"]);
|
|
2635
|
+
}
|
|
2636
|
+
}, "loadRestJsonErrorCode");
|
|
2637
|
+
|
|
2638
|
+
// src/commands/CancelContactCommand.ts
|
|
2639
|
+
var _CancelContactCommand = class _CancelContactCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2640
|
+
...commonParams
|
|
2641
|
+
}).m(function(Command, cs, config, o) {
|
|
2642
|
+
return [
|
|
2643
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2644
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2645
|
+
];
|
|
2646
|
+
}).s("GroundStation", "CancelContact", {}).n("GroundStationClient", "CancelContactCommand").f(void 0, void 0).ser(se_CancelContactCommand).de(de_CancelContactCommand).build() {
|
|
2647
|
+
};
|
|
2648
|
+
__name(_CancelContactCommand, "CancelContactCommand");
|
|
2649
|
+
var CancelContactCommand = _CancelContactCommand;
|
|
2650
|
+
|
|
2651
|
+
// src/commands/CreateConfigCommand.ts
|
|
2652
|
+
|
|
2653
|
+
|
|
2654
|
+
|
|
2655
|
+
|
|
2656
|
+
var _CreateConfigCommand = class _CreateConfigCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2657
|
+
...commonParams
|
|
2658
|
+
}).m(function(Command, cs, config, o) {
|
|
2659
|
+
return [
|
|
2660
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2661
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2662
|
+
];
|
|
2663
|
+
}).s("GroundStation", "CreateConfig", {}).n("GroundStationClient", "CreateConfigCommand").f(void 0, void 0).ser(se_CreateConfigCommand).de(de_CreateConfigCommand).build() {
|
|
2664
|
+
};
|
|
2665
|
+
__name(_CreateConfigCommand, "CreateConfigCommand");
|
|
2666
|
+
var CreateConfigCommand = _CreateConfigCommand;
|
|
2667
|
+
|
|
2668
|
+
// src/commands/CreateDataflowEndpointGroupCommand.ts
|
|
2669
|
+
|
|
2670
|
+
|
|
2671
|
+
|
|
2672
|
+
|
|
2673
|
+
var _CreateDataflowEndpointGroupCommand = class _CreateDataflowEndpointGroupCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2674
|
+
...commonParams
|
|
2675
|
+
}).m(function(Command, cs, config, o) {
|
|
2676
|
+
return [
|
|
2677
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2678
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2679
|
+
];
|
|
2680
|
+
}).s("GroundStation", "CreateDataflowEndpointGroup", {}).n("GroundStationClient", "CreateDataflowEndpointGroupCommand").f(void 0, void 0).ser(se_CreateDataflowEndpointGroupCommand).de(de_CreateDataflowEndpointGroupCommand).build() {
|
|
2681
|
+
};
|
|
2682
|
+
__name(_CreateDataflowEndpointGroupCommand, "CreateDataflowEndpointGroupCommand");
|
|
2683
|
+
var CreateDataflowEndpointGroupCommand = _CreateDataflowEndpointGroupCommand;
|
|
2684
|
+
|
|
2685
|
+
// src/commands/CreateEphemerisCommand.ts
|
|
2686
|
+
|
|
2687
|
+
|
|
2688
|
+
|
|
2689
|
+
|
|
2690
|
+
var _CreateEphemerisCommand = class _CreateEphemerisCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2691
|
+
...commonParams
|
|
2692
|
+
}).m(function(Command, cs, config, o) {
|
|
2693
|
+
return [
|
|
2694
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2695
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2696
|
+
];
|
|
2697
|
+
}).s("GroundStation", "CreateEphemeris", {}).n("GroundStationClient", "CreateEphemerisCommand").f(void 0, void 0).ser(se_CreateEphemerisCommand).de(de_CreateEphemerisCommand).build() {
|
|
2698
|
+
};
|
|
2699
|
+
__name(_CreateEphemerisCommand, "CreateEphemerisCommand");
|
|
2700
|
+
var CreateEphemerisCommand = _CreateEphemerisCommand;
|
|
2701
|
+
|
|
2702
|
+
// src/commands/CreateMissionProfileCommand.ts
|
|
2703
|
+
|
|
2704
|
+
|
|
2705
|
+
|
|
2706
|
+
|
|
2707
|
+
var _CreateMissionProfileCommand = class _CreateMissionProfileCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2708
|
+
...commonParams
|
|
2709
|
+
}).m(function(Command, cs, config, o) {
|
|
2710
|
+
return [
|
|
2711
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2712
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2713
|
+
];
|
|
2714
|
+
}).s("GroundStation", "CreateMissionProfile", {}).n("GroundStationClient", "CreateMissionProfileCommand").f(void 0, void 0).ser(se_CreateMissionProfileCommand).de(de_CreateMissionProfileCommand).build() {
|
|
2715
|
+
};
|
|
2716
|
+
__name(_CreateMissionProfileCommand, "CreateMissionProfileCommand");
|
|
2717
|
+
var CreateMissionProfileCommand = _CreateMissionProfileCommand;
|
|
2718
|
+
|
|
2719
|
+
// src/commands/DeleteConfigCommand.ts
|
|
2720
|
+
|
|
2721
|
+
|
|
2722
|
+
|
|
2723
|
+
|
|
2724
|
+
var _DeleteConfigCommand = class _DeleteConfigCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2725
|
+
...commonParams
|
|
2726
|
+
}).m(function(Command, cs, config, o) {
|
|
2727
|
+
return [
|
|
2728
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2729
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2730
|
+
];
|
|
2731
|
+
}).s("GroundStation", "DeleteConfig", {}).n("GroundStationClient", "DeleteConfigCommand").f(void 0, void 0).ser(se_DeleteConfigCommand).de(de_DeleteConfigCommand).build() {
|
|
2732
|
+
};
|
|
2733
|
+
__name(_DeleteConfigCommand, "DeleteConfigCommand");
|
|
2734
|
+
var DeleteConfigCommand = _DeleteConfigCommand;
|
|
2735
|
+
|
|
2736
|
+
// src/commands/DeleteDataflowEndpointGroupCommand.ts
|
|
2737
|
+
|
|
2738
|
+
|
|
2739
|
+
|
|
2740
|
+
|
|
2741
|
+
var _DeleteDataflowEndpointGroupCommand = class _DeleteDataflowEndpointGroupCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2742
|
+
...commonParams
|
|
2743
|
+
}).m(function(Command, cs, config, o) {
|
|
2744
|
+
return [
|
|
2745
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2746
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2747
|
+
];
|
|
2748
|
+
}).s("GroundStation", "DeleteDataflowEndpointGroup", {}).n("GroundStationClient", "DeleteDataflowEndpointGroupCommand").f(void 0, void 0).ser(se_DeleteDataflowEndpointGroupCommand).de(de_DeleteDataflowEndpointGroupCommand).build() {
|
|
2749
|
+
};
|
|
2750
|
+
__name(_DeleteDataflowEndpointGroupCommand, "DeleteDataflowEndpointGroupCommand");
|
|
2751
|
+
var DeleteDataflowEndpointGroupCommand = _DeleteDataflowEndpointGroupCommand;
|
|
2752
|
+
|
|
2753
|
+
// src/commands/DeleteEphemerisCommand.ts
|
|
2754
|
+
|
|
2755
|
+
|
|
2756
|
+
|
|
2757
|
+
|
|
2758
|
+
var _DeleteEphemerisCommand = class _DeleteEphemerisCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2759
|
+
...commonParams
|
|
2760
|
+
}).m(function(Command, cs, config, o) {
|
|
2761
|
+
return [
|
|
2762
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2763
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2764
|
+
];
|
|
2765
|
+
}).s("GroundStation", "DeleteEphemeris", {}).n("GroundStationClient", "DeleteEphemerisCommand").f(void 0, void 0).ser(se_DeleteEphemerisCommand).de(de_DeleteEphemerisCommand).build() {
|
|
2766
|
+
};
|
|
2767
|
+
__name(_DeleteEphemerisCommand, "DeleteEphemerisCommand");
|
|
2768
|
+
var DeleteEphemerisCommand = _DeleteEphemerisCommand;
|
|
2769
|
+
|
|
2770
|
+
// src/commands/DeleteMissionProfileCommand.ts
|
|
2771
|
+
|
|
2772
|
+
|
|
2773
|
+
|
|
2774
|
+
|
|
2775
|
+
var _DeleteMissionProfileCommand = class _DeleteMissionProfileCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2776
|
+
...commonParams
|
|
2777
|
+
}).m(function(Command, cs, config, o) {
|
|
2778
|
+
return [
|
|
2779
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2780
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2781
|
+
];
|
|
2782
|
+
}).s("GroundStation", "DeleteMissionProfile", {}).n("GroundStationClient", "DeleteMissionProfileCommand").f(void 0, void 0).ser(se_DeleteMissionProfileCommand).de(de_DeleteMissionProfileCommand).build() {
|
|
2783
|
+
};
|
|
2784
|
+
__name(_DeleteMissionProfileCommand, "DeleteMissionProfileCommand");
|
|
2785
|
+
var DeleteMissionProfileCommand = _DeleteMissionProfileCommand;
|
|
2786
|
+
|
|
2787
|
+
// src/commands/DescribeContactCommand.ts
|
|
2788
|
+
|
|
2789
|
+
|
|
2790
|
+
|
|
2791
|
+
|
|
2792
|
+
var _DescribeContactCommand = class _DescribeContactCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2793
|
+
...commonParams
|
|
2794
|
+
}).m(function(Command, cs, config, o) {
|
|
2795
|
+
return [
|
|
2796
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2797
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2798
|
+
];
|
|
2799
|
+
}).s("GroundStation", "DescribeContact", {}).n("GroundStationClient", "DescribeContactCommand").f(void 0, void 0).ser(se_DescribeContactCommand).de(de_DescribeContactCommand).build() {
|
|
2800
|
+
};
|
|
2801
|
+
__name(_DescribeContactCommand, "DescribeContactCommand");
|
|
2802
|
+
var DescribeContactCommand = _DescribeContactCommand;
|
|
2803
|
+
|
|
2804
|
+
// src/commands/DescribeEphemerisCommand.ts
|
|
2805
|
+
|
|
2806
|
+
|
|
2807
|
+
|
|
2808
|
+
|
|
2809
|
+
var _DescribeEphemerisCommand = class _DescribeEphemerisCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2810
|
+
...commonParams
|
|
2811
|
+
}).m(function(Command, cs, config, o) {
|
|
2812
|
+
return [
|
|
2813
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2814
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2815
|
+
];
|
|
2816
|
+
}).s("GroundStation", "DescribeEphemeris", {}).n("GroundStationClient", "DescribeEphemerisCommand").f(void 0, void 0).ser(se_DescribeEphemerisCommand).de(de_DescribeEphemerisCommand).build() {
|
|
2817
|
+
};
|
|
2818
|
+
__name(_DescribeEphemerisCommand, "DescribeEphemerisCommand");
|
|
2819
|
+
var DescribeEphemerisCommand = _DescribeEphemerisCommand;
|
|
2820
|
+
|
|
2821
|
+
// src/commands/GetAgentConfigurationCommand.ts
|
|
2822
|
+
|
|
2823
|
+
|
|
2824
|
+
|
|
2825
|
+
|
|
2826
|
+
var _GetAgentConfigurationCommand = class _GetAgentConfigurationCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2827
|
+
...commonParams
|
|
2828
|
+
}).m(function(Command, cs, config, o) {
|
|
2829
|
+
return [
|
|
2830
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2831
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2832
|
+
];
|
|
2833
|
+
}).s("GroundStation", "GetAgentConfiguration", {}).n("GroundStationClient", "GetAgentConfigurationCommand").f(void 0, void 0).ser(se_GetAgentConfigurationCommand).de(de_GetAgentConfigurationCommand).build() {
|
|
2834
|
+
};
|
|
2835
|
+
__name(_GetAgentConfigurationCommand, "GetAgentConfigurationCommand");
|
|
2836
|
+
var GetAgentConfigurationCommand = _GetAgentConfigurationCommand;
|
|
2837
|
+
|
|
2838
|
+
// src/commands/GetConfigCommand.ts
|
|
2839
|
+
|
|
2840
|
+
|
|
2841
|
+
|
|
2842
|
+
|
|
2843
|
+
var _GetConfigCommand = class _GetConfigCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2844
|
+
...commonParams
|
|
2845
|
+
}).m(function(Command, cs, config, o) {
|
|
2846
|
+
return [
|
|
2847
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2848
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2849
|
+
];
|
|
2850
|
+
}).s("GroundStation", "GetConfig", {}).n("GroundStationClient", "GetConfigCommand").f(void 0, void 0).ser(se_GetConfigCommand).de(de_GetConfigCommand).build() {
|
|
2851
|
+
};
|
|
2852
|
+
__name(_GetConfigCommand, "GetConfigCommand");
|
|
2853
|
+
var GetConfigCommand = _GetConfigCommand;
|
|
2854
|
+
|
|
2855
|
+
// src/commands/GetDataflowEndpointGroupCommand.ts
|
|
2856
|
+
|
|
2857
|
+
|
|
2858
|
+
|
|
2859
|
+
|
|
2860
|
+
var _GetDataflowEndpointGroupCommand = class _GetDataflowEndpointGroupCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2861
|
+
...commonParams
|
|
2862
|
+
}).m(function(Command, cs, config, o) {
|
|
2863
|
+
return [
|
|
2864
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2865
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2866
|
+
];
|
|
2867
|
+
}).s("GroundStation", "GetDataflowEndpointGroup", {}).n("GroundStationClient", "GetDataflowEndpointGroupCommand").f(void 0, void 0).ser(se_GetDataflowEndpointGroupCommand).de(de_GetDataflowEndpointGroupCommand).build() {
|
|
2868
|
+
};
|
|
2869
|
+
__name(_GetDataflowEndpointGroupCommand, "GetDataflowEndpointGroupCommand");
|
|
2870
|
+
var GetDataflowEndpointGroupCommand = _GetDataflowEndpointGroupCommand;
|
|
2871
|
+
|
|
2872
|
+
// src/commands/GetMinuteUsageCommand.ts
|
|
2873
|
+
|
|
2874
|
+
|
|
2875
|
+
|
|
2876
|
+
|
|
2877
|
+
var _GetMinuteUsageCommand = class _GetMinuteUsageCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2878
|
+
...commonParams
|
|
2879
|
+
}).m(function(Command, cs, config, o) {
|
|
2880
|
+
return [
|
|
2881
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2882
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2883
|
+
];
|
|
2884
|
+
}).s("GroundStation", "GetMinuteUsage", {}).n("GroundStationClient", "GetMinuteUsageCommand").f(void 0, void 0).ser(se_GetMinuteUsageCommand).de(de_GetMinuteUsageCommand).build() {
|
|
2885
|
+
};
|
|
2886
|
+
__name(_GetMinuteUsageCommand, "GetMinuteUsageCommand");
|
|
2887
|
+
var GetMinuteUsageCommand = _GetMinuteUsageCommand;
|
|
2888
|
+
|
|
2889
|
+
// src/commands/GetMissionProfileCommand.ts
|
|
2890
|
+
|
|
2891
|
+
|
|
2892
|
+
|
|
2893
|
+
|
|
2894
|
+
var _GetMissionProfileCommand = class _GetMissionProfileCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2895
|
+
...commonParams
|
|
2896
|
+
}).m(function(Command, cs, config, o) {
|
|
2897
|
+
return [
|
|
2898
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2899
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2900
|
+
];
|
|
2901
|
+
}).s("GroundStation", "GetMissionProfile", {}).n("GroundStationClient", "GetMissionProfileCommand").f(void 0, void 0).ser(se_GetMissionProfileCommand).de(de_GetMissionProfileCommand).build() {
|
|
2902
|
+
};
|
|
2903
|
+
__name(_GetMissionProfileCommand, "GetMissionProfileCommand");
|
|
2904
|
+
var GetMissionProfileCommand = _GetMissionProfileCommand;
|
|
2905
|
+
|
|
2906
|
+
// src/commands/GetSatelliteCommand.ts
|
|
2907
|
+
|
|
2908
|
+
|
|
2909
|
+
|
|
2910
|
+
|
|
2911
|
+
var _GetSatelliteCommand = class _GetSatelliteCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2912
|
+
...commonParams
|
|
2913
|
+
}).m(function(Command, cs, config, o) {
|
|
2914
|
+
return [
|
|
2915
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2916
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2917
|
+
];
|
|
2918
|
+
}).s("GroundStation", "GetSatellite", {}).n("GroundStationClient", "GetSatelliteCommand").f(void 0, void 0).ser(se_GetSatelliteCommand).de(de_GetSatelliteCommand).build() {
|
|
2919
|
+
};
|
|
2920
|
+
__name(_GetSatelliteCommand, "GetSatelliteCommand");
|
|
2921
|
+
var GetSatelliteCommand = _GetSatelliteCommand;
|
|
2922
|
+
|
|
2923
|
+
// src/commands/ListConfigsCommand.ts
|
|
2924
|
+
|
|
2925
|
+
|
|
2926
|
+
|
|
2927
|
+
|
|
2928
|
+
var _ListConfigsCommand = class _ListConfigsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2929
|
+
...commonParams
|
|
2930
|
+
}).m(function(Command, cs, config, o) {
|
|
2931
|
+
return [
|
|
2932
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2933
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2934
|
+
];
|
|
2935
|
+
}).s("GroundStation", "ListConfigs", {}).n("GroundStationClient", "ListConfigsCommand").f(void 0, void 0).ser(se_ListConfigsCommand).de(de_ListConfigsCommand).build() {
|
|
2936
|
+
};
|
|
2937
|
+
__name(_ListConfigsCommand, "ListConfigsCommand");
|
|
2938
|
+
var ListConfigsCommand = _ListConfigsCommand;
|
|
2939
|
+
|
|
2940
|
+
// src/commands/ListContactsCommand.ts
|
|
2941
|
+
|
|
2942
|
+
|
|
2943
|
+
|
|
2944
|
+
|
|
2945
|
+
var _ListContactsCommand = class _ListContactsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2946
|
+
...commonParams
|
|
2947
|
+
}).m(function(Command, cs, config, o) {
|
|
2948
|
+
return [
|
|
2949
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2950
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2951
|
+
];
|
|
2952
|
+
}).s("GroundStation", "ListContacts", {}).n("GroundStationClient", "ListContactsCommand").f(void 0, void 0).ser(se_ListContactsCommand).de(de_ListContactsCommand).build() {
|
|
2953
|
+
};
|
|
2954
|
+
__name(_ListContactsCommand, "ListContactsCommand");
|
|
2955
|
+
var ListContactsCommand = _ListContactsCommand;
|
|
2956
|
+
|
|
2957
|
+
// src/commands/ListDataflowEndpointGroupsCommand.ts
|
|
2958
|
+
|
|
2959
|
+
|
|
2960
|
+
|
|
2961
|
+
|
|
2962
|
+
var _ListDataflowEndpointGroupsCommand = class _ListDataflowEndpointGroupsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2963
|
+
...commonParams
|
|
2964
|
+
}).m(function(Command, cs, config, o) {
|
|
2965
|
+
return [
|
|
2966
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2967
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2968
|
+
];
|
|
2969
|
+
}).s("GroundStation", "ListDataflowEndpointGroups", {}).n("GroundStationClient", "ListDataflowEndpointGroupsCommand").f(void 0, void 0).ser(se_ListDataflowEndpointGroupsCommand).de(de_ListDataflowEndpointGroupsCommand).build() {
|
|
2970
|
+
};
|
|
2971
|
+
__name(_ListDataflowEndpointGroupsCommand, "ListDataflowEndpointGroupsCommand");
|
|
2972
|
+
var ListDataflowEndpointGroupsCommand = _ListDataflowEndpointGroupsCommand;
|
|
2973
|
+
|
|
2974
|
+
// src/commands/ListEphemeridesCommand.ts
|
|
2975
|
+
|
|
2976
|
+
|
|
2977
|
+
|
|
2978
|
+
|
|
2979
|
+
var _ListEphemeridesCommand = class _ListEphemeridesCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2980
|
+
...commonParams
|
|
2981
|
+
}).m(function(Command, cs, config, o) {
|
|
2982
|
+
return [
|
|
2983
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2984
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2985
|
+
];
|
|
2986
|
+
}).s("GroundStation", "ListEphemerides", {}).n("GroundStationClient", "ListEphemeridesCommand").f(void 0, void 0).ser(se_ListEphemeridesCommand).de(de_ListEphemeridesCommand).build() {
|
|
2987
|
+
};
|
|
2988
|
+
__name(_ListEphemeridesCommand, "ListEphemeridesCommand");
|
|
2989
|
+
var ListEphemeridesCommand = _ListEphemeridesCommand;
|
|
2990
|
+
|
|
2991
|
+
// src/commands/ListGroundStationsCommand.ts
|
|
2992
|
+
|
|
2993
|
+
|
|
2994
|
+
|
|
2995
|
+
|
|
2996
|
+
var _ListGroundStationsCommand = class _ListGroundStationsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2997
|
+
...commonParams
|
|
2998
|
+
}).m(function(Command, cs, config, o) {
|
|
2999
|
+
return [
|
|
3000
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3001
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3002
|
+
];
|
|
3003
|
+
}).s("GroundStation", "ListGroundStations", {}).n("GroundStationClient", "ListGroundStationsCommand").f(void 0, void 0).ser(se_ListGroundStationsCommand).de(de_ListGroundStationsCommand).build() {
|
|
3004
|
+
};
|
|
3005
|
+
__name(_ListGroundStationsCommand, "ListGroundStationsCommand");
|
|
3006
|
+
var ListGroundStationsCommand = _ListGroundStationsCommand;
|
|
3007
|
+
|
|
3008
|
+
// src/commands/ListMissionProfilesCommand.ts
|
|
3009
|
+
|
|
3010
|
+
|
|
3011
|
+
|
|
3012
|
+
|
|
3013
|
+
var _ListMissionProfilesCommand = class _ListMissionProfilesCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3014
|
+
...commonParams
|
|
3015
|
+
}).m(function(Command, cs, config, o) {
|
|
3016
|
+
return [
|
|
3017
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3018
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3019
|
+
];
|
|
3020
|
+
}).s("GroundStation", "ListMissionProfiles", {}).n("GroundStationClient", "ListMissionProfilesCommand").f(void 0, void 0).ser(se_ListMissionProfilesCommand).de(de_ListMissionProfilesCommand).build() {
|
|
3021
|
+
};
|
|
3022
|
+
__name(_ListMissionProfilesCommand, "ListMissionProfilesCommand");
|
|
3023
|
+
var ListMissionProfilesCommand = _ListMissionProfilesCommand;
|
|
3024
|
+
|
|
3025
|
+
// src/commands/ListSatellitesCommand.ts
|
|
3026
|
+
|
|
3027
|
+
|
|
3028
|
+
|
|
3029
|
+
|
|
3030
|
+
var _ListSatellitesCommand = class _ListSatellitesCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3031
|
+
...commonParams
|
|
3032
|
+
}).m(function(Command, cs, config, o) {
|
|
3033
|
+
return [
|
|
3034
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3035
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3036
|
+
];
|
|
3037
|
+
}).s("GroundStation", "ListSatellites", {}).n("GroundStationClient", "ListSatellitesCommand").f(void 0, void 0).ser(se_ListSatellitesCommand).de(de_ListSatellitesCommand).build() {
|
|
3038
|
+
};
|
|
3039
|
+
__name(_ListSatellitesCommand, "ListSatellitesCommand");
|
|
3040
|
+
var ListSatellitesCommand = _ListSatellitesCommand;
|
|
3041
|
+
|
|
3042
|
+
// src/commands/ListTagsForResourceCommand.ts
|
|
3043
|
+
|
|
3044
|
+
|
|
3045
|
+
|
|
3046
|
+
|
|
3047
|
+
var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3048
|
+
...commonParams
|
|
3049
|
+
}).m(function(Command, cs, config, o) {
|
|
3050
|
+
return [
|
|
3051
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3052
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3053
|
+
];
|
|
3054
|
+
}).s("GroundStation", "ListTagsForResource", {}).n("GroundStationClient", "ListTagsForResourceCommand").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {
|
|
3055
|
+
};
|
|
3056
|
+
__name(_ListTagsForResourceCommand, "ListTagsForResourceCommand");
|
|
3057
|
+
var ListTagsForResourceCommand = _ListTagsForResourceCommand;
|
|
3058
|
+
|
|
3059
|
+
// src/commands/RegisterAgentCommand.ts
|
|
3060
|
+
|
|
3061
|
+
|
|
3062
|
+
|
|
3063
|
+
|
|
3064
|
+
var _RegisterAgentCommand = class _RegisterAgentCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3065
|
+
...commonParams
|
|
3066
|
+
}).m(function(Command, cs, config, o) {
|
|
3067
|
+
return [
|
|
3068
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3069
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3070
|
+
];
|
|
3071
|
+
}).s("GroundStation", "RegisterAgent", {}).n("GroundStationClient", "RegisterAgentCommand").f(void 0, void 0).ser(se_RegisterAgentCommand).de(de_RegisterAgentCommand).build() {
|
|
3072
|
+
};
|
|
3073
|
+
__name(_RegisterAgentCommand, "RegisterAgentCommand");
|
|
3074
|
+
var RegisterAgentCommand = _RegisterAgentCommand;
|
|
3075
|
+
|
|
3076
|
+
// src/commands/ReserveContactCommand.ts
|
|
3077
|
+
|
|
3078
|
+
|
|
3079
|
+
|
|
3080
|
+
|
|
3081
|
+
var _ReserveContactCommand = class _ReserveContactCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3082
|
+
...commonParams
|
|
3083
|
+
}).m(function(Command, cs, config, o) {
|
|
3084
|
+
return [
|
|
3085
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3086
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3087
|
+
];
|
|
3088
|
+
}).s("GroundStation", "ReserveContact", {}).n("GroundStationClient", "ReserveContactCommand").f(void 0, void 0).ser(se_ReserveContactCommand).de(de_ReserveContactCommand).build() {
|
|
3089
|
+
};
|
|
3090
|
+
__name(_ReserveContactCommand, "ReserveContactCommand");
|
|
3091
|
+
var ReserveContactCommand = _ReserveContactCommand;
|
|
3092
|
+
|
|
3093
|
+
// src/commands/TagResourceCommand.ts
|
|
3094
|
+
|
|
3095
|
+
|
|
3096
|
+
|
|
3097
|
+
|
|
3098
|
+
var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3099
|
+
...commonParams
|
|
3100
|
+
}).m(function(Command, cs, config, o) {
|
|
3101
|
+
return [
|
|
3102
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3103
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3104
|
+
];
|
|
3105
|
+
}).s("GroundStation", "TagResource", {}).n("GroundStationClient", "TagResourceCommand").f(void 0, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() {
|
|
3106
|
+
};
|
|
3107
|
+
__name(_TagResourceCommand, "TagResourceCommand");
|
|
3108
|
+
var TagResourceCommand = _TagResourceCommand;
|
|
3109
|
+
|
|
3110
|
+
// src/commands/UntagResourceCommand.ts
|
|
3111
|
+
|
|
3112
|
+
|
|
3113
|
+
|
|
3114
|
+
|
|
3115
|
+
var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3116
|
+
...commonParams
|
|
3117
|
+
}).m(function(Command, cs, config, o) {
|
|
3118
|
+
return [
|
|
3119
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3120
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3121
|
+
];
|
|
3122
|
+
}).s("GroundStation", "UntagResource", {}).n("GroundStationClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {
|
|
3123
|
+
};
|
|
3124
|
+
__name(_UntagResourceCommand, "UntagResourceCommand");
|
|
3125
|
+
var UntagResourceCommand = _UntagResourceCommand;
|
|
3126
|
+
|
|
3127
|
+
// src/commands/UpdateAgentStatusCommand.ts
|
|
3128
|
+
|
|
3129
|
+
|
|
3130
|
+
|
|
3131
|
+
|
|
3132
|
+
var _UpdateAgentStatusCommand = class _UpdateAgentStatusCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3133
|
+
...commonParams
|
|
3134
|
+
}).m(function(Command, cs, config, o) {
|
|
3135
|
+
return [
|
|
3136
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3137
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3138
|
+
];
|
|
3139
|
+
}).s("GroundStation", "UpdateAgentStatus", {}).n("GroundStationClient", "UpdateAgentStatusCommand").f(void 0, void 0).ser(se_UpdateAgentStatusCommand).de(de_UpdateAgentStatusCommand).build() {
|
|
3140
|
+
};
|
|
3141
|
+
__name(_UpdateAgentStatusCommand, "UpdateAgentStatusCommand");
|
|
3142
|
+
var UpdateAgentStatusCommand = _UpdateAgentStatusCommand;
|
|
3143
|
+
|
|
3144
|
+
// src/commands/UpdateConfigCommand.ts
|
|
3145
|
+
|
|
3146
|
+
|
|
3147
|
+
|
|
3148
|
+
|
|
3149
|
+
var _UpdateConfigCommand = class _UpdateConfigCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3150
|
+
...commonParams
|
|
3151
|
+
}).m(function(Command, cs, config, o) {
|
|
3152
|
+
return [
|
|
3153
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3154
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3155
|
+
];
|
|
3156
|
+
}).s("GroundStation", "UpdateConfig", {}).n("GroundStationClient", "UpdateConfigCommand").f(void 0, void 0).ser(se_UpdateConfigCommand).de(de_UpdateConfigCommand).build() {
|
|
3157
|
+
};
|
|
3158
|
+
__name(_UpdateConfigCommand, "UpdateConfigCommand");
|
|
3159
|
+
var UpdateConfigCommand = _UpdateConfigCommand;
|
|
3160
|
+
|
|
3161
|
+
// src/commands/UpdateEphemerisCommand.ts
|
|
3162
|
+
|
|
3163
|
+
|
|
3164
|
+
|
|
3165
|
+
|
|
3166
|
+
var _UpdateEphemerisCommand = class _UpdateEphemerisCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3167
|
+
...commonParams
|
|
3168
|
+
}).m(function(Command, cs, config, o) {
|
|
3169
|
+
return [
|
|
3170
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3171
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3172
|
+
];
|
|
3173
|
+
}).s("GroundStation", "UpdateEphemeris", {}).n("GroundStationClient", "UpdateEphemerisCommand").f(void 0, void 0).ser(se_UpdateEphemerisCommand).de(de_UpdateEphemerisCommand).build() {
|
|
3174
|
+
};
|
|
3175
|
+
__name(_UpdateEphemerisCommand, "UpdateEphemerisCommand");
|
|
3176
|
+
var UpdateEphemerisCommand = _UpdateEphemerisCommand;
|
|
3177
|
+
|
|
3178
|
+
// src/commands/UpdateMissionProfileCommand.ts
|
|
3179
|
+
|
|
3180
|
+
|
|
3181
|
+
|
|
3182
|
+
|
|
3183
|
+
var _UpdateMissionProfileCommand = class _UpdateMissionProfileCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3184
|
+
...commonParams
|
|
3185
|
+
}).m(function(Command, cs, config, o) {
|
|
3186
|
+
return [
|
|
3187
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3188
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3189
|
+
];
|
|
3190
|
+
}).s("GroundStation", "UpdateMissionProfile", {}).n("GroundStationClient", "UpdateMissionProfileCommand").f(void 0, void 0).ser(se_UpdateMissionProfileCommand).de(de_UpdateMissionProfileCommand).build() {
|
|
3191
|
+
};
|
|
3192
|
+
__name(_UpdateMissionProfileCommand, "UpdateMissionProfileCommand");
|
|
3193
|
+
var UpdateMissionProfileCommand = _UpdateMissionProfileCommand;
|
|
3194
|
+
|
|
3195
|
+
// src/GroundStation.ts
|
|
3196
|
+
var commands = {
|
|
3197
|
+
CancelContactCommand,
|
|
3198
|
+
CreateConfigCommand,
|
|
3199
|
+
CreateDataflowEndpointGroupCommand,
|
|
3200
|
+
CreateEphemerisCommand,
|
|
3201
|
+
CreateMissionProfileCommand,
|
|
3202
|
+
DeleteConfigCommand,
|
|
3203
|
+
DeleteDataflowEndpointGroupCommand,
|
|
3204
|
+
DeleteEphemerisCommand,
|
|
3205
|
+
DeleteMissionProfileCommand,
|
|
3206
|
+
DescribeContactCommand,
|
|
3207
|
+
DescribeEphemerisCommand,
|
|
3208
|
+
GetAgentConfigurationCommand,
|
|
3209
|
+
GetConfigCommand,
|
|
3210
|
+
GetDataflowEndpointGroupCommand,
|
|
3211
|
+
GetMinuteUsageCommand,
|
|
3212
|
+
GetMissionProfileCommand,
|
|
3213
|
+
GetSatelliteCommand,
|
|
3214
|
+
ListConfigsCommand,
|
|
3215
|
+
ListContactsCommand,
|
|
3216
|
+
ListDataflowEndpointGroupsCommand,
|
|
3217
|
+
ListEphemeridesCommand,
|
|
3218
|
+
ListGroundStationsCommand,
|
|
3219
|
+
ListMissionProfilesCommand,
|
|
3220
|
+
ListSatellitesCommand,
|
|
3221
|
+
ListTagsForResourceCommand,
|
|
3222
|
+
RegisterAgentCommand,
|
|
3223
|
+
ReserveContactCommand,
|
|
3224
|
+
TagResourceCommand,
|
|
3225
|
+
UntagResourceCommand,
|
|
3226
|
+
UpdateAgentStatusCommand,
|
|
3227
|
+
UpdateConfigCommand,
|
|
3228
|
+
UpdateEphemerisCommand,
|
|
3229
|
+
UpdateMissionProfileCommand
|
|
3230
|
+
};
|
|
3231
|
+
var _GroundStation = class _GroundStation extends GroundStationClient {
|
|
3232
|
+
};
|
|
3233
|
+
__name(_GroundStation, "GroundStation");
|
|
3234
|
+
var GroundStation = _GroundStation;
|
|
3235
|
+
(0, import_smithy_client.createAggregatedClient)(commands, GroundStation);
|
|
3236
|
+
|
|
3237
|
+
// src/pagination/ListConfigsPaginator.ts
|
|
3238
|
+
var import_core3 = require("@smithy/core");
|
|
3239
|
+
var paginateListConfigs = (0, import_core3.createPaginator)(GroundStationClient, ListConfigsCommand, "nextToken", "nextToken", "maxResults");
|
|
3240
|
+
|
|
3241
|
+
// src/pagination/ListContactsPaginator.ts
|
|
3242
|
+
var import_core4 = require("@smithy/core");
|
|
3243
|
+
var paginateListContacts = (0, import_core4.createPaginator)(GroundStationClient, ListContactsCommand, "nextToken", "nextToken", "maxResults");
|
|
3244
|
+
|
|
3245
|
+
// src/pagination/ListDataflowEndpointGroupsPaginator.ts
|
|
3246
|
+
var import_core5 = require("@smithy/core");
|
|
3247
|
+
var paginateListDataflowEndpointGroups = (0, import_core5.createPaginator)(GroundStationClient, ListDataflowEndpointGroupsCommand, "nextToken", "nextToken", "maxResults");
|
|
3248
|
+
|
|
3249
|
+
// src/pagination/ListEphemeridesPaginator.ts
|
|
3250
|
+
var import_core6 = require("@smithy/core");
|
|
3251
|
+
var paginateListEphemerides = (0, import_core6.createPaginator)(GroundStationClient, ListEphemeridesCommand, "nextToken", "nextToken", "maxResults");
|
|
3252
|
+
|
|
3253
|
+
// src/pagination/ListGroundStationsPaginator.ts
|
|
3254
|
+
var import_core7 = require("@smithy/core");
|
|
3255
|
+
var paginateListGroundStations = (0, import_core7.createPaginator)(GroundStationClient, ListGroundStationsCommand, "nextToken", "nextToken", "maxResults");
|
|
3256
|
+
|
|
3257
|
+
// src/pagination/ListMissionProfilesPaginator.ts
|
|
3258
|
+
var import_core8 = require("@smithy/core");
|
|
3259
|
+
var paginateListMissionProfiles = (0, import_core8.createPaginator)(GroundStationClient, ListMissionProfilesCommand, "nextToken", "nextToken", "maxResults");
|
|
3260
|
+
|
|
3261
|
+
// src/pagination/ListSatellitesPaginator.ts
|
|
3262
|
+
var import_core9 = require("@smithy/core");
|
|
3263
|
+
var paginateListSatellites = (0, import_core9.createPaginator)(GroundStationClient, ListSatellitesCommand, "nextToken", "nextToken", "maxResults");
|
|
3264
|
+
|
|
3265
|
+
// src/waiters/waitForContactScheduled.ts
|
|
3266
|
+
var import_util_waiter = require("@smithy/util-waiter");
|
|
3267
|
+
var checkState = /* @__PURE__ */ __name(async (client, input) => {
|
|
3268
|
+
let reason;
|
|
3269
|
+
try {
|
|
3270
|
+
const result = await client.send(new DescribeContactCommand(input));
|
|
3271
|
+
reason = result;
|
|
3272
|
+
try {
|
|
3273
|
+
const returnComparator = /* @__PURE__ */ __name(() => {
|
|
3274
|
+
return result.contactStatus;
|
|
3275
|
+
}, "returnComparator");
|
|
3276
|
+
if (returnComparator() === "FAILED_TO_SCHEDULE") {
|
|
3277
|
+
return { state: import_util_waiter.WaiterState.FAILURE, reason };
|
|
3278
|
+
}
|
|
3279
|
+
} catch (e) {
|
|
3280
|
+
}
|
|
3281
|
+
try {
|
|
3282
|
+
const returnComparator = /* @__PURE__ */ __name(() => {
|
|
3283
|
+
return result.contactStatus;
|
|
3284
|
+
}, "returnComparator");
|
|
3285
|
+
if (returnComparator() === "SCHEDULED") {
|
|
3286
|
+
return { state: import_util_waiter.WaiterState.SUCCESS, reason };
|
|
3287
|
+
}
|
|
3288
|
+
} catch (e) {
|
|
3289
|
+
}
|
|
3290
|
+
} catch (exception) {
|
|
3291
|
+
reason = exception;
|
|
3292
|
+
}
|
|
3293
|
+
return { state: import_util_waiter.WaiterState.RETRY, reason };
|
|
3294
|
+
}, "checkState");
|
|
3295
|
+
var waitForContactScheduled = /* @__PURE__ */ __name(async (params, input) => {
|
|
3296
|
+
const serviceDefaults = { minDelay: 5, maxDelay: 900 };
|
|
3297
|
+
return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);
|
|
3298
|
+
}, "waitForContactScheduled");
|
|
3299
|
+
var waitUntilContactScheduled = /* @__PURE__ */ __name(async (params, input) => {
|
|
3300
|
+
const serviceDefaults = { minDelay: 5, maxDelay: 900 };
|
|
3301
|
+
const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);
|
|
3302
|
+
return (0, import_util_waiter.checkExceptions)(result);
|
|
3303
|
+
}, "waitUntilContactScheduled");
|
|
3304
|
+
|
|
3305
|
+
// src/index.ts
|
|
3306
|
+
var import_util_endpoints = require("@aws-sdk/util-endpoints");
|
|
3307
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
3308
|
+
0 && (module.exports = {
|
|
3309
|
+
AgentStatus,
|
|
3310
|
+
AngleUnits,
|
|
3311
|
+
AuditResults,
|
|
3312
|
+
BandwidthUnits,
|
|
3313
|
+
CancelContactCommand,
|
|
3314
|
+
CapabilityHealth,
|
|
3315
|
+
CapabilityHealthReason,
|
|
3316
|
+
ConfigCapabilityType,
|
|
3317
|
+
ConfigDetails,
|
|
3318
|
+
ConfigTypeData,
|
|
3319
|
+
ContactStatus,
|
|
3320
|
+
CreateConfigCommand,
|
|
3321
|
+
CreateDataflowEndpointGroupCommand,
|
|
3322
|
+
CreateEphemerisCommand,
|
|
3323
|
+
CreateMissionProfileCommand,
|
|
3324
|
+
Criticality,
|
|
3325
|
+
DeleteConfigCommand,
|
|
3326
|
+
DeleteDataflowEndpointGroupCommand,
|
|
3327
|
+
DeleteEphemerisCommand,
|
|
3328
|
+
DeleteMissionProfileCommand,
|
|
3329
|
+
DependencyException,
|
|
3330
|
+
DescribeContactCommand,
|
|
3331
|
+
DescribeEphemerisCommand,
|
|
3332
|
+
EirpUnits,
|
|
3333
|
+
EndpointStatus,
|
|
3334
|
+
EphemerisData,
|
|
3335
|
+
EphemerisInvalidReason,
|
|
3336
|
+
EphemerisSource,
|
|
3337
|
+
EphemerisStatus,
|
|
3338
|
+
EphemerisTypeDescription,
|
|
3339
|
+
FrequencyUnits,
|
|
3340
|
+
GetAgentConfigurationCommand,
|
|
3341
|
+
GetConfigCommand,
|
|
3342
|
+
GetDataflowEndpointGroupCommand,
|
|
3343
|
+
GetMinuteUsageCommand,
|
|
3344
|
+
GetMissionProfileCommand,
|
|
3345
|
+
GetSatelliteCommand,
|
|
3346
|
+
GroundStation,
|
|
3347
|
+
GroundStationClient,
|
|
3348
|
+
GroundStationServiceException,
|
|
3349
|
+
InvalidParameterException,
|
|
3350
|
+
KmsKey,
|
|
3351
|
+
ListConfigsCommand,
|
|
3352
|
+
ListContactsCommand,
|
|
3353
|
+
ListDataflowEndpointGroupsCommand,
|
|
3354
|
+
ListEphemeridesCommand,
|
|
3355
|
+
ListGroundStationsCommand,
|
|
3356
|
+
ListMissionProfilesCommand,
|
|
3357
|
+
ListSatellitesCommand,
|
|
3358
|
+
ListTagsForResourceCommand,
|
|
3359
|
+
Polarization,
|
|
3360
|
+
RegisterAgentCommand,
|
|
3361
|
+
ReserveContactCommand,
|
|
3362
|
+
ResourceLimitExceededException,
|
|
3363
|
+
ResourceNotFoundException,
|
|
3364
|
+
TagResourceCommand,
|
|
3365
|
+
UntagResourceCommand,
|
|
3366
|
+
UpdateAgentStatusCommand,
|
|
3367
|
+
UpdateConfigCommand,
|
|
3368
|
+
UpdateEphemerisCommand,
|
|
3369
|
+
UpdateMissionProfileCommand,
|
|
3370
|
+
__Client,
|
|
3371
|
+
paginateListConfigs,
|
|
3372
|
+
paginateListContacts,
|
|
3373
|
+
paginateListDataflowEndpointGroups,
|
|
3374
|
+
paginateListEphemerides,
|
|
3375
|
+
paginateListGroundStations,
|
|
3376
|
+
paginateListMissionProfiles,
|
|
3377
|
+
paginateListSatellites,
|
|
3378
|
+
waitForContactScheduled,
|
|
3379
|
+
waitUntilContactScheduled
|
|
3380
|
+
});
|