@cdk8s/awscdk-resolver 0.0.748 → 0.0.750
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.jsii +3 -3
- package/lib/resolve.js +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/package.json +4 -4
- package/node_modules/@aws-sdk/core/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-env/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-http/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +10 -10
- package/node_modules/@aws-sdk/credential-provider-login/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-node/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-process/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +4 -4
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +2 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +66 -3
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/models/enums.js +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/models/errors.js +13 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/schemas/schemas_0.js +48 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/enums.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/models_0.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/AssumeRoleCommand.d.ts +12 -7
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.d.ts +20 -14
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/models/errors.d.ts +22 -7
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/models/models_0.d.ts +109 -53
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/schemas/schemas_0.d.ts +4 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/models/enums.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/models/errors.d.ts +6 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/models/models_0.d.ts +14 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/schemas/schemas_0.d.ts +4 -0
- package/node_modules/@aws-sdk/nested-clients/package.json +3 -3
- package/node_modules/@aws-sdk/token-providers/package.json +4 -4
- package/package.json +4 -4
package/.jsii
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"url": "https://aws.amazon.com"
|
|
8
8
|
},
|
|
9
9
|
"bundled": {
|
|
10
|
-
"@aws-sdk/client-cloudformation": "^3.
|
|
10
|
+
"@aws-sdk/client-cloudformation": "^3.1177.0"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
13
|
"aws-cdk-lib": "^2.195.0",
|
|
@@ -4083,6 +4083,6 @@
|
|
|
4083
4083
|
"symbolId": "src/resolve:AwsCdkResolver"
|
|
4084
4084
|
}
|
|
4085
4085
|
},
|
|
4086
|
-
"version": "0.0.
|
|
4087
|
-
"fingerprint": "
|
|
4086
|
+
"version": "0.0.750",
|
|
4087
|
+
"fingerprint": "JPo5mkXyMhZWUTrH0X5NhfZQNX5rt4V2LjWgTMYg+eE="
|
|
4088
4088
|
}
|
package/lib/resolve.js
CHANGED
|
@@ -39,7 +39,7 @@ const child_process_1 = require("child_process");
|
|
|
39
39
|
const path = __importStar(require("path"));
|
|
40
40
|
const aws_cdk_lib_1 = require("aws-cdk-lib");
|
|
41
41
|
class AwsCdkResolver {
|
|
42
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@cdk8s/awscdk-resolver.AwsCdkResolver", version: "0.0.
|
|
42
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@cdk8s/awscdk-resolver.AwsCdkResolver", version: "0.0.750" };
|
|
43
43
|
resolve(context) {
|
|
44
44
|
if (!aws_cdk_lib_1.Token.isUnresolved(context.value)) {
|
|
45
45
|
return;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-cloudformation",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1177.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Cloudformation Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-cloudformation",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -48,10 +48,10 @@
|
|
|
48
48
|
"test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"@aws-sdk/core": "^3.981.
|
|
52
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
51
|
+
"@aws-sdk/core": "^3.981.2",
|
|
52
|
+
"@aws-sdk/credential-provider-node": "^3.972.99",
|
|
53
53
|
"@aws-sdk/types": "^3.975.1",
|
|
54
|
-
"@smithy/core": "^3.
|
|
54
|
+
"@smithy/core": "^3.41.1",
|
|
55
55
|
"@smithy/fetch-http-handler": "^5.8.1",
|
|
56
56
|
"@smithy/node-http-handler": "^4.14.2",
|
|
57
57
|
"@smithy/types": "^4.20.0",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/core",
|
|
3
|
-
"version": "3.981.
|
|
3
|
+
"version": "3.981.2",
|
|
4
4
|
"description": "Core functions & classes shared by multiple AWS SDK clients.",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages-internal/core",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -126,7 +126,7 @@
|
|
|
126
126
|
"@aws-sdk/types": "^3.975.1",
|
|
127
127
|
"@aws-sdk/xml-builder": "^3.972.43",
|
|
128
128
|
"@aws/lambda-invoke-store": "^0.3.0",
|
|
129
|
-
"@smithy/core": "^3.
|
|
129
|
+
"@smithy/core": "^3.41.1",
|
|
130
130
|
"@smithy/signature-v4": "^5.7.5",
|
|
131
131
|
"@smithy/types": "^4.20.0",
|
|
132
132
|
"bowser": "^2.11.0",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-env",
|
|
3
|
-
"version": "3.972.
|
|
3
|
+
"version": "3.972.86",
|
|
4
4
|
"description": "AWS credential provider that sources credentials from known environment variables",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"aws",
|
|
@@ -43,9 +43,9 @@
|
|
|
43
43
|
"test:watch": "yarn g:vitest watch"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@aws-sdk/core": "^3.981.
|
|
46
|
+
"@aws-sdk/core": "^3.981.2",
|
|
47
47
|
"@aws-sdk/types": "^3.975.1",
|
|
48
|
-
"@smithy/core": "^3.
|
|
48
|
+
"@smithy/core": "^3.41.1",
|
|
49
49
|
"@smithy/types": "^4.20.0",
|
|
50
50
|
"tslib": "^2.6.2"
|
|
51
51
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-http",
|
|
3
|
-
"version": "3.972.
|
|
3
|
+
"version": "3.972.88",
|
|
4
4
|
"description": "AWS credential provider for containers and HTTP sources",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"aws",
|
|
@@ -53,9 +53,9 @@
|
|
|
53
53
|
"test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts"
|
|
54
54
|
},
|
|
55
55
|
"dependencies": {
|
|
56
|
-
"@aws-sdk/core": "^3.981.
|
|
56
|
+
"@aws-sdk/core": "^3.981.2",
|
|
57
57
|
"@aws-sdk/types": "^3.975.1",
|
|
58
|
-
"@smithy/core": "^3.
|
|
58
|
+
"@smithy/core": "^3.41.1",
|
|
59
59
|
"@smithy/fetch-http-handler": "^5.8.1",
|
|
60
60
|
"@smithy/node-http-handler": "^4.14.2",
|
|
61
61
|
"@smithy/types": "^4.20.0",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-ini",
|
|
3
|
-
"version": "3.973.
|
|
3
|
+
"version": "3.973.32",
|
|
4
4
|
"description": "AWS credential provider that sources credentials from ~/.aws/credentials and ~/.aws/config",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"aws",
|
|
@@ -45,16 +45,16 @@
|
|
|
45
45
|
"test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@aws-sdk/core": "^3.981.
|
|
49
|
-
"@aws-sdk/credential-provider-env": "^3.972.
|
|
50
|
-
"@aws-sdk/credential-provider-http": "^3.972.
|
|
51
|
-
"@aws-sdk/credential-provider-login": "^3.972.
|
|
52
|
-
"@aws-sdk/credential-provider-process": "^3.972.
|
|
53
|
-
"@aws-sdk/credential-provider-sso": "^3.973.
|
|
54
|
-
"@aws-sdk/credential-provider-web-identity": "^3.972.
|
|
55
|
-
"@aws-sdk/nested-clients": "^3.998.
|
|
48
|
+
"@aws-sdk/core": "^3.981.2",
|
|
49
|
+
"@aws-sdk/credential-provider-env": "^3.972.86",
|
|
50
|
+
"@aws-sdk/credential-provider-http": "^3.972.88",
|
|
51
|
+
"@aws-sdk/credential-provider-login": "^3.972.94",
|
|
52
|
+
"@aws-sdk/credential-provider-process": "^3.972.86",
|
|
53
|
+
"@aws-sdk/credential-provider-sso": "^3.973.30",
|
|
54
|
+
"@aws-sdk/credential-provider-web-identity": "^3.972.92",
|
|
55
|
+
"@aws-sdk/nested-clients": "^3.998.5",
|
|
56
56
|
"@aws-sdk/types": "^3.975.1",
|
|
57
|
-
"@smithy/core": "^3.
|
|
57
|
+
"@smithy/core": "^3.41.1",
|
|
58
58
|
"@smithy/credential-provider-imds": "^4.5.2",
|
|
59
59
|
"@smithy/types": "^4.20.0",
|
|
60
60
|
"tslib": "^2.6.2"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-login",
|
|
3
|
-
"version": "3.972.
|
|
3
|
+
"version": "3.972.94",
|
|
4
4
|
"description": "AWS credential provider that sources credentials from aws login cached tokens",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"aws",
|
|
@@ -45,10 +45,10 @@
|
|
|
45
45
|
"test:watch": "yarn g:vitest watch"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@aws-sdk/core": "^3.981.
|
|
49
|
-
"@aws-sdk/nested-clients": "^3.998.
|
|
48
|
+
"@aws-sdk/core": "^3.981.2",
|
|
49
|
+
"@aws-sdk/nested-clients": "^3.998.5",
|
|
50
50
|
"@aws-sdk/types": "^3.975.1",
|
|
51
|
-
"@smithy/core": "^3.
|
|
51
|
+
"@smithy/core": "^3.41.1",
|
|
52
52
|
"@smithy/types": "^4.20.0",
|
|
53
53
|
"tslib": "^2.6.2"
|
|
54
54
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-node",
|
|
3
|
-
"version": "3.972.
|
|
3
|
+
"version": "3.972.99",
|
|
4
4
|
"description": "AWS credential provider that sources credentials from a Node.JS environment. ",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"aws",
|
|
@@ -45,14 +45,14 @@
|
|
|
45
45
|
"test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@aws-sdk/credential-provider-env": "^3.972.
|
|
49
|
-
"@aws-sdk/credential-provider-http": "^3.972.
|
|
50
|
-
"@aws-sdk/credential-provider-ini": "^3.973.
|
|
51
|
-
"@aws-sdk/credential-provider-process": "^3.972.
|
|
52
|
-
"@aws-sdk/credential-provider-sso": "^3.973.
|
|
53
|
-
"@aws-sdk/credential-provider-web-identity": "^3.972.
|
|
48
|
+
"@aws-sdk/credential-provider-env": "^3.972.86",
|
|
49
|
+
"@aws-sdk/credential-provider-http": "^3.972.88",
|
|
50
|
+
"@aws-sdk/credential-provider-ini": "^3.973.32",
|
|
51
|
+
"@aws-sdk/credential-provider-process": "^3.972.86",
|
|
52
|
+
"@aws-sdk/credential-provider-sso": "^3.973.30",
|
|
53
|
+
"@aws-sdk/credential-provider-web-identity": "^3.972.92",
|
|
54
54
|
"@aws-sdk/types": "^3.975.1",
|
|
55
|
-
"@smithy/core": "^3.
|
|
55
|
+
"@smithy/core": "^3.41.1",
|
|
56
56
|
"@smithy/credential-provider-imds": "^4.5.2",
|
|
57
57
|
"@smithy/types": "^4.20.0",
|
|
58
58
|
"tslib": "^2.6.2"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-process",
|
|
3
|
-
"version": "3.972.
|
|
3
|
+
"version": "3.972.86",
|
|
4
4
|
"description": "AWS credential provider that sources credential_process from ~/.aws/credentials and ~/.aws/config",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"aws",
|
|
@@ -43,9 +43,9 @@
|
|
|
43
43
|
"test:watch": "yarn g:vitest watch"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@aws-sdk/core": "^3.981.
|
|
46
|
+
"@aws-sdk/core": "^3.981.2",
|
|
47
47
|
"@aws-sdk/types": "^3.975.1",
|
|
48
|
-
"@smithy/core": "^3.
|
|
48
|
+
"@smithy/core": "^3.41.1",
|
|
49
49
|
"@smithy/types": "^4.20.0",
|
|
50
50
|
"tslib": "^2.6.2"
|
|
51
51
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-sso",
|
|
3
|
-
"version": "3.973.
|
|
3
|
+
"version": "3.973.30",
|
|
4
4
|
"description": "AWS credential provider that exchanges a resolved SSO login token file for temporary AWS credentials",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"aws",
|
|
@@ -45,11 +45,11 @@
|
|
|
45
45
|
"test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@aws-sdk/core": "^3.981.
|
|
49
|
-
"@aws-sdk/nested-clients": "^3.998.
|
|
50
|
-
"@aws-sdk/token-providers": "3.
|
|
48
|
+
"@aws-sdk/core": "^3.981.2",
|
|
49
|
+
"@aws-sdk/nested-clients": "^3.998.5",
|
|
50
|
+
"@aws-sdk/token-providers": "3.1177.0",
|
|
51
51
|
"@aws-sdk/types": "^3.975.1",
|
|
52
|
-
"@smithy/core": "^3.
|
|
52
|
+
"@smithy/core": "^3.41.1",
|
|
53
53
|
"@smithy/types": "^4.20.0",
|
|
54
54
|
"tslib": "^2.6.2"
|
|
55
55
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-web-identity",
|
|
3
|
-
"version": "3.972.
|
|
3
|
+
"version": "3.972.92",
|
|
4
4
|
"description": "AWS credential provider that calls STS assumeRole for temporary AWS credentials",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"aws",
|
|
@@ -50,10 +50,10 @@
|
|
|
50
50
|
"test:watch": "yarn g:vitest watch"
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
|
-
"@aws-sdk/core": "^3.981.
|
|
54
|
-
"@aws-sdk/nested-clients": "^3.998.
|
|
53
|
+
"@aws-sdk/core": "^3.981.2",
|
|
54
|
+
"@aws-sdk/nested-clients": "^3.998.5",
|
|
55
55
|
"@aws-sdk/types": "^3.975.1",
|
|
56
|
-
"@smithy/core": "^3.
|
|
56
|
+
"@smithy/core": "^3.41.1",
|
|
57
57
|
"@smithy/types": "^4.20.0",
|
|
58
58
|
"tslib": "^2.6.2"
|
|
59
59
|
},
|
|
@@ -78,7 +78,7 @@ const commonParams = {
|
|
|
78
78
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
79
79
|
};
|
|
80
80
|
|
|
81
|
-
var version = "3.998.
|
|
81
|
+
var version = "3.998.4";
|
|
82
82
|
var packageInfo = {
|
|
83
83
|
version: version};
|
|
84
84
|
|
|
@@ -562,6 +562,7 @@ const OAuth2ErrorCode = {
|
|
|
562
562
|
CONFLICT: "CONFLICT",
|
|
563
563
|
INSUFFICIENT_PERMISSIONS: "INSUFFICIENT_PERMISSIONS",
|
|
564
564
|
INVALID_REQUEST: "INVALID_REQUEST",
|
|
565
|
+
OAUTH_INVALID_CLIENT: "invalid_client",
|
|
565
566
|
OAUTH_INVALID_GRANT: "invalid_grant",
|
|
566
567
|
OAUTH_INVALID_REQUEST: "invalid_request",
|
|
567
568
|
OAUTH_INVALID_SCOPE: "invalid_scope",
|
|
@@ -258,7 +258,7 @@ const commonParams = {
|
|
|
258
258
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
259
259
|
};
|
|
260
260
|
|
|
261
|
-
var version = "3.998.
|
|
261
|
+
var version = "3.998.4";
|
|
262
262
|
var packageInfo = {
|
|
263
263
|
version: version};
|
|
264
264
|
|
|
@@ -283,6 +283,19 @@ class ExpiredTokenException extends STSServiceException {
|
|
|
283
283
|
Object.setPrototypeOf(this, ExpiredTokenException.prototype);
|
|
284
284
|
}
|
|
285
285
|
}
|
|
286
|
+
class InvalidContextAssertionException extends STSServiceException {
|
|
287
|
+
static shapeId = "com.amazonaws.sts#InvalidContextAssertionException";
|
|
288
|
+
name = "InvalidContextAssertionException";
|
|
289
|
+
$fault = "client";
|
|
290
|
+
constructor(opts) {
|
|
291
|
+
super({
|
|
292
|
+
name: "InvalidContextAssertionException",
|
|
293
|
+
$fault: "client",
|
|
294
|
+
...opts,
|
|
295
|
+
});
|
|
296
|
+
Object.setPrototypeOf(this, InvalidContextAssertionException.prototype);
|
|
297
|
+
}
|
|
298
|
+
}
|
|
286
299
|
class MalformedPolicyDocumentException extends STSServiceException {
|
|
287
300
|
static shapeId = "com.amazonaws.sts#MalformedPolicyDocumentException";
|
|
288
301
|
name = "MalformedPolicyDocumentException";
|
|
@@ -380,12 +393,17 @@ const _DS = "DurationSeconds";
|
|
|
380
393
|
const _E = "Expiration";
|
|
381
394
|
const _EI = "ExternalId";
|
|
382
395
|
const _ETE = "ExpiredTokenException";
|
|
396
|
+
const _FPA = "FederatedProviderArn";
|
|
397
|
+
const _I = "Issuer";
|
|
398
|
+
const _ICAE = "InvalidContextAssertionException";
|
|
383
399
|
const _IDPCEE = "IDPCommunicationErrorException";
|
|
384
400
|
const _IDPRCE = "IDPRejectedClaimException";
|
|
385
401
|
const _IITE = "InvalidIdentityTokenException";
|
|
402
|
+
const _IP = "IdentityProvider";
|
|
386
403
|
const _K = "Key";
|
|
387
404
|
const _MPDE = "MalformedPolicyDocumentException";
|
|
388
405
|
const _MSTS = "MinimumSessionTokenSize";
|
|
406
|
+
const _OI = "OriginIdentity";
|
|
389
407
|
const _P = "Policy";
|
|
390
408
|
const _PA = "PolicyArns";
|
|
391
409
|
const _PAr = "ProviderArn";
|
|
@@ -400,6 +418,7 @@ const _Pr = "Provider";
|
|
|
400
418
|
const _RA = "RoleArn";
|
|
401
419
|
const _RDE = "RegionDisabledException";
|
|
402
420
|
const _RSN = "RoleSessionName";
|
|
421
|
+
const _S = "Subject";
|
|
403
422
|
const _SAK = "SecretAccessKey";
|
|
404
423
|
const _SFWIT = "SubjectFromWebIdentityToken";
|
|
405
424
|
const _SI = "SourceIdentity";
|
|
@@ -407,8 +426,11 @@ const _SN = "SerialNumber";
|
|
|
407
426
|
const _ST = "SessionToken";
|
|
408
427
|
const _STS = "SessionTokenSize";
|
|
409
428
|
const _STU = "SessionTokenUtilization";
|
|
429
|
+
const _STu = "SubjectType";
|
|
410
430
|
const _T = "Tags";
|
|
411
431
|
const _TC = "TokenCode";
|
|
432
|
+
const _TCr = "TransactionContext";
|
|
433
|
+
const _TIPC = "TrustedIdentityPropagationContext";
|
|
412
434
|
const _TTK = "TransitiveTagKeys";
|
|
413
435
|
const _Ta = "Tag";
|
|
414
436
|
const _V = "Value";
|
|
@@ -421,8 +443,13 @@ const _cTT = "clientTokenType";
|
|
|
421
443
|
const _e = "error";
|
|
422
444
|
const _hE = "httpError";
|
|
423
445
|
const _m = "message";
|
|
446
|
+
const _oIIT = "originIdentityIssuerType";
|
|
447
|
+
const _oIST = "originIdentitySubjectType";
|
|
448
|
+
const _oISTT = "originIdentitySubjectTypeType";
|
|
424
449
|
const _pDLT = "policyDescriptorListType";
|
|
425
450
|
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.sts";
|
|
451
|
+
const _tCIPMT = "transactionContextIdentityProviderMapType";
|
|
452
|
+
const _tCVT = "transactionContextValueType";
|
|
426
453
|
const _tLT = "tagListType";
|
|
427
454
|
const n0 = "com.amazonaws.sts";
|
|
428
455
|
const _s_registry = new TypeRegistry(_s);
|
|
@@ -447,6 +474,12 @@ var IDPRejectedClaimException$ = [-3, n0, _IDPRCE,
|
|
|
447
474
|
[0]
|
|
448
475
|
];
|
|
449
476
|
n0_registry.registerError(IDPRejectedClaimException$, IDPRejectedClaimException);
|
|
477
|
+
var InvalidContextAssertionException$ = [-3, n0, _ICAE,
|
|
478
|
+
{ [_aQE]: [`InvalidContextAssertion`, 400], [_e]: _c, [_hE]: 400 },
|
|
479
|
+
[_m],
|
|
480
|
+
[0]
|
|
481
|
+
];
|
|
482
|
+
n0_registry.registerError(InvalidContextAssertionException$, InvalidContextAssertionException);
|
|
450
483
|
var InvalidIdentityTokenException$ = [-3, n0, _IITE,
|
|
451
484
|
{ [_aQE]: [`InvalidIdentityToken`, 400], [_e]: _c, [_hE]: 400 },
|
|
452
485
|
[_m],
|
|
@@ -477,6 +510,10 @@ const errorTypeRegistries = [
|
|
|
477
510
|
];
|
|
478
511
|
var accessKeySecretType = [0, n0, _aKST, 8, 0];
|
|
479
512
|
var clientTokenType = [0, n0, _cTT, 8, 0];
|
|
513
|
+
var originIdentityIssuerType = [0, n0, _oIIT, 8, 0];
|
|
514
|
+
var originIdentitySubjectType = [0, n0, _oIST, 8, 0];
|
|
515
|
+
var originIdentitySubjectTypeType = [0, n0, _oISTT, 8, 0];
|
|
516
|
+
var transactionContextValueType = [0, n0, _tCVT, 8, 0];
|
|
480
517
|
var AssumedRoleUser$ = [3, n0, _ARU,
|
|
481
518
|
0,
|
|
482
519
|
[_ARI, _A],
|
|
@@ -499,14 +536,19 @@ var AssumeRoleWithWebIdentityRequest$ = [3, n0, _ARWWIR,
|
|
|
499
536
|
];
|
|
500
537
|
var AssumeRoleWithWebIdentityResponse$ = [3, n0, _ARWWIRs,
|
|
501
538
|
0,
|
|
502
|
-
[_C, _SFWIT, _ARU, _PPS, _Pr, _Au, _SI, _STU, _STS],
|
|
503
|
-
[[() => Credentials$, 0], 0, () => AssumedRoleUser$, 1, 0, 0, 0, 1, 1]
|
|
539
|
+
[_C, _SFWIT, _ARU, _PPS, _Pr, _Au, _SI, _STU, _STS, _TIPC],
|
|
540
|
+
[[() => Credentials$, 0], 0, () => AssumedRoleUser$, 1, 0, 0, 0, 1, 1, [() => TrustedIdentityPropagationContext$, 0]]
|
|
504
541
|
];
|
|
505
542
|
var Credentials$ = [3, n0, _C,
|
|
506
543
|
0,
|
|
507
544
|
[_AKI, _SAK, _ST, _E],
|
|
508
545
|
[0, [() => accessKeySecretType, 0], 0, 4], 4
|
|
509
546
|
];
|
|
547
|
+
var OriginIdentity$ = [3, n0, _OI,
|
|
548
|
+
0,
|
|
549
|
+
[_S, _STu, _I, _FPA],
|
|
550
|
+
[[() => originIdentitySubjectType, 0], [() => originIdentitySubjectTypeType, 0], [() => originIdentityIssuerType, 0], 0]
|
|
551
|
+
];
|
|
510
552
|
var PolicyDescriptorType$ = [3, n0, _PDT,
|
|
511
553
|
0,
|
|
512
554
|
[_a],
|
|
@@ -522,6 +564,16 @@ var Tag$ = [3, n0, _Ta,
|
|
|
522
564
|
[_K, _V],
|
|
523
565
|
[0, 0], 2
|
|
524
566
|
];
|
|
567
|
+
var TransactionContext$ = [3, n0, _TCr,
|
|
568
|
+
0,
|
|
569
|
+
[_IP],
|
|
570
|
+
[[() => transactionContextIdentityProviderMapType, 0]]
|
|
571
|
+
];
|
|
572
|
+
var TrustedIdentityPropagationContext$ = [3, n0, _TIPC,
|
|
573
|
+
8,
|
|
574
|
+
[_OI, _TCr],
|
|
575
|
+
[[() => OriginIdentity$, 0], [() => TransactionContext$, 0]]
|
|
576
|
+
];
|
|
525
577
|
var policyDescriptorListType = [1, n0, _pDLT,
|
|
526
578
|
0, () => PolicyDescriptorType$
|
|
527
579
|
];
|
|
@@ -531,6 +583,12 @@ var ProvidedContextsListType = [1, n0, _PCLT,
|
|
|
531
583
|
var tagListType = [1, n0, _tLT,
|
|
532
584
|
0, () => Tag$
|
|
533
585
|
];
|
|
586
|
+
var transactionContextIdentityProviderMapType = [2, n0, _tCIPMT,
|
|
587
|
+
0, [0,
|
|
588
|
+
0],
|
|
589
|
+
[() => transactionContextValueType,
|
|
590
|
+
0]
|
|
591
|
+
];
|
|
534
592
|
var AssumeRole$ = [9, n0, _AR,
|
|
535
593
|
0, () => AssumeRoleRequest$, () => AssumeRoleResponse$
|
|
536
594
|
];
|
|
@@ -869,10 +927,13 @@ exports.IDPCommunicationErrorException = IDPCommunicationErrorException;
|
|
|
869
927
|
exports.IDPCommunicationErrorException$ = IDPCommunicationErrorException$;
|
|
870
928
|
exports.IDPRejectedClaimException = IDPRejectedClaimException;
|
|
871
929
|
exports.IDPRejectedClaimException$ = IDPRejectedClaimException$;
|
|
930
|
+
exports.InvalidContextAssertionException = InvalidContextAssertionException;
|
|
931
|
+
exports.InvalidContextAssertionException$ = InvalidContextAssertionException$;
|
|
872
932
|
exports.InvalidIdentityTokenException = InvalidIdentityTokenException;
|
|
873
933
|
exports.InvalidIdentityTokenException$ = InvalidIdentityTokenException$;
|
|
874
934
|
exports.MalformedPolicyDocumentException = MalformedPolicyDocumentException;
|
|
875
935
|
exports.MalformedPolicyDocumentException$ = MalformedPolicyDocumentException$;
|
|
936
|
+
exports.OriginIdentity$ = OriginIdentity$;
|
|
876
937
|
exports.PackedPolicyTooLargeException = PackedPolicyTooLargeException;
|
|
877
938
|
exports.PackedPolicyTooLargeException$ = PackedPolicyTooLargeException$;
|
|
878
939
|
exports.PolicyDescriptorType$ = PolicyDescriptorType$;
|
|
@@ -884,6 +945,8 @@ exports.STSClient = STSClient;
|
|
|
884
945
|
exports.STSServiceException = STSServiceException;
|
|
885
946
|
exports.STSServiceException$ = STSServiceException$;
|
|
886
947
|
exports.Tag$ = Tag$;
|
|
948
|
+
exports.TransactionContext$ = TransactionContext$;
|
|
949
|
+
exports.TrustedIdentityPropagationContext$ = TrustedIdentityPropagationContext$;
|
|
887
950
|
exports.decorateDefaultCredentialProvider = decorateDefaultCredentialProvider;
|
|
888
951
|
exports.errorTypeRegistries = errorTypeRegistries;
|
|
889
952
|
exports.getDefaultRoleAssumer = getDefaultRoleAssumer;
|
|
@@ -3,6 +3,7 @@ export const OAuth2ErrorCode = {
|
|
|
3
3
|
CONFLICT: "CONFLICT",
|
|
4
4
|
INSUFFICIENT_PERMISSIONS: "INSUFFICIENT_PERMISSIONS",
|
|
5
5
|
INVALID_REQUEST: "INVALID_REQUEST",
|
|
6
|
+
OAUTH_INVALID_CLIENT: "invalid_client",
|
|
6
7
|
OAUTH_INVALID_GRANT: "invalid_grant",
|
|
7
8
|
OAUTH_INVALID_REQUEST: "invalid_request",
|
|
8
9
|
OAUTH_INVALID_SCOPE: "invalid_scope",
|
|
@@ -12,6 +12,19 @@ export class ExpiredTokenException extends __BaseException {
|
|
|
12
12
|
Object.setPrototypeOf(this, ExpiredTokenException.prototype);
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
|
+
export class InvalidContextAssertionException extends __BaseException {
|
|
16
|
+
static shapeId = "com.amazonaws.sts#InvalidContextAssertionException";
|
|
17
|
+
name = "InvalidContextAssertionException";
|
|
18
|
+
$fault = "client";
|
|
19
|
+
constructor(opts) {
|
|
20
|
+
super({
|
|
21
|
+
name: "InvalidContextAssertionException",
|
|
22
|
+
$fault: "client",
|
|
23
|
+
...opts,
|
|
24
|
+
});
|
|
25
|
+
Object.setPrototypeOf(this, InvalidContextAssertionException.prototype);
|
|
26
|
+
}
|
|
27
|
+
}
|
|
15
28
|
export class MalformedPolicyDocumentException extends __BaseException {
|
|
16
29
|
static shapeId = "com.amazonaws.sts#MalformedPolicyDocumentException";
|
|
17
30
|
name = "MalformedPolicyDocumentException";
|
|
@@ -15,12 +15,17 @@ const _DS = "DurationSeconds";
|
|
|
15
15
|
const _E = "Expiration";
|
|
16
16
|
const _EI = "ExternalId";
|
|
17
17
|
const _ETE = "ExpiredTokenException";
|
|
18
|
+
const _FPA = "FederatedProviderArn";
|
|
19
|
+
const _I = "Issuer";
|
|
20
|
+
const _ICAE = "InvalidContextAssertionException";
|
|
18
21
|
const _IDPCEE = "IDPCommunicationErrorException";
|
|
19
22
|
const _IDPRCE = "IDPRejectedClaimException";
|
|
20
23
|
const _IITE = "InvalidIdentityTokenException";
|
|
24
|
+
const _IP = "IdentityProvider";
|
|
21
25
|
const _K = "Key";
|
|
22
26
|
const _MPDE = "MalformedPolicyDocumentException";
|
|
23
27
|
const _MSTS = "MinimumSessionTokenSize";
|
|
28
|
+
const _OI = "OriginIdentity";
|
|
24
29
|
const _P = "Policy";
|
|
25
30
|
const _PA = "PolicyArns";
|
|
26
31
|
const _PAr = "ProviderArn";
|
|
@@ -35,6 +40,7 @@ const _Pr = "Provider";
|
|
|
35
40
|
const _RA = "RoleArn";
|
|
36
41
|
const _RDE = "RegionDisabledException";
|
|
37
42
|
const _RSN = "RoleSessionName";
|
|
43
|
+
const _S = "Subject";
|
|
38
44
|
const _SAK = "SecretAccessKey";
|
|
39
45
|
const _SFWIT = "SubjectFromWebIdentityToken";
|
|
40
46
|
const _SI = "SourceIdentity";
|
|
@@ -42,8 +48,11 @@ const _SN = "SerialNumber";
|
|
|
42
48
|
const _ST = "SessionToken";
|
|
43
49
|
const _STS = "SessionTokenSize";
|
|
44
50
|
const _STU = "SessionTokenUtilization";
|
|
51
|
+
const _STu = "SubjectType";
|
|
45
52
|
const _T = "Tags";
|
|
46
53
|
const _TC = "TokenCode";
|
|
54
|
+
const _TCr = "TransactionContext";
|
|
55
|
+
const _TIPC = "TrustedIdentityPropagationContext";
|
|
47
56
|
const _TTK = "TransitiveTagKeys";
|
|
48
57
|
const _Ta = "Tag";
|
|
49
58
|
const _V = "Value";
|
|
@@ -56,12 +65,17 @@ const _cTT = "clientTokenType";
|
|
|
56
65
|
const _e = "error";
|
|
57
66
|
const _hE = "httpError";
|
|
58
67
|
const _m = "message";
|
|
68
|
+
const _oIIT = "originIdentityIssuerType";
|
|
69
|
+
const _oIST = "originIdentitySubjectType";
|
|
70
|
+
const _oISTT = "originIdentitySubjectTypeType";
|
|
59
71
|
const _pDLT = "policyDescriptorListType";
|
|
60
72
|
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.sts";
|
|
73
|
+
const _tCIPMT = "transactionContextIdentityProviderMapType";
|
|
74
|
+
const _tCVT = "transactionContextValueType";
|
|
61
75
|
const _tLT = "tagListType";
|
|
62
76
|
const n0 = "com.amazonaws.sts";
|
|
63
77
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
64
|
-
import { ExpiredTokenException, IDPCommunicationErrorException, IDPRejectedClaimException, InvalidIdentityTokenException, MalformedPolicyDocumentException, PackedPolicyTooLargeException, RegionDisabledException, } from "../models/errors";
|
|
78
|
+
import { ExpiredTokenException, IDPCommunicationErrorException, IDPRejectedClaimException, InvalidContextAssertionException, InvalidIdentityTokenException, MalformedPolicyDocumentException, PackedPolicyTooLargeException, RegionDisabledException, } from "../models/errors";
|
|
65
79
|
import { STSServiceException } from "../models/STSServiceException";
|
|
66
80
|
const _s_registry = new TypeRegistry(_s);
|
|
67
81
|
export var STSServiceException$ = [-3, _s, "STSServiceException", 0, [], []];
|
|
@@ -85,6 +99,12 @@ export var IDPRejectedClaimException$ = [-3, n0, _IDPRCE,
|
|
|
85
99
|
[0]
|
|
86
100
|
];
|
|
87
101
|
n0_registry.registerError(IDPRejectedClaimException$, IDPRejectedClaimException);
|
|
102
|
+
export var InvalidContextAssertionException$ = [-3, n0, _ICAE,
|
|
103
|
+
{ [_aQE]: [`InvalidContextAssertion`, 400], [_e]: _c, [_hE]: 400 },
|
|
104
|
+
[_m],
|
|
105
|
+
[0]
|
|
106
|
+
];
|
|
107
|
+
n0_registry.registerError(InvalidContextAssertionException$, InvalidContextAssertionException);
|
|
88
108
|
export var InvalidIdentityTokenException$ = [-3, n0, _IITE,
|
|
89
109
|
{ [_aQE]: [`InvalidIdentityToken`, 400], [_e]: _c, [_hE]: 400 },
|
|
90
110
|
[_m],
|
|
@@ -115,6 +135,10 @@ export const errorTypeRegistries = [
|
|
|
115
135
|
];
|
|
116
136
|
var accessKeySecretType = [0, n0, _aKST, 8, 0];
|
|
117
137
|
var clientTokenType = [0, n0, _cTT, 8, 0];
|
|
138
|
+
var originIdentityIssuerType = [0, n0, _oIIT, 8, 0];
|
|
139
|
+
var originIdentitySubjectType = [0, n0, _oIST, 8, 0];
|
|
140
|
+
var originIdentitySubjectTypeType = [0, n0, _oISTT, 8, 0];
|
|
141
|
+
var transactionContextValueType = [0, n0, _tCVT, 8, 0];
|
|
118
142
|
export var AssumedRoleUser$ = [3, n0, _ARU,
|
|
119
143
|
0,
|
|
120
144
|
[_ARI, _A],
|
|
@@ -137,14 +161,19 @@ export var AssumeRoleWithWebIdentityRequest$ = [3, n0, _ARWWIR,
|
|
|
137
161
|
];
|
|
138
162
|
export var AssumeRoleWithWebIdentityResponse$ = [3, n0, _ARWWIRs,
|
|
139
163
|
0,
|
|
140
|
-
[_C, _SFWIT, _ARU, _PPS, _Pr, _Au, _SI, _STU, _STS],
|
|
141
|
-
[[() => Credentials$, 0], 0, () => AssumedRoleUser$, 1, 0, 0, 0, 1, 1]
|
|
164
|
+
[_C, _SFWIT, _ARU, _PPS, _Pr, _Au, _SI, _STU, _STS, _TIPC],
|
|
165
|
+
[[() => Credentials$, 0], 0, () => AssumedRoleUser$, 1, 0, 0, 0, 1, 1, [() => TrustedIdentityPropagationContext$, 0]]
|
|
142
166
|
];
|
|
143
167
|
export var Credentials$ = [3, n0, _C,
|
|
144
168
|
0,
|
|
145
169
|
[_AKI, _SAK, _ST, _E],
|
|
146
170
|
[0, [() => accessKeySecretType, 0], 0, 4], 4
|
|
147
171
|
];
|
|
172
|
+
export var OriginIdentity$ = [3, n0, _OI,
|
|
173
|
+
0,
|
|
174
|
+
[_S, _STu, _I, _FPA],
|
|
175
|
+
[[() => originIdentitySubjectType, 0], [() => originIdentitySubjectTypeType, 0], [() => originIdentityIssuerType, 0], 0]
|
|
176
|
+
];
|
|
148
177
|
export var PolicyDescriptorType$ = [3, n0, _PDT,
|
|
149
178
|
0,
|
|
150
179
|
[_a],
|
|
@@ -160,6 +189,16 @@ export var Tag$ = [3, n0, _Ta,
|
|
|
160
189
|
[_K, _V],
|
|
161
190
|
[0, 0], 2
|
|
162
191
|
];
|
|
192
|
+
export var TransactionContext$ = [3, n0, _TCr,
|
|
193
|
+
0,
|
|
194
|
+
[_IP],
|
|
195
|
+
[[() => transactionContextIdentityProviderMapType, 0]]
|
|
196
|
+
];
|
|
197
|
+
export var TrustedIdentityPropagationContext$ = [3, n0, _TIPC,
|
|
198
|
+
8,
|
|
199
|
+
[_OI, _TCr],
|
|
200
|
+
[[() => OriginIdentity$, 0], [() => TransactionContext$, 0]]
|
|
201
|
+
];
|
|
163
202
|
var policyDescriptorListType = [1, n0, _pDLT,
|
|
164
203
|
0, () => PolicyDescriptorType$
|
|
165
204
|
];
|
|
@@ -170,6 +209,12 @@ var tagKeyListType = 64 | 0;
|
|
|
170
209
|
var tagListType = [1, n0, _tLT,
|
|
171
210
|
0, () => Tag$
|
|
172
211
|
];
|
|
212
|
+
var transactionContextIdentityProviderMapType = [2, n0, _tCIPMT,
|
|
213
|
+
0, [0,
|
|
214
|
+
0],
|
|
215
|
+
[() => transactionContextValueType,
|
|
216
|
+
0]
|
|
217
|
+
];
|
|
173
218
|
export var AssumeRole$ = [9, n0, _AR,
|
|
174
219
|
0, () => AssumeRoleRequest$, () => AssumeRoleResponse$
|
|
175
220
|
];
|