@cdk8s/awscdk-resolver 0.0.289 → 0.0.291
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 +69 -43
- package/lib/resolve.js +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/runtimeConfig.js +6 -6
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/runtimeConfig.js +6 -6
- package/node_modules/@aws-sdk/client-cloudformation/package.json +15 -15
- package/node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.js +6 -6
- package/node_modules/@aws-sdk/client-sso/dist-es/runtimeConfig.js +6 -6
- package/node_modules/@aws-sdk/client-sso/package.json +14 -14
- package/node_modules/@aws-sdk/core/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-http/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-node/package.json +7 -7
- package/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +3 -3
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.js +6 -6
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.js +6 -6
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.js +6 -6
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.js +6 -6
- package/node_modules/@aws-sdk/nested-clients/package.json +14 -14
- package/node_modules/@aws-sdk/region-config-resolver/package.json +2 -2
- package/node_modules/@aws-sdk/token-providers/package.json +2 -2
- package/node_modules/@aws-sdk/util-endpoints/package.json +2 -2
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +3 -3
- package/node_modules/@smithy/config-resolver/package.json +2 -2
- package/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/httpRequest.d.ts +0 -3
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/httpRequest.d.ts +0 -1
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/utils/staticStabilityProvider.d.ts +1 -1
- package/node_modules/@smithy/credential-provider-imds/dist-types/utils/staticStabilityProvider.d.ts +1 -1
- package/node_modules/@smithy/credential-provider-imds/package.json +2 -2
- package/node_modules/@smithy/middleware-endpoint/package.json +2 -2
- package/node_modules/@smithy/middleware-retry/package.json +3 -3
- package/node_modules/@smithy/node-config-provider/dist-cjs/index.js +14 -10
- package/node_modules/@smithy/node-config-provider/dist-es/configLoader.js +5 -1
- package/node_modules/@smithy/node-config-provider/dist-es/fromEnv.js +3 -3
- package/node_modules/@smithy/node-config-provider/dist-types/configLoader.d.ts +2 -2
- package/node_modules/@smithy/node-config-provider/dist-types/fromEnv.d.ts +15 -2
- package/node_modules/@smithy/node-config-provider/dist-types/ts3.4/configLoader.d.ts +2 -2
- package/node_modules/@smithy/node-config-provider/dist-types/ts3.4/fromEnv.d.ts +15 -2
- package/node_modules/@smithy/node-config-provider/package.json +1 -1
- package/node_modules/@smithy/smithy-client/dist-cjs/index.js +2 -2
- package/node_modules/@smithy/smithy-client/dist-types/create-aggregated-client.d.ts +3 -1
- package/node_modules/@smithy/smithy-client/dist-types/default-error-handler.d.ts +3 -1
- package/node_modules/@smithy/smithy-client/dist-types/extensions/defaultExtensionConfiguration.d.ts +4 -4
- package/node_modules/@smithy/smithy-client/dist-types/lazy-json.d.ts +1 -2
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/create-aggregated-client.d.ts +3 -1
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/default-error-handler.d.ts +3 -1
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/extensions/defaultExtensionConfiguration.d.ts +4 -4
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/lazy-json.d.ts +1 -2
- package/node_modules/@smithy/smithy-client/package.json +2 -2
- package/node_modules/@smithy/util-defaults-mode-browser/package.json +2 -2
- package/node_modules/@smithy/util-defaults-mode-node/package.json +5 -5
- package/node_modules/@smithy/util-endpoints/dist-types/lib/isSet.d.ts +1 -1
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/isSet.d.ts +1 -1
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/endpointFunctions.d.ts +1 -1
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateRules.d.ts +2 -2
- package/node_modules/@smithy/util-endpoints/dist-types/utils/endpointFunctions.d.ts +1 -1
- package/node_modules/@smithy/util-endpoints/dist-types/utils/evaluateRules.d.ts +2 -2
- package/node_modules/@smithy/util-endpoints/package.json +2 -2
- package/package.json +9 -9
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-sdk/credential-provider-web-identity",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.806.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",
|
@@ -33,8 +33,8 @@
|
|
33
33
|
},
|
34
34
|
"license": "Apache-2.0",
|
35
35
|
"dependencies": {
|
36
|
-
"@aws-sdk/core": "3.
|
37
|
-
"@aws-sdk/nested-clients": "3.
|
36
|
+
"@aws-sdk/core": "3.806.0",
|
37
|
+
"@aws-sdk/nested-clients": "3.806.0",
|
38
38
|
"@aws-sdk/types": "3.804.0",
|
39
39
|
"@smithy/property-provider": "^4.0.2",
|
40
40
|
"@smithy/types": "^4.2.0",
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-sdk/middleware-user-agent",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.806.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",
|
@@ -24,9 +24,9 @@
|
|
24
24
|
},
|
25
25
|
"license": "Apache-2.0",
|
26
26
|
"dependencies": {
|
27
|
-
"@aws-sdk/core": "3.
|
27
|
+
"@aws-sdk/core": "3.806.0",
|
28
28
|
"@aws-sdk/types": "3.804.0",
|
29
|
-
"@aws-sdk/util-endpoints": "3.
|
29
|
+
"@aws-sdk/util-endpoints": "3.806.0",
|
30
30
|
"@smithy/core": "^3.3.1",
|
31
31
|
"@smithy/protocol-http": "^5.1.0",
|
32
32
|
"@smithy/types": "^4.2.0",
|
@@ -22,19 +22,19 @@ const getRuntimeConfig = (config) => {
|
|
22
22
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
23
23
|
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
24
24
|
(0, core_1.emitWarningIfUnsupportedVersion)(process.version);
|
25
|
-
const
|
25
|
+
const loaderConfig = { profile: config?.profile, logger: clientSharedValues.logger };
|
26
26
|
return {
|
27
27
|
...clientSharedValues,
|
28
28
|
...config,
|
29
29
|
runtime: "node",
|
30
30
|
defaultsMode,
|
31
|
-
authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(core_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS,
|
31
|
+
authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(core_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
32
32
|
bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,
|
33
33
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
34
34
|
(0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
35
35
|
maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
36
36
|
region: config?.region ??
|
37
|
-
(0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...
|
37
|
+
(0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
38
38
|
requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
39
39
|
retryMode: config?.retryMode ??
|
40
40
|
(0, node_config_provider_1.loadConfig)({
|
@@ -43,9 +43,9 @@ const getRuntimeConfig = (config) => {
|
|
43
43
|
}, config),
|
44
44
|
sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, "sha256"),
|
45
45
|
streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,
|
46
|
-
useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS,
|
47
|
-
useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS,
|
48
|
-
userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS,
|
46
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
47
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
48
|
+
userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
|
49
49
|
};
|
50
50
|
};
|
51
51
|
exports.getRuntimeConfig = getRuntimeConfig;
|
@@ -23,13 +23,13 @@ const getRuntimeConfig = (config) => {
|
|
23
23
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
24
24
|
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
25
25
|
(0, core_1.emitWarningIfUnsupportedVersion)(process.version);
|
26
|
-
const
|
26
|
+
const loaderConfig = { profile: config?.profile, logger: clientSharedValues.logger };
|
27
27
|
return {
|
28
28
|
...clientSharedValues,
|
29
29
|
...config,
|
30
30
|
runtime: "node",
|
31
31
|
defaultsMode,
|
32
|
-
authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(core_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS,
|
32
|
+
authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(core_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
33
33
|
bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,
|
34
34
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
35
35
|
(0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
@@ -48,7 +48,7 @@ const getRuntimeConfig = (config) => {
|
|
48
48
|
],
|
49
49
|
maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
50
50
|
region: config?.region ??
|
51
|
-
(0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...
|
51
|
+
(0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
52
52
|
requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
53
53
|
retryMode: config?.retryMode ??
|
54
54
|
(0, node_config_provider_1.loadConfig)({
|
@@ -57,9 +57,9 @@ const getRuntimeConfig = (config) => {
|
|
57
57
|
}, config),
|
58
58
|
sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, "sha256"),
|
59
59
|
streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,
|
60
|
-
useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS,
|
61
|
-
useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS,
|
62
|
-
userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS,
|
60
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
61
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
62
|
+
userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
|
63
63
|
};
|
64
64
|
};
|
65
65
|
exports.getRuntimeConfig = getRuntimeConfig;
|
@@ -18,19 +18,19 @@ export const getRuntimeConfig = (config) => {
|
|
18
18
|
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
19
19
|
const clientSharedValues = getSharedRuntimeConfig(config);
|
20
20
|
awsCheckVersion(process.version);
|
21
|
-
const
|
21
|
+
const loaderConfig = { profile: config?.profile, logger: clientSharedValues.logger };
|
22
22
|
return {
|
23
23
|
...clientSharedValues,
|
24
24
|
...config,
|
25
25
|
runtime: "node",
|
26
26
|
defaultsMode,
|
27
|
-
authSchemePreference: config?.authSchemePreference ?? loadNodeConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS,
|
27
|
+
authSchemePreference: config?.authSchemePreference ?? loadNodeConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
28
28
|
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
29
29
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
30
30
|
createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
31
31
|
maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
32
32
|
region: config?.region ??
|
33
|
-
loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...
|
33
|
+
loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
34
34
|
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
35
35
|
retryMode: config?.retryMode ??
|
36
36
|
loadNodeConfig({
|
@@ -39,8 +39,8 @@ export const getRuntimeConfig = (config) => {
|
|
39
39
|
}, config),
|
40
40
|
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
41
41
|
streamCollector: config?.streamCollector ?? streamCollector,
|
42
|
-
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS,
|
43
|
-
useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS,
|
44
|
-
userAgentAppId: config?.userAgentAppId ?? loadNodeConfig(NODE_APP_ID_CONFIG_OPTIONS,
|
42
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
43
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
44
|
+
userAgentAppId: config?.userAgentAppId ?? loadNodeConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
|
45
45
|
};
|
46
46
|
};
|
@@ -19,13 +19,13 @@ export const getRuntimeConfig = (config) => {
|
|
19
19
|
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
20
20
|
const clientSharedValues = getSharedRuntimeConfig(config);
|
21
21
|
awsCheckVersion(process.version);
|
22
|
-
const
|
22
|
+
const loaderConfig = { profile: config?.profile, logger: clientSharedValues.logger };
|
23
23
|
return {
|
24
24
|
...clientSharedValues,
|
25
25
|
...config,
|
26
26
|
runtime: "node",
|
27
27
|
defaultsMode,
|
28
|
-
authSchemePreference: config?.authSchemePreference ?? loadNodeConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS,
|
28
|
+
authSchemePreference: config?.authSchemePreference ?? loadNodeConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
29
29
|
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
30
30
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
31
31
|
createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
@@ -44,7 +44,7 @@ export const getRuntimeConfig = (config) => {
|
|
44
44
|
],
|
45
45
|
maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
46
46
|
region: config?.region ??
|
47
|
-
loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...
|
47
|
+
loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
48
48
|
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
49
49
|
retryMode: config?.retryMode ??
|
50
50
|
loadNodeConfig({
|
@@ -53,8 +53,8 @@ export const getRuntimeConfig = (config) => {
|
|
53
53
|
}, config),
|
54
54
|
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
55
55
|
streamCollector: config?.streamCollector ?? streamCollector,
|
56
|
-
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS,
|
57
|
-
useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS,
|
58
|
-
userAgentAppId: config?.userAgentAppId ?? loadNodeConfig(NODE_APP_ID_CONFIG_OPTIONS,
|
56
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
57
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
58
|
+
userAgentAppId: config?.userAgentAppId ?? loadNodeConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
|
59
59
|
};
|
60
60
|
};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-sdk/nested-clients",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.806.0",
|
4
4
|
"description": "Nested clients for AWS SDK packages.",
|
5
5
|
"main": "./dist-cjs/index.js",
|
6
6
|
"module": "./dist-es/index.js",
|
@@ -28,38 +28,38 @@
|
|
28
28
|
"dependencies": {
|
29
29
|
"@aws-crypto/sha256-browser": "5.2.0",
|
30
30
|
"@aws-crypto/sha256-js": "5.2.0",
|
31
|
-
"@aws-sdk/core": "3.
|
31
|
+
"@aws-sdk/core": "3.806.0",
|
32
32
|
"@aws-sdk/middleware-host-header": "3.804.0",
|
33
33
|
"@aws-sdk/middleware-logger": "3.804.0",
|
34
34
|
"@aws-sdk/middleware-recursion-detection": "3.804.0",
|
35
|
-
"@aws-sdk/middleware-user-agent": "3.
|
36
|
-
"@aws-sdk/region-config-resolver": "3.
|
35
|
+
"@aws-sdk/middleware-user-agent": "3.806.0",
|
36
|
+
"@aws-sdk/region-config-resolver": "3.806.0",
|
37
37
|
"@aws-sdk/types": "3.804.0",
|
38
|
-
"@aws-sdk/util-endpoints": "3.
|
38
|
+
"@aws-sdk/util-endpoints": "3.806.0",
|
39
39
|
"@aws-sdk/util-user-agent-browser": "3.804.0",
|
40
|
-
"@aws-sdk/util-user-agent-node": "3.
|
41
|
-
"@smithy/config-resolver": "^4.1.
|
40
|
+
"@aws-sdk/util-user-agent-node": "3.806.0",
|
41
|
+
"@smithy/config-resolver": "^4.1.1",
|
42
42
|
"@smithy/core": "^3.3.1",
|
43
43
|
"@smithy/fetch-http-handler": "^5.0.2",
|
44
44
|
"@smithy/hash-node": "^4.0.2",
|
45
45
|
"@smithy/invalid-dependency": "^4.0.2",
|
46
46
|
"@smithy/middleware-content-length": "^4.0.2",
|
47
|
-
"@smithy/middleware-endpoint": "^4.1.
|
48
|
-
"@smithy/middleware-retry": "^4.1.
|
47
|
+
"@smithy/middleware-endpoint": "^4.1.3",
|
48
|
+
"@smithy/middleware-retry": "^4.1.4",
|
49
49
|
"@smithy/middleware-serde": "^4.0.3",
|
50
50
|
"@smithy/middleware-stack": "^4.0.2",
|
51
|
-
"@smithy/node-config-provider": "^4.0
|
51
|
+
"@smithy/node-config-provider": "^4.1.0",
|
52
52
|
"@smithy/node-http-handler": "^4.0.4",
|
53
53
|
"@smithy/protocol-http": "^5.1.0",
|
54
|
-
"@smithy/smithy-client": "^4.2.
|
54
|
+
"@smithy/smithy-client": "^4.2.3",
|
55
55
|
"@smithy/types": "^4.2.0",
|
56
56
|
"@smithy/url-parser": "^4.0.2",
|
57
57
|
"@smithy/util-base64": "^4.0.0",
|
58
58
|
"@smithy/util-body-length-browser": "^4.0.0",
|
59
59
|
"@smithy/util-body-length-node": "^4.0.0",
|
60
|
-
"@smithy/util-defaults-mode-browser": "^4.0.
|
61
|
-
"@smithy/util-defaults-mode-node": "^4.0.
|
62
|
-
"@smithy/util-endpoints": "^3.0.
|
60
|
+
"@smithy/util-defaults-mode-browser": "^4.0.11",
|
61
|
+
"@smithy/util-defaults-mode-node": "^4.0.11",
|
62
|
+
"@smithy/util-endpoints": "^3.0.3",
|
63
63
|
"@smithy/util-middleware": "^4.0.2",
|
64
64
|
"@smithy/util-retry": "^4.0.3",
|
65
65
|
"@smithy/util-utf8": "^4.0.0",
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-sdk/region-config-resolver",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.806.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",
|
@@ -23,7 +23,7 @@
|
|
23
23
|
"license": "Apache-2.0",
|
24
24
|
"dependencies": {
|
25
25
|
"@aws-sdk/types": "3.804.0",
|
26
|
-
"@smithy/node-config-provider": "^4.0
|
26
|
+
"@smithy/node-config-provider": "^4.1.0",
|
27
27
|
"@smithy/types": "^4.2.0",
|
28
28
|
"@smithy/util-config-provider": "^4.0.0",
|
29
29
|
"@smithy/util-middleware": "^4.0.2",
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-sdk/token-providers",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.806.0",
|
4
4
|
"description": "A collection of token providers",
|
5
5
|
"main": "./dist-cjs/index.js",
|
6
6
|
"module": "./dist-es/index.js",
|
@@ -27,7 +27,7 @@
|
|
27
27
|
},
|
28
28
|
"license": "Apache-2.0",
|
29
29
|
"dependencies": {
|
30
|
-
"@aws-sdk/nested-clients": "3.
|
30
|
+
"@aws-sdk/nested-clients": "3.806.0",
|
31
31
|
"@aws-sdk/types": "3.804.0",
|
32
32
|
"@smithy/property-provider": "^4.0.2",
|
33
33
|
"@smithy/shared-ini-file-loader": "^4.0.2",
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-sdk/util-endpoints",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.806.0",
|
4
4
|
"description": "Utilities to help with endpoint resolution",
|
5
5
|
"main": "./dist-cjs/index.js",
|
6
6
|
"module": "./dist-es/index.js",
|
@@ -26,7 +26,7 @@
|
|
26
26
|
"dependencies": {
|
27
27
|
"@aws-sdk/types": "3.804.0",
|
28
28
|
"@smithy/types": "^4.2.0",
|
29
|
-
"@smithy/util-endpoints": "^3.0.
|
29
|
+
"@smithy/util-endpoints": "^3.0.3",
|
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-node",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.806.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,9 +21,9 @@
|
|
21
21
|
},
|
22
22
|
"license": "Apache-2.0",
|
23
23
|
"dependencies": {
|
24
|
-
"@aws-sdk/middleware-user-agent": "3.
|
24
|
+
"@aws-sdk/middleware-user-agent": "3.806.0",
|
25
25
|
"@aws-sdk/types": "3.804.0",
|
26
|
-
"@smithy/node-config-provider": "^4.0
|
26
|
+
"@smithy/node-config-provider": "^4.1.0",
|
27
27
|
"@smithy/types": "^4.2.0",
|
28
28
|
"tslib": "^2.6.2"
|
29
29
|
},
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/config-resolver",
|
3
|
-
"version": "4.1.
|
3
|
+
"version": "4.1.1",
|
4
4
|
"scripts": {
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
6
6
|
"build:cjs": "node ../../scripts/inline config-resolver",
|
@@ -24,7 +24,7 @@
|
|
24
24
|
},
|
25
25
|
"license": "Apache-2.0",
|
26
26
|
"dependencies": {
|
27
|
-
"@smithy/node-config-provider": "^4.0
|
27
|
+
"@smithy/node-config-provider": "^4.1.0",
|
28
28
|
"@smithy/types": "^4.2.0",
|
29
29
|
"@smithy/util-config-provider": "^4.0.0",
|
30
30
|
"@smithy/util-middleware": "^4.0.2",
|
@@ -12,5 +12,5 @@ import { InstanceMetadataCredentials } from "../types";
|
|
12
12
|
* @returns A credential provider that supports static stability
|
13
13
|
*/
|
14
14
|
export declare const staticStabilityProvider: (provider: Provider<InstanceMetadataCredentials>, options?: {
|
15
|
-
logger?: Logger
|
15
|
+
logger?: Logger;
|
16
16
|
}) => Provider<InstanceMetadataCredentials>;
|
package/node_modules/@smithy/credential-provider-imds/dist-types/utils/staticStabilityProvider.d.ts
CHANGED
@@ -12,5 +12,5 @@ import { InstanceMetadataCredentials } from "../types";
|
|
12
12
|
* @returns A credential provider that supports static stability
|
13
13
|
*/
|
14
14
|
export declare const staticStabilityProvider: (provider: Provider<InstanceMetadataCredentials>, options?: {
|
15
|
-
logger?: Logger
|
15
|
+
logger?: Logger;
|
16
16
|
}) => Provider<InstanceMetadataCredentials>;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/credential-provider-imds",
|
3
|
-
"version": "4.0.
|
3
|
+
"version": "4.0.3",
|
4
4
|
"description": "AWS credential provider that sources credentials from the EC2 instance metadata service and ECS container metadata service",
|
5
5
|
"main": "./dist-cjs/index.js",
|
6
6
|
"module": "./dist-es/index.js",
|
@@ -27,7 +27,7 @@
|
|
27
27
|
},
|
28
28
|
"license": "Apache-2.0",
|
29
29
|
"dependencies": {
|
30
|
-
"@smithy/node-config-provider": "^4.0
|
30
|
+
"@smithy/node-config-provider": "^4.1.0",
|
31
31
|
"@smithy/property-provider": "^4.0.2",
|
32
32
|
"@smithy/types": "^4.2.0",
|
33
33
|
"@smithy/url-parser": "^4.0.2",
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/middleware-endpoint",
|
3
|
-
"version": "4.1.
|
3
|
+
"version": "4.1.3",
|
4
4
|
"scripts": {
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
6
6
|
"build:cjs": "node ../../scripts/inline middleware-endpoint",
|
@@ -26,7 +26,7 @@
|
|
26
26
|
"dependencies": {
|
27
27
|
"@smithy/core": "^3.3.1",
|
28
28
|
"@smithy/middleware-serde": "^4.0.3",
|
29
|
-
"@smithy/node-config-provider": "^4.0
|
29
|
+
"@smithy/node-config-provider": "^4.1.0",
|
30
30
|
"@smithy/shared-ini-file-loader": "^4.0.2",
|
31
31
|
"@smithy/types": "^4.2.0",
|
32
32
|
"@smithy/url-parser": "^4.0.2",
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/middleware-retry",
|
3
|
-
"version": "4.1.
|
3
|
+
"version": "4.1.4",
|
4
4
|
"scripts": {
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
6
6
|
"build:cjs": "node ../../scripts/inline middleware-retry",
|
@@ -33,10 +33,10 @@
|
|
33
33
|
},
|
34
34
|
"license": "Apache-2.0",
|
35
35
|
"dependencies": {
|
36
|
-
"@smithy/node-config-provider": "^4.0
|
36
|
+
"@smithy/node-config-provider": "^4.1.0",
|
37
37
|
"@smithy/protocol-http": "^5.1.0",
|
38
38
|
"@smithy/service-error-classification": "^4.0.3",
|
39
|
-
"@smithy/smithy-client": "^4.2.
|
39
|
+
"@smithy/smithy-client": "^4.2.3",
|
40
40
|
"@smithy/types": "^4.2.0",
|
41
41
|
"@smithy/util-middleware": "^4.0.2",
|
42
42
|
"@smithy/util-retry": "^4.0.3",
|
@@ -45,9 +45,9 @@ function getSelectorName(functionString) {
|
|
45
45
|
__name(getSelectorName, "getSelectorName");
|
46
46
|
|
47
47
|
// src/fromEnv.ts
|
48
|
-
var fromEnv = /* @__PURE__ */ __name((envVarSelector,
|
48
|
+
var fromEnv = /* @__PURE__ */ __name((envVarSelector, options) => async () => {
|
49
49
|
try {
|
50
|
-
const config = envVarSelector(process.env);
|
50
|
+
const config = envVarSelector(process.env, options);
|
51
51
|
if (config === void 0) {
|
52
52
|
throw new Error();
|
53
53
|
}
|
@@ -55,7 +55,7 @@ var fromEnv = /* @__PURE__ */ __name((envVarSelector, logger) => async () => {
|
|
55
55
|
} catch (e) {
|
56
56
|
throw new import_property_provider.CredentialsProviderError(
|
57
57
|
e.message || `Not found in ENV: ${getSelectorName(envVarSelector.toString())}`,
|
58
|
-
{ logger }
|
58
|
+
{ logger: options?.logger }
|
59
59
|
);
|
60
60
|
}
|
61
61
|
}, "fromEnv");
|
@@ -90,13 +90,17 @@ var isFunction = /* @__PURE__ */ __name((func) => typeof func === "function", "i
|
|
90
90
|
var fromStatic = /* @__PURE__ */ __name((defaultValue) => isFunction(defaultValue) ? async () => await defaultValue() : (0, import_property_provider.fromStatic)(defaultValue), "fromStatic");
|
91
91
|
|
92
92
|
// src/configLoader.ts
|
93
|
-
var loadConfig = /* @__PURE__ */ __name(({ environmentVariableSelector, configFileSelector, default: defaultValue }, configuration = {}) =>
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
93
|
+
var loadConfig = /* @__PURE__ */ __name(({ environmentVariableSelector, configFileSelector, default: defaultValue }, configuration = {}) => {
|
94
|
+
const { signingName, logger } = configuration;
|
95
|
+
const envOptions = { signingName, logger };
|
96
|
+
return (0, import_property_provider.memoize)(
|
97
|
+
(0, import_property_provider.chain)(
|
98
|
+
fromEnv(environmentVariableSelector, envOptions),
|
99
|
+
fromSharedConfigFiles(configFileSelector, configuration),
|
100
|
+
fromStatic(defaultValue)
|
101
|
+
)
|
102
|
+
);
|
103
|
+
}, "loadConfig");
|
100
104
|
// Annotate the CommonJS export names for ESM import in node:
|
101
105
|
|
102
106
|
0 && (module.exports = {
|
@@ -2,4 +2,8 @@ import { chain, memoize } from "@smithy/property-provider";
|
|
2
2
|
import { fromEnv } from "./fromEnv";
|
3
3
|
import { fromSharedConfigFiles } from "./fromSharedConfigFiles";
|
4
4
|
import { fromStatic } from "./fromStatic";
|
5
|
-
export const loadConfig = ({ environmentVariableSelector, configFileSelector, default: defaultValue }, configuration = {}) =>
|
5
|
+
export const loadConfig = ({ environmentVariableSelector, configFileSelector, default: defaultValue }, configuration = {}) => {
|
6
|
+
const { signingName, logger } = configuration;
|
7
|
+
const envOptions = { signingName, logger };
|
8
|
+
return memoize(chain(fromEnv(environmentVariableSelector, envOptions), fromSharedConfigFiles(configFileSelector, configuration), fromStatic(defaultValue)));
|
9
|
+
};
|
@@ -1,14 +1,14 @@
|
|
1
1
|
import { CredentialsProviderError } from "@smithy/property-provider";
|
2
2
|
import { getSelectorName } from "./getSelectorName";
|
3
|
-
export const fromEnv = (envVarSelector,
|
3
|
+
export const fromEnv = (envVarSelector, options) => async () => {
|
4
4
|
try {
|
5
|
-
const config = envVarSelector(process.env);
|
5
|
+
const config = envVarSelector(process.env, options);
|
6
6
|
if (config === undefined) {
|
7
7
|
throw new Error();
|
8
8
|
}
|
9
9
|
return config;
|
10
10
|
}
|
11
11
|
catch (e) {
|
12
|
-
throw new CredentialsProviderError(e.message || `Not found in ENV: ${getSelectorName(envVarSelector.toString())}`, { logger });
|
12
|
+
throw new CredentialsProviderError(e.message || `Not found in ENV: ${getSelectorName(envVarSelector.toString())}`, { logger: options?.logger });
|
13
13
|
}
|
14
14
|
};
|
@@ -1,11 +1,11 @@
|
|
1
1
|
import { Provider } from "@smithy/types";
|
2
|
-
import { GetterFromEnv } from "./fromEnv";
|
2
|
+
import { EnvOptions, GetterFromEnv } from "./fromEnv";
|
3
3
|
import { GetterFromConfig, SharedConfigInit } from "./fromSharedConfigFiles";
|
4
4
|
import { FromStaticConfig } from "./fromStatic";
|
5
5
|
/**
|
6
6
|
* @internal
|
7
7
|
*/
|
8
|
-
export type LocalConfigOptions = SharedConfigInit;
|
8
|
+
export type LocalConfigOptions = SharedConfigInit & EnvOptions;
|
9
9
|
/**
|
10
10
|
* @internal
|
11
11
|
*/
|
@@ -1,7 +1,20 @@
|
|
1
1
|
import { Logger, Provider } from "@smithy/types";
|
2
|
-
|
2
|
+
/**
|
3
|
+
* @internal
|
4
|
+
*/
|
5
|
+
export interface EnvOptions {
|
6
|
+
/**
|
7
|
+
* The SigV4 service signing name.
|
8
|
+
*/
|
9
|
+
signingName?: string;
|
10
|
+
/**
|
11
|
+
* For credential resolution trace logging.
|
12
|
+
*/
|
13
|
+
logger?: Logger;
|
14
|
+
}
|
15
|
+
export type GetterFromEnv<T> = (env: Record<string, string | undefined>, options?: EnvOptions) => T | undefined;
|
3
16
|
/**
|
4
17
|
* Get config value given the environment variable name or getter from
|
5
18
|
* environment variable.
|
6
19
|
*/
|
7
|
-
export declare const fromEnv: <T = string>(envVarSelector: GetterFromEnv<T>,
|
20
|
+
export declare const fromEnv: <T = string>(envVarSelector: GetterFromEnv<T>, options?: EnvOptions) => Provider<T>;
|
@@ -1,11 +1,11 @@
|
|
1
1
|
import { Provider } from "@smithy/types";
|
2
|
-
import { GetterFromEnv } from "./fromEnv";
|
2
|
+
import { EnvOptions, GetterFromEnv } from "./fromEnv";
|
3
3
|
import { GetterFromConfig, SharedConfigInit } from "./fromSharedConfigFiles";
|
4
4
|
import { FromStaticConfig } from "./fromStatic";
|
5
5
|
/**
|
6
6
|
* @internal
|
7
7
|
*/
|
8
|
-
export type LocalConfigOptions = SharedConfigInit;
|
8
|
+
export type LocalConfigOptions = SharedConfigInit & EnvOptions;
|
9
9
|
/**
|
10
10
|
* @internal
|
11
11
|
*/
|
@@ -1,7 +1,20 @@
|
|
1
1
|
import { Logger, Provider } from "@smithy/types";
|
2
|
-
|
2
|
+
/**
|
3
|
+
* @internal
|
4
|
+
*/
|
5
|
+
export interface EnvOptions {
|
6
|
+
/**
|
7
|
+
* The SigV4 service signing name.
|
8
|
+
*/
|
9
|
+
signingName?: string;
|
10
|
+
/**
|
11
|
+
* For credential resolution trace logging.
|
12
|
+
*/
|
13
|
+
logger?: Logger;
|
14
|
+
}
|
15
|
+
export type GetterFromEnv<T> = (env: Record<string, string | undefined>, options?: EnvOptions) => T | undefined;
|
3
16
|
/**
|
4
17
|
* Get config value given the environment variable name or getter from
|
5
18
|
* environment variable.
|
6
19
|
*/
|
7
|
-
export declare const fromEnv: <T = string>(envVarSelector: GetterFromEnv<T>,
|
20
|
+
export declare const fromEnv: <T = string>(envVarSelector: GetterFromEnv<T>, options?: EnvOptions) => Provider<T>;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/node-config-provider",
|
3
|
-
"version": "4.0
|
3
|
+
"version": "4.1.0",
|
4
4
|
"description": "Load config default values from ini config files and environmental variable",
|
5
5
|
"scripts": {
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
@@ -1261,11 +1261,11 @@ var splitHeader = /* @__PURE__ */ __name((value) => {
|
|
1261
1261
|
Command,
|
1262
1262
|
SENSITIVE_STRING,
|
1263
1263
|
createAggregatedClient,
|
1264
|
-
dateToUtcString,
|
1265
1264
|
parseRfc3339DateTime,
|
1266
1265
|
parseRfc3339DateTimeWithOffset,
|
1267
1266
|
parseRfc7231DateTime,
|
1268
1267
|
parseEpochTimestamp,
|
1268
|
+
dateToUtcString,
|
1269
1269
|
throwDefaultError,
|
1270
1270
|
withBaseException,
|
1271
1271
|
loadConfigsForDefaultMode,
|
@@ -1281,9 +1281,9 @@ var splitHeader = /* @__PURE__ */ __name((value) => {
|
|
1281
1281
|
isSerializableHeaderValue,
|
1282
1282
|
LazyJsonString,
|
1283
1283
|
NoOpLogger,
|
1284
|
-
map,
|
1285
1284
|
convertMap,
|
1286
1285
|
take,
|
1286
|
+
map,
|
1287
1287
|
parseBoolean,
|
1288
1288
|
expectBoolean,
|
1289
1289
|
expectNumber,
|
@@ -6,4 +6,6 @@ import { Client } from "./client";
|
|
6
6
|
* @param client - client instance on which to add aggregated methods.
|
7
7
|
* @returns an aggregated client with dynamically created methods.
|
8
8
|
*/
|
9
|
-
export declare const createAggregatedClient: (commands: Record<string, any>, Client:
|
9
|
+
export declare const createAggregatedClient: (commands: Record<string, any>, Client: {
|
10
|
+
new (...args: any): Client<any, any, any, any>;
|
11
|
+
}) => void;
|