/var/runtime/node_modules/@aws-sdk/client-groundstation/dist-cjs
This explorer reads the filesystem of the server it runs on, so /workspace/user isn't present here. Browsing and the terminal still work against this server's own disk from /.
"use strict";var __defProp = Object.defineProperty;var __getOwnPropDesc = Object.getOwnPropertyDescriptor;var __getOwnPropNames = Object.getOwnPropertyNames;var __hasOwnProp = Object.prototype.hasOwnProperty;var __name = (target, value) => __defProp(target, "name", { value, configurable: true });var __export = (target, all) => { for (var name in all) __defProp(target, name, { get: all[name], enumerable: true });};var __copyProps = (to, from, except, desc) => { if (from && typeof from === "object" || typeof from === "function") { for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); } return to;};var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); // src/index.tsvar index_exports = {};__export(index_exports, { AgentStatus: () => AgentStatus, AngleUnits: () => AngleUnits, AuditResults: () => AuditResults, BandwidthUnits: () => BandwidthUnits, CancelContactCommand: () => CancelContactCommand, CapabilityHealth: () => CapabilityHealth, CapabilityHealthReason: () => CapabilityHealthReason, ConfigCapabilityType: () => ConfigCapabilityType, ConfigDetails: () => ConfigDetails, ConfigTypeData: () => ConfigTypeData, ContactStatus: () => ContactStatus, CreateConfigCommand: () => CreateConfigCommand, CreateDataflowEndpointGroupCommand: () => CreateDataflowEndpointGroupCommand, CreateEphemerisCommand: () => CreateEphemerisCommand, CreateMissionProfileCommand: () => CreateMissionProfileCommand, Criticality: () => Criticality, DeleteConfigCommand: () => DeleteConfigCommand, DeleteDataflowEndpointGroupCommand: () => DeleteDataflowEndpointGroupCommand, DeleteEphemerisCommand: () => DeleteEphemerisCommand, DeleteMissionProfileCommand: () => DeleteMissionProfileCommand, DependencyException: () => DependencyException, DescribeContactCommand: () => DescribeContactCommand, DescribeEphemerisCommand: () => DescribeEphemerisCommand, EirpUnits: () => EirpUnits, EndpointStatus: () => EndpointStatus, EphemerisData: () => EphemerisData, EphemerisInvalidReason: () => EphemerisInvalidReason, EphemerisSource: () => EphemerisSource, EphemerisStatus: () => EphemerisStatus, EphemerisTypeDescription: () => EphemerisTypeDescription, FrequencyUnits: () => FrequencyUnits, GetAgentConfigurationCommand: () => GetAgentConfigurationCommand, GetConfigCommand: () => GetConfigCommand, GetDataflowEndpointGroupCommand: () => GetDataflowEndpointGroupCommand, GetMinuteUsageCommand: () => GetMinuteUsageCommand, GetMissionProfileCommand: () => GetMissionProfileCommand, GetSatelliteCommand: () => GetSatelliteCommand, GroundStation: () => GroundStation, GroundStationClient: () => GroundStationClient, GroundStationServiceException: () => GroundStationServiceException, InvalidParameterException: () => InvalidParameterException, KmsKey: () => KmsKey, ListConfigsCommand: () => ListConfigsCommand, ListContactsCommand: () => ListContactsCommand, ListDataflowEndpointGroupsCommand: () => ListDataflowEndpointGroupsCommand, ListEphemeridesCommand: () => ListEphemeridesCommand, ListGroundStationsCommand: () => ListGroundStationsCommand, ListMissionProfilesCommand: () => ListMissionProfilesCommand, ListSatellitesCommand: () => ListSatellitesCommand, ListTagsForResourceCommand: () => ListTagsForResourceCommand, Polarization: () => Polarization, RegisterAgentCommand: () => RegisterAgentCommand, ReserveContactCommand: () => ReserveContactCommand, ResourceLimitExceededException: () => ResourceLimitExceededException, ResourceNotFoundException: () => ResourceNotFoundException, TagResourceCommand: () => TagResourceCommand, UntagResourceCommand: () => UntagResourceCommand, UpdateAgentStatusCommand: () => UpdateAgentStatusCommand, UpdateConfigCommand: () => UpdateConfigCommand, UpdateEphemerisCommand: () => UpdateEphemerisCommand, UpdateMissionProfileCommand: () => UpdateMissionProfileCommand, __Client: () => import_smithy_client.Client, paginateListConfigs: () => paginateListConfigs, paginateListContacts: () => paginateListContacts, paginateListDataflowEndpointGroups: () => paginateListDataflowEndpointGroups, paginateListEphemerides: () => paginateListEphemerides, paginateListGroundStations: () => paginateListGroundStations, paginateListMissionProfiles: () => paginateListMissionProfiles, paginateListSatellites: () => paginateListSatellites, waitForContactScheduled: () => waitForContactScheduled, waitUntilContactScheduled: () => waitUntilContactScheduled});module.exports = __toCommonJS(index_exports); // src/GroundStationClient.tsvar import_middleware_host_header = require("@aws-sdk/middleware-host-header");var import_middleware_logger = require("@aws-sdk/middleware-logger");var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");var import_config_resolver = require("@smithy/config-resolver");var import_core = require("@smithy/core");var import_middleware_content_length = require("@smithy/middleware-content-length");var import_middleware_endpoint = require("@smithy/middleware-endpoint");var import_middleware_retry = require("@smithy/middleware-retry"); var import_httpAuthSchemeProvider = require("./auth/httpAuthSchemeProvider"); // src/endpoint/EndpointParameters.tsvar resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => { return Object.assign(options, { useDualstackEndpoint: options.useDualstackEndpoint ?? false, useFipsEndpoint: options.useFipsEndpoint ?? false, defaultSigningName: "groundstation" });}, "resolveClientEndpointParameters");var commonParams = { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, Endpoint: { type: "builtInParams", name: "endpoint" }, Region: { type: "builtInParams", name: "region" }, UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }}; // src/GroundStationClient.tsvar import_runtimeConfig = require("././runtimeConfig"); // src/runtimeExtensions.tsvar import_region_config_resolver = require("@aws-sdk/region-config-resolver");var import_protocol_http = require("@smithy/protocol-http");var import_smithy_client = require("@smithy/smithy-client"); // src/auth/httpAuthExtensionConfiguration.tsvar getHttpAuthExtensionConfiguration = /* @__PURE__ */ __name((runtimeConfig) => { const _httpAuthSchemes = runtimeConfig.httpAuthSchemes; let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider; let _credentials = runtimeConfig.credentials; return { setHttpAuthScheme(httpAuthScheme) { const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId); if (index === -1) { _httpAuthSchemes.push(httpAuthScheme); } else { _httpAuthSchemes.splice(index, 1, httpAuthScheme); } }, httpAuthSchemes() { return _httpAuthSchemes; }, setHttpAuthSchemeProvider(httpAuthSchemeProvider) { _httpAuthSchemeProvider = httpAuthSchemeProvider; }, httpAuthSchemeProvider() { return _httpAuthSchemeProvider; }, setCredentials(credentials) { _credentials = credentials; }, credentials() { return _credentials; } };}, "getHttpAuthExtensionConfiguration");var resolveHttpAuthRuntimeConfig = /* @__PURE__ */ __name((config) => { return { httpAuthSchemes: config.httpAuthSchemes(), httpAuthSchemeProvider: config.httpAuthSchemeProvider(), credentials: config.credentials() };}, "resolveHttpAuthRuntimeConfig"); // src/runtimeExtensions.tsvar resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => { const extensionConfiguration = Object.assign( (0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig), (0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig), (0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig) ); extensions.forEach((extension) => extension.configure(extensionConfiguration)); return Object.assign( runtimeConfig, (0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration), (0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration), (0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration) );}, "resolveRuntimeExtensions"); // src/GroundStationClient.tsvar GroundStationClient = class extends import_smithy_client.Client { static { __name(this, "GroundStationClient"); } /** * The resolved configuration of GroundStationClient class. This is resolved and normalized from the {@link GroundStationClientConfig | constructor configuration interface}. */ config; constructor(...[configuration]) { const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {}); super(_config_0); this.initConfig = _config_0; const _config_1 = resolveClientEndpointParameters(_config_0); const _config_2 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_1); const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2); const _config_4 = (0, import_config_resolver.resolveRegionConfig)(_config_3); const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4); const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5); const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6); const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []); this.config = _config_8; this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config)); this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config)); this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config)); this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config)); this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config)); this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config)); this.middlewareStack.use( (0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, { httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultGroundStationHttpAuthSchemeParametersProvider, identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({ "aws.auth#sigv4": config.credentials }), "identityProviderConfigProvider") }) ); this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config)); } /** * Destroy underlying resources, like sockets. It's usually not necessary to do this. * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed. * Otherwise, sockets might stay open for quite a long time before the server terminates them. */ destroy() { super.destroy(); }}; // src/GroundStation.ts // src/commands/CancelContactCommand.ts var import_middleware_serde = require("@smithy/middleware-serde"); // src/protocols/Aws_restJson1.tsvar import_core2 = require("@aws-sdk/core"); // src/models/GroundStationServiceException.ts var GroundStationServiceException = class _GroundStationServiceException extends import_smithy_client.ServiceException { static { __name(this, "GroundStationServiceException"); } /** * @internal */ constructor(options) { super(options); Object.setPrototypeOf(this, _GroundStationServiceException.prototype); }}; // src/models/models_0.tsvar DependencyException = class _DependencyException extends GroundStationServiceException { static { __name(this, "DependencyException"); } name = "DependencyException"; $fault = "server"; /** * <p/> * @public */ parameterName; /** * @internal */ constructor(opts) { super({ name: "DependencyException", $fault: "server", ...opts }); Object.setPrototypeOf(this, _DependencyException.prototype); this.parameterName = opts.parameterName; }};var InvalidParameterException = class _InvalidParameterException extends GroundStationServiceException { static { __name(this, "InvalidParameterException"); } name = "InvalidParameterException"; $fault = "client"; /** * <p/> * @public */ parameterName; /** * @internal */ constructor(opts) { super({ name: "InvalidParameterException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _InvalidParameterException.prototype); this.parameterName = opts.parameterName; }};var ResourceNotFoundException = class _ResourceNotFoundException extends GroundStationServiceException { static { __name(this, "ResourceNotFoundException"); } name = "ResourceNotFoundException"; $fault = "client"; /** * @internal */ constructor(opts) { super({ name: "ResourceNotFoundException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _ResourceNotFoundException.prototype); }};var AgentStatus = { ACTIVE: "ACTIVE", FAILED: "FAILED", INACTIVE: "INACTIVE", SUCCESS: "SUCCESS"};var AngleUnits = { DEGREE_ANGLE: "DEGREE_ANGLE", RADIAN: "RADIAN"};var BandwidthUnits = { GHZ: "GHz", KHZ: "kHz", MHZ: "MHz"};var FrequencyUnits = { GHZ: "GHz", KHZ: "kHz", MHZ: "MHz"};var Polarization = { LEFT_HAND: "LEFT_HAND", NONE: "NONE", RIGHT_HAND: "RIGHT_HAND"};var EirpUnits = { DBW: "dBW"};var AuditResults = { HEALTHY: "HEALTHY", UNHEALTHY: "UNHEALTHY"};var CapabilityHealth = { HEALTHY: "HEALTHY", UNHEALTHY: "UNHEALTHY"};var CapabilityHealthReason = { DATAPLANE_FAILURE: "DATAPLANE_FAILURE", HEALTHY: "HEALTHY", INITIALIZING_DATAPLANE: "INITIALIZING_DATAPLANE", INVALID_IP_OWNERSHIP: "INVALID_IP_OWNERSHIP", NOT_AUTHORIZED_TO_CREATE_SLR: "NOT_AUTHORIZED_TO_CREATE_SLR", NO_REGISTERED_AGENT: "NO_REGISTERED_AGENT", UNVERIFIED_IP_OWNERSHIP: "UNVERIFIED_IP_OWNERSHIP"};var ConfigCapabilityType = { ANTENNA_DOWNLINK: "antenna-downlink", ANTENNA_DOWNLINK_DEMOD_DECODE: "antenna-downlink-demod-decode", ANTENNA_UPLINK: "antenna-uplink", DATAFLOW_ENDPOINT: "dataflow-endpoint", S3_RECORDING: "s3-recording", TRACKING: "tracking", UPLINK_ECHO: "uplink-echo"};var Criticality = { PREFERRED: "PREFERRED", REMOVED: "REMOVED", REQUIRED: "REQUIRED"};var ConfigTypeData;((ConfigTypeData2) => { ConfigTypeData2.visit = /* @__PURE__ */ __name((value, visitor) => { if (value.antennaDownlinkConfig !== void 0) return visitor.antennaDownlinkConfig(value.antennaDownlinkConfig); if (value.trackingConfig !== void 0) return visitor.trackingConfig(value.trackingConfig); if (value.dataflowEndpointConfig !== void 0) return visitor.dataflowEndpointConfig(value.dataflowEndpointConfig); if (value.antennaDownlinkDemodDecodeConfig !== void 0) return visitor.antennaDownlinkDemodDecodeConfig(value.antennaDownlinkDemodDecodeConfig); if (value.antennaUplinkConfig !== void 0) return visitor.antennaUplinkConfig(value.antennaUplinkConfig); if (value.uplinkEchoConfig !== void 0) return visitor.uplinkEchoConfig(value.uplinkEchoConfig); if (value.s3RecordingConfig !== void 0) return visitor.s3RecordingConfig(value.s3RecordingConfig); return visitor._(value.$unknown[0], value.$unknown[1]); }, "visit");})(ConfigTypeData || (ConfigTypeData = {}));var ResourceLimitExceededException = class _ResourceLimitExceededException extends GroundStationServiceException { static { __name(this, "ResourceLimitExceededException"); } name = "ResourceLimitExceededException"; $fault = "client"; /** * <p/> * @public */ parameterName; /** * @internal */ constructor(opts) { super({ name: "ResourceLimitExceededException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _ResourceLimitExceededException.prototype); this.parameterName = opts.parameterName; }};var EndpointStatus = { created: "created", creating: "creating", deleted: "deleted", deleting: "deleting", failed: "failed"};var ConfigDetails;((ConfigDetails2) => { ConfigDetails2.visit = /* @__PURE__ */ __name((value, visitor) => { if (value.endpointDetails !== void 0) return visitor.endpointDetails(value.endpointDetails); if (value.antennaDemodDecodeDetails !== void 0) return visitor.antennaDemodDecodeDetails(value.antennaDemodDecodeDetails); if (value.s3RecordingDetails !== void 0) return visitor.s3RecordingDetails(value.s3RecordingDetails); return visitor._(value.$unknown[0], value.$unknown[1]); }, "visit");})(ConfigDetails || (ConfigDetails = {}));var ContactStatus = { AVAILABLE: "AVAILABLE", AWS_CANCELLED: "AWS_CANCELLED", AWS_FAILED: "AWS_FAILED", CANCELLED: "CANCELLED", CANCELLING: "CANCELLING", COMPLETED: "COMPLETED", FAILED: "FAILED", FAILED_TO_SCHEDULE: "FAILED_TO_SCHEDULE", PASS: "PASS", POSTPASS: "POSTPASS", PREPASS: "PREPASS", SCHEDULED: "SCHEDULED", SCHEDULING: "SCHEDULING"};var EphemerisData;((EphemerisData2) => { EphemerisData2.visit = /* @__PURE__ */ __name((value, visitor) => { if (value.tle !== void 0) return visitor.tle(value.tle); if (value.oem !== void 0) return visitor.oem(value.oem); return visitor._(value.$unknown[0], value.$unknown[1]); }, "visit");})(EphemerisData || (EphemerisData = {}));var KmsKey;((KmsKey3) => { KmsKey3.visit = /* @__PURE__ */ __name((value, visitor) => { if (value.kmsKeyArn !== void 0) return visitor.kmsKeyArn(value.kmsKeyArn); if (value.kmsAliasArn !== void 0) return visitor.kmsAliasArn(value.kmsAliasArn); if (value.kmsAliasName !== void 0) return visitor.kmsAliasName(value.kmsAliasName); return visitor._(value.$unknown[0], value.$unknown[1]); }, "visit");})(KmsKey || (KmsKey = {}));var EphemerisInvalidReason = { /** * Provided KMS key is invalid */ KMS_KEY_INVALID: "KMS_KEY_INVALID", /** * Provided spacecraft identifiers such as spacecraft NORAD Id are invalid */ METADATA_INVALID: "METADATA_INVALID", /** * Start, end, or expiration time(s) are invalid for the provided ephemeris */ TIME_RANGE_INVALID: "TIME_RANGE_INVALID", /** * Provided ephemeris defines invalid spacecraft trajectory */ TRAJECTORY_INVALID: "TRAJECTORY_INVALID", /** * Internal Service Error occurred while processing ephemeris */ VALIDATION_ERROR: "VALIDATION_ERROR"};var EphemerisStatus = { DISABLED: "DISABLED", ENABLED: "ENABLED", ERROR: "ERROR", EXPIRED: "EXPIRED", INVALID: "INVALID", VALIDATING: "VALIDATING"};var EphemerisTypeDescription;((EphemerisTypeDescription2) => { EphemerisTypeDescription2.visit = /* @__PURE__ */ __name((value, visitor) => { if (value.tle !== void 0) return visitor.tle(value.tle); if (value.oem !== void 0) return visitor.oem(value.oem); return visitor._(value.$unknown[0], value.$unknown[1]); }, "visit");})(EphemerisTypeDescription || (EphemerisTypeDescription = {}));var EphemerisSource = { CUSTOMER_PROVIDED: "CUSTOMER_PROVIDED", SPACE_TRACK: "SPACE_TRACK"}; // src/protocols/Aws_restJson1.tsvar se_CancelContactCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/contact/{contactId}"); b.p("contactId", () => input.contactId, "{contactId}", false); let body; b.m("DELETE").h(headers).b(body); return b.build();}, "se_CancelContactCommand");var se_CreateConfigCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/config"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { configData: /* @__PURE__ */ __name((_) => se_ConfigTypeData(_, context), "configData"), name: [], tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags") }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_CreateConfigCommand");var se_CreateDataflowEndpointGroupCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/dataflowEndpointGroup"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { contactPostPassDurationSeconds: [], contactPrePassDurationSeconds: [], endpointDetails: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "endpointDetails"), tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags") }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_CreateDataflowEndpointGroupCommand");var se_CreateEphemerisCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/ephemeris"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { enabled: [], ephemeris: /* @__PURE__ */ __name((_) => se_EphemerisData(_, context), "ephemeris"), expirationTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "expirationTime"), kmsKeyArn: [], name: [], priority: [], satelliteId: [], tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags") }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_CreateEphemerisCommand");var se_CreateMissionProfileCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/missionprofile"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { contactPostPassDurationSeconds: [], contactPrePassDurationSeconds: [], dataflowEdges: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "dataflowEdges"), minimumViableContactDurationSeconds: [], name: [], streamsKmsKey: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "streamsKmsKey"), streamsKmsRole: [], tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags"), trackingConfigArn: [] }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_CreateMissionProfileCommand");var se_DeleteConfigCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/config/{configType}/{configId}"); b.p("configId", () => input.configId, "{configId}", false); b.p("configType", () => input.configType, "{configType}", false); let body; b.m("DELETE").h(headers).b(body); return b.build();}, "se_DeleteConfigCommand");var se_DeleteDataflowEndpointGroupCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/dataflowEndpointGroup/{dataflowEndpointGroupId}"); b.p("dataflowEndpointGroupId", () => input.dataflowEndpointGroupId, "{dataflowEndpointGroupId}", false); let body; b.m("DELETE").h(headers).b(body); return b.build();}, "se_DeleteDataflowEndpointGroupCommand");var se_DeleteEphemerisCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/ephemeris/{ephemerisId}"); b.p("ephemerisId", () => input.ephemerisId, "{ephemerisId}", false); let body; b.m("DELETE").h(headers).b(body); return b.build();}, "se_DeleteEphemerisCommand");var se_DeleteMissionProfileCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/missionprofile/{missionProfileId}"); b.p("missionProfileId", () => input.missionProfileId, "{missionProfileId}", false); let body; b.m("DELETE").h(headers).b(body); return b.build();}, "se_DeleteMissionProfileCommand");var se_DescribeContactCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/contact/{contactId}"); b.p("contactId", () => input.contactId, "{contactId}", false); let body; b.m("GET").h(headers).b(body); return b.build();}, "se_DescribeContactCommand");var se_DescribeEphemerisCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/ephemeris/{ephemerisId}"); b.p("ephemerisId", () => input.ephemerisId, "{ephemerisId}", false); let body; b.m("GET").h(headers).b(body); return b.build();}, "se_DescribeEphemerisCommand");var se_GetAgentConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/agent/{agentId}/configuration"); b.p("agentId", () => input.agentId, "{agentId}", false); let body; b.m("GET").h(headers).b(body); return b.build();}, "se_GetAgentConfigurationCommand");var se_GetConfigCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/config/{configType}/{configId}"); b.p("configId", () => input.configId, "{configId}", false); b.p("configType", () => input.configType, "{configType}", false); let body; b.m("GET").h(headers).b(body); return b.build();}, "se_GetConfigCommand");var se_GetDataflowEndpointGroupCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/dataflowEndpointGroup/{dataflowEndpointGroupId}"); b.p("dataflowEndpointGroupId", () => input.dataflowEndpointGroupId, "{dataflowEndpointGroupId}", false); let body; b.m("GET").h(headers).b(body); return b.build();}, "se_GetDataflowEndpointGroupCommand");var se_GetMinuteUsageCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/minute-usage"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { month: [], year: [] }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_GetMinuteUsageCommand");var se_GetMissionProfileCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/missionprofile/{missionProfileId}"); b.p("missionProfileId", () => input.missionProfileId, "{missionProfileId}", false); let body; b.m("GET").h(headers).b(body); return b.build();}, "se_GetMissionProfileCommand");var se_GetSatelliteCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/satellite/{satelliteId}"); b.p("satelliteId", () => input.satelliteId, "{satelliteId}", false); let body; b.m("GET").h(headers).b(body); return b.build();}, "se_GetSatelliteCommand");var se_ListConfigsCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/config"); const query = (0, import_smithy_client.map)({ [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()], [_nT]: [, input[_nT]] }); let body; b.m("GET").h(headers).q(query).b(body); return b.build();}, "se_ListConfigsCommand");var se_ListContactsCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/contacts"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { endTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "endTime"), groundStation: [], maxResults: [], missionProfileArn: [], nextToken: [], satelliteArn: [], startTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "startTime"), statusList: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "statusList") }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_ListContactsCommand");var se_ListDataflowEndpointGroupsCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/dataflowEndpointGroup"); const query = (0, import_smithy_client.map)({ [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()], [_nT]: [, input[_nT]] }); let body; b.m("GET").h(headers).q(query).b(body); return b.build();}, "se_ListDataflowEndpointGroupsCommand");var se_ListEphemeridesCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/ephemerides"); const query = (0, import_smithy_client.map)({ [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()], [_nT]: [, input[_nT]] }); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { endTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "endTime"), satelliteId: [], startTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "startTime"), statusList: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "statusList") }) ); b.m("POST").h(headers).q(query).b(body); return b.build();}, "se_ListEphemeridesCommand");var se_ListGroundStationsCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/groundstation"); const query = (0, import_smithy_client.map)({ [_sI]: [, input[_sI]], [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()], [_nT]: [, input[_nT]] }); let body; b.m("GET").h(headers).q(query).b(body); return b.build();}, "se_ListGroundStationsCommand");var se_ListMissionProfilesCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/missionprofile"); const query = (0, import_smithy_client.map)({ [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()], [_nT]: [, input[_nT]] }); let body; b.m("GET").h(headers).q(query).b(body); return b.build();}, "se_ListMissionProfilesCommand");var se_ListSatellitesCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/satellite"); const query = (0, import_smithy_client.map)({ [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()], [_nT]: [, input[_nT]] }); let body; b.m("GET").h(headers).q(query).b(body); return b.build();}, "se_ListSatellitesCommand");var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/tags/{resourceArn}"); b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false); let body; b.m("GET").h(headers).b(body); return b.build();}, "se_ListTagsForResourceCommand");var se_RegisterAgentCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/agent"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { agentDetails: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "agentDetails"), discoveryData: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "discoveryData"), tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags") }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_RegisterAgentCommand");var se_ReserveContactCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/contact"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { endTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "endTime"), groundStation: [], missionProfileArn: [], satelliteArn: [], startTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "startTime"), tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags") }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_ReserveContactCommand");var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/tags/{resourceArn}"); b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags") }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_TagResourceCommand");var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/tags/{resourceArn}"); b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false); const query = (0, import_smithy_client.map)({ [_tK]: [(0, import_smithy_client.expectNonNull)(input.tagKeys, `tagKeys`) != null, () => input[_tK] || []] }); let body; b.m("DELETE").h(headers).q(query).b(body); return b.build();}, "se_UntagResourceCommand");var se_UpdateAgentStatusCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/agent/{agentId}"); b.p("agentId", () => input.agentId, "{agentId}", false); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { aggregateStatus: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "aggregateStatus"), componentStatuses: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "componentStatuses"), taskId: [] }) ); b.m("PUT").h(headers).b(body); return b.build();}, "se_UpdateAgentStatusCommand");var se_UpdateConfigCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/config/{configType}/{configId}"); b.p("configId", () => input.configId, "{configId}", false); b.p("configType", () => input.configType, "{configType}", false); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { configData: /* @__PURE__ */ __name((_) => se_ConfigTypeData(_, context), "configData"), name: [] }) ); b.m("PUT").h(headers).b(body); return b.build();}, "se_UpdateConfigCommand");var se_UpdateEphemerisCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/ephemeris/{ephemerisId}"); b.p("ephemerisId", () => input.ephemerisId, "{ephemerisId}", false); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { enabled: [], name: [], priority: [] }) ); b.m("PUT").h(headers).b(body); return b.build();}, "se_UpdateEphemerisCommand");var se_UpdateMissionProfileCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/missionprofile/{missionProfileId}"); b.p("missionProfileId", () => input.missionProfileId, "{missionProfileId}", false); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { contactPostPassDurationSeconds: [], contactPrePassDurationSeconds: [], dataflowEdges: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "dataflowEdges"), minimumViableContactDurationSeconds: [], name: [], streamsKmsKey: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "streamsKmsKey"), streamsKmsRole: [], trackingConfigArn: [] }) ); b.m("PUT").h(headers).b(body); return b.build();}, "se_UpdateMissionProfileCommand");var de_CancelContactCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { contactId: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_CancelContactCommand");var de_CreateConfigCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { configArn: import_smithy_client.expectString, configId: import_smithy_client.expectString, configType: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_CreateConfigCommand");var de_CreateDataflowEndpointGroupCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { dataflowEndpointGroupId: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_CreateDataflowEndpointGroupCommand");var de_CreateEphemerisCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { ephemerisId: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_CreateEphemerisCommand");var de_CreateMissionProfileCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { missionProfileId: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_CreateMissionProfileCommand");var de_DeleteConfigCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { configArn: import_smithy_client.expectString, configId: import_smithy_client.expectString, configType: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_DeleteConfigCommand");var de_DeleteDataflowEndpointGroupCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { dataflowEndpointGroupId: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_DeleteDataflowEndpointGroupCommand");var de_DeleteEphemerisCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { ephemerisId: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_DeleteEphemerisCommand");var de_DeleteMissionProfileCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { missionProfileId: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_DeleteMissionProfileCommand");var de_DescribeContactCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { contactId: import_smithy_client.expectString, contactStatus: import_smithy_client.expectString, dataflowList: import_smithy_client._json, endTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "endTime"), errorMessage: import_smithy_client.expectString, groundStation: import_smithy_client.expectString, maximumElevation: /* @__PURE__ */ __name((_) => de_Elevation(_, context), "maximumElevation"), missionProfileArn: import_smithy_client.expectString, postPassEndTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "postPassEndTime"), prePassStartTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "prePassStartTime"), region: import_smithy_client.expectString, satelliteArn: import_smithy_client.expectString, startTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "startTime"), tags: import_smithy_client._json, visibilityEndTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "visibilityEndTime"), visibilityStartTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "visibilityStartTime") }); Object.assign(contents, doc); return contents;}, "de_DescribeContactCommand");var de_DescribeEphemerisCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { creationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "creationTime"), enabled: import_smithy_client.expectBoolean, ephemerisId: import_smithy_client.expectString, invalidReason: import_smithy_client.expectString, name: import_smithy_client.expectString, priority: import_smithy_client.expectInt32, satelliteId: import_smithy_client.expectString, status: import_smithy_client.expectString, suppliedData: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)), "suppliedData"), tags: import_smithy_client._json }); Object.assign(contents, doc); return contents;}, "de_DescribeEphemerisCommand");var de_GetAgentConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { agentId: import_smithy_client.expectString, taskingDocument: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_GetAgentConfigurationCommand");var de_GetConfigCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { configArn: import_smithy_client.expectString, configData: /* @__PURE__ */ __name((_) => de_ConfigTypeData((0, import_core2.awsExpectUnion)(_), context), "configData"), configId: import_smithy_client.expectString, configType: import_smithy_client.expectString, name: import_smithy_client.expectString, tags: import_smithy_client._json }); Object.assign(contents, doc); return contents;}, "de_GetConfigCommand");var de_GetDataflowEndpointGroupCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { contactPostPassDurationSeconds: import_smithy_client.expectInt32, contactPrePassDurationSeconds: import_smithy_client.expectInt32, dataflowEndpointGroupArn: import_smithy_client.expectString, dataflowEndpointGroupId: import_smithy_client.expectString, endpointsDetails: import_smithy_client._json, tags: import_smithy_client._json }); Object.assign(contents, doc); return contents;}, "de_GetDataflowEndpointGroupCommand");var de_GetMinuteUsageCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { estimatedMinutesRemaining: import_smithy_client.expectInt32, isReservedMinutesCustomer: import_smithy_client.expectBoolean, totalReservedMinuteAllocation: import_smithy_client.expectInt32, totalScheduledMinutes: import_smithy_client.expectInt32, upcomingMinutesScheduled: import_smithy_client.expectInt32 }); Object.assign(contents, doc); return contents;}, "de_GetMinuteUsageCommand");var de_GetMissionProfileCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { contactPostPassDurationSeconds: import_smithy_client.expectInt32, contactPrePassDurationSeconds: import_smithy_client.expectInt32, dataflowEdges: import_smithy_client._json, minimumViableContactDurationSeconds: import_smithy_client.expectInt32, missionProfileArn: import_smithy_client.expectString, missionProfileId: import_smithy_client.expectString, name: import_smithy_client.expectString, region: import_smithy_client.expectString, streamsKmsKey: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)), "streamsKmsKey"), streamsKmsRole: import_smithy_client.expectString, tags: import_smithy_client._json, trackingConfigArn: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_GetMissionProfileCommand");var de_GetSatelliteCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { currentEphemeris: /* @__PURE__ */ __name((_) => de_EphemerisMetaData(_, context), "currentEphemeris"), groundStations: import_smithy_client._json, noradSatelliteID: import_smithy_client.expectInt32, satelliteArn: import_smithy_client.expectString, satelliteId: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_GetSatelliteCommand");var de_ListConfigsCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { configList: import_smithy_client._json, nextToken: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_ListConfigsCommand");var de_ListContactsCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { contactList: /* @__PURE__ */ __name((_) => de_ContactList(_, context), "contactList"), nextToken: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_ListContactsCommand");var de_ListDataflowEndpointGroupsCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { dataflowEndpointGroupList: import_smithy_client._json, nextToken: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_ListDataflowEndpointGroupsCommand");var de_ListEphemeridesCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { ephemerides: /* @__PURE__ */ __name((_) => de_EphemeridesList(_, context), "ephemerides"), nextToken: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_ListEphemeridesCommand");var de_ListGroundStationsCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { groundStationList: import_smithy_client._json, nextToken: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_ListGroundStationsCommand");var de_ListMissionProfilesCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { missionProfileList: import_smithy_client._json, nextToken: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_ListMissionProfilesCommand");var de_ListSatellitesCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { nextToken: import_smithy_client.expectString, satellites: /* @__PURE__ */ __name((_) => de_SatelliteList(_, context), "satellites") }); Object.assign(contents, doc); return contents;}, "de_ListSatellitesCommand");var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { tags: import_smithy_client._json }); Object.assign(contents, doc); return contents;}, "de_ListTagsForResourceCommand");var de_RegisterAgentCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { agentId: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_RegisterAgentCommand");var de_ReserveContactCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { contactId: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_ReserveContactCommand");var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); await (0, import_smithy_client.collectBody)(output.body, context); return contents;}, "de_TagResourceCommand");var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); await (0, import_smithy_client.collectBody)(output.body, context); return contents;}, "de_UntagResourceCommand");var de_UpdateAgentStatusCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { agentId: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_UpdateAgentStatusCommand");var de_UpdateConfigCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { configArn: import_smithy_client.expectString, configId: import_smithy_client.expectString, configType: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_UpdateConfigCommand");var de_UpdateEphemerisCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { ephemerisId: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_UpdateEphemerisCommand");var de_UpdateMissionProfileCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { missionProfileId: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_UpdateMissionProfileCommand");var de_CommandError = /* @__PURE__ */ __name(async (output, context) => { const parsedOutput = { ...output, body: await (0, import_core2.parseJsonErrorBody)(output.body, context) }; const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body); switch (errorCode) { case "DependencyException": case "com.amazonaws.groundstation#DependencyException": throw await de_DependencyExceptionRes(parsedOutput, context); case "InvalidParameterException": case "com.amazonaws.groundstation#InvalidParameterException": throw await de_InvalidParameterExceptionRes(parsedOutput, context); case "ResourceNotFoundException": case "com.amazonaws.groundstation#ResourceNotFoundException": throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); case "ResourceLimitExceededException": case "com.amazonaws.groundstation#ResourceLimitExceededException": throw await de_ResourceLimitExceededExceptionRes(parsedOutput, context); default: const parsedBody = parsedOutput.body; return throwDefaultError({ output, parsedBody, errorCode }); }}, "de_CommandError");var throwDefaultError = (0, import_smithy_client.withBaseException)(GroundStationServiceException);var de_DependencyExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const contents = (0, import_smithy_client.map)({}); const data = parsedOutput.body; const doc = (0, import_smithy_client.take)(data, { message: import_smithy_client.expectString, parameterName: import_smithy_client.expectString }); Object.assign(contents, doc); const exception = new DependencyException({ $metadata: deserializeMetadata(parsedOutput), ...contents }); return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_DependencyExceptionRes");var de_InvalidParameterExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const contents = (0, import_smithy_client.map)({}); const data = parsedOutput.body; const doc = (0, import_smithy_client.take)(data, { message: import_smithy_client.expectString, parameterName: import_smithy_client.expectString }); Object.assign(contents, doc); const exception = new InvalidParameterException({ $metadata: deserializeMetadata(parsedOutput), ...contents }); return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_InvalidParameterExceptionRes");var de_ResourceLimitExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const contents = (0, import_smithy_client.map)({}); const data = parsedOutput.body; const doc = (0, import_smithy_client.take)(data, { message: import_smithy_client.expectString, parameterName: import_smithy_client.expectString }); Object.assign(contents, doc); const exception = new ResourceLimitExceededException({ $metadata: deserializeMetadata(parsedOutput), ...contents }); return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_ResourceLimitExceededExceptionRes");var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const contents = (0, import_smithy_client.map)({}); const data = parsedOutput.body; const doc = (0, import_smithy_client.take)(data, { message: import_smithy_client.expectString }); Object.assign(contents, doc); const exception = new ResourceNotFoundException({ $metadata: deserializeMetadata(parsedOutput), ...contents }); return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_ResourceNotFoundExceptionRes");var se_AntennaDownlinkConfig = /* @__PURE__ */ __name((input, context) => { return (0, import_smithy_client.take)(input, { spectrumConfig: /* @__PURE__ */ __name((_) => se_SpectrumConfig(_, context), "spectrumConfig") });}, "se_AntennaDownlinkConfig");var se_AntennaDownlinkDemodDecodeConfig = /* @__PURE__ */ __name((input, context) => { return (0, import_smithy_client.take)(input, { decodeConfig: import_smithy_client._json, demodulationConfig: import_smithy_client._json, spectrumConfig: /* @__PURE__ */ __name((_) => se_SpectrumConfig(_, context), "spectrumConfig") });}, "se_AntennaDownlinkDemodDecodeConfig");var se_AntennaUplinkConfig = /* @__PURE__ */ __name((input, context) => { return (0, import_smithy_client.take)(input, { spectrumConfig: /* @__PURE__ */ __name((_) => se_UplinkSpectrumConfig(_, context), "spectrumConfig"), targetEirp: /* @__PURE__ */ __name((_) => se_Eirp(_, context), "targetEirp"), transmitDisabled: [] });}, "se_AntennaUplinkConfig");var se_ConfigTypeData = /* @__PURE__ */ __name((input, context) => { return ConfigTypeData.visit(input, { antennaDownlinkConfig: /* @__PURE__ */ __name((value) => ({ antennaDownlinkConfig: se_AntennaDownlinkConfig(value, context) }), "antennaDownlinkConfig"), antennaDownlinkDemodDecodeConfig: /* @__PURE__ */ __name((value) => ({ antennaDownlinkDemodDecodeConfig: se_AntennaDownlinkDemodDecodeConfig(value, context) }), "antennaDownlinkDemodDecodeConfig"), antennaUplinkConfig: /* @__PURE__ */ __name((value) => ({ antennaUplinkConfig: se_AntennaUplinkConfig(value, context) }), "antennaUplinkConfig"), dataflowEndpointConfig: /* @__PURE__ */ __name((value) => ({ dataflowEndpointConfig: (0, import_smithy_client._json)(value) }), "dataflowEndpointConfig"), s3RecordingConfig: /* @__PURE__ */ __name((value) => ({ s3RecordingConfig: (0, import_smithy_client._json)(value) }), "s3RecordingConfig"), trackingConfig: /* @__PURE__ */ __name((value) => ({ trackingConfig: (0, import_smithy_client._json)(value) }), "trackingConfig"), uplinkEchoConfig: /* @__PURE__ */ __name((value) => ({ uplinkEchoConfig: (0, import_smithy_client._json)(value) }), "uplinkEchoConfig"), _: /* @__PURE__ */ __name((name, value) => ({ [name]: value }), "_") });}, "se_ConfigTypeData");var se_Eirp = /* @__PURE__ */ __name((input, context) => { return (0, import_smithy_client.take)(input, { units: [], value: import_smithy_client.serializeFloat });}, "se_Eirp");var se_EphemerisData = /* @__PURE__ */ __name((input, context) => { return EphemerisData.visit(input, { oem: /* @__PURE__ */ __name((value) => ({ oem: (0, import_smithy_client._json)(value) }), "oem"), tle: /* @__PURE__ */ __name((value) => ({ tle: se_TLEEphemeris(value, context) }), "tle"), _: /* @__PURE__ */ __name((name, value) => ({ [name]: value }), "_") });}, "se_EphemerisData");var se_Frequency = /* @__PURE__ */ __name((input, context) => { return (0, import_smithy_client.take)(input, { units: [], value: import_smithy_client.serializeFloat });}, "se_Frequency");var se_FrequencyBandwidth = /* @__PURE__ */ __name((input, context) => { return (0, import_smithy_client.take)(input, { units: [], value: import_smithy_client.serializeFloat });}, "se_FrequencyBandwidth");var se_SpectrumConfig = /* @__PURE__ */ __name((input, context) => { return (0, import_smithy_client.take)(input, { bandwidth: /* @__PURE__ */ __name((_) => se_FrequencyBandwidth(_, context), "bandwidth"), centerFrequency: /* @__PURE__ */ __name((_) => se_Frequency(_, context), "centerFrequency"), polarization: [] });}, "se_SpectrumConfig");var se_TimeRange = /* @__PURE__ */ __name((input, context) => { return (0, import_smithy_client.take)(input, { endTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "endTime"), startTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "startTime") });}, "se_TimeRange");var se_TLEData = /* @__PURE__ */ __name((input, context) => { return (0, import_smithy_client.take)(input, { tleLine1: [], tleLine2: [], validTimeRange: /* @__PURE__ */ __name((_) => se_TimeRange(_, context), "validTimeRange") });}, "se_TLEData");var se_TLEDataList = /* @__PURE__ */ __name((input, context) => { return input.filter((e) => e != null).map((entry) => { return se_TLEData(entry, context); });}, "se_TLEDataList");var se_TLEEphemeris = /* @__PURE__ */ __name((input, context) => { return (0, import_smithy_client.take)(input, { s3Object: import_smithy_client._json, tleData: /* @__PURE__ */ __name((_) => se_TLEDataList(_, context), "tleData") });}, "se_TLEEphemeris");var se_UplinkSpectrumConfig = /* @__PURE__ */ __name((input, context) => { return (0, import_smithy_client.take)(input, { centerFrequency: /* @__PURE__ */ __name((_) => se_Frequency(_, context), "centerFrequency"), polarization: [] });}, "se_UplinkSpectrumConfig");var de_AntennaDownlinkConfig = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { spectrumConfig: /* @__PURE__ */ __name((_) => de_SpectrumConfig(_, context), "spectrumConfig") });}, "de_AntennaDownlinkConfig");var de_AntennaDownlinkDemodDecodeConfig = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { decodeConfig: import_smithy_client._json, demodulationConfig: import_smithy_client._json, spectrumConfig: /* @__PURE__ */ __name((_) => de_SpectrumConfig(_, context), "spectrumConfig") });}, "de_AntennaDownlinkDemodDecodeConfig");var de_AntennaUplinkConfig = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { spectrumConfig: /* @__PURE__ */ __name((_) => de_UplinkSpectrumConfig(_, context), "spectrumConfig"), targetEirp: /* @__PURE__ */ __name((_) => de_Eirp(_, context), "targetEirp"), transmitDisabled: import_smithy_client.expectBoolean });}, "de_AntennaUplinkConfig");var de_ConfigTypeData = /* @__PURE__ */ __name((output, context) => { if (output.antennaDownlinkConfig != null) { return { antennaDownlinkConfig: de_AntennaDownlinkConfig(output.antennaDownlinkConfig, context) }; } if (output.antennaDownlinkDemodDecodeConfig != null) { return { antennaDownlinkDemodDecodeConfig: de_AntennaDownlinkDemodDecodeConfig( output.antennaDownlinkDemodDecodeConfig, context ) }; } if (output.antennaUplinkConfig != null) { return { antennaUplinkConfig: de_AntennaUplinkConfig(output.antennaUplinkConfig, context) }; } if (output.dataflowEndpointConfig != null) { return { dataflowEndpointConfig: (0, import_smithy_client._json)(output.dataflowEndpointConfig) }; } if (output.s3RecordingConfig != null) { return { s3RecordingConfig: (0, import_smithy_client._json)(output.s3RecordingConfig) }; } if (output.trackingConfig != null) { return { trackingConfig: (0, import_smithy_client._json)(output.trackingConfig) }; } if (output.uplinkEchoConfig != null) { return { uplinkEchoConfig: (0, import_smithy_client._json)(output.uplinkEchoConfig) }; } return { $unknown: Object.entries(output)[0] };}, "de_ConfigTypeData");var de_ContactData = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { contactId: import_smithy_client.expectString, contactStatus: import_smithy_client.expectString, endTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "endTime"), errorMessage: import_smithy_client.expectString, groundStation: import_smithy_client.expectString, maximumElevation: /* @__PURE__ */ __name((_) => de_Elevation(_, context), "maximumElevation"), missionProfileArn: import_smithy_client.expectString, postPassEndTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "postPassEndTime"), prePassStartTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "prePassStartTime"), region: import_smithy_client.expectString, satelliteArn: import_smithy_client.expectString, startTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "startTime"), tags: import_smithy_client._json, visibilityEndTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "visibilityEndTime"), visibilityStartTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "visibilityStartTime") });}, "de_ContactData");var de_ContactList = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_ContactData(entry, context); }); return retVal;}, "de_ContactList");var de_Eirp = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { units: import_smithy_client.expectString, value: import_smithy_client.limitedParseDouble });}, "de_Eirp");var de_Elevation = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { unit: import_smithy_client.expectString, value: import_smithy_client.limitedParseDouble });}, "de_Elevation");var de_EphemeridesList = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_EphemerisItem(entry, context); }); return retVal;}, "de_EphemeridesList");var de_EphemerisItem = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { creationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "creationTime"), enabled: import_smithy_client.expectBoolean, ephemerisId: import_smithy_client.expectString, name: import_smithy_client.expectString, priority: import_smithy_client.expectInt32, sourceS3Object: import_smithy_client._json, status: import_smithy_client.expectString });}, "de_EphemerisItem");var de_EphemerisMetaData = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { ephemerisId: import_smithy_client.expectString, epoch: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "epoch"), name: import_smithy_client.expectString, source: import_smithy_client.expectString });}, "de_EphemerisMetaData");var de_Frequency = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { units: import_smithy_client.expectString, value: import_smithy_client.limitedParseDouble });}, "de_Frequency");var de_FrequencyBandwidth = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { units: import_smithy_client.expectString, value: import_smithy_client.limitedParseDouble });}, "de_FrequencyBandwidth");var de_SatelliteList = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_SatelliteListItem(entry, context); }); return retVal;}, "de_SatelliteList");var de_SatelliteListItem = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { currentEphemeris: /* @__PURE__ */ __name((_) => de_EphemerisMetaData(_, context), "currentEphemeris"), groundStations: import_smithy_client._json, noradSatelliteID: import_smithy_client.expectInt32, satelliteArn: import_smithy_client.expectString, satelliteId: import_smithy_client.expectString });}, "de_SatelliteListItem");var de_SpectrumConfig = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { bandwidth: /* @__PURE__ */ __name((_) => de_FrequencyBandwidth(_, context), "bandwidth"), centerFrequency: /* @__PURE__ */ __name((_) => de_Frequency(_, context), "centerFrequency"), polarization: import_smithy_client.expectString });}, "de_SpectrumConfig");var de_UplinkSpectrumConfig = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { centerFrequency: /* @__PURE__ */ __name((_) => de_Frequency(_, context), "centerFrequency"), polarization: import_smithy_client.expectString });}, "de_UplinkSpectrumConfig");var deserializeMetadata = /* @__PURE__ */ __name((output) => ({ httpStatusCode: output.statusCode, requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"], extendedRequestId: output.headers["x-amz-id-2"], cfId: output.headers["x-amz-cf-id"]}), "deserializeMetadata");var _mR = "maxResults";var _nT = "nextToken";var _sI = "satelliteId";var _tK = "tagKeys"; // src/commands/CancelContactCommand.tsvar CancelContactCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("GroundStation", "CancelContact", {}).n("GroundStationClient", "CancelContactCommand").f(void 0, void 0).ser(se_CancelContactCommand).de(de_CancelContactCommand).build() { static { __name(this, "CancelContactCommand"); }}; // src/commands/CreateConfigCommand.ts var CreateConfigCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("GroundStation", "CreateConfig", {}).n("GroundStationClient", "CreateConfigCommand").f(void 0, void 0).ser(se_CreateConfigCommand).de(de_CreateConfigCommand).build() { static { __name(this, "CreateConfigCommand"); }}; // src/commands/CreateDataflowEndpointGroupCommand.ts var CreateDataflowEndpointGroupCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("GroundStation", "CreateDataflowEndpointGroup", {}).n("GroundStationClient", "CreateDataflowEndpointGroupCommand").f(void 0, void 0).ser(se_CreateDataflowEndpointGroupCommand).de(de_CreateDataflowEndpointGroupCommand).build() { static { __name(this, "CreateDataflowEndpointGroupCommand"); }}; // src/commands/CreateEphemerisCommand.ts var CreateEphemerisCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("GroundStation", "CreateEphemeris", {}).n("GroundStationClient", "CreateEphemerisCommand").f(void 0, void 0).ser(se_CreateEphemerisCommand).de(de_CreateEphemerisCommand).build() { static { __name(this, "CreateEphemerisCommand"); }}; // src/commands/CreateMissionProfileCommand.ts var CreateMissionProfileCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("GroundStation", "CreateMissionProfile", {}).n("GroundStationClient", "CreateMissionProfileCommand").f(void 0, void 0).ser(se_CreateMissionProfileCommand).de(de_CreateMissionProfileCommand).build() { static { __name(this, "CreateMissionProfileCommand"); }}; // src/commands/DeleteConfigCommand.ts var DeleteConfigCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("GroundStation", "DeleteConfig", {}).n("GroundStationClient", "DeleteConfigCommand").f(void 0, void 0).ser(se_DeleteConfigCommand).de(de_DeleteConfigCommand).build() { static { __name(this, "DeleteConfigCommand"); }}; // src/commands/DeleteDataflowEndpointGroupCommand.ts var DeleteDataflowEndpointGroupCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("GroundStation", "DeleteDataflowEndpointGroup", {}).n("GroundStationClient", "DeleteDataflowEndpointGroupCommand").f(void 0, void 0).ser(se_DeleteDataflowEndpointGroupCommand).de(de_DeleteDataflowEndpointGroupCommand).build() { static { __name(this, "DeleteDataflowEndpointGroupCommand"); }}; // src/commands/DeleteEphemerisCommand.ts var DeleteEphemerisCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("GroundStation", "DeleteEphemeris", {}).n("GroundStationClient", "DeleteEphemerisCommand").f(void 0, void 0).ser(se_DeleteEphemerisCommand).de(de_DeleteEphemerisCommand).build() { static { __name(this, "DeleteEphemerisCommand"); }}; // src/commands/DeleteMissionProfileCommand.ts var DeleteMissionProfileCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("GroundStation", "DeleteMissionProfile", {}).n("GroundStationClient", "DeleteMissionProfileCommand").f(void 0, void 0).ser(se_DeleteMissionProfileCommand).de(de_DeleteMissionProfileCommand).build() { static { __name(this, "DeleteMissionProfileCommand"); }}; // src/commands/DescribeContactCommand.ts var DescribeContactCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("GroundStation", "DescribeContact", {}).n("GroundStationClient", "DescribeContactCommand").f(void 0, void 0).ser(se_DescribeContactCommand).de(de_DescribeContactCommand).build() { static { __name(this, "DescribeContactCommand"); }}; // src/commands/DescribeEphemerisCommand.ts var DescribeEphemerisCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("GroundStation", "DescribeEphemeris", {}).n("GroundStationClient", "DescribeEphemerisCommand").f(void 0, void 0).ser(se_DescribeEphemerisCommand).de(de_DescribeEphemerisCommand).build() { static { __name(this, "DescribeEphemerisCommand"); }}; // src/commands/GetAgentConfigurationCommand.ts var GetAgentConfigurationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("GroundStation", "GetAgentConfiguration", {}).n("GroundStationClient", "GetAgentConfigurationCommand").f(void 0, void 0).ser(se_GetAgentConfigurationCommand).de(de_GetAgentConfigurationCommand).build() { static { __name(this, "GetAgentConfigurationCommand"); }}; // src/commands/GetConfigCommand.ts var GetConfigCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("GroundStation", "GetConfig", {}).n("GroundStationClient", "GetConfigCommand").f(void 0, void 0).ser(se_GetConfigCommand).de(de_GetConfigCommand).build() { static { __name(this, "GetConfigCommand"); }}; // src/commands/GetDataflowEndpointGroupCommand.ts var GetDataflowEndpointGroupCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("GroundStation", "GetDataflowEndpointGroup", {}).n("GroundStationClient", "GetDataflowEndpointGroupCommand").f(void 0, void 0).ser(se_GetDataflowEndpointGroupCommand).de(de_GetDataflowEndpointGroupCommand).build() { static { __name(this, "GetDataflowEndpointGroupCommand"); }}; // src/commands/GetMinuteUsageCommand.ts var GetMinuteUsageCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("GroundStation", "GetMinuteUsage", {}).n("GroundStationClient", "GetMinuteUsageCommand").f(void 0, void 0).ser(se_GetMinuteUsageCommand).de(de_GetMinuteUsageCommand).build() { static { __name(this, "GetMinuteUsageCommand"); }}; // src/commands/GetMissionProfileCommand.ts var GetMissionProfileCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("GroundStation", "GetMissionProfile", {}).n("GroundStationClient", "GetMissionProfileCommand").f(void 0, void 0).ser(se_GetMissionProfileCommand).de(de_GetMissionProfileCommand).build() { static { __name(this, "GetMissionProfileCommand"); }}; // src/commands/GetSatelliteCommand.ts var GetSatelliteCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("GroundStation", "GetSatellite", {}).n("GroundStationClient", "GetSatelliteCommand").f(void 0, void 0).ser(se_GetSatelliteCommand).de(de_GetSatelliteCommand).build() { static { __name(this, "GetSatelliteCommand"); }}; // src/commands/ListConfigsCommand.ts var ListConfigsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("GroundStation", "ListConfigs", {}).n("GroundStationClient", "ListConfigsCommand").f(void 0, void 0).ser(se_ListConfigsCommand).de(de_ListConfigsCommand).build() { static { __name(this, "ListConfigsCommand"); }}; // src/commands/ListContactsCommand.ts var ListContactsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("GroundStation", "ListContacts", {}).n("GroundStationClient", "ListContactsCommand").f(void 0, void 0).ser(se_ListContactsCommand).de(de_ListContactsCommand).build() { static { __name(this, "ListContactsCommand"); }}; // src/commands/ListDataflowEndpointGroupsCommand.ts var ListDataflowEndpointGroupsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("GroundStation", "ListDataflowEndpointGroups", {}).n("GroundStationClient", "ListDataflowEndpointGroupsCommand").f(void 0, void 0).ser(se_ListDataflowEndpointGroupsCommand).de(de_ListDataflowEndpointGroupsCommand).build() { static { __name(this, "ListDataflowEndpointGroupsCommand"); }}; // src/commands/ListEphemeridesCommand.ts var ListEphemeridesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("GroundStation", "ListEphemerides", {}).n("GroundStationClient", "ListEphemeridesCommand").f(void 0, void 0).ser(se_ListEphemeridesCommand).de(de_ListEphemeridesCommand).build() { static { __name(this, "ListEphemeridesCommand"); }}; // src/commands/ListGroundStationsCommand.ts var ListGroundStationsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("GroundStation", "ListGroundStations", {}).n("GroundStationClient", "ListGroundStationsCommand").f(void 0, void 0).ser(se_ListGroundStationsCommand).de(de_ListGroundStationsCommand).build() { static { __name(this, "ListGroundStationsCommand"); }}; // src/commands/ListMissionProfilesCommand.ts var ListMissionProfilesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("GroundStation", "ListMissionProfiles", {}).n("GroundStationClient", "ListMissionProfilesCommand").f(void 0, void 0).ser(se_ListMissionProfilesCommand).de(de_ListMissionProfilesCommand).build() { static { __name(this, "ListMissionProfilesCommand"); }}; // src/commands/ListSatellitesCommand.ts var ListSatellitesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("GroundStation", "ListSatellites", {}).n("GroundStationClient", "ListSatellitesCommand").f(void 0, void 0).ser(se_ListSatellitesCommand).de(de_ListSatellitesCommand).build() { static { __name(this, "ListSatellitesCommand"); }}; // src/commands/ListTagsForResourceCommand.ts var ListTagsForResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("GroundStation", "ListTagsForResource", {}).n("GroundStationClient", "ListTagsForResourceCommand").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() { static { __name(this, "ListTagsForResourceCommand"); }}; // src/commands/RegisterAgentCommand.ts var RegisterAgentCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("GroundStation", "RegisterAgent", {}).n("GroundStationClient", "RegisterAgentCommand").f(void 0, void 0).ser(se_RegisterAgentCommand).de(de_RegisterAgentCommand).build() { static { __name(this, "RegisterAgentCommand"); }}; // src/commands/ReserveContactCommand.ts var ReserveContactCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("GroundStation", "ReserveContact", {}).n("GroundStationClient", "ReserveContactCommand").f(void 0, void 0).ser(se_ReserveContactCommand).de(de_ReserveContactCommand).build() { static { __name(this, "ReserveContactCommand"); }}; // src/commands/TagResourceCommand.ts var TagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("GroundStation", "TagResource", {}).n("GroundStationClient", "TagResourceCommand").f(void 0, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() { static { __name(this, "TagResourceCommand"); }}; // src/commands/UntagResourceCommand.ts var UntagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("GroundStation", "UntagResource", {}).n("GroundStationClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() { static { __name(this, "UntagResourceCommand"); }}; // src/commands/UpdateAgentStatusCommand.ts var UpdateAgentStatusCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("GroundStation", "UpdateAgentStatus", {}).n("GroundStationClient", "UpdateAgentStatusCommand").f(void 0, void 0).ser(se_UpdateAgentStatusCommand).de(de_UpdateAgentStatusCommand).build() { static { __name(this, "UpdateAgentStatusCommand"); }}; // src/commands/UpdateConfigCommand.ts var UpdateConfigCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("GroundStation", "UpdateConfig", {}).n("GroundStationClient", "UpdateConfigCommand").f(void 0, void 0).ser(se_UpdateConfigCommand).de(de_UpdateConfigCommand).build() { static { __name(this, "UpdateConfigCommand"); }}; // src/commands/UpdateEphemerisCommand.ts var UpdateEphemerisCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("GroundStation", "UpdateEphemeris", {}).n("GroundStationClient", "UpdateEphemerisCommand").f(void 0, void 0).ser(se_UpdateEphemerisCommand).de(de_UpdateEphemerisCommand).build() { static { __name(this, "UpdateEphemerisCommand"); }}; // src/commands/UpdateMissionProfileCommand.ts var UpdateMissionProfileCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("GroundStation", "UpdateMissionProfile", {}).n("GroundStationClient", "UpdateMissionProfileCommand").f(void 0, void 0).ser(se_UpdateMissionProfileCommand).de(de_UpdateMissionProfileCommand).build() { static { __name(this, "UpdateMissionProfileCommand"); }}; // src/GroundStation.tsvar commands = { CancelContactCommand, CreateConfigCommand, CreateDataflowEndpointGroupCommand, CreateEphemerisCommand, CreateMissionProfileCommand, DeleteConfigCommand, DeleteDataflowEndpointGroupCommand, DeleteEphemerisCommand, DeleteMissionProfileCommand, DescribeContactCommand, DescribeEphemerisCommand, GetAgentConfigurationCommand, GetConfigCommand, GetDataflowEndpointGroupCommand, GetMinuteUsageCommand, GetMissionProfileCommand, GetSatelliteCommand, ListConfigsCommand, ListContactsCommand, ListDataflowEndpointGroupsCommand, ListEphemeridesCommand, ListGroundStationsCommand, ListMissionProfilesCommand, ListSatellitesCommand, ListTagsForResourceCommand, RegisterAgentCommand, ReserveContactCommand, TagResourceCommand, UntagResourceCommand, UpdateAgentStatusCommand, UpdateConfigCommand, UpdateEphemerisCommand, UpdateMissionProfileCommand};var GroundStation = class extends GroundStationClient { static { __name(this, "GroundStation"); }};(0, import_smithy_client.createAggregatedClient)(commands, GroundStation); // src/pagination/ListConfigsPaginator.ts var paginateListConfigs = (0, import_core.createPaginator)(GroundStationClient, ListConfigsCommand, "nextToken", "nextToken", "maxResults"); // src/pagination/ListContactsPaginator.ts var paginateListContacts = (0, import_core.createPaginator)(GroundStationClient, ListContactsCommand, "nextToken", "nextToken", "maxResults"); // src/pagination/ListDataflowEndpointGroupsPaginator.ts var paginateListDataflowEndpointGroups = (0, import_core.createPaginator)(GroundStationClient, ListDataflowEndpointGroupsCommand, "nextToken", "nextToken", "maxResults"); // src/pagination/ListEphemeridesPaginator.ts var paginateListEphemerides = (0, import_core.createPaginator)(GroundStationClient, ListEphemeridesCommand, "nextToken", "nextToken", "maxResults"); // src/pagination/ListGroundStationsPaginator.ts var paginateListGroundStations = (0, import_core.createPaginator)(GroundStationClient, ListGroundStationsCommand, "nextToken", "nextToken", "maxResults"); // src/pagination/ListMissionProfilesPaginator.ts var paginateListMissionProfiles = (0, import_core.createPaginator)(GroundStationClient, ListMissionProfilesCommand, "nextToken", "nextToken", "maxResults"); // src/pagination/ListSatellitesPaginator.ts var paginateListSatellites = (0, import_core.createPaginator)(GroundStationClient, ListSatellitesCommand, "nextToken", "nextToken", "maxResults"); // src/waiters/waitForContactScheduled.tsvar import_util_waiter = require("@smithy/util-waiter");var checkState = /* @__PURE__ */ __name(async (client, input) => { let reason; try { const result = await client.send(new DescribeContactCommand(input)); reason = result; try { const returnComparator = /* @__PURE__ */ __name(() => { return result.contactStatus; }, "returnComparator"); if (returnComparator() === "FAILED_TO_SCHEDULE") { return { state: import_util_waiter.WaiterState.FAILURE, reason }; } } catch (e) { } try { const returnComparator = /* @__PURE__ */ __name(() => { return result.contactStatus; }, "returnComparator"); if (returnComparator() === "SCHEDULED") { return { state: import_util_waiter.WaiterState.SUCCESS, reason }; } } catch (e) { } } catch (exception) { reason = exception; } return { state: import_util_waiter.WaiterState.RETRY, reason };}, "checkState");var waitForContactScheduled = /* @__PURE__ */ __name(async (params, input) => { const serviceDefaults = { minDelay: 5, maxDelay: 900 }; return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);}, "waitForContactScheduled");var waitUntilContactScheduled = /* @__PURE__ */ __name(async (params, input) => { const serviceDefaults = { minDelay: 5, maxDelay: 900 }; const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState); return (0, import_util_waiter.checkExceptions)(result);}, "waitUntilContactScheduled");// Annotate the CommonJS export names for ESM import in node: 0 && (module.exports = { GroundStationServiceException, __Client, GroundStationClient, GroundStation, $Command, CancelContactCommand, CreateConfigCommand, CreateDataflowEndpointGroupCommand, CreateEphemerisCommand, CreateMissionProfileCommand, DeleteConfigCommand, DeleteDataflowEndpointGroupCommand, DeleteEphemerisCommand, DeleteMissionProfileCommand, DescribeContactCommand, DescribeEphemerisCommand, GetAgentConfigurationCommand, GetConfigCommand, GetDataflowEndpointGroupCommand, GetMinuteUsageCommand, GetMissionProfileCommand, GetSatelliteCommand, ListConfigsCommand, ListContactsCommand, ListDataflowEndpointGroupsCommand, ListEphemeridesCommand, ListGroundStationsCommand, ListMissionProfilesCommand, ListSatellitesCommand, ListTagsForResourceCommand, RegisterAgentCommand, ReserveContactCommand, TagResourceCommand, UntagResourceCommand, UpdateAgentStatusCommand, UpdateConfigCommand, UpdateEphemerisCommand, UpdateMissionProfileCommand, paginateListConfigs, paginateListContacts, paginateListDataflowEndpointGroups, paginateListEphemerides, paginateListGroundStations, paginateListMissionProfiles, paginateListSatellites, waitForContactScheduled, waitUntilContactScheduled, DependencyException, InvalidParameterException, ResourceNotFoundException, AgentStatus, AngleUnits, BandwidthUnits, FrequencyUnits, Polarization, EirpUnits, AuditResults, CapabilityHealth, CapabilityHealthReason, ConfigCapabilityType, Criticality, ConfigTypeData, ResourceLimitExceededException, EndpointStatus, ConfigDetails, ContactStatus, EphemerisData, KmsKey, EphemerisInvalidReason, EphemerisStatus, EphemerisTypeDescription, EphemerisSource});