@aws-sdk/client-groundstation 3.899.0 → 3.906.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist-cjs/index.js +2314 -2474
  2. package/package.json +38 -38
package/dist-cjs/index.js CHANGED
@@ -1,2537 +1,2377 @@
1
- "use strict";
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 index_exports = {};
23
- __export(index_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(index_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_user_agent = require("@aws-sdk/middleware-user-agent");
103
- var import_config_resolver = require("@smithy/config-resolver");
104
- var import_core = require("@smithy/core");
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
- var import_httpAuthSchemeProvider = require("./auth/httpAuthSchemeProvider");
110
-
111
- // src/endpoint/EndpointParameters.ts
112
- var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
113
- return Object.assign(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" }
1
+ 'use strict';
2
+
3
+ var middlewareHostHeader = require('@aws-sdk/middleware-host-header');
4
+ var middlewareLogger = require('@aws-sdk/middleware-logger');
5
+ var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detection');
6
+ var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
7
+ var configResolver = require('@smithy/config-resolver');
8
+ var core = require('@smithy/core');
9
+ var middlewareContentLength = require('@smithy/middleware-content-length');
10
+ var middlewareEndpoint = require('@smithy/middleware-endpoint');
11
+ var middlewareRetry = require('@smithy/middleware-retry');
12
+ var smithyClient = require('@smithy/smithy-client');
13
+ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
14
+ var runtimeConfig = require('./runtimeConfig');
15
+ var regionConfigResolver = require('@aws-sdk/region-config-resolver');
16
+ var protocolHttp = require('@smithy/protocol-http');
17
+ var middlewareSerde = require('@smithy/middleware-serde');
18
+ var core$1 = require('@aws-sdk/core');
19
+ var utilWaiter = require('@smithy/util-waiter');
20
+
21
+ const resolveClientEndpointParameters = (options) => {
22
+ return Object.assign(options, {
23
+ useDualstackEndpoint: options.useDualstackEndpoint ?? false,
24
+ useFipsEndpoint: options.useFipsEndpoint ?? false,
25
+ defaultSigningName: "groundstation",
26
+ });
27
+ };
28
+ const commonParams = {
29
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
30
+ Endpoint: { type: "builtInParams", name: "endpoint" },
31
+ Region: { type: "builtInParams", name: "region" },
32
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
124
33
  };
125
34
 
126
- // src/GroundStationClient.ts
127
- var import_runtimeConfig = require("././runtimeConfig");
35
+ const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
36
+ const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
37
+ let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
38
+ let _credentials = runtimeConfig.credentials;
39
+ return {
40
+ setHttpAuthScheme(httpAuthScheme) {
41
+ const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
42
+ if (index === -1) {
43
+ _httpAuthSchemes.push(httpAuthScheme);
44
+ }
45
+ else {
46
+ _httpAuthSchemes.splice(index, 1, httpAuthScheme);
47
+ }
48
+ },
49
+ httpAuthSchemes() {
50
+ return _httpAuthSchemes;
51
+ },
52
+ setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
53
+ _httpAuthSchemeProvider = httpAuthSchemeProvider;
54
+ },
55
+ httpAuthSchemeProvider() {
56
+ return _httpAuthSchemeProvider;
57
+ },
58
+ setCredentials(credentials) {
59
+ _credentials = credentials;
60
+ },
61
+ credentials() {
62
+ return _credentials;
63
+ },
64
+ };
65
+ };
66
+ const resolveHttpAuthRuntimeConfig = (config) => {
67
+ return {
68
+ httpAuthSchemes: config.httpAuthSchemes(),
69
+ httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
70
+ credentials: config.credentials(),
71
+ };
72
+ };
128
73
 
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");
74
+ const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
75
+ const extensionConfiguration = Object.assign(regionConfigResolver.getAwsRegionExtensionConfiguration(runtimeConfig), smithyClient.getDefaultExtensionConfiguration(runtimeConfig), protocolHttp.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
76
+ extensions.forEach((extension) => extension.configure(extensionConfiguration));
77
+ return Object.assign(runtimeConfig, regionConfigResolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration), smithyClient.resolveDefaultRuntimeConfig(extensionConfiguration), protocolHttp.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
78
+ };
133
79
 
134
- // src/auth/httpAuthExtensionConfiguration.ts
135
- var getHttpAuthExtensionConfiguration = /* @__PURE__ */ __name((runtimeConfig) => {
136
- const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
137
- let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
138
- let _credentials = runtimeConfig.credentials;
139
- return {
140
- setHttpAuthScheme(httpAuthScheme) {
141
- const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
142
- if (index === -1) {
143
- _httpAuthSchemes.push(httpAuthScheme);
144
- } else {
145
- _httpAuthSchemes.splice(index, 1, httpAuthScheme);
146
- }
147
- },
148
- httpAuthSchemes() {
149
- return _httpAuthSchemes;
150
- },
151
- setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
152
- _httpAuthSchemeProvider = httpAuthSchemeProvider;
153
- },
154
- httpAuthSchemeProvider() {
155
- return _httpAuthSchemeProvider;
156
- },
157
- setCredentials(credentials) {
158
- _credentials = credentials;
159
- },
160
- credentials() {
161
- return _credentials;
80
+ class GroundStationClient extends smithyClient.Client {
81
+ config;
82
+ constructor(...[configuration]) {
83
+ const _config_0 = runtimeConfig.getRuntimeConfig(configuration || {});
84
+ super(_config_0);
85
+ this.initConfig = _config_0;
86
+ const _config_1 = resolveClientEndpointParameters(_config_0);
87
+ const _config_2 = middlewareUserAgent.resolveUserAgentConfig(_config_1);
88
+ const _config_3 = middlewareRetry.resolveRetryConfig(_config_2);
89
+ const _config_4 = configResolver.resolveRegionConfig(_config_3);
90
+ const _config_5 = middlewareHostHeader.resolveHostHeaderConfig(_config_4);
91
+ const _config_6 = middlewareEndpoint.resolveEndpointConfig(_config_5);
92
+ const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
93
+ const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
94
+ this.config = _config_8;
95
+ this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
96
+ this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
97
+ this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
98
+ this.middlewareStack.use(middlewareHostHeader.getHostHeaderPlugin(this.config));
99
+ this.middlewareStack.use(middlewareLogger.getLoggerPlugin(this.config));
100
+ this.middlewareStack.use(middlewareRecursionDetection.getRecursionDetectionPlugin(this.config));
101
+ this.middlewareStack.use(core.getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
102
+ httpAuthSchemeParametersProvider: httpAuthSchemeProvider.defaultGroundStationHttpAuthSchemeParametersProvider,
103
+ identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({
104
+ "aws.auth#sigv4": config.credentials,
105
+ }),
106
+ }));
107
+ this.middlewareStack.use(core.getHttpSigningPlugin(this.config));
162
108
  }
163
- };
164
- }, "getHttpAuthExtensionConfiguration");
165
- var resolveHttpAuthRuntimeConfig = /* @__PURE__ */ __name((config) => {
166
- return {
167
- httpAuthSchemes: config.httpAuthSchemes(),
168
- httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
169
- credentials: config.credentials()
170
- };
171
- }, "resolveHttpAuthRuntimeConfig");
172
-
173
- // src/runtimeExtensions.ts
174
- var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
175
- const extensionConfiguration = Object.assign(
176
- (0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig),
177
- (0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig),
178
- (0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig),
179
- getHttpAuthExtensionConfiguration(runtimeConfig)
180
- );
181
- extensions.forEach((extension) => extension.configure(extensionConfiguration));
182
- return Object.assign(
183
- runtimeConfig,
184
- (0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
185
- (0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
186
- (0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
187
- resolveHttpAuthRuntimeConfig(extensionConfiguration)
188
- );
189
- }, "resolveRuntimeExtensions");
109
+ destroy() {
110
+ super.destroy();
111
+ }
112
+ }
190
113
 
191
- // src/GroundStationClient.ts
192
- var GroundStationClient = class extends import_smithy_client.Client {
193
- static {
194
- __name(this, "GroundStationClient");
195
- }
196
- /**
197
- * The resolved configuration of GroundStationClient class. This is resolved and normalized from the {@link GroundStationClientConfig | constructor configuration interface}.
198
- */
199
- config;
200
- constructor(...[configuration]) {
201
- const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
202
- super(_config_0);
203
- this.initConfig = _config_0;
204
- const _config_1 = resolveClientEndpointParameters(_config_0);
205
- const _config_2 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_1);
206
- const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2);
207
- const _config_4 = (0, import_config_resolver.resolveRegionConfig)(_config_3);
208
- const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
209
- const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
210
- const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
211
- const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
212
- this.config = _config_8;
213
- this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
214
- this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
215
- this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
216
- this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
217
- this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
218
- this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
219
- this.middlewareStack.use(
220
- (0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
221
- httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultGroundStationHttpAuthSchemeParametersProvider,
222
- identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
223
- "aws.auth#sigv4": config.credentials
224
- }), "identityProviderConfigProvider")
225
- })
226
- );
227
- this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
228
- }
229
- /**
230
- * Destroy underlying resources, like sockets. It's usually not necessary to do this.
231
- * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
232
- * Otherwise, sockets might stay open for quite a long time before the server terminates them.
233
- */
234
- destroy() {
235
- super.destroy();
236
- }
114
+ class GroundStationServiceException extends smithyClient.ServiceException {
115
+ constructor(options) {
116
+ super(options);
117
+ Object.setPrototypeOf(this, GroundStationServiceException.prototype);
118
+ }
119
+ }
120
+
121
+ class DependencyException extends GroundStationServiceException {
122
+ name = "DependencyException";
123
+ $fault = "server";
124
+ parameterName;
125
+ constructor(opts) {
126
+ super({
127
+ name: "DependencyException",
128
+ $fault: "server",
129
+ ...opts,
130
+ });
131
+ Object.setPrototypeOf(this, DependencyException.prototype);
132
+ this.parameterName = opts.parameterName;
133
+ }
134
+ }
135
+ class InvalidParameterException extends GroundStationServiceException {
136
+ name = "InvalidParameterException";
137
+ $fault = "client";
138
+ parameterName;
139
+ constructor(opts) {
140
+ super({
141
+ name: "InvalidParameterException",
142
+ $fault: "client",
143
+ ...opts,
144
+ });
145
+ Object.setPrototypeOf(this, InvalidParameterException.prototype);
146
+ this.parameterName = opts.parameterName;
147
+ }
148
+ }
149
+ class ResourceNotFoundException extends GroundStationServiceException {
150
+ name = "ResourceNotFoundException";
151
+ $fault = "client";
152
+ constructor(opts) {
153
+ super({
154
+ name: "ResourceNotFoundException",
155
+ $fault: "client",
156
+ ...opts,
157
+ });
158
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
159
+ }
160
+ }
161
+ const AgentStatus = {
162
+ ACTIVE: "ACTIVE",
163
+ FAILED: "FAILED",
164
+ INACTIVE: "INACTIVE",
165
+ SUCCESS: "SUCCESS",
237
166
  };
