/proc/self/root/var/runtime/node_modules/@aws-sdk/client-simspaceweaver/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 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 SimSpaceWeaverServiceException = require('./models/SimSpaceWeaverServiceException'); const resolveClientEndpointParameters = (options) => { return Object.assign(options, { useDualstackEndpoint: options.useDualstackEndpoint ?? false, useFipsEndpoint: options.useFipsEndpoint ?? false, defaultSigningName: "simspaceweaver", });};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 SimSpaceWeaverClient 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.defaultSimSpaceWeaverHttpAuthSchemeParametersProvider, identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({ "aws.auth#sigv4": config.credentials, }), })); this.middlewareStack.use(core.getHttpSigningPlugin(this.config)); } destroy() { super.destroy(); }} class CreateSnapshotCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("SimSpaceWeaver", "CreateSnapshot", {}) .n("SimSpaceWeaverClient", "CreateSnapshotCommand") .sc(schemas_0.CreateSnapshot$) .build() {} class DeleteAppCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("SimSpaceWeaver", "DeleteApp", {}) .n("SimSpaceWeaverClient", "DeleteAppCommand") .sc(schemas_0.DeleteApp$) .build() {} class DeleteSimulationCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("SimSpaceWeaver", "DeleteSimulation", {}) .n("SimSpaceWeaverClient", "DeleteSimulationCommand") .sc(schemas_0.DeleteSimulation$) .build() {} class DescribeAppCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("SimSpaceWeaver", "DescribeApp", {}) .n("SimSpaceWeaverClient", "DescribeAppCommand") .sc(schemas_0.DescribeApp$) .build() {} class DescribeSimulationCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("SimSpaceWeaver", "DescribeSimulation", {}) .n("SimSpaceWeaverClient", "DescribeSimulationCommand") .sc(schemas_0.DescribeSimulation$) .build() {} class ListAppsCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("SimSpaceWeaver", "ListApps", {}) .n("SimSpaceWeaverClient", "ListAppsCommand") .sc(schemas_0.ListApps$) .build() {} class ListSimulationsCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("SimSpaceWeaver", "ListSimulations", {}) .n("SimSpaceWeaverClient", "ListSimulationsCommand") .sc(schemas_0.ListSimulations$) .build() {} class ListTagsForResourceCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("SimSpaceWeaver", "ListTagsForResource", {}) .n("SimSpaceWeaverClient", "ListTagsForResourceCommand") .sc(schemas_0.ListTagsForResource$) .build() {} class StartAppCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("SimSpaceWeaver", "StartApp", {}) .n("SimSpaceWeaverClient", "StartAppCommand") .sc(schemas_0.StartApp$) .build() {} class StartClockCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("SimSpaceWeaver", "StartClock", {}) .n("SimSpaceWeaverClient", "StartClockCommand") .sc(schemas_0.StartClock$) .build() {} class StartSimulationCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("SimSpaceWeaver", "StartSimulation", {}) .n("SimSpaceWeaverClient", "StartSimulationCommand") .sc(schemas_0.StartSimulation$) .build() {} class StopAppCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("SimSpaceWeaver", "StopApp", {}) .n("SimSpaceWeaverClient", "StopAppCommand") .sc(schemas_0.StopApp$) .build() {} class StopClockCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("SimSpaceWeaver", "StopClock", {}) .n("SimSpaceWeaverClient", "StopClockCommand") .sc(schemas_0.StopClock$) .build() {} class StopSimulationCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("SimSpaceWeaver", "StopSimulation", {}) .n("SimSpaceWeaverClient", "StopSimulationCommand") .sc(schemas_0.StopSimulation$) .build() {} class TagResourceCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("SimSpaceWeaver", "TagResource", {}) .n("SimSpaceWeaverClient", "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("SimSpaceWeaver", "UntagResource", {}) .n("SimSpaceWeaverClient", "UntagResourceCommand") .sc(schemas_0.UntagResource$) .build() {} const paginateListApps = core.createPaginator(SimSpaceWeaverClient, ListAppsCommand, "NextToken", "NextToken", "MaxResults"); const paginateListSimulations = core.createPaginator(SimSpaceWeaverClient, ListSimulationsCommand, "NextToken", "NextToken", "MaxResults"); const commands = { CreateSnapshotCommand, DeleteAppCommand, DeleteSimulationCommand, DescribeAppCommand, DescribeSimulationCommand, ListAppsCommand, ListSimulationsCommand, ListTagsForResourceCommand, StartAppCommand, StartClockCommand, StartSimulationCommand, StopAppCommand, StopClockCommand, StopSimulationCommand, TagResourceCommand, UntagResourceCommand,};const paginators = { paginateListApps, paginateListSimulations,};class SimSpaceWeaver extends SimSpaceWeaverClient {}client.createAggregatedClient(commands, SimSpaceWeaver, { paginators }); const ClockStatus = { STARTED: "STARTED", STARTING: "STARTING", STOPPED: "STOPPED", STOPPING: "STOPPING", UNKNOWN: "UNKNOWN",};const ClockTargetStatus = { STARTED: "STARTED", STOPPED: "STOPPED", UNKNOWN: "UNKNOWN",};const SimulationAppStatus = { ERROR: "ERROR", STARTED: "STARTED", STARTING: "STARTING", STOPPED: "STOPPED", STOPPING: "STOPPING", UNKNOWN: "UNKNOWN",};const SimulationAppTargetStatus = { STARTED: "STARTED", STOPPED: "STOPPED", UNKNOWN: "UNKNOWN",};const LifecycleManagementStrategy = { ByRequest: "ByRequest", BySpatialSubdivision: "BySpatialSubdivision", PerWorker: "PerWorker", Unknown: "Unknown",};const SimulationStatus = { DELETED: "DELETED", DELETING: "DELETING", FAILED: "FAILED", SNAPSHOT_IN_PROGRESS: "SNAPSHOT_IN_PROGRESS", STARTED: "STARTED", STARTING: "STARTING", STOPPED: "STOPPED", STOPPING: "STOPPING", UNKNOWN: "UNKNOWN",};const SimulationTargetStatus = { DELETED: "DELETED", STARTED: "STARTED", STOPPED: "STOPPED", UNKNOWN: "UNKNOWN",}; exports.$Command = client.Command;exports.__Client = client.Client;exports.SimSpaceWeaverServiceException = SimSpaceWeaverServiceException.SimSpaceWeaverServiceException;exports.ClockStatus = ClockStatus;exports.ClockTargetStatus = ClockTargetStatus;exports.CreateSnapshotCommand = CreateSnapshotCommand;exports.DeleteAppCommand = DeleteAppCommand;exports.DeleteSimulationCommand = DeleteSimulationCommand;exports.DescribeAppCommand = DescribeAppCommand;exports.DescribeSimulationCommand = DescribeSimulationCommand;exports.LifecycleManagementStrategy = LifecycleManagementStrategy;exports.ListAppsCommand = ListAppsCommand;exports.ListSimulationsCommand = ListSimulationsCommand;exports.ListTagsForResourceCommand = ListTagsForResourceCommand;exports.SimSpaceWeaver = SimSpaceWeaver;exports.SimSpaceWeaverClient = SimSpaceWeaverClient;exports.SimulationAppStatus = SimulationAppStatus;exports.SimulationAppTargetStatus = SimulationAppTargetStatus;exports.SimulationStatus = SimulationStatus;exports.SimulationTargetStatus = SimulationTargetStatus;exports.StartAppCommand = StartAppCommand;exports.StartClockCommand = StartClockCommand;exports.StartSimulationCommand = StartSimulationCommand;exports.StopAppCommand = StopAppCommand;exports.StopClockCommand = StopClockCommand;exports.StopSimulationCommand = StopSimulationCommand;exports.TagResourceCommand = TagResourceCommand;exports.UntagResourceCommand = UntagResourceCommand;exports.paginateListApps = paginateListApps;exports.paginateListSimulations = paginateListSimulations;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];});