/proc/self/root/proc/self/root/var/runtime/node_modules/@aws-sdk/client-dlm/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 DLMServiceException = require('./models/DLMServiceException'); const resolveClientEndpointParameters = (options) => { return Object.assign(options, { useDualstackEndpoint: options.useDualstackEndpoint ?? false, useFipsEndpoint: options.useFipsEndpoint ?? false, defaultSigningName: "dlm", });};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 DLMClient 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.defaultDLMHttpAuthSchemeParametersProvider, identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({ "aws.auth#sigv4": config.credentials, }), })); this.middlewareStack.use(core.getHttpSigningPlugin(this.config)); } destroy() { super.destroy(); }} class CreateLifecyclePolicyCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("dlm_20180112", "CreateLifecyclePolicy", {}) .n("DLMClient", "CreateLifecyclePolicyCommand") .sc(schemas_0.CreateLifecyclePolicy$) .build() {} class DeleteLifecyclePolicyCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("dlm_20180112", "DeleteLifecyclePolicy", {}) .n("DLMClient", "DeleteLifecyclePolicyCommand") .sc(schemas_0.DeleteLifecyclePolicy$) .build() {} class GetLifecyclePoliciesCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("dlm_20180112", "GetLifecyclePolicies", {}) .n("DLMClient", "GetLifecyclePoliciesCommand") .sc(schemas_0.GetLifecyclePolicies$) .build() {} class GetLifecyclePolicyCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("dlm_20180112", "GetLifecyclePolicy", {}) .n("DLMClient", "GetLifecyclePolicyCommand") .sc(schemas_0.GetLifecyclePolicy$) .build() {} class ListTagsForResourceCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("dlm_20180112", "ListTagsForResource", {}) .n("DLMClient", "ListTagsForResourceCommand") .sc(schemas_0.ListTagsForResource$) .build() {} class TagResourceCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("dlm_20180112", "TagResource", {}) .n("DLMClient", "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("dlm_20180112", "UntagResource", {}) .n("DLMClient", "UntagResourceCommand") .sc(schemas_0.UntagResource$) .build() {} class UpdateLifecyclePolicyCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("dlm_20180112", "UpdateLifecyclePolicy", {}) .n("DLMClient", "UpdateLifecyclePolicyCommand") .sc(schemas_0.UpdateLifecyclePolicy$) .build() {} const commands = { CreateLifecyclePolicyCommand, DeleteLifecyclePolicyCommand, GetLifecyclePoliciesCommand, GetLifecyclePolicyCommand, ListTagsForResourceCommand, TagResourceCommand, UntagResourceCommand, UpdateLifecyclePolicyCommand,};class DLM extends DLMClient {}client.createAggregatedClient(commands, DLM); const RetentionIntervalUnitValues = { DAYS: "DAYS", MONTHS: "MONTHS", WEEKS: "WEEKS", YEARS: "YEARS",};const DefaultPolicyTypeValues = { INSTANCE: "INSTANCE", VOLUME: "VOLUME",};const EventTypeValues = { SHARE_SNAPSHOT: "shareSnapshot",};const EventSourceValues = { MANAGED_CWE: "MANAGED_CWE",};const PolicyLanguageValues = { SIMPLIFIED: "SIMPLIFIED", STANDARD: "STANDARD",};const PolicyTypeValues = { EBS_SNAPSHOT_MANAGEMENT: "EBS_SNAPSHOT_MANAGEMENT", EVENT_BASED_POLICY: "EVENT_BASED_POLICY", IMAGE_MANAGEMENT: "IMAGE_MANAGEMENT",};const ResourceLocationValues = { CLOUD: "CLOUD", LOCAL_ZONE: "LOCAL_ZONE", OUTPOST: "OUTPOST",};const ResourceTypeValues = { INSTANCE: "INSTANCE", VOLUME: "VOLUME",};const IntervalUnitValues = { HOURS: "HOURS",};const LocationValues = { CLOUD: "CLOUD", LOCAL_ZONE: "LOCAL_ZONE", OUTPOST_LOCAL: "OUTPOST_LOCAL",};const ExecutionHandlerServiceValues = { AWS_SYSTEMS_MANAGER: "AWS_SYSTEMS_MANAGER",};const StageValues = { POST: "POST", PRE: "PRE",};const SettablePolicyStateValues = { DISABLED: "DISABLED", ENABLED: "ENABLED",};const DefaultPoliciesTypeValues = { ALL: "ALL", INSTANCE: "INSTANCE", VOLUME: "VOLUME",};const GettablePolicyStateValues = { DISABLED: "DISABLED", ENABLED: "ENABLED", ERROR: "ERROR",}; exports.$Command = client.Command;exports.__Client = client.Client;exports.DLMServiceException = DLMServiceException.DLMServiceException;exports.CreateLifecyclePolicyCommand = CreateLifecyclePolicyCommand;exports.DLM = DLM;exports.DLMClient = DLMClient;exports.DefaultPoliciesTypeValues = DefaultPoliciesTypeValues;exports.DefaultPolicyTypeValues = DefaultPolicyTypeValues;exports.DeleteLifecyclePolicyCommand = DeleteLifecyclePolicyCommand;exports.EventSourceValues = EventSourceValues;exports.EventTypeValues = EventTypeValues;exports.ExecutionHandlerServiceValues = ExecutionHandlerServiceValues;exports.GetLifecyclePoliciesCommand = GetLifecyclePoliciesCommand;exports.GetLifecyclePolicyCommand = GetLifecyclePolicyCommand;exports.GettablePolicyStateValues = GettablePolicyStateValues;exports.IntervalUnitValues = IntervalUnitValues;exports.ListTagsForResourceCommand = ListTagsForResourceCommand;exports.LocationValues = LocationValues;exports.PolicyLanguageValues = PolicyLanguageValues;exports.PolicyTypeValues = PolicyTypeValues;exports.ResourceLocationValues = ResourceLocationValues;exports.ResourceTypeValues = ResourceTypeValues;exports.RetentionIntervalUnitValues = RetentionIntervalUnitValues;exports.SettablePolicyStateValues = SettablePolicyStateValues;exports.StageValues = StageValues;exports.TagResourceCommand = TagResourceCommand;exports.UntagResourceCommand = UntagResourceCommand;exports.UpdateLifecyclePolicyCommand = UpdateLifecyclePolicyCommand;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];});