238
-
239
- // src/GroundStation.ts
240
-
241
-
242
- // src/commands/CancelContactCommand.ts
243
-
244
- var import_middleware_serde = require("@smithy/middleware-serde");
245
-
246
-
247
- // src/protocols/Aws_restJson1.ts
248
- var import_core2 = require("@aws-sdk/core");
249
-
250
-
251
-
252
- // src/models/GroundStationServiceException.ts
253
-
254
- var GroundStationServiceException = class _GroundStationServiceException extends import_smithy_client.ServiceException {
255
- static {
256
- __name(this, "GroundStationServiceException");
257
- }
258
- /**
259
- * @internal
260
- */
261
- constructor(options) {
262
- super(options);
263
- Object.setPrototypeOf(this, _GroundStationServiceException.prototype);
264
- }
167
+ const AngleUnits = {
168
+ DEGREE_ANGLE: "DEGREE_ANGLE",
169
+ RADIAN: "RADIAN",
265
170
  };
266
-
267
- // src/models/models_0.ts
268
- var DependencyException = class _DependencyException extends GroundStationServiceException {
269
- static {
270
- __name(this, "DependencyException");
271
- }
272
- name = "DependencyException";
273
- $fault = "server";
274
- /**
275
- * <p/>
276
- * @public
277
- */
278
- parameterName;
279
- /**
280
- * @internal
281
- */
282
- constructor(opts) {
283
- super({
284
- name: "DependencyException",
285
- $fault: "server",
286
- ...opts
287
- });
288
- Object.setPrototypeOf(this, _DependencyException.prototype);
289
- this.parameterName = opts.parameterName;
290
- }
291
- };
292
- var InvalidParameterException = class _InvalidParameterException extends GroundStationServiceException {
293
- static {
294
- __name(this, "InvalidParameterException");
295
- }
296
- name = "InvalidParameterException";
297
- $fault = "client";
298
- /**
299
- * <p/>
300
- * @public
301
- */
302
- parameterName;
303
- /**
304
- * @internal
305
- */
306
- constructor(opts) {
307
- super({
308
- name: "InvalidParameterException",
309
- $fault: "client",
310
- ...opts
311
- });
312
- Object.setPrototypeOf(this, _InvalidParameterException.prototype);
313
- this.parameterName = opts.parameterName;
314
- }
315
- };
316
- var ResourceNotFoundException = class _ResourceNotFoundException extends GroundStationServiceException {
317
- static {
318
- __name(this, "ResourceNotFoundException");
319
- }
320
- name = "ResourceNotFoundException";
321
- $fault = "client";
322
- /**
323
- * @internal
324
- */
325
- constructor(opts) {
326
- super({
327
- name: "ResourceNotFoundException",
328
- $fault: "client",
329
- ...opts
330
- });
331
- Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
332
- }
333
- };
334
- var AgentStatus = {
335
- ACTIVE: "ACTIVE",
336
- FAILED: "FAILED",
337
- INACTIVE: "INACTIVE",
338
- SUCCESS: "SUCCESS"
339
- };
340
- var AngleUnits = {
341
- DEGREE_ANGLE: "DEGREE_ANGLE",
342
- RADIAN: "RADIAN"
343
- };
344
- var BandwidthUnits = {
345
- GHZ: "GHz",
346
- KHZ: "kHz",
347
- MHZ: "MHz"
348
- };
349
- var FrequencyUnits = {
350
- GHZ: "GHz",
351
- KHZ: "kHz",
352
- MHZ: "MHz"
353
- };
354
- var Polarization = {
355
- LEFT_HAND: "LEFT_HAND",
356
- NONE: "NONE",
357
- RIGHT_HAND: "RIGHT_HAND"
358
- };
359
- var EirpUnits = {
360
- DBW: "dBW"
361
- };
362
- var AuditResults = {
363
- HEALTHY: "HEALTHY",
364
- UNHEALTHY: "UNHEALTHY"
365
- };
366
- var CapabilityHealth = {
367
- HEALTHY: "HEALTHY",
368
- UNHEALTHY: "UNHEALTHY"
369
- };
370
- var CapabilityHealthReason = {
371
- DATAPLANE_FAILURE: "DATAPLANE_FAILURE",
372
- HEALTHY: "HEALTHY",
373
- INITIALIZING_DATAPLANE: "INITIALIZING_DATAPLANE",
374
- INVALID_IP_OWNERSHIP: "INVALID_IP_OWNERSHIP",
375
- NOT_AUTHORIZED_TO_CREATE_SLR: "NOT_AUTHORIZED_TO_CREATE_SLR",
376
- NO_REGISTERED_AGENT: "NO_REGISTERED_AGENT",
377
- UNVERIFIED_IP_OWNERSHIP: "UNVERIFIED_IP_OWNERSHIP"
378
- };
379
- var ConfigCapabilityType = {
380
- ANTENNA_DOWNLINK: "antenna-downlink",
381
- ANTENNA_DOWNLINK_DEMOD_DECODE: "antenna-downlink-demod-decode",
382
- ANTENNA_UPLINK: "antenna-uplink",
383
- DATAFLOW_ENDPOINT: "dataflow-endpoint",
384
- S3_RECORDING: "s3-recording",
385
- TRACKING: "tracking",
386
- UPLINK_ECHO: "uplink-echo"
387
- };
388
- var Criticality = {
389
- PREFERRED: "PREFERRED",
390
- REMOVED: "REMOVED",
391
- REQUIRED: "REQUIRED"
392
- };
393
- var ConfigTypeData;
394
- ((ConfigTypeData2) => {
395
- ConfigTypeData2.visit = /* @__PURE__ */ __name((value, visitor) => {
396
- if (value.antennaDownlinkConfig !== void 0) return visitor.antennaDownlinkConfig(value.antennaDownlinkConfig);
397
- if (value.trackingConfig !== void 0) return visitor.trackingConfig(value.trackingConfig);
398
- if (value.dataflowEndpointConfig !== void 0) return visitor.dataflowEndpointConfig(value.dataflowEndpointConfig);
399
- if (value.antennaDownlinkDemodDecodeConfig !== void 0)
400
- return visitor.antennaDownlinkDemodDecodeConfig(value.antennaDownlinkDemodDecodeConfig);
401
- if (value.antennaUplinkConfig !== void 0) return visitor.antennaUplinkConfig(value.antennaUplinkConfig);
402
- if (value.uplinkEchoConfig !== void 0) return visitor.uplinkEchoConfig(value.uplinkEchoConfig);
403
- if (value.s3RecordingConfig !== void 0) return visitor.s3RecordingConfig(value.s3RecordingConfig);
404
- return visitor._(value.$unknown[0], value.$unknown[1]);
405
- }, "visit");
406
- })(ConfigTypeData || (ConfigTypeData = {}));
407
- var ResourceLimitExceededException = class _ResourceLimitExceededException extends GroundStationServiceException {
408
- static {
409
- __name(this, "ResourceLimitExceededException");
410
- }
411
- name = "ResourceLimitExceededException";
412
- $fault = "client";
413
- /**
414
- * <p/>
415
- * @public
416
- */
417
- parameterName;
418
- /**
419
- * @internal
420
- */
421
- constructor(opts) {
422
- super({
423
- name: "ResourceLimitExceededException",
424
- $fault: "client",
425
- ...opts
426
- });
427
- Object.setPrototypeOf(this, _ResourceLimitExceededException.prototype);
428
- this.parameterName = opts.parameterName;
429
- }
430
- };
431
- var EndpointStatus = {
432
- created: "created",
433
- creating: "creating",
434
- deleted: "deleted",
435
- deleting: "deleting",
436
- failed: "failed"
437
- };
438
- var ConfigDetails;
439
- ((ConfigDetails2) => {
440
- ConfigDetails2.visit = /* @__PURE__ */ __name((value, visitor) => {
441
- if (value.endpointDetails !== void 0) return visitor.endpointDetails(value.endpointDetails);
442
- if (value.antennaDemodDecodeDetails !== void 0)
443
- return visitor.antennaDemodDecodeDetails(value.antennaDemodDecodeDetails);
444
- if (value.s3RecordingDetails !== void 0) return visitor.s3RecordingDetails(value.s3RecordingDetails);
445
- return visitor._(value.$unknown[0], value.$unknown[1]);
446
- }, "visit");
447
- })(ConfigDetails || (ConfigDetails = {}));
448
- var ContactStatus = {
449
- AVAILABLE: "AVAILABLE",
450
- AWS_CANCELLED: "AWS_CANCELLED",
451
- AWS_FAILED: "AWS_FAILED",
452
- CANCELLED: "CANCELLED",
453
- CANCELLING: "CANCELLING",
454
- COMPLETED: "COMPLETED",
455
- FAILED: "FAILED",
456
- FAILED_TO_SCHEDULE: "FAILED_TO_SCHEDULE",
457
- PASS: "PASS",
458
- POSTPASS: "POSTPASS",
459
- PREPASS: "PREPASS",
460
- SCHEDULED: "SCHEDULED",
461
- SCHEDULING: "SCHEDULING"
462
- };
463
- var EphemerisData;
464
- ((EphemerisData2) => {
465
- EphemerisData2.visit = /* @__PURE__ */ __name((value, visitor) => {
466
- if (value.tle !== void 0) return visitor.tle(value.tle);
467
- if (value.oem !== void 0) return visitor.oem(value.oem);
468
- return visitor._(value.$unknown[0], value.$unknown[1]);
469
- }, "visit");
470
- })(EphemerisData || (EphemerisData = {}));
471
- var KmsKey;
472
- ((KmsKey3) => {
473
- KmsKey3.visit = /* @__PURE__ */ __name((value, visitor) => {
474
- if (value.kmsKeyArn !== void 0) return visitor.kmsKeyArn(value.kmsKeyArn);
475
- if (value.kmsAliasArn !== void 0) return visitor.kmsAliasArn(value.kmsAliasArn);
476
- if (value.kmsAliasName !== void 0) return visitor.kmsAliasName(value.kmsAliasName);
477
- return visitor._(value.$unknown[0], value.$unknown[1]);
478
- }, "visit");
479
- })(KmsKey || (KmsKey = {}));
480
- var EphemerisInvalidReason = {
481
- /**
482
- * Provided KMS key is invalid
483
- */
484
- KMS_KEY_INVALID: "KMS_KEY_INVALID",
485
- /**
486
- * Provided spacecraft identifiers such as spacecraft NORAD Id are invalid
487
- */
488
- METADATA_INVALID: "METADATA_INVALID",
489
- /**
490
- * Start, end, or expiration time(s) are invalid for the provided ephemeris
491
- */
492
- TIME_RANGE_INVALID: "TIME_RANGE_INVALID",
493
- /**
494
- * Provided ephemeris defines invalid spacecraft trajectory
495
- */
496
- TRAJECTORY_INVALID: "TRAJECTORY_INVALID",
497
- /**
498
- * Internal Service Error occurred while processing ephemeris
499
- */
500
- VALIDATION_ERROR: "VALIDATION_ERROR"
501
- };
502
- var EphemerisStatus = {
503
- DISABLED: "DISABLED",
504
- ENABLED: "ENABLED",
505
- ERROR: "ERROR",
506
- EXPIRED: "EXPIRED",
507
- INVALID: "INVALID",
508
- VALIDATING: "VALIDATING"
509
- };
510
- var EphemerisTypeDescription;
511
- ((EphemerisTypeDescription2) => {
512
- EphemerisTypeDescription2.visit = /* @__PURE__ */ __name((value, visitor) => {
513
- if (value.tle !== void 0) return visitor.tle(value.tle);
514
- if (value.oem !== void 0) return visitor.oem(value.oem);
515
- return visitor._(value.$unknown[0], value.$unknown[1]);
516
- }, "visit");
517
- })(EphemerisTypeDescription || (EphemerisTypeDescription = {}));
518
- var EphemerisSource = {
519
- CUSTOMER_PROVIDED: "CUSTOMER_PROVIDED",
520
- SPACE_TRACK: "SPACE_TRACK"
171
+ const BandwidthUnits = {
172
+ GHZ: "GHz",
173
+ KHZ: "kHz",
174
+ MHZ: "MHz",
175
+ };
176
+ const FrequencyUnits = {
177
+ GHZ: "GHz",
178
+ KHZ: "kHz",
179
+ MHZ: "MHz",
180
+ };
181
+ const Polarization = {
182
+ LEFT_HAND: "LEFT_HAND",
183
+ NONE: "NONE",
184
+ RIGHT_HAND: "RIGHT_HAND",
185
+ };
186
+ const EirpUnits = {
187
+ DBW: "dBW",
188
+ };
189
+ const AuditResults = {
190
+ HEALTHY: "HEALTHY",
191
+ UNHEALTHY: "UNHEALTHY",
192
+ };
193
+ const CapabilityHealth = {
194
+ HEALTHY: "HEALTHY",
195
+ UNHEALTHY: "UNHEALTHY",
196
+ };
197
+ const CapabilityHealthReason = {
198
+ DATAPLANE_FAILURE: "DATAPLANE_FAILURE",
199
+ HEALTHY: "HEALTHY",
200
+ INITIALIZING_DATAPLANE: "INITIALIZING_DATAPLANE",
201
+ INVALID_IP_OWNERSHIP: "INVALID_IP_OWNERSHIP",
202
+ NOT_AUTHORIZED_TO_CREATE_SLR: "NOT_AUTHORIZED_TO_CREATE_SLR",
203
+ NO_REGISTERED_AGENT: "NO_REGISTERED_AGENT",
204
+ UNVERIFIED_IP_OWNERSHIP: "UNVERIFIED_IP_OWNERSHIP",
205
+ };
206
+ const ConfigCapabilityType = {
207
+ ANTENNA_DOWNLINK: "antenna-downlink",
208
+ ANTENNA_DOWNLINK_DEMOD_DECODE: "antenna-downlink-demod-decode",
209
+ ANTENNA_UPLINK: "antenna-uplink",
210
+ DATAFLOW_ENDPOINT: "dataflow-endpoint",
211
+ S3_RECORDING: "s3-recording",
212
+ TRACKING: "tracking",
213
+ UPLINK_ECHO: "uplink-echo",
214
+ };
215
+ const Criticality = {
216
+ PREFERRED: "PREFERRED",
217
+ REMOVED: "REMOVED",
218
+ REQUIRED: "REQUIRED",
219
+ };
220
+ exports.ConfigTypeData = void 0;
221
+ (function (ConfigTypeData) {
222
+ ConfigTypeData.visit = (value, visitor) => {
223
+ if (value.antennaDownlinkConfig !== undefined)
224
+ return visitor.antennaDownlinkConfig(value.antennaDownlinkConfig);
225
+ if (value.trackingConfig !== undefined)
226
+ return visitor.trackingConfig(value.trackingConfig);
227
+ if (value.dataflowEndpointConfig !== undefined)
228
+ return visitor.dataflowEndpointConfig(value.dataflowEndpointConfig);
229
+ if (value.antennaDownlinkDemodDecodeConfig !== undefined)
230
+ return visitor.antennaDownlinkDemodDecodeConfig(value.antennaDownlinkDemodDecodeConfig);
231
+ if (value.antennaUplinkConfig !== undefined)
232
+ return visitor.antennaUplinkConfig(value.antennaUplinkConfig);
233
+ if (value.uplinkEchoConfig !== undefined)
234
+ return visitor.uplinkEchoConfig(value.uplinkEchoConfig);
235
+ if (value.s3RecordingConfig !== undefined)
236
+ return visitor.s3RecordingConfig(value.s3RecordingConfig);
237
+ return visitor._(value.$unknown[0], value.$unknown[1]);
238
+ };
239
+ })(exports.ConfigTypeData || (exports.ConfigTypeData = {}));
240
+ class ResourceLimitExceededException extends GroundStationServiceException {
241
+ name = "ResourceLimitExceededException";
242
+ $fault = "client";
243
+ parameterName;
244
+ constructor(opts) {
245
+ super({
246
+ name: "ResourceLimitExceededException",
247
+ $fault: "client",
248
+ ...opts,
249
+ });
250
+ Object.setPrototypeOf(this, ResourceLimitExceededException.prototype);
251
+ this.parameterName = opts.parameterName;
252
+ }
253
+ }
254
+ const EndpointStatus = {
255
+ created: "created",
256
+ creating: "creating",
257
+ deleted: "deleted",
258
+ deleting: "deleting",
259
+ failed: "failed",
260
+ };
261
+ exports.ConfigDetails = void 0;
262
+ (function (ConfigDetails) {
263
+ ConfigDetails.visit = (value, visitor) => {
264
+ if (value.endpointDetails !== undefined)
265
+ return visitor.endpointDetails(value.endpointDetails);
266
+ if (value.antennaDemodDecodeDetails !== undefined)
267
+ return visitor.antennaDemodDecodeDetails(value.antennaDemodDecodeDetails);
268
+ if (value.s3RecordingDetails !== undefined)
269
+ return visitor.s3RecordingDetails(value.s3RecordingDetails);
270
+ return visitor._(value.$unknown[0], value.$unknown[1]);
271
+ };
272
+ })(exports.ConfigDetails || (exports.ConfigDetails = {}));
273
+ const ContactStatus = {
274
+ AVAILABLE: "AVAILABLE",
275
+ AWS_CANCELLED: "AWS_CANCELLED",
276
+ AWS_FAILED: "AWS_FAILED",
277
+ CANCELLED: "CANCELLED",
278
+ CANCELLING: "CANCELLING",
279
+ COMPLETED: "COMPLETED",
280
+ FAILED: "FAILED",
281
+ FAILED_TO_SCHEDULE: "FAILED_TO_SCHEDULE",
282
+ PASS: "PASS",
283
+ POSTPASS: "POSTPASS",
284
+ PREPASS: "PREPASS",
285
+ SCHEDULED: "SCHEDULED",
286
+ SCHEDULING: "SCHEDULING",
287
+ };
288
+ exports.EphemerisData = void 0;
289
+ (function (EphemerisData) {
290
+ EphemerisData.visit = (value, visitor) => {
291
+ if (value.tle !== undefined)
292
+ return visitor.tle(value.tle);
293
+ if (value.oem !== undefined)
294
+ return visitor.oem(value.oem);
295
+ return visitor._(value.$unknown[0], value.$unknown[1]);
296
+ };
297
+ })(exports.EphemerisData || (exports.EphemerisData = {}));
298
+ exports.KmsKey = void 0;
299
+ (function (KmsKey) {
300
+ KmsKey.visit = (value, visitor) => {
301
+ if (value.kmsKeyArn !== undefined)
302
+ return visitor.kmsKeyArn(value.kmsKeyArn);
303
+ if (value.kmsAliasArn !== undefined)
304
+ return visitor.kmsAliasArn(value.kmsAliasArn);
305
+ if (value.kmsAliasName !== undefined)
306
+ return visitor.kmsAliasName(value.kmsAliasName);
307
+ return visitor._(value.$unknown[0], value.$unknown[1]);
308
+ };
309
+ })(exports.KmsKey || (exports.KmsKey = {}));
310
+ const EphemerisInvalidReason = {
311
+ KMS_KEY_INVALID: "KMS_KEY_INVALID",
312
+ METADATA_INVALID: "METADATA_INVALID",
313
+ TIME_RANGE_INVALID: "TIME_RANGE_INVALID",
314
+ TRAJECTORY_INVALID: "TRAJECTORY_INVALID",
315
+ VALIDATION_ERROR: "VALIDATION_ERROR",
316
+ };
317
+ const EphemerisStatus = {
318
+ DISABLED: "DISABLED",
319
+ ENABLED: "ENABLED",
320
+ ERROR: "ERROR",
321
+ EXPIRED: "EXPIRED",
322
+ INVALID: "INVALID",
323
+ VALIDATING: "VALIDATING",
324
+ };
325
+ exports.EphemerisTypeDescription = void 0;
326
+ (function (EphemerisTypeDescription) {
327
+ EphemerisTypeDescription.visit = (value, visitor) => {
328
+ if (value.tle !== undefined)
329
+ return visitor.tle(value.tle);
330
+ if (value.oem !== undefined)
331
+ return visitor.oem(value.oem);
332
+ return visitor._(value.$unknown[0], value.$unknown[1]);
333
+ };
334
+ })(exports.EphemerisTypeDescription || (exports.EphemerisTypeDescription = {}));
335
+ const EphemerisSource = {
336
+ CUSTOMER_PROVIDED: "CUSTOMER_PROVIDED",
337
+ SPACE_TRACK: "SPACE_TRACK",
521
338
  };
522
339
 
523
- // src/protocols/Aws_restJson1.ts
524
- var se_CancelContactCommand = /* @__PURE__ */ __name(async (input, context) => {
525
- const b = (0, import_core.requestBuilder)(input, context);
526
- const headers = {};
527
- b.bp("/contact/{contactId}");
528
- b.p("contactId", () => input.contactId, "{contactId}", false);
529
- let body;
530
- b.m("DELETE").h(headers).b(body);
531
- return b.build();
532
- }, "se_CancelContactCommand");
533
- var se_CreateConfigCommand = /* @__PURE__ */ __name(async (input, context) => {
534
- const b = (0, import_core.requestBuilder)(input, context);
535
- const headers = {
536
- "content-type": "application/json"
537
- };
538
- b.bp("/config");
539
- let body;
540
- body = JSON.stringify(
541
- (0, import_smithy_client.take)(input, {
542
- configData: /* @__PURE__ */ __name((_) => se_ConfigTypeData(_, context), "configData"),
543
- name: [],
544
- tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
545
- })
546
- );
547
- b.m("POST").h(headers).b(body);
548
- return b.build();
549
- }, "se_CreateConfigCommand");
550
- var se_CreateDataflowEndpointGroupCommand = /* @__PURE__ */ __name(async (input, context) => {
551
- const b = (0, import_core.requestBuilder)(input, context);
552
- const headers = {
553
- "content-type": "application/json"
554
- };
555
- b.bp("/dataflowEndpointGroup");
556
- let body;
557
- body = JSON.stringify(
558
- (0, import_smithy_client.take)(input, {
559
- contactPostPassDurationSeconds: [],
560
- contactPrePassDurationSeconds: [],
561
- endpointDetails: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "endpointDetails"),
562
- tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
563
- })
564
- );
565
- b.m("POST").h(headers).b(body);
566
- return b.build();
567
- }, "se_CreateDataflowEndpointGroupCommand");
568
- var se_CreateEphemerisCommand = /* @__PURE__ */ __name(async (input, context) => {
569
- const b = (0, import_core.requestBuilder)(input, context);
570
- const headers = {
571
- "content-type": "application/json"
572
- };
573
- b.bp("/ephemeris");
574
- let body;
575
- body = JSON.stringify(
576
- (0, import_smithy_client.take)(input, {
577
- enabled: [],
578
- ephemeris: /* @__PURE__ */ __name((_) => se_EphemerisData(_, context), "ephemeris"),
579
- expirationTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "expirationTime"),
580
- kmsKeyArn: [],
581
- name: [],
582
- priority: [],
583
- satelliteId: [],
584
- tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
585
- })
586
- );
587
- b.m("POST").h(headers).b(body);
588
- return b.build();
589
- }, "se_CreateEphemerisCommand");
590
- var se_CreateMissionProfileCommand = /* @__PURE__ */ __name(async (input, context) => {
591
- const b = (0, import_core.requestBuilder)(input, context);
592
- const headers = {
593
- "content-type": "application/json"
594
- };
595
- b.bp("/missionprofile");
596
- let body;
597
- body = JSON.stringify(
598
- (0, import_smithy_client.take)(input, {
599
- contactPostPassDurationSeconds: [],
600
- contactPrePassDurationSeconds: [],
601
- dataflowEdges: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "dataflowEdges"),
602
- minimumViableContactDurationSeconds: [],
603
- name: [],
604
- streamsKmsKey: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "streamsKmsKey"),
605
- streamsKmsRole: [],
606
- tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags"),
607
- trackingConfigArn: []
608
- })
609
- );
610
- b.m("POST").h(headers).b(body);
611
- return b.build();
612
- }, "se_CreateMissionProfileCommand");
613
- var se_DeleteConfigCommand = /* @__PURE__ */ __name(async (input, context) => {
614
- const b = (0, import_core.requestBuilder)(input, context);
615
- const headers = {};
616
- b.bp("/config/{configType}/{configId}");
617
- b.p("configId", () => input.configId, "{configId}", false);
618
- b.p("configType", () => input.configType, "{configType}", false);
619
- let body;
620
- b.m("DELETE").h(headers).b(body);
621
- return b.build();
622
- }, "se_DeleteConfigCommand");
623
- var se_DeleteDataflowEndpointGroupCommand = /* @__PURE__ */ __name(async (input, context) => {
624
- const b = (0, import_core.requestBuilder)(input, context);
625
- const headers = {};
626
- b.bp("/dataflowEndpointGroup/{dataflowEndpointGroupId}");
627
- b.p("dataflowEndpointGroupId", () => input.dataflowEndpointGroupId, "{dataflowEndpointGroupId}", false);
628
- let body;
629
- b.m("DELETE").h(headers).b(body);
630
- return b.build();
631
- }, "se_DeleteDataflowEndpointGroupCommand");
632
- var se_DeleteEphemerisCommand = /* @__PURE__ */ __name(async (input, context) => {
633
- const b = (0, import_core.requestBuilder)(input, context);
634
- const headers = {};
635
- b.bp("/ephemeris/{ephemerisId}");
636
- b.p("ephemerisId", () => input.ephemerisId, "{ephemerisId}", false);
637
- let body;
638
- b.m("DELETE").h(headers).b(body);
639
- return b.build();
640
- }, "se_DeleteEphemerisCommand");
641
- var se_DeleteMissionProfileCommand = /* @__PURE__ */ __name(async (input, context) => {
642
- const b = (0, import_core.requestBuilder)(input, context);
643
- const headers = {};
644
- b.bp("/missionprofile/{missionProfileId}");
645
- b.p("missionProfileId", () => input.missionProfileId, "{missionProfileId}", false);
646
- let body;
647
- b.m("DELETE").h(headers).b(body);
648
- return b.build();
649
- }, "se_DeleteMissionProfileCommand");
650
- var se_DescribeContactCommand = /* @__PURE__ */ __name(async (input, context) => {
651
- const b = (0, import_core.requestBuilder)(input, context);
652
- const headers = {};
653
- b.bp("/contact/{contactId}");
654
- b.p("contactId", () => input.contactId, "{contactId}", false);
655
- let body;
656
- b.m("GET").h(headers).b(body);
657
- return b.build();
658
- }, "se_DescribeContactCommand");
659
- var se_DescribeEphemerisCommand = /* @__PURE__ */ __name(async (input, context) => {
660
- const b = (0, import_core.requestBuilder)(input, context);
661
- const headers = {};
662
- b.bp("/ephemeris/{ephemerisId}");
663
- b.p("ephemerisId", () => input.ephemerisId, "{ephemerisId}", false);
664
- let body;
665
- b.m("GET").h(headers).b(body);
666
- return b.build();
667
- }, "se_DescribeEphemerisCommand");
668
- var se_GetAgentConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
669
- const b = (0, import_core.requestBuilder)(input, context);
670
- const headers = {};
671
- b.bp("/agent/{agentId}/configuration");
672
- b.p("agentId", () => input.agentId, "{agentId}", false);
673
- let body;
674
- b.m("GET").h(headers).b(body);
675
- return b.build();
676
- }, "se_GetAgentConfigurationCommand");
677
- var se_GetConfigCommand = /* @__PURE__ */ __name(async (input, context) => {
678
- const b = (0, import_core.requestBuilder)(input, context);
679
- const headers = {};
680
- b.bp("/config/{configType}/{configId}");
681
- b.p("configId", () => input.configId, "{configId}", false);
682
- b.p("configType", () => input.configType, "{configType}", false);
683
- let body;
684
- b.m("GET").h(headers).b(body);
685
- return b.build();
686
- }, "se_GetConfigCommand");
687
- var se_GetDataflowEndpointGroupCommand = /* @__PURE__ */ __name(async (input, context) => {
688
- const b = (0, import_core.requestBuilder)(input, context);
689
- const headers = {};
690
- b.bp("/dataflowEndpointGroup/{dataflowEndpointGroupId}");
691
- b.p("dataflowEndpointGroupId", () => input.dataflowEndpointGroupId, "{dataflowEndpointGroupId}", false);
692
- let body;
693
- b.m("GET").h(headers).b(body);
694
- return b.build();
695
- }, "se_GetDataflowEndpointGroupCommand");
696
- var se_GetMinuteUsageCommand = /* @__PURE__ */ __name(async (input, context) => {
697
- const b = (0, import_core.requestBuilder)(input, context);
698
- const headers = {
699
- "content-type": "application/json"
700
- };
701
- b.bp("/minute-usage");
702
- let body;
703
- body = JSON.stringify(
704
- (0, import_smithy_client.take)(input, {
705
- month: [],
706
- year: []
707
- })
708
- );
709
- b.m("POST").h(headers).b(body);
710
- return b.build();
711
- }, "se_GetMinuteUsageCommand");
712
- var se_GetMissionProfileCommand = /* @__PURE__ */ __name(async (input, context) => {
713
- const b = (0, import_core.requestBuilder)(input, context);
714
- const headers = {};
715
- b.bp("/missionprofile/{missionProfileId}");
716
- b.p("missionProfileId", () => input.missionProfileId, "{missionProfileId}", false);
717
- let body;
718
- b.m("GET").h(headers).b(body);
719
- return b.build();
720
- }, "se_GetMissionProfileCommand");
721
- var se_GetSatelliteCommand = /* @__PURE__ */ __name(async (input, context) => {
722
- const b = (0, import_core.requestBuilder)(input, context);
723
- const headers = {};
724
- b.bp("/satellite/{satelliteId}");
725
- b.p("satelliteId", () => input.satelliteId, "{satelliteId}", false);
726
- let body;
727
- b.m("GET").h(headers).b(body);
728
- return b.build();
729
- }, "se_GetSatelliteCommand");
730
- var se_ListConfigsCommand = /* @__PURE__ */ __name(async (input, context) => {
731
- const b = (0, import_core.requestBuilder)(input, context);
732
- const headers = {};
733
- b.bp("/config");
734
- const query = (0, import_smithy_client.map)({
735
- [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
736
- [_nT]: [, input[_nT]]
737
- });
738
- let body;
739
- b.m("GET").h(headers).q(query).b(body);
740
- return b.build();
741
- }, "se_ListConfigsCommand");
742
- var se_ListContactsCommand = /* @__PURE__ */ __name(async (input, context) => {
743
- const b = (0, import_core.requestBuilder)(input, context);
744
- const headers = {
745
- "content-type": "application/json"
746
- };
747
- b.bp("/contacts");
748
- let body;
749
- body = JSON.stringify(
750
- (0, import_smithy_client.take)(input, {
751
- endTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "endTime"),
752
- groundStation: [],
753
- maxResults: [],
754
- missionProfileArn: [],
755
- nextToken: [],
756
- satelliteArn: [],
757
- startTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "startTime"),
758
- statusList: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "statusList")
759
- })
760
- );
761
- b.m("POST").h(headers).b(body);
762
- return b.build();
763
- }, "se_ListContactsCommand");
764
- var se_ListDataflowEndpointGroupsCommand = /* @__PURE__ */ __name(async (input, context) => {
765
- const b = (0, import_core.requestBuilder)(input, context);
766
- const headers = {};
767
- b.bp("/dataflowEndpointGroup");
768
- const query = (0, import_smithy_client.map)({
769
- [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
770
- [_nT]: [, input[_nT]]
771
- });
772
- let body;
773
- b.m("GET").h(headers).q(query).b(body);
774
- return b.build();
775
- }, "se_ListDataflowEndpointGroupsCommand");
776
- var se_ListEphemeridesCommand = /* @__PURE__ */ __name(async (input, context) => {
777
- const b = (0, import_core.requestBuilder)(input, context);
778
- const headers = {
779
- "content-type": "application/json"
780
- };
781
- b.bp("/ephemerides");
782
- const query = (0, import_smithy_client.map)({
783
- [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
784
- [_nT]: [, input[_nT]]
785
- });
786
- let body;
787
- body = JSON.stringify(
788
- (0, import_smithy_client.take)(input, {
789
- endTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "endTime"),
790
- satelliteId: [],
791
- startTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "startTime"),
792
- statusList: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "statusList")
793
- })
794
- );
795
- b.m("POST").h(headers).q(query).b(body);
796
- return b.build();
797
- }, "se_ListEphemeridesCommand");
798
- var se_ListGroundStationsCommand = /* @__PURE__ */ __name(async (input, context) => {
799
- const b = (0, import_core.requestBuilder)(input, context);
800
- const headers = {};
801
- b.bp("/groundstation");
802
- const query = (0, import_smithy_client.map)({
803
- [_sI]: [, input[_sI]],
804
- [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
805
- [_nT]: [, input[_nT]]
806
- });
807
- let body;
808
- b.m("GET").h(headers).q(query).b(body);
809
- return b.build();
810
- }, "se_ListGroundStationsCommand");
811
- var se_ListMissionProfilesCommand = /* @__PURE__ */ __name(async (input, context) => {
812
- const b = (0, import_core.requestBuilder)(input, context);
813
- const headers = {};
814
- b.bp("/missionprofile");
815
- const query = (0, import_smithy_client.map)({
816
- [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
817
- [_nT]: [, input[_nT]]
818
- });
819
- let body;
820
- b.m("GET").h(headers).q(query).b(body);
821
- return b.build();
822
- }, "se_ListMissionProfilesCommand");
823
- var se_ListSatellitesCommand = /* @__PURE__ */ __name(async (input, context) => {
824
- const b = (0, import_core.requestBuilder)(input, context);
825
- const headers = {};
826
- b.bp("/satellite");
827
- const query = (0, import_smithy_client.map)({
828
- [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
829
- [_nT]: [, input[_nT]]
830
- });
831
- let body;
832
- b.m("GET").h(headers).q(query).b(body);
833
- return b.build();
834
- }, "se_ListSatellitesCommand");
835
- var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
836
- const b = (0, import_core.requestBuilder)(input, context);
837
- const headers = {};
838
- b.bp("/tags/{resourceArn}");
839
- b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
840
- let body;
841
- b.m("GET").h(headers).b(body);
842
- return b.build();
843
- }, "se_ListTagsForResourceCommand");
844
- var se_RegisterAgentCommand = /* @__PURE__ */ __name(async (input, context) => {
845
- const b = (0, import_core.requestBuilder)(input, context);
846
- const headers = {
847
- "content-type": "application/json"
848
- };
849
- b.bp("/agent");
850
- let body;
851
- body = JSON.stringify(
852
- (0, import_smithy_client.take)(input, {
853
- agentDetails: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "agentDetails"),
854
- discoveryData: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "discoveryData"),
855
- tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
856
- })
857
- );
858
- b.m("POST").h(headers).b(body);
859
- return b.build();
860
- }, "se_RegisterAgentCommand");
861
- var se_ReserveContactCommand = /* @__PURE__ */ __name(async (input, context) => {
862
- const b = (0, import_core.requestBuilder)(input, context);
863
- const headers = {
864
- "content-type": "application/json"
865
- };
866
- b.bp("/contact");
867
- let body;
868
- body = JSON.stringify(
869
- (0, import_smithy_client.take)(input, {
870
- endTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "endTime"),
871
- groundStation: [],
872
- missionProfileArn: [],
873
- satelliteArn: [],
874
- startTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "startTime"),
875
- tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
876
- })
877
- );
878
- b.m("POST").h(headers).b(body);
879
- return b.build();
880
- }, "se_ReserveContactCommand");
881
- var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
882
- const b = (0, import_core.requestBuilder)(input, context);
883
- const headers = {
884
- "content-type": "application/json"
885
- };
886
- b.bp("/tags/{resourceArn}");
887
- b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
888
- let body;
889
- body = JSON.stringify(
890
- (0, import_smithy_client.take)(input, {
891
- tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
892
- })
893
- );
894
- b.m("POST").h(headers).b(body);
895
- return b.build();
896
- }, "se_TagResourceCommand");
897
- var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
898
- const b = (0, import_core.requestBuilder)(input, context);
899
- const headers = {};
900
- b.bp("/tags/{resourceArn}");
901
- b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
902
- const query = (0, import_smithy_client.map)({
903
- [_tK]: [(0, import_smithy_client.expectNonNull)(input.tagKeys, `tagKeys`) != null, () => input[_tK] || []]
904
- });
905
- let body;
906
- b.m("DELETE").h(headers).q(query).b(body);
907
- return b.build();
908
- }, "se_UntagResourceCommand");
909
- var se_UpdateAgentStatusCommand = /* @__PURE__ */ __name(async (input, context) => {
910
- const b = (0, import_core.requestBuilder)(input, context);
911
- const headers = {
912
- "content-type": "application/json"
913
- };
914
- b.bp("/agent/{agentId}");
915
- b.p("agentId", () => input.agentId, "{agentId}", false);
916
- let body;
917
- body = JSON.stringify(
918
- (0, import_smithy_client.take)(input, {
919
- aggregateStatus: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "aggregateStatus"),
920
- componentStatuses: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "componentStatuses"),
921
- taskId: []
922
- })
923
- );
924
- b.m("PUT").h(headers).b(body);
925
- return b.build();
926
- }, "se_UpdateAgentStatusCommand");
927
- var se_UpdateConfigCommand = /* @__PURE__ */ __name(async (input, context) => {
928
- const b = (0, import_core.requestBuilder)(input, context);
929
- const headers = {
930
- "content-type": "application/json"
931
- };
932
- b.bp("/config/{configType}/{configId}");
933
- b.p("configId", () => input.configId, "{configId}", false);
934
- b.p("configType", () => input.configType, "{configType}", false);
935
- let body;
936
- body = JSON.stringify(
937
- (0, import_smithy_client.take)(input, {
938
- configData: /* @__PURE__ */ __name((_) => se_ConfigTypeData(_, context), "configData"),
939
- name: []
940
- })
941
- );
942
- b.m("PUT").h(headers).b(body);
943
- return b.build();
944
- }, "se_UpdateConfigCommand");
945
- var se_UpdateEphemerisCommand = /* @__PURE__ */ __name(async (input, context) => {
946
- const b = (0, import_core.requestBuilder)(input, context);
947
- const headers = {
948
- "content-type": "application/json"
949
- };
950
- b.bp("/ephemeris/{ephemerisId}");
951
- b.p("ephemerisId", () => input.ephemerisId, "{ephemerisId}", false);
952
- let body;
953
- body = JSON.stringify(
954
- (0, import_smithy_client.take)(input, {
955
- enabled: [],
956
- name: [],
957
- priority: []
958
- })
959
- );
960
- b.m("PUT").h(headers).b(body);
961
- return b.build();
962
- }, "se_UpdateEphemerisCommand");
963
- var se_UpdateMissionProfileCommand = /* @__PURE__ */ __name(async (input, context) => {
964
- const b = (0, import_core.requestBuilder)(input, context);
965
- const headers = {
966
- "content-type": "application/json"
967
- };
968
- b.bp("/missionprofile/{missionProfileId}");
969
- b.p("missionProfileId", () => input.missionProfileId, "{missionProfileId}", false);
970
- let body;
971
- body = JSON.stringify(
972
- (0, import_smithy_client.take)(input, {
973
- contactPostPassDurationSeconds: [],
974
- contactPrePassDurationSeconds: [],
975
- dataflowEdges: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "dataflowEdges"),
976
- minimumViableContactDurationSeconds: [],
977
- name: [],
978
- streamsKmsKey: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "streamsKmsKey"),
979
- streamsKmsRole: [],
980
- trackingConfigArn: []
981
- })
982
- );
983
- b.m("PUT").h(headers).b(body);
984
- return b.build();
985
- }, "se_UpdateMissionProfileCommand");
986
- var de_CancelContactCommand = /* @__PURE__ */ __name(async (output, context) => {
987
- if (output.statusCode !== 200 && output.statusCode >= 300) {
988
- return de_CommandError(output, context);
989
- }
990
- const contents = (0, import_smithy_client.map)({
991
- $metadata: deserializeMetadata(output)
992
- });
993
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
994
- const doc = (0, import_smithy_client.take)(data, {
995
- contactId: import_smithy_client.expectString
996
- });
997
- Object.assign(contents, doc);
998
- return contents;
999
- }, "de_CancelContactCommand");
1000
- var de_CreateConfigCommand = /* @__PURE__ */ __name(async (output, context) => {
1001
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1002
- return de_CommandError(output, context);
1003
- }
1004
- const contents = (0, import_smithy_client.map)({
1005
- $metadata: deserializeMetadata(output)
1006
- });
1007
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1008
- const doc = (0, import_smithy_client.take)(data, {
1009
- configArn: import_smithy_client.expectString,
1010
- configId: import_smithy_client.expectString,
1011
- configType: import_smithy_client.expectString
1012
- });
1013
- Object.assign(contents, doc);
1014
- return contents;
1015
- }, "de_CreateConfigCommand");
1016
- var de_CreateDataflowEndpointGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
1017
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1018
- return de_CommandError(output, context);
1019
- }
1020
- const contents = (0, import_smithy_client.map)({
1021
- $metadata: deserializeMetadata(output)
1022
- });
1023
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1024
- const doc = (0, import_smithy_client.take)(data, {
1025
- dataflowEndpointGroupId: import_smithy_client.expectString
1026
- });
1027
- Object.assign(contents, doc);
1028
- return contents;
1029
- }, "de_CreateDataflowEndpointGroupCommand");
1030
- var de_CreateEphemerisCommand = /* @__PURE__ */ __name(async (output, context) => {
1031
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1032
- return de_CommandError(output, context);
1033
- }
1034
- const contents = (0, import_smithy_client.map)({
1035
- $metadata: deserializeMetadata(output)
1036
- });
1037
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1038
- const doc = (0, import_smithy_client.take)(data, {
1039
- ephemerisId: import_smithy_client.expectString
1040
- });
1041
- Object.assign(contents, doc);
1042
- return contents;
1043
- }, "de_CreateEphemerisCommand");
1044
- var de_CreateMissionProfileCommand = /* @__PURE__ */ __name(async (output, context) => {
1045
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1046
- return de_CommandError(output, context);
1047
- }
1048
- const contents = (0, import_smithy_client.map)({
1049
- $metadata: deserializeMetadata(output)
1050
- });
1051
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1052
- const doc = (0, import_smithy_client.take)(data, {
1053
- missionProfileId: import_smithy_client.expectString
1054
- });
1055
- Object.assign(contents, doc);
1056
- return contents;
1057
- }, "de_CreateMissionProfileCommand");
1058
- var de_DeleteConfigCommand = /* @__PURE__ */ __name(async (output, context) => {
1059
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1060
- return de_CommandError(output, context);
1061
- }
1062
- const contents = (0, import_smithy_client.map)({
1063
- $metadata: deserializeMetadata(output)
1064
- });
1065
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1066
- const doc = (0, import_smithy_client.take)(data, {
1067
- configArn: import_smithy_client.expectString,
1068
- configId: import_smithy_client.expectString,
1069
- configType: import_smithy_client.expectString
1070
- });
1071
- Object.assign(contents, doc);
1072
- return contents;
1073
- }, "de_DeleteConfigCommand");
1074
- var de_DeleteDataflowEndpointGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
1075
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1076
- return de_CommandError(output, context);
1077
- }
1078
- const contents = (0, import_smithy_client.map)({
1079
- $metadata: deserializeMetadata(output)
1080
- });
1081
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1082
- const doc = (0, import_smithy_client.take)(data, {
1083
- dataflowEndpointGroupId: import_smithy_client.expectString
1084
- });
1085
- Object.assign(contents, doc);
1086
- return contents;
1087
- }, "de_DeleteDataflowEndpointGroupCommand");
1088
- var de_DeleteEphemerisCommand = /* @__PURE__ */ __name(async (output, context) => {
1089
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1090
- return de_CommandError(output, context);
1091
- }
1092
- const contents = (0, import_smithy_client.map)({
1093
- $metadata: deserializeMetadata(output)
1094
- });
1095
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1096
- const doc = (0, import_smithy_client.take)(data, {
1097
- ephemerisId: import_smithy_client.expectString
1098
- });
1099
- Object.assign(contents, doc);
1100
- return contents;
1101
- }, "de_DeleteEphemerisCommand");
1102
- var de_DeleteMissionProfileCommand = /* @__PURE__ */ __name(async (output, context) => {
1103
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1104
- return de_CommandError(output, context);
1105
- }
1106
- const contents = (0, import_smithy_client.map)({
1107
- $metadata: deserializeMetadata(output)
1108
- });
1109
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1110
- const doc = (0, import_smithy_client.take)(data, {
1111
- missionProfileId: import_smithy_client.expectString
1112
- });
1113
- Object.assign(contents, doc);
1114
- return contents;
1115
- }, "de_DeleteMissionProfileCommand");
1116
- var de_DescribeContactCommand = /* @__PURE__ */ __name(async (output, context) => {
1117
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1118
- return de_CommandError(output, context);
1119
- }
1120
- const contents = (0, import_smithy_client.map)({
1121
- $metadata: deserializeMetadata(output)
1122
- });
1123
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1124
- const doc = (0, import_smithy_client.take)(data, {
1125
- contactId: import_smithy_client.expectString,
1126
- contactStatus: import_smithy_client.expectString,
1127
- dataflowList: import_smithy_client._json,
1128
- endTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "endTime"),
1129
- errorMessage: import_smithy_client.expectString,
1130
- groundStation: import_smithy_client.expectString,
1131
- maximumElevation: /* @__PURE__ */ __name((_) => de_Elevation(_, context), "maximumElevation"),
1132
- missionProfileArn: import_smithy_client.expectString,
1133
- postPassEndTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "postPassEndTime"),
1134
- prePassStartTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "prePassStartTime"),
1135
- region: import_smithy_client.expectString,
1136
- satelliteArn: import_smithy_client.expectString,
1137
- startTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "startTime"),
1138
- tags: import_smithy_client._json,
1139
- visibilityEndTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "visibilityEndTime"),
1140
- visibilityStartTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "visibilityStartTime")
1141
- });
1142
- Object.assign(contents, doc);
1143
- return contents;
1144
- }, "de_DescribeContactCommand");
1145
- var de_DescribeEphemerisCommand = /* @__PURE__ */ __name(async (output, context) => {
1146
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1147
- return de_CommandError(output, context);
1148
- }
1149
- const contents = (0, import_smithy_client.map)({
1150
- $metadata: deserializeMetadata(output)
1151
- });
1152
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1153
- const doc = (0, import_smithy_client.take)(data, {
1154
- creationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "creationTime"),
1155
- enabled: import_smithy_client.expectBoolean,
1156
- ephemerisId: import_smithy_client.expectString,
1157
- invalidReason: import_smithy_client.expectString,
1158
- name: import_smithy_client.expectString,
1159
- priority: import_smithy_client.expectInt32,
1160
- satelliteId: import_smithy_client.expectString,
1161
- status: import_smithy_client.expectString,
1162
- suppliedData: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)), "suppliedData"),
1163
- tags: import_smithy_client._json
1164
- });
1165
- Object.assign(contents, doc);
1166
- return contents;
1167
- }, "de_DescribeEphemerisCommand");
1168
- var de_GetAgentConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
1169
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1170
- return de_CommandError(output, context);
1171
- }
1172
- const contents = (0, import_smithy_client.map)({
1173
- $metadata: deserializeMetadata(output)
1174
- });
1175
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1176
- const doc = (0, import_smithy_client.take)(data, {
1177
- agentId: import_smithy_client.expectString,
1178
- taskingDocument: import_smithy_client.expectString
1179
- });
1180
- Object.assign(contents, doc);
1181
- return contents;
1182
- }, "de_GetAgentConfigurationCommand");
1183
- var de_GetConfigCommand = /* @__PURE__ */ __name(async (output, context) => {
1184
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1185
- return de_CommandError(output, context);
1186
- }
1187
- const contents = (0, import_smithy_client.map)({
1188
- $metadata: deserializeMetadata(output)
1189
- });
1190
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1191
- const doc = (0, import_smithy_client.take)(data, {
1192
- configArn: import_smithy_client.expectString,
1193
- configData: /* @__PURE__ */ __name((_) => de_ConfigTypeData((0, import_core2.awsExpectUnion)(_), context), "configData"),
1194
- configId: import_smithy_client.expectString,
1195
- configType: import_smithy_client.expectString,
1196
- name: import_smithy_client.expectString,
1197
- tags: import_smithy_client._json
1198
- });
1199
- Object.assign(contents, doc);
1200
- return contents;
1201
- }, "de_GetConfigCommand");
1202
- var de_GetDataflowEndpointGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
1203
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1204
- return de_CommandError(output, context);
1205
- }
1206
- const contents = (0, import_smithy_client.map)({
1207
- $metadata: deserializeMetadata(output)
1208
- });
1209
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1210
- const doc = (0, import_smithy_client.take)(data, {
1211
- contactPostPassDurationSeconds: import_smithy_client.expectInt32,
1212
- contactPrePassDurationSeconds: import_smithy_client.expectInt32,
1213
- dataflowEndpointGroupArn: import_smithy_client.expectString,
1214
- dataflowEndpointGroupId: import_smithy_client.expectString,
1215
- endpointsDetails: import_smithy_client._json,
1216
- tags: import_smithy_client._json
1217
- });
1218
- Object.assign(contents, doc);
1219
- return contents;
1220
- }, "de_GetDataflowEndpointGroupCommand");
1221
- var de_GetMinuteUsageCommand = /* @__PURE__ */ __name(async (output, context) => {
1222
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1223
- return de_CommandError(output, context);
1224
- }
1225
- const contents = (0, import_smithy_client.map)({
1226
- $metadata: deserializeMetadata(output)
1227
- });
1228
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1229
- const doc = (0, import_smithy_client.take)(data, {
1230
- estimatedMinutesRemaining: import_smithy_client.expectInt32,
1231
- isReservedMinutesCustomer: import_smithy_client.expectBoolean,
1232
- totalReservedMinuteAllocation: import_smithy_client.expectInt32,
1233
- totalScheduledMinutes: import_smithy_client.expectInt32,
1234
- upcomingMinutesScheduled: import_smithy_client.expectInt32
1235
- });
1236
- Object.assign(contents, doc);
1237
- return contents;
1238
- }, "de_GetMinuteUsageCommand");
1239
- var de_GetMissionProfileCommand = /* @__PURE__ */ __name(async (output, context) => {
1240
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1241
- return de_CommandError(output, context);
1242
- }
1243
- const contents = (0, import_smithy_client.map)({
1244
- $metadata: deserializeMetadata(output)
1245
- });
1246
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1247
- const doc = (0, import_smithy_client.take)(data, {
1248
- contactPostPassDurationSeconds: import_smithy_client.expectInt32,
1249
- contactPrePassDurationSeconds: import_smithy_client.expectInt32,
1250
- dataflowEdges: import_smithy_client._json,
1251
- minimumViableContactDurationSeconds: import_smithy_client.expectInt32,
1252
- missionProfileArn: import_smithy_client.expectString,
1253
- missionProfileId: import_smithy_client.expectString,
1254
- name: import_smithy_client.expectString,
1255
- region: import_smithy_client.expectString,
1256
- streamsKmsKey: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)), "streamsKmsKey"),
1257
- streamsKmsRole: import_smithy_client.expectString,
1258
- tags: import_smithy_client._json,
1259
- trackingConfigArn: import_smithy_client.expectString
1260
- });
1261
- Object.assign(contents, doc);
1262
- return contents;
1263
- }, "de_GetMissionProfileCommand");
1264
- var de_GetSatelliteCommand = /* @__PURE__ */ __name(async (output, context) => {
1265
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1266
- return de_CommandError(output, context);
1267
- }
1268
- const contents = (0, import_smithy_client.map)({
1269
- $metadata: deserializeMetadata(output)
1270
- });
1271
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1272
- const doc = (0, import_smithy_client.take)(data, {
1273
- currentEphemeris: /* @__PURE__ */ __name((_) => de_EphemerisMetaData(_, context), "currentEphemeris"),
1274
- groundStations: import_smithy_client._json,
1275
- noradSatelliteID: import_smithy_client.expectInt32,
1276
- satelliteArn: import_smithy_client.expectString,
1277
- satelliteId: import_smithy_client.expectString
1278
- });
1279
- Object.assign(contents, doc);
1280
- return contents;
1281
- }, "de_GetSatelliteCommand");
1282
- var de_ListConfigsCommand = /* @__PURE__ */ __name(async (output, context) => {
1283
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1284
- return de_CommandError(output, context);
1285
- }
1286
- const contents = (0, import_smithy_client.map)({
1287
- $metadata: deserializeMetadata(output)
1288
- });
1289
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1290
- const doc = (0, import_smithy_client.take)(data, {
1291
- configList: import_smithy_client._json,
1292
- nextToken: import_smithy_client.expectString
1293
- });
1294
- Object.assign(contents, doc);
1295
- return contents;
1296
- }, "de_ListConfigsCommand");
1297
- var de_ListContactsCommand = /* @__PURE__ */ __name(async (output, context) => {
1298
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1299
- return de_CommandError(output, context);
1300
- }
1301
- const contents = (0, import_smithy_client.map)({
1302
- $metadata: deserializeMetadata(output)
1303
- });
1304
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1305
- const doc = (0, import_smithy_client.take)(data, {
1306
- contactList: /* @__PURE__ */ __name((_) => de_ContactList(_, context), "contactList"),
1307
- nextToken: import_smithy_client.expectString
1308
- });
1309
- Object.assign(contents, doc);
1310
- return contents;
1311
- }, "de_ListContactsCommand");
1312
- var de_ListDataflowEndpointGroupsCommand = /* @__PURE__ */ __name(async (output, context) => {
1313
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1314
- return de_CommandError(output, context);
1315
- }
1316
- const contents = (0, import_smithy_client.map)({
1317
- $metadata: deserializeMetadata(output)
1318
- });
1319
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1320
- const doc = (0, import_smithy_client.take)(data, {
1321
- dataflowEndpointGroupList: import_smithy_client._json,
1322
- nextToken: import_smithy_client.expectString
1323
- });
1324
- Object.assign(contents, doc);
1325
- return contents;
1326
- }, "de_ListDataflowEndpointGroupsCommand");
1327
- var de_ListEphemeridesCommand = /* @__PURE__ */ __name(async (output, context) => {
1328
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1329
- return de_CommandError(output, context);
1330
- }
1331
- const contents = (0, import_smithy_client.map)({
1332
- $metadata: deserializeMetadata(output)
1333
- });
1334
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1335
- const doc = (0, import_smithy_client.take)(data, {
1336
- ephemerides: /* @__PURE__ */ __name((_) => de_EphemeridesList(_, context), "ephemerides"),
1337
- nextToken: import_smithy_client.expectString
1338
- });
1339
- Object.assign(contents, doc);
1340
- return contents;
1341
- }, "de_ListEphemeridesCommand");
1342
- var de_ListGroundStationsCommand = /* @__PURE__ */ __name(async (output, context) => {
1343
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1344
- return de_CommandError(output, context);
1345
- }
1346
- const contents = (0, import_smithy_client.map)({
1347
- $metadata: deserializeMetadata(output)
1348
- });
1349
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1350
- const doc = (0, import_smithy_client.take)(data, {
1351
- groundStationList: import_smithy_client._json,
1352
- nextToken: import_smithy_client.expectString
1353
- });
1354
- Object.assign(contents, doc);
1355
- return contents;
1356
- }, "de_ListGroundStationsCommand");
1357
- var de_ListMissionProfilesCommand = /* @__PURE__ */ __name(async (output, context) => {
1358
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1359
- return de_CommandError(output, context);
1360
- }
1361
- const contents = (0, import_smithy_client.map)({
1362
- $metadata: deserializeMetadata(output)
1363
- });
1364
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1365
- const doc = (0, import_smithy_client.take)(data, {
1366
- missionProfileList: import_smithy_client._json,
1367
- nextToken: import_smithy_client.expectString
1368
- });
1369
- Object.assign(contents, doc);
1370
- return contents;
1371
- }, "de_ListMissionProfilesCommand");
1372
- var de_ListSatellitesCommand = /* @__PURE__ */ __name(async (output, context) => {
1373
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1374
- return de_CommandError(output, context);
1375
- }
1376
- const contents = (0, import_smithy_client.map)({
1377
- $metadata: deserializeMetadata(output)
1378
- });
1379
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1380
- const doc = (0, import_smithy_client.take)(data, {
1381
- nextToken: import_smithy_client.expectString,
1382
- satellites: /* @__PURE__ */ __name((_) => de_SatelliteList(_, context), "satellites")
1383
- });
1384
- Object.assign(contents, doc);
1385
- return contents;
1386
- }, "de_ListSatellitesCommand");
1387
- var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
1388
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1389
- return de_CommandError(output, context);
1390
- }
1391
- const contents = (0, import_smithy_client.map)({
1392
- $metadata: deserializeMetadata(output)
1393
- });
1394
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1395
- const doc = (0, import_smithy_client.take)(data, {
1396
- tags: import_smithy_client._json
1397
- });
1398
- Object.assign(contents, doc);
1399
- return contents;
1400
- }, "de_ListTagsForResourceCommand");
1401
- var de_RegisterAgentCommand = /* @__PURE__ */ __name(async (output, context) => {
1402
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1403
- return de_CommandError(output, context);
1404
- }
1405
- const contents = (0, import_smithy_client.map)({
1406
- $metadata: deserializeMetadata(output)
1407
- });
1408
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1409
- const doc = (0, import_smithy_client.take)(data, {
1410
- agentId: import_smithy_client.expectString
1411
- });
1412
- Object.assign(contents, doc);
1413
- return contents;
1414
- }, "de_RegisterAgentCommand");
1415
- var de_ReserveContactCommand = /* @__PURE__ */ __name(async (output, context) => {
1416
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1417
- return de_CommandError(output, context);
1418
- }
1419
- const contents = (0, import_smithy_client.map)({
1420
- $metadata: deserializeMetadata(output)
1421
- });
1422
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1423
- const doc = (0, import_smithy_client.take)(data, {
1424
- contactId: import_smithy_client.expectString
1425
- });
1426
- Object.assign(contents, doc);
1427
- return contents;
1428
- }, "de_ReserveContactCommand");
1429
- var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
1430
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1431
- return de_CommandError(output, context);
1432
- }
1433
- const contents = (0, import_smithy_client.map)({
1434
- $metadata: deserializeMetadata(output)
1435
- });
1436
- await (0, import_smithy_client.collectBody)(output.body, context);
1437
- return contents;
1438
- }, "de_TagResourceCommand");
1439
- var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
1440
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1441
- return de_CommandError(output, context);
1442
- }
1443
- const contents = (0, import_smithy_client.map)({
1444
- $metadata: deserializeMetadata(output)
1445
- });
1446
- await (0, import_smithy_client.collectBody)(output.body, context);
1447
- return contents;
1448
- }, "de_UntagResourceCommand");
1449
- var de_UpdateAgentStatusCommand = /* @__PURE__ */ __name(async (output, context) => {
1450
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1451
- return de_CommandError(output, context);
1452
- }
1453
- const contents = (0, import_smithy_client.map)({
1454
- $metadata: deserializeMetadata(output)
1455
- });
1456
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1457
- const doc = (0, import_smithy_client.take)(data, {
1458
- agentId: import_smithy_client.expectString
1459
- });
1460
- Object.assign(contents, doc);
1461
- return contents;
1462
- }, "de_UpdateAgentStatusCommand");
1463
- var de_UpdateConfigCommand = /* @__PURE__ */ __name(async (output, context) => {
1464
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1465
- return de_CommandError(output, context);
1466
- }
1467
- const contents = (0, import_smithy_client.map)({
1468
- $metadata: deserializeMetadata(output)
1469
- });
1470
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1471
- const doc = (0, import_smithy_client.take)(data, {
1472
- configArn: import_smithy_client.expectString,
1473
- configId: import_smithy_client.expectString,
1474
- configType: import_smithy_client.expectString
1475
- });
1476
- Object.assign(contents, doc);
1477
- return contents;
1478
- }, "de_UpdateConfigCommand");
1479
- var de_UpdateEphemerisCommand = /* @__PURE__ */ __name(async (output, context) => {
1480
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1481
- return de_CommandError(output, context);
1482
- }
1483
- const contents = (0, import_smithy_client.map)({
1484
- $metadata: deserializeMetadata(output)
1485
- });
1486
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1487
- const doc = (0, import_smithy_client.take)(data, {
1488
- ephemerisId: import_smithy_client.expectString
1489
- });
1490
- Object.assign(contents, doc);
1491
- return contents;
1492
- }, "de_UpdateEphemerisCommand");
1493
- var de_UpdateMissionProfileCommand = /* @__PURE__ */ __name(async (output, context) => {
1494
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1495
- return de_CommandError(output, context);
1496
- }
1497
- const contents = (0, import_smithy_client.map)({
1498
- $metadata: deserializeMetadata(output)
1499
- });
1500
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1501
- const doc = (0, import_smithy_client.take)(data, {
1502
- missionProfileId: import_smithy_client.expectString
1503
- });
1504
- Object.assign(contents, doc);
1505
- return contents;
1506
- }, "de_UpdateMissionProfileCommand");
1507
- var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
1508
- const parsedOutput = {
1509
- ...output,
1510
- body: await (0, import_core2.parseJsonErrorBody)(output.body, context)
1511
- };
1512
- const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body);
1513
- switch (errorCode) {
1514
- case "DependencyException":
1515
- case "com.amazonaws.groundstation#DependencyException":
1516
- throw await de_DependencyExceptionRes(parsedOutput, context);
1517
- case "InvalidParameterException":
1518
- case "com.amazonaws.groundstation#InvalidParameterException":
1519
- throw await de_InvalidParameterExceptionRes(parsedOutput, context);
1520
- case "ResourceNotFoundException":
1521
- case "com.amazonaws.groundstation#ResourceNotFoundException":
1522
- throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1523
- case "ResourceLimitExceededException":
1524
- case "com.amazonaws.groundstation#ResourceLimitExceededException":
1525
- throw await de_ResourceLimitExceededExceptionRes(parsedOutput, context);
1526
- default:
1527
- const parsedBody = parsedOutput.body;
1528
- return throwDefaultError({
1529
- output,
1530
- parsedBody,
1531
- errorCode
1532
- });
1533
- }
1534
- }, "de_CommandError");
1535
- var throwDefaultError = (0, import_smithy_client.withBaseException)(GroundStationServiceException);
1536
- var de_DependencyExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1537
- const contents = (0, import_smithy_client.map)({});
1538
- const data = parsedOutput.body;
1539
- const doc = (0, import_smithy_client.take)(data, {
1540
- message: import_smithy_client.expectString,
1541
- parameterName: import_smithy_client.expectString
1542
- });
1543
- Object.assign(contents, doc);
1544
- const exception = new DependencyException({
1545
- $metadata: deserializeMetadata(parsedOutput),
1546
- ...contents
1547
- });
1548
- return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
1549
- }, "de_DependencyExceptionRes");
1550
- var de_InvalidParameterExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1551
- const contents = (0, import_smithy_client.map)({});
1552
- const data = parsedOutput.body;
1553
- const doc = (0, import_smithy_client.take)(data, {
1554
- message: import_smithy_client.expectString,
1555
- parameterName: import_smithy_client.expectString
1556
- });
1557
- Object.assign(contents, doc);
1558
- const exception = new InvalidParameterException({
1559
- $metadata: deserializeMetadata(parsedOutput),
1560
- ...contents
1561
- });
1562
- return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
1563
- }, "de_InvalidParameterExceptionRes");
1564
- var de_ResourceLimitExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1565
- const contents = (0, import_smithy_client.map)({});
1566
- const data = parsedOutput.body;
1567
- const doc = (0, import_smithy_client.take)(data, {
1568
- message: import_smithy_client.expectString,
1569
- parameterName: import_smithy_client.expectString
1570
- });
1571
- Object.assign(contents, doc);
1572
- const exception = new ResourceLimitExceededException({
1573
- $metadata: deserializeMetadata(parsedOutput),
1574
- ...contents
1575
- });
1576
- return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
1577
- }, "de_ResourceLimitExceededExceptionRes");
1578
- var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1579
- const contents = (0, import_smithy_client.map)({});
1580
- const data = parsedOutput.body;
1581
- const doc = (0, import_smithy_client.take)(data, {
1582
- message: import_smithy_client.expectString
1583
- });
1584
- Object.assign(contents, doc);
1585
- const exception = new ResourceNotFoundException({
1586
- $metadata: deserializeMetadata(parsedOutput),
1587
- ...contents
1588
- });
1589
- return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
1590
- }, "de_ResourceNotFoundExceptionRes");
1591
- var se_AntennaDownlinkConfig = /* @__PURE__ */ __name((input, context) => {
1592
- return (0, import_smithy_client.take)(input, {
1593
- spectrumConfig: /* @__PURE__ */ __name((_) => se_SpectrumConfig(_, context), "spectrumConfig")
1594
- });
1595
- }, "se_AntennaDownlinkConfig");
1596
- var se_AntennaDownlinkDemodDecodeConfig = /* @__PURE__ */ __name((input, context) => {
1597
- return (0, import_smithy_client.take)(input, {
1598
- decodeConfig: import_smithy_client._json,
1599
- demodulationConfig: import_smithy_client._json,
1600
- spectrumConfig: /* @__PURE__ */ __name((_) => se_SpectrumConfig(_, context), "spectrumConfig")
1601
- });
1602
- }, "se_AntennaDownlinkDemodDecodeConfig");
1603
- var se_AntennaUplinkConfig = /* @__PURE__ */ __name((input, context) => {
1604
- return (0, import_smithy_client.take)(input, {
1605
- spectrumConfig: /* @__PURE__ */ __name((_) => se_UplinkSpectrumConfig(_, context), "spectrumConfig"),
1606
- targetEirp: /* @__PURE__ */ __name((_) => se_Eirp(_, context), "targetEirp"),
1607
- transmitDisabled: []
1608
- });
1609
- }, "se_AntennaUplinkConfig");
1610
- var se_ConfigTypeData = /* @__PURE__ */ __name((input, context) => {
1611
- return ConfigTypeData.visit(input, {
1612
- antennaDownlinkConfig: /* @__PURE__ */ __name((value) => ({ antennaDownlinkConfig: se_AntennaDownlinkConfig(value, context) }), "antennaDownlinkConfig"),
1613
- antennaDownlinkDemodDecodeConfig: /* @__PURE__ */ __name((value) => ({
1614
- antennaDownlinkDemodDecodeConfig: se_AntennaDownlinkDemodDecodeConfig(value, context)
1615
- }), "antennaDownlinkDemodDecodeConfig"),
1616
- antennaUplinkConfig: /* @__PURE__ */ __name((value) => ({ antennaUplinkConfig: se_AntennaUplinkConfig(value, context) }), "antennaUplinkConfig"),
1617
- dataflowEndpointConfig: /* @__PURE__ */ __name((value) => ({ dataflowEndpointConfig: (0, import_smithy_client._json)(value) }), "dataflowEndpointConfig"),
1618
- s3RecordingConfig: /* @__PURE__ */ __name((value) => ({ s3RecordingConfig: (0, import_smithy_client._json)(value) }), "s3RecordingConfig"),
1619
- trackingConfig: /* @__PURE__ */ __name((value) => ({ trackingConfig: (0, import_smithy_client._json)(value) }), "trackingConfig"),
1620
- uplinkEchoConfig: /* @__PURE__ */ __name((value) => ({ uplinkEchoConfig: (0, import_smithy_client._json)(value) }), "uplinkEchoConfig"),
1621
- _: /* @__PURE__ */ __name((name, value) => ({ [name]: value }), "_")
1622
- });
1623
- }, "se_ConfigTypeData");
1624
- var se_Eirp = /* @__PURE__ */ __name((input, context) => {
1625
- return (0, import_smithy_client.take)(input, {
1626
- units: [],
1627
- value: import_smithy_client.serializeFloat
1628
- });
1629
- }, "se_Eirp");
1630
- var se_EphemerisData = /* @__PURE__ */ __name((input, context) => {
1631
- return EphemerisData.visit(input, {
1632
- oem: /* @__PURE__ */ __name((value) => ({ oem: (0, import_smithy_client._json)(value) }), "oem"),
1633
- tle: /* @__PURE__ */ __name((value) => ({ tle: se_TLEEphemeris(value, context) }), "tle"),
1634
- _: /* @__PURE__ */ __name((name, value) => ({ [name]: value }), "_")
1635
- });
1636
- }, "se_EphemerisData");
1637
- var se_Frequency = /* @__PURE__ */ __name((input, context) => {
1638
- return (0, import_smithy_client.take)(input, {
1639
- units: [],
1640
- value: import_smithy_client.serializeFloat
1641
- });
1642
- }, "se_Frequency");
1643
- var se_FrequencyBandwidth = /* @__PURE__ */ __name((input, context) => {
1644
- return (0, import_smithy_client.take)(input, {
1645
- units: [],
1646
- value: import_smithy_client.serializeFloat
1647
- });
1648
- }, "se_FrequencyBandwidth");
1649
- var se_SpectrumConfig = /* @__PURE__ */ __name((input, context) => {
1650
- return (0, import_smithy_client.take)(input, {
1651
- bandwidth: /* @__PURE__ */ __name((_) => se_FrequencyBandwidth(_, context), "bandwidth"),
1652
- centerFrequency: /* @__PURE__ */ __name((_) => se_Frequency(_, context), "centerFrequency"),
1653
- polarization: []
1654
- });
1655
- }, "se_SpectrumConfig");
1656
- var se_TimeRange = /* @__PURE__ */ __name((input, context) => {
1657
- return (0, import_smithy_client.take)(input, {
1658
- endTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "endTime"),
1659
- startTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "startTime")
1660
- });
1661
- }, "se_TimeRange");
1662
- var se_TLEData = /* @__PURE__ */ __name((input, context) => {
1663
- return (0, import_smithy_client.take)(input, {
1664
- tleLine1: [],
1665
- tleLine2: [],
1666
- validTimeRange: /* @__PURE__ */ __name((_) => se_TimeRange(_, context), "validTimeRange")
1667
- });
1668
- }, "se_TLEData");
1669
- var se_TLEDataList = /* @__PURE__ */ __name((input, context) => {
1670
- return input.filter((e) => e != null).map((entry) => {
1671
- return se_TLEData(entry, context);
1672
- });
1673
- }, "se_TLEDataList");
1674
- var se_TLEEphemeris = /* @__PURE__ */ __name((input, context) => {
1675
- return (0, import_smithy_client.take)(input, {
1676
- s3Object: import_smithy_client._json,
1677
- tleData: /* @__PURE__ */ __name((_) => se_TLEDataList(_, context), "tleData")
1678
- });
1679
- }, "se_TLEEphemeris");
1680
- var se_UplinkSpectrumConfig = /* @__PURE__ */ __name((input, context) => {
1681
- return (0, import_smithy_client.take)(input, {
1682
- centerFrequency: /* @__PURE__ */ __name((_) => se_Frequency(_, context), "centerFrequency"),
1683
- polarization: []
1684
- });
1685
- }, "se_UplinkSpectrumConfig");
1686
- var de_AntennaDownlinkConfig = /* @__PURE__ */ __name((output, context) => {
1687
- return (0, import_smithy_client.take)(output, {
1688
- spectrumConfig: /* @__PURE__ */ __name((_) => de_SpectrumConfig(_, context), "spectrumConfig")
1689
- });
1690
- }, "de_AntennaDownlinkConfig");
1691
- var de_AntennaDownlinkDemodDecodeConfig = /* @__PURE__ */ __name((output, context) => {
1692
- return (0, import_smithy_client.take)(output, {
1693
- decodeConfig: import_smithy_client._json,
1694
- demodulationConfig: import_smithy_client._json,
1695
- spectrumConfig: /* @__PURE__ */ __name((_) => de_SpectrumConfig(_, context), "spectrumConfig")
1696
- });
1697
- }, "de_AntennaDownlinkDemodDecodeConfig");
1698
- var de_AntennaUplinkConfig = /* @__PURE__ */ __name((output, context) => {
1699
- return (0, import_smithy_client.take)(output, {
1700
- spectrumConfig: /* @__PURE__ */ __name((_) => de_UplinkSpectrumConfig(_, context), "spectrumConfig"),
1701
- targetEirp: /* @__PURE__ */ __name((_) => de_Eirp(_, context), "targetEirp"),
1702
- transmitDisabled: import_smithy_client.expectBoolean
1703
- });
1704
- }, "de_AntennaUplinkConfig");
1705
- var de_ConfigTypeData = /* @__PURE__ */ __name((output, context) => {
1706
- if (output.antennaDownlinkConfig != null) {
1707
- return {
1708
- antennaDownlinkConfig: de_AntennaDownlinkConfig(output.antennaDownlinkConfig, context)
340
+ const se_CancelContactCommand = async (input, context) => {
341
+ const b = core.requestBuilder(input, context);
342
+ const headers = {};
343
+ b.bp("/contact/{contactId}");
344
+ b.p("contactId", () => input.contactId, "{contactId}", false);
345
+ let body;
346
+ b.m("DELETE").h(headers).b(body);
347
+ return b.build();
348
+ };
349
+ const se_CreateConfigCommand = async (input, context) => {
350
+ const b = core.requestBuilder(input, context);
351
+ const headers = {
352
+ "content-type": "application/json",
1709
353
  };
1710
- }
1711
- if (output.antennaDownlinkDemodDecodeConfig != null) {
1712
- return {
1713
- antennaDownlinkDemodDecodeConfig: de_AntennaDownlinkDemodDecodeConfig(
1714
- output.antennaDownlinkDemodDecodeConfig,
1715
- context
1716
- )
354
+ b.bp("/config");
355
+ let body;
356
+ body = JSON.stringify(smithyClient.take(input, {
357
+ configData: (_) => se_ConfigTypeData(_),
358
+ name: [],
359
+ tags: (_) => smithyClient._json(_),
360
+ }));
361
+ b.m("POST").h(headers).b(body);
362
+ return b.build();
363
+ };
364
+ const se_CreateDataflowEndpointGroupCommand = async (input, context) => {
365
+ const b = core.requestBuilder(input, context);
366
+ const headers = {
367
+ "content-type": "application/json",
1717
368
  };
1718
- }
1719
- if (output.antennaUplinkConfig != null) {
1720
- return {
1721
- antennaUplinkConfig: de_AntennaUplinkConfig(output.antennaUplinkConfig, context)
369
+ b.bp("/dataflowEndpointGroup");
370
+ let body;
371
+ body = JSON.stringify(smithyClient.take(input, {
372
+ contactPostPassDurationSeconds: [],
373
+ contactPrePassDurationSeconds: [],
374
+ endpointDetails: (_) => smithyClient._json(_),
375
+ tags: (_) => smithyClient._json(_),
376
+ }));
377
+ b.m("POST").h(headers).b(body);
378
+ return b.build();
379
+ };
380
+ const se_CreateEphemerisCommand = async (input, context) => {
381
+ const b = core.requestBuilder(input, context);
382
+ const headers = {
383
+ "content-type": "application/json",
1722
384
  };
1723
- }
1724
- if (output.dataflowEndpointConfig != null) {
1725
- return {
1726
- dataflowEndpointConfig: (0, import_smithy_client._json)(output.dataflowEndpointConfig)
385
+ b.bp("/ephemeris");
386
+ let body;
387
+ body = JSON.stringify(smithyClient.take(input, {
388
+ enabled: [],
389
+ ephemeris: (_) => se_EphemerisData(_),
390
+ expirationTime: (_) => _.getTime() / 1_000,
391
+ kmsKeyArn: [],
392
+ name: [],
393
+ priority: [],
394
+ satelliteId: [],
395
+ tags: (_) => smithyClient._json(_),
396
+ }));
397
+ b.m("POST").h(headers).b(body);
398
+ return b.build();
399
+ };
400
+ const se_CreateMissionProfileCommand = async (input, context) => {
401
+ const b = core.requestBuilder(input, context);
402
+ const headers = {
403
+ "content-type": "application/json",
1727
404
  };
1728
- }
1729
- if (output.s3RecordingConfig != null) {
1730
- return {
1731
- s3RecordingConfig: (0, import_smithy_client._json)(output.s3RecordingConfig)
405
+ b.bp("/missionprofile");
406
+ let body;
407
+ body = JSON.stringify(smithyClient.take(input, {
408
+ contactPostPassDurationSeconds: [],
409
+ contactPrePassDurationSeconds: [],
410
+ dataflowEdges: (_) => smithyClient._json(_),
411
+ minimumViableContactDurationSeconds: [],
412
+ name: [],
413
+ streamsKmsKey: (_) => smithyClient._json(_),
414
+ streamsKmsRole: [],
415
+ tags: (_) => smithyClient._json(_),
416
+ trackingConfigArn: [],
417
+ }));
418
+ b.m("POST").h(headers).b(body);
419
+ return b.build();
420
+ };
421
+ const se_DeleteConfigCommand = async (input, context) => {
422
+ const b = core.requestBuilder(input, context);
423
+ const headers = {};
424
+ b.bp("/config/{configType}/{configId}");
425
+ b.p("configId", () => input.configId, "{configId}", false);
426
+ b.p("configType", () => input.configType, "{configType}", false);
427
+ let body;
428
+ b.m("DELETE").h(headers).b(body);
429
+ return b.build();
430
+ };
431
+ const se_DeleteDataflowEndpointGroupCommand = async (input, context) => {
432
+ const b = core.requestBuilder(input, context);
433
+ const headers = {};
434
+ b.bp("/dataflowEndpointGroup/{dataflowEndpointGroupId}");
435
+ b.p("dataflowEndpointGroupId", () => input.dataflowEndpointGroupId, "{dataflowEndpointGroupId}", false);
436
+ let body;
437
+ b.m("DELETE").h(headers).b(body);
438
+ return b.build();
439
+ };
440
+ const se_DeleteEphemerisCommand = async (input, context) => {
441
+ const b = core.requestBuilder(input, context);
442
+ const headers = {};
443
+ b.bp("/ephemeris/{ephemerisId}");
444
+ b.p("ephemerisId", () => input.ephemerisId, "{ephemerisId}", false);
445
+ let body;
446
+ b.m("DELETE").h(headers).b(body);
447
+ return b.build();
448
+ };
449
+ const se_DeleteMissionProfileCommand = async (input, context) => {
450
+ const b = core.requestBuilder(input, context);
451
+ const headers = {};
452
+ b.bp("/missionprofile/{missionProfileId}");
453
+ b.p("missionProfileId", () => input.missionProfileId, "{missionProfileId}", false);
454
+ let body;
455
+ b.m("DELETE").h(headers).b(body);
456
+ return b.build();
457
+ };
458
+ const se_DescribeContactCommand = async (input, context) => {
459
+ const b = core.requestBuilder(input, context);
460
+ const headers = {};
461
+ b.bp("/contact/{contactId}");
462
+ b.p("contactId", () => input.contactId, "{contactId}", false);
463
+ let body;
464
+ b.m("GET").h(headers).b(body);
465
+ return b.build();
466
+ };
467
+ const se_DescribeEphemerisCommand = async (input, context) => {
468
+ const b = core.requestBuilder(input, context);
469
+ const headers = {};
470
+ b.bp("/ephemeris/{ephemerisId}");
471
+ b.p("ephemerisId", () => input.ephemerisId, "{ephemerisId}", false);
472
+ let body;
473
+ b.m("GET").h(headers).b(body);
474
+ return b.build();
475
+ };
476
+ const se_GetAgentConfigurationCommand = async (input, context) => {
477
+ const b = core.requestBuilder(input, context);
478
+ const headers = {};
479
+ b.bp("/agent/{agentId}/configuration");
480
+ b.p("agentId", () => input.agentId, "{agentId}", false);
481
+ let body;
482
+ b.m("GET").h(headers).b(body);
483
+ return b.build();
484
+ };
485
+ const se_GetConfigCommand = async (input, context) => {
486
+ const b = core.requestBuilder(input, context);
487
+ const headers = {};
488
+ b.bp("/config/{configType}/{configId}");
489
+ b.p("configId", () => input.configId, "{configId}", false);
490
+ b.p("configType", () => input.configType, "{configType}", false);
491
+ let body;
492
+ b.m("GET").h(headers).b(body);
493
+ return b.build();
494
+ };
495
+ const se_GetDataflowEndpointGroupCommand = async (input, context) => {
496
+ const b = core.requestBuilder(input, context);
497
+ const headers = {};
498
+ b.bp("/dataflowEndpointGroup/{dataflowEndpointGroupId}");
499
+ b.p("dataflowEndpointGroupId", () => input.dataflowEndpointGroupId, "{dataflowEndpointGroupId}", false);
500
+ let body;
501
+ b.m("GET").h(headers).b(body);
502
+ return b.build();
503
+ };
504
+ const se_GetMinuteUsageCommand = async (input, context) => {
505
+ const b = core.requestBuilder(input, context);
506
+ const headers = {
507
+ "content-type": "application/json",
1732
508
  };
1733
- }
1734
- if (output.trackingConfig != null) {
1735
- return {
1736
- trackingConfig: (0, import_smithy_client._json)(output.trackingConfig)
509
+ b.bp("/minute-usage");
510
+ let body;
511
+ body = JSON.stringify(smithyClient.take(input, {
512
+ month: [],
513
+ year: [],
514
+ }));
515
+ b.m("POST").h(headers).b(body);
516
+ return b.build();
517
+ };
518
+ const se_GetMissionProfileCommand = async (input, context) => {
519
+ const b = core.requestBuilder(input, context);
520
+ const headers = {};
521
+ b.bp("/missionprofile/{missionProfileId}");
522
+ b.p("missionProfileId", () => input.missionProfileId, "{missionProfileId}", false);
523
+ let body;
524
+ b.m("GET").h(headers).b(body);
525
+ return b.build();
526
+ };
527
+ const se_GetSatelliteCommand = async (input, context) => {
528
+ const b = core.requestBuilder(input, context);
529
+ const headers = {};
530
+ b.bp("/satellite/{satelliteId}");
531
+ b.p("satelliteId", () => input.satelliteId, "{satelliteId}", false);
532
+ let body;
533
+ b.m("GET").h(headers).b(body);
534
+ return b.build();
535
+ };
536
+ const se_ListConfigsCommand = async (input, context) => {
537
+ const b = core.requestBuilder(input, context);
538
+ const headers = {};
539
+ b.bp("/config");
540
+ const query = smithyClient.map({
541
+ [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
542
+ [_nT]: [, input[_nT]],
543
+ });
544
+ let body;
545
+ b.m("GET").h(headers).q(query).b(body);
546
+ return b.build();
547
+ };
548
+ const se_ListContactsCommand = async (input, context) => {
549
+ const b = core.requestBuilder(input, context);
550
+ const headers = {
551
+ "content-type": "application/json",
1737
552
  };
1738
- }
1739
- if (output.uplinkEchoConfig != null) {
1740
- return {
1741
- uplinkEchoConfig: (0, import_smithy_client._json)(output.uplinkEchoConfig)
553
+ b.bp("/contacts");
554
+ let body;
555
+ body = JSON.stringify(smithyClient.take(input, {
556
+ endTime: (_) => _.getTime() / 1_000,
557
+ groundStation: [],
558
+ maxResults: [],
559
+ missionProfileArn: [],
560
+ nextToken: [],
561
+ satelliteArn: [],
562
+ startTime: (_) => _.getTime() / 1_000,
563
+ statusList: (_) => smithyClient._json(_),
564
+ }));
565
+ b.m("POST").h(headers).b(body);
566
+ return b.build();
567
+ };
568
+ const se_ListDataflowEndpointGroupsCommand = async (input, context) => {
569
+ const b = core.requestBuilder(input, context);
570
+ const headers = {};
571
+ b.bp("/dataflowEndpointGroup");
572
+ const query = smithyClient.map({
573
+ [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
574
+ [_nT]: [, input[_nT]],
575
+ });
576
+ let body;
577
+ b.m("GET").h(headers).q(query).b(body);
578
+ return b.build();
579
+ };
580
+ const se_ListEphemeridesCommand = async (input, context) => {
581
+ const b = core.requestBuilder(input, context);
582
+ const headers = {
583
+ "content-type": "application/json",
1742
584
  };
1743
- }
1744
- return { $unknown: Object.entries(output)[0] };
1745
- }, "de_ConfigTypeData");
1746
- var de_ContactData = /* @__PURE__ */ __name((output, context) => {
1747
- return (0, import_smithy_client.take)(output, {
1748
- contactId: import_smithy_client.expectString,
1749
- contactStatus: import_smithy_client.expectString,
1750
- endTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "endTime"),
1751
- errorMessage: import_smithy_client.expectString,
1752
- groundStation: import_smithy_client.expectString,
1753
- maximumElevation: /* @__PURE__ */ __name((_) => de_Elevation(_, context), "maximumElevation"),
1754
- missionProfileArn: import_smithy_client.expectString,
1755
- postPassEndTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "postPassEndTime"),
1756
- prePassStartTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "prePassStartTime"),
1757
- region: import_smithy_client.expectString,
1758
- satelliteArn: import_smithy_client.expectString,
1759
- startTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "startTime"),
1760
- tags: import_smithy_client._json,
1761
- visibilityEndTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "visibilityEndTime"),
1762
- visibilityStartTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "visibilityStartTime")
1763
- });
1764
- }, "de_ContactData");
1765
- var de_ContactList = /* @__PURE__ */ __name((output, context) => {
1766
- const retVal = (output || []).filter((e) => e != null).map((entry) => {
1767
- return de_ContactData(entry, context);
1768
- });
1769
- return retVal;
1770
- }, "de_ContactList");
1771
- var de_Eirp = /* @__PURE__ */ __name((output, context) => {
1772
- return (0, import_smithy_client.take)(output, {
1773
- units: import_smithy_client.expectString,
1774
- value: import_smithy_client.limitedParseDouble
1775
- });
1776
- }, "de_Eirp");
1777
- var de_Elevation = /* @__PURE__ */ __name((output, context) => {
1778
- return (0, import_smithy_client.take)(output, {
1779
- unit: import_smithy_client.expectString,
1780
- value: import_smithy_client.limitedParseDouble
1781
- });
1782
- }, "de_Elevation");
1783
- var de_EphemeridesList = /* @__PURE__ */ __name((output, context) => {
1784
- const retVal = (output || []).filter((e) => e != null).map((entry) => {
1785
- return de_EphemerisItem(entry, context);
1786
- });
1787
- return retVal;
1788
- }, "de_EphemeridesList");
1789
- var de_EphemerisItem = /* @__PURE__ */ __name((output, context) => {
1790
- return (0, import_smithy_client.take)(output, {
1791
- creationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "creationTime"),
1792
- enabled: import_smithy_client.expectBoolean,
1793
- ephemerisId: import_smithy_client.expectString,
1794
- name: import_smithy_client.expectString,
1795
- priority: import_smithy_client.expectInt32,
1796
- sourceS3Object: import_smithy_client._json,
1797
- status: import_smithy_client.expectString
1798
- });
1799
- }, "de_EphemerisItem");
1800
- var de_EphemerisMetaData = /* @__PURE__ */ __name((output, context) => {
1801
- return (0, import_smithy_client.take)(output, {
1802
- ephemerisId: import_smithy_client.expectString,
1803
- epoch: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "epoch"),
1804
- name: import_smithy_client.expectString,
1805
- source: import_smithy_client.expectString
1806
- });
1807
- }, "de_EphemerisMetaData");
1808
- var de_Frequency = /* @__PURE__ */ __name((output, context) => {
1809
- return (0, import_smithy_client.take)(output, {
1810
- units: import_smithy_client.expectString,
1811
- value: import_smithy_client.limitedParseDouble
1812
- });
1813
- }, "de_Frequency");
1814
- var de_FrequencyBandwidth = /* @__PURE__ */ __name((output, context) => {
1815
- return (0, import_smithy_client.take)(output, {
1816
- units: import_smithy_client.expectString,
1817
- value: import_smithy_client.limitedParseDouble
1818
- });
1819
- }, "de_FrequencyBandwidth");
1820
- var de_SatelliteList = /* @__PURE__ */ __name((output, context) => {
1821
- const retVal = (output || []).filter((e) => e != null).map((entry) => {
1822
- return de_SatelliteListItem(entry, context);
1823
- });
1824
- return retVal;
1825
- }, "de_SatelliteList");
1826
- var de_SatelliteListItem = /* @__PURE__ */ __name((output, context) => {
1827
- return (0, import_smithy_client.take)(output, {
1828
- currentEphemeris: /* @__PURE__ */ __name((_) => de_EphemerisMetaData(_, context), "currentEphemeris"),
1829
- groundStations: import_smithy_client._json,
1830
- noradSatelliteID: import_smithy_client.expectInt32,
1831
- satelliteArn: import_smithy_client.expectString,
1832
- satelliteId: import_smithy_client.expectString
1833
- });
1834
- }, "de_SatelliteListItem");
1835
- var de_SpectrumConfig = /* @__PURE__ */ __name((output, context) => {
1836
- return (0, import_smithy_client.take)(output, {
1837
- bandwidth: /* @__PURE__ */ __name((_) => de_FrequencyBandwidth(_, context), "bandwidth"),
1838
- centerFrequency: /* @__PURE__ */ __name((_) => de_Frequency(_, context), "centerFrequency"),
1839
- polarization: import_smithy_client.expectString
1840
- });
1841
- }, "de_SpectrumConfig");
1842
- var de_UplinkSpectrumConfig = /* @__PURE__ */ __name((output, context) => {
1843
- return (0, import_smithy_client.take)(output, {
1844
- centerFrequency: /* @__PURE__ */ __name((_) => de_Frequency(_, context), "centerFrequency"),
1845
- polarization: import_smithy_client.expectString
1846
- });
1847
- }, "de_UplinkSpectrumConfig");
1848
- var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
1849
- httpStatusCode: output.statusCode,
1850
- requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
1851
- extendedRequestId: output.headers["x-amz-id-2"],
1852
- cfId: output.headers["x-amz-cf-id"]
1853
- }), "deserializeMetadata");
1854
- var _mR = "maxResults";
1855
- var _nT = "nextToken";
1856
- var _sI = "satelliteId";
1857
- var _tK = "tagKeys";
1858
-
1859
- // src/commands/CancelContactCommand.ts
1860
- var CancelContactCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1861
- return [
1862
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1863
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1864
- ];
1865
- }).s("GroundStation", "CancelContact", {}).n("GroundStationClient", "CancelContactCommand").f(void 0, void 0).ser(se_CancelContactCommand).de(de_CancelContactCommand).build() {
1866
- static {
1867
- __name(this, "CancelContactCommand");
1868
- }
585
+ b.bp("/ephemerides");
586
+ const query = smithyClient.map({
587
+ [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
588
+ [_nT]: [, input[_nT]],
589
+ });
590
+ let body;
591
+ body = JSON.stringify(smithyClient.take(input, {
592
+ endTime: (_) => _.getTime() / 1_000,
593
+ satelliteId: [],
594
+ startTime: (_) => _.getTime() / 1_000,
595
+ statusList: (_) => smithyClient._json(_),
596
+ }));
597
+ b.m("POST").h(headers).q(query).b(body);
598
+ return b.build();
1869
599
  };
1870
-
1871
- // src/commands/CreateConfigCommand.ts
1872
-
1873
-
1874
-
1875
- var CreateConfigCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1876
- return [
1877
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1878
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1879
- ];
1880
- }).s("GroundStation", "CreateConfig", {}).n("GroundStationClient", "CreateConfigCommand").f(void 0, void 0).ser(se_CreateConfigCommand).de(de_CreateConfigCommand).build() {
1881
- static {
1882
- __name(this, "CreateConfigCommand");
1883
- }
600
+ const se_ListGroundStationsCommand = async (input, context) => {
601
+ const b = core.requestBuilder(input, context);
602
+ const headers = {};
603
+ b.bp("/groundstation");
604
+ const query = smithyClient.map({
605
+ [_sI]: [, input[_sI]],
606
+ [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
607
+ [_nT]: [, input[_nT]],
608
+ });
609
+ let body;
610
+ b.m("GET").h(headers).q(query).b(body);
611
+ return b.build();
1884
612
  };
1885
-
1886
- // src/commands/CreateDataflowEndpointGroupCommand.ts
1887
-
1888
-
1889
-
1890
- var CreateDataflowEndpointGroupCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1891
- return [
1892
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1893
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1894
- ];
1895
- }).s("GroundStation", "CreateDataflowEndpointGroup", {}).n("GroundStationClient", "CreateDataflowEndpointGroupCommand").f(void 0, void 0).ser(se_CreateDataflowEndpointGroupCommand).de(de_CreateDataflowEndpointGroupCommand).build() {
1896
- static {
1897
- __name(this, "CreateDataflowEndpointGroupCommand");
1898
- }
613
+ const se_ListMissionProfilesCommand = async (input, context) => {
614
+ const b = core.requestBuilder(input, context);
615
+ const headers = {};
616
+ b.bp("/missionprofile");
617
+ const query = smithyClient.map({
618
+ [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
619
+ [_nT]: [, input[_nT]],
620
+ });
621
+ let body;
622
+ b.m("GET").h(headers).q(query).b(body);
623
+ return b.build();
1899
624
  };
1900
-
1901
- // src/commands/CreateEphemerisCommand.ts
1902
-
1903
-
1904
-
1905
- var CreateEphemerisCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1906
- return [
1907
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1908
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1909
- ];
1910
- }).s("GroundStation", "CreateEphemeris", {}).n("GroundStationClient", "CreateEphemerisCommand").f(void 0, void 0).ser(se_CreateEphemerisCommand).de(de_CreateEphemerisCommand).build() {
1911
- static {
1912
- __name(this, "CreateEphemerisCommand");
1913
- }
625
+ const se_ListSatellitesCommand = async (input, context) => {
626
+ const b = core.requestBuilder(input, context);
627
+ const headers = {};
628
+ b.bp("/satellite");
629
+ const query = smithyClient.map({
630
+ [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
631
+ [_nT]: [, input[_nT]],
632
+ });
633
+ let body;
634
+ b.m("GET").h(headers).q(query).b(body);
635
+ return b.build();
1914
636
  };
1915
-
1916
- // src/commands/CreateMissionProfileCommand.ts
1917
-
1918
-
1919
-
1920
- var CreateMissionProfileCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1921
- return [
1922
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1923
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1924
- ];
1925
- }).s("GroundStation", "CreateMissionProfile", {}).n("GroundStationClient", "CreateMissionProfileCommand").f(void 0, void 0).ser(se_CreateMissionProfileCommand).de(de_CreateMissionProfileCommand).build() {
1926
- static {
1927
- __name(this, "CreateMissionProfileCommand");
1928
- }
637
+ const se_ListTagsForResourceCommand = async (input, context) => {
638
+ const b = core.requestBuilder(input, context);
639
+ const headers = {};
640
+ b.bp("/tags/{resourceArn}");
641
+ b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
642
+ let body;
643
+ b.m("GET").h(headers).b(body);
644
+ return b.build();
1929
645
  };
1930
-
1931
- // src/commands/DeleteConfigCommand.ts
1932
-
1933
-
1934
-
1935
- var DeleteConfigCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1936
- return [
1937
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1938
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1939
- ];
1940
- }).s("GroundStation", "DeleteConfig", {}).n("GroundStationClient", "DeleteConfigCommand").f(void 0, void 0).ser(se_DeleteConfigCommand).de(de_DeleteConfigCommand).build() {
1941
- static {
1942
- __name(this, "DeleteConfigCommand");
1943
- }
646
+ const se_RegisterAgentCommand = async (input, context) => {
647
+ const b = core.requestBuilder(input, context);
648
+ const headers = {
649
+ "content-type": "application/json",
650
+ };
651
+ b.bp("/agent");
652
+ let body;
653
+ body = JSON.stringify(smithyClient.take(input, {
654
+ agentDetails: (_) => smithyClient._json(_),
655
+ discoveryData: (_) => smithyClient._json(_),
656
+ tags: (_) => smithyClient._json(_),
657
+ }));
658
+ b.m("POST").h(headers).b(body);
659
+ return b.build();
1944
660
  };
1945
-
1946
- // src/commands/DeleteDataflowEndpointGroupCommand.ts
1947
-
1948
-
1949
-
1950
- var DeleteDataflowEndpointGroupCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1951
- return [
1952
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1953
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1954
- ];
1955
- }).s("GroundStation", "DeleteDataflowEndpointGroup", {}).n("GroundStationClient", "DeleteDataflowEndpointGroupCommand").f(void 0, void 0).ser(se_DeleteDataflowEndpointGroupCommand).de(de_DeleteDataflowEndpointGroupCommand).build() {
1956
- static {
1957
- __name(this, "DeleteDataflowEndpointGroupCommand");
1958
- }
661
+ const se_ReserveContactCommand = async (input, context) => {
662
+ const b = core.requestBuilder(input, context);
663
+ const headers = {
664
+ "content-type": "application/json",
665
+ };
666
+ b.bp("/contact");
667
+ let body;
668
+ body = JSON.stringify(smithyClient.take(input, {
669
+ endTime: (_) => _.getTime() / 1_000,
670
+ groundStation: [],
671
+ missionProfileArn: [],
672
+ satelliteArn: [],
673
+ startTime: (_) => _.getTime() / 1_000,
674
+ tags: (_) => smithyClient._json(_),
675
+ }));
676
+ b.m("POST").h(headers).b(body);
677
+ return b.build();
1959
678
  };
1960
-
1961
- // src/commands/DeleteEphemerisCommand.ts
1962
-
1963
-
1964
-
1965
- var DeleteEphemerisCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1966
- return [
1967
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1968
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1969
- ];
1970
- }).s("GroundStation", "DeleteEphemeris", {}).n("GroundStationClient", "DeleteEphemerisCommand").f(void 0, void 0).ser(se_DeleteEphemerisCommand).de(de_DeleteEphemerisCommand).build() {
1971
- static {
1972
- __name(this, "DeleteEphemerisCommand");
1973
- }
679
+ const se_TagResourceCommand = async (input, context) => {
680
+ const b = core.requestBuilder(input, context);
681
+ const headers = {
682
+ "content-type": "application/json",
683
+ };
684
+ b.bp("/tags/{resourceArn}");
685
+ b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
686
+ let body;
687
+ body = JSON.stringify(smithyClient.take(input, {
688
+ tags: (_) => smithyClient._json(_),
689
+ }));
690
+ b.m("POST").h(headers).b(body);
691
+ return b.build();
1974
692
  };
1975
-
1976
- // src/commands/DeleteMissionProfileCommand.ts
1977
-
1978
-
1979
-
1980
- var DeleteMissionProfileCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1981
- return [
1982
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1983
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1984
- ];
1985
- }).s("GroundStation", "DeleteMissionProfile", {}).n("GroundStationClient", "DeleteMissionProfileCommand").f(void 0, void 0).ser(se_DeleteMissionProfileCommand).de(de_DeleteMissionProfileCommand).build() {
1986
- static {
1987
- __name(this, "DeleteMissionProfileCommand");
1988
- }
693
+ const se_UntagResourceCommand = async (input, context) => {
694
+ const b = core.requestBuilder(input, context);
695
+ const headers = {};
696
+ b.bp("/tags/{resourceArn}");
697
+ b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
698
+ const query = smithyClient.map({
699
+ [_tK]: [smithyClient.expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK] || []],
700
+ });
701
+ let body;
702
+ b.m("DELETE").h(headers).q(query).b(body);
703
+ return b.build();
1989
704
  };
