cdk-cost-analyzer 0.1.47 → 0.1.49
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.cdk-cost-analyzer-cache/metadata.json +8 -8
- package/dist/action/136.index.js +1027 -160
- package/dist/action/443.index.js +89 -115
- package/dist/action/579.index.js +16 -8
- package/dist/action/762.index.js +100 -143
- package/dist/action/998.index.js +90 -116
- package/dist/action/index.js +3 -3
- package/dist/releasetag.txt +1 -1
- package/package.json +2 -2
package/dist/action/998.index.js
CHANGED
|
@@ -279,6 +279,93 @@ const resolveHttpAuthSchemeConfig = (config) => {
|
|
|
279
279
|
exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;
|
|
280
280
|
|
|
281
281
|
|
|
282
|
+
/***/ }),
|
|
283
|
+
|
|
284
|
+
/***/ 9239:
|
|
285
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
286
|
+
|
|
287
|
+
|
|
288
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
289
|
+
exports.bdd = void 0;
|
|
290
|
+
const util_endpoints_1 = __webpack_require__(9674);
|
|
291
|
+
const k = "ref";
|
|
292
|
+
const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = { [k]: "Endpoint" }, h = { [k]: d }, i = {}, j = [{ [k]: "Region" }];
|
|
293
|
+
const _data = {
|
|
294
|
+
conditions: [
|
|
295
|
+
[c, [g]],
|
|
296
|
+
[c, j],
|
|
297
|
+
["aws.partition", j, d],
|
|
298
|
+
[e, [{ [k]: "UseFIPS" }, b]],
|
|
299
|
+
[e, [{ [k]: "UseDualStack" }, b]],
|
|
300
|
+
[e, [{ fn: f, argv: [h, "supportsDualStack"] }, b]],
|
|
301
|
+
[e, [{ fn: f, argv: [h, "supportsFIPS"] }, b]],
|
|
302
|
+
["stringEquals", [{ fn: f, argv: [h, "name"] }, "aws-us-gov"]],
|
|
303
|
+
],
|
|
304
|
+
results: [
|
|
305
|
+
[a],
|
|
306
|
+
[a, "Invalid Configuration: FIPS and custom endpoint are not supported"],
|
|
307
|
+
[a, "Invalid Configuration: Dualstack and custom endpoint are not supported"],
|
|
308
|
+
[g, i],
|
|
309
|
+
["https://portal.sso-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
|
|
310
|
+
[a, "FIPS and DualStack are enabled, but this partition does not support one or both"],
|
|
311
|
+
["https://portal.sso.{Region}.amazonaws.com", i],
|
|
312
|
+
["https://portal.sso-fips.{Region}.{PartitionResult#dnsSuffix}", i],
|
|
313
|
+
[a, "FIPS is enabled but this partition does not support FIPS"],
|
|
314
|
+
["https://portal.sso.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
|
|
315
|
+
[a, "DualStack is enabled but this partition does not support DualStack"],
|
|
316
|
+
["https://portal.sso.{Region}.{PartitionResult#dnsSuffix}", i],
|
|
317
|
+
[a, "Invalid Configuration: Missing Region"],
|
|
318
|
+
],
|
|
319
|
+
};
|
|
320
|
+
const root = 2;
|
|
321
|
+
const r = 100_000_000;
|
|
322
|
+
const nodes = new Int32Array([
|
|
323
|
+
-1,
|
|
324
|
+
1,
|
|
325
|
+
-1,
|
|
326
|
+
0,
|
|
327
|
+
13,
|
|
328
|
+
3,
|
|
329
|
+
1,
|
|
330
|
+
4,
|
|
331
|
+
r + 12,
|
|
332
|
+
2,
|
|
333
|
+
5,
|
|
334
|
+
r + 12,
|
|
335
|
+
3,
|
|
336
|
+
8,
|
|
337
|
+
6,
|
|
338
|
+
4,
|
|
339
|
+
7,
|
|
340
|
+
r + 11,
|
|
341
|
+
5,
|
|
342
|
+
r + 9,
|
|
343
|
+
r + 10,
|
|
344
|
+
4,
|
|
345
|
+
11,
|
|
346
|
+
9,
|
|
347
|
+
6,
|
|
348
|
+
10,
|
|
349
|
+
r + 8,
|
|
350
|
+
7,
|
|
351
|
+
r + 6,
|
|
352
|
+
r + 7,
|
|
353
|
+
5,
|
|
354
|
+
12,
|
|
355
|
+
r + 5,
|
|
356
|
+
6,
|
|
357
|
+
r + 4,
|
|
358
|
+
r + 5,
|
|
359
|
+
3,
|
|
360
|
+
r + 1,
|
|
361
|
+
14,
|
|
362
|
+
4,
|
|
363
|
+
r + 2,
|
|
364
|
+
r + 3,
|
|
365
|
+
]);
|
|
366
|
+
exports.bdd = util_endpoints_1.BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
|
|
367
|
+
|
|
368
|
+
|
|
282
369
|
/***/ }),
|
|
283
370
|
|
|
284
371
|
/***/ 5074:
|
|
@@ -289,13 +376,13 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
289
376
|
exports.defaultEndpointResolver = void 0;
|
|
290
377
|
const util_endpoints_1 = __webpack_require__(3068);
|
|
291
378
|
const util_endpoints_2 = __webpack_require__(9674);
|
|
292
|
-
const
|
|
379
|
+
const bdd_1 = __webpack_require__(9239);
|
|
293
380
|
const cache = new util_endpoints_2.EndpointCache({
|
|
294
381
|
size: 50,
|
|
295
382
|
params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
|
|
296
383
|
});
|
|
297
384
|
const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
298
|
-
return cache.get(endpointParams, () => (0, util_endpoints_2.
|
|
385
|
+
return cache.get(endpointParams, () => (0, util_endpoints_2.decideEndpoint)(bdd_1.bdd, {
|
|
299
386
|
endpointParams: endpointParams,
|
|
300
387
|
logger: context.logger,
|
|
301
388
|
}));
|
|
@@ -304,119 +391,6 @@ exports.defaultEndpointResolver = defaultEndpointResolver;
|
|
|
304
391
|
util_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;
|
|
305
392
|
|
|
306
393
|
|
|
307
|
-
/***/ }),
|
|
308
|
-
|
|
309
|
-
/***/ 203:
|
|
310
|
-
/***/ ((__unused_webpack_module, exports) => {
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
314
|
-
exports.ruleSet = void 0;
|
|
315
|
-
const u = "required", v = "fn", w = "argv", x = "ref";
|
|
316
|
-
const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = "getAttr", i = { [u]: false, type: "string" }, j = { [u]: true, default: false, type: "boolean" }, k = { [x]: "Endpoint" }, l = { [v]: c, [w]: [{ [x]: "UseFIPS" }, true] }, m = { [v]: c, [w]: [{ [x]: "UseDualStack" }, true] }, n = {}, o = { [v]: h, [w]: [{ [x]: g }, "supportsFIPS"] }, p = { [x]: g }, q = { [v]: c, [w]: [true, { [v]: h, [w]: [p, "supportsDualStack"] }] }, r = [l], s = [m], t = [{ [x]: "Region" }];
|
|
317
|
-
const _data = {
|
|
318
|
-
version: "1.0",
|
|
319
|
-
parameters: { Region: i, UseDualStack: j, UseFIPS: j, Endpoint: i },
|
|
320
|
-
rules: [
|
|
321
|
-
{
|
|
322
|
-
conditions: [{ [v]: b, [w]: [k] }],
|
|
323
|
-
rules: [
|
|
324
|
-
{ conditions: r, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d },
|
|
325
|
-
{ conditions: s, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d },
|
|
326
|
-
{ endpoint: { url: k, properties: n, headers: n }, type: e },
|
|
327
|
-
],
|
|
328
|
-
type: f,
|
|
329
|
-
},
|
|
330
|
-
{
|
|
331
|
-
conditions: [{ [v]: b, [w]: t }],
|
|
332
|
-
rules: [
|
|
333
|
-
{
|
|
334
|
-
conditions: [{ [v]: "aws.partition", [w]: t, assign: g }],
|
|
335
|
-
rules: [
|
|
336
|
-
{
|
|
337
|
-
conditions: [l, m],
|
|
338
|
-
rules: [
|
|
339
|
-
{
|
|
340
|
-
conditions: [{ [v]: c, [w]: [a, o] }, q],
|
|
341
|
-
rules: [
|
|
342
|
-
{
|
|
343
|
-
endpoint: {
|
|
344
|
-
url: "https://portal.sso-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
|
|
345
|
-
properties: n,
|
|
346
|
-
headers: n,
|
|
347
|
-
},
|
|
348
|
-
type: e,
|
|
349
|
-
},
|
|
350
|
-
],
|
|
351
|
-
type: f,
|
|
352
|
-
},
|
|
353
|
-
{ error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d },
|
|
354
|
-
],
|
|
355
|
-
type: f,
|
|
356
|
-
},
|
|
357
|
-
{
|
|
358
|
-
conditions: r,
|
|
359
|
-
rules: [
|
|
360
|
-
{
|
|
361
|
-
conditions: [{ [v]: c, [w]: [o, a] }],
|
|
362
|
-
rules: [
|
|
363
|
-
{
|
|
364
|
-
conditions: [{ [v]: "stringEquals", [w]: [{ [v]: h, [w]: [p, "name"] }, "aws-us-gov"] }],
|
|
365
|
-
endpoint: { url: "https://portal.sso.{Region}.amazonaws.com", properties: n, headers: n },
|
|
366
|
-
type: e,
|
|
367
|
-
},
|
|
368
|
-
{
|
|
369
|
-
endpoint: {
|
|
370
|
-
url: "https://portal.sso-fips.{Region}.{PartitionResult#dnsSuffix}",
|
|
371
|
-
properties: n,
|
|
372
|
-
headers: n,
|
|
373
|
-
},
|
|
374
|
-
type: e,
|
|
375
|
-
},
|
|
376
|
-
],
|
|
377
|
-
type: f,
|
|
378
|
-
},
|
|
379
|
-
{ error: "FIPS is enabled but this partition does not support FIPS", type: d },
|
|
380
|
-
],
|
|
381
|
-
type: f,
|
|
382
|
-
},
|
|
383
|
-
{
|
|
384
|
-
conditions: s,
|
|
385
|
-
rules: [
|
|
386
|
-
{
|
|
387
|
-
conditions: [q],
|
|
388
|
-
rules: [
|
|
389
|
-
{
|
|
390
|
-
endpoint: {
|
|
391
|
-
url: "https://portal.sso.{Region}.{PartitionResult#dualStackDnsSuffix}",
|
|
392
|
-
properties: n,
|
|
393
|
-
headers: n,
|
|
394
|
-
},
|
|
395
|
-
type: e,
|
|
396
|
-
},
|
|
397
|
-
],
|
|
398
|
-
type: f,
|
|
399
|
-
},
|
|
400
|
-
{ error: "DualStack is enabled but this partition does not support DualStack", type: d },
|
|
401
|
-
],
|
|
402
|
-
type: f,
|
|
403
|
-
},
|
|
404
|
-
{
|
|
405
|
-
endpoint: { url: "https://portal.sso.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n },
|
|
406
|
-
type: e,
|
|
407
|
-
},
|
|
408
|
-
],
|
|
409
|
-
type: f,
|
|
410
|
-
},
|
|
411
|
-
],
|
|
412
|
-
type: f,
|
|
413
|
-
},
|
|
414
|
-
{ error: "Invalid Configuration: Missing Region", type: d },
|
|
415
|
-
],
|
|
416
|
-
};
|
|
417
|
-
exports.ruleSet = _data;
|
|
418
|
-
|
|
419
|
-
|
|
420
394
|
/***/ }),
|
|
421
395
|
|
|
422
396
|
/***/ 2579:
|
|
@@ -1049,7 +1023,7 @@ exports.nodeProvider = nodeProvider;
|
|
|
1049
1023
|
/***/ 9955:
|
|
1050
1024
|
/***/ ((module) => {
|
|
1051
1025
|
|
|
1052
|
-
module.exports = /*#__PURE__*/JSON.parse('{"name":"@aws-sdk/nested-clients","version":"3.
|
|
1026
|
+
module.exports = /*#__PURE__*/JSON.parse('{"name":"@aws-sdk/nested-clients","version":"3.997.0","description":"Nested clients for AWS SDK packages.","main":"./dist-cjs/index.js","module":"./dist-es/index.js","types":"./dist-types/index.d.ts","scripts":{"build":"yarn lint && concurrently \'yarn:build:types\' \'yarn:build:es\' && yarn build:cjs","build:cjs":"node ../../scripts/compilation/inline nested-clients","build:es":"tsc -p tsconfig.es.json","build:include:deps":"yarn g:turbo run build -F=\\"$npm_package_name\\"","build:types":"tsc -p tsconfig.types.json","build:types:downlevel":"downlevel-dts dist-types dist-types/ts3.4","clean":"premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo","lint":"node ../../scripts/validation/submodules-linter.js --pkg nested-clients","test":"yarn g:vitest run","test:watch":"yarn g:vitest watch"},"engines":{"node":">=20.0.0"},"sideEffects":false,"author":{"name":"AWS SDK for JavaScript Team","url":"https://aws.amazon.com/javascript/"},"license":"Apache-2.0","dependencies":{"@aws-crypto/sha256-browser":"5.2.0","@aws-crypto/sha256-js":"5.2.0","@aws-sdk/core":"^3.974.2","@aws-sdk/middleware-host-header":"^3.972.10","@aws-sdk/middleware-logger":"^3.972.10","@aws-sdk/middleware-recursion-detection":"^3.972.11","@aws-sdk/middleware-user-agent":"^3.972.32","@aws-sdk/region-config-resolver":"^3.972.12","@aws-sdk/signature-v4-multi-region":"^3.996.19","@aws-sdk/types":"^3.973.8","@aws-sdk/util-endpoints":"^3.996.7","@aws-sdk/util-user-agent-browser":"^3.972.10","@aws-sdk/util-user-agent-node":"^3.973.18","@smithy/config-resolver":"^4.4.16","@smithy/core":"^3.23.15","@smithy/fetch-http-handler":"^5.3.17","@smithy/hash-node":"^4.2.14","@smithy/invalid-dependency":"^4.2.14","@smithy/middleware-content-length":"^4.2.14","@smithy/middleware-endpoint":"^4.4.30","@smithy/middleware-retry":"^4.5.3","@smithy/middleware-serde":"^4.2.18","@smithy/middleware-stack":"^4.2.14","@smithy/node-config-provider":"^4.3.14","@smithy/node-http-handler":"^4.5.3","@smithy/protocol-http":"^5.3.14","@smithy/smithy-client":"^4.12.11","@smithy/types":"^4.14.1","@smithy/url-parser":"^4.2.14","@smithy/util-base64":"^4.3.2","@smithy/util-body-length-browser":"^4.2.2","@smithy/util-body-length-node":"^4.2.3","@smithy/util-defaults-mode-browser":"^4.3.47","@smithy/util-defaults-mode-node":"^4.2.52","@smithy/util-endpoints":"^3.4.1","@smithy/util-middleware":"^4.2.14","@smithy/util-retry":"^4.3.2","@smithy/util-utf8":"^4.2.2","tslib":"^2.6.2"},"devDependencies":{"concurrently":"7.0.0","downlevel-dts":"0.10.1","premove":"4.0.0","typescript":"~5.8.3"},"typesVersions":{"<4.5":{"dist-types/*":["dist-types/ts3.4/*"]}},"files":["./cognito-identity.d.ts","./cognito-identity.js","./signin.d.ts","./signin.js","./sso-oidc.d.ts","./sso-oidc.js","./sso.d.ts","./sso.js","./sts.d.ts","./sts.js","dist-*/**"],"browser":{"./dist-es/submodules/cognito-identity/runtimeConfig":"./dist-es/submodules/cognito-identity/runtimeConfig.browser","./dist-es/submodules/signin/runtimeConfig":"./dist-es/submodules/signin/runtimeConfig.browser","./dist-es/submodules/sso-oidc/runtimeConfig":"./dist-es/submodules/sso-oidc/runtimeConfig.browser","./dist-es/submodules/sso/runtimeConfig":"./dist-es/submodules/sso/runtimeConfig.browser","./dist-es/submodules/sts/runtimeConfig":"./dist-es/submodules/sts/runtimeConfig.browser"},"react-native":{},"homepage":"https://github.com/aws/aws-sdk-js-v3/tree/main/packages/nested-clients","repository":{"type":"git","url":"https://github.com/aws/aws-sdk-js-v3.git","directory":"packages/nested-clients"},"exports":{"./package.json":"./package.json","./sso-oidc":{"types":"./dist-types/submodules/sso-oidc/index.d.ts","module":"./dist-es/submodules/sso-oidc/index.js","node":"./dist-cjs/submodules/sso-oidc/index.js","import":"./dist-es/submodules/sso-oidc/index.js","require":"./dist-cjs/submodules/sso-oidc/index.js"},"./sts":{"types":"./dist-types/submodules/sts/index.d.ts","module":"./dist-es/submodules/sts/index.js","node":"./dist-cjs/submodules/sts/index.js","import":"./dist-es/submodules/sts/index.js","require":"./dist-cjs/submodules/sts/index.js"},"./signin":{"types":"./dist-types/submodules/signin/index.d.ts","module":"./dist-es/submodules/signin/index.js","node":"./dist-cjs/submodules/signin/index.js","import":"./dist-es/submodules/signin/index.js","require":"./dist-cjs/submodules/signin/index.js"},"./cognito-identity":{"types":"./dist-types/submodules/cognito-identity/index.d.ts","module":"./dist-es/submodules/cognito-identity/index.js","node":"./dist-cjs/submodules/cognito-identity/index.js","import":"./dist-es/submodules/cognito-identity/index.js","require":"./dist-cjs/submodules/cognito-identity/index.js"},"./sso":{"types":"./dist-types/submodules/sso/index.d.ts","module":"./dist-es/submodules/sso/index.js","node":"./dist-cjs/submodules/sso/index.js","import":"./dist-es/submodules/sso/index.js","require":"./dist-cjs/submodules/sso/index.js"}}}');
|
|
1053
1027
|
|
|
1054
1028
|
/***/ })
|
|
1055
1029
|
|