/proc/self/root/proc/self/root/var/runtime/node_modules/@aws-sdk/client-osis/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 OSISServiceException = require('./models/OSISServiceException'); const resolveClientEndpointParameters = (options) => { return Object.assign(options, { useDualstackEndpoint: options.useDualstackEndpoint ?? false, useFipsEndpoint: options.useFipsEndpoint ?? false, defaultSigningName: "osis", });};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 OSISClient 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.defaultOSISHttpAuthSchemeParametersProvider, identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({ "aws.auth#sigv4": config.credentials, }), })); this.middlewareStack.use(core.getHttpSigningPlugin(this.config)); } destroy() { super.destroy(); }} class CreatePipelineCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonOpenSearchIngestionService", "CreatePipeline", {}) .n("OSISClient", "CreatePipelineCommand") .sc(schemas_0.CreatePipeline$) .build() {} class CreatePipelineEndpointCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonOpenSearchIngestionService", "CreatePipelineEndpoint", {}) .n("OSISClient", "CreatePipelineEndpointCommand") .sc(schemas_0.CreatePipelineEndpoint$) .build() {} class DeletePipelineCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonOpenSearchIngestionService", "DeletePipeline", {}) .n("OSISClient", "DeletePipelineCommand") .sc(schemas_0.DeletePipeline$) .build() {} class DeletePipelineEndpointCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonOpenSearchIngestionService", "DeletePipelineEndpoint", {}) .n("OSISClient", "DeletePipelineEndpointCommand") .sc(schemas_0.DeletePipelineEndpoint$) .build() {} class DeleteResourcePolicyCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonOpenSearchIngestionService", "DeleteResourcePolicy", {}) .n("OSISClient", "DeleteResourcePolicyCommand") .sc(schemas_0.DeleteResourcePolicy$) .build() {} class GetPipelineBlueprintCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonOpenSearchIngestionService", "GetPipelineBlueprint", {}) .n("OSISClient", "GetPipelineBlueprintCommand") .sc(schemas_0.GetPipelineBlueprint$) .build() {} class GetPipelineChangeProgressCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonOpenSearchIngestionService", "GetPipelineChangeProgress", {}) .n("OSISClient", "GetPipelineChangeProgressCommand") .sc(schemas_0.GetPipelineChangeProgress$) .build() {} class GetPipelineCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonOpenSearchIngestionService", "GetPipeline", {}) .n("OSISClient", "GetPipelineCommand") .sc(schemas_0.GetPipeline$) .build() {} class GetResourcePolicyCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonOpenSearchIngestionService", "GetResourcePolicy", {}) .n("OSISClient", "GetResourcePolicyCommand") .sc(schemas_0.GetResourcePolicy$) .build() {} class ListPipelineBlueprintsCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonOpenSearchIngestionService", "ListPipelineBlueprints", {}) .n("OSISClient", "ListPipelineBlueprintsCommand") .sc(schemas_0.ListPipelineBlueprints$) .build() {} class ListPipelineEndpointConnectionsCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonOpenSearchIngestionService", "ListPipelineEndpointConnections", {}) .n("OSISClient", "ListPipelineEndpointConnectionsCommand") .sc(schemas_0.ListPipelineEndpointConnections$) .build() {} class ListPipelineEndpointsCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonOpenSearchIngestionService", "ListPipelineEndpoints", {}) .n("OSISClient", "ListPipelineEndpointsCommand") .sc(schemas_0.ListPipelineEndpoints$) .build() {} class ListPipelinesCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonOpenSearchIngestionService", "ListPipelines", {}) .n("OSISClient", "ListPipelinesCommand") .sc(schemas_0.ListPipelines$) .build() {} class ListTagsForResourceCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonOpenSearchIngestionService", "ListTagsForResource", {}) .n("OSISClient", "ListTagsForResourceCommand") .sc(schemas_0.ListTagsForResource$) .build() {} class PutResourcePolicyCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonOpenSearchIngestionService", "PutResourcePolicy", {}) .n("OSISClient", "PutResourcePolicyCommand") .sc(schemas_0.PutResourcePolicy$) .build() {} class RevokePipelineEndpointConnectionsCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonOpenSearchIngestionService", "RevokePipelineEndpointConnections", {}) .n("OSISClient", "RevokePipelineEndpointConnectionsCommand") .sc(schemas_0.RevokePipelineEndpointConnections$) .build() {} class StartPipelineCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonOpenSearchIngestionService", "StartPipeline", {}) .n("OSISClient", "StartPipelineCommand") .sc(schemas_0.StartPipeline$) .build() {} class StopPipelineCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonOpenSearchIngestionService", "StopPipeline", {}) .n("OSISClient", "StopPipelineCommand") .sc(schemas_0.StopPipeline$) .build() {} class TagResourceCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonOpenSearchIngestionService", "TagResource", {}) .n("OSISClient", "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("AmazonOpenSearchIngestionService", "UntagResource", {}) .n("OSISClient", "UntagResourceCommand") .sc(schemas_0.UntagResource$) .build() {} class UpdatePipelineCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonOpenSearchIngestionService", "UpdatePipeline", {}) .n("OSISClient", "UpdatePipelineCommand") .sc(schemas_0.UpdatePipeline$) .build() {} class ValidatePipelineCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AmazonOpenSearchIngestionService", "ValidatePipeline", {}) .n("OSISClient", "ValidatePipelineCommand") .sc(schemas_0.ValidatePipeline$) .build() {} const paginateListPipelineEndpointConnections = core.createPaginator(OSISClient, ListPipelineEndpointConnectionsCommand, "NextToken", "NextToken", "MaxResults"); const paginateListPipelineEndpoints = core.createPaginator(OSISClient, ListPipelineEndpointsCommand, "NextToken", "NextToken", "MaxResults"); const paginateListPipelines = core.createPaginator(OSISClient, ListPipelinesCommand, "NextToken", "NextToken", "MaxResults"); const commands = { CreatePipelineCommand, CreatePipelineEndpointCommand, DeletePipelineCommand, DeletePipelineEndpointCommand, DeleteResourcePolicyCommand, GetPipelineCommand, GetPipelineBlueprintCommand, GetPipelineChangeProgressCommand, GetResourcePolicyCommand, ListPipelineBlueprintsCommand, ListPipelineEndpointConnectionsCommand, ListPipelineEndpointsCommand, ListPipelinesCommand, ListTagsForResourceCommand, PutResourcePolicyCommand, RevokePipelineEndpointConnectionsCommand, StartPipelineCommand, StopPipelineCommand, TagResourceCommand, UntagResourceCommand, UpdatePipelineCommand, ValidatePipelineCommand,};const paginators = { paginateListPipelineEndpointConnections, paginateListPipelineEndpoints, paginateListPipelines,};class OSIS extends OSISClient {}client.createAggregatedClient(commands, OSIS, { paginators }); const VpcEndpointManagement = { CUSTOMER: "CUSTOMER", SERVICE: "SERVICE",};const VpcEndpointServiceName = { OPENSEARCH_SERVERLESS: "OPENSEARCH_SERVERLESS",};const PipelineStatus = { ACTIVE: "ACTIVE", CREATE_FAILED: "CREATE_FAILED", CREATING: "CREATING", DELETING: "DELETING", STARTING: "STARTING", START_FAILED: "START_FAILED", STOPPED: "STOPPED", STOPPING: "STOPPING", UPDATE_FAILED: "UPDATE_FAILED", UPDATING: "UPDATING",};const PipelineEndpointStatus = { ACTIVE: "ACTIVE", CREATE_FAILED: "CREATE_FAILED", CREATING: "CREATING", DELETING: "DELETING", REVOKED: "REVOKED", REVOKING: "REVOKING",};const ChangeProgressStageStatuses = { COMPLETED: "COMPLETED", FAILED: "FAILED", IN_PROGRESS: "IN_PROGRESS", PENDING: "PENDING",};const ChangeProgressStatuses = { COMPLETED: "COMPLETED", FAILED: "FAILED", IN_PROGRESS: "IN_PROGRESS", PENDING: "PENDING",}; exports.$Command = client.Command;exports.__Client = client.Client;exports.OSISServiceException = OSISServiceException.OSISServiceException;exports.ChangeProgressStageStatuses = ChangeProgressStageStatuses;exports.ChangeProgressStatuses = ChangeProgressStatuses;exports.CreatePipelineCommand = CreatePipelineCommand;exports.CreatePipelineEndpointCommand = CreatePipelineEndpointCommand;exports.DeletePipelineCommand = DeletePipelineCommand;exports.DeletePipelineEndpointCommand = DeletePipelineEndpointCommand;exports.DeleteResourcePolicyCommand = DeleteResourcePolicyCommand;exports.GetPipelineBlueprintCommand = GetPipelineBlueprintCommand;exports.GetPipelineChangeProgressCommand = GetPipelineChangeProgressCommand;exports.GetPipelineCommand = GetPipelineCommand;exports.GetResourcePolicyCommand = GetResourcePolicyCommand;exports.ListPipelineBlueprintsCommand = ListPipelineBlueprintsCommand;exports.ListPipelineEndpointConnectionsCommand = ListPipelineEndpointConnectionsCommand;exports.ListPipelineEndpointsCommand = ListPipelineEndpointsCommand;exports.ListPipelinesCommand = ListPipelinesCommand;exports.ListTagsForResourceCommand = ListTagsForResourceCommand;exports.OSIS = OSIS;exports.OSISClient = OSISClient;exports.PipelineEndpointStatus = PipelineEndpointStatus;exports.PipelineStatus = PipelineStatus;exports.PutResourcePolicyCommand = PutResourcePolicyCommand;exports.RevokePipelineEndpointConnectionsCommand = RevokePipelineEndpointConnectionsCommand;exports.StartPipelineCommand = StartPipelineCommand;exports.StopPipelineCommand = StopPipelineCommand;exports.TagResourceCommand = TagResourceCommand;exports.UntagResourceCommand = UntagResourceCommand;exports.UpdatePipelineCommand = UpdatePipelineCommand;exports.ValidatePipelineCommand = ValidatePipelineCommand;exports.VpcEndpointManagement = VpcEndpointManagement;exports.VpcEndpointServiceName = VpcEndpointServiceName;exports.paginateListPipelineEndpointConnections = paginateListPipelineEndpointConnections;exports.paginateListPipelineEndpoints = paginateListPipelineEndpoints;exports.paginateListPipelines = paginateListPipelines;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];});