1990
-
1991
- // src/commands/DescribeContactCommand.ts
1992
-
1993
-
1994
-
1995
- var DescribeContactCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1996
- return [
1997
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1998
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1999
- ];
2000
- }).s("GroundStation", "DescribeContact", {}).n("GroundStationClient", "DescribeContactCommand").f(void 0, void 0).ser(se_DescribeContactCommand).de(de_DescribeContactCommand).build() {
2001
- static {
2002
- __name(this, "DescribeContactCommand");
2003
- }
705
+ const se_UpdateAgentStatusCommand = async (input, context) => {
706
+ const b = core.requestBuilder(input, context);
707
+ const headers = {
708
+ "content-type": "application/json",
709
+ };
710
+ b.bp("/agent/{agentId}");
711
+ b.p("agentId", () => input.agentId, "{agentId}", false);
712
+ let body;
713
+ body = JSON.stringify(smithyClient.take(input, {
714
+ aggregateStatus: (_) => smithyClient._json(_),
715
+ componentStatuses: (_) => smithyClient._json(_),
716
+ taskId: [],
717
+ }));
718
+ b.m("PUT").h(headers).b(body);
719
+ return b.build();
2004
720
  };
2005
-
2006
- // src/commands/DescribeEphemerisCommand.ts
2007
-
2008
-
2009
-
2010
- var DescribeEphemerisCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2011
- return [
2012
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2013
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2014
- ];
2015
- }).s("GroundStation", "DescribeEphemeris", {}).n("GroundStationClient", "DescribeEphemerisCommand").f(void 0, void 0).ser(se_DescribeEphemerisCommand).de(de_DescribeEphemerisCommand).build() {
2016
- static {
2017
- __name(this, "DescribeEphemerisCommand");
2018
- }
721
+ const se_UpdateConfigCommand = async (input, context) => {
722
+ const b = core.requestBuilder(input, context);
723
+ const headers = {
724
+ "content-type": "application/json",
725
+ };
726
+ b.bp("/config/{configType}/{configId}");
727
+ b.p("configId", () => input.configId, "{configId}", false);
728
+ b.p("configType", () => input.configType, "{configType}", false);
729
+ let body;
730
+ body = JSON.stringify(smithyClient.take(input, {
731
+ configData: (_) => se_ConfigTypeData(_),
732
+ name: [],
733
+ }));
734
+ b.m("PUT").h(headers).b(body);
735
+ return b.build();
2019
736
  };
2020
-
2021
- // src/commands/GetAgentConfigurationCommand.ts
2022
-
2023
-
2024
-
2025
- var GetAgentConfigurationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2026
- return [
2027
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2028
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2029
- ];
2030
- }).s("GroundStation", "GetAgentConfiguration", {}).n("GroundStationClient", "GetAgentConfigurationCommand").f(void 0, void 0).ser(se_GetAgentConfigurationCommand).de(de_GetAgentConfigurationCommand).build() {
2031
- static {
2032
- __name(this, "GetAgentConfigurationCommand");
2033
- }
737
+ const se_UpdateEphemerisCommand = async (input, context) => {
738
+ const b = core.requestBuilder(input, context);
739
+ const headers = {
740
+ "content-type": "application/json",
741
+ };
742
+ b.bp("/ephemeris/{ephemerisId}");
743
+ b.p("ephemerisId", () => input.ephemerisId, "{ephemerisId}", false);
744
+ let body;
745
+ body = JSON.stringify(smithyClient.take(input, {
746
+ enabled: [],
747
+ name: [],
748
+ priority: [],
749
+ }));
750
+ b.m("PUT").h(headers).b(body);
751
+ return b.build();
2034
752
  };
2035
-
2036
- // src/commands/GetConfigCommand.ts
2037
-
2038
-
2039
-
2040
- var GetConfigCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2041
- return [
2042
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2043
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2044
- ];
2045
- }).s("GroundStation", "GetConfig", {}).n("GroundStationClient", "GetConfigCommand").f(void 0, void 0).ser(se_GetConfigCommand).de(de_GetConfigCommand).build() {
2046
- static {
2047
- __name(this, "GetConfigCommand");
2048
- }
753
+ const se_UpdateMissionProfileCommand = async (input, context) => {
754
+ const b = core.requestBuilder(input, context);
755
+ const headers = {
756
+ "content-type": "application/json",
757
+ };
758
+ b.bp("/missionprofile/{missionProfileId}");
759
+ b.p("missionProfileId", () => input.missionProfileId, "{missionProfileId}", false);
760
+ let body;
761
+ body = JSON.stringify(smithyClient.take(input, {
762
+ contactPostPassDurationSeconds: [],
763
+ contactPrePassDurationSeconds: [],
764
+ dataflowEdges: (_) => smithyClient._json(_),
765
+ minimumViableContactDurationSeconds: [],
766
+ name: [],
767
+ streamsKmsKey: (_) => smithyClient._json(_),
768
+ streamsKmsRole: [],
769
+ trackingConfigArn: [],
770
+ }));
771
+ b.m("PUT").h(headers).b(body);
772
+ return b.build();
2049
773
  };
2050
-
2051
- // src/commands/GetDataflowEndpointGroupCommand.ts
2052
-
2053
-
2054
-
2055
- var GetDataflowEndpointGroupCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2056
- return [
2057
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2058
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2059
- ];
2060
- }).s("GroundStation", "GetDataflowEndpointGroup", {}).n("GroundStationClient", "GetDataflowEndpointGroupCommand").f(void 0, void 0).ser(se_GetDataflowEndpointGroupCommand).de(de_GetDataflowEndpointGroupCommand).build() {
2061
- static {
2062
- __name(this, "GetDataflowEndpointGroupCommand");
2063
- }
774
+ const de_CancelContactCommand = async (output, context) => {
775
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
776
+ return de_CommandError(output, context);
777
+ }
778
+ const contents = smithyClient.map({
779
+ $metadata: deserializeMetadata(output),
780
+ });
781
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
782
+ const doc = smithyClient.take(data, {
783
+ contactId: smithyClient.expectString,
784
+ });
785
+ Object.assign(contents, doc);
786
+ return contents;
2064
787
  };
