@cdk8s/awscdk-resolver 0.0.270 → 0.0.271
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/.jsii +3 -3
- package/lib/resolve.js +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/auth/httpAuthSchemeProvider.js +1 -3
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/index.js +17 -18
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/CloudFormationClient.js +2 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/auth/httpAuthSchemeProvider.js +1 -3
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/endpoint/EndpointParameters.js +2 -3
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/runtimeExtensions.js +2 -14
- package/node_modules/@aws-sdk/client-cloudformation/package.json +34 -34
- package/node_modules/@aws-sdk/client-sso/dist-cjs/auth/httpAuthSchemeProvider.js +1 -3
- package/node_modules/@aws-sdk/client-sso/dist-cjs/index.js +17 -18
- package/node_modules/@aws-sdk/client-sso/dist-es/SSOClient.js +2 -1
- package/node_modules/@aws-sdk/client-sso/dist-es/auth/httpAuthSchemeProvider.js +1 -3
- package/node_modules/@aws-sdk/client-sso/dist-es/endpoint/EndpointParameters.js +2 -3
- package/node_modules/@aws-sdk/client-sso/dist-es/runtimeExtensions.js +2 -14
- package/node_modules/@aws-sdk/client-sso/package.json +32 -32
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/account-id-endpoint/index.js +4 -6
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +79 -30
- package/node_modules/@aws-sdk/core/dist-es/submodules/account-id-endpoint/AccountIdEndpointModeConfigResolver.js +4 -4
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.js +70 -27
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.d.ts +20 -2
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.d.ts +11 -1
- package/node_modules/@aws-sdk/core/package.json +10 -10
- package/node_modules/@aws-sdk/credential-provider-env/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-http/package.json +10 -10
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +13 -13
- package/node_modules/@aws-sdk/credential-provider-node/package.json +12 -12
- package/node_modules/@aws-sdk/credential-provider-process/package.json +6 -6
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +6 -6
- package/node_modules/@aws-sdk/middleware-host-header/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-logger/dist-cjs/index.js +5 -5
- package/node_modules/@aws-sdk/middleware-logger/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js +4 -4
- package/node_modules/@aws-sdk/middleware-user-agent/dist-es/configurations.js +4 -4
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +7 -7
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/auth/httpAuthSchemeProvider.js +1 -3
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +17 -18
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/STSClient.js +2 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/auth/httpAuthSchemeProvider.js +2 -5
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/EndpointParameters.js +2 -3
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeExtensions.js +2 -14
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/SSOOIDCClient.js +2 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/auth/httpAuthSchemeProvider.js +1 -3
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/EndpointParameters.js +2 -3
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeExtensions.js +2 -14
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/STSClient.js +2 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/auth/httpAuthSchemeProvider.js +2 -5
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/EndpointParameters.js +2 -3
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeExtensions.js +2 -14
- package/node_modules/@aws-sdk/nested-clients/package.json +36 -36
- package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/index.js +15 -26
- package/node_modules/@aws-sdk/region-config-resolver/dist-es/extensions/index.js +2 -12
- package/node_modules/@aws-sdk/region-config-resolver/dist-es/regionConfig/resolveRegionConfig.js +2 -3
- package/node_modules/@aws-sdk/region-config-resolver/package.json +5 -5
- package/node_modules/@aws-sdk/token-providers/package.json +6 -6
- package/node_modules/@aws-sdk/types/dist-cjs/index.js +3 -3
- package/node_modules/@aws-sdk/types/dist-es/function.js +1 -0
- package/node_modules/@aws-sdk/types/dist-es/index.js +1 -0
- package/node_modules/@aws-sdk/types/dist-types/function.d.ts +7 -0
- package/node_modules/@aws-sdk/types/dist-types/index.d.ts +1 -0
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/function.d.ts +7 -0
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/index.d.ts +1 -0
- package/node_modules/@aws-sdk/types/package.json +2 -2
- package/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +5 -7
- package/node_modules/@aws-sdk/util-endpoints/package.json +4 -4
- package/node_modules/@aws-sdk/util-user-agent-browser/package.json +3 -3
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +5 -5
- package/package.json +3 -3
@@ -1,20 +1,10 @@
|
|
1
1
|
export const getAwsRegionExtensionConfiguration = (runtimeConfig) => {
|
2
|
-
let runtimeConfigRegion = async () => {
|
3
|
-
if (runtimeConfig.region === undefined) {
|
4
|
-
throw new Error("Region is missing from runtimeConfig");
|
5
|
-
}
|
6
|
-
const region = runtimeConfig.region;
|
7
|
-
if (typeof region === "string") {
|
8
|
-
return region;
|
9
|
-
}
|
10
|
-
return region();
|
11
|
-
};
|
12
2
|
return {
|
13
3
|
setRegion(region) {
|
14
|
-
|
4
|
+
runtimeConfig.region = region;
|
15
5
|
},
|
16
6
|
region() {
|
17
|
-
return
|
7
|
+
return runtimeConfig.region;
|
18
8
|
},
|
19
9
|
};
|
20
10
|
};
|
package/node_modules/@aws-sdk/region-config-resolver/dist-es/regionConfig/resolveRegionConfig.js
CHANGED
@@ -5,8 +5,7 @@ export const resolveRegionConfig = (input) => {
|
|
5
5
|
if (!region) {
|
6
6
|
throw new Error("Region is missing");
|
7
7
|
}
|
8
|
-
return {
|
9
|
-
...input,
|
8
|
+
return Object.assign(input, {
|
10
9
|
region: async () => {
|
11
10
|
if (typeof region === "string") {
|
12
11
|
return getRealRegion(region);
|
@@ -21,5 +20,5 @@ export const resolveRegionConfig = (input) => {
|
|
21
20
|
}
|
22
21
|
return typeof useFipsEndpoint !== "function" ? Promise.resolve(!!useFipsEndpoint) : useFipsEndpoint();
|
23
22
|
},
|
24
|
-
};
|
23
|
+
});
|
25
24
|
};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-sdk/region-config-resolver",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.775.0",
|
4
4
|
"scripts": {
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
6
6
|
"build:cjs": "node ../../scripts/compilation/inline region-config-resolver",
|
@@ -22,11 +22,11 @@
|
|
22
22
|
},
|
23
23
|
"license": "Apache-2.0",
|
24
24
|
"dependencies": {
|
25
|
-
"@aws-sdk/types": "3.
|
26
|
-
"@smithy/node-config-provider": "^4.0.
|
27
|
-
"@smithy/types": "^4.
|
25
|
+
"@aws-sdk/types": "3.775.0",
|
26
|
+
"@smithy/node-config-provider": "^4.0.2",
|
27
|
+
"@smithy/types": "^4.2.0",
|
28
28
|
"@smithy/util-config-provider": "^4.0.0",
|
29
|
-
"@smithy/util-middleware": "^4.0.
|
29
|
+
"@smithy/util-middleware": "^4.0.2",
|
30
30
|
"tslib": "^2.6.2"
|
31
31
|
},
|
32
32
|
"devDependencies": {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-sdk/token-providers",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.775.0",
|
4
4
|
"description": "A collection of token providers",
|
5
5
|
"main": "./dist-cjs/index.js",
|
6
6
|
"module": "./dist-es/index.js",
|
@@ -27,11 +27,11 @@
|
|
27
27
|
},
|
28
28
|
"license": "Apache-2.0",
|
29
29
|
"dependencies": {
|
30
|
-
"@aws-sdk/nested-clients": "3.
|
31
|
-
"@aws-sdk/types": "3.
|
32
|
-
"@smithy/property-provider": "^4.0.
|
33
|
-
"@smithy/shared-ini-file-loader": "^4.0.
|
34
|
-
"@smithy/types": "^4.
|
30
|
+
"@aws-sdk/nested-clients": "3.775.0",
|
31
|
+
"@aws-sdk/types": "3.775.0",
|
32
|
+
"@smithy/property-provider": "^4.0.2",
|
33
|
+
"@smithy/shared-ini-file-loader": "^4.0.2",
|
34
|
+
"@smithy/types": "^4.2.0",
|
35
35
|
"tslib": "^2.6.2"
|
36
36
|
},
|
37
37
|
"devDependencies": {
|
@@ -18,8 +18,8 @@ var __copyProps = (to, from, except, desc) => {
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
19
19
|
|
20
20
|
// src/index.ts
|
21
|
-
var
|
22
|
-
__export(
|
21
|
+
var index_exports = {};
|
22
|
+
__export(index_exports, {
|
23
23
|
AbortController: () => import_types.AbortController,
|
24
24
|
AbortHandler: () => import_types.AbortHandler,
|
25
25
|
AbortSignal: () => import_types.AbortSignal,
|
@@ -191,7 +191,7 @@ __export(src_exports, {
|
|
191
191
|
WithSdkStreamMixin: () => import_types.WithSdkStreamMixin,
|
192
192
|
randomValues: () => import_types.randomValues
|
193
193
|
});
|
194
|
-
module.exports = __toCommonJS(
|
194
|
+
module.exports = __toCommonJS(index_exports);
|
195
195
|
|
196
196
|
// src/abort.ts
|
197
197
|
var import_types = require("@smithy/types");
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1,7 @@
|
|
1
|
+
/**
|
2
|
+
* Resolves a function that accepts both the object argument fields of F1 and F2.
|
3
|
+
* The function returns an intersection of what F1 and F2 return.
|
4
|
+
*
|
5
|
+
* @public
|
6
|
+
*/
|
7
|
+
export type MergeFunctions<F1, F2> = F1 extends (arg: infer A1) => infer R1 ? F2 extends (arg: infer A2) => infer R2 ? R1 extends Promise<unknown> ? (arg?: A1 & A2) => Promise<Awaited<R1> & Awaited<R2>> : (arg?: A1 & A2) => R1 & R2 : never : never;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-sdk/types",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.775.0",
|
4
4
|
"main": "./dist-cjs/index.js",
|
5
5
|
"module": "./dist-es/index.js",
|
6
6
|
"types": "./dist-types/index.d.ts",
|
@@ -41,7 +41,7 @@
|
|
41
41
|
"directory": "packages/types"
|
42
42
|
},
|
43
43
|
"dependencies": {
|
44
|
-
"@smithy/types": "^4.
|
44
|
+
"@smithy/types": "^4.2.0",
|
45
45
|
"tslib": "^2.6.2"
|
46
46
|
},
|
47
47
|
"devDependencies": {
|
@@ -19,8 +19,8 @@ var __copyProps = (to, from, except, desc) => {
|
|
19
19
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
20
20
|
|
21
21
|
// src/index.ts
|
22
|
-
var
|
23
|
-
__export(
|
22
|
+
var index_exports = {};
|
23
|
+
__export(index_exports, {
|
24
24
|
ConditionObject: () => import_util_endpoints.ConditionObject,
|
25
25
|
DeprecatedObject: () => import_util_endpoints.DeprecatedObject,
|
26
26
|
EndpointError: () => import_util_endpoints.EndpointError,
|
@@ -50,7 +50,7 @@ __export(src_exports, {
|
|
50
50
|
setPartitionInfo: () => setPartitionInfo,
|
51
51
|
useDefaultPartitionInfo: () => useDefaultPartitionInfo
|
52
52
|
});
|
53
|
-
module.exports = __toCommonJS(
|
53
|
+
module.exports = __toCommonJS(index_exports);
|
54
54
|
|
55
55
|
// src/aws.ts
|
56
56
|
|
@@ -91,11 +91,9 @@ var ARN_DELIMITER = ":";
|
|
91
91
|
var RESOURCE_DELIMITER = "/";
|
92
92
|
var parseArn = /* @__PURE__ */ __name((value) => {
|
93
93
|
const segments = value.split(ARN_DELIMITER);
|
94
|
-
if (segments.length < 6)
|
95
|
-
return null;
|
94
|
+
if (segments.length < 6) return null;
|
96
95
|
const [arn, partition2, service, region, accountId, ...resourcePath] = segments;
|
97
|
-
if (arn !== "arn" || partition2 === "" || service === "" || resourcePath.join(ARN_DELIMITER) === "")
|
98
|
-
return null;
|
96
|
+
if (arn !== "arn" || partition2 === "" || service === "" || resourcePath.join(ARN_DELIMITER) === "") return null;
|
99
97
|
const resourceId = resourcePath.map((resource) => resource.split(RESOURCE_DELIMITER)).flat();
|
100
98
|
return {
|
101
99
|
partition: partition2,
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-sdk/util-endpoints",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.775.0",
|
4
4
|
"description": "Utilities to help with endpoint resolution",
|
5
5
|
"main": "./dist-cjs/index.js",
|
6
6
|
"module": "./dist-es/index.js",
|
@@ -24,9 +24,9 @@
|
|
24
24
|
},
|
25
25
|
"license": "Apache-2.0",
|
26
26
|
"dependencies": {
|
27
|
-
"@aws-sdk/types": "3.
|
28
|
-
"@smithy/types": "^4.
|
29
|
-
"@smithy/util-endpoints": "^3.0.
|
27
|
+
"@aws-sdk/types": "3.775.0",
|
28
|
+
"@smithy/types": "^4.2.0",
|
29
|
+
"@smithy/util-endpoints": "^3.0.2",
|
30
30
|
"tslib": "^2.6.2"
|
31
31
|
},
|
32
32
|
"engines": {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-sdk/util-user-agent-browser",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.775.0",
|
4
4
|
"scripts": {
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
6
6
|
"build:cjs": "node ../../scripts/compilation/inline util-user-agent-browser",
|
@@ -23,8 +23,8 @@
|
|
23
23
|
"license": "Apache-2.0",
|
24
24
|
"react-native": "dist-es/index.native.js",
|
25
25
|
"dependencies": {
|
26
|
-
"@aws-sdk/types": "3.
|
27
|
-
"@smithy/types": "^4.
|
26
|
+
"@aws-sdk/types": "3.775.0",
|
27
|
+
"@smithy/types": "^4.2.0",
|
28
28
|
"bowser": "^2.11.0",
|
29
29
|
"tslib": "^2.6.2"
|
30
30
|
},
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-sdk/util-user-agent-node",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.775.0",
|
4
4
|
"scripts": {
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
6
6
|
"build:cjs": "node ../../scripts/compilation/inline util-user-agent-node",
|
@@ -21,10 +21,10 @@
|
|
21
21
|
},
|
22
22
|
"license": "Apache-2.0",
|
23
23
|
"dependencies": {
|
24
|
-
"@aws-sdk/middleware-user-agent": "3.
|
25
|
-
"@aws-sdk/types": "3.
|
26
|
-
"@smithy/node-config-provider": "^4.0.
|
27
|
-
"@smithy/types": "^4.
|
24
|
+
"@aws-sdk/middleware-user-agent": "3.775.0",
|
25
|
+
"@aws-sdk/types": "3.775.0",
|
26
|
+
"@smithy/node-config-provider": "^4.0.2",
|
27
|
+
"@smithy/types": "^4.2.0",
|
28
28
|
"tslib": "^2.6.2"
|
29
29
|
},
|
30
30
|
"devDependencies": {
|
package/package.json
CHANGED
@@ -52,7 +52,7 @@
|
|
52
52
|
"aws-cdk": "^2.1005.0",
|
53
53
|
"aws-cdk-lib": "2.177.0",
|
54
54
|
"cdk8s": "2.68.91",
|
55
|
-
"cdk8s-cli": "^2.200.
|
55
|
+
"cdk8s-cli": "^2.200.28",
|
56
56
|
"commit-and-tag-version": "^12",
|
57
57
|
"constructs": "10.3.0",
|
58
58
|
"eslint": "^9",
|
@@ -77,7 +77,7 @@
|
|
77
77
|
"constructs": "^10.3.0"
|
78
78
|
},
|
79
79
|
"dependencies": {
|
80
|
-
"@aws-sdk/client-cloudformation": "^3.
|
80
|
+
"@aws-sdk/client-cloudformation": "^3.775.0"
|
81
81
|
},
|
82
82
|
"bundledDependencies": [
|
83
83
|
"@aws-sdk/client-cloudformation"
|
@@ -93,7 +93,7 @@
|
|
93
93
|
"publishConfig": {
|
94
94
|
"access": "public"
|
95
95
|
},
|
96
|
-
"version": "0.0.
|
96
|
+
"version": "0.0.271",
|
97
97
|
"jest": {
|
98
98
|
"coverageProvider": "v8",
|
99
99
|
"testMatch": [
|