@cdk8s/awscdk-resolver 0.0.179 → 0.0.181
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/package.json +19 -19
- package/node_modules/@aws-sdk/client-sso/package.json +16 -16
- package/node_modules/@aws-sdk/client-sso-oidc/package.json +18 -18
- package/node_modules/@aws-sdk/client-sts/dist-cjs/index.js +10 -2
- package/node_modules/@aws-sdk/client-sts/dist-es/defaultStsRoleAssumers.js +10 -2
- package/node_modules/@aws-sdk/client-sts/package.json +18 -18
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js +12 -0
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +6 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/client/index.js +1 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/client/setCredentialFeature.js +7 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.js +6 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/index.d.ts +1 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/setCredentialFeature.d.ts +7 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/index.d.ts +1 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/setCredentialFeature.d.ts +11 -0
- package/node_modules/@aws-sdk/core/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js +4 -1
- package/node_modules/@aws-sdk/credential-provider-env/dist-es/fromEnv.js +4 -1
- package/node_modules/@aws-sdk/credential-provider-env/package.json +3 -2
- package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.js +2 -1
- package/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/fromHttp.js +2 -1
- package/node_modules/@aws-sdk/credential-provider-http/package.json +4 -3
- package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js +29 -13
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveAssumeRoleCredentials.js +3 -2
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveCredentialSource.js +5 -3
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveProcessCredentials.js +2 -1
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveProfileData.js +1 -1
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveSsoCredentials.js +10 -2
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveStaticCredentials.js +5 -3
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveWebIdentityCredentials.js +2 -1
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveAssumeRoleCredentials.d.ts +2 -2
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveSsoCredentials.d.ts +2 -2
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveAssumeRoleCredentials.d.ts +2 -2
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveSsoCredentials.d.ts +3 -2
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +9 -8
- package/node_modules/@aws-sdk/credential-provider-node/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js +4 -1
- package/node_modules/@aws-sdk/credential-provider-process/dist-es/getValidatedProcessCredentials.js +4 -1
- package/node_modules/@aws-sdk/credential-provider-process/package.json +3 -2
- package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js +8 -1
- package/node_modules/@aws-sdk/credential-provider-sso/dist-es/resolveSSOCredentials.js +9 -1
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +5 -4
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromTokenFile.js +6 -1
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-es/fromTokenFile.js +6 -1
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +4 -3
- package/node_modules/@aws-sdk/middleware-host-header/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-logger/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js +34 -0
- package/node_modules/@aws-sdk/middleware-user-agent/dist-es/check-features.js +30 -0
- package/node_modules/@aws-sdk/middleware-user-agent/dist-es/user-agent-middleware.js +2 -0
- package/node_modules/@aws-sdk/middleware-user-agent/dist-types/check-features.d.ts +17 -0
- package/node_modules/@aws-sdk/middleware-user-agent/dist-types/ts3.4/check-features.d.ts +17 -0
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +5 -4
- package/node_modules/@aws-sdk/region-config-resolver/package.json +2 -2
- package/node_modules/@aws-sdk/token-providers/package.json +3 -3
- package/node_modules/@aws-sdk/types/dist-types/feature-ids.d.ts +6 -1
- package/node_modules/@aws-sdk/types/dist-types/identity/AwsCredentialIdentity.d.ts +5 -0
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/feature-ids.d.ts +4 -1
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/AwsCredentialIdentity.d.ts +5 -0
- package/node_modules/@aws-sdk/types/package.json +1 -1
- package/node_modules/@aws-sdk/util-endpoints/package.json +2 -2
- package/node_modules/@aws-sdk/util-user-agent-browser/package.json +2 -2
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +3 -3
- package/package.json +5 -5
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-sdk/credential-provider-web-identity",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.667.0",
|
4
4
|
"description": "AWS credential provider that calls STS assumeRole for temporary AWS credentials",
|
5
5
|
"main": "./dist-cjs/index.js",
|
6
6
|
"module": "./dist-es/index.js",
|
@@ -32,7 +32,8 @@
|
|
32
32
|
},
|
33
33
|
"license": "Apache-2.0",
|
34
34
|
"dependencies": {
|
35
|
-
"@aws-sdk/
|
35
|
+
"@aws-sdk/core": "3.667.0",
|
36
|
+
"@aws-sdk/types": "3.667.0",
|
36
37
|
"@smithy/property-provider": "^3.1.7",
|
37
38
|
"@smithy/types": "^3.5.0",
|
38
39
|
"tslib": "^2.6.2"
|
@@ -46,7 +47,7 @@
|
|
46
47
|
"typescript": "~4.9.5"
|
47
48
|
},
|
48
49
|
"peerDependencies": {
|
49
|
-
"@aws-sdk/client-sts": "^3.
|
50
|
+
"@aws-sdk/client-sts": "^3.667.0"
|
50
51
|
},
|
51
52
|
"types": "./dist-types/index.d.ts",
|
52
53
|
"engines": {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-sdk/middleware-host-header",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.667.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 middleware-host-header",
|
@@ -21,7 +21,7 @@
|
|
21
21
|
},
|
22
22
|
"license": "Apache-2.0",
|
23
23
|
"dependencies": {
|
24
|
-
"@aws-sdk/types": "3.
|
24
|
+
"@aws-sdk/types": "3.667.0",
|
25
25
|
"@smithy/protocol-http": "^4.1.4",
|
26
26
|
"@smithy/types": "^3.5.0",
|
27
27
|
"tslib": "^2.6.2"
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-sdk/middleware-logger",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.667.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 middleware-logger",
|
@@ -22,7 +22,7 @@
|
|
22
22
|
"module": "./dist-es/index.js",
|
23
23
|
"types": "./dist-types/index.d.ts",
|
24
24
|
"dependencies": {
|
25
|
-
"@aws-sdk/types": "3.
|
25
|
+
"@aws-sdk/types": "3.667.0",
|
26
26
|
"@smithy/types": "^3.5.0",
|
27
27
|
"tslib": "^2.6.2"
|
28
28
|
},
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-sdk/middleware-recursion-detection",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.667.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 middleware-recursion-detection",
|
@@ -21,7 +21,7 @@
|
|
21
21
|
},
|
22
22
|
"license": "Apache-2.0",
|
23
23
|
"dependencies": {
|
24
|
-
"@aws-sdk/types": "3.
|
24
|
+
"@aws-sdk/types": "3.667.0",
|
25
25
|
"@smithy/protocol-http": "^4.1.4",
|
26
26
|
"@smithy/types": "^3.5.0",
|
27
27
|
"tslib": "^2.6.2"
|
@@ -65,6 +65,39 @@ __name(resolveUserAgentConfig, "resolveUserAgentConfig");
|
|
65
65
|
var import_util_endpoints = require("@aws-sdk/util-endpoints");
|
66
66
|
var import_protocol_http = require("@smithy/protocol-http");
|
67
67
|
|
68
|
+
// src/check-features.ts
|
69
|
+
var import_core2 = require("@aws-sdk/core");
|
70
|
+
async function checkFeatures(context, config, args) {
|
71
|
+
var _a, _b;
|
72
|
+
const request = args.request;
|
73
|
+
if (typeof config.accountIdEndpointMode === "function") {
|
74
|
+
switch (await ((_a = config.accountIdEndpointMode) == null ? void 0 : _a.call(config))) {
|
75
|
+
case "disabled":
|
76
|
+
(0, import_core2.setFeature)(context, "ACCOUNT_ID_MODE_DISABLED", "Q");
|
77
|
+
break;
|
78
|
+
case "preferred":
|
79
|
+
(0, import_core2.setFeature)(context, "ACCOUNT_ID_MODE_PREFERRED", "P");
|
80
|
+
break;
|
81
|
+
case "required":
|
82
|
+
(0, import_core2.setFeature)(context, "ACCOUNT_ID_MODE_REQUIRED", "R");
|
83
|
+
break;
|
84
|
+
}
|
85
|
+
}
|
86
|
+
if (typeof config.credentials === "function") {
|
87
|
+
try {
|
88
|
+
const credentials = await ((_b = config.credentials) == null ? void 0 : _b.call(config));
|
89
|
+
if (credentials.accountId) {
|
90
|
+
(0, import_core2.setFeature)(context, "RESOLVED_ACCOUNT_ID", "T");
|
91
|
+
}
|
92
|
+
for (const [key, value] of Object.entries(credentials.$source ?? {})) {
|
93
|
+
(0, import_core2.setFeature)(context, key, value);
|
94
|
+
}
|
95
|
+
} catch (e) {
|
96
|
+
}
|
97
|
+
}
|
98
|
+
}
|
99
|
+
__name(checkFeatures, "checkFeatures");
|
100
|
+
|
68
101
|
// src/constants.ts
|
69
102
|
var USER_AGENT = "user-agent";
|
70
103
|
var X_AMZ_USER_AGENT = "x-amz-user-agent";
|
@@ -104,6 +137,7 @@ var userAgentMiddleware = /* @__PURE__ */ __name((options) => (next, context) =>
|
|
104
137
|
const { headers } = request;
|
105
138
|
const userAgent = ((_a = context == null ? void 0 : context.userAgent) == null ? void 0 : _a.map(escapeUserAgent)) || [];
|
106
139
|
const defaultUserAgent = (await options.defaultUserAgentProvider()).map(escapeUserAgent);
|
140
|
+
await checkFeatures(context, options, args);
|
107
141
|
const awsContext = context;
|
108
142
|
defaultUserAgent.push(
|
109
143
|
`m/${encodeFeatures(
|
@@ -0,0 +1,30 @@
|
|
1
|
+
import { setFeature } from "@aws-sdk/core";
|
2
|
+
export async function checkFeatures(context, config, args) {
|
3
|
+
const request = args.request;
|
4
|
+
if (typeof config.accountIdEndpointMode === "function") {
|
5
|
+
switch (await config.accountIdEndpointMode?.()) {
|
6
|
+
case "disabled":
|
7
|
+
setFeature(context, "ACCOUNT_ID_MODE_DISABLED", "Q");
|
8
|
+
break;
|
9
|
+
case "preferred":
|
10
|
+
setFeature(context, "ACCOUNT_ID_MODE_PREFERRED", "P");
|
11
|
+
break;
|
12
|
+
case "required":
|
13
|
+
setFeature(context, "ACCOUNT_ID_MODE_REQUIRED", "R");
|
14
|
+
break;
|
15
|
+
}
|
16
|
+
}
|
17
|
+
if (typeof config.credentials === "function") {
|
18
|
+
try {
|
19
|
+
const credentials = await config.credentials?.();
|
20
|
+
if (credentials.accountId) {
|
21
|
+
setFeature(context, "RESOLVED_ACCOUNT_ID", "T");
|
22
|
+
}
|
23
|
+
for (const [key, value] of Object.entries(credentials.$source ?? {})) {
|
24
|
+
setFeature(context, key, value);
|
25
|
+
}
|
26
|
+
}
|
27
|
+
catch (e) {
|
28
|
+
}
|
29
|
+
}
|
30
|
+
}
|
@@ -1,5 +1,6 @@
|
|
1
1
|
import { getUserAgentPrefix } from "@aws-sdk/util-endpoints";
|
2
2
|
import { HttpRequest } from "@smithy/protocol-http";
|
3
|
+
import { checkFeatures } from "./check-features";
|
3
4
|
import { SPACE, UA_ESCAPE_CHAR, UA_NAME_ESCAPE_REGEX, UA_NAME_SEPARATOR, UA_VALUE_ESCAPE_REGEX, USER_AGENT, X_AMZ_USER_AGENT, } from "./constants";
|
4
5
|
import { encodeFeatures } from "./encode-features";
|
5
6
|
export const userAgentMiddleware = (options) => (next, context) => async (args) => {
|
@@ -10,6 +11,7 @@ export const userAgentMiddleware = (options) => (next, context) => async (args)
|
|
10
11
|
const { headers } = request;
|
11
12
|
const userAgent = context?.userAgent?.map(escapeUserAgent) || [];
|
12
13
|
const defaultUserAgent = (await options.defaultUserAgentProvider()).map(escapeUserAgent);
|
14
|
+
await checkFeatures(context, options, args);
|
13
15
|
const awsContext = context;
|
14
16
|
defaultUserAgent.push(`m/${encodeFeatures(Object.assign({}, context.__smithy_context?.features, awsContext.__aws_sdk_context?.features))}`);
|
15
17
|
const customUserAgent = options?.customUserAgent?.map(escapeUserAgent) || [];
|
@@ -0,0 +1,17 @@
|
|
1
|
+
import type { AccountIdEndpointMode } from "@aws-sdk/core/account-id-endpoint";
|
2
|
+
import type { AwsHandlerExecutionContext } from "@aws-sdk/types";
|
3
|
+
import type { AwsCredentialIdentityProvider, BuildHandlerArguments, Provider } from "@smithy/types";
|
4
|
+
/**
|
5
|
+
* @internal
|
6
|
+
*/
|
7
|
+
type PreviouslyResolved = Partial<{
|
8
|
+
credentials?: AwsCredentialIdentityProvider;
|
9
|
+
accountIdEndpointMode?: Provider<AccountIdEndpointMode>;
|
10
|
+
}>;
|
11
|
+
/**
|
12
|
+
* @internal
|
13
|
+
* Check for features that don't have a middleware activation site but
|
14
|
+
* may be detected on the context, client config, or request.
|
15
|
+
*/
|
16
|
+
export declare function checkFeatures(context: AwsHandlerExecutionContext, config: PreviouslyResolved, args: BuildHandlerArguments<any>): Promise<void>;
|
17
|
+
export {};
|
@@ -0,0 +1,17 @@
|
|
1
|
+
import { AccountIdEndpointMode } from "@aws-sdk/core/account-id-endpoint";
|
2
|
+
import { AwsHandlerExecutionContext } from "@aws-sdk/types";
|
3
|
+
import {
|
4
|
+
AwsCredentialIdentityProvider,
|
5
|
+
BuildHandlerArguments,
|
6
|
+
Provider,
|
7
|
+
} from "@smithy/types";
|
8
|
+
type PreviouslyResolved = Partial<{
|
9
|
+
credentials?: AwsCredentialIdentityProvider;
|
10
|
+
accountIdEndpointMode?: Provider<AccountIdEndpointMode>;
|
11
|
+
}>;
|
12
|
+
export declare function checkFeatures(
|
13
|
+
context: AwsHandlerExecutionContext,
|
14
|
+
config: PreviouslyResolved,
|
15
|
+
args: BuildHandlerArguments<any>
|
16
|
+
): Promise<void>;
|
17
|
+
export {};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-sdk/middleware-user-agent",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.667.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 middleware-user-agent",
|
@@ -22,9 +22,10 @@
|
|
22
22
|
},
|
23
23
|
"license": "Apache-2.0",
|
24
24
|
"dependencies": {
|
25
|
-
"@aws-sdk/
|
26
|
-
"@aws-sdk/
|
27
|
-
"@
|
25
|
+
"@aws-sdk/core": "3.667.0",
|
26
|
+
"@aws-sdk/types": "3.667.0",
|
27
|
+
"@aws-sdk/util-endpoints": "3.667.0",
|
28
|
+
"@smithy/core": "^2.4.8",
|
28
29
|
"@smithy/protocol-http": "^4.1.4",
|
29
30
|
"@smithy/types": "^3.5.0",
|
30
31
|
"tslib": "^2.6.2"
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-sdk/region-config-resolver",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.667.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",
|
@@ -21,7 +21,7 @@
|
|
21
21
|
},
|
22
22
|
"license": "Apache-2.0",
|
23
23
|
"dependencies": {
|
24
|
-
"@aws-sdk/types": "3.
|
24
|
+
"@aws-sdk/types": "3.667.0",
|
25
25
|
"@smithy/node-config-provider": "^3.1.8",
|
26
26
|
"@smithy/types": "^3.5.0",
|
27
27
|
"@smithy/util-config-provider": "^3.0.0",
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-sdk/token-providers",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.667.0",
|
4
4
|
"description": "A collection of token providers",
|
5
5
|
"main": "./dist-cjs/index.js",
|
6
6
|
"module": "./dist-es/index.js",
|
@@ -26,7 +26,7 @@
|
|
26
26
|
},
|
27
27
|
"license": "Apache-2.0",
|
28
28
|
"dependencies": {
|
29
|
-
"@aws-sdk/types": "3.
|
29
|
+
"@aws-sdk/types": "3.667.0",
|
30
30
|
"@smithy/property-provider": "^3.1.7",
|
31
31
|
"@smithy/shared-ini-file-loader": "^3.1.8",
|
32
32
|
"@smithy/types": "^3.5.0",
|
@@ -41,7 +41,7 @@
|
|
41
41
|
"typescript": "~4.9.5"
|
42
42
|
},
|
43
43
|
"peerDependencies": {
|
44
|
-
"@aws-sdk/client-sso-oidc": "^3.
|
44
|
+
"@aws-sdk/client-sso-oidc": "^3.667.0"
|
45
45
|
},
|
46
46
|
"types": "./dist-types/index.d.ts",
|
47
47
|
"engines": {
|
@@ -18,7 +18,6 @@ export type AwsSdkFeatures = Partial<{
|
|
18
18
|
ACCOUNT_ID_MODE_DISABLED: "Q";
|
19
19
|
ACCOUNT_ID_MODE_REQUIRED: "R";
|
20
20
|
SIGV4A_SIGNING: "S";
|
21
|
-
RESOLVED_ACCOUNT_ID: "T";
|
22
21
|
FLEXIBLE_CHECKSUMS_REQ_CRC32: "U";
|
23
22
|
FLEXIBLE_CHECKSUMS_REQ_CRC32C: "V";
|
24
23
|
FLEXIBLE_CHECKSUMS_REQ_CRC64: "W";
|
@@ -29,6 +28,12 @@ export type AwsSdkFeatures = Partial<{
|
|
29
28
|
FLEXIBLE_CHECKSUMS_RES_WHEN_SUPPORTED: "b";
|
30
29
|
FLEXIBLE_CHECKSUMS_RES_WHEN_REQUIRED: "c";
|
31
30
|
DDB_MAPPER: "d";
|
31
|
+
}> & AwsSdkCredentialsFeatures;
|
32
|
+
/**
|
33
|
+
* @internal
|
34
|
+
*/
|
35
|
+
export type AwsSdkCredentialsFeatures = Partial<{
|
36
|
+
RESOLVED_ACCOUNT_ID: "T";
|
32
37
|
CREDENTIALS_CODE: "e";
|
33
38
|
CREDENTIALS_ENV_VARS: "g";
|
34
39
|
CREDENTIALS_ENV_VARS_STS_WEB_ID_TOKEN: "h";
|
@@ -1 +1,6 @@
|
|
1
|
+
import type { AwsCredentialIdentity } from "@smithy/types";
|
2
|
+
import type { AwsSdkCredentialsFeatures } from "../feature-ids";
|
1
3
|
export { AwsCredentialIdentity, AwsCredentialIdentityProvider } from "@smithy/types";
|
4
|
+
export type AttributedAwsCredentialIdentity = AwsCredentialIdentity & {
|
5
|
+
$source?: AwsSdkCredentialsFeatures;
|
6
|
+
};
|
@@ -15,7 +15,6 @@ export type AwsSdkFeatures = Partial<{
|
|
15
15
|
ACCOUNT_ID_MODE_DISABLED: "Q";
|
16
16
|
ACCOUNT_ID_MODE_REQUIRED: "R";
|
17
17
|
SIGV4A_SIGNING: "S";
|
18
|
-
RESOLVED_ACCOUNT_ID: "T";
|
19
18
|
FLEXIBLE_CHECKSUMS_REQ_CRC32: "U";
|
20
19
|
FLEXIBLE_CHECKSUMS_REQ_CRC32C: "V";
|
21
20
|
FLEXIBLE_CHECKSUMS_REQ_CRC64: "W";
|
@@ -26,6 +25,10 @@ export type AwsSdkFeatures = Partial<{
|
|
26
25
|
FLEXIBLE_CHECKSUMS_RES_WHEN_SUPPORTED: "b";
|
27
26
|
FLEXIBLE_CHECKSUMS_RES_WHEN_REQUIRED: "c";
|
28
27
|
DDB_MAPPER: "d";
|
28
|
+
}> &
|
29
|
+
AwsSdkCredentialsFeatures;
|
30
|
+
export type AwsSdkCredentialsFeatures = Partial<{
|
31
|
+
RESOLVED_ACCOUNT_ID: "T";
|
29
32
|
CREDENTIALS_CODE: "e";
|
30
33
|
CREDENTIALS_ENV_VARS: "g";
|
31
34
|
CREDENTIALS_ENV_VARS_STS_WEB_ID_TOKEN: "h";
|
@@ -1,4 +1,9 @@
|
|
1
|
+
import { AwsCredentialIdentity } from "@smithy/types";
|
2
|
+
import { AwsSdkCredentialsFeatures } from "../feature-ids";
|
1
3
|
export {
|
2
4
|
AwsCredentialIdentity,
|
3
5
|
AwsCredentialIdentityProvider,
|
4
6
|
} from "@smithy/types";
|
7
|
+
export type AttributedAwsCredentialIdentity = AwsCredentialIdentity & {
|
8
|
+
$source?: AwsSdkCredentialsFeatures;
|
9
|
+
};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-sdk/util-endpoints",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.667.0",
|
4
4
|
"description": "Utilities to help with endpoint resolution",
|
5
5
|
"main": "./dist-cjs/index.js",
|
6
6
|
"module": "./dist-es/index.js",
|
@@ -22,7 +22,7 @@
|
|
22
22
|
},
|
23
23
|
"license": "Apache-2.0",
|
24
24
|
"dependencies": {
|
25
|
-
"@aws-sdk/types": "3.
|
25
|
+
"@aws-sdk/types": "3.667.0",
|
26
26
|
"@smithy/types": "^3.5.0",
|
27
27
|
"@smithy/util-endpoints": "^2.1.3",
|
28
28
|
"tslib": "^2.6.2"
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-sdk/util-user-agent-browser",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.667.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",
|
@@ -22,7 +22,7 @@
|
|
22
22
|
"license": "Apache-2.0",
|
23
23
|
"react-native": "dist-es/index.native.js",
|
24
24
|
"dependencies": {
|
25
|
-
"@aws-sdk/types": "3.
|
25
|
+
"@aws-sdk/types": "3.667.0",
|
26
26
|
"@smithy/types": "^3.5.0",
|
27
27
|
"bowser": "^2.11.0",
|
28
28
|
"tslib": "^2.6.2"
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-sdk/util-user-agent-node",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.667.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",
|
@@ -20,8 +20,8 @@
|
|
20
20
|
},
|
21
21
|
"license": "Apache-2.0",
|
22
22
|
"dependencies": {
|
23
|
-
"@aws-sdk/middleware-user-agent": "3.
|
24
|
-
"@aws-sdk/types": "3.
|
23
|
+
"@aws-sdk/middleware-user-agent": "3.667.0",
|
24
|
+
"@aws-sdk/types": "3.667.0",
|
25
25
|
"@smithy/node-config-provider": "^3.1.8",
|
26
26
|
"@smithy/types": "^3.5.0",
|
27
27
|
"tslib": "^2.6.2"
|
package/package.json
CHANGED
@@ -48,10 +48,10 @@
|
|
48
48
|
"@types/node": "16.18.78",
|
49
49
|
"@typescript-eslint/eslint-plugin": "^7",
|
50
50
|
"@typescript-eslint/parser": "^7",
|
51
|
-
"aws-cdk": "^2.161.
|
51
|
+
"aws-cdk": "^2.161.1",
|
52
52
|
"aws-cdk-lib": "2.109.0",
|
53
53
|
"cdk8s": "2.68.91",
|
54
|
-
"cdk8s-cli": "^2.198.
|
54
|
+
"cdk8s-cli": "^2.198.240",
|
55
55
|
"commit-and-tag-version": "^12",
|
56
56
|
"constructs": "10.3.0",
|
57
57
|
"eslint": "^8",
|
@@ -65,7 +65,7 @@
|
|
65
65
|
"jsii-docgen": "^10.5.0",
|
66
66
|
"jsii-pacmak": "^1.103.1",
|
67
67
|
"jsii-rosetta": "^5",
|
68
|
-
"projen": "^0.88.
|
68
|
+
"projen": "^0.88.1",
|
69
69
|
"ts-jest": "^27",
|
70
70
|
"ts-node": "^10.9.2",
|
71
71
|
"typescript": "^5.6.2"
|
@@ -76,7 +76,7 @@
|
|
76
76
|
"constructs": "^10.3.0"
|
77
77
|
},
|
78
78
|
"dependencies": {
|
79
|
-
"@aws-sdk/client-cloudformation": "^3.
|
79
|
+
"@aws-sdk/client-cloudformation": "^3.667.0"
|
80
80
|
},
|
81
81
|
"bundledDependencies": [
|
82
82
|
"@aws-sdk/client-cloudformation"
|
@@ -92,7 +92,7 @@
|
|
92
92
|
"publishConfig": {
|
93
93
|
"access": "public"
|
94
94
|
},
|
95
|
-
"version": "0.0.
|
95
|
+
"version": "0.0.181",
|
96
96
|
"jest": {
|
97
97
|
"coverageProvider": "v8",
|
98
98
|
"testMatch": [
|