2065
-
2066
- // src/commands/GetMinuteUsageCommand.ts
2067
-
2068
-
2069
-
2070
- var GetMinuteUsageCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2071
- return [
2072
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2073
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2074
- ];
2075
- }).s("GroundStation", "GetMinuteUsage", {}).n("GroundStationClient", "GetMinuteUsageCommand").f(void 0, void 0).ser(se_GetMinuteUsageCommand).de(de_GetMinuteUsageCommand).build() {
2076
- static {
2077
- __name(this, "GetMinuteUsageCommand");
2078
- }
788
+ const de_CreateConfigCommand = async (output, context) => {
789
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
790
+ return de_CommandError(output, context);
791
+ }
792
+ const contents = smithyClient.map({
793
+ $metadata: deserializeMetadata(output),
794
+ });
795
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
796
+ const doc = smithyClient.take(data, {
797
+ configArn: smithyClient.expectString,
798
+ configId: smithyClient.expectString,
799
+ configType: smithyClient.expectString,
800
+ });
801
+ Object.assign(contents, doc);
802
+ return contents;
2079
803
  };
2080
-
2081
- // src/commands/GetMissionProfileCommand.ts
2082
-
2083
-
2084
-
2085
- var GetMissionProfileCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2086
- return [
2087
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2088
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2089
- ];
2090
- }).s("GroundStation", "GetMissionProfile", {}).n("GroundStationClient", "GetMissionProfileCommand").f(void 0, void 0).ser(se_GetMissionProfileCommand).de(de_GetMissionProfileCommand).build() {
2091
- static {
2092
- __name(this, "GetMissionProfileCommand");
2093
- }
804
+ const de_CreateDataflowEndpointGroupCommand = async (output, context) => {
805
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
806
+ return de_CommandError(output, context);
807
+ }
808
+ const contents = smithyClient.map({
809
+ $metadata: deserializeMetadata(output),
810
+ });
811
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
812
+ const doc = smithyClient.take(data, {
813
+ dataflowEndpointGroupId: smithyClient.expectString,
814
+ });
815
+ Object.assign(contents, doc);
816
+ return contents;
2094
817
  };
