@jjrawlins/cdk-iam-policy-builder-helper 0.0.70 → 0.0.72
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/cdk-iam-policy-builder-helper/go.mod +1 -1
- package/cdk-iam-policy-builder-helper/jsii/jsii.go +2 -2
- package/cdk-iam-policy-builder-helper/version +1 -1
- package/lib/constructs/Actions.d.ts +17 -0
- package/lib/constructs/Actions.js +18 -1
- package/methods_list.txt +17 -0
- package/node_modules/@aws-sdk/client-iam/package.json +34 -34
- package/node_modules/@aws-sdk/client-sso/dist-cjs/endpoint/ruleset.js +1 -1
- package/node_modules/@aws-sdk/client-sso/dist-es/endpoint/ruleset.js +1 -1
- package/node_modules/@aws-sdk/client-sso/package.json +32 -32
- package/node_modules/@aws-sdk/core/package.json +11 -11
- package/node_modules/@aws-sdk/credential-provider-env/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-http/package.json +10 -10
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +13 -13
- package/node_modules/@aws-sdk/credential-provider-node/package.json +12 -12
- package/node_modules/@aws-sdk/credential-provider-process/package.json +6 -6
- package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js +1 -0
- package/node_modules/@aws-sdk/credential-provider-sso/dist-es/resolveSSOCredentials.js +1 -0
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +7 -7
- package/node_modules/@aws-sdk/middleware-host-header/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-logger/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js +3 -3
- package/node_modules/@aws-sdk/middleware-user-agent/dist-es/constants.js +2 -2
- package/node_modules/@aws-sdk/middleware-user-agent/dist-es/user-agent-middleware.js +1 -1
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +7 -7
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/endpoint/ruleset.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/ruleset.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +4 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/ruleset.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/defaultStsRoleAssumers.js +4 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/ruleset.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/defaultStsRoleAssumers.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/defaultStsRoleAssumers.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/package.json +32 -32
- package/node_modules/@aws-sdk/region-config-resolver/package.json +5 -5
- 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/package.json +7 -7
- package/node_modules/@aws-sdk/types/dist-types/credentials.d.ts +1 -0
- package/node_modules/@aws-sdk/types/dist-types/identity/AwsCredentialIdentity.d.ts +1 -0
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/credentials.d.ts +1 -0
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/AwsCredentialIdentity.d.ts +1 -0
- package/node_modules/@aws-sdk/types/package.json +2 -2
- package/node_modules/@aws-sdk/util-endpoints/package.json +5 -5
- package/node_modules/@aws-sdk/util-user-agent-browser/package.json +3 -3
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +5 -5
- package/node_modules/@aws-sdk/xml-builder/package.json +2 -2
- package/node_modules/@smithy/abort-controller/package.json +2 -2
- package/node_modules/@smithy/config-resolver/package.json +5 -5
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +5 -14
- package/node_modules/@smithy/core/dist-es/submodules/serde/schema-serde-lib/schema-date-utils.js +5 -14
- package/node_modules/@smithy/core/package.json +7 -7
- package/node_modules/@smithy/credential-provider-imds/package.json +5 -5
- package/node_modules/@smithy/fetch-http-handler/package.json +5 -5
- package/node_modules/@smithy/hash-node/package.json +2 -2
- package/node_modules/@smithy/invalid-dependency/package.json +2 -2
- package/node_modules/@smithy/middleware-content-length/package.json +3 -3
- package/node_modules/@smithy/middleware-endpoint/package.json +8 -8
- package/node_modules/@smithy/middleware-retry/package.json +8 -8
- package/node_modules/@smithy/middleware-serde/package.json +3 -3
- package/node_modules/@smithy/middleware-stack/package.json +2 -2
- package/node_modules/@smithy/node-config-provider/package.json +4 -4
- package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +7 -4
- package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +5 -2
- package/node_modules/@smithy/node-http-handler/dist-es/write-request-body.js +2 -2
- package/node_modules/@smithy/node-http-handler/dist-types/node-http-handler.d.ts +2 -2
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http-handler.d.ts +2 -2
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/write-request-body.d.ts +2 -1
- package/node_modules/@smithy/node-http-handler/dist-types/write-request-body.d.ts +2 -1
- package/node_modules/@smithy/node-http-handler/package.json +5 -5
- package/node_modules/@smithy/property-provider/package.json +2 -2
- package/node_modules/@smithy/protocol-http/package.json +2 -2
- package/node_modules/@smithy/querystring-builder/package.json +2 -2
- package/node_modules/@smithy/querystring-parser/package.json +2 -2
- package/node_modules/@smithy/service-error-classification/package.json +2 -2
- package/node_modules/@smithy/shared-ini-file-loader/package.json +2 -2
- package/node_modules/@smithy/signature-v4/package.json +4 -4
- package/node_modules/@smithy/smithy-client/package.json +7 -7
- package/node_modules/@smithy/types/dist-es/index.js +1 -0
- package/node_modules/@smithy/types/dist-types/index.d.ts +1 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/index.d.ts +1 -0
- package/node_modules/@smithy/types/package.json +1 -1
- package/node_modules/@smithy/url-parser/package.json +3 -3
- package/node_modules/@smithy/util-defaults-mode-browser/package.json +4 -4
- package/node_modules/@smithy/util-defaults-mode-node/package.json +7 -7
- package/node_modules/@smithy/util-endpoints/package.json +3 -3
- package/node_modules/@smithy/util-middleware/package.json +2 -2
- package/node_modules/@smithy/util-retry/package.json +3 -3
- package/node_modules/@smithy/util-stream/package.json +4 -4
- package/node_modules/@smithy/util-waiter/dist-cjs/index.js +17 -4
- package/node_modules/@smithy/util-waiter/dist-es/circularReplacer.js +12 -0
- package/node_modules/@smithy/util-waiter/dist-es/poller.js +2 -1
- package/node_modules/@smithy/util-waiter/dist-es/waiter.js +4 -3
- package/node_modules/@smithy/util-waiter/dist-types/circularReplacer.d.ts +6 -0
- package/node_modules/@smithy/util-waiter/dist-types/poller.d.ts +1 -1
- package/node_modules/@smithy/util-waiter/dist-types/ts3.4/circularReplacer.d.ts +6 -0
- package/node_modules/@smithy/util-waiter/dist-types/ts3.4/poller.d.ts +1 -1
- package/node_modules/@smithy/util-waiter/package.json +3 -3
- package/package.json +3 -3
|
@@ -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,10 +24,10 @@
|
|
|
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
|
-
"@smithy/protocol-http": "^5.3.
|
|
30
|
-
"@smithy/types": "^4.8.
|
|
29
|
+
"@smithy/protocol-http": "^5.3.4",
|
|
30
|
+
"@smithy/types": "^4.8.1",
|
|
31
31
|
"tslib": "^2.6.2"
|
|
32
32
|
},
|
|
33
33
|
"engines": {
|
|
@@ -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,12 +25,12 @@
|
|
|
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.
|
|
31
|
-
"@smithy/core": "^3.17.
|
|
32
|
-
"@smithy/protocol-http": "^5.3.
|
|
33
|
-
"@smithy/types": "^4.8.
|
|
28
|
+
"@aws-sdk/core": "3.922.0",
|
|
29
|
+
"@aws-sdk/types": "3.922.0",
|
|
30
|
+
"@aws-sdk/util-endpoints": "3.922.0",
|
|
31
|
+
"@smithy/core": "^3.17.2",
|
|
32
|
+
"@smithy/protocol-http": "^5.3.4",
|
|
33
|
+
"@smithy/types": "^4.8.1",
|
|
34
34
|
"tslib": "^2.6.2"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/endpoint/ruleset.js
CHANGED
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
4
|
const u = "required", v = "fn", w = "argv", x = "ref";
|
|
5
|
-
const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = "getAttr", i = { [u]: false, "type": "
|
|
5
|
+
const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = "getAttr", i = { [u]: false, "type": "string" }, j = { [u]: true, "default": false, "type": "boolean" }, k = { [x]: "Endpoint" }, l = { [v]: c, [w]: [{ [x]: "UseFIPS" }, true] }, m = { [v]: c, [w]: [{ [x]: "UseDualStack" }, true] }, n = {}, o = { [v]: h, [w]: [{ [x]: g }, "supportsFIPS"] }, p = { [x]: g }, q = { [v]: c, [w]: [true, { [v]: h, [w]: [p, "supportsDualStack"] }] }, r = [l], s = [m], t = [{ [x]: "Region" }];
|
|
6
6
|
const _data = { version: "1.0", parameters: { Region: i, UseDualStack: j, UseFIPS: j, Endpoint: i }, rules: [{ conditions: [{ [v]: b, [w]: [k] }], rules: [{ conditions: r, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { conditions: s, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: k, properties: n, headers: n }, type: e }], type: f }, { conditions: [{ [v]: b, [w]: t }], rules: [{ conditions: [{ [v]: "aws.partition", [w]: t, assign: g }], rules: [{ conditions: [l, m], rules: [{ conditions: [{ [v]: c, [w]: [a, o] }, q], rules: [{ endpoint: { url: "https://oidc-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: n, headers: n }, type: e }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: r, rules: [{ conditions: [{ [v]: c, [w]: [o, a] }], rules: [{ conditions: [{ [v]: "stringEquals", [w]: [{ [v]: h, [w]: [p, "name"] }, "aws-us-gov"] }], endpoint: { url: "https://oidc.{Region}.amazonaws.com", properties: n, headers: n }, type: e }, { endpoint: { url: "https://oidc-fips.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n }, type: e }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: s, rules: [{ conditions: [q], rules: [{ endpoint: { url: "https://oidc.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: n, headers: n }, type: e }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { endpoint: { url: "https://oidc.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n }, type: e }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }] };
|
|
7
7
|
exports.ruleSet = _data;
|
|
@@ -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,
|
package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/ruleset.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
const u = "required", v = "fn", w = "argv", x = "ref";
|
|
2
|
-
const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = "getAttr", i = { [u]: false, "type": "
|
|
2
|
+
const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = "getAttr", i = { [u]: false, "type": "string" }, j = { [u]: true, "default": false, "type": "boolean" }, k = { [x]: "Endpoint" }, l = { [v]: c, [w]: [{ [x]: "UseFIPS" }, true] }, m = { [v]: c, [w]: [{ [x]: "UseDualStack" }, true] }, n = {}, o = { [v]: h, [w]: [{ [x]: g }, "supportsFIPS"] }, p = { [x]: g }, q = { [v]: c, [w]: [true, { [v]: h, [w]: [p, "supportsDualStack"] }] }, r = [l], s = [m], t = [{ [x]: "Region" }];
|
|
3
3
|
const _data = { version: "1.0", parameters: { Region: i, UseDualStack: j, UseFIPS: j, Endpoint: i }, rules: [{ conditions: [{ [v]: b, [w]: [k] }], rules: [{ conditions: r, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { conditions: s, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: k, properties: n, headers: n }, type: e }], type: f }, { conditions: [{ [v]: b, [w]: t }], rules: [{ conditions: [{ [v]: "aws.partition", [w]: t, assign: g }], rules: [{ conditions: [l, m], rules: [{ conditions: [{ [v]: c, [w]: [a, o] }, q], rules: [{ endpoint: { url: "https://oidc-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: n, headers: n }, type: e }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: r, rules: [{ conditions: [{ [v]: c, [w]: [o, a] }], rules: [{ conditions: [{ [v]: "stringEquals", [w]: [{ [v]: h, [w]: [p, "name"] }, "aws-us-gov"] }], endpoint: { url: "https://oidc.{Region}.amazonaws.com", properties: n, headers: n }, type: e }, { endpoint: { url: "https://oidc-fips.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n }, type: e }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: s, rules: [{ conditions: [q], rules: [{ endpoint: { url: "https://oidc.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: n, headers: n }, type: e }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { endpoint: { url: "https://oidc.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n }, type: e }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }] };
|
|
4
4
|
export const ruleSet = _data;
|
package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/defaultStsRoleAssumers.js
CHANGED
|
@@ -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;
|
package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/defaultStsRoleAssumers.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ import type { STSClient, STSClientConfig } from "./STSClient";
|
|
|
6
6
|
/**
|
|
7
7
|
* @public
|
|
8
8
|
*/
|
|
9
|
-
export type STSRoleAssumerOptions = Pick<STSClientConfig, "logger" | "region" | "requestHandler" | "profile"> & {
|
|
9
|
+
export type STSRoleAssumerOptions = Pick<STSClientConfig, "logger" | "region" | "requestHandler" | "profile" | "userAgentAppId"> & {
|
|
10
10
|
credentialProviderLogger?: Logger;
|
|
11
11
|
parentClientConfig?: CredentialProviderOptions["parentClientConfig"];
|
|
12
12
|
};
|
|
@@ -5,7 +5,7 @@ import { AssumeRoleWithWebIdentityCommandInput } from "./commands/AssumeRoleWith
|
|
|
5
5
|
import { STSClient, STSClientConfig } from "./STSClient";
|
|
6
6
|
export type STSRoleAssumerOptions = Pick<
|
|
7
7
|
STSClientConfig,
|
|
8
|
-
"logger" | "region" | "requestHandler" | "profile"
|
|
8
|
+
"logger" | "region" | "requestHandler" | "profile" | "userAgentAppId"
|
|
9
9
|
> & {
|
|
10
10
|
credentialProviderLogger?: Logger;
|
|
11
11
|
parentClientConfig?: CredentialProviderOptions["parentClientConfig"];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/nested-clients",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.922.0",
|
|
4
4
|
"description": "Nested clients for AWS SDK packages.",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -29,40 +29,40 @@
|
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
31
31
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
32
|
-
"@aws-sdk/core": "3.
|
|
33
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
34
|
-
"@aws-sdk/middleware-logger": "3.
|
|
35
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
36
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
37
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
38
|
-
"@aws-sdk/types": "3.
|
|
39
|
-
"@aws-sdk/util-endpoints": "3.
|
|
40
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
41
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
42
|
-
"@smithy/config-resolver": "^4.4.
|
|
43
|
-
"@smithy/core": "^3.17.
|
|
44
|
-
"@smithy/fetch-http-handler": "^5.3.
|
|
45
|
-
"@smithy/hash-node": "^4.2.
|
|
46
|
-
"@smithy/invalid-dependency": "^4.2.
|
|
47
|
-
"@smithy/middleware-content-length": "^4.2.
|
|
48
|
-
"@smithy/middleware-endpoint": "^4.3.
|
|
49
|
-
"@smithy/middleware-retry": "^4.4.
|
|
50
|
-
"@smithy/middleware-serde": "^4.2.
|
|
51
|
-
"@smithy/middleware-stack": "^4.2.
|
|
52
|
-
"@smithy/node-config-provider": "^4.3.
|
|
53
|
-
"@smithy/node-http-handler": "^4.4.
|
|
54
|
-
"@smithy/protocol-http": "^5.3.
|
|
55
|
-
"@smithy/smithy-client": "^4.9.
|
|
56
|
-
"@smithy/types": "^4.8.
|
|
57
|
-
"@smithy/url-parser": "^4.2.
|
|
32
|
+
"@aws-sdk/core": "3.922.0",
|
|
33
|
+
"@aws-sdk/middleware-host-header": "3.922.0",
|
|
34
|
+
"@aws-sdk/middleware-logger": "3.922.0",
|
|
35
|
+
"@aws-sdk/middleware-recursion-detection": "3.922.0",
|
|
36
|
+
"@aws-sdk/middleware-user-agent": "3.922.0",
|
|
37
|
+
"@aws-sdk/region-config-resolver": "3.922.0",
|
|
38
|
+
"@aws-sdk/types": "3.922.0",
|
|
39
|
+
"@aws-sdk/util-endpoints": "3.922.0",
|
|
40
|
+
"@aws-sdk/util-user-agent-browser": "3.922.0",
|
|
41
|
+
"@aws-sdk/util-user-agent-node": "3.922.0",
|
|
42
|
+
"@smithy/config-resolver": "^4.4.1",
|
|
43
|
+
"@smithy/core": "^3.17.2",
|
|
44
|
+
"@smithy/fetch-http-handler": "^5.3.5",
|
|
45
|
+
"@smithy/hash-node": "^4.2.4",
|
|
46
|
+
"@smithy/invalid-dependency": "^4.2.4",
|
|
47
|
+
"@smithy/middleware-content-length": "^4.2.4",
|
|
48
|
+
"@smithy/middleware-endpoint": "^4.3.6",
|
|
49
|
+
"@smithy/middleware-retry": "^4.4.6",
|
|
50
|
+
"@smithy/middleware-serde": "^4.2.4",
|
|
51
|
+
"@smithy/middleware-stack": "^4.2.4",
|
|
52
|
+
"@smithy/node-config-provider": "^4.3.4",
|
|
53
|
+
"@smithy/node-http-handler": "^4.4.4",
|
|
54
|
+
"@smithy/protocol-http": "^5.3.4",
|
|
55
|
+
"@smithy/smithy-client": "^4.9.2",
|
|
56
|
+
"@smithy/types": "^4.8.1",
|
|
57
|
+
"@smithy/url-parser": "^4.2.4",
|
|
58
58
|
"@smithy/util-base64": "^4.3.0",
|
|
59
59
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
60
60
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
61
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
62
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
63
|
-
"@smithy/util-endpoints": "^3.2.
|
|
64
|
-
"@smithy/util-middleware": "^4.2.
|
|
65
|
-
"@smithy/util-retry": "^4.2.
|
|
61
|
+
"@smithy/util-defaults-mode-browser": "^4.3.5",
|
|
62
|
+
"@smithy/util-defaults-mode-node": "^4.2.7",
|
|
63
|
+
"@smithy/util-endpoints": "^3.2.4",
|
|
64
|
+
"@smithy/util-middleware": "^4.2.4",
|
|
65
|
+
"@smithy/util-retry": "^4.2.4",
|
|
66
66
|
"@smithy/util-utf8": "^4.2.0",
|
|
67
67
|
"tslib": "^2.6.2"
|
|
68
68
|
},
|
|
@@ -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,10 +23,10 @@
|
|
|
23
23
|
},
|
|
24
24
|
"license": "Apache-2.0",
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@aws-sdk/types": "3.
|
|
27
|
-
"@smithy/config-resolver": "^4.4.
|
|
28
|
-
"@smithy/node-config-provider": "^4.3.
|
|
29
|
-
"@smithy/types": "^4.8.
|
|
26
|
+
"@aws-sdk/types": "3.922.0",
|
|
27
|
+
"@smithy/config-resolver": "^4.4.1",
|
|
28
|
+
"@smithy/node-config-provider": "^4.3.4",
|
|
29
|
+
"@smithy/types": "^4.8.1",
|
|
30
30
|
"tslib": "^2.6.2"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
@@ -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/token-providers",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.922.0",
|
|
4
4
|
"description": "A collection of token providers",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -29,12 +29,12 @@
|
|
|
29
29
|
},
|
|
30
30
|
"license": "Apache-2.0",
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@aws-sdk/core": "3.
|
|
33
|
-
"@aws-sdk/nested-clients": "3.
|
|
34
|
-
"@aws-sdk/types": "3.
|
|
35
|
-
"@smithy/property-provider": "^4.2.
|
|
36
|
-
"@smithy/shared-ini-file-loader": "^4.3.
|
|
37
|
-
"@smithy/types": "^4.8.
|
|
32
|
+
"@aws-sdk/core": "3.922.0",
|
|
33
|
+
"@aws-sdk/nested-clients": "3.922.0",
|
|
34
|
+
"@aws-sdk/types": "3.922.0",
|
|
35
|
+
"@smithy/property-provider": "^4.2.4",
|
|
36
|
+
"@smithy/shared-ini-file-loader": "^4.3.4",
|
|
37
|
+
"@smithy/types": "^4.8.1",
|
|
38
38
|
"tslib": "^2.6.2"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/types",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.922.0",
|
|
4
4
|
"main": "./dist-cjs/index.js",
|
|
5
5
|
"module": "./dist-es/index.js",
|
|
6
6
|
"types": "./dist-types/index.d.ts",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"directory": "packages/types"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@smithy/types": "^4.8.
|
|
45
|
+
"@smithy/types": "^4.8.1",
|
|
46
46
|
"tslib": "^2.6.2"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
@@ -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,10 +25,10 @@
|
|
|
25
25
|
},
|
|
26
26
|
"license": "Apache-2.0",
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@aws-sdk/types": "3.
|
|
29
|
-
"@smithy/types": "^4.8.
|
|
30
|
-
"@smithy/url-parser": "^4.2.
|
|
31
|
-
"@smithy/util-endpoints": "^3.2.
|
|
28
|
+
"@aws-sdk/types": "3.922.0",
|
|
29
|
+
"@smithy/types": "^4.8.1",
|
|
30
|
+
"@smithy/url-parser": "^4.2.4",
|
|
31
|
+
"@smithy/util-endpoints": "^3.2.4",
|
|
32
32
|
"tslib": "^2.6.2"
|
|
33
33
|
},
|
|
34
34
|
"engines": {
|
|
@@ -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,8 +24,8 @@
|
|
|
24
24
|
"license": "Apache-2.0",
|
|
25
25
|
"react-native": "dist-es/index.native.js",
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@aws-sdk/types": "3.
|
|
28
|
-
"@smithy/types": "^4.8.
|
|
27
|
+
"@aws-sdk/types": "3.922.0",
|
|
28
|
+
"@smithy/types": "^4.8.1",
|
|
29
29
|
"bowser": "^2.11.0",
|
|
30
30
|
"tslib": "^2.6.2"
|
|
31
31
|
},
|
|
@@ -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,10 +22,10 @@
|
|
|
22
22
|
},
|
|
23
23
|
"license": "Apache-2.0",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
26
|
-
"@aws-sdk/types": "3.
|
|
27
|
-
"@smithy/node-config-provider": "^4.3.
|
|
28
|
-
"@smithy/types": "^4.8.
|
|
25
|
+
"@aws-sdk/middleware-user-agent": "3.922.0",
|
|
26
|
+
"@aws-sdk/types": "3.922.0",
|
|
27
|
+
"@smithy/node-config-provider": "^4.3.4",
|
|
28
|
+
"@smithy/types": "^4.8.1",
|
|
29
29
|
"tslib": "^2.6.2"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/xml-builder",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.921.0",
|
|
4
4
|
"description": "XML builder for the AWS SDK",
|
|
5
5
|
"dependencies": {
|
|
6
|
-
"@smithy/types": "^4.8.
|
|
6
|
+
"@smithy/types": "^4.8.1",
|
|
7
7
|
"fast-xml-parser": "5.2.5",
|
|
8
8
|
"tslib": "^2.6.2"
|
|
9
9
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/abort-controller",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.4",
|
|
4
4
|
"description": "A simple abort controller library",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"license": "Apache-2.0",
|
|
27
27
|
"sideEffects": false,
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@smithy/types": "^4.8.
|
|
29
|
+
"@smithy/types": "^4.8.1",
|
|
30
30
|
"tslib": "^2.6.2"
|
|
31
31
|
},
|
|
32
32
|
"engines": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/config-resolver",
|
|
3
|
-
"version": "4.4.
|
|
3
|
+
"version": "4.4.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",
|
|
@@ -25,11 +25,11 @@
|
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
26
|
"sideEffects": false,
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@smithy/node-config-provider": "^4.3.
|
|
29
|
-
"@smithy/types": "^4.8.
|
|
28
|
+
"@smithy/node-config-provider": "^4.3.4",
|
|
29
|
+
"@smithy/types": "^4.8.1",
|
|
30
30
|
"@smithy/util-config-provider": "^4.2.0",
|
|
31
|
-
"@smithy/util-endpoints": "^3.2.
|
|
32
|
-
"@smithy/util-middleware": "^4.2.
|
|
31
|
+
"@smithy/util-endpoints": "^3.2.4",
|
|
32
|
+
"@smithy/util-middleware": "^4.2.4",
|
|
33
33
|
"tslib": "^2.6.2"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|