File Explorer

/var/runtime/node_modules/@aws-sdk/client-chatbot/dist-cjs/endpoint

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 /.

0 dirs
2 files
endpointResolver.js811 B · 19 lines
"use strict";Object.defineProperty(exports, "__esModule", { value: true });exports.defaultEndpointResolver = void 0;const util_endpoints_1 = require("@aws-sdk/util-endpoints");const util_endpoints_2 = require("@smithy/util-endpoints");const ruleset_1 = require("./ruleset");const cache = new util_endpoints_2.EndpointCache({    size: 50,    params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],});const defaultEndpointResolver = (endpointParams, context = {}) => {    return cache.get(endpointParams, () => (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {        endpointParams: endpointParams,        logger: context.logger,    }));};exports.defaultEndpointResolver = defaultEndpointResolver;util_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;