2095
-
2096
- // src/commands/GetSatelliteCommand.ts
2097
-
2098
-
2099
-
2100
- var GetSatelliteCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2101
- return [
2102
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2103
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2104
- ];
2105
- }).s("GroundStation", "GetSatellite", {}).n("GroundStationClient", "GetSatelliteCommand").f(void 0, void 0).ser(se_GetSatelliteCommand).de(de_GetSatelliteCommand).build() {
2106
- static {
2107
- __name(this, "GetSatelliteCommand");
2108
- }
818
+ const de_CreateEphemerisCommand = async (output, context) => {
819
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
820
+ return de_CommandError(output, context);
821
+ }
822
+ const contents = smithyClient.map({
823
+ $metadata: deserializeMetadata(output),
824
+ });
825
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
826
+ const doc = smithyClient.take(data, {
827
+ ephemerisId: smithyClient.expectString,
828
+ });
829
+ Object.assign(contents, doc);
830
+ return contents;
2109
831
  };
2110
-
2111
- // src/commands/ListConfigsCommand.ts
2112
-
2113
-
2114
-
2115
- var ListConfigsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2116
- return [
2117
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2118
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2119
- ];
2120
- }).s("GroundStation", "ListConfigs", {}).n("GroundStationClient", "ListConfigsCommand").f(void 0, void 0).ser(se_ListConfigsCommand).de(de_ListConfigsCommand).build() {
2121
- static {
2122
- __name(this, "ListConfigsCommand");
2123
- }
832
+ const de_CreateMissionProfileCommand = async (output, context) => {
833
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
834
+ return de_CommandError(output, context);
835
+ }
836
+ const contents = smithyClient.map({
837
+ $metadata: deserializeMetadata(output),
838
+ });
839
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
840
+ const doc = smithyClient.take(data, {
841
+ missionProfileId: smithyClient.expectString,
842
+ });
843
+ Object.assign(contents, doc);
844
+ return contents;
2124
845
  };
2125
-
2126
- // src/commands/ListContactsCommand.ts
2127
-
2128
-
2129
-
2130
- var ListContactsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2131
- return [
2132
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2133
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2134
- ];
2135
- }).s("GroundStation", "ListContacts", {}).n("GroundStationClient", "ListContactsCommand").f(void 0, void 0).ser(se_ListContactsCommand).de(de_ListContactsCommand).build() {
2136
- static {
2137
- __name(this, "ListContactsCommand");
2138
- }
846
+ const de_DeleteConfigCommand = async (output, context) => {
847
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
848
+ return de_CommandError(output, context);
849
+ }
850
+ const contents = smithyClient.map({
851
+ $metadata: deserializeMetadata(output),
852
+ });
853
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
854
+ const doc = smithyClient.take(data, {
855
+ configArn: smithyClient.expectString,
856
+ configId: smithyClient.expectString,
857
+ configType: smithyClient.expectString,
858
+ });
859
+ Object.assign(contents, doc);
860
+ return contents;
2139
861
  };
2140
-
2141
- // src/commands/ListDataflowEndpointGroupsCommand.ts
2142
-
2143
-
2144
-
2145
- var ListDataflowEndpointGroupsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2146
- return [
2147
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2148
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2149
- ];
2150
- }).s("GroundStation", "ListDataflowEndpointGroups", {}).n("GroundStationClient", "ListDataflowEndpointGroupsCommand").f(void 0, void 0).ser(se_ListDataflowEndpointGroupsCommand).de(de_ListDataflowEndpointGroupsCommand).build() {
2151
- static {
2152
- __name(this, "ListDataflowEndpointGroupsCommand");
2153
- }
862
+ const de_DeleteDataflowEndpointGroupCommand = async (output, context) => {
863
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
864
+ return de_CommandError(output, context);
865
+ }
866
+ const contents = smithyClient.map({
867
+ $metadata: deserializeMetadata(output),
868
+ });
869
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
870
+ const doc = smithyClient.take(data, {
871
+ dataflowEndpointGroupId: smithyClient.expectString,
872
+ });
873
+ Object.assign(contents, doc);
874
+ return contents;
2154
875
  };
2155
-
2156
- // src/commands/ListEphemeridesCommand.ts
2157
-
2158
-
2159
-
2160
- var ListEphemeridesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2161
- return [
2162
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2163
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2164
- ];
2165
- }).s("GroundStation", "ListEphemerides", {}).n("GroundStationClient", "ListEphemeridesCommand").f(void 0, void 0).ser(se_ListEphemeridesCommand).de(de_ListEphemeridesCommand).build() {
2166
- static {
2167
- __name(this, "ListEphemeridesCommand");
2168
- }
876
+ const de_DeleteEphemerisCommand = async (output, context) => {
877
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
878
+ return de_CommandError(output, context);
879
+ }
880
+ const contents = smithyClient.map({
881
+ $metadata: deserializeMetadata(output),
882
+ });
883
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
884
+ const doc = smithyClient.take(data, {
885
+ ephemerisId: smithyClient.expectString,
886
+ });
887
+ Object.assign(contents, doc);
888
+ return contents;
2169
889
  };
