/proc/self/root/proc/self/root/var/runtime/node_modules/@aws-sdk/client-rum/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 RUMServiceException = require('./models/RUMServiceException'); const resolveClientEndpointParameters = (options) => { return Object.assign(options, { useDualstackEndpoint: options.useDualstackEndpoint ?? false, useFipsEndpoint: options.useFipsEndpoint ?? false, defaultSigningName: "rum", });};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 RUMClient 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.defaultRUMHttpAuthSchemeParametersProvider, identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({ "aws.auth#sigv4": config.credentials, }), })); this.middlewareStack.use(core.getHttpSigningPlugin(this.config)); } destroy() { super.destroy(); }} class BatchCreateRumMetricDefinitionsCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("RUM", "BatchCreateRumMetricDefinitions", {}) .n("RUMClient", "BatchCreateRumMetricDefinitionsCommand") .sc(schemas_0.BatchCreateRumMetricDefinitions$) .build() {} class BatchDeleteRumMetricDefinitionsCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("RUM", "BatchDeleteRumMetricDefinitions", {}) .n("RUMClient", "BatchDeleteRumMetricDefinitionsCommand") .sc(schemas_0.BatchDeleteRumMetricDefinitions$) .build() {} class BatchGetRumMetricDefinitionsCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("RUM", "BatchGetRumMetricDefinitions", {}) .n("RUMClient", "BatchGetRumMetricDefinitionsCommand") .sc(schemas_0.BatchGetRumMetricDefinitions$) .build() {} class CreateAppMonitorCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("RUM", "CreateAppMonitor", {}) .n("RUMClient", "CreateAppMonitorCommand") .sc(schemas_0.CreateAppMonitor$) .build() {} class DeleteAppMonitorCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("RUM", "DeleteAppMonitor", {}) .n("RUMClient", "DeleteAppMonitorCommand") .sc(schemas_0.DeleteAppMonitor$) .build() {} class DeleteResourcePolicyCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("RUM", "DeleteResourcePolicy", {}) .n("RUMClient", "DeleteResourcePolicyCommand") .sc(schemas_0.DeleteResourcePolicy$) .build() {} class DeleteRumMetricsDestinationCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("RUM", "DeleteRumMetricsDestination", {}) .n("RUMClient", "DeleteRumMetricsDestinationCommand") .sc(schemas_0.DeleteRumMetricsDestination$) .build() {} class GetAppMonitorCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("RUM", "GetAppMonitor", {}) .n("RUMClient", "GetAppMonitorCommand") .sc(schemas_0.GetAppMonitor$) .build() {} class GetAppMonitorDataCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("RUM", "GetAppMonitorData", {}) .n("RUMClient", "GetAppMonitorDataCommand") .sc(schemas_0.GetAppMonitorData$) .build() {} class GetResourcePolicyCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("RUM", "GetResourcePolicy", {}) .n("RUMClient", "GetResourcePolicyCommand") .sc(schemas_0.GetResourcePolicy$) .build() {} class ListAppMonitorsCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("RUM", "ListAppMonitors", {}) .n("RUMClient", "ListAppMonitorsCommand") .sc(schemas_0.ListAppMonitors$) .build() {} class ListRumMetricsDestinationsCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("RUM", "ListRumMetricsDestinations", {}) .n("RUMClient", "ListRumMetricsDestinationsCommand") .sc(schemas_0.ListRumMetricsDestinations$) .build() {} class ListTagsForResourceCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("RUM", "ListTagsForResource", {}) .n("RUMClient", "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("RUM", "PutResourcePolicy", {}) .n("RUMClient", "PutResourcePolicyCommand") .sc(schemas_0.PutResourcePolicy$) .build() {} class PutRumEventsCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("RUM", "PutRumEvents", {}) .n("RUMClient", "PutRumEventsCommand") .sc(schemas_0.PutRumEvents$) .build() {} class PutRumMetricsDestinationCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("RUM", "PutRumMetricsDestination", {}) .n("RUMClient", "PutRumMetricsDestinationCommand") .sc(schemas_0.PutRumMetricsDestination$) .build() {} class TagResourceCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("RUM", "TagResource", {}) .n("RUMClient", "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("RUM", "UntagResource", {}) .n("RUMClient", "UntagResourceCommand") .sc(schemas_0.UntagResource$) .build() {} class UpdateAppMonitorCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("RUM", "UpdateAppMonitor", {}) .n("RUMClient", "UpdateAppMonitorCommand") .sc(schemas_0.UpdateAppMonitor$) .build() {} class UpdateRumMetricDefinitionCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("RUM", "UpdateRumMetricDefinition", {}) .n("RUMClient", "UpdateRumMetricDefinitionCommand") .sc(schemas_0.UpdateRumMetricDefinition$) .build() {} const paginateBatchGetRumMetricDefinitions = core.createPaginator(RUMClient, BatchGetRumMetricDefinitionsCommand, "NextToken", "NextToken", "MaxResults"); const paginateGetAppMonitorData = core.createPaginator(RUMClient, GetAppMonitorDataCommand, "NextToken", "NextToken", "MaxResults"); const paginateListAppMonitors = core.createPaginator(RUMClient, ListAppMonitorsCommand, "NextToken", "NextToken", "MaxResults"); const paginateListRumMetricsDestinations = core.createPaginator(RUMClient, ListRumMetricsDestinationsCommand, "NextToken", "NextToken", "MaxResults"); const commands = { BatchCreateRumMetricDefinitionsCommand, BatchDeleteRumMetricDefinitionsCommand, BatchGetRumMetricDefinitionsCommand, CreateAppMonitorCommand, DeleteAppMonitorCommand, DeleteResourcePolicyCommand, DeleteRumMetricsDestinationCommand, GetAppMonitorCommand, GetAppMonitorDataCommand, GetResourcePolicyCommand, ListAppMonitorsCommand, ListRumMetricsDestinationsCommand, ListTagsForResourceCommand, PutResourcePolicyCommand, PutRumEventsCommand, PutRumMetricsDestinationCommand, TagResourceCommand, UntagResourceCommand, UpdateAppMonitorCommand, UpdateRumMetricDefinitionCommand,};const paginators = { paginateBatchGetRumMetricDefinitions, paginateGetAppMonitorData, paginateListAppMonitors, paginateListRumMetricsDestinations,};class RUM extends RUMClient {}client.createAggregatedClient(commands, RUM, { paginators }); const Telemetry = { ERRORS: "errors", HTTP: "http", PERFORMANCE: "performance",};const CustomEventsStatus = { DISABLED: "DISABLED", ENABLED: "ENABLED",};const DeobfuscationStatus = { DISABLED: "DISABLED", ENABLED: "ENABLED",};const AppMonitorPlatform = { ANDROID: "Android", IOS: "iOS", WEB: "Web",};const StateEnum = { ACTIVE: "ACTIVE", CREATED: "CREATED", DELETING: "DELETING",};const MetricDestination = { CloudWatch: "CloudWatch", Evidently: "Evidently",}; exports.$Command = client.Command;exports.__Client = client.Client;exports.RUMServiceException = RUMServiceException.RUMServiceException;exports.AppMonitorPlatform = AppMonitorPlatform;exports.BatchCreateRumMetricDefinitionsCommand = BatchCreateRumMetricDefinitionsCommand;exports.BatchDeleteRumMetricDefinitionsCommand = BatchDeleteRumMetricDefinitionsCommand;exports.BatchGetRumMetricDefinitionsCommand = BatchGetRumMetricDefinitionsCommand;exports.CreateAppMonitorCommand = CreateAppMonitorCommand;exports.CustomEventsStatus = CustomEventsStatus;exports.DeleteAppMonitorCommand = DeleteAppMonitorCommand;exports.DeleteResourcePolicyCommand = DeleteResourcePolicyCommand;exports.DeleteRumMetricsDestinationCommand = DeleteRumMetricsDestinationCommand;exports.DeobfuscationStatus = DeobfuscationStatus;exports.GetAppMonitorCommand = GetAppMonitorCommand;exports.GetAppMonitorDataCommand = GetAppMonitorDataCommand;exports.GetResourcePolicyCommand = GetResourcePolicyCommand;exports.ListAppMonitorsCommand = ListAppMonitorsCommand;exports.ListRumMetricsDestinationsCommand = ListRumMetricsDestinationsCommand;exports.ListTagsForResourceCommand = ListTagsForResourceCommand;exports.MetricDestination = MetricDestination;exports.PutResourcePolicyCommand = PutResourcePolicyCommand;exports.PutRumEventsCommand = PutRumEventsCommand;exports.PutRumMetricsDestinationCommand = PutRumMetricsDestinationCommand;exports.RUM = RUM;exports.RUMClient = RUMClient;exports.StateEnum = StateEnum;exports.TagResourceCommand = TagResourceCommand;exports.Telemetry = Telemetry;exports.UntagResourceCommand = UntagResourceCommand;exports.UpdateAppMonitorCommand = UpdateAppMonitorCommand;exports.UpdateRumMetricDefinitionCommand = UpdateRumMetricDefinitionCommand;exports.paginateBatchGetRumMetricDefinitions = paginateBatchGetRumMetricDefinitions;exports.paginateGetAppMonitorData = paginateGetAppMonitorData;exports.paginateListAppMonitors = paginateListAppMonitors;exports.paginateListRumMetricsDestinations = paginateListRumMetricsDestinations;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];});