@cdk8s/awscdk-resolver 0.0.628 → 0.0.629

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.
Files changed (98) hide show
  1. package/.jsii +3 -3
  2. package/lib/resolve.js +1 -1
  3. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/index.js +1 -1
  4. package/node_modules/@aws-sdk/client-cloudformation/package.json +8 -8
  5. package/node_modules/@aws-sdk/core/package.json +8 -5
  6. package/node_modules/@aws-sdk/credential-provider-env/package.json +5 -5
  7. package/node_modules/@aws-sdk/credential-provider-http/package.json +7 -7
  8. package/node_modules/@aws-sdk/credential-provider-ini/package.json +12 -12
  9. package/node_modules/@aws-sdk/credential-provider-login/package.json +6 -6
  10. package/node_modules/@aws-sdk/credential-provider-node/package.json +10 -10
  11. package/node_modules/@aws-sdk/credential-provider-process/package.json +5 -5
  12. package/node_modules/@aws-sdk/credential-provider-sso/package.json +7 -7
  13. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +6 -6
  14. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +1 -1
  15. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +116 -72
  16. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +1 -1
  17. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +1 -1
  18. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +1 -1
  19. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/Signin.js +2 -0
  20. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/commandBuilder.js +3 -0
  21. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/commands/CreateOAuth2TokenWithIAMCommand.js +4 -0
  22. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/commands/index.js +1 -0
  23. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/bdd.js +80 -70
  24. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/endpointResolver.js +1 -1
  25. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/schemas/schemas_0.js +23 -0
  26. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/Signin.d.ts +7 -0
  27. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/SigninClient.d.ts +3 -2
  28. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/commandBuilder.d.ts +8 -4
  29. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/commands/CreateOAuth2TokenCommand.d.ts +2 -2
  30. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/commands/CreateOAuth2TokenWithIAMCommand.d.ts +114 -0
  31. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/commands/index.d.ts +1 -0
  32. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/endpoint/EndpointParameters.d.ts +1 -0
  33. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/models_0.d.ts +41 -3
  34. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/schemas/schemas_0.d.ts +3 -0
  35. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/Signin.d.ts +17 -0
  36. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/SigninClient.d.ts +10 -2
  37. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/commandBuilder.d.ts +12 -7
  38. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/commands/CreateOAuth2TokenCommand.d.ts +4 -4
  39. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/commands/CreateOAuth2TokenWithIAMCommand.d.ts +44 -0
  40. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/commands/index.d.ts +1 -0
  41. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/endpoint/EndpointParameters.d.ts +1 -0
  42. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/models/models_0.d.ts +9 -0
  43. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/schemas/schemas_0.d.ts +3 -0
  44. package/node_modules/@aws-sdk/nested-clients/package.json +11 -8
  45. package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +3 -3
  46. package/node_modules/@aws-sdk/token-providers/package.json +6 -6
  47. package/node_modules/@aws-sdk/types/package.json +2 -2
  48. package/node_modules/@aws-sdk/xml-builder/package.json +2 -2
  49. package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +3 -3
  50. package/node_modules/@smithy/core/dist-cjs/submodules/config/index.browser.js +2 -2
  51. package/node_modules/@smithy/core/dist-cjs/submodules/config/index.js +3 -3
  52. package/node_modules/@smithy/core/dist-cjs/submodules/config/index.native.js +1 -1
  53. package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.browser.js +2 -2
  54. package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.js +2 -2
  55. package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.browser.js +20 -20
  56. package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +20 -20
  57. package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +1 -1
  58. package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.browser.js +3 -3
  59. package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.js +3 -3
  60. package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +4 -4
  61. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.browser.js +4 -4
  62. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +5 -5
  63. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.native.js +4 -4
  64. package/node_modules/@smithy/core/dist-cjs/submodules/transport/index.js +1 -1
  65. package/node_modules/@smithy/core/dist-es/submodules/cbor/SmithyRpcV2CborProtocol.js +2 -2
  66. package/node_modules/@smithy/core/dist-es/submodules/cbor/parseCborBody.js +1 -1
  67. package/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/regionInfo/getRegionInfo.js +1 -1
  68. package/node_modules/@smithy/core/dist-es/submodules/config/defaults-mode/resolveDefaultsModeConfig.browser.js +1 -1
  69. package/node_modules/@smithy/core/dist-es/submodules/config/node-config-provider/getSelectorName.js +1 -1
  70. package/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/parseIni.js +1 -1
  71. package/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/service-customizations/s3.js +1 -1
  72. package/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/parseURL.js +1 -1
  73. package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-codec/HeaderMarshaller.js +20 -20
  74. package/node_modules/@smithy/core/dist-es/submodules/protocols/middleware-content-length/contentLengthMiddleware.js +1 -1
  75. package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/retry-pre-sra-deprecated/StandardRetryStrategy.js +1 -1
  76. package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/retryMiddleware.js +1 -1
  77. package/node_modules/@smithy/core/dist-es/submodules/retry/util-retry/StandardRetryStrategy.js +1 -1
  78. package/node_modules/@smithy/core/dist-es/submodules/schema/middleware/schemaDeserializationMiddleware.js +2 -2
  79. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/ErrorSchema.js +1 -1
  80. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/NormalizedSchema.js +1 -1
  81. package/node_modules/@smithy/core/dist-es/submodules/serde/copyDocumentWithTransform.js +1 -1
  82. package/node_modules/@smithy/core/dist-es/submodules/serde/date-utils.js +1 -1
  83. package/node_modules/@smithy/core/dist-es/submodules/serde/middleware-serde/deserializerMiddleware.js +2 -2
  84. package/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/sdk-stream-mixin.js +1 -1
  85. package/node_modules/@smithy/core/dist-es/submodules/transport/isValidHostname.js +1 -1
  86. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/ErrorSchema.d.ts +2 -2
  87. package/node_modules/@smithy/core/dist-types/submodules/serde/copyDocumentWithTransform.d.ts +1 -1
  88. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/ErrorSchema.d.ts +2 -2
  89. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/copyDocumentWithTransform.d.ts +1 -1
  90. package/node_modules/@smithy/core/package.json +5 -3
  91. package/node_modules/@smithy/credential-provider-imds/package.json +3 -5
  92. package/node_modules/@smithy/fetch-http-handler/package.json +3 -5
  93. package/node_modules/@smithy/node-http-handler/package.json +3 -5
  94. package/node_modules/@smithy/signature-v4/dist-cjs/index.js +11 -11
  95. package/node_modules/@smithy/signature-v4/dist-es/HeaderFormatter.js +10 -10
  96. package/node_modules/@smithy/signature-v4/dist-es/SignatureV4Base.js +1 -1
  97. package/node_modules/@smithy/signature-v4/package.json +3 -5
  98. 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.1086.0"