2170
-
2171
- // src/commands/ListGroundStationsCommand.ts
2172
-
2173
-
2174
-
2175
- var ListGroundStationsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2176
- return [
2177
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2178
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2179
- ];
2180
- }).s("GroundStation", "ListGroundStations", {}).n("GroundStationClient", "ListGroundStationsCommand").f(void 0, void 0).ser(se_ListGroundStationsCommand).de(de_ListGroundStationsCommand).build() {
2181
- static {
2182
- __name(this, "ListGroundStationsCommand");
2183
- }
890
+ const de_DeleteMissionProfileCommand = async (output, context) => {
891
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
892
+ return de_CommandError(output, context);
893
+ }
894
+ const contents = smithyClient.map({
895
+ $metadata: deserializeMetadata(output),
896
+ });
897
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
898
+ const doc = smithyClient.take(data, {
899
+ missionProfileId: smithyClient.expectString,
900
+ });
901
+ Object.assign(contents, doc);
902
+ return contents;
2184
903
  };
2185
-
2186
- // src/commands/ListMissionProfilesCommand.ts
2187
-
2188
-
2189
-
2190
- var ListMissionProfilesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2191
- return [
2192
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2193
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2194
- ];
2195
- }).s("GroundStation", "ListMissionProfiles", {}).n("GroundStationClient", "ListMissionProfilesCommand").f(void 0, void 0).ser(se_ListMissionProfilesCommand).de(de_ListMissionProfilesCommand).build() {
2196
- static {
2197
- __name(this, "ListMissionProfilesCommand");
2198
- }
904
+ const de_DescribeContactCommand = async (output, context) => {
905
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
906
+ return de_CommandError(output, context);
907
+ }
908
+ const contents = smithyClient.map({
909
+ $metadata: deserializeMetadata(output),
910
+ });
911
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
912
+ const doc = smithyClient.take(data, {
913
+ contactId: smithyClient.expectString,
914
+ contactStatus: smithyClient.expectString,
915
+ dataflowList: smithyClient._json,
916
+ endTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
917
+ errorMessage: smithyClient.expectString,
918
+ groundStation: smithyClient.expectString,
919
+ maximumElevation: (_) => de_Elevation(_),
920
+ missionProfileArn: smithyClient.expectString,
921
+ postPassEndTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
922
+ prePassStartTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
923
+ region: smithyClient.expectString,
924
+ satelliteArn: smithyClient.expectString,
925
+ startTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
926
+ tags: smithyClient._json,
927
+ visibilityEndTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
928
+ visibilityStartTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
929
+ });
930
+ Object.assign(contents, doc);
931
+ return contents;
2199
932
  };
2200
-
2201
- // src/commands/ListSatellitesCommand.ts
2202
-
2203
-
2204
-
2205
- var ListSatellitesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2206
- return [
2207
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2208
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2209
- ];
2210
- }).s("GroundStation", "ListSatellites", {}).n("GroundStationClient", "ListSatellitesCommand").f(void 0, void 0).ser(se_ListSatellitesCommand).de(de_ListSatellitesCommand).build() {
2211
- static {
2212
- __name(this, "ListSatellitesCommand");
2213
- }
933
+ const de_DescribeEphemerisCommand = async (output, context) => {
934
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
935
+ return de_CommandError(output, context);
936
+ }
937
+ const contents = smithyClient.map({
938
+ $metadata: deserializeMetadata(output),
939
+ });
940
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
941
+ const doc = smithyClient.take(data, {
942
+ creationTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
943
+ enabled: smithyClient.expectBoolean,
944
+ ephemerisId: smithyClient.expectString,
945
+ invalidReason: smithyClient.expectString,
946
+ name: smithyClient.expectString,
947
+ priority: smithyClient.expectInt32,
948
+ satelliteId: smithyClient.expectString,
949
+ status: smithyClient.expectString,
950
+ suppliedData: (_) => smithyClient._json(core$1.awsExpectUnion(_)),
951
+ tags: smithyClient._json,
952
+ });
953
+ Object.assign(contents, doc);
954
+ return contents;
2214
955
  };
2215
-
2216
- // src/commands/ListTagsForResourceCommand.ts
2217
-
2218
-
2219
-
2220
- var ListTagsForResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2221
- return [
2222
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2223
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2224
- ];
2225
- }).s("GroundStation", "ListTagsForResource", {}).n("GroundStationClient", "ListTagsForResourceCommand").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {
2226
- static {
2227
- __name(this, "ListTagsForResourceCommand");
2228
- }
956
+ const de_GetAgentConfigurationCommand = async (output, context) => {
957
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
958
+ return de_CommandError(output, context);
959
+ }
960
+ const contents = smithyClient.map({
961
+ $metadata: deserializeMetadata(output),
962
+ });
963
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
964
+ const doc = smithyClient.take(data, {
965
+ agentId: smithyClient.expectString,
966
+ taskingDocument: smithyClient.expectString,
967
+ });
968
+ Object.assign(contents, doc);
969
+ return contents;
2229
970
  };
2230
-
2231
- // src/commands/RegisterAgentCommand.ts
2232
-
2233
-
2234
-
2235
- var RegisterAgentCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2236
- return [
2237
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2238
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2239
- ];
2240
- }).s("GroundStation", "RegisterAgent", {}).n("GroundStationClient", "RegisterAgentCommand").f(void 0, void 0).ser(se_RegisterAgentCommand).de(de_RegisterAgentCommand).build() {
2241
- static {
2242
- __name(this, "RegisterAgentCommand");
2243
- }
971
+ const de_GetConfigCommand = async (output, context) => {
972
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
973
+ return de_CommandError(output, context);
974
+ }
975
+ const contents = smithyClient.map({
976
+ $metadata: deserializeMetadata(output),
977
+ });
978
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
979
+ const doc = smithyClient.take(data, {
980
+ configArn: smithyClient.expectString,
981
+ configData: (_) => de_ConfigTypeData(core$1.awsExpectUnion(_)),
982
+ configId: smithyClient.expectString,
983
+ configType: smithyClient.expectString,
984
+ name: smithyClient.expectString,
985
+ tags: smithyClient._json,
986
+ });
987
+ Object.assign(contents, doc);
988
+ return contents;
2244
989
  };
2245
-
2246
- // src/commands/ReserveContactCommand.ts
2247
-
2248
-
2249
-
2250
- var ReserveContactCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2251
- return [
2252
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2253
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2254
- ];
2255
- }).s("GroundStation", "ReserveContact", {}).n("GroundStationClient", "ReserveContactCommand").f(void 0, void 0).ser(se_ReserveContactCommand).de(de_ReserveContactCommand).build() {
2256
- static {
2257
- __name(this, "ReserveContactCommand");
2258
- }
990
+ const de_GetDataflowEndpointGroupCommand = async (output, context) => {
991
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
992
+ return de_CommandError(output, context);
993
+ }
994
+ const contents = smithyClient.map({
995
+ $metadata: deserializeMetadata(output),
996
+ });
997
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
998
+ const doc = smithyClient.take(data, {
999
+ contactPostPassDurationSeconds: smithyClient.expectInt32,
1000
+ contactPrePassDurationSeconds: smithyClient.expectInt32,
1001
+ dataflowEndpointGroupArn: smithyClient.expectString,
1002
+ dataflowEndpointGroupId: smithyClient.expectString,
1003
+ endpointsDetails: smithyClient._json,
1004
+ tags: smithyClient._json,
1005
+ });
1006
+ Object.assign(contents, doc);
1007
+ return contents;
2259
1008
  };
2260
-
2261
- // src/commands/TagResourceCommand.ts
2262
-
2263
-
2264
-
2265
- var TagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2266
- return [
2267
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2268
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2269
- ];
2270
- }).s("GroundStation", "TagResource", {}).n("GroundStationClient", "TagResourceCommand").f(void 0, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() {
2271
- static {
2272
- __name(this, "TagResourceCommand");
2273
- }
1009
+ const de_GetMinuteUsageCommand = async (output, context) => {
1010
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1011
+ return de_CommandError(output, context);
1012
+ }
1013
+ const contents = smithyClient.map({
1014
+ $metadata: deserializeMetadata(output),
1015
+ });
1016
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1017
+ const doc = smithyClient.take(data, {
1018
+ estimatedMinutesRemaining: smithyClient.expectInt32,
1019
+ isReservedMinutesCustomer: smithyClient.expectBoolean,
1020
+ totalReservedMinuteAllocation: smithyClient.expectInt32,
1021
+ totalScheduledMinutes: smithyClient.expectInt32,
1022
+ upcomingMinutesScheduled: smithyClient.expectInt32,
1023
+ });
1024
+ Object.assign(contents, doc);
1025
+ return contents;
2274
1026
  };
2275
-
2276
- // src/commands/UntagResourceCommand.ts
2277
-
2278
-
2279
-
2280
- var UntagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2281
- return [
2282
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2283
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2284
- ];
2285
- }).s("GroundStation", "UntagResource", {}).n("GroundStationClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {
2286
- static {
2287
- __name(this, "UntagResourceCommand");
2288
- }
1027
+ const de_GetMissionProfileCommand = async (output, context) => {
1028
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1029
+ return de_CommandError(output, context);
1030
+ }
1031
+ const contents = smithyClient.map({
1032
+ $metadata: deserializeMetadata(output),
1033
+ });
1034
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1035
+ const doc = smithyClient.take(data, {
1036
+ contactPostPassDurationSeconds: smithyClient.expectInt32,
1037
+ contactPrePassDurationSeconds: smithyClient.expectInt32,
1038
+ dataflowEdges: smithyClient._json,
1039
+ minimumViableContactDurationSeconds: smithyClient.expectInt32,
1040
+ missionProfileArn: smithyClient.expectString,
1041
+ missionProfileId: smithyClient.expectString,
1042
+ name: smithyClient.expectString,
1043
+ region: smithyClient.expectString,
1044
+ streamsKmsKey: (_) => smithyClient._json(core$1.awsExpectUnion(_)),
1045
+ streamsKmsRole: smithyClient.expectString,
1046
+ tags: smithyClient._json,
1047
+ trackingConfigArn: smithyClient.expectString,
1048
+ });
1049
+ Object.assign(contents, doc);
1050
+ return contents;
2289
1051
  };
2290
-
2291
- // src/commands/UpdateAgentStatusCommand.ts
2292
-
2293
-
2294
-
2295
- var UpdateAgentStatusCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2296
- return [
2297
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2298
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2299
- ];
2300
- }).s("GroundStation", "UpdateAgentStatus", {}).n("GroundStationClient", "UpdateAgentStatusCommand").f(void 0, void 0).ser(se_UpdateAgentStatusCommand).de(de_UpdateAgentStatusCommand).build() {
2301
- static {
2302
- __name(this, "UpdateAgentStatusCommand");
2303
- }
1052
+ const de_GetSatelliteCommand = async (output, context) => {
1053
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1054
+ return de_CommandError(output, context);
1055
+ }
1056
+ const contents = smithyClient.map({
1057
+ $metadata: deserializeMetadata(output),
1058
+ });
1059
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1060
+ const doc = smithyClient.take(data, {
1061
+ currentEphemeris: (_) => de_EphemerisMetaData(_),
1062
+ groundStations: smithyClient._json,
1063
+ noradSatelliteID: smithyClient.expectInt32,
1064
+ satelliteArn: smithyClient.expectString,
1065
+ satelliteId: smithyClient.expectString,
1066
+ });
1067
+ Object.assign(contents, doc);
1068
+ return contents;
2304
1069
  };
2305
-
2306
- // src/commands/UpdateConfigCommand.ts
2307
-
2308
-
2309
-
2310
- var UpdateConfigCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2311
- return [
2312
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2313
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2314
- ];
2315
- }).s("GroundStation", "UpdateConfig", {}).n("GroundStationClient", "UpdateConfigCommand").f(void 0, void 0).ser(se_UpdateConfigCommand).de(de_UpdateConfigCommand).build() {
2316
- static {
2317
- __name(this, "UpdateConfigCommand");
2318
- }
1070
+ const de_ListConfigsCommand = async (output, context) => {
1071
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1072
+ return de_CommandError(output, context);
1073
+ }
1074
+ const contents = smithyClient.map({
1075
+ $metadata: deserializeMetadata(output),
1076
+ });
1077
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1078
+ const doc = smithyClient.take(data, {
1079
+ configList: smithyClient._json,
1080
+ nextToken: smithyClient.expectString,
1081
+ });
1082
+ Object.assign(contents, doc);
1083
+ return contents;
2319
1084
  };
2320
-
2321
- // src/commands/UpdateEphemerisCommand.ts
2322
-
2323
-
2324
-
2325
- var UpdateEphemerisCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2326
- return [
2327
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2328
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2329
- ];
2330
- }).s("GroundStation", "UpdateEphemeris", {}).n("GroundStationClient", "UpdateEphemerisCommand").f(void 0, void 0).ser(se_UpdateEphemerisCommand).de(de_UpdateEphemerisCommand).build() {
2331
- static {
2332
- __name(this, "UpdateEphemerisCommand");
2333
- }
1085
+ const de_ListContactsCommand = async (output, context) => {
1086
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1087
+ return de_CommandError(output, context);
1088
+ }
1089
+ const contents = smithyClient.map({
1090
+ $metadata: deserializeMetadata(output),
1091
+ });
1092
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1093
+ const doc = smithyClient.take(data, {
1094
+ contactList: (_) => de_ContactList(_),
1095
+ nextToken: smithyClient.expectString,
1096
+ });
1097
+ Object.assign(contents, doc);
1098
+ return contents;
2334
1099
  };
2335
-
2336
- // src/commands/UpdateMissionProfileCommand.ts
2337
-
2338
-
2339
-
2340
- var UpdateMissionProfileCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2341
- return [
2342
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2343
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2344
- ];
2345
- }).s("GroundStation", "UpdateMissionProfile", {}).n("GroundStationClient", "UpdateMissionProfileCommand").f(void 0, void 0).ser(se_UpdateMissionProfileCommand).de(de_UpdateMissionProfileCommand).build() {
2346
- static {
2347
- __name(this, "UpdateMissionProfileCommand");
2348
- }
1100
+ const de_ListDataflowEndpointGroupsCommand = async (output, context) => {
1101
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1102
+ return de_CommandError(output, context);
1103
+ }
1104
+ const contents = smithyClient.map({
1105
+ $metadata: deserializeMetadata(output),
1106
+ });
1107
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1108
+ const doc = smithyClient.take(data, {
1109
+ dataflowEndpointGroupList: smithyClient._json,
1110
+ nextToken: smithyClient.expectString,
1111
+ });
1112
+ Object.assign(contents, doc);
1113
+ return contents;
2349
1114
  };
