/proc/self/root/var/runtime/node_modules/@aws-sdk/client-oam/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 OAMServiceException = require('./models/OAMServiceException'); const resolveClientEndpointParameters = (options) => { return Object.assign(options, { useDualstackEndpoint: options.useDualstackEndpoint ?? false, useFipsEndpoint: options.useFipsEndpoint ?? false, defaultSigningName: "oam", });};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 OAMClient 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.defaultOAMHttpAuthSchemeParametersProvider, identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({ "aws.auth#sigv4": config.credentials, }), })); this.middlewareStack.use(core.getHttpSigningPlugin(this.config)); } destroy() { super.destroy(); }} class CreateLinkCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("oamservice", "CreateLink", {}) .n("OAMClient", "CreateLinkCommand") .sc(schemas_0.CreateLink$) .build() {} class CreateSinkCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("oamservice", "CreateSink", {}) .n("OAMClient", "CreateSinkCommand") .sc(schemas_0.CreateSink$) .build() {} class DeleteLinkCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("oamservice", "DeleteLink", {}) .n("OAMClient", "DeleteLinkCommand") .sc(schemas_0.DeleteLink$) .build() {} class DeleteSinkCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("oamservice", "DeleteSink", {}) .n("OAMClient", "DeleteSinkCommand") .sc(schemas_0.DeleteSink$) .build() {} class GetLinkCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("oamservice", "GetLink", {}) .n("OAMClient", "GetLinkCommand") .sc(schemas_0.GetLink$) .build() {} class GetSinkCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("oamservice", "GetSink", {}) .n("OAMClient", "GetSinkCommand") .sc(schemas_0.GetSink$) .build() {} class GetSinkPolicyCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("oamservice", "GetSinkPolicy", {}) .n("OAMClient", "GetSinkPolicyCommand") .sc(schemas_0.GetSinkPolicy$) .build() {} class ListAttachedLinksCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("oamservice", "ListAttachedLinks", {}) .n("OAMClient", "ListAttachedLinksCommand") .sc(schemas_0.ListAttachedLinks$) .build() {} class ListLinksCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("oamservice", "ListLinks", {}) .n("OAMClient", "ListLinksCommand") .sc(schemas_0.ListLinks$) .build() {} class ListSinksCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("oamservice", "ListSinks", {}) .n("OAMClient", "ListSinksCommand") .sc(schemas_0.ListSinks$) .build() {} class ListTagsForResourceCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("oamservice", "ListTagsForResource", {}) .n("OAMClient", "ListTagsForResourceCommand") .sc(schemas_0.ListTagsForResource$) .build() {} class PutSinkPolicyCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("oamservice", "PutSinkPolicy", {}) .n("OAMClient", "PutSinkPolicyCommand") .sc(schemas_0.PutSinkPolicy$) .build() {} class TagResourceCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("oamservice", "TagResource", {}) .n("OAMClient", "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("oamservice", "UntagResource", {}) .n("OAMClient", "UntagResourceCommand") .sc(schemas_0.UntagResource$) .build() {} class UpdateLinkCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("oamservice", "UpdateLink", {}) .n("OAMClient", "UpdateLinkCommand") .sc(schemas_0.UpdateLink$) .build() {} const paginateListAttachedLinks = core.createPaginator(OAMClient, ListAttachedLinksCommand, "NextToken", "NextToken", "MaxResults"); const paginateListLinks = core.createPaginator(OAMClient, ListLinksCommand, "NextToken", "NextToken", "MaxResults"); const paginateListSinks = core.createPaginator(OAMClient, ListSinksCommand, "NextToken", "NextToken", "MaxResults"); const commands = { CreateLinkCommand, CreateSinkCommand, DeleteLinkCommand, DeleteSinkCommand, GetLinkCommand, GetSinkCommand, GetSinkPolicyCommand, ListAttachedLinksCommand, ListLinksCommand, ListSinksCommand, ListTagsForResourceCommand, PutSinkPolicyCommand, TagResourceCommand, UntagResourceCommand, UpdateLinkCommand,};const paginators = { paginateListAttachedLinks, paginateListLinks, paginateListSinks,};class OAM extends OAMClient {}client.createAggregatedClient(commands, OAM, { paginators }); const ResourceType = { AWS_APPLICATIONINSIGHTS_APPLICATION: "AWS::ApplicationInsights::Application", AWS_APPLICATION_SIGNALS_SERVICE: "AWS::ApplicationSignals::Service", AWS_APPLICATION_SIGNALS_SLO: "AWS::ApplicationSignals::ServiceLevelObjective", AWS_CLOUDWATCH_METRIC: "AWS::CloudWatch::Metric", AWS_INTERNETMONITOR_MONITOR: "AWS::InternetMonitor::Monitor", AWS_LOGS_LOGGROUP: "AWS::Logs::LogGroup", AWS_XRAY_TRACE: "AWS::XRay::Trace",}; exports.$Command = client.Command;exports.__Client = client.Client;exports.OAMServiceException = OAMServiceException.OAMServiceException;exports.CreateLinkCommand = CreateLinkCommand;exports.CreateSinkCommand = CreateSinkCommand;exports.DeleteLinkCommand = DeleteLinkCommand;exports.DeleteSinkCommand = DeleteSinkCommand;exports.GetLinkCommand = GetLinkCommand;exports.GetSinkCommand = GetSinkCommand;exports.GetSinkPolicyCommand = GetSinkPolicyCommand;exports.ListAttachedLinksCommand = ListAttachedLinksCommand;exports.ListLinksCommand = ListLinksCommand;exports.ListSinksCommand = ListSinksCommand;exports.ListTagsForResourceCommand = ListTagsForResourceCommand;exports.OAM = OAM;exports.OAMClient = OAMClient;exports.PutSinkPolicyCommand = PutSinkPolicyCommand;exports.ResourceType = ResourceType;exports.TagResourceCommand = TagResourceCommand;exports.UntagResourceCommand = UntagResourceCommand;exports.UpdateLinkCommand = UpdateLinkCommand;exports.paginateListAttachedLinks = paginateListAttachedLinks;exports.paginateListLinks = paginateListLinks;exports.paginateListSinks = paginateListSinks;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];});