File Explorer

/var/runtime/node_modules/@aws-sdk/client-support/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
ruleset.js3.8 KB · 8 lines
"use strict";Object.defineProperty(exports, "__esModule", { value: true });exports.ruleSet = void 0;const A = "required", B = "fn", C = "argv", D = "ref";const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = "stringEquals", i = "sigv4", j = "support", k = { [A]: false, "type": "String" }, l = { [A]: true, "default": false, "type": "Boolean" }, m = { [D]: "Endpoint" }, n = { [B]: c, [C]: [{ [D]: "UseFIPS" }, true] }, o = { [B]: c, [C]: [{ [D]: "UseDualStack" }, true] }, p = {}, q = { [B]: "getAttr", [C]: [{ [D]: g }, "name"] }, r = { [B]: c, [C]: [{ [D]: "UseFIPS" }, false] }, s = { [B]: c, [C]: [{ [D]: "UseDualStack" }, false] }, t = { [B]: h, [C]: [q, "aws-us-gov"] }, u = { "url": "https://support.us-gov-west-1.amazonaws.com", "properties": { "authSchemes": [{ "name": i, "signingName": j, "signingRegion": "us-gov-west-1" }] }, "headers": {} }, v = { [B]: "getAttr", [C]: [{ [D]: g }, "supportsFIPS"] }, w = { [B]: c, [C]: [true, { [B]: "getAttr", [C]: [{ [D]: g }, "supportsDualStack"] }] }, x = [n], y = [o], z = [{ [D]: "Region" }];const _data = { version: "1.0", parameters: { Region: k, UseDualStack: l, UseFIPS: l, Endpoint: k }, rules: [{ conditions: [{ [B]: b, [C]: [m] }], rules: [{ conditions: x, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { conditions: y, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: m, properties: p, headers: p }, type: e }], type: f }, { conditions: [{ [B]: b, [C]: z }], rules: [{ conditions: [{ [B]: "aws.partition", [C]: z, assign: g }], rules: [{ conditions: [{ [B]: h, [C]: [q, "aws"] }, r, s], endpoint: { url: "https://support.us-east-1.amazonaws.com", properties: { authSchemes: [{ name: i, signingName: j, signingRegion: "us-east-1" }] }, headers: p }, type: e }, { conditions: [{ [B]: h, [C]: [q, "aws-cn"] }, r, s], endpoint: { url: "https://support.cn-north-1.amazonaws.com.cn", properties: { authSchemes: [{ name: i, signingName: j, signingRegion: "cn-north-1" }] }, headers: p }, type: e }, { conditions: [t, r, s], endpoint: u, type: e }, { conditions: [t, n, s], endpoint: u, type: e }, { conditions: [{ [B]: h, [C]: [q, "aws-iso"] }, r, s], endpoint: { url: "https://support.us-iso-east-1.c2s.ic.gov", properties: { authSchemes: [{ name: i, signingName: j, signingRegion: "us-iso-east-1" }] }, headers: p }, type: e }, { conditions: [{ [B]: h, [C]: [q, "aws-iso-b"] }, r, s], endpoint: { url: "https://support.us-isob-east-1.sc2s.sgov.gov", properties: { authSchemes: [{ name: i, signingName: j, signingRegion: "us-isob-east-1" }] }, headers: p }, type: e }, { conditions: [n, o], rules: [{ conditions: [{ [B]: c, [C]: [a, v] }, w], rules: [{ endpoint: { url: "https://support-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: p, headers: p }, type: e }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: x, rules: [{ conditions: [{ [B]: c, [C]: [v, a] }], rules: [{ endpoint: { url: "https://support-fips.{Region}.{PartitionResult#dnsSuffix}", properties: p, headers: p }, type: e }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: y, rules: [{ conditions: [w], rules: [{ endpoint: { url: "https://support.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: p, headers: p }, type: e }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { endpoint: { url: "https://support.{Region}.{PartitionResult#dnsSuffix}", properties: p, headers: p }, type: e }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }] };exports.ruleSet = _data;