p6-cdk-namer 1.3.56 → 1.3.58
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/p6cdknamer.js +1 -1
- package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/core/package.json +2 -2
- package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/credential-provider-env/package.json +3 -3
- package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/credential-provider-http/package.json +3 -3
- package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/credential-provider-ini/package.json +9 -9
- package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/credential-provider-node/package.json +8 -8
- package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/credential-provider-process/package.json +3 -3
- package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js +1 -0
- package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/credential-provider-sso/dist-es/resolveSSOCredentials.js +1 -0
- package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/credential-provider-sso/package.json +5 -5
- package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/credential-provider-web-identity/package.json +4 -4
- package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/middleware-host-header/package.json +2 -2
- package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/middleware-logger/package.json +2 -2
- package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/middleware-recursion-detection/package.json +2 -2
- package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js +3 -3
- package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/middleware-user-agent/dist-es/constants.js +2 -2
- package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/middleware-user-agent/dist-es/user-agent-middleware.js +1 -1
- package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/middleware-user-agent/package.json +4 -4
- package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/ruleset.js +1 -1
- package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +4 -2
- package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/defaultStsRoleAssumers.js +4 -2
- package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/ruleset.js +1 -1
- package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/defaultStsRoleAssumers.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/defaultStsRoleAssumers.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/nested-clients/package.json +11 -11
- package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/region-config-resolver/package.json +2 -2
- package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/types/dist-types/credentials.d.ts +1 -0
- package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/types/dist-types/identity/AwsCredentialIdentity.d.ts +1 -0
- package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/types/dist-types/ts3.4/credentials.d.ts +1 -0
- package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/AwsCredentialIdentity.d.ts +1 -0
- package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/types/package.json +1 -1
- package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/util-endpoints/package.json +2 -2
- package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/util-user-agent-browser/package.json +2 -2
- package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/util-user-agent-node/package.json +3 -3
- package/node_modules/@aws-sdk/client-iam/package.json +12 -12
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/core/package.json +2 -2
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/middleware-host-header/package.json +2 -2
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/middleware-logger/package.json +2 -2
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/middleware-recursion-detection/package.json +2 -2
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js +3 -3
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/middleware-user-agent/dist-es/constants.js +2 -2
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/middleware-user-agent/dist-es/user-agent-middleware.js +1 -1
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/middleware-user-agent/package.json +4 -4
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/region-config-resolver/package.json +2 -2
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/types/dist-types/credentials.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/types/dist-types/identity/AwsCredentialIdentity.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/types/dist-types/ts3.4/credentials.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/AwsCredentialIdentity.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/types/package.json +1 -1
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/package.json +2 -2
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-user-agent-browser/package.json +2 -2
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-user-agent-node/package.json +3 -3
- package/node_modules/@aws-sdk/client-sso/package.json +11 -11
- package/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +3 -1
- package/node_modules/@aws-sdk/token-providers/dist-es/getSsoOidcClient.js +3 -1
- package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/core/package.json +2 -2
- package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/middleware-host-header/package.json +2 -2
- package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/middleware-logger/package.json +2 -2
- package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/middleware-recursion-detection/package.json +2 -2
- package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js +3 -3
- package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/middleware-user-agent/dist-es/constants.js +2 -2
- package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/middleware-user-agent/dist-es/user-agent-middleware.js +1 -1
- package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/middleware-user-agent/package.json +4 -4
- package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/ruleset.js +1 -1
- package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +4 -2
- package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/defaultStsRoleAssumers.js +4 -2
- package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/ruleset.js +1 -1
- package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/defaultStsRoleAssumers.d.ts +1 -1
- package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/defaultStsRoleAssumers.d.ts +1 -1
- package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/package.json +11 -11
- package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/region-config-resolver/package.json +2 -2
- package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/types/dist-types/credentials.d.ts +1 -0
- package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/types/dist-types/identity/AwsCredentialIdentity.d.ts +1 -0
- package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/types/dist-types/ts3.4/credentials.d.ts +1 -0
- package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/AwsCredentialIdentity.d.ts +1 -0
- package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/types/package.json +1 -1
- package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/util-endpoints/package.json +2 -2
- package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/util-user-agent-browser/package.json +2 -2
- package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/util-user-agent-node/package.json +3 -3
- package/node_modules/@aws-sdk/token-providers/package.json +4 -4
- package/package.json +4 -4
package/node_modules/@aws-sdk/client-iam/node_modules/@aws-sdk/util-user-agent-node/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/util-user-agent-node",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.922.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",
|
|
@@ -22,8 +22,8 @@
|
|
|
22
22
|
},
|
|
23
23
|
"license": "Apache-2.0",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
26
|
-
"@aws-sdk/types": "3.
|
|
25
|
+
"@aws-sdk/middleware-user-agent": "3.922.0",
|
|
26
|
+
"@aws-sdk/types": "3.922.0",
|
|
27
27
|
"@smithy/node-config-provider": "^4.3.4",
|
|
28
28
|
"@smithy/types": "^4.8.1",
|
|
29
29
|
"tslib": "^2.6.2"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-iam",
|
|
3
3
|
"description": "AWS SDK for JavaScript Iam Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.922.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-iam",
|
|
@@ -20,17 +20,17 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
26
|
-
"@aws-sdk/middleware-logger": "3.
|
|
27
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
29
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
30
|
-
"@aws-sdk/types": "3.
|
|
31
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.922.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.922.0",
|
|
25
|
+
"@aws-sdk/middleware-host-header": "3.922.0",
|
|
26
|
+
"@aws-sdk/middleware-logger": "3.922.0",
|
|
27
|
+
"@aws-sdk/middleware-recursion-detection": "3.922.0",
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.922.0",
|
|
29
|
+
"@aws-sdk/region-config-resolver": "3.922.0",
|
|
30
|
+
"@aws-sdk/types": "3.922.0",
|
|
31
|
+
"@aws-sdk/util-endpoints": "3.922.0",
|
|
32
|
+
"@aws-sdk/util-user-agent-browser": "3.922.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.922.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.4.1",
|
|
35
35
|
"@smithy/core": "^3.17.2",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.3.5",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/core",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.922.0",
|
|
4
4
|
"description": "Core functions & classes shared by multiple AWS SDK clients.",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "yarn lint && concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
},
|
|
82
82
|
"license": "Apache-2.0",
|
|
83
83
|
"dependencies": {
|
|
84
|
-
"@aws-sdk/types": "3.
|
|
84
|
+
"@aws-sdk/types": "3.922.0",
|
|
85
85
|
"@aws-sdk/xml-builder": "3.921.0",
|
|
86
86
|
"@smithy/core": "^3.17.2",
|
|
87
87
|
"@smithy/node-config-provider": "^4.3.4",
|
package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/middleware-host-header/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-host-header",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.922.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",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
},
|
|
26
26
|
"license": "Apache-2.0",
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@aws-sdk/types": "3.
|
|
28
|
+
"@aws-sdk/types": "3.922.0",
|
|
29
29
|
"@smithy/protocol-http": "^5.3.4",
|
|
30
30
|
"@smithy/types": "^4.8.1",
|
|
31
31
|
"tslib": "^2.6.2"
|
package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/middleware-logger/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-logger",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.922.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",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"module": "./dist-es/index.js",
|
|
26
26
|
"types": "./dist-types/index.d.ts",
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@aws-sdk/types": "3.
|
|
28
|
+
"@aws-sdk/types": "3.922.0",
|
|
29
29
|
"@smithy/types": "^4.8.1",
|
|
30
30
|
"tslib": "^2.6.2"
|
|
31
31
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-recursion-detection",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.922.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",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
},
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@aws-sdk/types": "3.
|
|
27
|
+
"@aws-sdk/types": "3.922.0",
|
|
28
28
|
"@aws/lambda-invoke-store": "^0.1.1",
|
|
29
29
|
"@smithy/protocol-http": "^5.3.4",
|
|
30
30
|
"@smithy/types": "^4.8.1",
|
|
@@ -86,8 +86,8 @@ const USER_AGENT = "user-agent";
|
|
|
86
86
|
const X_AMZ_USER_AGENT = "x-amz-user-agent";
|
|
87
87
|
const SPACE = " ";
|
|
88
88
|
const UA_NAME_SEPARATOR = "/";
|
|
89
|
-
const UA_NAME_ESCAPE_REGEX = /[
|
|
90
|
-
const UA_VALUE_ESCAPE_REGEX = /[
|
|
89
|
+
const UA_NAME_ESCAPE_REGEX = /[^!$%&'*+\-.^_`|~\w]/g;
|
|
90
|
+
const UA_VALUE_ESCAPE_REGEX = /[^!$%&'*+\-.^_`|~\w#]/g;
|
|
91
91
|
const UA_ESCAPE_CHAR = "-";
|
|
92
92
|
|
|
93
93
|
const BYTE_LIMIT = 1024;
|
|
@@ -123,7 +123,7 @@ const userAgentMiddleware = (options) => (next, context) => async (args) => {
|
|
|
123
123
|
const customUserAgent = options?.customUserAgent?.map(escapeUserAgent) || [];
|
|
124
124
|
const appId = await options.userAgentAppId();
|
|
125
125
|
if (appId) {
|
|
126
|
-
defaultUserAgent.push(escapeUserAgent([`app
|
|
126
|
+
defaultUserAgent.push(escapeUserAgent([`app`, `${appId}`]));
|
|
127
127
|
}
|
|
128
128
|
const prefix = utilEndpoints.getUserAgentPrefix();
|
|
129
129
|
const sdkUserAgentValue = (prefix ? [prefix] : [])
|
|
@@ -2,6 +2,6 @@ export const USER_AGENT = "user-agent";
|
|
|
2
2
|
export const X_AMZ_USER_AGENT = "x-amz-user-agent";
|
|
3
3
|
export const SPACE = " ";
|
|
4
4
|
export const UA_NAME_SEPARATOR = "/";
|
|
5
|
-
export const UA_NAME_ESCAPE_REGEX = /[
|
|
6
|
-
export const UA_VALUE_ESCAPE_REGEX = /[
|
|
5
|
+
export const UA_NAME_ESCAPE_REGEX = /[^!$%&'*+\-.^_`|~\w]/g;
|
|
6
|
+
export const UA_VALUE_ESCAPE_REGEX = /[^!$%&'*+\-.^_`|~\w#]/g;
|
|
7
7
|
export const UA_ESCAPE_CHAR = "-";
|
|
@@ -17,7 +17,7 @@ export const userAgentMiddleware = (options) => (next, context) => async (args)
|
|
|
17
17
|
const customUserAgent = options?.customUserAgent?.map(escapeUserAgent) || [];
|
|
18
18
|
const appId = await options.userAgentAppId();
|
|
19
19
|
if (appId) {
|
|
20
|
-
defaultUserAgent.push(escapeUserAgent([`app
|
|
20
|
+
defaultUserAgent.push(escapeUserAgent([`app`, `${appId}`]));
|
|
21
21
|
}
|
|
22
22
|
const prefix = getUserAgentPrefix();
|
|
23
23
|
const sdkUserAgentValue = (prefix ? [prefix] : [])
|
package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/middleware-user-agent/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-user-agent",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.922.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",
|
|
@@ -25,9 +25,9 @@
|
|
|
25
25
|
},
|
|
26
26
|
"license": "Apache-2.0",
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@aws-sdk/core": "3.
|
|
29
|
-
"@aws-sdk/types": "3.
|
|
30
|
-
"@aws-sdk/util-endpoints": "3.
|
|
28
|
+
"@aws-sdk/core": "3.922.0",
|
|
29
|
+
"@aws-sdk/types": "3.922.0",
|
|
30
|
+
"@aws-sdk/util-endpoints": "3.922.0",
|
|
31
31
|
"@smithy/core": "^3.17.2",
|
|
32
32
|
"@smithy/protocol-http": "^5.3.4",
|
|
33
33
|
"@smithy/types": "^4.8.1",
|
package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/region-config-resolver/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/region-config-resolver",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.922.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
|
},
|
|
24
24
|
"license": "Apache-2.0",
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@aws-sdk/types": "3.
|
|
26
|
+
"@aws-sdk/types": "3.922.0",
|
|
27
27
|
"@smithy/config-resolver": "^4.4.1",
|
|
28
28
|
"@smithy/node-config-provider": "^4.3.4",
|
|
29
29
|
"@smithy/types": "^4.8.1",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/util-endpoints",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.922.0",
|
|
4
4
|
"description": "Utilities to help with endpoint resolution",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
},
|
|
26
26
|
"license": "Apache-2.0",
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@aws-sdk/types": "3.
|
|
28
|
+
"@aws-sdk/types": "3.922.0",
|
|
29
29
|
"@smithy/types": "^4.8.1",
|
|
30
30
|
"@smithy/url-parser": "^4.2.4",
|
|
31
31
|
"@smithy/util-endpoints": "^3.2.4",
|
package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-user-agent-browser/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/util-user-agent-browser",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.922.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",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"license": "Apache-2.0",
|
|
25
25
|
"react-native": "dist-es/index.native.js",
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@aws-sdk/types": "3.
|
|
27
|
+
"@aws-sdk/types": "3.922.0",
|
|
28
28
|
"@smithy/types": "^4.8.1",
|
|
29
29
|
"bowser": "^2.11.0",
|
|
30
30
|
"tslib": "^2.6.2"
|
package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-user-agent-node/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/util-user-agent-node",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.922.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",
|
|
@@ -22,8 +22,8 @@
|
|
|
22
22
|
},
|
|
23
23
|
"license": "Apache-2.0",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
26
|
-
"@aws-sdk/types": "3.
|
|
25
|
+
"@aws-sdk/middleware-user-agent": "3.922.0",
|
|
26
|
+
"@aws-sdk/types": "3.922.0",
|
|
27
27
|
"@smithy/node-config-provider": "^4.3.4",
|
|
28
28
|
"@smithy/types": "^4.8.1",
|
|
29
29
|
"tslib": "^2.6.2"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-sso",
|
|
3
3
|
"description": "AWS SDK for JavaScript Sso Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.922.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-sso",
|
|
@@ -20,16 +20,16 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
25
|
-
"@aws-sdk/middleware-logger": "3.
|
|
26
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
27
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
29
|
-
"@aws-sdk/types": "3.
|
|
30
|
-
"@aws-sdk/util-endpoints": "3.
|
|
31
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
32
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.922.0",
|
|
24
|
+
"@aws-sdk/middleware-host-header": "3.922.0",
|
|
25
|
+
"@aws-sdk/middleware-logger": "3.922.0",
|
|
26
|
+
"@aws-sdk/middleware-recursion-detection": "3.922.0",
|
|
27
|
+
"@aws-sdk/middleware-user-agent": "3.922.0",
|
|
28
|
+
"@aws-sdk/region-config-resolver": "3.922.0",
|
|
29
|
+
"@aws-sdk/types": "3.922.0",
|
|
30
|
+
"@aws-sdk/util-endpoints": "3.922.0",
|
|
31
|
+
"@aws-sdk/util-user-agent-browser": "3.922.0",
|
|
32
|
+
"@aws-sdk/util-user-agent-node": "3.922.0",
|
|
33
33
|
"@smithy/config-resolver": "^4.4.1",
|
|
34
34
|
"@smithy/core": "^3.17.2",
|
|
35
35
|
"@smithy/fetch-http-handler": "^5.3.5",
|
|
@@ -25,9 +25,11 @@ const REFRESH_MESSAGE = `To refresh this SSO session run 'aws sso login' with th
|
|
|
25
25
|
|
|
26
26
|
const getSsoOidcClient = async (ssoRegion, init = {}) => {
|
|
27
27
|
const { SSOOIDCClient } = await import('@aws-sdk/nested-clients/sso-oidc');
|
|
28
|
+
const coalesce = (prop) => init.clientConfig?.[prop] ?? init.parentClientConfig?.[prop];
|
|
28
29
|
const ssoOidcClient = new SSOOIDCClient(Object.assign({}, init.clientConfig ?? {}, {
|
|
29
30
|
region: ssoRegion ?? init.clientConfig?.region,
|
|
30
|
-
logger:
|
|
31
|
+
logger: coalesce("logger"),
|
|
32
|
+
userAgentAppId: coalesce("userAgentAppId"),
|
|
31
33
|
}));
|
|
32
34
|
return ssoOidcClient;
|
|
33
35
|
};
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
export const getSsoOidcClient = async (ssoRegion, init = {}) => {
|
|
2
2
|
const { SSOOIDCClient } = await import("@aws-sdk/nested-clients/sso-oidc");
|
|
3
|
+
const coalesce = (prop) => init.clientConfig?.[prop] ?? init.parentClientConfig?.[prop];
|
|
3
4
|
const ssoOidcClient = new SSOOIDCClient(Object.assign({}, init.clientConfig ?? {}, {
|
|
4
5
|
region: ssoRegion ?? init.clientConfig?.region,
|
|
5
|
-
logger:
|
|
6
|
+
logger: coalesce("logger"),
|
|
7
|
+
userAgentAppId: coalesce("userAgentAppId"),
|
|
6
8
|
}));
|
|
7
9
|
return ssoOidcClient;
|
|
8
10
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/core",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.922.0",
|
|
4
4
|
"description": "Core functions & classes shared by multiple AWS SDK clients.",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "yarn lint && concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
},
|
|
82
82
|
"license": "Apache-2.0",
|
|
83
83
|
"dependencies": {
|
|
84
|
-
"@aws-sdk/types": "3.
|
|
84
|
+
"@aws-sdk/types": "3.922.0",
|
|
85
85
|
"@aws-sdk/xml-builder": "3.921.0",
|
|
86
86
|
"@smithy/core": "^3.17.2",
|
|
87
87
|
"@smithy/node-config-provider": "^4.3.4",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-host-header",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.922.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",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
},
|
|
26
26
|
"license": "Apache-2.0",
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@aws-sdk/types": "3.
|
|
28
|
+
"@aws-sdk/types": "3.922.0",
|
|
29
29
|
"@smithy/protocol-http": "^5.3.4",
|
|
30
30
|
"@smithy/types": "^4.8.1",
|
|
31
31
|
"tslib": "^2.6.2"
|
package/node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/middleware-logger/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-logger",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.922.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",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"module": "./dist-es/index.js",
|
|
26
26
|
"types": "./dist-types/index.d.ts",
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@aws-sdk/types": "3.
|
|
28
|
+
"@aws-sdk/types": "3.922.0",
|
|
29
29
|
"@smithy/types": "^4.8.1",
|
|
30
30
|
"tslib": "^2.6.2"
|
|
31
31
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-recursion-detection",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.922.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",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
},
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@aws-sdk/types": "3.
|
|
27
|
+
"@aws-sdk/types": "3.922.0",
|
|
28
28
|
"@aws/lambda-invoke-store": "^0.1.1",
|
|
29
29
|
"@smithy/protocol-http": "^5.3.4",
|
|
30
30
|
"@smithy/types": "^4.8.1",
|
|
@@ -86,8 +86,8 @@ const USER_AGENT = "user-agent";
|
|
|
86
86
|
const X_AMZ_USER_AGENT = "x-amz-user-agent";
|
|
87
87
|
const SPACE = " ";
|
|
88
88
|
const UA_NAME_SEPARATOR = "/";
|
|
89
|
-
const UA_NAME_ESCAPE_REGEX = /[
|
|
90
|
-
const UA_VALUE_ESCAPE_REGEX = /[
|
|
89
|
+
const UA_NAME_ESCAPE_REGEX = /[^!$%&'*+\-.^_`|~\w]/g;
|
|
90
|
+
const UA_VALUE_ESCAPE_REGEX = /[^!$%&'*+\-.^_`|~\w#]/g;
|
|
91
91
|
const UA_ESCAPE_CHAR = "-";
|
|
92
92
|
|
|
93
93
|
const BYTE_LIMIT = 1024;
|
|
@@ -123,7 +123,7 @@ const userAgentMiddleware = (options) => (next, context) => async (args) => {
|
|
|
123
123
|
const customUserAgent = options?.customUserAgent?.map(escapeUserAgent) || [];
|
|
124
124
|
const appId = await options.userAgentAppId();
|
|
125
125
|
if (appId) {
|
|
126
|
-
defaultUserAgent.push(escapeUserAgent([`app
|
|
126
|
+
defaultUserAgent.push(escapeUserAgent([`app`, `${appId}`]));
|
|
127
127
|
}
|
|
128
128
|
const prefix = utilEndpoints.getUserAgentPrefix();
|
|
129
129
|
const sdkUserAgentValue = (prefix ? [prefix] : [])
|
|
@@ -2,6 +2,6 @@ export const USER_AGENT = "user-agent";
|
|
|
2
2
|
export const X_AMZ_USER_AGENT = "x-amz-user-agent";
|
|
3
3
|
export const SPACE = " ";
|
|
4
4
|
export const UA_NAME_SEPARATOR = "/";
|
|
5
|
-
export const UA_NAME_ESCAPE_REGEX = /[
|
|
6
|
-
export const UA_VALUE_ESCAPE_REGEX = /[
|
|
5
|
+
export const UA_NAME_ESCAPE_REGEX = /[^!$%&'*+\-.^_`|~\w]/g;
|
|
6
|
+
export const UA_VALUE_ESCAPE_REGEX = /[^!$%&'*+\-.^_`|~\w#]/g;
|
|
7
7
|
export const UA_ESCAPE_CHAR = "-";
|
|
@@ -17,7 +17,7 @@ export const userAgentMiddleware = (options) => (next, context) => async (args)
|
|
|
17
17
|
const customUserAgent = options?.customUserAgent?.map(escapeUserAgent) || [];
|
|
18
18
|
const appId = await options.userAgentAppId();
|
|
19
19
|
if (appId) {
|
|
20
|
-
defaultUserAgent.push(escapeUserAgent([`app
|
|
20
|
+
defaultUserAgent.push(escapeUserAgent([`app`, `${appId}`]));
|
|
21
21
|
}
|
|
22
22
|
const prefix = getUserAgentPrefix();
|
|
23
23
|
const sdkUserAgentValue = (prefix ? [prefix] : [])
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-user-agent",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.922.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",
|
|
@@ -25,9 +25,9 @@
|
|
|
25
25
|
},
|
|
26
26
|
"license": "Apache-2.0",
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@aws-sdk/core": "3.
|
|
29
|
-
"@aws-sdk/types": "3.
|
|
30
|
-
"@aws-sdk/util-endpoints": "3.
|
|
28
|
+
"@aws-sdk/core": "3.922.0",
|
|
29
|
+
"@aws-sdk/types": "3.922.0",
|
|
30
|
+
"@aws-sdk/util-endpoints": "3.922.0",
|
|
31
31
|
"@smithy/core": "^3.17.2",
|
|
32
32
|
"@smithy/protocol-http": "^5.3.4",
|
|
33
33
|
"@smithy/types": "^4.8.1",
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
4
|
const F = "required", G = "type", H = "fn", I = "argv", J = "ref";
|
|
5
|
-
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]: "
|
|
5
|
+
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 = { "url": "https://sts.amazonaws.com", "properties": { "authSchemes": [{ "name": e, "signingName": f, "signingRegion": g }] }, "headers": {} }, 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];
|
|
6
6
|
const _data = { version: "1.0", parameters: { Region: m, UseDualStack: n, UseFIPS: n, Endpoint: m, UseGlobalEndpoint: n }, rules: [{ conditions: [{ [H]: c, [I]: [{ [J]: "UseGlobalEndpoint" }, b] }, { [H]: "not", [I]: C }, p, r, { [H]: c, [I]: [s, a] }, { [H]: c, [I]: [t, a] }], rules: [{ conditions: [{ [H]: d, [I]: [q, "ap-northeast-1"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "ap-south-1"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "ap-southeast-1"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "ap-southeast-2"] }], endpoint: u, [G]: h }, w, { conditions: [{ [H]: d, [I]: [q, "ca-central-1"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "eu-central-1"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "eu-north-1"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "eu-west-1"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "eu-west-2"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "eu-west-3"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "sa-east-1"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, g] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "us-east-2"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "us-west-1"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "us-west-2"] }], endpoint: u, [G]: h }, { endpoint: { url: i, properties: { authSchemes: [{ name: e, signingName: f, signingRegion: "{Region}" }] }, headers: v }, [G]: h }], [G]: j }, { conditions: C, rules: [{ conditions: D, error: "Invalid Configuration: FIPS and custom endpoint are not supported", [G]: k }, { conditions: E, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", [G]: k }, { endpoint: { url: o, properties: v, headers: v }, [G]: h }], [G]: j }, { conditions: [p], rules: [{ conditions: [r], rules: [{ conditions: [x, y], rules: [{ conditions: [{ [H]: c, [I]: [b, z] }, B], rules: [{ endpoint: { url: "https://sts-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: v, headers: v }, [G]: h }], [G]: j }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", [G]: k }], [G]: j }, { conditions: D, rules: [{ conditions: [{ [H]: c, [I]: [z, b] }], rules: [{ conditions: [{ [H]: d, [I]: [{ [H]: l, [I]: [A, "name"] }, "aws-us-gov"] }], endpoint: { url: "https://sts.{Region}.amazonaws.com", properties: v, headers: v }, [G]: h }, { endpoint: { url: "https://sts-fips.{Region}.{PartitionResult#dnsSuffix}", properties: v, headers: v }, [G]: h }], [G]: j }, { error: "FIPS is enabled but this partition does not support FIPS", [G]: k }], [G]: j }, { conditions: E, rules: [{ conditions: [B], rules: [{ endpoint: { url: "https://sts.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: v, headers: v }, [G]: h }], [G]: j }, { error: "DualStack is enabled but this partition does not support DualStack", [G]: k }], [G]: j }, w, { endpoint: { url: i, properties: v, headers: v }, [G]: h }], [G]: j }], [G]: j }, { error: "Invalid Configuration: Missing Region", [G]: k }] };
|
|
7
7
|
exports.ruleSet = _data;
|
|
@@ -702,7 +702,7 @@ const getDefaultRoleAssumer$1 = (stsOptions, STSClient) => {
|
|
|
702
702
|
return async (sourceCreds, params) => {
|
|
703
703
|
closureSourceCreds = sourceCreds;
|
|
704
704
|
if (!stsClient) {
|
|
705
|
-
const { logger = stsOptions?.parentClientConfig?.logger, profile = stsOptions?.parentClientConfig?.profile, region, requestHandler = stsOptions?.parentClientConfig?.requestHandler, credentialProviderLogger, } = stsOptions;
|
|
705
|
+
const { logger = stsOptions?.parentClientConfig?.logger, profile = stsOptions?.parentClientConfig?.profile, region, requestHandler = stsOptions?.parentClientConfig?.requestHandler, credentialProviderLogger, userAgentAppId = stsOptions?.parentClientConfig?.userAgentAppId, } = stsOptions;
|
|
706
706
|
const resolvedRegion = await resolveRegion(region, stsOptions?.parentClientConfig?.region, credentialProviderLogger, {
|
|
707
707
|
logger,
|
|
708
708
|
profile,
|
|
@@ -710,6 +710,7 @@ const getDefaultRoleAssumer$1 = (stsOptions, STSClient) => {
|
|
|
710
710
|
const isCompatibleRequestHandler = !isH2(requestHandler);
|
|
711
711
|
stsClient = new STSClient({
|
|
712
712
|
...stsOptions,
|
|
713
|
+
userAgentAppId,
|
|
713
714
|
profile,
|
|
714
715
|
credentialDefaultProvider: () => async () => closureSourceCreds,
|
|
715
716
|
region: resolvedRegion,
|
|
@@ -738,7 +739,7 @@ const getDefaultRoleAssumerWithWebIdentity$1 = (stsOptions, STSClient) => {
|
|
|
738
739
|
let stsClient;
|
|
739
740
|
return async (params) => {
|
|
740
741
|
if (!stsClient) {
|
|
741
|
-
const { logger = stsOptions?.parentClientConfig?.logger, profile = stsOptions?.parentClientConfig?.profile, region, requestHandler = stsOptions?.parentClientConfig?.requestHandler, credentialProviderLogger, } = stsOptions;
|
|
742
|
+
const { logger = stsOptions?.parentClientConfig?.logger, profile = stsOptions?.parentClientConfig?.profile, region, requestHandler = stsOptions?.parentClientConfig?.requestHandler, credentialProviderLogger, userAgentAppId = stsOptions?.parentClientConfig?.userAgentAppId, } = stsOptions;
|
|
742
743
|
const resolvedRegion = await resolveRegion(region, stsOptions?.parentClientConfig?.region, credentialProviderLogger, {
|
|
743
744
|
logger,
|
|
744
745
|
profile,
|
|
@@ -746,6 +747,7 @@ const getDefaultRoleAssumerWithWebIdentity$1 = (stsOptions, STSClient) => {
|
|
|
746
747
|
const isCompatibleRequestHandler = !isH2(requestHandler);
|
|
747
748
|
stsClient = new STSClient({
|
|
748
749
|
...stsOptions,
|
|
750
|
+
userAgentAppId,
|
|
749
751
|
profile,
|
|
750
752
|
region: resolvedRegion,
|
|
751
753
|
requestHandler: isCompatibleRequestHandler ? requestHandler : undefined,
|
|
@@ -24,7 +24,7 @@ export const getDefaultRoleAssumer = (stsOptions, STSClient) => {
|
|
|
24
24
|
return async (sourceCreds, params) => {
|
|
25
25
|
closureSourceCreds = sourceCreds;
|
|
26
26
|
if (!stsClient) {
|
|
27
|
-
const { logger = stsOptions?.parentClientConfig?.logger, profile = stsOptions?.parentClientConfig?.profile, region, requestHandler = stsOptions?.parentClientConfig?.requestHandler, credentialProviderLogger, } = stsOptions;
|
|
27
|
+
const { logger = stsOptions?.parentClientConfig?.logger, profile = stsOptions?.parentClientConfig?.profile, region, requestHandler = stsOptions?.parentClientConfig?.requestHandler, credentialProviderLogger, userAgentAppId = stsOptions?.parentClientConfig?.userAgentAppId, } = stsOptions;
|
|
28
28
|
const resolvedRegion = await resolveRegion(region, stsOptions?.parentClientConfig?.region, credentialProviderLogger, {
|
|
29
29
|
logger,
|
|
30
30
|
profile,
|
|
@@ -32,6 +32,7 @@ export const getDefaultRoleAssumer = (stsOptions, STSClient) => {
|
|
|
32
32
|
const isCompatibleRequestHandler = !isH2(requestHandler);
|
|
33
33
|
stsClient = new STSClient({
|
|
34
34
|
...stsOptions,
|
|
35
|
+
userAgentAppId,
|
|
35
36
|
profile,
|
|
36
37
|
credentialDefaultProvider: () => async () => closureSourceCreds,
|
|
37
38
|
region: resolvedRegion,
|
|
@@ -60,7 +61,7 @@ export const getDefaultRoleAssumerWithWebIdentity = (stsOptions, STSClient) => {
|
|
|
60
61
|
let stsClient;
|
|
61
62
|
return async (params) => {
|
|
62
63
|
if (!stsClient) {
|
|
63
|
-
const { logger = stsOptions?.parentClientConfig?.logger, profile = stsOptions?.parentClientConfig?.profile, region, requestHandler = stsOptions?.parentClientConfig?.requestHandler, credentialProviderLogger, } = stsOptions;
|
|
64
|
+
const { logger = stsOptions?.parentClientConfig?.logger, profile = stsOptions?.parentClientConfig?.profile, region, requestHandler = stsOptions?.parentClientConfig?.requestHandler, credentialProviderLogger, userAgentAppId = stsOptions?.parentClientConfig?.userAgentAppId, } = stsOptions;
|
|
64
65
|
const resolvedRegion = await resolveRegion(region, stsOptions?.parentClientConfig?.region, credentialProviderLogger, {
|
|
65
66
|
logger,
|
|
66
67
|
profile,
|
|
@@ -68,6 +69,7 @@ export const getDefaultRoleAssumerWithWebIdentity = (stsOptions, STSClient) => {
|
|
|
68
69
|
const isCompatibleRequestHandler = !isH2(requestHandler);
|
|
69
70
|
stsClient = new STSClient({
|
|
70
71
|
...stsOptions,
|
|
72
|
+
userAgentAppId,
|
|
71
73
|
profile,
|
|
72
74
|
region: resolvedRegion,
|
|
73
75
|
requestHandler: isCompatibleRequestHandler ? requestHandler : undefined,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
const F = "required", G = "type", H = "fn", I = "argv", J = "ref";
|
|
2
|
-
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]: "
|
|
2
|
+
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 = { "url": "https://sts.amazonaws.com", "properties": { "authSchemes": [{ "name": e, "signingName": f, "signingRegion": g }] }, "headers": {} }, 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];
|
|
3
3
|
const _data = { version: "1.0", parameters: { Region: m, UseDualStack: n, UseFIPS: n, Endpoint: m, UseGlobalEndpoint: n }, rules: [{ conditions: [{ [H]: c, [I]: [{ [J]: "UseGlobalEndpoint" }, b] }, { [H]: "not", [I]: C }, p, r, { [H]: c, [I]: [s, a] }, { [H]: c, [I]: [t, a] }], rules: [{ conditions: [{ [H]: d, [I]: [q, "ap-northeast-1"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "ap-south-1"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "ap-southeast-1"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "ap-southeast-2"] }], endpoint: u, [G]: h }, w, { conditions: [{ [H]: d, [I]: [q, "ca-central-1"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "eu-central-1"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "eu-north-1"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "eu-west-1"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "eu-west-2"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "eu-west-3"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "sa-east-1"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, g] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "us-east-2"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "us-west-1"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "us-west-2"] }], endpoint: u, [G]: h }, { endpoint: { url: i, properties: { authSchemes: [{ name: e, signingName: f, signingRegion: "{Region}" }] }, headers: v }, [G]: h }], [G]: j }, { conditions: C, rules: [{ conditions: D, error: "Invalid Configuration: FIPS and custom endpoint are not supported", [G]: k }, { conditions: E, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", [G]: k }, { endpoint: { url: o, properties: v, headers: v }, [G]: h }], [G]: j }, { conditions: [p], rules: [{ conditions: [r], rules: [{ conditions: [x, y], rules: [{ conditions: [{ [H]: c, [I]: [b, z] }, B], rules: [{ endpoint: { url: "https://sts-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: v, headers: v }, [G]: h }], [G]: j }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", [G]: k }], [G]: j }, { conditions: D, rules: [{ conditions: [{ [H]: c, [I]: [z, b] }], rules: [{ conditions: [{ [H]: d, [I]: [{ [H]: l, [I]: [A, "name"] }, "aws-us-gov"] }], endpoint: { url: "https://sts.{Region}.amazonaws.com", properties: v, headers: v }, [G]: h }, { endpoint: { url: "https://sts-fips.{Region}.{PartitionResult#dnsSuffix}", properties: v, headers: v }, [G]: h }], [G]: j }, { error: "FIPS is enabled but this partition does not support FIPS", [G]: k }], [G]: j }, { conditions: E, rules: [{ conditions: [B], rules: [{ endpoint: { url: "https://sts.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: v, headers: v }, [G]: h }], [G]: j }, { error: "DualStack is enabled but this partition does not support DualStack", [G]: k }], [G]: j }, w, { endpoint: { url: i, properties: v, headers: v }, [G]: h }], [G]: j }], [G]: j }, { error: "Invalid Configuration: Missing Region", [G]: k }] };
|
|
4
4
|
export const ruleSet = _data;
|