@aws-sdk/client-account
Version:
AWS SDK for JavaScript Account Client for Node.js, Browser and React Native
50 lines (49 loc) • 2.1 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.bdd = void 0;
const endpoints_1 = require("@smithy/core/endpoints");
const k = "ref";
const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = { [k]: "Endpoint" }, h = { [k]: d }, i = { "authSchemes": [{ "name": "sigv4", "signingRegion": "{PartitionResult#implicitGlobalRegion}" }] }, j = [{ [k]: "Region" }];
const _data = {
conditions: [
[]],
[],
["aws.partition", j, d],
[]: "UseFIPS" }, b]],
[]: "UseDualStack" }, b]],
[] }, b]],
[] }, b]]
],
results: [
[],
[],
[],
[],
["https://account-fips.{PartitionResult#implicitGlobalRegion}.{PartitionResult#dualStackDnsSuffix}", i],
[],
["https://account-fips.{PartitionResult#implicitGlobalRegion}.{PartitionResult#dnsSuffix}", i],
[],
["https://account.{PartitionResult#implicitGlobalRegion}.{PartitionResult#dualStackDnsSuffix}", i],
[],
["https://account.{PartitionResult#implicitGlobalRegion}.{PartitionResult#dnsSuffix}", i],
[]
]
};
const root = 2;
const r = 100_000_000;
const nodes = new Int32Array([
-1, 1, -1,
0, 12, 3,
1, 4, r + 11,
2, 5, r + 11,
3, 8, 6,
4, 7, r + 10,
5, r + 8, r + 9,
4, 10, 9,
6, r + 6, r + 7,
5, 11, r + 5,
6, r + 4, r + 5,
3, r + 1, 13,
4, r + 2, r + 3,
]);
exports.bdd = endpoints_1.BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);