File Explorer

/proc/self/root/var/runtime/node_modules/@aws-sdk/client-gameliftstreams/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.js29.3 KB · 796 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 GameLiftStreamsServiceException = require('./models/GameLiftStreamsServiceException'); const resolveClientEndpointParameters = (options) => {    return Object.assign(options, {        useFipsEndpoint: options.useFipsEndpoint ?? false,        defaultSigningName: "gameliftstreams",    });};const commonParams = {    UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },    Endpoint: { type: "builtInParams", name: "endpoint" },    Region: { type: "builtInParams", name: "region" },}; 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 GameLiftStreamsClient 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.defaultGameLiftStreamsHttpAuthSchemeParametersProvider,            identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({                "aws.auth#sigv4": config.credentials,            }),        }));        this.middlewareStack.use(core.getHttpSigningPlugin(this.config));    }    destroy() {        super.destroy();    }} class AddStreamGroupLocationsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("GameLiftStreams", "AddStreamGroupLocations", {})    .n("GameLiftStreamsClient", "AddStreamGroupLocationsCommand")    .sc(schemas_0.AddStreamGroupLocations$)    .build() {} class AssociateApplicationsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("GameLiftStreams", "AssociateApplications", {})    .n("GameLiftStreamsClient", "AssociateApplicationsCommand")    .sc(schemas_0.AssociateApplications$)    .build() {} class CreateApplicationCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("GameLiftStreams", "CreateApplication", {})    .n("GameLiftStreamsClient", "CreateApplicationCommand")    .sc(schemas_0.CreateApplication$)    .build() {} class CreateStreamGroupCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("GameLiftStreams", "CreateStreamGroup", {})    .n("GameLiftStreamsClient", "CreateStreamGroupCommand")    .sc(schemas_0.CreateStreamGroup$)    .build() {} class CreateStreamSessionConnectionCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("GameLiftStreams", "CreateStreamSessionConnection", {})    .n("GameLiftStreamsClient", "CreateStreamSessionConnectionCommand")    .sc(schemas_0.CreateStreamSessionConnection$)    .build() {} class DeleteApplicationCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("GameLiftStreams", "DeleteApplication", {})    .n("GameLiftStreamsClient", "DeleteApplicationCommand")    .sc(schemas_0.DeleteApplication$)    .build() {} class DeleteStreamGroupCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("GameLiftStreams", "DeleteStreamGroup", {})    .n("GameLiftStreamsClient", "DeleteStreamGroupCommand")    .sc(schemas_0.DeleteStreamGroup$)    .build() {} class DisassociateApplicationsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("GameLiftStreams", "DisassociateApplications", {})    .n("GameLiftStreamsClient", "DisassociateApplicationsCommand")    .sc(schemas_0.DisassociateApplications$)    .build() {} class ExportStreamSessionFilesCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("GameLiftStreams", "ExportStreamSessionFiles", {})    .n("GameLiftStreamsClient", "ExportStreamSessionFilesCommand")    .sc(schemas_0.ExportStreamSessionFiles$)    .build() {} class GetApplicationCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("GameLiftStreams", "GetApplication", {})    .n("GameLiftStreamsClient", "GetApplicationCommand")    .sc(schemas_0.GetApplication$)    .build() {} class GetStreamGroupCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("GameLiftStreams", "GetStreamGroup", {})    .n("GameLiftStreamsClient", "GetStreamGroupCommand")    .sc(schemas_0.GetStreamGroup$)    .build() {} class GetStreamSessionCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("GameLiftStreams", "GetStreamSession", {})    .n("GameLiftStreamsClient", "GetStreamSessionCommand")    .sc(schemas_0.GetStreamSession$)    .build() {} class ListApplicationsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("GameLiftStreams", "ListApplications", {})    .n("GameLiftStreamsClient", "ListApplicationsCommand")    .sc(schemas_0.ListApplications$)    .build() {} class ListStreamGroupsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("GameLiftStreams", "ListStreamGroups", {})    .n("GameLiftStreamsClient", "ListStreamGroupsCommand")    .sc(schemas_0.ListStreamGroups$)    .build() {} class ListStreamSessionsByAccountCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("GameLiftStreams", "ListStreamSessionsByAccount", {})    .n("GameLiftStreamsClient", "ListStreamSessionsByAccountCommand")    .sc(schemas_0.ListStreamSessionsByAccount$)    .build() {} class ListStreamSessionsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("GameLiftStreams", "ListStreamSessions", {})    .n("GameLiftStreamsClient", "ListStreamSessionsCommand")    .sc(schemas_0.ListStreamSessions$)    .build() {} class ListTagsForResourceCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("GameLiftStreams", "ListTagsForResource", {})    .n("GameLiftStreamsClient", "ListTagsForResourceCommand")    .sc(schemas_0.ListTagsForResource$)    .build() {} class RemoveStreamGroupLocationsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("GameLiftStreams", "RemoveStreamGroupLocations", {})    .n("GameLiftStreamsClient", "RemoveStreamGroupLocationsCommand")    .sc(schemas_0.RemoveStreamGroupLocations$)    .build() {} class StartStreamSessionCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("GameLiftStreams", "StartStreamSession", {})    .n("GameLiftStreamsClient", "StartStreamSessionCommand")    .sc(schemas_0.StartStreamSession$)    .build() {} class TagResourceCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("GameLiftStreams", "TagResource", {})    .n("GameLiftStreamsClient", "TagResourceCommand")    .sc(schemas_0.TagResource$)    .build() {} class TerminateStreamSessionCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("GameLiftStreams", "TerminateStreamSession", {})    .n("GameLiftStreamsClient", "TerminateStreamSessionCommand")    .sc(schemas_0.TerminateStreamSession$)    .build() {} class UntagResourceCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("GameLiftStreams", "UntagResource", {})    .n("GameLiftStreamsClient", "UntagResourceCommand")    .sc(schemas_0.UntagResource$)    .build() {} class UpdateApplicationCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("GameLiftStreams", "UpdateApplication", {})    .n("GameLiftStreamsClient", "UpdateApplicationCommand")    .sc(schemas_0.UpdateApplication$)    .build() {} class UpdateStreamGroupCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("GameLiftStreams", "UpdateStreamGroup", {})    .n("GameLiftStreamsClient", "UpdateStreamGroupCommand")    .sc(schemas_0.UpdateStreamGroup$)    .build() {} const paginateListApplications = core.createPaginator(GameLiftStreamsClient, ListApplicationsCommand, "NextToken", "NextToken", "MaxResults"); const paginateListStreamGroups = core.createPaginator(GameLiftStreamsClient, ListStreamGroupsCommand, "NextToken", "NextToken", "MaxResults"); const paginateListStreamSessionsByAccount = core.createPaginator(GameLiftStreamsClient, ListStreamSessionsByAccountCommand, "NextToken", "NextToken", "MaxResults"); const paginateListStreamSessions = core.createPaginator(GameLiftStreamsClient, ListStreamSessionsCommand, "NextToken", "NextToken", "MaxResults"); const checkState$4 = async (client$1, input) => {    let reason;    try {        let result = await client$1.send(new GetApplicationCommand(input));        reason = result;    }    catch (exception) {        reason = exception;        if (exception.name === "ResourceNotFoundException") {            return { state: client.WaiterState.SUCCESS, reason };        }    }    return { state: client.WaiterState.RETRY, reason };};const waitForApplicationDeleted = async (params, input) => {    const serviceDefaults = { minDelay: 2, maxDelay: 120 };    return client.createWaiter({ ...serviceDefaults, ...params }, input, checkState$4);};const waitUntilApplicationDeleted = async (params, input) => {    const serviceDefaults = { minDelay: 2, maxDelay: 120 };    const result = await client.createWaiter({ ...serviceDefaults, ...params }, input, checkState$4);    return client.checkExceptions(result);}; const checkState$3 = async (client$1, input) => {    let reason;    try {        let result = await client$1.send(new GetApplicationCommand(input));        reason = result;        try {            const returnComparator = () => {                return result.Status;            };            if (returnComparator() === "READY") {                return { state: client.WaiterState.SUCCESS, reason };            }        }        catch (e) { }        try {            const returnComparator = () => {                return result.Status;            };            if (returnComparator() === "ERROR") {                return { state: client.WaiterState.FAILURE, reason };            }        }        catch (e) { }    }    catch (exception) {        reason = exception;    }    return { state: client.WaiterState.RETRY, reason };};const waitForApplicationReady = async (params, input) => {    const serviceDefaults = { minDelay: 2, maxDelay: 120 };    return client.createWaiter({ ...serviceDefaults, ...params }, input, checkState$3);};const waitUntilApplicationReady = async (params, input) => {    const serviceDefaults = { minDelay: 2, maxDelay: 120 };    const result = await client.createWaiter({ ...serviceDefaults, ...params }, input, checkState$3);    return client.checkExceptions(result);}; const checkState$2 = async (client$1, input) => {    let reason;    try {        let result = await client$1.send(new GetStreamGroupCommand(input));        reason = result;        try {            const returnComparator = () => {                return result.Status;            };            if (returnComparator() === "ACTIVE") {                return { state: client.WaiterState.SUCCESS, reason };            }        }        catch (e) { }        try {            const returnComparator = () => {                return result.Status;            };            if (returnComparator() === "ERROR") {                return { state: client.WaiterState.FAILURE, reason };            }        }        catch (e) { }        try {            const returnComparator = () => {                return result.Status;            };            if (returnComparator() === "ACTIVE_WITH_ERRORS") {                return { state: client.WaiterState.FAILURE, reason };            }        }        catch (e) { }        try {            const returnComparator = () => {                return result.Status;            };            if (returnComparator() === "DELETING") {                return { state: client.WaiterState.FAILURE, reason };            }        }        catch (e) { }    }    catch (exception) {        reason = exception;    }    return { state: client.WaiterState.RETRY, reason };};const waitForStreamGroupActive = async (params, input) => {    const serviceDefaults = { minDelay: 30, maxDelay: 3600 };    return client.createWaiter({ ...serviceDefaults, ...params }, input, checkState$2);};const waitUntilStreamGroupActive = async (params, input) => {    const serviceDefaults = { minDelay: 30, maxDelay: 3600 };    const result = await client.createWaiter({ ...serviceDefaults, ...params }, input, checkState$2);    return client.checkExceptions(result);}; const checkState$1 = async (client$1, input) => {    let reason;    try {        let result = await client$1.send(new GetStreamGroupCommand(input));        reason = result;    }    catch (exception) {        reason = exception;        if (exception.name === "ResourceNotFoundException") {            return { state: client.WaiterState.SUCCESS, reason };        }    }    return { state: client.WaiterState.RETRY, reason };};const waitForStreamGroupDeleted = async (params, input) => {    const serviceDefaults = { minDelay: 30, maxDelay: 1800 };    return client.createWaiter({ ...serviceDefaults, ...params }, input, checkState$1);};const waitUntilStreamGroupDeleted = async (params, input) => {    const serviceDefaults = { minDelay: 30, maxDelay: 1800 };    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 GetStreamSessionCommand(input));        reason = result;        try {            const returnComparator = () => {                return result.Status;            };            if (returnComparator() === "ACTIVE") {                return { state: client.WaiterState.SUCCESS, reason };            }        }        catch (e) { }        try {            const returnComparator = () => {                return result.Status;            };            if (returnComparator() === "ERROR") {                return { state: client.WaiterState.FAILURE, reason };            }        }        catch (e) { }    }    catch (exception) {        reason = exception;    }    return { state: client.WaiterState.RETRY, reason };};const waitForStreamSessionActive = async (params, input) => {    const serviceDefaults = { minDelay: 2, maxDelay: 120 };    return client.createWaiter({ ...serviceDefaults, ...params }, input, checkState);};const waitUntilStreamSessionActive = async (params, input) => {    const serviceDefaults = { minDelay: 2, maxDelay: 120 };    const result = await client.createWaiter({ ...serviceDefaults, ...params }, input, checkState);    return client.checkExceptions(result);}; const commands = {    AddStreamGroupLocationsCommand,    AssociateApplicationsCommand,    CreateApplicationCommand,    CreateStreamGroupCommand,    CreateStreamSessionConnectionCommand,    DeleteApplicationCommand,    DeleteStreamGroupCommand,    DisassociateApplicationsCommand,    ExportStreamSessionFilesCommand,    GetApplicationCommand,    GetStreamGroupCommand,    GetStreamSessionCommand,    ListApplicationsCommand,    ListStreamGroupsCommand,    ListStreamSessionsCommand,    ListStreamSessionsByAccountCommand,    ListTagsForResourceCommand,    RemoveStreamGroupLocationsCommand,    StartStreamSessionCommand,    TagResourceCommand,    TerminateStreamSessionCommand,    UntagResourceCommand,    UpdateApplicationCommand,    UpdateStreamGroupCommand,};const paginators = {    paginateListApplications,    paginateListStreamGroups,    paginateListStreamSessions,    paginateListStreamSessionsByAccount,};const waiters = {    waitUntilApplicationReady,    waitUntilApplicationDeleted,    waitUntilStreamGroupActive,    waitUntilStreamGroupDeleted,    waitUntilStreamSessionActive,};class GameLiftStreams extends GameLiftStreamsClient {}client.createAggregatedClient(commands, GameLiftStreams, { paginators, waiters }); const StreamGroupLocationStatus = {    ACTIVATING: "ACTIVATING",    ACTIVE: "ACTIVE",    ERROR: "ERROR",    REMOVING: "REMOVING",};const ApplicationStatus = {    DELETING: "DELETING",    ERROR: "ERROR",    INITIALIZED: "INITIALIZED",    PROCESSING: "PROCESSING",    READY: "READY",};const ApplicationStatusReason = {    ACCESS_DENIED: "accessDenied",    INTERNAL_ERROR: "internalError",    SOURCE_MODIFIED: "sourceModified",};const RuntimeEnvironmentType = {    PROTON: "PROTON",    UBUNTU: "UBUNTU",    WINDOWS: "WINDOWS",};const ReplicationStatusType = {    COMPLETED: "COMPLETED",    REPLICATING: "REPLICATING",};const StreamClass = {    gen4n_high: "gen4n_high",    gen4n_ultra: "gen4n_ultra",    gen4n_win2022: "gen4n_win2022",    gen5n_high: "gen5n_high",    gen5n_ultra: "gen5n_ultra",    gen5n_win2022: "gen5n_win2022",    gen6e_pro: "gen6e_pro",    gen6e_pro_win2022: "gen6e_pro_win2022",    gen6n_high: "gen6n_high",    gen6n_medium: "gen6n_medium",    gen6n_medium_win2022: "gen6n_medium_win2022",    gen6n_pro: "gen6n_pro",    gen6n_pro_win2022: "gen6n_pro_win2022",    gen6n_small: "gen6n_small",    gen6n_small_win2022: "gen6n_small_win2022",    gen6n_ultra: "gen6n_ultra",    gen6n_ultra_win2022: "gen6n_ultra_win2022",};const StreamGroupStatus = {    ACTIVATING: "ACTIVATING",    ACTIVE: "ACTIVE",    ACTIVE_WITH_ERRORS: "ACTIVE_WITH_ERRORS",    DELETING: "DELETING",    ERROR: "ERROR",    EXPIRED: "EXPIRED",    UPDATING_LOCATIONS: "UPDATING_LOCATIONS",};const StreamGroupStatusReason = {    INTERNAL_ERROR: "internalError",    NO_AVAILABLE_INSTANCES: "noAvailableInstances",};const ExportFilesStatus = {    FAILED: "FAILED",    PENDING: "PENDING",    SUCCEEDED: "SUCCEEDED",};const Protocol = {    WEBRTC: "WebRTC",};const StreamSessionStatus = {    ACTIVATING: "ACTIVATING",    ACTIVE: "ACTIVE",    CONNECTED: "CONNECTED",    ERROR: "ERROR",    PENDING_CLIENT_RECONNECTION: "PENDING_CLIENT_RECONNECTION",    RECONNECTING: "RECONNECTING",    TERMINATED: "TERMINATED",    TERMINATING: "TERMINATING",};const StreamSessionStatusReason = {    API_TERMINATED: "apiTerminated",    APPLICATION_EXIT: "applicationExit",    APP_LOG_S3_DESTINATION_ERROR: "applicationLogS3DestinationError",    CONNECTION_TIMEOUT: "connectionTimeout",    IDLE_TIMEOUT: "idleTimeout",    INTERNAL_ERROR: "internalError",    INVALID_SIGNAL_REQUEST: "invalidSignalRequest",    MAX_SESSION_LENGTH_TIMEOUT: "maxSessionLengthTimeout",    PLACEMENT_TIMEOUT: "placementTimeout",    RECONNECTION_TIMEOUT: "reconnectionTimeout",}; exports.$Command = client.Command;exports.__Client = client.Client;exports.GameLiftStreamsServiceException = GameLiftStreamsServiceException.GameLiftStreamsServiceException;exports.AddStreamGroupLocationsCommand = AddStreamGroupLocationsCommand;exports.ApplicationStatus = ApplicationStatus;exports.ApplicationStatusReason = ApplicationStatusReason;exports.AssociateApplicationsCommand = AssociateApplicationsCommand;exports.CreateApplicationCommand = CreateApplicationCommand;exports.CreateStreamGroupCommand = CreateStreamGroupCommand;exports.CreateStreamSessionConnectionCommand = CreateStreamSessionConnectionCommand;exports.DeleteApplicationCommand = DeleteApplicationCommand;exports.DeleteStreamGroupCommand = DeleteStreamGroupCommand;exports.DisassociateApplicationsCommand = DisassociateApplicationsCommand;exports.ExportFilesStatus = ExportFilesStatus;exports.ExportStreamSessionFilesCommand = ExportStreamSessionFilesCommand;exports.GameLiftStreams = GameLiftStreams;exports.GameLiftStreamsClient = GameLiftStreamsClient;exports.GetApplicationCommand = GetApplicationCommand;exports.GetStreamGroupCommand = GetStreamGroupCommand;exports.GetStreamSessionCommand = GetStreamSessionCommand;exports.ListApplicationsCommand = ListApplicationsCommand;exports.ListStreamGroupsCommand = ListStreamGroupsCommand;exports.ListStreamSessionsByAccountCommand = ListStreamSessionsByAccountCommand;exports.ListStreamSessionsCommand = ListStreamSessionsCommand;exports.ListTagsForResourceCommand = ListTagsForResourceCommand;exports.Protocol = Protocol;exports.RemoveStreamGroupLocationsCommand = RemoveStreamGroupLocationsCommand;exports.ReplicationStatusType = ReplicationStatusType;exports.RuntimeEnvironmentType = RuntimeEnvironmentType;exports.StartStreamSessionCommand = StartStreamSessionCommand;exports.StreamClass = StreamClass;exports.StreamGroupLocationStatus = StreamGroupLocationStatus;exports.StreamGroupStatus = StreamGroupStatus;exports.StreamGroupStatusReason = StreamGroupStatusReason;exports.StreamSessionStatus = StreamSessionStatus;exports.StreamSessionStatusReason = StreamSessionStatusReason;exports.TagResourceCommand = TagResourceCommand;exports.TerminateStreamSessionCommand = TerminateStreamSessionCommand;exports.UntagResourceCommand = UntagResourceCommand;exports.UpdateApplicationCommand = UpdateApplicationCommand;exports.UpdateStreamGroupCommand = UpdateStreamGroupCommand;exports.paginateListApplications = paginateListApplications;exports.paginateListStreamGroups = paginateListStreamGroups;exports.paginateListStreamSessions = paginateListStreamSessions;exports.paginateListStreamSessionsByAccount = paginateListStreamSessionsByAccount;exports.waitForApplicationDeleted = waitForApplicationDeleted;exports.waitForApplicationReady = waitForApplicationReady;exports.waitForStreamGroupActive = waitForStreamGroupActive;exports.waitForStreamGroupDeleted = waitForStreamGroupDeleted;exports.waitForStreamSessionActive = waitForStreamSessionActive;exports.waitUntilApplicationDeleted = waitUntilApplicationDeleted;exports.waitUntilApplicationReady = waitUntilApplicationReady;exports.waitUntilStreamGroupActive = waitUntilStreamGroupActive;exports.waitUntilStreamGroupDeleted = waitUntilStreamGroupDeleted;exports.waitUntilStreamSessionActive = waitUntilStreamSessionActive;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];});