cdk-cost-analyzer 0.1.38 → 0.1.40
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 +164 -20
- package/dist/action/360.index.js +3 -3
- package/dist/action/443.index.js +118 -27
- package/dist/action/579.index.js +4 -1
- package/dist/action/605.index.js +1 -1
- package/dist/action/762.index.js +146 -21
- package/dist/action/869.index.js +1 -1
- package/dist/action/956.index.js +16 -937
- package/dist/action/998.index.js +1074 -1122
- package/dist/action/index.js +3 -3
- package/dist/action/reporter/index.d.ts +1 -0
- package/dist/action/reporter/markdownUtils.d.ts +30 -0
- package/dist/releasetag.txt +1 -1
- package/dist/reporter/Reporter.js +94 -56
- package/dist/reporter/SingleTemplateReporter.js +49 -21
- package/dist/reporter/index.d.ts +1 -0
- package/dist/reporter/index.js +8 -2
- package/dist/reporter/markdownUtils.d.ts +30 -0
- package/dist/reporter/markdownUtils.js +93 -0
- package/package.json +2 -2
|
@@ -2,35 +2,35 @@
|
|
|
2
2
|
"entries": {
|
|
3
3
|
"AmazonS3:US East (N. Virginia):storageClass:General Purpose|volumeType:Standard": {
|
|
4
4
|
"price": 0.023,
|
|
5
|
-
"timestamp":
|
|
5
|
+
"timestamp": 1773084754847
|
|
6
6
|
},
|
|
7
7
|
"AmazonDynamoDB:US East (N. Virginia):group:DDB-ReadUnits|productFamily:Amazon DynamoDB PayPerRequest Throughput": {
|
|
8
8
|
"price": 0.023,
|
|
9
|
-
"timestamp":
|
|
9
|
+
"timestamp": 1773084754856
|
|
10
10
|
},
|
|
11
11
|
"AmazonDynamoDB:US East (N. Virginia):group:DDB-WriteUnits|productFamily:Amazon DynamoDB PayPerRequest Throughput": {
|
|
12
12
|
"price": 0.023,
|
|
13
|
-
"timestamp":
|
|
13
|
+
"timestamp": 1773084754857
|
|
14
14
|
},
|
|
15
15
|
"AmazonEC2:US East (N. Virginia):capacitystatus:Used|instanceType:t3.micro|operatingSystem:Linux|preInstalledSw:NA|tenancy:Shared": {
|
|
16
16
|
"price": 0.023,
|
|
17
|
-
"timestamp":
|
|
17
|
+
"timestamp": 1773084754878
|
|
18
18
|
},
|
|
19
19
|
"AWSLambda:US East (N. Virginia):group:AWS-Lambda-Requests": {
|
|
20
20
|
"price": 0.023,
|
|
21
|
-
"timestamp":
|
|
21
|
+
"timestamp": 1773084754887
|
|
22
22
|
},
|
|
23
23
|
"AWSLambda:US East (N. Virginia):group:AWS-Lambda-Duration": {
|
|
24
24
|
"price": 0.023,
|
|
25
|
-
"timestamp":
|
|
25
|
+
"timestamp": 1773084754887
|
|
26
26
|
},
|
|
27
27
|
"AmazonS3:EU (Frankfurt):storageClass:General Purpose|volumeType:Standard": {
|
|
28
28
|
"price": 0.023,
|
|
29
|
-
"timestamp":
|
|
29
|
+
"timestamp": 1773084763607
|
|
30
30
|
},
|
|
31
31
|
"AmazonS3:invalid-region-123:storageClass:General Purpose|volumeType:Standard": {
|
|
32
32
|
"price": 0.023,
|
|
33
|
-
"timestamp":
|
|
33
|
+
"timestamp": 1773084763651
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
}
|
package/dist/action/136.index.js
CHANGED
|
@@ -241,8 +241,146 @@ util_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunct
|
|
|
241
241
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
242
242
|
exports.ruleSet = void 0;
|
|
243
243
|
const F = "required", G = "type", H = "fn", I = "argv", J = "ref";
|
|
244
|
-
const a = false, b = true, c = "booleanEquals", d = "stringEquals", e = "sigv4", f = "sts", g = "us-east-1", h = "endpoint", i = "https://sts.{Region}.{PartitionResult#dnsSuffix}", j = "tree", k = "error", l = "getAttr", m = { [F]: false, [G]: "string" }, n = { [F]: true,
|
|
245
|
-
|
|
244
|
+
const a = false, b = true, c = "booleanEquals", d = "stringEquals", e = "sigv4", f = "sts", g = "us-east-1", h = "endpoint", i = "https://sts.{Region}.{PartitionResult#dnsSuffix}", j = "tree", k = "error", l = "getAttr", m = { [F]: false, [G]: "string" }, n = { [F]: true, default: false, [G]: "boolean" }, o = { [J]: "Endpoint" }, p = { [H]: "isSet", [I]: [{ [J]: "Region" }] }, q = { [J]: "Region" }, r = { [H]: "aws.partition", [I]: [q], assign: "PartitionResult" }, s = { [J]: "UseFIPS" }, t = { [J]: "UseDualStack" }, u = {
|
|
245
|
+
url: "https://sts.amazonaws.com",
|
|
246
|
+
properties: { authSchemes: [{ name: e, signingName: f, signingRegion: g }] },
|
|
247
|
+
headers: {},
|
|
248
|
+
}, v = {}, w = { conditions: [{ [H]: d, [I]: [q, "aws-global"] }], [h]: u, [G]: h }, x = { [H]: c, [I]: [s, true] }, y = { [H]: c, [I]: [t, true] }, z = { [H]: l, [I]: [{ [J]: "PartitionResult" }, "supportsFIPS"] }, A = { [J]: "PartitionResult" }, B = { [H]: c, [I]: [true, { [H]: l, [I]: [A, "supportsDualStack"] }] }, C = [{ [H]: "isSet", [I]: [o] }], D = [x], E = [y];
|
|
249
|
+
const _data = {
|
|
250
|
+
version: "1.0",
|
|
251
|
+
parameters: { Region: m, UseDualStack: n, UseFIPS: n, Endpoint: m, UseGlobalEndpoint: n },
|
|
252
|
+
rules: [
|
|
253
|
+
{
|
|
254
|
+
conditions: [
|
|
255
|
+
{ [H]: c, [I]: [{ [J]: "UseGlobalEndpoint" }, b] },
|
|
256
|
+
{ [H]: "not", [I]: C },
|
|
257
|
+
p,
|
|
258
|
+
r,
|
|
259
|
+
{ [H]: c, [I]: [s, a] },
|
|
260
|
+
{ [H]: c, [I]: [t, a] },
|
|
261
|
+
],
|
|
262
|
+
rules: [
|
|
263
|
+
{ conditions: [{ [H]: d, [I]: [q, "ap-northeast-1"] }], endpoint: u, [G]: h },
|
|
264
|
+
{ conditions: [{ [H]: d, [I]: [q, "ap-south-1"] }], endpoint: u, [G]: h },
|
|
265
|
+
{ conditions: [{ [H]: d, [I]: [q, "ap-southeast-1"] }], endpoint: u, [G]: h },
|
|
266
|
+
{ conditions: [{ [H]: d, [I]: [q, "ap-southeast-2"] }], endpoint: u, [G]: h },
|
|
267
|
+
w,
|
|
268
|
+
{ conditions: [{ [H]: d, [I]: [q, "ca-central-1"] }], endpoint: u, [G]: h },
|
|
269
|
+
{ conditions: [{ [H]: d, [I]: [q, "eu-central-1"] }], endpoint: u, [G]: h },
|
|
270
|
+
{ conditions: [{ [H]: d, [I]: [q, "eu-north-1"] }], endpoint: u, [G]: h },
|
|
271
|
+
{ conditions: [{ [H]: d, [I]: [q, "eu-west-1"] }], endpoint: u, [G]: h },
|
|
272
|
+
{ conditions: [{ [H]: d, [I]: [q, "eu-west-2"] }], endpoint: u, [G]: h },
|
|
273
|
+
{ conditions: [{ [H]: d, [I]: [q, "eu-west-3"] }], endpoint: u, [G]: h },
|
|
274
|
+
{ conditions: [{ [H]: d, [I]: [q, "sa-east-1"] }], endpoint: u, [G]: h },
|
|
275
|
+
{ conditions: [{ [H]: d, [I]: [q, g] }], endpoint: u, [G]: h },
|
|
276
|
+
{ conditions: [{ [H]: d, [I]: [q, "us-east-2"] }], endpoint: u, [G]: h },
|
|
277
|
+
{ conditions: [{ [H]: d, [I]: [q, "us-west-1"] }], endpoint: u, [G]: h },
|
|
278
|
+
{ conditions: [{ [H]: d, [I]: [q, "us-west-2"] }], endpoint: u, [G]: h },
|
|
279
|
+
{
|
|
280
|
+
endpoint: {
|
|
281
|
+
url: i,
|
|
282
|
+
properties: { authSchemes: [{ name: e, signingName: f, signingRegion: "{Region}" }] },
|
|
283
|
+
headers: v,
|
|
284
|
+
},
|
|
285
|
+
[G]: h,
|
|
286
|
+
},
|
|
287
|
+
],
|
|
288
|
+
[G]: j,
|
|
289
|
+
},
|
|
290
|
+
{
|
|
291
|
+
conditions: C,
|
|
292
|
+
rules: [
|
|
293
|
+
{ conditions: D, error: "Invalid Configuration: FIPS and custom endpoint are not supported", [G]: k },
|
|
294
|
+
{ conditions: E, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", [G]: k },
|
|
295
|
+
{ endpoint: { url: o, properties: v, headers: v }, [G]: h },
|
|
296
|
+
],
|
|
297
|
+
[G]: j,
|
|
298
|
+
},
|
|
299
|
+
{
|
|
300
|
+
conditions: [p],
|
|
301
|
+
rules: [
|
|
302
|
+
{
|
|
303
|
+
conditions: [r],
|
|
304
|
+
rules: [
|
|
305
|
+
{
|
|
306
|
+
conditions: [x, y],
|
|
307
|
+
rules: [
|
|
308
|
+
{
|
|
309
|
+
conditions: [{ [H]: c, [I]: [b, z] }, B],
|
|
310
|
+
rules: [
|
|
311
|
+
{
|
|
312
|
+
endpoint: {
|
|
313
|
+
url: "https://sts-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
|
|
314
|
+
properties: v,
|
|
315
|
+
headers: v,
|
|
316
|
+
},
|
|
317
|
+
[G]: h,
|
|
318
|
+
},
|
|
319
|
+
],
|
|
320
|
+
[G]: j,
|
|
321
|
+
},
|
|
322
|
+
{ error: "FIPS and DualStack are enabled, but this partition does not support one or both", [G]: k },
|
|
323
|
+
],
|
|
324
|
+
[G]: j,
|
|
325
|
+
},
|
|
326
|
+
{
|
|
327
|
+
conditions: D,
|
|
328
|
+
rules: [
|
|
329
|
+
{
|
|
330
|
+
conditions: [{ [H]: c, [I]: [z, b] }],
|
|
331
|
+
rules: [
|
|
332
|
+
{
|
|
333
|
+
conditions: [{ [H]: d, [I]: [{ [H]: l, [I]: [A, "name"] }, "aws-us-gov"] }],
|
|
334
|
+
endpoint: { url: "https://sts.{Region}.amazonaws.com", properties: v, headers: v },
|
|
335
|
+
[G]: h,
|
|
336
|
+
},
|
|
337
|
+
{
|
|
338
|
+
endpoint: {
|
|
339
|
+
url: "https://sts-fips.{Region}.{PartitionResult#dnsSuffix}",
|
|
340
|
+
properties: v,
|
|
341
|
+
headers: v,
|
|
342
|
+
},
|
|
343
|
+
[G]: h,
|
|
344
|
+
},
|
|
345
|
+
],
|
|
346
|
+
[G]: j,
|
|
347
|
+
},
|
|
348
|
+
{ error: "FIPS is enabled but this partition does not support FIPS", [G]: k },
|
|
349
|
+
],
|
|
350
|
+
[G]: j,
|
|
351
|
+
},
|
|
352
|
+
{
|
|
353
|
+
conditions: E,
|
|
354
|
+
rules: [
|
|
355
|
+
{
|
|
356
|
+
conditions: [B],
|
|
357
|
+
rules: [
|
|
358
|
+
{
|
|
359
|
+
endpoint: {
|
|
360
|
+
url: "https://sts.{Region}.{PartitionResult#dualStackDnsSuffix}",
|
|
361
|
+
properties: v,
|
|
362
|
+
headers: v,
|
|
363
|
+
},
|
|
364
|
+
[G]: h,
|
|
365
|
+
},
|
|
366
|
+
],
|
|
367
|
+
[G]: j,
|
|
368
|
+
},
|
|
369
|
+
{ error: "DualStack is enabled but this partition does not support DualStack", [G]: k },
|
|
370
|
+
],
|
|
371
|
+
[G]: j,
|
|
372
|
+
},
|
|
373
|
+
w,
|
|
374
|
+
{ endpoint: { url: i, properties: v, headers: v }, [G]: h },
|
|
375
|
+
],
|
|
376
|
+
[G]: j,
|
|
377
|
+
},
|
|
378
|
+
],
|
|
379
|
+
[G]: j,
|
|
380
|
+
},
|
|
381
|
+
{ error: "Invalid Configuration: Missing Region", [G]: k },
|
|
382
|
+
],
|
|
383
|
+
};
|
|
246
384
|
exports.ruleSet = _data;
|
|
247
385
|
|
|
248
386
|
|
|
@@ -415,37 +553,43 @@ const decorateDefaultCredentialProvider = (provider) => (input) => provider({
|
|
|
415
553
|
...input,
|
|
416
554
|
});
|
|
417
555
|
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
get: function () { return smithyClient.Command; }
|
|
421
|
-
}));
|
|
422
|
-
Object.defineProperty(exports, "STSServiceException", ({
|
|
423
|
-
enumerable: true,
|
|
424
|
-
get: function () { return STSServiceException.STSServiceException; }
|
|
425
|
-
}));
|
|
556
|
+
exports.$Command = smithyClient.Command;
|
|
557
|
+
exports.STSServiceException = STSServiceException.STSServiceException;
|
|
426
558
|
exports.AssumeRoleCommand = AssumeRoleCommand;
|
|
427
559
|
exports.AssumeRoleWithWebIdentityCommand = AssumeRoleWithWebIdentityCommand;
|
|
428
560
|
exports.STS = STS;
|
|
429
561
|
exports.decorateDefaultCredentialProvider = decorateDefaultCredentialProvider;
|
|
430
562
|
exports.getDefaultRoleAssumer = getDefaultRoleAssumer;
|
|
431
563
|
exports.getDefaultRoleAssumerWithWebIdentity = getDefaultRoleAssumerWithWebIdentity;
|
|
432
|
-
Object.
|
|
433
|
-
|
|
564
|
+
Object.prototype.hasOwnProperty.call(STSClient, '__proto__') &&
|
|
565
|
+
!Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
|
|
566
|
+
Object.defineProperty(exports, '__proto__', {
|
|
434
567
|
enumerable: true,
|
|
435
|
-
|
|
568
|
+
value: STSClient['__proto__']
|
|
436
569
|
});
|
|
570
|
+
|
|
571
|
+
Object.keys(STSClient).forEach(function (k) {
|
|
572
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = STSClient[k];
|
|
437
573
|
});
|
|
438
|
-
Object.
|
|
439
|
-
|
|
574
|
+
Object.prototype.hasOwnProperty.call(schemas_0, '__proto__') &&
|
|
575
|
+
!Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
|
|
576
|
+
Object.defineProperty(exports, '__proto__', {
|
|
440
577
|
enumerable: true,
|
|
441
|
-
|
|
578
|
+
value: schemas_0['__proto__']
|
|
442
579
|
});
|
|
580
|
+
|
|
581
|
+
Object.keys(schemas_0).forEach(function (k) {
|
|
582
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = schemas_0[k];
|
|
443
583
|
});
|
|
444
|
-
Object.
|
|
445
|
-
|
|
584
|
+
Object.prototype.hasOwnProperty.call(errors, '__proto__') &&
|
|
585
|
+
!Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
|
|
586
|
+
Object.defineProperty(exports, '__proto__', {
|
|
446
587
|
enumerable: true,
|
|
447
|
-
|
|
588
|
+
value: errors['__proto__']
|
|
448
589
|
});
|
|
590
|
+
|
|
591
|
+
Object.keys(errors).forEach(function (k) {
|
|
592
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = errors[k];
|
|
449
593
|
});
|
|
450
594
|
|
|
451
595
|
|
|
@@ -928,7 +1072,7 @@ exports.AssumeRoleWithWebIdentity$ = [
|
|
|
928
1072
|
/***/ 9955:
|
|
929
1073
|
/***/ ((module) => {
|
|
930
1074
|
|
|
931
|
-
module.exports = /*#__PURE__*/JSON.parse('{"name":"@aws-sdk/nested-clients","version":"3.
|
|
1075
|
+
module.exports = /*#__PURE__*/JSON.parse('{"name":"@aws-sdk/nested-clients","version":"3.996.7","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.973.18","@aws-sdk/middleware-host-header":"^3.972.7","@aws-sdk/middleware-logger":"^3.972.7","@aws-sdk/middleware-recursion-detection":"^3.972.7","@aws-sdk/middleware-user-agent":"^3.972.19","@aws-sdk/region-config-resolver":"^3.972.7","@aws-sdk/types":"^3.973.5","@aws-sdk/util-endpoints":"^3.996.4","@aws-sdk/util-user-agent-browser":"^3.972.7","@aws-sdk/util-user-agent-node":"^3.973.4","@smithy/config-resolver":"^4.4.10","@smithy/core":"^3.23.8","@smithy/fetch-http-handler":"^5.3.13","@smithy/hash-node":"^4.2.11","@smithy/invalid-dependency":"^4.2.11","@smithy/middleware-content-length":"^4.2.11","@smithy/middleware-endpoint":"^4.4.22","@smithy/middleware-retry":"^4.4.39","@smithy/middleware-serde":"^4.2.12","@smithy/middleware-stack":"^4.2.11","@smithy/node-config-provider":"^4.3.11","@smithy/node-http-handler":"^4.4.14","@smithy/protocol-http":"^5.3.11","@smithy/smithy-client":"^4.12.2","@smithy/types":"^4.13.0","@smithy/url-parser":"^4.2.11","@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.38","@smithy/util-defaults-mode-node":"^4.2.41","@smithy/util-endpoints":"^3.3.2","@smithy/util-middleware":"^4.2.11","@smithy/util-retry":"^4.2.11","@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"}}}');
|
|
932
1076
|
|
|
933
1077
|
/***/ })
|
|
934
1078
|
|
package/dist/action/360.index.js
CHANGED
|
@@ -10,8 +10,8 @@ exports.modules = {
|
|
|
10
10
|
|
|
11
11
|
var sharedIniFileLoader = __webpack_require__(4964);
|
|
12
12
|
var propertyProvider = __webpack_require__(1238);
|
|
13
|
-
var
|
|
14
|
-
var
|
|
13
|
+
var node_child_process = __webpack_require__(1421);
|
|
14
|
+
var node_util = __webpack_require__(7975);
|
|
15
15
|
var client = __webpack_require__(5152);
|
|
16
16
|
|
|
17
17
|
const getValidatedProcessCredentials = (profileName, data, profiles) => {
|
|
@@ -49,7 +49,7 @@ const resolveProcessCredentials = async (profileName, profiles, logger) => {
|
|
|
49
49
|
if (profiles[profileName]) {
|
|
50
50
|
const credentialProcess = profile["credential_process"];
|
|
51
51
|
if (credentialProcess !== undefined) {
|
|
52
|
-
const execPromise =
|
|
52
|
+
const execPromise = node_util.promisify(sharedIniFileLoader.externalDataInterceptor?.getTokenRecord?.().exec ?? node_child_process.exec);
|
|
53
53
|
try {
|
|
54
54
|
const { stdout } = await execPromise(credentialProcess);
|
|
55
55
|
let data;
|
package/dist/action/443.index.js
CHANGED
|
@@ -98,8 +98,107 @@ util_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunct
|
|
|
98
98
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
99
99
|
exports.ruleSet = void 0;
|
|
100
100
|
const u = "required", v = "fn", w = "argv", x = "ref";
|
|
101
|
-
const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = "getAttr", i = { [u]: false,
|
|
102
|
-
const _data = {
|
|
101
|
+
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" }];
|
|
102
|
+
const _data = {
|
|
103
|
+
version: "1.0",
|
|
104
|
+
parameters: { Region: i, UseDualStack: j, UseFIPS: j, Endpoint: i },
|
|
105
|
+
rules: [
|
|
106
|
+
{
|
|
107
|
+
conditions: [{ [v]: b, [w]: [k] }],
|
|
108
|
+
rules: [
|
|
109
|
+
{ conditions: r, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d },
|
|
110
|
+
{ conditions: s, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d },
|
|
111
|
+
{ endpoint: { url: k, properties: n, headers: n }, type: e },
|
|
112
|
+
],
|
|
113
|
+
type: f,
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
conditions: [{ [v]: b, [w]: t }],
|
|
117
|
+
rules: [
|
|
118
|
+
{
|
|
119
|
+
conditions: [{ [v]: "aws.partition", [w]: t, assign: g }],
|
|
120
|
+
rules: [
|
|
121
|
+
{
|
|
122
|
+
conditions: [l, m],
|
|
123
|
+
rules: [
|
|
124
|
+
{
|
|
125
|
+
conditions: [{ [v]: c, [w]: [a, o] }, q],
|
|
126
|
+
rules: [
|
|
127
|
+
{
|
|
128
|
+
endpoint: {
|
|
129
|
+
url: "https://oidc-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
|
|
130
|
+
properties: n,
|
|
131
|
+
headers: n,
|
|
132
|
+
},
|
|
133
|
+
type: e,
|
|
134
|
+
},
|
|
135
|
+
],
|
|
136
|
+
type: f,
|
|
137
|
+
},
|
|
138
|
+
{ error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d },
|
|
139
|
+
],
|
|
140
|
+
type: f,
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
conditions: r,
|
|
144
|
+
rules: [
|
|
145
|
+
{
|
|
146
|
+
conditions: [{ [v]: c, [w]: [o, a] }],
|
|
147
|
+
rules: [
|
|
148
|
+
{
|
|
149
|
+
conditions: [{ [v]: "stringEquals", [w]: [{ [v]: h, [w]: [p, "name"] }, "aws-us-gov"] }],
|
|
150
|
+
endpoint: { url: "https://oidc.{Region}.amazonaws.com", properties: n, headers: n },
|
|
151
|
+
type: e,
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
endpoint: {
|
|
155
|
+
url: "https://oidc-fips.{Region}.{PartitionResult#dnsSuffix}",
|
|
156
|
+
properties: n,
|
|
157
|
+
headers: n,
|
|
158
|
+
},
|
|
159
|
+
type: e,
|
|
160
|
+
},
|
|
161
|
+
],
|
|
162
|
+
type: f,
|
|
163
|
+
},
|
|
164
|
+
{ error: "FIPS is enabled but this partition does not support FIPS", type: d },
|
|
165
|
+
],
|
|
166
|
+
type: f,
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
conditions: s,
|
|
170
|
+
rules: [
|
|
171
|
+
{
|
|
172
|
+
conditions: [q],
|
|
173
|
+
rules: [
|
|
174
|
+
{
|
|
175
|
+
endpoint: {
|
|
176
|
+
url: "https://oidc.{Region}.{PartitionResult#dualStackDnsSuffix}",
|
|
177
|
+
properties: n,
|
|
178
|
+
headers: n,
|
|
179
|
+
},
|
|
180
|
+
type: e,
|
|
181
|
+
},
|
|
182
|
+
],
|
|
183
|
+
type: f,
|
|
184
|
+
},
|
|
185
|
+
{ error: "DualStack is enabled but this partition does not support DualStack", type: d },
|
|
186
|
+
],
|
|
187
|
+
type: f,
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
endpoint: { url: "https://oidc.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n },
|
|
191
|
+
type: e,
|
|
192
|
+
},
|
|
193
|
+
],
|
|
194
|
+
type: f,
|
|
195
|
+
},
|
|
196
|
+
],
|
|
197
|
+
type: f,
|
|
198
|
+
},
|
|
199
|
+
{ error: "Invalid Configuration: Missing Region", type: d },
|
|
200
|
+
],
|
|
201
|
+
};
|
|
103
202
|
exports.ruleSet = _data;
|
|
104
203
|
|
|
105
204
|
|
|
@@ -252,34 +351,33 @@ const InvalidRequestExceptionReason = {
|
|
|
252
351
|
KMS_KEY_NOT_FOUND: "KMS_NotFoundException",
|
|
253
352
|
};
|
|
254
353
|
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
}));
|
|
259
|
-
Object.defineProperty(exports, "__Client", ({
|
|
260
|
-
enumerable: true,
|
|
261
|
-
get: function () { return smithyClient.Client; }
|
|
262
|
-
}));
|
|
263
|
-
Object.defineProperty(exports, "SSOOIDCServiceException", ({
|
|
264
|
-
enumerable: true,
|
|
265
|
-
get: function () { return SSOOIDCServiceException.SSOOIDCServiceException; }
|
|
266
|
-
}));
|
|
354
|
+
exports.$Command = smithyClient.Command;
|
|
355
|
+
exports.__Client = smithyClient.Client;
|
|
356
|
+
exports.SSOOIDCServiceException = SSOOIDCServiceException.SSOOIDCServiceException;
|
|
267
357
|
exports.AccessDeniedExceptionReason = AccessDeniedExceptionReason;
|
|
268
358
|
exports.CreateTokenCommand = CreateTokenCommand;
|
|
269
359
|
exports.InvalidRequestExceptionReason = InvalidRequestExceptionReason;
|
|
270
360
|
exports.SSOOIDC = SSOOIDC;
|
|
271
361
|
exports.SSOOIDCClient = SSOOIDCClient;
|
|
272
|
-
Object.
|
|
273
|
-
|
|
362
|
+
Object.prototype.hasOwnProperty.call(schemas_0, '__proto__') &&
|
|
363
|
+
!Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
|
|
364
|
+
Object.defineProperty(exports, '__proto__', {
|
|
274
365
|
enumerable: true,
|
|
275
|
-
|
|
366
|
+
value: schemas_0['__proto__']
|
|
276
367
|
});
|
|
368
|
+
|
|
369
|
+
Object.keys(schemas_0).forEach(function (k) {
|
|
370
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = schemas_0[k];
|
|
277
371
|
});
|
|
278
|
-
Object.
|
|
279
|
-
|
|
372
|
+
Object.prototype.hasOwnProperty.call(errors, '__proto__') &&
|
|
373
|
+
!Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
|
|
374
|
+
Object.defineProperty(exports, '__proto__', {
|
|
280
375
|
enumerable: true,
|
|
281
|
-
|
|
376
|
+
value: errors['__proto__']
|
|
282
377
|
});
|
|
378
|
+
|
|
379
|
+
Object.keys(errors).forEach(function (k) {
|
|
380
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = errors[k];
|
|
283
381
|
});
|
|
284
382
|
|
|
285
383
|
|
|
@@ -767,13 +865,6 @@ exports.CreateToken$ = [
|
|
|
767
865
|
];
|
|
768
866
|
|
|
769
867
|
|
|
770
|
-
/***/ }),
|
|
771
|
-
|
|
772
|
-
/***/ 9955:
|
|
773
|
-
/***/ ((module) => {
|
|
774
|
-
|
|
775
|
-
module.exports = /*#__PURE__*/JSON.parse('{"name":"@aws-sdk/nested-clients","version":"3.990.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.973.10","@aws-sdk/middleware-host-header":"^3.972.3","@aws-sdk/middleware-logger":"^3.972.3","@aws-sdk/middleware-recursion-detection":"^3.972.3","@aws-sdk/middleware-user-agent":"^3.972.10","@aws-sdk/region-config-resolver":"^3.972.3","@aws-sdk/types":"^3.973.1","@aws-sdk/util-endpoints":"3.990.0","@aws-sdk/util-user-agent-browser":"^3.972.3","@aws-sdk/util-user-agent-node":"^3.972.8","@smithy/config-resolver":"^4.4.6","@smithy/core":"^3.23.0","@smithy/fetch-http-handler":"^5.3.9","@smithy/hash-node":"^4.2.8","@smithy/invalid-dependency":"^4.2.8","@smithy/middleware-content-length":"^4.2.8","@smithy/middleware-endpoint":"^4.4.14","@smithy/middleware-retry":"^4.4.31","@smithy/middleware-serde":"^4.2.9","@smithy/middleware-stack":"^4.2.8","@smithy/node-config-provider":"^4.3.8","@smithy/node-http-handler":"^4.4.10","@smithy/protocol-http":"^5.3.8","@smithy/smithy-client":"^4.11.3","@smithy/types":"^4.12.0","@smithy/url-parser":"^4.2.8","@smithy/util-base64":"^4.3.0","@smithy/util-body-length-browser":"^4.2.0","@smithy/util-body-length-node":"^4.2.1","@smithy/util-defaults-mode-browser":"^4.3.30","@smithy/util-defaults-mode-node":"^4.2.33","@smithy/util-endpoints":"^3.2.8","@smithy/util-middleware":"^4.2.8","@smithy/util-retry":"^4.2.8","@smithy/util-utf8":"^4.2.0","tslib":"^2.6.2"},"devDependencies":{"concurrently":"7.0.0","downlevel-dts":"0.10.1","premove":"4.0.0","typescript":"~5.8.3"},"typesVersions":{"<4.0":{"dist-types/*":["dist-types/ts3.4/*"]}},"files":["./signin.d.ts","./signin.js","./sso-oidc.d.ts","./sso-oidc.js","./sts.d.ts","./sts.js","dist-*/**"],"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/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"}}}');
|
|
776
|
-
|
|
777
868
|
/***/ })
|
|
778
869
|
|
|
779
870
|
};
|
package/dist/action/579.index.js
CHANGED
|
@@ -244,11 +244,14 @@ class EventStreamSerde {
|
|
|
244
244
|
serializer.write(eventSchema, event[unionMember]);
|
|
245
245
|
}
|
|
246
246
|
}
|
|
247
|
+
else if (eventSchema.isUnitSchema()) {
|
|
248
|
+
serializer.write(eventSchema, {});
|
|
249
|
+
}
|
|
247
250
|
else {
|
|
248
251
|
throw new Error("@smithy/core/event-streams - non-struct member not supported in event stream union.");
|
|
249
252
|
}
|
|
250
253
|
}
|
|
251
|
-
const messageSerialization = serializer.flush();
|
|
254
|
+
const messageSerialization = serializer.flush() ?? new Uint8Array();
|
|
252
255
|
const body = typeof messageSerialization === "string"
|
|
253
256
|
? (this.serdeContext?.utf8Decoder ?? utilUtf8.fromUtf8)(messageSerialization)
|
|
254
257
|
: messageSerialization;
|
package/dist/action/605.index.js
CHANGED
|
@@ -66,7 +66,7 @@ const tslib_1 = __webpack_require__(1860);
|
|
|
66
66
|
const client_1 = __webpack_require__(5152);
|
|
67
67
|
const node_http_handler_1 = __webpack_require__(1279);
|
|
68
68
|
const property_provider_1 = __webpack_require__(1238);
|
|
69
|
-
const promises_1 = tslib_1.__importDefault(__webpack_require__(
|
|
69
|
+
const promises_1 = tslib_1.__importDefault(__webpack_require__(1455));
|
|
70
70
|
const checkUrl_1 = __webpack_require__(1509);
|
|
71
71
|
const requestHelpers_1 = __webpack_require__(8914);
|
|
72
72
|
const retry_wrapper_1 = __webpack_require__(1122);
|