/proc/self/root/var/runtime/node_modules/@aws-sdk/client-backupsearch/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 BackupSearchServiceException = require('./models/BackupSearchServiceException'); const resolveClientEndpointParameters = (options) => { return Object.assign(options, { useFipsEndpoint: options.useFipsEndpoint ?? false, defaultSigningName: "backup-search", });};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 BackupSearchClient 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.defaultBackupSearchHttpAuthSchemeParametersProvider, identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({ "aws.auth#sigv4": config.credentials, }), })); this.middlewareStack.use(core.getHttpSigningPlugin(this.config)); } destroy() { super.destroy(); }} class GetSearchJobCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("CryoBackupSearchService", "GetSearchJob", {}) .n("BackupSearchClient", "GetSearchJobCommand") .sc(schemas_0.GetSearchJob$) .build() {} class GetSearchResultExportJobCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("CryoBackupSearchService", "GetSearchResultExportJob", {}) .n("BackupSearchClient", "GetSearchResultExportJobCommand") .sc(schemas_0.GetSearchResultExportJob$) .build() {} class ListSearchJobBackupsCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("CryoBackupSearchService", "ListSearchJobBackups", {}) .n("BackupSearchClient", "ListSearchJobBackupsCommand") .sc(schemas_0.ListSearchJobBackups$) .build() {} class ListSearchJobResultsCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("CryoBackupSearchService", "ListSearchJobResults", {}) .n("BackupSearchClient", "ListSearchJobResultsCommand") .sc(schemas_0.ListSearchJobResults$) .build() {} class ListSearchJobsCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("CryoBackupSearchService", "ListSearchJobs", {}) .n("BackupSearchClient", "ListSearchJobsCommand") .sc(schemas_0.ListSearchJobs$) .build() {} class ListSearchResultExportJobsCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("CryoBackupSearchService", "ListSearchResultExportJobs", {}) .n("BackupSearchClient", "ListSearchResultExportJobsCommand") .sc(schemas_0.ListSearchResultExportJobs$) .build() {} class ListTagsForResourceCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("CryoBackupSearchService", "ListTagsForResource", {}) .n("BackupSearchClient", "ListTagsForResourceCommand") .sc(schemas_0.ListTagsForResource$) .build() {} class StartSearchJobCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("CryoBackupSearchService", "StartSearchJob", {}) .n("BackupSearchClient", "StartSearchJobCommand") .sc(schemas_0.StartSearchJob$) .build() {} class StartSearchResultExportJobCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("CryoBackupSearchService", "StartSearchResultExportJob", {}) .n("BackupSearchClient", "StartSearchResultExportJobCommand") .sc(schemas_0.StartSearchResultExportJob$) .build() {} class StopSearchJobCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("CryoBackupSearchService", "StopSearchJob", {}) .n("BackupSearchClient", "StopSearchJobCommand") .sc(schemas_0.StopSearchJob$) .build() {} class TagResourceCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("CryoBackupSearchService", "TagResource", {}) .n("BackupSearchClient", "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("CryoBackupSearchService", "UntagResource", {}) .n("BackupSearchClient", "UntagResourceCommand") .sc(schemas_0.UntagResource$) .build() {} const paginateListSearchJobBackups = core.createPaginator(BackupSearchClient, ListSearchJobBackupsCommand, "NextToken", "NextToken", "MaxResults"); const paginateListSearchJobResults = core.createPaginator(BackupSearchClient, ListSearchJobResultsCommand, "NextToken", "NextToken", "MaxResults"); const paginateListSearchJobs = core.createPaginator(BackupSearchClient, ListSearchJobsCommand, "NextToken", "NextToken", "MaxResults"); const paginateListSearchResultExportJobs = core.createPaginator(BackupSearchClient, ListSearchResultExportJobsCommand, "NextToken", "NextToken", "MaxResults"); const commands = { GetSearchJobCommand, GetSearchResultExportJobCommand, ListSearchJobBackupsCommand, ListSearchJobResultsCommand, ListSearchJobsCommand, ListSearchResultExportJobsCommand, ListTagsForResourceCommand, StartSearchJobCommand, StartSearchResultExportJobCommand, StopSearchJobCommand, TagResourceCommand, UntagResourceCommand,};const paginators = { paginateListSearchJobBackups, paginateListSearchJobResults, paginateListSearchJobs, paginateListSearchResultExportJobs,};class BackupSearch extends BackupSearchClient {}client.createAggregatedClient(commands, BackupSearch, { paginators }); const ResourceType = { EBS: "EBS", S3: "S3",};const SearchJobState = { COMPLETED: "COMPLETED", FAILED: "FAILED", RUNNING: "RUNNING", STOPPED: "STOPPED", STOPPING: "STOPPING",};const TimeConditionOperator = { EQUALS_TO: "EQUALS_TO", GREATER_THAN_EQUAL_TO: "GREATER_THAN_EQUAL_TO", LESS_THAN_EQUAL_TO: "LESS_THAN_EQUAL_TO", NOT_EQUALS_TO: "NOT_EQUALS_TO",};const StringConditionOperator = { BEGINS_WITH: "BEGINS_WITH", CONTAINS: "CONTAINS", DOES_NOT_BEGIN_WITH: "DOES_NOT_BEGIN_WITH", DOES_NOT_CONTAIN: "DOES_NOT_CONTAIN", DOES_NOT_END_WITH: "DOES_NOT_END_WITH", ENDS_WITH: "ENDS_WITH", EQUALS_TO: "EQUALS_TO", NOT_EQUALS_TO: "NOT_EQUALS_TO",};const LongConditionOperator = { EQUALS_TO: "EQUALS_TO", GREATER_THAN_EQUAL_TO: "GREATER_THAN_EQUAL_TO", LESS_THAN_EQUAL_TO: "LESS_THAN_EQUAL_TO", NOT_EQUALS_TO: "NOT_EQUALS_TO",};const ExportJobStatus = { COMPLETED: "COMPLETED", FAILED: "FAILED", RUNNING: "RUNNING",}; exports.$Command = client.Command;exports.__Client = client.Client;exports.BackupSearchServiceException = BackupSearchServiceException.BackupSearchServiceException;exports.BackupSearch = BackupSearch;exports.BackupSearchClient = BackupSearchClient;exports.ExportJobStatus = ExportJobStatus;exports.GetSearchJobCommand = GetSearchJobCommand;exports.GetSearchResultExportJobCommand = GetSearchResultExportJobCommand;exports.ListSearchJobBackupsCommand = ListSearchJobBackupsCommand;exports.ListSearchJobResultsCommand = ListSearchJobResultsCommand;exports.ListSearchJobsCommand = ListSearchJobsCommand;exports.ListSearchResultExportJobsCommand = ListSearchResultExportJobsCommand;exports.ListTagsForResourceCommand = ListTagsForResourceCommand;exports.LongConditionOperator = LongConditionOperator;exports.ResourceType = ResourceType;exports.SearchJobState = SearchJobState;exports.StartSearchJobCommand = StartSearchJobCommand;exports.StartSearchResultExportJobCommand = StartSearchResultExportJobCommand;exports.StopSearchJobCommand = StopSearchJobCommand;exports.StringConditionOperator = StringConditionOperator;exports.TagResourceCommand = TagResourceCommand;exports.TimeConditionOperator = TimeConditionOperator;exports.UntagResourceCommand = UntagResourceCommand;exports.paginateListSearchJobBackups = paginateListSearchJobBackups;exports.paginateListSearchJobResults = paginateListSearchJobResults;exports.paginateListSearchJobs = paginateListSearchJobs;exports.paginateListSearchResultExportJobs = paginateListSearchResultExportJobs;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];});