1115
+ const de_ListEphemeridesCommand = async (output, context) => {
1116
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1117
+ return de_CommandError(output, context);
1118
+ }
1119
+ const contents = smithyClient.map({
1120
+ $metadata: deserializeMetadata(output),
1121
+ });
1122
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1123
+ const doc = smithyClient.take(data, {
1124
+ ephemerides: (_) => de_EphemeridesList(_),
1125
+ nextToken: smithyClient.expectString,
1126
+ });
1127
+ Object.assign(contents, doc);
1128
+ return contents;
1129
+ };
1130
+ const de_ListGroundStationsCommand = async (output, context) => {
1131
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1132
+ return de_CommandError(output, context);
1133
+ }
1134
+ const contents = smithyClient.map({
1135
+ $metadata: deserializeMetadata(output),
1136
+ });
1137
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1138
+ const doc = smithyClient.take(data, {
1139
+ groundStationList: smithyClient._json,
1140
+ nextToken: smithyClient.expectString,
1141
+ });
1142
+ Object.assign(contents, doc);
1143
+ return contents;
1144
+ };
1145
+ const de_ListMissionProfilesCommand = async (output, context) => {
1146
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1147
+ return de_CommandError(output, context);
1148
+ }
1149
+ const contents = smithyClient.map({
1150
+ $metadata: deserializeMetadata(output),
1151
+ });
1152
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1153
+ const doc = smithyClient.take(data, {
1154
+ missionProfileList: smithyClient._json,
1155
+ nextToken: smithyClient.expectString,
1156
+ });
1157
+ Object.assign(contents, doc);
1158
+ return contents;
1159
+ };
1160
+ const de_ListSatellitesCommand = async (output, context) => {
1161
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1162
+ return de_CommandError(output, context);
1163
+ }
1164
+ const contents = smithyClient.map({
1165
+ $metadata: deserializeMetadata(output),
1166
+ });
1167
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1168
+ const doc = smithyClient.take(data, {
1169
+ nextToken: smithyClient.expectString,
1170
+ satellites: (_) => de_SatelliteList(_),
1171
+ });
1172
+ Object.assign(contents, doc);
1173
+ return contents;
1174
+ };
1175
+ const de_ListTagsForResourceCommand = async (output, context) => {
1176
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1177
+ return de_CommandError(output, context);
1178
+ }
1179
+ const contents = smithyClient.map({
1180
+ $metadata: deserializeMetadata(output),
1181
+ });
1182
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1183
+ const doc = smithyClient.take(data, {
1184
+ tags: smithyClient._json,
1185
+ });
1186
+ Object.assign(contents, doc);
1187
+ return contents;
1188
+ };
1189
+ const de_RegisterAgentCommand = async (output, context) => {
1190
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1191
+ return de_CommandError(output, context);
1192
+ }
1193
+ const contents = smithyClient.map({
1194
+ $metadata: deserializeMetadata(output),
1195
+ });
1196
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1197
+ const doc = smithyClient.take(data, {
1198
+ agentId: smithyClient.expectString,
1199
+ });
1200
+ Object.assign(contents, doc);
1201
+ return contents;
1202
+ };
1203
+ const de_ReserveContactCommand = async (output, context) => {
1204
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1205
+ return de_CommandError(output, context);
1206
+ }
1207
+ const contents = smithyClient.map({
1208
+ $metadata: deserializeMetadata(output),
1209
+ });
1210
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1211
+ const doc = smithyClient.take(data, {
1212
+ contactId: smithyClient.expectString,
1213
+ });
1214
+ Object.assign(contents, doc);
1215
+ return contents;
1216
+ };
1217
+ const de_TagResourceCommand = async (output, context) => {
1218
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1219
+ return de_CommandError(output, context);
1220
+ }
1221
+ const contents = smithyClient.map({
1222
+ $metadata: deserializeMetadata(output),
1223
+ });
1224
+ await smithyClient.collectBody(output.body, context);
1225
+ return contents;
1226
+ };
1227
+ const de_UntagResourceCommand = async (output, context) => {
1228
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1229
+ return de_CommandError(output, context);
1230
+ }
1231
+ const contents = smithyClient.map({
1232
+ $metadata: deserializeMetadata(output),
1233
+ });
1234
+ await smithyClient.collectBody(output.body, context);
1235
+ return contents;
1236
+ };
1237
+ const de_UpdateAgentStatusCommand = async (output, context) => {
1238
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1239
+ return de_CommandError(output, context);
1240
+ }
1241
+ const contents = smithyClient.map({
1242
+ $metadata: deserializeMetadata(output),
1243
+ });
1244
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1245
+ const doc = smithyClient.take(data, {
1246
+ agentId: smithyClient.expectString,
1247
+ });
1248
+ Object.assign(contents, doc);
1249
+ return contents;
1250
+ };
1251
+ const de_UpdateConfigCommand = async (output, context) => {
1252
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1253
+ return de_CommandError(output, context);
1254
+ }
1255
+ const contents = smithyClient.map({
1256
+ $metadata: deserializeMetadata(output),
1257
+ });
1258
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1259
+ const doc = smithyClient.take(data, {
1260
+ configArn: smithyClient.expectString,
1261
+ configId: smithyClient.expectString,
1262
+ configType: smithyClient.expectString,
1263
+ });
1264
+ Object.assign(contents, doc);
1265
+ return contents;
1266
+ };
1267
+ const de_UpdateEphemerisCommand = async (output, context) => {
1268
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1269
+ return de_CommandError(output, context);
1270
+ }
1271
+ const contents = smithyClient.map({
1272
+ $metadata: deserializeMetadata(output),
1273
+ });
1274
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1275
+ const doc = smithyClient.take(data, {
1276
+ ephemerisId: smithyClient.expectString,
1277
+ });
1278
+ Object.assign(contents, doc);
1279
+ return contents;
1280
+ };
1281
+ const de_UpdateMissionProfileCommand = async (output, context) => {
1282
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1283
+ return de_CommandError(output, context);
1284
+ }
1285
+ const contents = smithyClient.map({
1286
+ $metadata: deserializeMetadata(output),
1287
+ });
1288
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1289
+ const doc = smithyClient.take(data, {
1290
+ missionProfileId: smithyClient.expectString,
1291
+ });
1292
+ Object.assign(contents, doc);
1293
+ return contents;
1294
+ };
1295
+ const de_CommandError = async (output, context) => {
1296
+ const parsedOutput = {
1297
+ ...output,
1298
+ body: await core$1.parseJsonErrorBody(output.body, context),
1299
+ };
1300
+ const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
1301
+ switch (errorCode) {
1302
+ case "DependencyException":
1303
+ case "com.amazonaws.groundstation#DependencyException":
1304
+ throw await de_DependencyExceptionRes(parsedOutput);
1305
+ case "InvalidParameterException":
1306
+ case "com.amazonaws.groundstation#InvalidParameterException":
1307
+ throw await de_InvalidParameterExceptionRes(parsedOutput);
1308
+ case "ResourceNotFoundException":
1309
+ case "com.amazonaws.groundstation#ResourceNotFoundException":
1310
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput);
1311
+ case "ResourceLimitExceededException":
1312
+ case "com.amazonaws.groundstation#ResourceLimitExceededException":
1313
+ throw await de_ResourceLimitExceededExceptionRes(parsedOutput);
1314
+ default:
1315
+ const parsedBody = parsedOutput.body;
1316
+ return throwDefaultError({
1317
+ output,
1318
+ parsedBody,
1319
+ errorCode,
1320
+ });
1321
+ }
1322
+ };
1323
+ const throwDefaultError = smithyClient.withBaseException(GroundStationServiceException);
1324
+ const de_DependencyExceptionRes = async (parsedOutput, context) => {
1325
+ const contents = smithyClient.map({});
1326
+ const data = parsedOutput.body;
1327
+ const doc = smithyClient.take(data, {
1328
+ message: smithyClient.expectString,
1329
+ parameterName: smithyClient.expectString,
1330
+ });
1331
+ Object.assign(contents, doc);
1332
+ const exception = new DependencyException({
1333
+ $metadata: deserializeMetadata(parsedOutput),
1334
+ ...contents,
1335
+ });
1336
+ return smithyClient.decorateServiceException(exception, parsedOutput.body);
1337
+ };
1338
+ const de_InvalidParameterExceptionRes = async (parsedOutput, context) => {
1339
+ const contents = smithyClient.map({});
1340
+ const data = parsedOutput.body;
1341
+ const doc = smithyClient.take(data, {
1342
+ message: smithyClient.expectString,
1343
+ parameterName: smithyClient.expectString,
1344
+ });
1345
+ Object.assign(contents, doc);
1346
+ const exception = new InvalidParameterException({
1347
+ $metadata: deserializeMetadata(parsedOutput),
1348
+ ...contents,
1349
+ });
1350
+ return smithyClient.decorateServiceException(exception, parsedOutput.body);
1351
+ };
1352
+ const de_ResourceLimitExceededExceptionRes = async (parsedOutput, context) => {
1353
+ const contents = smithyClient.map({});
1354
+ const data = parsedOutput.body;
1355
+ const doc = smithyClient.take(data, {
1356
+ message: smithyClient.expectString,
1357
+ parameterName: smithyClient.expectString,
1358
+ });
1359
+ Object.assign(contents, doc);
1360
+ const exception = new ResourceLimitExceededException({
1361
+ $metadata: deserializeMetadata(parsedOutput),
1362
+ ...contents,
1363
+ });
1364
+ return smithyClient.decorateServiceException(exception, parsedOutput.body);
1365
+ };
1366
+ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
1367
+ const contents = smithyClient.map({});
1368
+ const data = parsedOutput.body;
1369
+ const doc = smithyClient.take(data, {
1370
+ message: smithyClient.expectString,
1371
+ });
1372
+ Object.assign(contents, doc);
1373
+ const exception = new ResourceNotFoundException({
1374
+ $metadata: deserializeMetadata(parsedOutput),
1375
+ ...contents,
1376
+ });
1377
+ return smithyClient.decorateServiceException(exception, parsedOutput.body);
1378
+ };
1379
+ const se_AntennaDownlinkConfig = (input, context) => {
1380
+ return smithyClient.take(input, {
1381
+ spectrumConfig: (_) => se_SpectrumConfig(_),
1382
+ });
1383
+ };
1384
+ const se_AntennaDownlinkDemodDecodeConfig = (input, context) => {
1385
+ return smithyClient.take(input, {
1386
+ decodeConfig: smithyClient._json,
1387
+ demodulationConfig: smithyClient._json,
1388
+ spectrumConfig: (_) => se_SpectrumConfig(_),
1389
+ });
1390
+ };
1391
+ const se_AntennaUplinkConfig = (input, context) => {
1392
+ return smithyClient.take(input, {
1393
+ spectrumConfig: (_) => se_UplinkSpectrumConfig(_),
1394
+ targetEirp: (_) => se_Eirp(_),
1395
+ transmitDisabled: [],
1396
+ });
1397
+ };
1398
+ const se_ConfigTypeData = (input, context) => {
1399
+ return exports.ConfigTypeData.visit(input, {
1400
+ antennaDownlinkConfig: (value) => ({ antennaDownlinkConfig: se_AntennaDownlinkConfig(value) }),
1401
+ antennaDownlinkDemodDecodeConfig: (value) => ({
1402
+ antennaDownlinkDemodDecodeConfig: se_AntennaDownlinkDemodDecodeConfig(value),
1403
+ }),
1404
+ antennaUplinkConfig: (value) => ({ antennaUplinkConfig: se_AntennaUplinkConfig(value) }),
1405
+ dataflowEndpointConfig: (value) => ({ dataflowEndpointConfig: smithyClient._json(value) }),
1406
+ s3RecordingConfig: (value) => ({ s3RecordingConfig: smithyClient._json(value) }),
1407
+ trackingConfig: (value) => ({ trackingConfig: smithyClient._json(value) }),
1408
+ uplinkEchoConfig: (value) => ({ uplinkEchoConfig: smithyClient._json(value) }),
1409
+ _: (name, value) => ({ [name]: value }),
1410
+ });
1411
+ };
1412
+ const se_Eirp = (input, context) => {
1413
+ return smithyClient.take(input, {
1414
+ units: [],
1415
+ value: smithyClient.serializeFloat,
1416
+ });
1417
+ };
1418
+ const se_EphemerisData = (input, context) => {
1419
+ return exports.EphemerisData.visit(input, {
1420
+ oem: (value) => ({ oem: smithyClient._json(value) }),
1421
+ tle: (value) => ({ tle: se_TLEEphemeris(value) }),
1422
+ _: (name, value) => ({ [name]: value }),
1423
+ });
1424
+ };
1425
+ const se_Frequency = (input, context) => {
1426
+ return smithyClient.take(input, {
1427
+ units: [],
1428
+ value: smithyClient.serializeFloat,
1429
+ });
1430
+ };
1431
+ const se_FrequencyBandwidth = (input, context) => {
1432
+ return smithyClient.take(input, {
1433
+ units: [],
1434
+ value: smithyClient.serializeFloat,
1435
+ });
1436
+ };
1437
+ const se_SpectrumConfig = (input, context) => {
1438
+ return smithyClient.take(input, {
1439
+ bandwidth: (_) => se_FrequencyBandwidth(_),
1440
+ centerFrequency: (_) => se_Frequency(_),
1441
+ polarization: [],
1442
+ });
1443
+ };
1444
+ const se_TimeRange = (input, context) => {
1445
+ return smithyClient.take(input, {
1446
+ endTime: (_) => _.getTime() / 1_000,
1447
+ startTime: (_) => _.getTime() / 1_000,
1448
+ });
1449
+ };
1450
+ const se_TLEData = (input, context) => {
1451
+ return smithyClient.take(input, {
1452
+ tleLine1: [],
1453
+ tleLine2: [],
1454
+ validTimeRange: (_) => se_TimeRange(_),
1455
+ });
1456
+ };
1457
+ const se_TLEDataList = (input, context) => {
1458
+ return input
1459
+ .filter((e) => e != null)
1460
+ .map((entry) => {
1461
+ return se_TLEData(entry);
1462
+ });
1463
+ };
1464
+ const se_TLEEphemeris = (input, context) => {
1465
+ return smithyClient.take(input, {
1466
+ s3Object: smithyClient._json,
1467
+ tleData: (_) => se_TLEDataList(_),
1468
+ });
1469
+ };
1470
+ const se_UplinkSpectrumConfig = (input, context) => {
1471
+ return smithyClient.take(input, {
1472
+ centerFrequency: (_) => se_Frequency(_),
1473
+ polarization: [],
1474
+ });
1475
+ };
1476
+ const de_AntennaDownlinkConfig = (output, context) => {
1477
+ return smithyClient.take(output, {
1478
+ spectrumConfig: (_) => de_SpectrumConfig(_),
1479
+ });
1480
+ };
1481
+ const de_AntennaDownlinkDemodDecodeConfig = (output, context) => {
1482
+ return smithyClient.take(output, {
1483
+ decodeConfig: smithyClient._json,
1484
+ demodulationConfig: smithyClient._json,
1485
+ spectrumConfig: (_) => de_SpectrumConfig(_),
1486
+ });
1487
+ };
1488
+ const de_AntennaUplinkConfig = (output, context) => {
1489
+ return smithyClient.take(output, {
1490
+ spectrumConfig: (_) => de_UplinkSpectrumConfig(_),
1491
+ targetEirp: (_) => de_Eirp(_),
1492
+ transmitDisabled: smithyClient.expectBoolean,
1493
+ });
1494
+ };
1495
+ const de_ConfigTypeData = (output, context) => {
1496
+ if (output.antennaDownlinkConfig != null) {
1497
+ return {
1498
+ antennaDownlinkConfig: de_AntennaDownlinkConfig(output.antennaDownlinkConfig),
1499
+ };
1500
+ }
1501
+ if (output.antennaDownlinkDemodDecodeConfig != null) {
1502
+ return {
1503
+ antennaDownlinkDemodDecodeConfig: de_AntennaDownlinkDemodDecodeConfig(output.antennaDownlinkDemodDecodeConfig),
1504
+ };
1505
+ }
1506
+ if (output.antennaUplinkConfig != null) {
1507
+ return {
1508
+ antennaUplinkConfig: de_AntennaUplinkConfig(output.antennaUplinkConfig),
1509
+ };
1510
+ }
1511
+ if (output.dataflowEndpointConfig != null) {
1512
+ return {
1513
+ dataflowEndpointConfig: smithyClient._json(output.dataflowEndpointConfig),
1514
+ };
1515
+ }
1516
+ if (output.s3RecordingConfig != null) {
1517
+ return {
1518
+ s3RecordingConfig: smithyClient._json(output.s3RecordingConfig),
1519
+ };
1520
+ }
1521
+ if (output.trackingConfig != null) {
1522
+ return {
1523
+ trackingConfig: smithyClient._json(output.trackingConfig),
1524
+ };
1525
+ }
1526
+ if (output.uplinkEchoConfig != null) {
1527
+ return {
1528
+ uplinkEchoConfig: smithyClient._json(output.uplinkEchoConfig),
1529
+ };
1530
+ }
1531
+ return { $unknown: Object.entries(output)[0] };
1532
+ };
1533
+ const de_ContactData = (output, context) => {
1534
+ return smithyClient.take(output, {
1535
+ contactId: smithyClient.expectString,
1536
+ contactStatus: smithyClient.expectString,
1537
+ endTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1538
+ errorMessage: smithyClient.expectString,
1539
+ groundStation: smithyClient.expectString,
1540
+ maximumElevation: (_) => de_Elevation(_),
1541
+ missionProfileArn: smithyClient.expectString,
1542
+ postPassEndTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1543
+ prePassStartTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1544
+ region: smithyClient.expectString,
1545
+ satelliteArn: smithyClient.expectString,
1546
+ startTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1547
+ tags: smithyClient._json,
1548
+ visibilityEndTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1549
+ visibilityStartTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1550
+ });
1551
+ };
1552
+ const de_ContactList = (output, context) => {
1553
+ const retVal = (output || [])
1554
+ .filter((e) => e != null)
1555
+ .map((entry) => {
1556
+ return de_ContactData(entry);
1557
+ });
1558
+ return retVal;
1559
+ };
1560
+ const de_Eirp = (output, context) => {
1561
+ return smithyClient.take(output, {
1562
+ units: smithyClient.expectString,
1563
+ value: smithyClient.limitedParseDouble,
1564
+ });
1565
+ };
1566
+ const de_Elevation = (output, context) => {
1567
+ return smithyClient.take(output, {
1568
+ unit: smithyClient.expectString,
1569
+ value: smithyClient.limitedParseDouble,
1570
+ });
1571
+ };
1572
+ const de_EphemeridesList = (output, context) => {
1573
+ const retVal = (output || [])
1574
+ .filter((e) => e != null)
1575
+ .map((entry) => {
1576
+ return de_EphemerisItem(entry);
1577
+ });
1578
+ return retVal;
1579
+ };
1580
+ const de_EphemerisItem = (output, context) => {
1581
+ return smithyClient.take(output, {
1582
+ creationTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1583
+ enabled: smithyClient.expectBoolean,
1584
+ ephemerisId: smithyClient.expectString,
1585
+ name: smithyClient.expectString,
1586
+ priority: smithyClient.expectInt32,
1587
+ sourceS3Object: smithyClient._json,
1588
+ status: smithyClient.expectString,
1589
+ });
1590
+ };
1591
+ const de_EphemerisMetaData = (output, context) => {
1592
+ return smithyClient.take(output, {
1593
+ ephemerisId: smithyClient.expectString,
1594
+ epoch: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1595
+ name: smithyClient.expectString,
1596
+ source: smithyClient.expectString,
1597
+ });
1598
+ };
1599
+ const de_Frequency = (output, context) => {
1600
+ return smithyClient.take(output, {
1601
+ units: smithyClient.expectString,
1602
+ value: smithyClient.limitedParseDouble,
1603
+ });
1604
+ };
1605
+ const de_FrequencyBandwidth = (output, context) => {
1606
+ return smithyClient.take(output, {
1607
+ units: smithyClient.expectString,
1608
+ value: smithyClient.limitedParseDouble,
1609
+ });
1610
+ };
1611
+ const de_SatelliteList = (output, context) => {
1612
+ const retVal = (output || [])
1613
+ .filter((e) => e != null)
1614
+ .map((entry) => {
1615
+ return de_SatelliteListItem(entry);
1616
+ });
1617
+ return retVal;
1618
+ };
1619
+ const de_SatelliteListItem = (output, context) => {
1620
+ return smithyClient.take(output, {
1621
+ currentEphemeris: (_) => de_EphemerisMetaData(_),
1622
+ groundStations: smithyClient._json,
1623
+ noradSatelliteID: smithyClient.expectInt32,
1624
+ satelliteArn: smithyClient.expectString,
1625
+ satelliteId: smithyClient.expectString,
1626
+ });
1627
+ };
1628
+ const de_SpectrumConfig = (output, context) => {
1629
+ return smithyClient.take(output, {
1630
+ bandwidth: (_) => de_FrequencyBandwidth(_),
1631
+ centerFrequency: (_) => de_Frequency(_),
1632
+ polarization: smithyClient.expectString,
1633
+ });
1634
+ };
1635
+ const de_UplinkSpectrumConfig = (output, context) => {
1636
+ return smithyClient.take(output, {
1637
+ centerFrequency: (_) => de_Frequency(_),
1638
+ polarization: smithyClient.expectString,
1639
+ });
1640
+ };
1641
+ const deserializeMetadata = (output) => ({
1642
+ httpStatusCode: output.statusCode,
1643
+ requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
1644
+ extendedRequestId: output.headers["x-amz-id-2"],
1645
+ cfId: output.headers["x-amz-cf-id"],
1646
+ });
1647
+ const _mR = "maxResults";
1648
+ const _nT = "nextToken";
1649
+ const _sI = "satelliteId";
1650
+ const _tK = "tagKeys";
1651
+
1652
+ class CancelContactCommand extends smithyClient.Command
1653
+ .classBuilder()
1654
+ .ep(commonParams)
1655
+ .m(function (Command, cs, config, o) {
1656
+ return [
1657
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1658
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1659
+ ];
1660
+ })
1661
+ .s("GroundStation", "CancelContact", {})
1662
+ .n("GroundStationClient", "CancelContactCommand")
1663
+ .f(void 0, void 0)
1664
+ .ser(se_CancelContactCommand)
1665
+ .de(de_CancelContactCommand)
1666
+ .build() {
1667
+ }
1668
+
1669
+ class CreateConfigCommand extends smithyClient.Command
1670
+ .classBuilder()
1671
+ .ep(commonParams)
1672
+ .m(function (Command, cs, config, o) {
1673
+ return [
1674
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1675
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1676
+ ];
1677
+ })
1678
+ .s("GroundStation", "CreateConfig", {})
1679
+ .n("GroundStationClient", "CreateConfigCommand")
1680
+ .f(void 0, void 0)
1681
+ .ser(se_CreateConfigCommand)
1682
+ .de(de_CreateConfigCommand)
1683
+ .build() {
1684
+ }
1685
+
1686
+ class CreateDataflowEndpointGroupCommand extends smithyClient.Command
1687
+ .classBuilder()
1688
+ .ep(commonParams)
1689
+ .m(function (Command, cs, config, o) {
1690
+ return [
1691
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1692
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1693
+ ];
1694
+ })
1695
+ .s("GroundStation", "CreateDataflowEndpointGroup", {})
1696
+ .n("GroundStationClient", "CreateDataflowEndpointGroupCommand")
1697
+ .f(void 0, void 0)
1698
+ .ser(se_CreateDataflowEndpointGroupCommand)
1699
+ .de(de_CreateDataflowEndpointGroupCommand)
1700
+ .build() {
1701
+ }
1702
+
1703
+ class CreateEphemerisCommand extends smithyClient.Command
1704
+ .classBuilder()
1705
+ .ep(commonParams)
1706
+ .m(function (Command, cs, config, o) {
1707
+ return [
1708
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1709
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1710
+ ];
1711
+ })
1712
+ .s("GroundStation", "CreateEphemeris", {})
1713
+ .n("GroundStationClient", "CreateEphemerisCommand")
1714
+ .f(void 0, void 0)
1715
+ .ser(se_CreateEphemerisCommand)
1716
+ .de(de_CreateEphemerisCommand)
1717
+ .build() {
1718
+ }
1719
+
1720
+ class CreateMissionProfileCommand extends smithyClient.Command
1721
+ .classBuilder()
1722
+ .ep(commonParams)
1723
+ .m(function (Command, cs, config, o) {
1724
+ return [
1725
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1726
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1727
+ ];
1728
+ })
1729
+ .s("GroundStation", "CreateMissionProfile", {})
1730
+ .n("GroundStationClient", "CreateMissionProfileCommand")
1731
+ .f(void 0, void 0)
1732
+ .ser(se_CreateMissionProfileCommand)
1733
+ .de(de_CreateMissionProfileCommand)
1734
+ .build() {
1735
+ }
1736
+
1737
+ class DeleteConfigCommand extends smithyClient.Command
1738
+ .classBuilder()
1739
+ .ep(commonParams)
1740
+ .m(function (Command, cs, config, o) {
1741
+ return [
1742
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1743
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1744
+ ];
1745
+ })
1746
+ .s("GroundStation", "DeleteConfig", {})
1747
+ .n("GroundStationClient", "DeleteConfigCommand")
1748
+ .f(void 0, void 0)
1749
+ .ser(se_DeleteConfigCommand)
1750
+ .de(de_DeleteConfigCommand)
1751
+ .build() {
1752
+ }
1753
+
1754
+ class DeleteDataflowEndpointGroupCommand extends smithyClient.Command
1755
+ .classBuilder()
1756
+ .ep(commonParams)
1757
+ .m(function (Command, cs, config, o) {
1758
+ return [
1759
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1760
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1761
+ ];
1762
+ })
1763
+ .s("GroundStation", "DeleteDataflowEndpointGroup", {})
1764
+ .n("GroundStationClient", "DeleteDataflowEndpointGroupCommand")
1765
+ .f(void 0, void 0)
1766
+ .ser(se_DeleteDataflowEndpointGroupCommand)
1767
+ .de(de_DeleteDataflowEndpointGroupCommand)
1768
+ .build() {
1769
+ }
1770
+
1771
+ class DeleteEphemerisCommand extends smithyClient.Command
1772
+ .classBuilder()
1773
+ .ep(commonParams)
1774
+ .m(function (Command, cs, config, o) {
1775
+ return [
1776
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1777
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1778
+ ];
1779
+ })
1780
+ .s("GroundStation", "DeleteEphemeris", {})
1781
+ .n("GroundStationClient", "DeleteEphemerisCommand")
1782
+ .f(void 0, void 0)
1783
+ .ser(se_DeleteEphemerisCommand)
1784
+ .de(de_DeleteEphemerisCommand)
1785
+ .build() {
1786
+ }
1787
+
1788
+ class DeleteMissionProfileCommand extends smithyClient.Command
1789
+ .classBuilder()
1790
+ .ep(commonParams)
1791
+ .m(function (Command, cs, config, o) {
1792
+ return [
1793
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1794
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1795
+ ];
1796
+ })
1797
+ .s("GroundStation", "DeleteMissionProfile", {})
1798
+ .n("GroundStationClient", "DeleteMissionProfileCommand")
1799
+ .f(void 0, void 0)
1800
+ .ser(se_DeleteMissionProfileCommand)
1801
+ .de(de_DeleteMissionProfileCommand)
1802
+ .build() {
1803
+ }
1804
+
1805
+ class DescribeContactCommand extends smithyClient.Command
1806
+ .classBuilder()
1807
+ .ep(commonParams)
1808
+ .m(function (Command, cs, config, o) {
1809
+ return [
1810
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1811
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1812
+ ];
1813
+ })
1814
+ .s("GroundStation", "DescribeContact", {})
1815
+ .n("GroundStationClient", "DescribeContactCommand")
1816
+ .f(void 0, void 0)
1817
+ .ser(se_DescribeContactCommand)
1818
+ .de(de_DescribeContactCommand)
1819
+ .build() {
1820
+ }
1821
+
1822
+ class DescribeEphemerisCommand extends smithyClient.Command
1823
+ .classBuilder()
1824
+ .ep(commonParams)
1825
+ .m(function (Command, cs, config, o) {
1826
+ return [
1827
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1828
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1829
+ ];
1830
+ })
1831
+ .s("GroundStation", "DescribeEphemeris", {})
1832
+ .n("GroundStationClient", "DescribeEphemerisCommand")
1833
+ .f(void 0, void 0)
1834
+ .ser(se_DescribeEphemerisCommand)
1835
+ .de(de_DescribeEphemerisCommand)
1836
+ .build() {
1837
+ }
1838
+
1839
+ class GetAgentConfigurationCommand extends smithyClient.Command
1840
+ .classBuilder()
1841
+ .ep(commonParams)
1842
+ .m(function (Command, cs, config, o) {
1843
+ return [
1844
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1845
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1846
+ ];
1847
+ })
1848
+ .s("GroundStation", "GetAgentConfiguration", {})
1849
+ .n("GroundStationClient", "GetAgentConfigurationCommand")
1850
+ .f(void 0, void 0)
1851
+ .ser(se_GetAgentConfigurationCommand)
1852
+ .de(de_GetAgentConfigurationCommand)
1853
+ .build() {
1854
+ }
1855
+
1856
+ class GetConfigCommand extends smithyClient.Command
1857
+ .classBuilder()
1858
+ .ep(commonParams)
1859
+ .m(function (Command, cs, config, o) {
1860
+ return [
1861
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1862
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1863
+ ];
1864
+ })
1865
+ .s("GroundStation", "GetConfig", {})
1866
+ .n("GroundStationClient", "GetConfigCommand")
1867
+ .f(void 0, void 0)
1868
+ .ser(se_GetConfigCommand)
1869
+ .de(de_GetConfigCommand)
1870
+ .build() {
1871
+ }
1872
+
1873
+ class GetDataflowEndpointGroupCommand extends smithyClient.Command
1874
+ .classBuilder()
1875
+ .ep(commonParams)
1876
+ .m(function (Command, cs, config, o) {
1877
+ return [
1878
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1879
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1880
+ ];
1881
+ })
1882
+ .s("GroundStation", "GetDataflowEndpointGroup", {})
1883
+ .n("GroundStationClient", "GetDataflowEndpointGroupCommand")
1884
+ .f(void 0, void 0)
1885
+ .ser(se_GetDataflowEndpointGroupCommand)
1886
+ .de(de_GetDataflowEndpointGroupCommand)
1887
+ .build() {
1888
+ }
1889
+
1890
+ class GetMinuteUsageCommand extends smithyClient.Command
1891
+ .classBuilder()
1892
+ .ep(commonParams)
1893
+ .m(function (Command, cs, config, o) {
1894
+ return [
1895
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1896
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1897
+ ];
1898
+ })
1899
+ .s("GroundStation", "GetMinuteUsage", {})
1900
+ .n("GroundStationClient", "GetMinuteUsageCommand")
1901
+ .f(void 0, void 0)
1902
+ .ser(se_GetMinuteUsageCommand)
1903
+ .de(de_GetMinuteUsageCommand)
1904
+ .build() {
1905
+ }
1906
+
1907
+ class GetMissionProfileCommand extends smithyClient.Command
1908
+ .classBuilder()
1909
+ .ep(commonParams)
1910
+ .m(function (Command, cs, config, o) {
1911
+ return [
1912
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1913
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1914
+ ];
1915
+ })
1916
+ .s("GroundStation", "GetMissionProfile", {})
1917
+ .n("GroundStationClient", "GetMissionProfileCommand")
1918
+ .f(void 0, void 0)
1919
+ .ser(se_GetMissionProfileCommand)
1920
+ .de(de_GetMissionProfileCommand)
1921
+ .build() {
1922
+ }
1923
+
1924
+ class GetSatelliteCommand extends smithyClient.Command
1925
+ .classBuilder()
1926
+ .ep(commonParams)
1927
+ .m(function (Command, cs, config, o) {
1928
+ return [
1929
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1930
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1931
+ ];
1932
+ })
1933
+ .s("GroundStation", "GetSatellite", {})
1934
+ .n("GroundStationClient", "GetSatelliteCommand")
1935
+ .f(void 0, void 0)
1936
+ .ser(se_GetSatelliteCommand)
1937
+ .de(de_GetSatelliteCommand)
1938
+ .build() {
1939
+ }
1940
+
1941
+ class ListConfigsCommand extends smithyClient.Command
1942
+ .classBuilder()
1943
+ .ep(commonParams)
1944
+ .m(function (Command, cs, config, o) {
1945
+ return [
1946
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1947
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1948
+ ];
1949
+ })
1950
+ .s("GroundStation", "ListConfigs", {})
1951
+ .n("GroundStationClient", "ListConfigsCommand")
1952
+ .f(void 0, void 0)
1953
+ .ser(se_ListConfigsCommand)
1954
+ .de(de_ListConfigsCommand)
1955
+ .build() {
1956
+ }
1957
+
1958
+ class ListContactsCommand extends smithyClient.Command
1959
+ .classBuilder()
1960
+ .ep(commonParams)
1961
+ .m(function (Command, cs, config, o) {
1962
+ return [
1963
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1964
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1965
+ ];
1966
+ })
1967
+ .s("GroundStation", "ListContacts", {})
1968
+ .n("GroundStationClient", "ListContactsCommand")
1969
+ .f(void 0, void 0)
1970
+ .ser(se_ListContactsCommand)
1971
+ .de(de_ListContactsCommand)
1972
+ .build() {
1973
+ }
1974
+
1975
+ class ListDataflowEndpointGroupsCommand extends smithyClient.Command
1976
+ .classBuilder()
1977
+ .ep(commonParams)
1978
+ .m(function (Command, cs, config, o) {
1979
+ return [
1980
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1981
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1982
+ ];
1983
+ })
1984
+ .s("GroundStation", "ListDataflowEndpointGroups", {})
1985
+ .n("GroundStationClient", "ListDataflowEndpointGroupsCommand")
1986
+ .f(void 0, void 0)
1987
+ .ser(se_ListDataflowEndpointGroupsCommand)
1988
+ .de(de_ListDataflowEndpointGroupsCommand)
1989
+ .build() {
1990
+ }
1991
+
1992
+ class ListEphemeridesCommand extends smithyClient.Command
1993
+ .classBuilder()
1994
+ .ep(commonParams)
1995
+ .m(function (Command, cs, config, o) {
1996
+ return [
1997
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1998
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1999
+ ];
2000
+ })
2001
+ .s("GroundStation", "ListEphemerides", {})
2002
+ .n("GroundStationClient", "ListEphemeridesCommand")
2003
+ .f(void 0, void 0)
2004
+ .ser(se_ListEphemeridesCommand)
2005
+ .de(de_ListEphemeridesCommand)
2006
+ .build() {
2007
+ }
2008
+
2009
+ class ListGroundStationsCommand extends smithyClient.Command
2010
+ .classBuilder()
2011
+ .ep(commonParams)
2012
+ .m(function (Command, cs, config, o) {
2013
+ return [
2014
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2015
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2016
+ ];
2017
+ })
2018
+ .s("GroundStation", "ListGroundStations", {})
2019
+ .n("GroundStationClient", "ListGroundStationsCommand")
2020
+ .f(void 0, void 0)
2021
+ .ser(se_ListGroundStationsCommand)
2022
+ .de(de_ListGroundStationsCommand)
2023
+ .build() {
2024
+ }
2025
+
2026
+ class ListMissionProfilesCommand extends smithyClient.Command
2027
+ .classBuilder()
2028
+ .ep(commonParams)
2029
+ .m(function (Command, cs, config, o) {
2030
+ return [
2031
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2032
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2033
+ ];
2034
+ })
2035
+ .s("GroundStation", "ListMissionProfiles", {})
2036
+ .n("GroundStationClient", "ListMissionProfilesCommand")
2037
+ .f(void 0, void 0)
2038
+ .ser(se_ListMissionProfilesCommand)
2039
+ .de(de_ListMissionProfilesCommand)
2040
+ .build() {
2041
+ }
2042
+
2043
+ class ListSatellitesCommand extends smithyClient.Command
2044
+ .classBuilder()
2045
+ .ep(commonParams)
2046
+ .m(function (Command, cs, config, o) {
2047
+ return [
2048
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2049
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2050
+ ];
2051
+ })
2052
+ .s("GroundStation", "ListSatellites", {})
2053
+ .n("GroundStationClient", "ListSatellitesCommand")
2054
+ .f(void 0, void 0)
2055
+ .ser(se_ListSatellitesCommand)
2056
+ .de(de_ListSatellitesCommand)
2057
+ .build() {
2058
+ }
2059
+
2060
+ class ListTagsForResourceCommand extends smithyClient.Command
2061
+ .classBuilder()
2062
+ .ep(commonParams)
2063
+ .m(function (Command, cs, config, o) {
2064
+ return [
2065
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2066
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2067
+ ];
2068
+ })
2069
+ .s("GroundStation", "ListTagsForResource", {})
2070
+ .n("GroundStationClient", "ListTagsForResourceCommand")
2071
+ .f(void 0, void 0)
2072
+ .ser(se_ListTagsForResourceCommand)
2073
+ .de(de_ListTagsForResourceCommand)
2074
+ .build() {
2075
+ }
2076
+
2077
+ class RegisterAgentCommand extends smithyClient.Command
2078
+ .classBuilder()
2079
+ .ep(commonParams)
2080
+ .m(function (Command, cs, config, o) {
2081
+ return [
2082
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2083
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2084
+ ];
2085
+ })
2086
+ .s("GroundStation", "RegisterAgent", {})
2087
+ .n("GroundStationClient", "RegisterAgentCommand")
2088
+ .f(void 0, void 0)
2089
+ .ser(se_RegisterAgentCommand)
2090
+ .de(de_RegisterAgentCommand)
2091
+ .build() {
2092
+ }
2093
+
2094
+ class ReserveContactCommand extends smithyClient.Command
2095
+ .classBuilder()
2096
+ .ep(commonParams)
2097
+ .m(function (Command, cs, config, o) {
2098
+ return [
2099
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2100
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2101
+ ];
2102
+ })
2103
+ .s("GroundStation", "ReserveContact", {})
2104
+ .n("GroundStationClient", "ReserveContactCommand")
2105
+ .f(void 0, void 0)
2106
+ .ser(se_ReserveContactCommand)
2107
+ .de(de_ReserveContactCommand)
2108
+ .build() {
2109
+ }
2110
+
2111
+ class TagResourceCommand extends smithyClient.Command
2112
+ .classBuilder()
2113
+ .ep(commonParams)
2114
+ .m(function (Command, cs, config, o) {
2115
+ return [
2116
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2117
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2118
+ ];
2119
+ })
2120
+ .s("GroundStation", "TagResource", {})
2121
+ .n("GroundStationClient", "TagResourceCommand")
2122
+ .f(void 0, void 0)
2123
+ .ser(se_TagResourceCommand)
2124
+ .de(de_TagResourceCommand)
2125
+ .build() {
2126
+ }
2127
+
2128
+ class UntagResourceCommand extends smithyClient.Command
2129
+ .classBuilder()
2130
+ .ep(commonParams)
2131
+ .m(function (Command, cs, config, o) {
2132
+ return [
2133
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2134
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2135
+ ];
2136
+ })
2137
+ .s("GroundStation", "UntagResource", {})
2138
+ .n("GroundStationClient", "UntagResourceCommand")
2139
+ .f(void 0, void 0)
2140
+ .ser(se_UntagResourceCommand)
2141
+ .de(de_UntagResourceCommand)
2142
+ .build() {
2143
+ }
2144
+
2145
+ class UpdateAgentStatusCommand extends smithyClient.Command
2146
+ .classBuilder()
2147
+ .ep(commonParams)
2148
+ .m(function (Command, cs, config, o) {
2149
+ return [
2150
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2151
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2152
+ ];
2153
+ })
2154
+ .s("GroundStation", "UpdateAgentStatus", {})
2155
+ .n("GroundStationClient", "UpdateAgentStatusCommand")
2156
+ .f(void 0, void 0)
2157
+ .ser(se_UpdateAgentStatusCommand)
2158
+ .de(de_UpdateAgentStatusCommand)
2159
+ .build() {
2160
+ }
2161
+
2162
+ class UpdateConfigCommand extends smithyClient.Command
2163
+ .classBuilder()
2164
+ .ep(commonParams)
2165
+ .m(function (Command, cs, config, o) {
2166
+ return [
2167
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2168
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2169
+ ];
2170
+ })
2171
+ .s("GroundStation", "UpdateConfig", {})
2172
+ .n("GroundStationClient", "UpdateConfigCommand")
2173
+ .f(void 0, void 0)
2174
+ .ser(se_UpdateConfigCommand)
2175
+ .de(de_UpdateConfigCommand)
2176
+ .build() {
2177
+ }
2178
+
2179
+ class UpdateEphemerisCommand extends smithyClient.Command
2180
+ .classBuilder()
2181
+ .ep(commonParams)
2182
+ .m(function (Command, cs, config, o) {
2183
+ return [
2184
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2185
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2186
+ ];
2187
+ })
2188
+ .s("GroundStation", "UpdateEphemeris", {})
2189
+ .n("GroundStationClient", "UpdateEphemerisCommand")
2190
+ .f(void 0, void 0)
2191
+ .ser(se_UpdateEphemerisCommand)
2192
+ .de(de_UpdateEphemerisCommand)
2193
+ .build() {
2194
+ }
2195
+
2196
+ class UpdateMissionProfileCommand extends smithyClient.Command
2197
+ .classBuilder()
2198
+ .ep(commonParams)
2199
+ .m(function (Command, cs, config, o) {
2200
+ return [
2201
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2202
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2203
+ ];
2204
+ })
2205
+ .s("GroundStation", "UpdateMissionProfile", {})
2206
+ .n("GroundStationClient", "UpdateMissionProfileCommand")
2207
+ .f(void 0, void 0)
2208
+ .ser(se_UpdateMissionProfileCommand)
2209
+ .de(de_UpdateMissionProfileCommand)
2210
+ .build() {
2211
+ }
2212
+
2213
+ const commands = {
2214
+ CancelContactCommand,
2215
+ CreateConfigCommand,
2216
+ CreateDataflowEndpointGroupCommand,
2217
+ CreateEphemerisCommand,
2218
+ CreateMissionProfileCommand,
2219
+ DeleteConfigCommand,
2220
+ DeleteDataflowEndpointGroupCommand,
2221
+ DeleteEphemerisCommand,
2222
+ DeleteMissionProfileCommand,
2223
+ DescribeContactCommand,
2224
+ DescribeEphemerisCommand,
2225
+ GetAgentConfigurationCommand,
2226
+ GetConfigCommand,
2227
+ GetDataflowEndpointGroupCommand,
2228
+ GetMinuteUsageCommand,
2229
+ GetMissionProfileCommand,
2230
+ GetSatelliteCommand,
2231
+ ListConfigsCommand,
2232
+ ListContactsCommand,
2233
+ ListDataflowEndpointGroupsCommand,
2234
+ ListEphemeridesCommand,
2235
+ ListGroundStationsCommand,
2236
+ ListMissionProfilesCommand,
2237
+ ListSatellitesCommand,
2238
+ ListTagsForResourceCommand,
2239
+ RegisterAgentCommand,
2240
+ ReserveContactCommand,
2241
+ TagResourceCommand,
2242
+ UntagResourceCommand,
2243
+ UpdateAgentStatusCommand,
2244
+ UpdateConfigCommand,
2245
+ UpdateEphemerisCommand,
2246
+ UpdateMissionProfileCommand,
2247
+ };
2248
+ class GroundStation extends GroundStationClient {
2249
+ }
2250
+ smithyClient.createAggregatedClient(commands, GroundStation);
2350
2251
 
