File Explorer

/proc/self/root/var/runtime/node_modules/@aws-sdk/client-databrew/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 /.

bdd.js2.0 KB · 53 lines
"use strict";Object.defineProperty(exports, "__esModule", { value: true });exports.bdd = void 0;const endpoints_1 = require("@smithy/core/endpoints");const l = "ref";const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = { [l]: "Endpoint" }, h = { [l]: d }, i = { [l]: "Region" }, j = {}, k = [i];const _data = {    conditions: [        [c, [g]],        [c, k],        ["aws.partition", k, d],        [e, [{ [l]: "UseFIPS" }, b]],        [e, [{ [l]: "UseDualStack" }, b]],        [e, [{ fn: f, argv: [h, "supportsDualStack"] }, b]],        [e, [{ fn: f, argv: [h, "supportsFIPS"] }, b]],        ["stringEquals", [i, "us-gov-west-1"]]    ],    results: [        [a],        [a, "Invalid Configuration: FIPS and custom endpoint are not supported"],        [a, "Invalid Configuration: Dualstack and custom endpoint are not supported"],        [g, j],        ["https://databrew-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", j],        [a, "FIPS and DualStack are enabled, but this partition does not support one or both"],        ["https://databrew.us-gov-west-1.amazonaws.com", j],        ["https://databrew-fips.{Region}.{PartitionResult#dnsSuffix}", j],        [a, "FIPS is enabled but this partition does not support FIPS"],        ["https://databrew.{Region}.{PartitionResult#dualStackDnsSuffix}", j],        [a, "DualStack is enabled but this partition does not support DualStack"],        ["https://databrew.{Region}.{PartitionResult#dnsSuffix}", j],        [a, "Invalid Configuration: Missing Region"]    ]};const root = 2;const r = 100_000_000;const nodes = new Int32Array([    -1, 1, -1,    0, 13, 3,    1, 4, r + 12,    2, 5, r + 12,    3, 8, 6,    4, 7, r + 11,    5, r + 9, r + 10,    4, 11, 9,    6, 10, r + 8,    7, r + 6, r + 7,    5, 12, r + 5,    6, r + 4, r + 5,    3, r + 1, 14,    4, r + 2, r + 3,]);exports.bdd = endpoints_1.BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);