10
+ "@aws-sdk/client-cloudformation": "^3.1087.0"
11
11
  },
12
12
  "dependencies": {
13
13
  "aws-cdk-lib": "^2.195.0",
@@ -4082,6 +4082,6 @@
4082
4082
  "symbolId": "src/resolve:AwsCdkResolver"
4083
4083
  }
4084
4084
  },
4085
- "version": "0.0.628",
4086
- "fingerprint": "TE2OGtNT0JWbOgfW2N5BDS+KWmLsTA2QFK9YUw8VlHg="
4085
+ "version": "0.0.629",
4086
+ "fingerprint": "Qcx2IkamIpTgS2opWRvOvZXwEdl5/ZmH1q2gWtWIkYk="
4087
4087
  }
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.628" };
42
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "@cdk8s/awscdk-resolver.AwsCdkResolver", version: "0.0.629" };
43
43
  resolve(context) {
44
44
  if (!aws_cdk_lib_1.Token.isUnresolved(context.value)) {
45
45
  return;
@@ -69,7 +69,7 @@ const commonParams = {
69
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
70
70
  };
71
71
 
72
- var version = "3.1085.0";
72
+ var version = "3.1086.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-cloudformation",
3
3
  "description": "AWS SDK for JavaScript Cloudformation Client for Node.js, Browser and React Native",
4
- "version": "3.1086.0",
4
+ "version": "3.1087.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline",
@@ -21,13 +21,13 @@
21
21
  "module": "./dist-es/index.js",
22
22
  "sideEffects": false,
23
23
  "dependencies": {
24
- "@aws-sdk/core": "^3.975.1",
25
- "@aws-sdk/credential-provider-node": "^3.972.67",
26
- "@aws-sdk/types": "^3.974.0",
27
- "@smithy/core": "^3.29.2",
28
- "@smithy/fetch-http-handler": "^5.6.4",
29
- "@smithy/node-http-handler": "^4.9.4",
30
- "@smithy/types": "^4.16.0",
24
+ "@aws-sdk/core": "^3.975.2",
25
+ "@aws-sdk/credential-provider-node": "^3.972.68",
26
+ "@aws-sdk/types": "^3.974.1",
27
+ "@smithy/core": "^3.29.3",
28
+ "@smithy/fetch-http-handler": "^5.6.5",
29
+ "@smithy/node-http-handler": "^4.9.5",
30
+ "@smithy/types": "^4.16.1",
31
31
  "tslib": "^2.6.2"
32
32
  },
33
33
  "devDependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/core",
3
- "version": "3.975.1",
3
+ "version": "3.975.2",
4
4
  "description": "Core functions & classes shared by multiple AWS SDK clients.",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
@@ -103,12 +103,12 @@
103
103
  },
104
104
  "license": "Apache-2.0",
105
105
  "dependencies": {
106
- "@aws-sdk/types": "^3.974.0",
107
- "@aws-sdk/xml-builder": "^3.972.34",
106
+ "@aws-sdk/types": "^3.974.1",
107
+ "@aws-sdk/xml-builder": "^3.972.35",
108
108
  "@aws/lambda-invoke-store": "^0.3.0",
109
- "@smithy/core": "^3.29.2",
109
+ "@smithy/core": "^3.29.3",
110
110
  "@smithy/signature-v4": "^5.6.3",
111
- "@smithy/types": "^4.16.0",
111
+ "@smithy/types": "^4.16.1",
112
112
  "bowser": "^2.11.0",
113
113
  "tslib": "^2.6.2"
114
114
  },
@@ -126,6 +126,9 @@
126
126
  "<4.5": {
127
127
  "dist-types/*": [
128
128
  "dist-types/ts3.4/*"
129
+ ],
130
+ "*": [
131
+ "dist-types/ts3.4/submodules/*/index.d.ts"
129
132
  ]
130
133
  }
131
134
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-env",
3
- "version": "3.972.57",
3
+ "version": "3.972.58",
4
4
  "description": "AWS credential provider that sources credentials from known environment variables",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -26,10 +26,10 @@
26
26
  },
