cdk-cost-analyzer 0.1.37 → 0.1.39
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/releasetag.txt +1 -1
- package/package.json +2 -2
package/dist/action/762.index.js
CHANGED
|
@@ -98,8 +98,134 @@ 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 = "stringEquals", i = { [u]: true,
|
|
102
|
-
const _data = {
|
|
101
|
+
const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = "stringEquals", i = { [u]: true, default: false, type: "boolean" }, j = { [u]: false, type: "string" }, k = { [x]: "Endpoint" }, l = { [v]: c, [w]: [{ [x]: "UseFIPS" }, true] }, m = { [v]: c, [w]: [{ [x]: "UseDualStack" }, true] }, n = {}, o = { [v]: "getAttr", [w]: [{ [x]: g }, "name"] }, p = { [v]: c, [w]: [{ [x]: "UseFIPS" }, false] }, q = { [v]: c, [w]: [{ [x]: "UseDualStack" }, false] }, r = { [v]: "getAttr", [w]: [{ [x]: g }, "supportsFIPS"] }, s = { [v]: c, [w]: [true, { [v]: "getAttr", [w]: [{ [x]: g }, "supportsDualStack"] }] }, t = [{ [x]: "Region" }];
|
|
102
|
+
const _data = {
|
|
103
|
+
version: "1.0",
|
|
104
|
+
parameters: { UseDualStack: i, UseFIPS: i, Endpoint: j, Region: j },
|
|
105
|
+
rules: [
|
|
106
|
+
{
|
|
107
|
+
conditions: [{ [v]: b, [w]: [k] }],
|
|
108
|
+
rules: [
|
|
109
|
+
{ conditions: [l], error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d },
|
|
110
|
+
{
|
|
111
|
+
rules: [
|
|
112
|
+
{
|
|
113
|
+
conditions: [m],
|
|
114
|
+
error: "Invalid Configuration: Dualstack and custom endpoint are not supported",
|
|
115
|
+
type: d,
|
|
116
|
+
},
|
|
117
|
+
{ endpoint: { url: k, properties: n, headers: n }, type: e },
|
|
118
|
+
],
|
|
119
|
+
type: f,
|
|
120
|
+
},
|
|
121
|
+
],
|
|
122
|
+
type: f,
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
rules: [
|
|
126
|
+
{
|
|
127
|
+
conditions: [{ [v]: b, [w]: t }],
|
|
128
|
+
rules: [
|
|
129
|
+
{
|
|
130
|
+
conditions: [{ [v]: "aws.partition", [w]: t, assign: g }],
|
|
131
|
+
rules: [
|
|
132
|
+
{
|
|
133
|
+
conditions: [{ [v]: h, [w]: [o, "aws"] }, p, q],
|
|
134
|
+
endpoint: { url: "https://{Region}.signin.aws.amazon.com", properties: n, headers: n },
|
|
135
|
+
type: e,
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
conditions: [{ [v]: h, [w]: [o, "aws-cn"] }, p, q],
|
|
139
|
+
endpoint: { url: "https://{Region}.signin.amazonaws.cn", properties: n, headers: n },
|
|
140
|
+
type: e,
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
conditions: [{ [v]: h, [w]: [o, "aws-us-gov"] }, p, q],
|
|
144
|
+
endpoint: { url: "https://{Region}.signin.amazonaws-us-gov.com", properties: n, headers: n },
|
|
145
|
+
type: e,
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
conditions: [l, m],
|
|
149
|
+
rules: [
|
|
150
|
+
{
|
|
151
|
+
conditions: [{ [v]: c, [w]: [a, r] }, s],
|
|
152
|
+
rules: [
|
|
153
|
+
{
|
|
154
|
+
endpoint: {
|
|
155
|
+
url: "https://signin-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
|
|
156
|
+
properties: n,
|
|
157
|
+
headers: n,
|
|
158
|
+
},
|
|
159
|
+
type: e,
|
|
160
|
+
},
|
|
161
|
+
],
|
|
162
|
+
type: f,
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
error: "FIPS and DualStack are enabled, but this partition does not support one or both",
|
|
166
|
+
type: d,
|
|
167
|
+
},
|
|
168
|
+
],
|
|
169
|
+
type: f,
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
conditions: [l, q],
|
|
173
|
+
rules: [
|
|
174
|
+
{
|
|
175
|
+
conditions: [{ [v]: c, [w]: [r, a] }],
|
|
176
|
+
rules: [
|
|
177
|
+
{
|
|
178
|
+
endpoint: {
|
|
179
|
+
url: "https://signin-fips.{Region}.{PartitionResult#dnsSuffix}",
|
|
180
|
+
properties: n,
|
|
181
|
+
headers: n,
|
|
182
|
+
},
|
|
183
|
+
type: e,
|
|
184
|
+
},
|
|
185
|
+
],
|
|
186
|
+
type: f,
|
|
187
|
+
},
|
|
188
|
+
{ error: "FIPS is enabled but this partition does not support FIPS", type: d },
|
|
189
|
+
],
|
|
190
|
+
type: f,
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
conditions: [p, m],
|
|
194
|
+
rules: [
|
|
195
|
+
{
|
|
196
|
+
conditions: [s],
|
|
197
|
+
rules: [
|
|
198
|
+
{
|
|
199
|
+
endpoint: {
|
|
200
|
+
url: "https://signin.{Region}.{PartitionResult#dualStackDnsSuffix}",
|
|
201
|
+
properties: n,
|
|
202
|
+
headers: n,
|
|
203
|
+
},
|
|
204
|
+
type: e,
|
|
205
|
+
},
|
|
206
|
+
],
|
|
207
|
+
type: f,
|
|
208
|
+
},
|
|
209
|
+
{ error: "DualStack is enabled but this partition does not support DualStack", type: d },
|
|
210
|
+
],
|
|
211
|
+
type: f,
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
endpoint: { url: "https://signin.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n },
|
|
215
|
+
type: e,
|
|
216
|
+
},
|
|
217
|
+
],
|
|
218
|
+
type: f,
|
|
219
|
+
},
|
|
220
|
+
],
|
|
221
|
+
type: f,
|
|
222
|
+
},
|
|
223
|
+
{ error: "Invalid Configuration: Missing Region", type: d },
|
|
224
|
+
],
|
|
225
|
+
type: f,
|
|
226
|
+
},
|
|
227
|
+
],
|
|
228
|
+
};
|
|
103
229
|
exports.ruleSet = _data;
|
|
104
230
|
|
|
105
231
|
|
|
@@ -251,33 +377,32 @@ const OAuth2ErrorCode = {
|
|
|
251
377
|
USER_CREDENTIALS_CHANGED: "USER_CREDENTIALS_CHANGED",
|
|
252
378
|
};
|
|
253
379
|
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
}));
|
|
258
|
-
Object.defineProperty(exports, "__Client", ({
|
|
259
|
-
enumerable: true,
|
|
260
|
-
get: function () { return smithyClient.Client; }
|
|
261
|
-
}));
|
|
262
|
-
Object.defineProperty(exports, "SigninServiceException", ({
|
|
263
|
-
enumerable: true,
|
|
264
|
-
get: function () { return SigninServiceException.SigninServiceException; }
|
|
265
|
-
}));
|
|
380
|
+
exports.$Command = smithyClient.Command;
|
|
381
|
+
exports.__Client = smithyClient.Client;
|
|
382
|
+
exports.SigninServiceException = SigninServiceException.SigninServiceException;
|
|
266
383
|
exports.CreateOAuth2TokenCommand = CreateOAuth2TokenCommand;
|
|
267
384
|
exports.OAuth2ErrorCode = OAuth2ErrorCode;
|
|
268
385
|
exports.Signin = Signin;
|
|
269
386
|
exports.SigninClient = SigninClient;
|
|
270
|
-
Object.
|
|
271
|
-
|
|
387
|
+
Object.prototype.hasOwnProperty.call(schemas_0, '__proto__') &&
|
|
388
|
+
!Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
|
|
389
|
+
Object.defineProperty(exports, '__proto__', {
|
|
272
390
|
enumerable: true,
|
|
273
|
-
|
|
391
|
+
value: schemas_0['__proto__']
|
|
274
392
|
});
|
|
393
|
+
|
|
394
|
+
Object.keys(schemas_0).forEach(function (k) {
|
|
395
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = schemas_0[k];
|
|
275
396
|
});
|
|
276
|
-
Object.
|
|
277
|
-
|
|
397
|
+
Object.prototype.hasOwnProperty.call(errors, '__proto__') &&
|
|
398
|
+
!Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
|
|
399
|
+
Object.defineProperty(exports, '__proto__', {
|
|
278
400
|
enumerable: true,
|
|
279
|
-
|
|
401
|
+
value: errors['__proto__']
|
|
280
402
|
});
|
|
403
|
+
|
|
404
|
+
Object.keys(errors).forEach(function (k) {
|
|
405
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = errors[k];
|
|
281
406
|
});
|
|
282
407
|
|
|
283
408
|
|
|
@@ -624,7 +749,7 @@ exports.CreateOAuth2Token$ = [
|
|
|
624
749
|
/***/ 9955:
|
|
625
750
|
/***/ ((module) => {
|
|
626
751
|
|
|
627
|
-
module.exports = /*#__PURE__*/JSON.parse('{"name":"@aws-sdk/nested-clients","version":"3.
|
|
752
|
+
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"}}}');
|
|
628
753
|
|
|
629
754
|
/***/ })
|
|
630
755
|
|
package/dist/action/869.index.js
CHANGED
|
@@ -184,7 +184,7 @@ const isWebIdentityProfile = (arg) => Boolean(arg) &&
|
|
|
184
184
|
typeof arg.web_identity_token_file === "string" &&
|
|
185
185
|
typeof arg.role_arn === "string" &&
|
|
186
186
|
["undefined", "string"].indexOf(typeof arg.role_session_name) > -1;
|
|
187
|
-
const resolveWebIdentityCredentials = async (profile, options, callerClientConfig) =>
|
|
187
|
+
const resolveWebIdentityCredentials = async (profile, options, callerClientConfig) => Promise.all(/* import() */[__webpack_require__.e(136), __webpack_require__.e(956)]).then(__webpack_require__.t.bind(__webpack_require__, 9956, 23)).then(({ fromTokenFile }) => fromTokenFile({
|
|
188
188
|
webIdentityTokenFile: profile.web_identity_token_file,
|
|
189
189
|
roleArn: profile.role_arn,
|
|
190
190
|
roleSessionName: profile.role_session_name,
|