/proc/self/root/var/runtime/node_modules/@aws-sdk/client-internetmonitor/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 InternetMonitorServiceException = require('./models/InternetMonitorServiceException'); const resolveClientEndpointParameters = (options) => { return Object.assign(options, { useDualstackEndpoint: options.useDualstackEndpoint ?? false, useFipsEndpoint: options.useFipsEndpoint ?? false, defaultSigningName: "internetmonitor", });};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 InternetMonitorClient 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.defaultInternetMonitorHttpAuthSchemeParametersProvider, identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({ "aws.auth#sigv4": config.credentials, }), })); this.middlewareStack.use(core.getHttpSigningPlugin(this.config)); } destroy() { super.destroy(); }} class CreateMonitorCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("InternetMonitor20210603", "CreateMonitor", {}) .n("InternetMonitorClient", "CreateMonitorCommand") .sc(schemas_0.CreateMonitor$) .build() {} class DeleteMonitorCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("InternetMonitor20210603", "DeleteMonitor", {}) .n("InternetMonitorClient", "DeleteMonitorCommand") .sc(schemas_0.DeleteMonitor$) .build() {} class GetHealthEventCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("InternetMonitor20210603", "GetHealthEvent", {}) .n("InternetMonitorClient", "GetHealthEventCommand") .sc(schemas_0.GetHealthEvent$) .build() {} class GetInternetEventCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("InternetMonitor20210603", "GetInternetEvent", {}) .n("InternetMonitorClient", "GetInternetEventCommand") .sc(schemas_0.GetInternetEvent$) .build() {} class GetMonitorCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("InternetMonitor20210603", "GetMonitor", {}) .n("InternetMonitorClient", "GetMonitorCommand") .sc(schemas_0.GetMonitor$) .build() {} class GetQueryResultsCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("InternetMonitor20210603", "GetQueryResults", {}) .n("InternetMonitorClient", "GetQueryResultsCommand") .sc(schemas_0.GetQueryResults$) .build() {} class GetQueryStatusCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("InternetMonitor20210603", "GetQueryStatus", {}) .n("InternetMonitorClient", "GetQueryStatusCommand") .sc(schemas_0.GetQueryStatus$) .build() {} class ListHealthEventsCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("InternetMonitor20210603", "ListHealthEvents", {}) .n("InternetMonitorClient", "ListHealthEventsCommand") .sc(schemas_0.ListHealthEvents$) .build() {} class ListInternetEventsCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("InternetMonitor20210603", "ListInternetEvents", {}) .n("InternetMonitorClient", "ListInternetEventsCommand") .sc(schemas_0.ListInternetEvents$) .build() {} class ListMonitorsCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("InternetMonitor20210603", "ListMonitors", {}) .n("InternetMonitorClient", "ListMonitorsCommand") .sc(schemas_0.ListMonitors$) .build() {} class ListTagsForResourceCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("InternetMonitor20210603", "ListTagsForResource", {}) .n("InternetMonitorClient", "ListTagsForResourceCommand") .sc(schemas_0.ListTagsForResource$) .build() {} class StartQueryCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("InternetMonitor20210603", "StartQuery", {}) .n("InternetMonitorClient", "StartQueryCommand") .sc(schemas_0.StartQuery$) .build() {} class StopQueryCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("InternetMonitor20210603", "StopQuery", {}) .n("InternetMonitorClient", "StopQueryCommand") .sc(schemas_0.StopQuery$) .build() {} class TagResourceCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("InternetMonitor20210603", "TagResource", {}) .n("InternetMonitorClient", "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("InternetMonitor20210603", "UntagResource", {}) .n("InternetMonitorClient", "UntagResourceCommand") .sc(schemas_0.UntagResource$) .build() {} class UpdateMonitorCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("InternetMonitor20210603", "UpdateMonitor", {}) .n("InternetMonitorClient", "UpdateMonitorCommand") .sc(schemas_0.UpdateMonitor$) .build() {} const paginateGetQueryResults = core.createPaginator(InternetMonitorClient, GetQueryResultsCommand, "NextToken", "NextToken", "MaxResults"); const paginateListHealthEvents = core.createPaginator(InternetMonitorClient, ListHealthEventsCommand, "NextToken", "NextToken", "MaxResults"); const paginateListInternetEvents = core.createPaginator(InternetMonitorClient, ListInternetEventsCommand, "NextToken", "NextToken", "MaxResults"); const paginateListMonitors = core.createPaginator(InternetMonitorClient, ListMonitorsCommand, "NextToken", "NextToken", "MaxResults"); const commands = { CreateMonitorCommand, DeleteMonitorCommand, GetHealthEventCommand, GetInternetEventCommand, GetMonitorCommand, GetQueryResultsCommand, GetQueryStatusCommand, ListHealthEventsCommand, ListInternetEventsCommand, ListMonitorsCommand, ListTagsForResourceCommand, StartQueryCommand, StopQueryCommand, TagResourceCommand, UntagResourceCommand, UpdateMonitorCommand,};const paginators = { paginateGetQueryResults, paginateListHealthEvents, paginateListInternetEvents, paginateListMonitors,};class InternetMonitor extends InternetMonitorClient {}client.createAggregatedClient(commands, InternetMonitor, { paginators }); const LocalHealthEventsConfigStatus = { DISABLED: "DISABLED", ENABLED: "ENABLED",};const LogDeliveryStatus = { DISABLED: "DISABLED", ENABLED: "ENABLED",};const MonitorConfigState = { ACTIVE: "ACTIVE", ERROR: "ERROR", INACTIVE: "INACTIVE", PENDING: "PENDING",};const Operator = { EQUALS: "EQUALS", NOT_EQUALS: "NOT_EQUALS",};const TriangulationEventType = { AWS: "AWS", INTERNET: "Internet",};const HealthEventStatus = { ACTIVE: "ACTIVE", RESOLVED: "RESOLVED",};const HealthEventImpactType = { AVAILABILITY: "AVAILABILITY", LOCAL_AVAILABILITY: "LOCAL_AVAILABILITY", LOCAL_PERFORMANCE: "LOCAL_PERFORMANCE", PERFORMANCE: "PERFORMANCE",};const InternetEventStatus = { ACTIVE: "ACTIVE", RESOLVED: "RESOLVED",};const InternetEventType = { AVAILABILITY: "AVAILABILITY", PERFORMANCE: "PERFORMANCE",};const MonitorProcessingStatusCode = { COLLECTING_DATA: "COLLECTING_DATA", FAULT_ACCESS_CLOUDWATCH: "FAULT_ACCESS_CLOUDWATCH", FAULT_SERVICE: "FAULT_SERVICE", INACTIVE: "INACTIVE", INSUFFICIENT_DATA: "INSUFFICIENT_DATA", OK: "OK",};const QueryStatus = { CANCELED: "CANCELED", FAILED: "FAILED", QUEUED: "QUEUED", RUNNING: "RUNNING", SUCCEEDED: "SUCCEEDED",};const QueryType = { MEASUREMENTS: "MEASUREMENTS", OVERALL_TRAFFIC_SUGGESTIONS: "OVERALL_TRAFFIC_SUGGESTIONS", OVERALL_TRAFFIC_SUGGESTIONS_DETAILS: "OVERALL_TRAFFIC_SUGGESTIONS_DETAILS", ROUTING_SUGGESTIONS: "ROUTING_SUGGESTIONS", TOP_LOCATIONS: "TOP_LOCATIONS", TOP_LOCATION_DETAILS: "TOP_LOCATION_DETAILS",}; exports.$Command = client.Command;exports.__Client = client.Client;exports.InternetMonitorServiceException = InternetMonitorServiceException.InternetMonitorServiceException;exports.CreateMonitorCommand = CreateMonitorCommand;exports.DeleteMonitorCommand = DeleteMonitorCommand;exports.GetHealthEventCommand = GetHealthEventCommand;exports.GetInternetEventCommand = GetInternetEventCommand;exports.GetMonitorCommand = GetMonitorCommand;exports.GetQueryResultsCommand = GetQueryResultsCommand;exports.GetQueryStatusCommand = GetQueryStatusCommand;exports.HealthEventImpactType = HealthEventImpactType;exports.HealthEventStatus = HealthEventStatus;exports.InternetEventStatus = InternetEventStatus;exports.InternetEventType = InternetEventType;exports.InternetMonitor = InternetMonitor;exports.InternetMonitorClient = InternetMonitorClient;exports.ListHealthEventsCommand = ListHealthEventsCommand;exports.ListInternetEventsCommand = ListInternetEventsCommand;exports.ListMonitorsCommand = ListMonitorsCommand;exports.ListTagsForResourceCommand = ListTagsForResourceCommand;exports.LocalHealthEventsConfigStatus = LocalHealthEventsConfigStatus;exports.LogDeliveryStatus = LogDeliveryStatus;exports.MonitorConfigState = MonitorConfigState;exports.MonitorProcessingStatusCode = MonitorProcessingStatusCode;exports.Operator = Operator;exports.QueryStatus = QueryStatus;exports.QueryType = QueryType;exports.StartQueryCommand = StartQueryCommand;exports.StopQueryCommand = StopQueryCommand;exports.TagResourceCommand = TagResourceCommand;exports.TriangulationEventType = TriangulationEventType;exports.UntagResourceCommand = UntagResourceCommand;exports.UpdateMonitorCommand = UpdateMonitorCommand;exports.paginateGetQueryResults = paginateGetQueryResults;exports.paginateListHealthEvents = paginateListHealthEvents;exports.paginateListInternetEvents = paginateListInternetEvents;exports.paginateListMonitors = paginateListMonitors;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];});