27
27
  "license": "Apache-2.0",
28
28
  "dependencies": {
29
- "@aws-sdk/core": "^3.975.1",
30
- "@aws-sdk/types": "^3.974.0",
31
- "@smithy/core": "^3.29.2",
32
- "@smithy/types": "^4.16.0",
29
+ "@aws-sdk/core": "^3.975.2",
30
+ "@aws-sdk/types": "^3.974.1",
31
+ "@smithy/core": "^3.29.3",
32
+ "@smithy/types": "^4.16.1",
33
33
  "tslib": "^2.6.2"
34
34
  },
35
35
  "devDependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-http",
3
- "version": "3.972.59",
3
+ "version": "3.972.60",
4
4
  "description": "AWS credential provider for containers and HTTP sources",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -36,12 +36,12 @@
36
36
  },
37
37
  "license": "Apache-2.0",
38
38
  "dependencies": {
39
- "@aws-sdk/core": "^3.975.1",
40
- "@aws-sdk/types": "^3.974.0",
41
- "@smithy/core": "^3.29.2",
42
- "@smithy/fetch-http-handler": "^5.6.4",
43
- "@smithy/node-http-handler": "^4.9.4",
44
- "@smithy/types": "^4.16.0",
39
+ "@aws-sdk/core": "^3.975.2",
40
+ "@aws-sdk/types": "^3.974.1",
41
+ "@smithy/core": "^3.29.3",
42
+ "@smithy/fetch-http-handler": "^5.6.5",
43
+ "@smithy/node-http-handler": "^4.9.5",
44
+ "@smithy/types": "^4.16.1",
45
45
  "tslib": "^2.6.2"
46
46
  },
47
47
  "devDependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-ini",
3
- "version": "3.973.1",
3
+ "version": "3.973.2",
4
4
  "description": "AWS credential provider that sources credentials from ~/.aws/credentials and ~/.aws/config",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -28,18 +28,18 @@
28
28
  },
29
29
  "license": "Apache-2.0",
30
30
  "dependencies": {
31
- "@aws-sdk/core": "^3.975.1",
32
- "@aws-sdk/credential-provider-env": "^3.972.57",
33
- "@aws-sdk/credential-provider-http": "^3.972.59",
34
- "@aws-sdk/credential-provider-login": "^3.972.63",
35
- "@aws-sdk/credential-provider-process": "^3.972.57",
36
- "@aws-sdk/credential-provider-sso": "^3.973.1",
37
- "@aws-sdk/credential-provider-web-identity": "^3.972.63",
38
- "@aws-sdk/nested-clients": "^3.997.31",
39
- "@aws-sdk/types": "^3.974.0",
40
- "@smithy/core": "^3.29.2",
31
+ "@aws-sdk/core": "^3.975.2",
32
+ "@aws-sdk/credential-provider-env": "^3.972.58",
33
+ "@aws-sdk/credential-provider-http": "^3.972.60",
34
+ "@aws-sdk/credential-provider-login": "^3.972.64",
35
+ "@aws-sdk/credential-provider-process": "^3.972.58",
36
+ "@aws-sdk/credential-provider-sso": "^3.973.2",
37
+ "@aws-sdk/credential-provider-web-identity": "^3.972.64",
38
+ "@aws-sdk/nested-clients": "^3.997.32",
39
+ "@aws-sdk/types": "^3.974.1",
40
+ "@smithy/core": "^3.29.3",
41
41
  "@smithy/credential-provider-imds": "^4.4.7",
42
- "@smithy/types": "^4.16.0",
42
+ "@smithy/types": "^4.16.1",
43
43
  "tslib": "^2.6.2"
44
44
  },