2351
- // src/GroundStation.ts
2352
- var commands = {
2353
- CancelContactCommand,
2354
- CreateConfigCommand,
2355
- CreateDataflowEndpointGroupCommand,
2356
- CreateEphemerisCommand,
2357
- CreateMissionProfileCommand,
2358
- DeleteConfigCommand,
2359
- DeleteDataflowEndpointGroupCommand,
2360
- DeleteEphemerisCommand,
2361
- DeleteMissionProfileCommand,
2362
- DescribeContactCommand,
2363
- DescribeEphemerisCommand,
2364
- GetAgentConfigurationCommand,
2365
- GetConfigCommand,
2366
- GetDataflowEndpointGroupCommand,
2367
- GetMinuteUsageCommand,
2368
- GetMissionProfileCommand,
2369
- GetSatelliteCommand,
2370
- ListConfigsCommand,
2371
- ListContactsCommand,
2372
- ListDataflowEndpointGroupsCommand,
2373
- ListEphemeridesCommand,
2374
- ListGroundStationsCommand,
2375
- ListMissionProfilesCommand,
2376
- ListSatellitesCommand,
2377
- ListTagsForResourceCommand,
2378
- RegisterAgentCommand,
2379
- ReserveContactCommand,
2380
- TagResourceCommand,
2381
- UntagResourceCommand,
2382
- UpdateAgentStatusCommand,
2383
- UpdateConfigCommand,
2384
- UpdateEphemerisCommand,
2385
- UpdateMissionProfileCommand
2386
- };
2387
- var GroundStation = class extends GroundStationClient {
2388
- static {
2389
- __name(this, "GroundStation");
2390
- }
2391
- };
2392
- (0, import_smithy_client.createAggregatedClient)(commands, GroundStation);
2393
-
2394
- // src/pagination/ListConfigsPaginator.ts
2395
-
2396
- var paginateListConfigs = (0, import_core.createPaginator)(GroundStationClient, ListConfigsCommand, "nextToken", "nextToken", "maxResults");
2397
-
2398
- // src/pagination/ListContactsPaginator.ts
2399
-
2400
- var paginateListContacts = (0, import_core.createPaginator)(GroundStationClient, ListContactsCommand, "nextToken", "nextToken", "maxResults");
2401
-
2402
- // src/pagination/ListDataflowEndpointGroupsPaginator.ts
2403
-
2404
- var paginateListDataflowEndpointGroups = (0, import_core.createPaginator)(GroundStationClient, ListDataflowEndpointGroupsCommand, "nextToken", "nextToken", "maxResults");
2405
-
2406
- // src/pagination/ListEphemeridesPaginator.ts
2407
-
2408
- var paginateListEphemerides = (0, import_core.createPaginator)(GroundStationClient, ListEphemeridesCommand, "nextToken", "nextToken", "maxResults");
2252
+ const paginateListConfigs = core.createPaginator(GroundStationClient, ListConfigsCommand, "nextToken", "nextToken", "maxResults");
2409
2253
 
2410
- // src/pagination/ListGroundStationsPaginator.ts
2254
+ const paginateListContacts = core.createPaginator(GroundStationClient, ListContactsCommand, "nextToken", "nextToken", "maxResults");
2411
2255
 
2412
- var paginateListGroundStations = (0, import_core.createPaginator)(GroundStationClient, ListGroundStationsCommand, "nextToken", "nextToken", "maxResults");
2256
+ const paginateListDataflowEndpointGroups = core.createPaginator(GroundStationClient, ListDataflowEndpointGroupsCommand, "nextToken", "nextToken", "maxResults");
2413
2257
 
2414
- // src/pagination/ListMissionProfilesPaginator.ts
2258
+ const paginateListEphemerides = core.createPaginator(GroundStationClient, ListEphemeridesCommand, "nextToken", "nextToken", "maxResults");
2415
2259
 
2416
- var paginateListMissionProfiles = (0, import_core.createPaginator)(GroundStationClient, ListMissionProfilesCommand, "nextToken", "nextToken", "maxResults");
2260
+ const paginateListGroundStations = core.createPaginator(GroundStationClient, ListGroundStationsCommand, "nextToken", "nextToken", "maxResults");
2417
2261
 
2418
- // src/pagination/ListSatellitesPaginator.ts
2262
+ const paginateListMissionProfiles = core.createPaginator(GroundStationClient, ListMissionProfilesCommand, "nextToken", "nextToken", "maxResults");
2419
2263
 
2420
- var paginateListSatellites = (0, import_core.createPaginator)(GroundStationClient, ListSatellitesCommand, "nextToken", "nextToken", "maxResults");
2264
+ const paginateListSatellites = core.createPaginator(GroundStationClient, ListSatellitesCommand, "nextToken", "nextToken", "maxResults");
2421
2265
 
2422
- // src/waiters/waitForContactScheduled.ts
2423
- var import_util_waiter = require("@smithy/util-waiter");
2424
- var checkState = /* @__PURE__ */ __name(async (client, input) => {
2425
- let reason;
2426
- try {
2427
- const result = await client.send(new DescribeContactCommand(input));
2428
- reason = result;
2266
+ const checkState = async (client, input) => {
2267
+ let reason;
2429
2268
  try {
2430
- const returnComparator = /* @__PURE__ */ __name(() => {
2431
- return result.contactStatus;
2432
- }, "returnComparator");
2433
- if (returnComparator() === "FAILED_TO_SCHEDULE") {
2434
- return { state: import_util_waiter.WaiterState.FAILURE, reason };
2435
- }
2436
- } catch (e) {
2269
+ const result = await client.send(new DescribeContactCommand(input));
2270
+ reason = result;
2271
+ try {
2272
+ const returnComparator = () => {
2273
+ return result.contactStatus;
2274
+ };
2275
+ if (returnComparator() === "FAILED_TO_SCHEDULE") {
2276
+ return { state: utilWaiter.WaiterState.FAILURE, reason };
2277
+ }
2278
+ }
2279
+ catch (e) { }
2280
+ try {
2281
+ const returnComparator = () => {
2282
+ return result.contactStatus;
2283
+ };
2284
+ if (returnComparator() === "SCHEDULED") {
2285
+ return { state: utilWaiter.WaiterState.SUCCESS, reason };
2286
+ }
2287
+ }
2288
+ catch (e) { }
2437
2289
  }
2438
- try {
2439
- const returnComparator = /* @__PURE__ */ __name(() => {
2440
- return result.contactStatus;
2441
- }, "returnComparator");
2442
- if (returnComparator() === "SCHEDULED") {
2443
- return { state: import_util_waiter.WaiterState.SUCCESS, reason };
2444
- }
2445
- } catch (e) {
2290
+ catch (exception) {
2291
+ reason = exception;
2446
2292
  }
2447
- } catch (exception) {
2448
- reason = exception;
2449
- }
2450
- return { state: import_util_waiter.WaiterState.RETRY, reason };
2451
- }, "checkState");
2452
- var waitForContactScheduled = /* @__PURE__ */ __name(async (params, input) => {
2453
- const serviceDefaults = { minDelay: 5, maxDelay: 900 };
2454
- return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);
2455
- }, "waitForContactScheduled");
2456
- var waitUntilContactScheduled = /* @__PURE__ */ __name(async (params, input) => {
2457
- const serviceDefaults = { minDelay: 5, maxDelay: 900 };
2458
- const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);
2459
- return (0, import_util_waiter.checkExceptions)(result);
2460
- }, "waitUntilContactScheduled");
2461
- // Annotate the CommonJS export names for ESM import in node:
2293
+ return { state: utilWaiter.WaiterState.RETRY, reason };
2294
+ };
2295
+ const waitForContactScheduled = async (params, input) => {
2296
+ const serviceDefaults = { minDelay: 5, maxDelay: 900 };
2297
+ return utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState);
2298
+ };
2299
+ const waitUntilContactScheduled = async (params, input) => {
2300
+ const serviceDefaults = { minDelay: 5, maxDelay: 900 };
2301
+ const result = await utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState);
2302
+ return utilWaiter.checkExceptions(result);
2303
+ };
2462
2304
 
2463
- 0 && (module.exports = {
2464
- GroundStationServiceException,
2465
- __Client,
2466
- GroundStationClient,
2467
- GroundStation,
2468
- $Command,
2469
- CancelContactCommand,
2470
- CreateConfigCommand,
2471
- CreateDataflowEndpointGroupCommand,
2472
- CreateEphemerisCommand,
2473
- CreateMissionProfileCommand,
2474
- DeleteConfigCommand,
2475
- DeleteDataflowEndpointGroupCommand,
2476
- DeleteEphemerisCommand,
2477
- DeleteMissionProfileCommand,
2478
- DescribeContactCommand,
2479
- DescribeEphemerisCommand,
2480
- GetAgentConfigurationCommand,
2481
- GetConfigCommand,
2482
- GetDataflowEndpointGroupCommand,
2483
- GetMinuteUsageCommand,
2484
- GetMissionProfileCommand,
2485
- GetSatelliteCommand,
2486
- ListConfigsCommand,
2487
- ListContactsCommand,
2488
- ListDataflowEndpointGroupsCommand,
2489
- ListEphemeridesCommand,
2490
- ListGroundStationsCommand,
2491
- ListMissionProfilesCommand,
2492
- ListSatellitesCommand,
2493
- ListTagsForResourceCommand,
2494
- RegisterAgentCommand,
2495
- ReserveContactCommand,
2496
- TagResourceCommand,
2497
- UntagResourceCommand,
2498
- UpdateAgentStatusCommand,
2499
- UpdateConfigCommand,
2500
- UpdateEphemerisCommand,
2501
- UpdateMissionProfileCommand,
2502
- paginateListConfigs,
2503
- paginateListContacts,
2504
- paginateListDataflowEndpointGroups,
2505
- paginateListEphemerides,
2506
- paginateListGroundStations,
2507
- paginateListMissionProfiles,
2508
- paginateListSatellites,
2509
- waitForContactScheduled,
2510
- waitUntilContactScheduled,
2511
- DependencyException,
2512
- InvalidParameterException,
2513
- ResourceNotFoundException,
2514
- AgentStatus,
2515
- AngleUnits,
2516
- BandwidthUnits,
2517
- FrequencyUnits,
2518
- Polarization,
2519
- EirpUnits,
2520
- AuditResults,
2521
- CapabilityHealth,
2522
- CapabilityHealthReason,
2523
- ConfigCapabilityType,
2524
- Criticality,
2525
- ConfigTypeData,
2526
- ResourceLimitExceededException,
2527
- EndpointStatus,
2528
- ConfigDetails,
2529
- ContactStatus,
2530
- EphemerisData,
2531
- KmsKey,
2532
- EphemerisInvalidReason,
2533
- EphemerisStatus,
2534
- EphemerisTypeDescription,
2535
- EphemerisSource
2305
+ Object.defineProperty(exports, "$Command", {
2306
+ enumerable: true,
2307
+ get: function () { return smithyClient.Command; }
2536
2308
  });
2537
-
2309
+ Object.defineProperty(exports, "__Client", {
2310
+ enumerable: true,
2311
+ get: function () { return smithyClient.Client; }
2312
+ });
2313
+ exports.AgentStatus = AgentStatus;
2314
+ exports.AngleUnits = AngleUnits;
2315
+ exports.AuditResults = AuditResults;
2316
+ exports.BandwidthUnits = BandwidthUnits;
2317
+ exports.CancelContactCommand = CancelContactCommand;
2318
+ exports.CapabilityHealth = CapabilityHealth;
2319
+ exports.CapabilityHealthReason = CapabilityHealthReason;
2320
+ exports.ConfigCapabilityType = ConfigCapabilityType;
2321
+ exports.ContactStatus = ContactStatus;
2322
+ exports.CreateConfigCommand = CreateConfigCommand;
2323
+ exports.CreateDataflowEndpointGroupCommand = CreateDataflowEndpointGroupCommand;
2324
+ exports.CreateEphemerisCommand = CreateEphemerisCommand;
2325
+ exports.CreateMissionProfileCommand = CreateMissionProfileCommand;
2326
+ exports.Criticality = Criticality;
2327
+ exports.DeleteConfigCommand = DeleteConfigCommand;
2328
+ exports.DeleteDataflowEndpointGroupCommand = DeleteDataflowEndpointGroupCommand;
2329
+ exports.DeleteEphemerisCommand = DeleteEphemerisCommand;
2330
+ exports.DeleteMissionProfileCommand = DeleteMissionProfileCommand;
2331
+ exports.DependencyException = DependencyException;
2332
+ exports.DescribeContactCommand = DescribeContactCommand;
2333
+ exports.DescribeEphemerisCommand = DescribeEphemerisCommand;
2334
+ exports.EirpUnits = EirpUnits;
2335
+ exports.EndpointStatus = EndpointStatus;
2336
+ exports.EphemerisInvalidReason = EphemerisInvalidReason;
2337
+ exports.EphemerisSource = EphemerisSource;
2338
+ exports.EphemerisStatus = EphemerisStatus;
2339
+ exports.FrequencyUnits = FrequencyUnits;
2340
+ exports.GetAgentConfigurationCommand = GetAgentConfigurationCommand;
2341
+ exports.GetConfigCommand = GetConfigCommand;
2342
+ exports.GetDataflowEndpointGroupCommand = GetDataflowEndpointGroupCommand;
2343
+ exports.GetMinuteUsageCommand = GetMinuteUsageCommand;
2344
+ exports.GetMissionProfileCommand = GetMissionProfileCommand;
2345
+ exports.GetSatelliteCommand = GetSatelliteCommand;
2346
+ exports.GroundStation = GroundStation;
2347
+ exports.GroundStationClient = GroundStationClient;
2348
+ exports.GroundStationServiceException = GroundStationServiceException;
2349
+ exports.InvalidParameterException = InvalidParameterException;
2350
+ exports.ListConfigsCommand = ListConfigsCommand;
2351
+ exports.ListContactsCommand = ListContactsCommand;
2352
+ exports.ListDataflowEndpointGroupsCommand = ListDataflowEndpointGroupsCommand;
2353
+ exports.ListEphemeridesCommand = ListEphemeridesCommand;
2354
+ exports.ListGroundStationsCommand = ListGroundStationsCommand;
2355
+ exports.ListMissionProfilesCommand = ListMissionProfilesCommand;
2356
+ exports.ListSatellitesCommand = ListSatellitesCommand;
2357
+ exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
2358
+ exports.Polarization = Polarization;
2359
+ exports.RegisterAgentCommand = RegisterAgentCommand;
2360
+ exports.ReserveContactCommand = ReserveContactCommand;
2361
+ exports.ResourceLimitExceededException = ResourceLimitExceededException;
2362
+ exports.ResourceNotFoundException = ResourceNotFoundException;
2363
+ exports.TagResourceCommand = TagResourceCommand;
2364
+ exports.UntagResourceCommand = UntagResourceCommand;
2365
+ exports.UpdateAgentStatusCommand = UpdateAgentStatusCommand;
2366
+ exports.UpdateConfigCommand = UpdateConfigCommand;
2367
+ exports.UpdateEphemerisCommand = UpdateEphemerisCommand;
2368
+ exports.UpdateMissionProfileCommand = UpdateMissionProfileCommand;
2369
+ exports.paginateListConfigs = paginateListConfigs;
2370
+ exports.paginateListContacts = paginateListContacts;
2371
+ exports.paginateListDataflowEndpointGroups = paginateListDataflowEndpointGroups;
2372
+ exports.paginateListEphemerides = paginateListEphemerides;
2373
+ exports.paginateListGroundStations = paginateListGroundStations;
2374
+ exports.paginateListMissionProfiles = paginateListMissionProfiles;
2375
+ exports.paginateListSatellites = paginateListSatellites;
2376
+ exports.waitForContactScheduled = waitForContactScheduled;
2377
+ exports.waitUntilContactScheduled = waitUntilContactScheduled;