File Explorer

/proc/self/root/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 /.

index.js37.9 KB · 1032 lines
'use strict'; var client$1 = require('@aws-sdk/core/client');var core = require('@smithy/core');var client = require('@smithy/core/client');var config = require('@smithy/core/config');var endpoints = require('@smithy/core/endpoints');var protocols = require('@smithy/core/protocols');var retry = require('@smithy/core/retry');var schema = require('@smithy/core/schema');var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');var runtimeConfig = require('./runtimeConfig');var schemas_0 = require('./schemas/schemas_0');var errors = require('./models/errors');var GroundStationServiceException = require('./models/GroundStationServiceException'); const resolveClientEndpointParameters = (options) => {    return Object.assign(options, {        useDualstackEndpoint: options.useDualstackEndpoint ?? false,        useFipsEndpoint: options.useFipsEndpoint ?? false,        defaultSigningName: "groundstation",    });};const commonParams = {    UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },    Endpoint: { type: "builtInParams", name: "endpoint" },    Region: { type: "builtInParams", name: "region" },    UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },}; const getHttpAuthExtensionConfiguration = (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;        },    };};const resolveHttpAuthRuntimeConfig = (config) => {    return {        httpAuthSchemes: config.httpAuthSchemes(),        httpAuthSchemeProvider: config.httpAuthSchemeProvider(),        credentials: config.credentials(),    };}; const resolveRuntimeExtensions = (runtimeConfig, extensions) => {    const extensionConfiguration = Object.assign(client$1.getAwsRegionExtensionConfiguration(runtimeConfig), client.getDefaultExtensionConfiguration(runtimeConfig), protocols.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));    extensions.forEach((extension) => extension.configure(extensionConfiguration));    return Object.assign(runtimeConfig, client$1.resolveAwsRegionExtensionConfiguration(extensionConfiguration), client.resolveDefaultRuntimeConfig(extensionConfiguration), protocols.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));}; class GroundStationClient extends client.Client {    config;    constructor(...[configuration]) {        const _config_0 = runtimeConfig.getRuntimeConfig(configuration || {});        super(_config_0);        this.initConfig = _config_0;        const _config_1 = resolveClientEndpointParameters(_config_0);        const _config_2 = client$1.resolveUserAgentConfig(_config_1);        const _config_3 = retry.resolveRetryConfig(_config_2);        const _config_4 = config.resolveRegionConfig(_config_3);        const _config_5 = client$1.resolveHostHeaderConfig(_config_4);        const _config_6 = endpoints.resolveEndpointConfig(_config_5);        const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);        const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);        this.config = _config_8;        this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));        this.middlewareStack.use(client$1.getUserAgentPlugin(this.config));        this.middlewareStack.use(retry.getRetryPlugin(this.config));        this.middlewareStack.use(protocols.getContentLengthPlugin(this.config));        this.middlewareStack.use(client$1.getHostHeaderPlugin(this.config));        this.middlewareStack.use(client$1.getLoggerPlugin(this.config));        this.middlewareStack.use(client$1.getRecursionDetectionPlugin(this.config));        this.middlewareStack.use(core.getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {            httpAuthSchemeParametersProvider: httpAuthSchemeProvider.defaultGroundStationHttpAuthSchemeParametersProvider,            identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({                "aws.auth#sigv4": config.credentials,            }),        }));        this.middlewareStack.use(core.getHttpSigningPlugin(this.config));    }    destroy() {        super.destroy();    }} class CancelContactCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("GroundStation", "CancelContact", {})    .n("GroundStationClient", "CancelContactCommand")    .sc(schemas_0.CancelContact$)    .build() {} class CreateConfigCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("GroundStation", "CreateConfig", {})    .n("GroundStationClient", "CreateConfigCommand")    .sc(schemas_0.CreateConfig$)    .build() {} class CreateDataflowEndpointGroupCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("GroundStation", "CreateDataflowEndpointGroup", {})    .n("GroundStationClient", "CreateDataflowEndpointGroupCommand")    .sc(schemas_0.CreateDataflowEndpointGroup$)    .build() {} class CreateDataflowEndpointGroupV2Command extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("GroundStation", "CreateDataflowEndpointGroupV2", {})    .n("GroundStationClient", "CreateDataflowEndpointGroupV2Command")    .sc(schemas_0.CreateDataflowEndpointGroupV2$)    .build() {} class CreateEphemerisCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("GroundStation", "CreateEphemeris", {})    .n("GroundStationClient", "CreateEphemerisCommand")    .sc(schemas_0.CreateEphemeris$)    .build() {} class CreateMissionProfileCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("GroundStation", "CreateMissionProfile", {})    .n("GroundStationClient", "CreateMissionProfileCommand")    .sc(schemas_0.CreateMissionProfile$)    .build() {} class DeleteConfigCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("GroundStation", "DeleteConfig", {})    .n("GroundStationClient", "DeleteConfigCommand")    .sc(schemas_0.DeleteConfig$)    .build() {} class DeleteDataflowEndpointGroupCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("GroundStation", "DeleteDataflowEndpointGroup", {})    .n("GroundStationClient", "DeleteDataflowEndpointGroupCommand")    .sc(schemas_0.DeleteDataflowEndpointGroup$)    .build() {} class DeleteEphemerisCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("GroundStation", "DeleteEphemeris", {})    .n("GroundStationClient", "DeleteEphemerisCommand")    .sc(schemas_0.DeleteEphemeris$)    .build() {} class DeleteMissionProfileCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("GroundStation", "DeleteMissionProfile", {})    .n("GroundStationClient", "DeleteMissionProfileCommand")    .sc(schemas_0.DeleteMissionProfile$)    .build() {} class DescribeContactCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("GroundStation", "DescribeContact", {})    .n("GroundStationClient", "DescribeContactCommand")    .sc(schemas_0.DescribeContact$)    .build() {} class DescribeContactVersionCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("GroundStation", "DescribeContactVersion", {})    .n("GroundStationClient", "DescribeContactVersionCommand")    .sc(schemas_0.DescribeContactVersion$)    .build() {} class DescribeEphemerisCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("GroundStation", "DescribeEphemeris", {})    .n("GroundStationClient", "DescribeEphemerisCommand")    .sc(schemas_0.DescribeEphemeris$)    .build() {} class GetAgentConfigurationCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("GroundStation", "GetAgentConfiguration", {})    .n("GroundStationClient", "GetAgentConfigurationCommand")    .sc(schemas_0.GetAgentConfiguration$)    .build() {} class GetAgentTaskResponseUrlCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("GroundStation", "GetAgentTaskResponseUrl", {})    .n("GroundStationClient", "GetAgentTaskResponseUrlCommand")    .sc(schemas_0.GetAgentTaskResponseUrl$)    .build() {} class GetConfigCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("GroundStation", "GetConfig", {})    .n("GroundStationClient", "GetConfigCommand")    .sc(schemas_0.GetConfig$)    .build() {} class GetDataflowEndpointGroupCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("GroundStation", "GetDataflowEndpointGroup", {})    .n("GroundStationClient", "GetDataflowEndpointGroupCommand")    .sc(schemas_0.GetDataflowEndpointGroup$)    .build() {} class GetMinuteUsageCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("GroundStation", "GetMinuteUsage", {})    .n("GroundStationClient", "GetMinuteUsageCommand")    .sc(schemas_0.GetMinuteUsage$)    .build() {} class GetMissionProfileCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("GroundStation", "GetMissionProfile", {})    .n("GroundStationClient", "GetMissionProfileCommand")    .sc(schemas_0.GetMissionProfile$)    .build() {} class GetSatelliteCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("GroundStation", "GetSatellite", {})    .n("GroundStationClient", "GetSatelliteCommand")    .sc(schemas_0.GetSatellite$)    .build() {} class ListAntennasCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("GroundStation", "ListAntennas", {})    .n("GroundStationClient", "ListAntennasCommand")    .sc(schemas_0.ListAntennas$)    .build() {} class ListConfigsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("GroundStation", "ListConfigs", {})    .n("GroundStationClient", "ListConfigsCommand")    .sc(schemas_0.ListConfigs$)    .build() {} class ListContactsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("GroundStation", "ListContacts", {})    .n("GroundStationClient", "ListContactsCommand")    .sc(schemas_0.ListContacts$)    .build() {} class ListContactVersionsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("GroundStation", "ListContactVersions", {})    .n("GroundStationClient", "ListContactVersionsCommand")    .sc(schemas_0.ListContactVersions$)    .build() {} class ListDataflowEndpointGroupsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("GroundStation", "ListDataflowEndpointGroups", {})    .n("GroundStationClient", "ListDataflowEndpointGroupsCommand")    .sc(schemas_0.ListDataflowEndpointGroups$)    .build() {} class ListEphemeridesCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("GroundStation", "ListEphemerides", {})    .n("GroundStationClient", "ListEphemeridesCommand")    .sc(schemas_0.ListEphemerides$)    .build() {} class ListGroundStationReservationsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("GroundStation", "ListGroundStationReservations", {})    .n("GroundStationClient", "ListGroundStationReservationsCommand")    .sc(schemas_0.ListGroundStationReservations$)    .build() {} class ListGroundStationsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("GroundStation", "ListGroundStations", {})    .n("GroundStationClient", "ListGroundStationsCommand")    .sc(schemas_0.ListGroundStations$)    .build() {} class ListMissionProfilesCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("GroundStation", "ListMissionProfiles", {})    .n("GroundStationClient", "ListMissionProfilesCommand")    .sc(schemas_0.ListMissionProfiles$)    .build() {} class ListSatellitesCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("GroundStation", "ListSatellites", {})    .n("GroundStationClient", "ListSatellitesCommand")    .sc(schemas_0.ListSatellites$)    .build() {} class ListTagsForResourceCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("GroundStation", "ListTagsForResource", {})    .n("GroundStationClient", "ListTagsForResourceCommand")    .sc(schemas_0.ListTagsForResource$)    .build() {} class RegisterAgentCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("GroundStation", "RegisterAgent", {})    .n("GroundStationClient", "RegisterAgentCommand")    .sc(schemas_0.RegisterAgent$)    .build() {} class ReserveContactCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("GroundStation", "ReserveContact", {})    .n("GroundStationClient", "ReserveContactCommand")    .sc(schemas_0.ReserveContact$)    .build() {} class TagResourceCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("GroundStation", "TagResource", {})    .n("GroundStationClient", "TagResourceCommand")    .sc(schemas_0.TagResource$)    .build() {} class UntagResourceCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("GroundStation", "UntagResource", {})    .n("GroundStationClient", "UntagResourceCommand")    .sc(schemas_0.UntagResource$)    .build() {} class UpdateAgentStatusCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("GroundStation", "UpdateAgentStatus", {})    .n("GroundStationClient", "UpdateAgentStatusCommand")    .sc(schemas_0.UpdateAgentStatus$)    .build() {} class UpdateConfigCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("GroundStation", "UpdateConfig", {})    .n("GroundStationClient", "UpdateConfigCommand")    .sc(schemas_0.UpdateConfig$)    .build() {} class UpdateContactCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("GroundStation", "UpdateContact", {})    .n("GroundStationClient", "UpdateContactCommand")    .sc(schemas_0.UpdateContact$)    .build() {} class UpdateEphemerisCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("GroundStation", "UpdateEphemeris", {})    .n("GroundStationClient", "UpdateEphemerisCommand")    .sc(schemas_0.UpdateEphemeris$)    .build() {} class UpdateMissionProfileCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("GroundStation", "UpdateMissionProfile", {})    .n("GroundStationClient", "UpdateMissionProfileCommand")    .sc(schemas_0.UpdateMissionProfile$)    .build() {} const paginateListAntennas = core.createPaginator(GroundStationClient, ListAntennasCommand, "nextToken", "nextToken", "maxResults"); const paginateListConfigs = core.createPaginator(GroundStationClient, ListConfigsCommand, "nextToken", "nextToken", "maxResults"); const paginateListContacts = core.createPaginator(GroundStationClient, ListContactsCommand, "nextToken", "nextToken", "maxResults"); const paginateListContactVersions = core.createPaginator(GroundStationClient, ListContactVersionsCommand, "nextToken", "nextToken", "maxResults"); const paginateListDataflowEndpointGroups = core.createPaginator(GroundStationClient, ListDataflowEndpointGroupsCommand, "nextToken", "nextToken", "maxResults"); const paginateListEphemerides = core.createPaginator(GroundStationClient, ListEphemeridesCommand, "nextToken", "nextToken", "maxResults"); const paginateListGroundStationReservations = core.createPaginator(GroundStationClient, ListGroundStationReservationsCommand, "nextToken", "nextToken", "maxResults"); const paginateListGroundStations = core.createPaginator(GroundStationClient, ListGroundStationsCommand, "nextToken", "nextToken", "maxResults"); const paginateListMissionProfiles = core.createPaginator(GroundStationClient, ListMissionProfilesCommand, "nextToken", "nextToken", "maxResults"); const paginateListSatellites = core.createPaginator(GroundStationClient, ListSatellitesCommand, "nextToken", "nextToken", "maxResults"); const checkState$1 = async (client$1, input) => {    let reason;    try {        let result = await client$1.send(new DescribeContactCommand(input));        reason = result;        try {            const returnComparator = () => {                return result.contactStatus;            };            if (returnComparator() === "FAILED_TO_SCHEDULE") {                return { state: client.WaiterState.FAILURE, reason };            }        }        catch (e) { }        try {            const returnComparator = () => {                return result.contactStatus;            };            if (returnComparator() === "SCHEDULED") {                return { state: client.WaiterState.SUCCESS, reason };            }        }        catch (e) { }    }    catch (exception) {        reason = exception;    }    return { state: client.WaiterState.RETRY, reason };};const waitForContactScheduled = async (params, input) => {    const serviceDefaults = { minDelay: 5, maxDelay: 900 };    return client.createWaiter({ ...serviceDefaults, ...params }, input, checkState$1);};const waitUntilContactScheduled = async (params, input) => {    const serviceDefaults = { minDelay: 5, maxDelay: 900 };    const result = await client.createWaiter({ ...serviceDefaults, ...params }, input, checkState$1);    return client.checkExceptions(result);}; const checkState = async (client$1, input) => {    let reason;    try {        let result = await client$1.send(new DescribeContactVersionCommand(input));        reason = result;        try {            const returnComparator = () => {                return result.version.status;            };            if (returnComparator() === "FAILED_TO_UPDATE") {                return { state: client.WaiterState.FAILURE, reason };            }        }        catch (e) { }        try {            const returnComparator = () => {                return result.version.status;            };            if (returnComparator() === "ACTIVE") {                return { state: client.WaiterState.SUCCESS, reason };            }        }        catch (e) { }    }    catch (exception) {        reason = exception;    }    return { state: client.WaiterState.RETRY, reason };};const waitForContactUpdated = async (params, input) => {    const serviceDefaults = { minDelay: 5, maxDelay: 900 };    return client.createWaiter({ ...serviceDefaults, ...params }, input, checkState);};const waitUntilContactUpdated = async (params, input) => {    const serviceDefaults = { minDelay: 5, maxDelay: 900 };    const result = await client.createWaiter({ ...serviceDefaults, ...params }, input, checkState);    return client.checkExceptions(result);}; const commands = {    CancelContactCommand,    CreateConfigCommand,    CreateDataflowEndpointGroupCommand,    CreateDataflowEndpointGroupV2Command,    CreateEphemerisCommand,    CreateMissionProfileCommand,    DeleteConfigCommand,    DeleteDataflowEndpointGroupCommand,    DeleteEphemerisCommand,    DeleteMissionProfileCommand,    DescribeContactCommand,    DescribeContactVersionCommand,    DescribeEphemerisCommand,    GetAgentConfigurationCommand,    GetAgentTaskResponseUrlCommand,    GetConfigCommand,    GetDataflowEndpointGroupCommand,    GetMinuteUsageCommand,    GetMissionProfileCommand,    GetSatelliteCommand,    ListAntennasCommand,    ListConfigsCommand,    ListContactsCommand,    ListContactVersionsCommand,    ListDataflowEndpointGroupsCommand,    ListEphemeridesCommand,    ListGroundStationReservationsCommand,    ListGroundStationsCommand,    ListMissionProfilesCommand,    ListSatellitesCommand,    ListTagsForResourceCommand,    RegisterAgentCommand,    ReserveContactCommand,    TagResourceCommand,    UntagResourceCommand,    UpdateAgentStatusCommand,    UpdateConfigCommand,    UpdateContactCommand,    UpdateEphemerisCommand,    UpdateMissionProfileCommand,};const paginators = {    paginateListAntennas,    paginateListConfigs,    paginateListContacts,    paginateListContactVersions,    paginateListDataflowEndpointGroups,    paginateListEphemerides,    paginateListGroundStationReservations,    paginateListGroundStations,    paginateListMissionProfiles,    paginateListSatellites,};const waiters = {    waitUntilContactScheduled,    waitUntilContactUpdated,};class GroundStation extends GroundStationClient {}client.createAggregatedClient(commands, GroundStation, { paginators, waiters }); const AgentStatus = {    ACTIVE: "ACTIVE",    FAILED: "FAILED",    INACTIVE: "INACTIVE",    SUCCESS: "SUCCESS",};const AngleUnits = {    DEGREE_ANGLE: "DEGREE_ANGLE",    RADIAN: "RADIAN",};const BandwidthUnits = {    GHZ: "GHz",    KHZ: "kHz",    MHZ: "MHz",};const FrequencyUnits = {    GHZ: "GHz",    KHZ: "kHz",    MHZ: "MHz",};const Polarization = {    LEFT_HAND: "LEFT_HAND",    NONE: "NONE",    RIGHT_HAND: "RIGHT_HAND",};const EirpUnits = {    DBW: "dBW",};const AuditResults = {    HEALTHY: "HEALTHY",    UNHEALTHY: "UNHEALTHY",};const CapabilityHealth = {    HEALTHY: "HEALTHY",    UNHEALTHY: "UNHEALTHY",};const 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",};const 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",    TELEMETRY_SINK: "telemetry-sink",    TRACKING: "tracking",    UPLINK_ECHO: "uplink-echo",};const TelemetrySinkType = {    KINESIS_DATA_STREAM: "KINESIS_DATA_STREAM",};const Criticality = {    PREFERRED: "PREFERRED",    REMOVED: "REMOVED",    REQUIRED: "REQUIRED",};const EndpointStatus = {    created: "created",    creating: "creating",    deleted: "deleted",    deleting: "deleting",    failed: "failed",};const 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",};const EphemerisType = {    AZ_EL: "AZ_EL",    OEM: "OEM",    SERVICE_MANAGED: "SERVICE_MANAGED",    TLE: "TLE",};const VersionFailureReasonCode = {    AZEL_EPHEMERIS_INVALID_STATUS: "AZEL_EPHEMERIS_INVALID_STATUS",    AZEL_EPHEMERIS_NOT_FOUND: "AZEL_EPHEMERIS_NOT_FOUND",    AZEL_EPHEMERIS_TIME_RANGE_INVALID: "AZEL_EPHEMERIS_TIME_RANGE_INVALID",    AZEL_EPHEMERIS_WRONG_GROUND_STATION: "AZEL_EPHEMERIS_WRONG_GROUND_STATION",    EPHEMERIS_NOT_ENABLED: "EPHEMERIS_NOT_ENABLED",    EPHEMERIS_NOT_FOUND: "EPHEMERIS_NOT_FOUND",    EPHEMERIS_TIME_RANGE_INVALID: "EPHEMERIS_TIME_RANGE_INVALID",    INTERNAL_ERROR: "INTERNAL_ERROR",    INVALID_SATELLITE_ARN: "INVALID_SATELLITE_ARN",    INVALID_UPDATE_CONTACT_REQUEST: "INVALID_UPDATE_CONTACT_REQUEST",    NOT_ONBOARDED_TO_AZEL_EPHEMERIS: "NOT_ONBOARDED_TO_AZEL_EPHEMERIS",    SATELLITE_DOES_NOT_MATCH_EPHEMERIS: "SATELLITE_DOES_NOT_MATCH_EPHEMERIS",};const VersionStatus = {    ACTIVE: "ACTIVE",    FAILED_TO_UPDATE: "FAILED_TO_UPDATE",    SUPERSEDED: "SUPERSEDED",    UPDATING: "UPDATING",};const EphemerisErrorCode = {    AZ_EL_SEGMENTS_OUT_OF_ORDER: "AZ_EL_SEGMENTS_OUT_OF_ORDER",    AZ_EL_SEGMENT_END_TIME_BEFORE_START_TIME: "AZ_EL_SEGMENT_END_TIME_BEFORE_START_TIME",    AZ_EL_SEGMENT_END_TIME_INVALID: "AZ_EL_SEGMENT_END_TIME_INVALID",    AZ_EL_SEGMENT_END_TIME_TOO_LATE: "AZ_EL_SEGMENT_END_TIME_TOO_LATE",    AZ_EL_SEGMENT_LIST_MISSING: "AZ_EL_SEGMENT_LIST_MISSING",    AZ_EL_SEGMENT_REFERENCE_EPOCH_INVALID: "AZ_EL_SEGMENT_REFERENCE_EPOCH_INVALID",    AZ_EL_SEGMENT_START_TIME_INVALID: "AZ_EL_SEGMENT_START_TIME_INVALID",    AZ_EL_SEGMENT_TIMES_OVERLAP: "AZ_EL_SEGMENT_TIMES_OVERLAP",    AZ_EL_SEGMENT_VALID_TIME_RANGE_INVALID: "AZ_EL_SEGMENT_VALID_TIME_RANGE_INVALID",    AZ_EL_TOTAL_DURATION_EXCEEDED: "AZ_EL_TOTAL_DURATION_EXCEEDED",    CENTER_BODY_UNSUPPORTED: "CENTER_BODY_UNSUPPORTED",    CREATION_DATE_MISSING: "CREATION_DATE_MISSING",    END_TIME_IN_PAST: "END_TIME_IN_PAST",    EXPIRATION_TIME_TOO_EARLY: "EXPIRATION_TIME_TOO_EARLY",    FILE_FORMAT_INVALID: "FILE_FORMAT_INVALID",    INSUFFICIENT_KMS_PERMISSIONS: "INSUFFICIENT_KMS_PERMISSIONS",    INSUFFICIENT_TIME_AZ_EL: "INSUFFICIENT_TIME_AZ_EL",    INTERNAL_ERROR: "INTERNAL_ERROR",    INTERPOLATION_DEGREE_INVALID: "INTERPOLATION_DEGREE_INVALID",    INTERPOLATION_MISSING: "INTERPOLATION_MISSING",    MEAN_MOTION_INVALID: "MEAN_MOTION_INVALID",    MISMATCHED_SATCAT_ID: "MISMATCHED_SATCAT_ID",    OBJECT_ID_MISSING: "OBJECT_ID_MISSING",    OBJECT_NAME_MISSING: "OBJECT_NAME_MISSING",    OEM_VERSION_UNSUPPORTED: "OEM_VERSION_UNSUPPORTED",    ORIGINATOR_MISSING: "ORIGINATOR_MISSING",    REF_FRAME_EPOCH_UNSUPPORTED: "REF_FRAME_EPOCH_UNSUPPORTED",    REF_FRAME_UNSUPPORTED: "REF_FRAME_UNSUPPORTED",    START_TIME_IN_FUTURE: "START_TIME_IN_FUTURE",    START_TIME_METADATA_TOO_EARLY: "START_TIME_METADATA_TOO_EARLY",    STOP_TIME_METADATA_TOO_LATE: "STOP_TIME_METADATA_TOO_LATE",    TIME_AZ_EL_ANGLE_UNITS_INVALID: "TIME_AZ_EL_ANGLE_UNITS_INVALID",    TIME_AZ_EL_AZ_DEGREE_RANGE_INVALID: "TIME_AZ_EL_AZ_DEGREE_RANGE_INVALID",    TIME_AZ_EL_AZ_RADIAN_RANGE_INVALID: "TIME_AZ_EL_AZ_RADIAN_RANGE_INVALID",    TIME_AZ_EL_EL_DEGREE_RANGE_INVALID: "TIME_AZ_EL_EL_DEGREE_RANGE_INVALID",    TIME_AZ_EL_EL_RADIAN_RANGE_INVALID: "TIME_AZ_EL_EL_RADIAN_RANGE_INVALID",    TIME_AZ_EL_ITEMS_OUT_OF_ORDER: "TIME_AZ_EL_ITEMS_OUT_OF_ORDER",    TIME_SYSTEM_UNSUPPORTED: "TIME_SYSTEM_UNSUPPORTED",};const EphemerisInvalidReason = {    KMS_KEY_INVALID: "KMS_KEY_INVALID",    METADATA_INVALID: "METADATA_INVALID",    TIME_RANGE_INVALID: "TIME_RANGE_INVALID",    TRAJECTORY_INVALID: "TRAJECTORY_INVALID",    VALIDATION_ERROR: "VALIDATION_ERROR",};const EphemerisStatus = {    DISABLED: "DISABLED",    ENABLED: "ENABLED",    ERROR: "ERROR",    EXPIRED: "EXPIRED",    INVALID: "INVALID",    VALIDATING: "VALIDATING",};const EphemerisSource = {    CUSTOMER_PROVIDED: "CUSTOMER_PROVIDED",    SPACE_TRACK: "SPACE_TRACK",};const ReservationType = {    CONTACT: "CONTACT",    MAINTENANCE: "MAINTENANCE",};const MaintenanceType = {    PLANNED: "PLANNED",    UNPLANNED: "UNPLANNED",}; exports.$Command = client.Command;exports.__Client = client.Client;exports.GroundStationServiceException = GroundStationServiceException.GroundStationServiceException;exports.AgentStatus = AgentStatus;exports.AngleUnits = AngleUnits;exports.AuditResults = AuditResults;exports.BandwidthUnits = BandwidthUnits;exports.CancelContactCommand = CancelContactCommand;exports.CapabilityHealth = CapabilityHealth;exports.CapabilityHealthReason = CapabilityHealthReason;exports.ConfigCapabilityType = ConfigCapabilityType;exports.ContactStatus = ContactStatus;exports.CreateConfigCommand = CreateConfigCommand;exports.CreateDataflowEndpointGroupCommand = CreateDataflowEndpointGroupCommand;exports.CreateDataflowEndpointGroupV2Command = CreateDataflowEndpointGroupV2Command;exports.CreateEphemerisCommand = CreateEphemerisCommand;exports.CreateMissionProfileCommand = CreateMissionProfileCommand;exports.Criticality = Criticality;exports.DeleteConfigCommand = DeleteConfigCommand;exports.DeleteDataflowEndpointGroupCommand = DeleteDataflowEndpointGroupCommand;exports.DeleteEphemerisCommand = DeleteEphemerisCommand;exports.DeleteMissionProfileCommand = DeleteMissionProfileCommand;exports.DescribeContactCommand = DescribeContactCommand;exports.DescribeContactVersionCommand = DescribeContactVersionCommand;exports.DescribeEphemerisCommand = DescribeEphemerisCommand;exports.EirpUnits = EirpUnits;exports.EndpointStatus = EndpointStatus;exports.EphemerisErrorCode = EphemerisErrorCode;exports.EphemerisInvalidReason = EphemerisInvalidReason;exports.EphemerisSource = EphemerisSource;exports.EphemerisStatus = EphemerisStatus;exports.EphemerisType = EphemerisType;exports.FrequencyUnits = FrequencyUnits;exports.GetAgentConfigurationCommand = GetAgentConfigurationCommand;exports.GetAgentTaskResponseUrlCommand = GetAgentTaskResponseUrlCommand;exports.GetConfigCommand = GetConfigCommand;exports.GetDataflowEndpointGroupCommand = GetDataflowEndpointGroupCommand;exports.GetMinuteUsageCommand = GetMinuteUsageCommand;exports.GetMissionProfileCommand = GetMissionProfileCommand;exports.GetSatelliteCommand = GetSatelliteCommand;exports.GroundStation = GroundStation;exports.GroundStationClient = GroundStationClient;exports.ListAntennasCommand = ListAntennasCommand;exports.ListConfigsCommand = ListConfigsCommand;exports.ListContactVersionsCommand = ListContactVersionsCommand;exports.ListContactsCommand = ListContactsCommand;exports.ListDataflowEndpointGroupsCommand = ListDataflowEndpointGroupsCommand;exports.ListEphemeridesCommand = ListEphemeridesCommand;exports.ListGroundStationReservationsCommand = ListGroundStationReservationsCommand;exports.ListGroundStationsCommand = ListGroundStationsCommand;exports.ListMissionProfilesCommand = ListMissionProfilesCommand;exports.ListSatellitesCommand = ListSatellitesCommand;exports.ListTagsForResourceCommand = ListTagsForResourceCommand;exports.MaintenanceType = MaintenanceType;exports.Polarization = Polarization;exports.RegisterAgentCommand = RegisterAgentCommand;exports.ReservationType = ReservationType;exports.ReserveContactCommand = ReserveContactCommand;exports.TagResourceCommand = TagResourceCommand;exports.TelemetrySinkType = TelemetrySinkType;exports.UntagResourceCommand = UntagResourceCommand;exports.UpdateAgentStatusCommand = UpdateAgentStatusCommand;exports.UpdateConfigCommand = UpdateConfigCommand;exports.UpdateContactCommand = UpdateContactCommand;exports.UpdateEphemerisCommand = UpdateEphemerisCommand;exports.UpdateMissionProfileCommand = UpdateMissionProfileCommand;exports.VersionFailureReasonCode = VersionFailureReasonCode;exports.VersionStatus = VersionStatus;exports.paginateListAntennas = paginateListAntennas;exports.paginateListConfigs = paginateListConfigs;exports.paginateListContactVersions = paginateListContactVersions;exports.paginateListContacts = paginateListContacts;exports.paginateListDataflowEndpointGroups = paginateListDataflowEndpointGroups;exports.paginateListEphemerides = paginateListEphemerides;exports.paginateListGroundStationReservations = paginateListGroundStationReservations;exports.paginateListGroundStations = paginateListGroundStations;exports.paginateListMissionProfiles = paginateListMissionProfiles;exports.paginateListSatellites = paginateListSatellites;exports.waitForContactScheduled = waitForContactScheduled;exports.waitForContactUpdated = waitForContactUpdated;exports.waitUntilContactScheduled = waitUntilContactScheduled;exports.waitUntilContactUpdated = waitUntilContactUpdated;Object.prototype.hasOwnProperty.call(schemas_0, '__proto__') &&    !Object.prototype.hasOwnProperty.call(exports, '__proto__') &&    Object.defineProperty(exports, '__proto__', {        enumerable: true,        value: schemas_0['__proto__']    }); Object.keys(schemas_0).forEach(function (k) {    if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = schemas_0[k];});Object.prototype.hasOwnProperty.call(errors, '__proto__') &&    !Object.prototype.hasOwnProperty.call(exports, '__proto__') &&    Object.defineProperty(exports, '__proto__', {        enumerable: true,        value: errors['__proto__']    }); Object.keys(errors).forEach(function (k) {    if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = errors[k];});