45
45
  "devDependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-login",
3
- "version": "3.972.63",
3
+ "version": "3.972.64",
4
4
  "description": "AWS credential provider that sources credentials from aws login cached tokens",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -28,11 +28,11 @@
28
28
  },
29
29
  "license": "Apache-2.0",
30
30
  "dependencies": {
31
- "@aws-sdk/core": "^3.975.1",
32
- "@aws-sdk/nested-clients": "^3.997.31",
33
- "@aws-sdk/types": "^3.974.0",
34
- "@smithy/core": "^3.29.2",
35
- "@smithy/types": "^4.16.0",
31
+ "@aws-sdk/core": "^3.975.2",
32
+ "@aws-sdk/nested-clients": "^3.997.32",
33
+ "@aws-sdk/types": "^3.974.1",
34
+ "@smithy/core": "^3.29.3",
35
+ "@smithy/types": "^4.16.1",
36
36
  "tslib": "^2.6.2"
37
37
  },
38
38
  "devDependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-node",
3
- "version": "3.972.67",
3
+ "version": "3.972.68",
4
4
  "description": "AWS credential provider that sources credentials from a Node.JS environment. ",
5
5
  "engines": {
6
6
  "node": ">=20.0.0"
@@ -31,16 +31,16 @@
31
31
  },
32
32
  "license": "Apache-2.0",
33
33
  "dependencies": {
34
- "@aws-sdk/credential-provider-env": "^3.972.57",
35
- "@aws-sdk/credential-provider-http": "^3.972.59",
36
- "@aws-sdk/credential-provider-ini": "^3.973.1",
37
- "@aws-sdk/credential-provider-process": "^3.972.57",
38
- "@aws-sdk/credential-provider-sso": "^3.973.1",
39
- "@aws-sdk/credential-provider-web-identity": "^3.972.63",
40
- "@aws-sdk/types": "^3.974.0",
41
- "@smithy/core": "^3.29.2",
34
+ "@aws-sdk/credential-provider-env": "^3.972.58",
35
+ "@aws-sdk/credential-provider-http": "^3.972.60",
36
+ "@aws-sdk/credential-provider-ini": "^3.973.2",
37
+ "@aws-sdk/credential-provider-process": "^3.972.58",
38
+ "@aws-sdk/credential-provider-sso": "^3.973.2",
39
+ "@aws-sdk/credential-provider-web-identity": "^3.972.64",
40
+ "@aws-sdk/types": "^3.974.1",
41
+ "@smithy/core": "^3.29.3",
42
42
  "@smithy/credential-provider-imds": "^4.4.7",
43
- "@smithy/types": "^4.16.0",
43
+ "@smithy/types": "^4.16.1",
44
44
  "tslib": "^2.6.2"
45
45
  },
46
46
  "devDependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-process",
3
- "version": "3.972.57",
3
+ "version": "3.972.58",
4
4
  "description": "AWS credential provider that sources credential_process from ~/.aws/credentials and ~/.aws/config",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -26,10 +26,10 @@
26
26
  },
27
27
  "license": "Apache-2.0",
28
28
  "dependencies": {
29
- "@aws-sdk/core": "^3.975.1",
30
- "@aws-sdk/types": "^3.974.0",
31
- "@smithy/core": "^3.29.2",
32
- "@smithy/types": "^4.16.0",
29
+ "@aws-sdk/core": "^3.975.2",
30
+ "@aws-sdk/types": "^3.974.1",
31
+ "@smithy/core": "^3.29.3",
32
+ "@smithy/types": "^4.16.1",
33
33
  "tslib": "^2.6.2"
34
34
  },
35
35
  "devDependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-sso",
3
- "version": "3.973.1",
3
+ "version": "3.973.2",
4
4
  "description": "AWS credential provider that exchanges a resolved SSO login token file for temporary AWS credentials",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -28,12 +28,12 @@
28
28
  },
29
29
  "license": "Apache-2.0",
30
30
  "dependencies": {
31
- "@aws-sdk/core": "^3.975.1",
32
- "@aws-sdk/nested-clients": "^3.997.31",
33
- "@aws-sdk/token-providers": "3.1083.0",
34
- "@aws-sdk/types": "^3.974.0",
35
- "@smithy/core": "^3.29.2",
36
- "@smithy/types": "^4.16.0",
31
+ "@aws-sdk/core": "^3.975.2",
32
+ "@aws-sdk/nested-clients": "^3.997.32",
33
+ "@aws-sdk/token-providers": "3.1087.0",
34
+ "@aws-sdk/types": "^3.974.1",
35
+ "@smithy/core": "^3.29.3",
36
+ "@smithy/types": "^4.16.1",
37
37
  "tslib": "^2.6.2"
38
38
  },
