/proc/self/root/proc/self/root/var/runtime/node_modules/@aws-sdk/client-evs/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 EvsServiceException = require('./models/EvsServiceException'); const resolveClientEndpointParameters = (options) => { return Object.assign(options, { useDualstackEndpoint: options.useDualstackEndpoint ?? false, useFipsEndpoint: options.useFipsEndpoint ?? false, defaultSigningName: "evs", });};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 EvsClient 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.defaultEvsHttpAuthSchemeParametersProvider, identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({ "aws.auth#sigv4": config.credentials, }), })); this.middlewareStack.use(core.getHttpSigningPlugin(this.config)); } destroy() { super.destroy(); }} class AssociateEipToVlanCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonElasticVMwareService", "AssociateEipToVlan", {}) .n("EvsClient", "AssociateEipToVlanCommand") .sc(schemas_0.AssociateEipToVlan$) .build() {} class CreateEntitlementCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonElasticVMwareService", "CreateEntitlement", {}) .n("EvsClient", "CreateEntitlementCommand") .sc(schemas_0.CreateEntitlement$) .build() {} class CreateEnvironmentCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonElasticVMwareService", "CreateEnvironment", {}) .n("EvsClient", "CreateEnvironmentCommand") .sc(schemas_0.CreateEnvironment$) .build() {} class CreateEnvironmentConnectorCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonElasticVMwareService", "CreateEnvironmentConnector", {}) .n("EvsClient", "CreateEnvironmentConnectorCommand") .sc(schemas_0.CreateEnvironmentConnector$) .build() {} class CreateEnvironmentHostCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonElasticVMwareService", "CreateEnvironmentHost", {}) .n("EvsClient", "CreateEnvironmentHostCommand") .sc(schemas_0.CreateEnvironmentHost$) .build() {} class DeleteEntitlementCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonElasticVMwareService", "DeleteEntitlement", {}) .n("EvsClient", "DeleteEntitlementCommand") .sc(schemas_0.DeleteEntitlement$) .build() {} class DeleteEnvironmentCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonElasticVMwareService", "DeleteEnvironment", {}) .n("EvsClient", "DeleteEnvironmentCommand") .sc(schemas_0.DeleteEnvironment$) .build() {} class DeleteEnvironmentConnectorCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonElasticVMwareService", "DeleteEnvironmentConnector", {}) .n("EvsClient", "DeleteEnvironmentConnectorCommand") .sc(schemas_0.DeleteEnvironmentConnector$) .build() {} class DeleteEnvironmentHostCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonElasticVMwareService", "DeleteEnvironmentHost", {}) .n("EvsClient", "DeleteEnvironmentHostCommand") .sc(schemas_0.DeleteEnvironmentHost$) .build() {} class DisassociateEipFromVlanCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonElasticVMwareService", "DisassociateEipFromVlan", {}) .n("EvsClient", "DisassociateEipFromVlanCommand") .sc(schemas_0.DisassociateEipFromVlan$) .build() {} class GetEnvironmentCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonElasticVMwareService", "GetEnvironment", {}) .n("EvsClient", "GetEnvironmentCommand") .sc(schemas_0.GetEnvironment$) .build() {} class GetVersionsCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonElasticVMwareService", "GetVersions", {}) .n("EvsClient", "GetVersionsCommand") .sc(schemas_0.GetVersions$) .build() {} class ListEnvironmentConnectorsCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonElasticVMwareService", "ListEnvironmentConnectors", {}) .n("EvsClient", "ListEnvironmentConnectorsCommand") .sc(schemas_0.ListEnvironmentConnectors$) .build() {} class ListEnvironmentHostsCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonElasticVMwareService", "ListEnvironmentHosts", {}) .n("EvsClient", "ListEnvironmentHostsCommand") .sc(schemas_0.ListEnvironmentHosts$) .build() {} class ListEnvironmentsCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonElasticVMwareService", "ListEnvironments", {}) .n("EvsClient", "ListEnvironmentsCommand") .sc(schemas_0.ListEnvironments$) .build() {} class ListEnvironmentVlansCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonElasticVMwareService", "ListEnvironmentVlans", {}) .n("EvsClient", "ListEnvironmentVlansCommand") .sc(schemas_0.ListEnvironmentVlans$) .build() {} class ListTagsForResourceCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonElasticVMwareService", "ListTagsForResource", {}) .n("EvsClient", "ListTagsForResourceCommand") .sc(schemas_0.ListTagsForResource$) .build() {} class ListVmEntitlementsCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonElasticVMwareService", "ListVmEntitlements", {}) .n("EvsClient", "ListVmEntitlementsCommand") .sc(schemas_0.ListVmEntitlements$) .build() {} class TagResourceCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonElasticVMwareService", "TagResource", {}) .n("EvsClient", "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("AmazonElasticVMwareService", "UntagResource", {}) .n("EvsClient", "UntagResourceCommand") .sc(schemas_0.UntagResource$) .build() {} class UpdateEnvironmentConnectorCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonElasticVMwareService", "UpdateEnvironmentConnector", {}) .n("EvsClient", "UpdateEnvironmentConnectorCommand") .sc(schemas_0.UpdateEnvironmentConnector$) .build() {} const paginateListEnvironmentConnectors = core.createPaginator(EvsClient, ListEnvironmentConnectorsCommand, "nextToken", "nextToken", "maxResults"); const paginateListEnvironmentHosts = core.createPaginator(EvsClient, ListEnvironmentHostsCommand, "nextToken", "nextToken", "maxResults"); const paginateListEnvironments = core.createPaginator(EvsClient, ListEnvironmentsCommand, "nextToken", "nextToken", "maxResults"); const paginateListEnvironmentVlans = core.createPaginator(EvsClient, ListEnvironmentVlansCommand, "nextToken", "nextToken", "maxResults"); const paginateListVmEntitlements = core.createPaginator(EvsClient, ListVmEntitlementsCommand, "nextToken", "nextToken", "maxResults"); const commands = { AssociateEipToVlanCommand, CreateEntitlementCommand, CreateEnvironmentCommand, CreateEnvironmentConnectorCommand, CreateEnvironmentHostCommand, DeleteEntitlementCommand, DeleteEnvironmentCommand, DeleteEnvironmentConnectorCommand, DeleteEnvironmentHostCommand, DisassociateEipFromVlanCommand, GetEnvironmentCommand, GetVersionsCommand, ListEnvironmentConnectorsCommand, ListEnvironmentHostsCommand, ListEnvironmentsCommand, ListEnvironmentVlansCommand, ListTagsForResourceCommand, ListVmEntitlementsCommand, TagResourceCommand, UntagResourceCommand, UpdateEnvironmentConnectorCommand,};const paginators = { paginateListEnvironmentConnectors, paginateListEnvironmentHosts, paginateListEnvironments, paginateListEnvironmentVlans, paginateListVmEntitlements,};class Evs extends EvsClient {}client.createAggregatedClient(commands, Evs, { paginators }); const VlanState = { CREATED: "CREATED", CREATE_FAILED: "CREATE_FAILED", CREATING: "CREATING", DELETED: "DELETED", DELETING: "DELETING",};const ValidationExceptionReason = { CANNOT_PARSE: "cannotParse", FIELD_VALIDATION_FAILED: "fieldValidationFailed", OTHER: "other", UNKNOWN_OPERATION: "unknownOperation",};const EntitlementType = { WINDOWS_SERVER: "WINDOWS_SERVER",};const EntitlementStatus = { AT_RISK: "AT_RISK", CREATED: "CREATED", CREATE_FAILED: "CREATE_FAILED", CREATING: "CREATING", DELETED: "DELETED", ENTITLEMENT_REMOVED: "ENTITLEMENT_REMOVED",};const _InstanceType = { I4I_METAL: "i4i.metal", I7I_METAL_24XL: "i7i.metal-24xl",};const VcfVersion = { VCF_5_2_1: "VCF-5.2.1", VCF_5_2_2: "VCF-5.2.2",};const CheckResult = { FAILED: "FAILED", PASSED: "PASSED", UNKNOWN: "UNKNOWN",};const CheckType = { HOST_COUNT: "HOST_COUNT", KEY_COVERAGE: "KEY_COVERAGE", KEY_REUSE: "KEY_REUSE", REACHABILITY: "REACHABILITY", VCENTER_REACHABILITY: "VCENTER_REACHABILITY", VCENTER_VM_EVENT: "VCENTER_VM_EVENT", VCENTER_VM_SYNC: "VCENTER_VM_SYNC",};const EnvironmentState = { CREATED: "CREATED", CREATE_FAILED: "CREATE_FAILED", CREATING: "CREATING", DELETED: "DELETED", DELETING: "DELETING",};const ConnectorType = { VCENTER: "VCENTER",};const ConnectorState = { ACTIVE: "ACTIVE", CREATE_FAILED: "CREATE_FAILED", CREATING: "CREATING", DELETED: "DELETED", DELETING: "DELETING", UPDATE_FAILED: "UPDATE_FAILED", UPDATING: "UPDATING",};const HostState = { CREATED: "CREATED", CREATE_FAILED: "CREATE_FAILED", CREATING: "CREATING", DELETED: "DELETED", DELETING: "DELETING", UPDATE_FAILED: "UPDATE_FAILED", UPDATING: "UPDATING",}; exports.$Command = client.Command;exports.__Client = client.Client;exports.EvsServiceException = EvsServiceException.EvsServiceException;exports.AssociateEipToVlanCommand = AssociateEipToVlanCommand;exports.CheckResult = CheckResult;exports.CheckType = CheckType;exports.ConnectorState = ConnectorState;exports.ConnectorType = ConnectorType;exports.CreateEntitlementCommand = CreateEntitlementCommand;exports.CreateEnvironmentCommand = CreateEnvironmentCommand;exports.CreateEnvironmentConnectorCommand = CreateEnvironmentConnectorCommand;exports.CreateEnvironmentHostCommand = CreateEnvironmentHostCommand;exports.DeleteEntitlementCommand = DeleteEntitlementCommand;exports.DeleteEnvironmentCommand = DeleteEnvironmentCommand;exports.DeleteEnvironmentConnectorCommand = DeleteEnvironmentConnectorCommand;exports.DeleteEnvironmentHostCommand = DeleteEnvironmentHostCommand;exports.DisassociateEipFromVlanCommand = DisassociateEipFromVlanCommand;exports.EntitlementStatus = EntitlementStatus;exports.EntitlementType = EntitlementType;exports.EnvironmentState = EnvironmentState;exports.Evs = Evs;exports.EvsClient = EvsClient;exports.GetEnvironmentCommand = GetEnvironmentCommand;exports.GetVersionsCommand = GetVersionsCommand;exports.HostState = HostState;exports.ListEnvironmentConnectorsCommand = ListEnvironmentConnectorsCommand;exports.ListEnvironmentHostsCommand = ListEnvironmentHostsCommand;exports.ListEnvironmentVlansCommand = ListEnvironmentVlansCommand;exports.ListEnvironmentsCommand = ListEnvironmentsCommand;exports.ListTagsForResourceCommand = ListTagsForResourceCommand;exports.ListVmEntitlementsCommand = ListVmEntitlementsCommand;exports.TagResourceCommand = TagResourceCommand;exports.UntagResourceCommand = UntagResourceCommand;exports.UpdateEnvironmentConnectorCommand = UpdateEnvironmentConnectorCommand;exports.ValidationExceptionReason = ValidationExceptionReason;exports.VcfVersion = VcfVersion;exports.VlanState = VlanState;exports._InstanceType = _InstanceType;exports.paginateListEnvironmentConnectors = paginateListEnvironmentConnectors;exports.paginateListEnvironmentHosts = paginateListEnvironmentHosts;exports.paginateListEnvironmentVlans = paginateListEnvironmentVlans;exports.paginateListEnvironments = paginateListEnvironments;exports.paginateListVmEntitlements = paginateListVmEntitlements;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];});