39
39
  "devDependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-web-identity",
3
- "version": "3.972.63",
3
+ "version": "3.972.64",
4
4
  "description": "AWS credential provider that calls STS assumeRole for temporary AWS credentials",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -33,11 +33,11 @@
33
33
  },
34
34
  "license": "Apache-2.0",
35
35
  "dependencies": {
36
- "@aws-sdk/core": "^3.975.1",
37
- "@aws-sdk/nested-clients": "^3.997.31",
38
- "@aws-sdk/types": "^3.974.0",
39
- "@smithy/core": "^3.29.2",
40
- "@smithy/types": "^4.16.0",
36
+ "@aws-sdk/core": "^3.975.2",
37
+ "@aws-sdk/nested-clients": "^3.997.32",
38
+ "@aws-sdk/types": "^3.974.1",
39
+ "@smithy/core": "^3.29.3",
40
+ "@smithy/types": "^4.16.1",
41
41
  "tslib": "^2.6.2"
42
42
  },
43
43
  "devDependencies": {
@@ -81,7 +81,7 @@ const commonParams = {
81
81
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
82
82
  };
83
83
 
84
- var version = "3.997.30";
84
+ var version = "3.997.31";
85
85
  var packageInfo = {
86
86
  version: version};
87
87
 
@@ -77,58 +77,61 @@ const commonParams = {
77
77
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
78
78
  };
79
79
 
80
- var version = "3.997.30";
80
+ var version = "3.997.31";
81
81
  var packageInfo = {
82
82
  version: version};
83
83
 
84
- const p = "ref";
85
- const a = -1, b = true, c = "isSet", d = "booleanEquals", e = "PartitionResult", f = "stringEquals", g = "getAttr", h = "https://signin.{Region}.{PartitionResult#dualStackDnsSuffix}", i = { [p]: "Endpoint" }, j = { "fn": g, "argv": [{ [p]: e }, "name"] }, k = { [p]: e }, l = { [p]: "Region" }, m = { "authSchemes": [{ "name": "sigv4", "signingName": "signin", "signingRegion": "{Region}" }] }, n = {}, o = [l];
84
+ const s = "ref";
85
+ const a = -1, b = false, c = true, d = "isSet", e = "booleanEquals", f = "coalesce", g = "PartitionResult", h = "stringEquals", i = "getAttr", j = "https://signin.{Region}.{PartitionResult#dualStackDnsSuffix}", k = { [s]: "Endpoint" }, l = { "fn": i, "argv": [{ [s]: g }, "name"] }, m = { [s]: "Region" }, n = { [s]: g }, o = { "authSchemes": [{ "name": "sigv4", "signingName": "signin", "signingRegion": "{Region}" }] }, p = {}, q = [m];
86
86
  const _data = {
87
87
  conditions: [
88
- [c, o],
89
- [d, [{ fn: "coalesce", argv: [{ [p]: "IsControlPlane" }, false] }, b]],
90
- [c, [i]],
91
- ["aws.partition", o, e],
92
- [d, [{ [p]: "UseFIPS" }, b]],
93
- [d, [{ [p]: "UseDualStack" }, b]],
94
- [f, [j, "aws"]],
95
- [f, [j, "aws-cn"]],
96
- [d, [{ fn: g, argv: [k, "supportsDualStack"] }, b]],
97
- [f, [l, "us-gov-west-1"]],
98
- [f, [j, "aws-us-gov"]],
99
- [d, [{ fn: g, argv: [k, "supportsFIPS"] }, b]],
100
- [f, [j, "aws-iso"]],
101
- [f, [j, "aws-iso-b"]],
102
- [f, [j, "aws-iso-f"]],
103
- [f, [j, "aws-iso-e"]],
104
- [f, [j, "aws-eusc"]]
88
+ [d, q],
89
+ [e, [{ fn: f, argv: [{ [s]: "IsControlPlane" }, b] }, c]],
90
+ [d, [k]],
91
+ ["aws.partition", q, g],
92
+ [e, [{ [s]: "UseFIPS" }, c]],
93
+ [h, [l, "aws"]],
94
+ [e, [{ fn: f, argv: [{ [s]: "IsOAuthEndpoint" }, b] }, c]],
95
+ [e, [{ [s]: "UseDualStack" }, c]],
96
+ [h, [l, "aws-cn"]],
97
+ [h, [m, "us-gov-west-1"]],
98
+ [h, [l, "aws-us-gov"]],
99
+ [e, [{ fn: i, argv: [n, "supportsFIPS"] }, c]],
100
+ [h, [l, "aws-iso"]],
101
+ [h, [l, "aws-iso-b"]],
102
+ [h, [l, "aws-iso-f"]],
103
+ [h, [l, "aws-iso-e"]],
104
+ [h, [l, "aws-eusc"]],
105
+ [e, [{ fn: i, argv: [n, "supportsDualStack"] }, c]]
105
106
  ],
106
107
  results: [
107
108
  [a],
108
- ["https://signin.{Region}.api.aws", m],
109
- ["https://signin.{Region}.api.amazonwebservices.com.cn", m],
110
- [h, m],
111
- ["https://{Region}.signin.aws.amazon.com", n],
112
- ["https://{Region}.signin.amazonaws.cn", n],
113
- ["https://{Region}.signin.amazonaws-us-gov.com", n],
114
- ["https://{Region}.signin.c2shome.ic.gov", n],
115
- ["https://{Region}.signin.sc2shome.sgov.gov", n],
116
- ["https://{Region}.signin.csphome.hci.ic.gov", n],
117
- ["https://{Region}.signin.csphome.adc-e.uk", n],
118
- ["https://{Region}.signin.amazonaws-eusc.eu", n],
119
- ["https://signin-fips.amazonaws-us-gov.com", n],
120
- ["https://{Region}.signin-fips.amazonaws-us-gov.com", n],
121
- ["https://{Region}.signin.{PartitionResult#dnsSuffix}", n],
109
+ ["https://signin.{Region}.api.aws", o],
110
+ ["https://signin.{Region}.api.amazonwebservices.com.cn", o],
111
+ [j, o],
112
+ [a, "FIPS endpoints are not supported for OAuth operations. Disable FIPS or use a non-OAuth operation."],
113
+ ["https://{Region}.oauth.signin.aws", o],
114
+ ["https://{Region}.signin.aws.amazon.com", p],
115
+ ["https://{Region}.signin.amazonaws.cn", p],
116
+ ["https://{Region}.signin.amazonaws-us-gov.com", p],
117
+ ["https://{Region}.signin.c2shome.ic.gov", p],
118
+ ["https://{Region}.signin.sc2shome.sgov.gov", p],
119
+ ["https://{Region}.signin.csphome.hci.ic.gov", p],
120
+ ["https://{Region}.signin.csphome.adc-e.uk", p],
121
+ ["https://{Region}.signin.amazonaws-eusc.eu", p],
122
+ ["https://signin-fips.amazonaws-us-gov.com", p],
123
+ ["https://{Region}.signin-fips.amazonaws-us-gov.com", p],
124
+ ["https://{Region}.signin.{PartitionResult#dnsSuffix}", p],
122
125
  [a, "Invalid Configuration: FIPS and custom endpoint are not supported"],
123
126
  [a, "Invalid Configuration: Dualstack and custom endpoint are not supported"],
124
- [i, n],
125
- ["https://signin-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", n],
127
+ [k, p],
128
+ ["https://signin-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", p],
126
129
  [a, "FIPS and DualStack are enabled, but this partition does not support one or both"],
127
- ["https://signin-fips.{Region}.{PartitionResult#dnsSuffix}", n],
130
+ ["https://signin-fips.{Region}.{PartitionResult#dnsSuffix}", p],
128
131
  [a, "FIPS is enabled but this partition does not support FIPS"],
129
- [h, n],
132
+ [j, p],
130
133
  [a, "DualStack is enabled but this partition does not support DualStack"],
131
- ["https://signin.{Region}.{PartitionResult#dnsSuffix}", n],
134
+ ["https://signin.{Region}.{PartitionResult#dnsSuffix}", p],
132
135
  [a, "Invalid Configuration: Missing Region"]
133
136
  ]
134
137
  };
@@ -136,44 +139,51 @@ const root = 2;
136
139
  const r = 100_000_000;
137
140
  const nodes = new Int32Array([
138
141
  -1, 1, -1,
139
- 0, 4, 3,
140
- 2, 30, r + 25,
141
- 1, 24, 5,
142
- 2, 30, 6,
143
- 3, 7, 26,
144
- 4, 18, 8,
145
- 5, 17, 9,
146
- 6, r + 4, 10,
147
- 7, r + 5, 11,
148
- 10, r + 6, 12,
149
- 12, r + 7, 13,
150
- 13, r + 8, 14,
151
- 14, r + 9, 15,
152
- 15, r + 10, 16,
153
- 16, r + 11, r + 14,
154
- 8, r + 22, r + 23,
155
- 5, 22, 19,
156
- 9, r + 12, 20,
157
- 10, r + 13, 21,
158
- 11, r + 20, r + 21,
159
- 8, 23, r + 19,
160
- 11, r + 18, r + 19,
161
- 2, 29, 25,
162
- 3, 32, 26,
163
- 4, 27, r + 25,
164
- 5, r + 25, 28,
165
- 9, r + 12, r + 25,
166
- 3, 32, 30,
167
- 4, r + 15, 31,
168
- 5, r + 16, r + 17,
169
- 6, r + 1, 33,
170
- 7, r + 2, r + 3,
142
+ 0, 6, 3,
143
+ 2, 36, 4,
144
+ 4, 5, r + 27,
145
+ 6, r + 4, r + 27,
146
+ 1, 29, 7,
147
+ 2, 36, 8,
148
+ 3, 9, 31,
149
+ 4, 22, 10,
150
+ 5, 19, 11,
151
+ 7, 21, 12,
152
+ 8, r + 7, 13,
153
+ 10, r + 8, 14,
154
+ 12, r + 9, 15,
155
+ 13, r + 10, 16,
156
+ 14, r + 11, 17,
157
+ 15, r + 12, 18,
158
+ 16, r + 13, r + 16,
159
+ 6, r + 5, 20,
160
+ 7, 21, r + 6,
161
+ 17, r + 24, r + 25,
162
+ 6, r + 4, 23,
163
+ 7, 27, 24,
164
+ 9, r + 14, 25,
165
+ 10, r + 15, 26,
166
+ 11, r + 22, r + 23,
167
+ 11, 28, r + 21,
168
+ 17, r + 20, r + 21,
169
+ 2, 35, 30,
170
+ 3, 39, 31,
171
+ 4, 32, r + 27,
172
+ 6, r + 4, 33,
173
+ 7, r + 27, 34,
174
+ 9, r + 14, r + 27,
175
+ 3, 39, 36,
176
+ 4, 38, 37,
177
+ 7, r + 18, r + 19,
178
+ 6, r + 4, r + 17,
179
+ 5, r + 1, 40,
180
+ 8, r + 2, r + 3,
171
181
  ]);
172
182
  const bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
173
183
 
174
184
  const cache = new EndpointCache({
175
185
  size: 50,
176
- params: ["Endpoint", "IsControlPlane", "Region", "UseDualStack", "UseFIPS"],
186
+ params: ["Endpoint", "IsControlPlane", "IsOAuthEndpoint", "Region", "UseDualStack", "UseFIPS"],
177
187
  });
178
188
  const defaultEndpointResolver = (endpointParams, context = {}) => {
179
189
  return cache.get(endpointParams, () => decideEndpoint(bdd, {
@@ -254,24 +264,32 @@ const _COATR = "CreateOAuth2TokenRequest";
254
264
  const _COATRB = "CreateOAuth2TokenRequestBody";
255
265
  const _COATRBr = "CreateOAuth2TokenResponseBody";
256
266
  const _COATRr = "CreateOAuth2TokenResponse";
267
+ const _COATWIAM = "CreateOAuth2TokenWithIAM";
268
+ const _COATWIAMR = "CreateOAuth2TokenWithIAMRequest";
269
+ const _COATWIAMRr = "CreateOAuth2TokenWithIAMResponse";
257
270
  const _ISE = "InternalServerException";
271
+ const _OAAT = "OAuthAccessToken";
258
272
  const _RT = "RefreshToken";
259
273
  const _TMRE = "TooManyRequestsError";
260
274
  const _VE = "ValidationException";
261
275
  const _aKI = "accessKeyId";
262
276
  const _aT = "accessToken";
277
+ const _at = "access_token";
263
278
  const _c = "client";
264
279
  const _cI = "clientId";
265
280
  const _cV = "codeVerifier";
266
281
  const _co = "code";
267
282
  const _e = "error";
268
283
  const _eI = "expiresIn";
284
+ const _ei = "expires_in";
269
285
  const _gT = "grantType";
286
+ const _gt = "grant_type";
270
287
  const _h = "http";
271
288
  const _hE = "httpError";
272
289
  const _iT = "idToken";
273
290
  const _jN = "jsonName";
274
291
  const _m = "message";
292
+ const _r = "resource";
275
293
  const _rT = "refreshToken";
276
294
  const _rU = "redirectUri";
277
295
  const _s = "smithy.ts.sdk.synthetic.com.amazonaws.signin";
@@ -281,6 +299,7 @@ const _se = "server";
281
299
  const _tI = "tokenInput";
282
300
  const _tO = "tokenOutput";
283
301
  const _tT = "tokenType";
302
+ const _tt = "token_type";
284
303
  const n0 = "com.amazonaws.signin";
285
304
  const _s_registry = TypeRegistry.for(_s);
286
305
  var SigninServiceException$ = [-3, _s, "SigninServiceException", 0, [], []];
@@ -314,6 +333,7 @@ const errorTypeRegistries = [
314
333
  _s_registry,
315
334
  n0_registry,
316
335
  ];
336
+ var OAuthAccessToken = [0, n0, _OAAT, 8, 0];
317
337
  var RefreshToken = [0, n0, _RT, 8, 0];
318
338
  var AccessToken$ = [3, n0, _AT,
319
339
  8,
@@ -340,9 +360,22 @@ var CreateOAuth2TokenResponseBody$ = [3, n0, _COATRBr,
340
360
  [_aT, _tT, _eI, _rT, _iT],
341
361
  [[() => AccessToken$, { [_jN]: _aT }], [0, { [_jN]: _tT }], [1, { [_jN]: _eI }], [() => RefreshToken, { [_jN]: _rT }], [0, { [_jN]: _iT }]], 4
342
362
  ];
363
+ var CreateOAuth2TokenWithIAMRequest$ = [3, n0, _COATWIAMR,
364
+ 0,
365
+ [_gT, _r],
366
+ [[0, { [_jN]: _gt }], 0], 2
367
+ ];
368
+ var CreateOAuth2TokenWithIAMResponse$ = [3, n0, _COATWIAMRr,
369
+ 0,
370
+ [_aT, _tT, _eI],
371
+ [[() => OAuthAccessToken, { [_jN]: _at }], [0, { [_jN]: _tt }], [1, { [_jN]: _ei }]], 3
372
+ ];
343
373
  var CreateOAuth2Token$ = [9, n0, _COAT,
344
374
  { [_h]: ["POST", "/v1/token", 200] }, () => CreateOAuth2TokenRequest$, () => CreateOAuth2TokenResponse$
345
375
  ];
376
+ var CreateOAuth2TokenWithIAM$ = [9, n0, _COATWIAM,
377
+ { [_h]: ["POST", "/v1/token?x-amz-client-auth-method=iam", 200] }, () => CreateOAuth2TokenWithIAMRequest$, () => CreateOAuth2TokenWithIAMResponse$
378
+ ];
346
379
 
347
380
  const getRuntimeConfig$1 = (config) => {
348
381
  return {
@@ -498,13 +531,20 @@ const command = makeBuilder(commonParams, "Signin", "SigninClient", getEndpointP
498
531
  const _ep0 = {
499
532
  IsControlPlane: { type: "staticContextParams", value: false },
500
533
  };
534
+ const _ep1 = {
535
+ IsOAuthEndpoint: { type: "staticContextParams", value: true },
536
+ };
501
537
  const _mw0 = (Command, cs, config, o) => [];
502
538
 
503
539
  class CreateOAuth2TokenCommand extends command(_ep0, _mw0, "CreateOAuth2Token", CreateOAuth2Token$) {
504
540
  }
505
541
 
542
+ class CreateOAuth2TokenWithIAMCommand extends command(_ep1, _mw0, "CreateOAuth2TokenWithIAM", CreateOAuth2TokenWithIAM$) {
543
+ }
544
+
506
545
  const commands = {
507
546
  CreateOAuth2TokenCommand,
547
+ CreateOAuth2TokenWithIAMCommand,
508
548
  };
509
549
  class Signin extends SigninClient {
510
550
  }
@@ -531,6 +571,10 @@ exports.CreateOAuth2TokenRequest$ = CreateOAuth2TokenRequest$;
531
571
  exports.CreateOAuth2TokenRequestBody$ = CreateOAuth2TokenRequestBody$;
532
572
  exports.CreateOAuth2TokenResponse$ = CreateOAuth2TokenResponse$;
533
573
  exports.CreateOAuth2TokenResponseBody$ = CreateOAuth2TokenResponseBody$;
574
+ exports.CreateOAuth2TokenWithIAM$ = CreateOAuth2TokenWithIAM$;
575
+ exports.CreateOAuth2TokenWithIAMCommand = CreateOAuth2TokenWithIAMCommand;
576
+ exports.CreateOAuth2TokenWithIAMRequest$ = CreateOAuth2TokenWithIAMRequest$;
577
+ exports.CreateOAuth2TokenWithIAMResponse$ = CreateOAuth2TokenWithIAMResponse$;
534
578
  exports.InternalServerException = InternalServerException;
535
579
  exports.InternalServerException$ = InternalServerException$;
536
580
  exports.OAuth2ErrorCode = OAuth2ErrorCode;
@@ -77,7 +77,7 @@ const commonParams = {
77
77
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
78
78
  };
79
79
 
80
- var version = "3.997.30";
80
+ var version = "3.997.31";
81
81
  var packageInfo = {
82
82
  version: version};
83
83