@cdk8s/awscdk-resolver 0.0.716 → 0.0.718

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 (37) 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/dist-types/CloudFormationClient.d.ts +2 -1
  5. package/node_modules/@aws-sdk/client-cloudformation/package.json +5 -5
  6. package/node_modules/@aws-sdk/core/package.json +3 -3
  7. package/node_modules/@aws-sdk/credential-provider-env/package.json +4 -4
  8. package/node_modules/@aws-sdk/credential-provider-http/package.json +4 -4
  9. package/node_modules/@aws-sdk/credential-provider-ini/package.json +11 -11
  10. package/node_modules/@aws-sdk/credential-provider-login/package.json +5 -5
  11. package/node_modules/@aws-sdk/credential-provider-node/package.json +9 -9
  12. package/node_modules/@aws-sdk/credential-provider-process/package.json +4 -4
  13. package/node_modules/@aws-sdk/credential-provider-sso/package.json +6 -6
  14. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +5 -5
  15. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +1 -1
  16. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +1 -1
  17. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +1 -1
  18. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +1 -1
  19. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +1 -1
  20. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/CognitoIdentityClient.d.ts +2 -1
  21. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/SigninClient.d.ts +2 -1
  22. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/SSOClient.d.ts +2 -1
  23. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/SSOOIDCClient.d.ts +2 -1
  24. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/STSClient.d.ts +2 -1
  25. package/node_modules/@aws-sdk/nested-clients/package.json +5 -5
  26. package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +2 -2
  27. package/node_modules/@aws-sdk/token-providers/package.json +5 -5
  28. package/node_modules/@aws-sdk/types/dist-types/feature-ids.d.ts +3 -0
  29. package/node_modules/@aws-sdk/types/dist-types/ts3.4/feature-ids.d.ts +3 -0
  30. package/node_modules/@aws-sdk/types/package.json +1 -1
  31. package/node_modules/@smithy/core/dist-cjs/submodules/client/index.js +15 -2
  32. package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.browser.js +10 -0
  33. package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +10 -0
  34. package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/command.js +16 -2
  35. package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-codec/HeaderMarshaller.js +10 -0
  36. package/node_modules/@smithy/core/package.json +1 -1
  37. 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.1154.0"
10
+ "@aws-sdk/client-cloudformation": "^3.1156.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.716",
4087
- "fingerprint": "7Uiv6tw3AmMmoKdzJW586tnRG4InPoTu4bGfZq+DOzM="
4086
+ "version": "0.0.718",
4087
+ "fingerprint": "rm6Roy7CbSBGdMMOExKrD4VqgE/5jGRZd8/tyokrNZc="
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.716" };
42
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "@cdk8s/awscdk-resolver.AwsCdkResolver", version: "0.0.718" };
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.1153.0";
72
+ var version = "3.1155.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -218,7 +218,8 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
218
218
  maxAttempts?: number | __Provider<number>;
219
219
  /**
220
220
  * Specifies which retry algorithm to use.
221
- * @see https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-smithy-util-retry/Enum/RETRY_MODES/
221
+ * Accepted values are "standard" and "adaptive".
222
+ * @see https://docs.aws.amazon.com/sdkref/latest/guide/feature-retry-behavior.html
222
223
  *
223
224
  */
224
225
  retryMode?: string | __Provider<string>;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-cloudformation",
3
- "version": "3.1154.0",
3
+ "version": "3.1156.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.978.4",
52
- "@aws-sdk/credential-provider-node": "^3.972.87",
53
- "@aws-sdk/types": "^3.974.6",
54
- "@smithy/core": "^3.36.0",
51
+ "@aws-sdk/core": "^3.978.5",
52
+ "@aws-sdk/credential-provider-node": "^3.972.88",
53
+ "@aws-sdk/types": "^3.975.0",
54
+ "@smithy/core": "^3.36.1",
55
55
  "@smithy/fetch-http-handler": "^5.8.0",
56
56
  "@smithy/node-http-handler": "^4.12.1",
57
57
  "@smithy/types": "^4.19.0",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/core",
3
- "version": "3.978.4",
3
+ "version": "3.978.5",
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",
@@ -124,10 +124,10 @@
124
124
  "test:temp:retry": "SMITHY_NEW_RETRIES_2026=true node ./integ/retry.integ.spec && AWS_NEW_RETRIES_2026=true node ./integ/retry.integ.spec && node ./integ/retry.integ.spec"
125
125
  },
126
126
  "dependencies": {
127
- "@aws-sdk/types": "^3.974.6",
127
+ "@aws-sdk/types": "^3.975.0",
128
128
  "@aws-sdk/xml-builder": "^3.972.41",
129
129
  "@aws/lambda-invoke-store": "^0.3.0",
130
- "@smithy/core": "^3.36.0",
130
+ "@smithy/core": "^3.36.1",
131
131
  "@smithy/signature-v4": "^5.7.4",
132
132
  "@smithy/types": "^4.19.0",
133
133
  "bowser": "^2.11.0",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-env",
3
- "version": "3.972.75",
3
+ "version": "3.972.76",
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.978.4",
47
- "@aws-sdk/types": "^3.974.6",
48
- "@smithy/core": "^3.36.0",
46
+ "@aws-sdk/core": "^3.978.5",
47
+ "@aws-sdk/types": "^3.975.0",
48
+ "@smithy/core": "^3.36.1",
49
49
  "@smithy/types": "^4.19.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.77",
3
+ "version": "3.972.78",
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.978.4",
57
- "@aws-sdk/types": "^3.974.6",
58
- "@smithy/core": "^3.36.0",
56
+ "@aws-sdk/core": "^3.978.5",
57
+ "@aws-sdk/types": "^3.975.0",
58
+ "@smithy/core": "^3.36.1",
59
59
  "@smithy/fetch-http-handler": "^5.8.0",
60
60
  "@smithy/node-http-handler": "^4.12.1",
61
61
  "@smithy/types": "^4.19.0",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-ini",
3
- "version": "3.973.20",
3
+ "version": "3.973.21",
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.978.4",
49
- "@aws-sdk/credential-provider-env": "^3.972.75",
50
- "@aws-sdk/credential-provider-http": "^3.972.77",
51
- "@aws-sdk/credential-provider-login": "^3.972.82",
52
- "@aws-sdk/credential-provider-process": "^3.972.75",
53
- "@aws-sdk/credential-provider-sso": "^3.973.19",
54
- "@aws-sdk/credential-provider-web-identity": "^3.972.81",
55
- "@aws-sdk/nested-clients": "^3.997.49",
56
- "@aws-sdk/types": "^3.974.6",
57
- "@smithy/core": "^3.36.0",
48
+ "@aws-sdk/core": "^3.978.5",
49
+ "@aws-sdk/credential-provider-env": "^3.972.76",
50
+ "@aws-sdk/credential-provider-http": "^3.972.78",
51
+ "@aws-sdk/credential-provider-login": "^3.972.83",
52
+ "@aws-sdk/credential-provider-process": "^3.972.76",
53
+ "@aws-sdk/credential-provider-sso": "^3.973.20",
54
+ "@aws-sdk/credential-provider-web-identity": "^3.972.82",
55
+ "@aws-sdk/nested-clients": "^3.997.50",
56
+ "@aws-sdk/types": "^3.975.0",
57
+ "@smithy/core": "^3.36.1",
58
58
  "@smithy/credential-provider-imds": "^4.5.2",
59
59
  "@smithy/types": "^4.19.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.82",
3
+ "version": "3.972.83",
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.978.4",
49
- "@aws-sdk/nested-clients": "^3.997.49",
50
- "@aws-sdk/types": "^3.974.6",
51
- "@smithy/core": "^3.36.0",
48
+ "@aws-sdk/core": "^3.978.5",
49
+ "@aws-sdk/nested-clients": "^3.997.50",
50
+ "@aws-sdk/types": "^3.975.0",
51
+ "@smithy/core": "^3.36.1",
52
52
  "@smithy/types": "^4.19.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.87",
3
+ "version": "3.972.88",
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.75",
49
- "@aws-sdk/credential-provider-http": "^3.972.77",
50
- "@aws-sdk/credential-provider-ini": "^3.973.20",
51
- "@aws-sdk/credential-provider-process": "^3.972.75",
52
- "@aws-sdk/credential-provider-sso": "^3.973.19",
53
- "@aws-sdk/credential-provider-web-identity": "^3.972.81",
54
- "@aws-sdk/types": "^3.974.6",
55
- "@smithy/core": "^3.36.0",
48
+ "@aws-sdk/credential-provider-env": "^3.972.76",
49
+ "@aws-sdk/credential-provider-http": "^3.972.78",
50
+ "@aws-sdk/credential-provider-ini": "^3.973.21",
51
+ "@aws-sdk/credential-provider-process": "^3.972.76",
52
+ "@aws-sdk/credential-provider-sso": "^3.973.20",
53
+ "@aws-sdk/credential-provider-web-identity": "^3.972.82",
54
+ "@aws-sdk/types": "^3.975.0",
55
+ "@smithy/core": "^3.36.1",
56
56
  "@smithy/credential-provider-imds": "^4.5.2",
57
57
  "@smithy/types": "^4.19.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.75",
3
+ "version": "3.972.76",
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.978.4",
47
- "@aws-sdk/types": "^3.974.6",
48
- "@smithy/core": "^3.36.0",
46
+ "@aws-sdk/core": "^3.978.5",
47
+ "@aws-sdk/types": "^3.975.0",
48
+ "@smithy/core": "^3.36.1",
49
49
  "@smithy/types": "^4.19.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.19",
3
+ "version": "3.973.20",
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.978.4",
49
- "@aws-sdk/nested-clients": "^3.997.49",
50
- "@aws-sdk/token-providers": "3.1153.0",
51
- "@aws-sdk/types": "^3.974.6",
52
- "@smithy/core": "^3.36.0",
48
+ "@aws-sdk/core": "^3.978.5",
49
+ "@aws-sdk/nested-clients": "^3.997.50",
50
+ "@aws-sdk/token-providers": "3.1155.0",
51
+ "@aws-sdk/types": "^3.975.0",
52
+ "@smithy/core": "^3.36.1",
53
53
  "@smithy/types": "^4.19.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.81",
3
+ "version": "3.972.82",
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.978.4",
54
- "@aws-sdk/nested-clients": "^3.997.49",
55
- "@aws-sdk/types": "^3.974.6",
56
- "@smithy/core": "^3.36.0",
53
+ "@aws-sdk/core": "^3.978.5",
54
+ "@aws-sdk/nested-clients": "^3.997.50",
55
+ "@aws-sdk/types": "^3.975.0",
56
+ "@smithy/core": "^3.36.1",
57
57
  "@smithy/types": "^4.19.0",
58
58
  "tslib": "^2.6.2"
59
59
  },
@@ -83,7 +83,7 @@ const commonParams = {
83
83
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
84
84
  };
85
85
 
86
- var version = "3.997.48";
86
+ var version = "3.997.49";
87
87
  var packageInfo = {
88
88
  version: version};
89
89
 
@@ -78,7 +78,7 @@ const commonParams = {
78
78
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
79
79
  };
80
80
 
81
- var version = "3.997.48";
81
+ var version = "3.997.49";
82
82
  var packageInfo = {
83
83
  version: version};
84
84
 
@@ -78,7 +78,7 @@ const commonParams = {
78
78
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
79
79
  };
80
80
 
81
- var version = "3.997.48";
81
+ var version = "3.997.49";
82
82
  var packageInfo = {
83
83
  version: version};
84
84
 
@@ -78,7 +78,7 @@ const commonParams = {
78
78
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
79
79
  };
80
80
 
81
- var version = "3.997.48";
81
+ var version = "3.997.49";
82
82
  var packageInfo = {
83
83
  version: version};
84
84
 
@@ -258,7 +258,7 @@ const commonParams = {
258
258
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
259
259
  };
260
260
 
261
- var version = "3.997.48";
261
+ var version = "3.997.49";
262
262
  var packageInfo = {
263
263
  version: version};
264
264
 
@@ -124,7 +124,8 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
124
124
  maxAttempts?: number | __Provider<number>;
125
125
  /**
126
126
  * Specifies which retry algorithm to use.
127
- * @see https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-smithy-util-retry/Enum/RETRY_MODES/
127
+ * Accepted values are "standard" and "adaptive".
128
+ * @see https://docs.aws.amazon.com/sdkref/latest/guide/feature-retry-behavior.html
128
129
  *
129
130
  */
130
131
  retryMode?: string | __Provider<string>;
@@ -130,7 +130,8 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
130
130
  maxAttempts?: number | __Provider<number>;
131
131
  /**
132
132
  * Specifies which retry algorithm to use.
133
- * @see https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-smithy-util-retry/Enum/RETRY_MODES/
133
+ * Accepted values are "standard" and "adaptive".
134
+ * @see https://docs.aws.amazon.com/sdkref/latest/guide/feature-retry-behavior.html
134
135
  *
135
136
  */
136
137
  retryMode?: string | __Provider<string>;
@@ -123,7 +123,8 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
123
123
  maxAttempts?: number | __Provider<number>;
124
124
  /**
125
125
  * Specifies which retry algorithm to use.
126
- * @see https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-smithy-util-retry/Enum/RETRY_MODES/
126
+ * Accepted values are "standard" and "adaptive".
127
+ * @see https://docs.aws.amazon.com/sdkref/latest/guide/feature-retry-behavior.html
127
128
  *
128
129
  */
129
130
  retryMode?: string | __Provider<string>;
@@ -123,7 +123,8 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
123
123
  maxAttempts?: number | __Provider<number>;
124
124
  /**
125
125
  * Specifies which retry algorithm to use.
126
- * @see https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-smithy-util-retry/Enum/RETRY_MODES/
126
+ * Accepted values are "standard" and "adaptive".
127
+ * @see https://docs.aws.amazon.com/sdkref/latest/guide/feature-retry-behavior.html
127
128
  *
128
129
  */
129
130
  retryMode?: string | __Provider<string>;
@@ -130,7 +130,8 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
130
130
  maxAttempts?: number | __Provider<number>;
131
131
  /**
132
132
  * Specifies which retry algorithm to use.
133
- * @see https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-smithy-util-retry/Enum/RETRY_MODES/
133
+ * Accepted values are "standard" and "adaptive".
134
+ * @see https://docs.aws.amazon.com/sdkref/latest/guide/feature-retry-behavior.html
134
135
  *
135
136
  */
136
137
  retryMode?: string | __Provider<string>;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/nested-clients",
3
- "version": "3.997.49",
3
+ "version": "3.997.50",
4
4
  "description": "Nested clients for AWS SDK packages.",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages/nested-clients",
6
6
  "license": "Apache-2.0",
@@ -100,10 +100,10 @@
100
100
  "test:watch": "yarn g:vitest watch"
101
101
  },
102
102
  "dependencies": {
103
- "@aws-sdk/core": "^3.978.4",
104
- "@aws-sdk/signature-v4-multi-region": "^3.996.48",
105
- "@aws-sdk/types": "^3.974.6",
106
- "@smithy/core": "^3.36.0",
103
+ "@aws-sdk/core": "^3.978.5",
104
+ "@aws-sdk/signature-v4-multi-region": "^3.996.49",
105
+ "@aws-sdk/types": "^3.975.0",
106
+ "@smithy/core": "^3.36.1",
107
107
  "@smithy/fetch-http-handler": "^5.8.0",
108
108
  "@smithy/node-http-handler": "^4.12.1",
109
109
  "@smithy/types": "^4.19.0",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/signature-v4-multi-region",
3
- "version": "3.996.48",
3
+ "version": "3.996.49",
4
4
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages/signature-v4-multi-region",
5
5
  "license": "Apache-2.0",
6
6
  "author": {
@@ -42,7 +42,7 @@
42
42
  "test:browser": "yarn build:browser && yarn g:vitest run -c vitest.config.browser.mts"
43
43
  },
44
44
  "dependencies": {
45
- "@aws-sdk/types": "^3.974.6",
45
+ "@aws-sdk/types": "^3.975.0",
46
46
  "@smithy/signature-v4": "^5.7.4",
47
47
  "@smithy/types": "^4.19.0",
48
48
  "tslib": "^2.6.2"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/token-providers",
3
- "version": "3.1153.0",
3
+ "version": "3.1155.0",
4
4
  "description": "A collection of token providers",
5
5
  "keywords": [
6
6
  "aws",
@@ -48,10 +48,10 @@
48
48
  "test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts"
49
49
  },
50
50
  "dependencies": {
51
- "@aws-sdk/core": "^3.978.4",
52
- "@aws-sdk/nested-clients": "^3.997.49",
53
- "@aws-sdk/types": "^3.974.6",
54
- "@smithy/core": "^3.36.0",
51
+ "@aws-sdk/core": "^3.978.5",
52
+ "@aws-sdk/nested-clients": "^3.997.50",
53
+ "@aws-sdk/types": "^3.975.0",
54
+ "@smithy/core": "^3.36.1",
55
55
  "@smithy/types": "^4.19.0",
56
56
  "tslib": "^2.6.2"
57
57
  },
@@ -8,6 +8,9 @@ export type AwsSdkFeatures = Partial<{
8
8
  RETRY_MODE_LEGACY: "D";
9
9
  RETRY_MODE_STANDARD: "E";
10
10
  RETRY_MODE_ADAPTIVE: "F";
11
+ S3_TRANSFER: "G";
12
+ S3_TRANSFER_UPLOAD_DIRECTORY: "9";
13
+ S3_TRANSFER_DOWNLOAD_DIRECTORY: "+";
11
14
  S3_EXPRESS_BUCKET: "J";
12
15
  S3_ACCESS_GRANTS: "K";
13
16
  GZIP_REQUEST_COMPRESSION: "L";
@@ -5,6 +5,9 @@ export type AwsSdkFeatures = Partial<{
5
5
  RETRY_MODE_LEGACY: "D";
6
6
  RETRY_MODE_STANDARD: "E";
7
7
  RETRY_MODE_ADAPTIVE: "F";
8
+ S3_TRANSFER: "G";
9
+ S3_TRANSFER_UPLOAD_DIRECTORY: "9";
10
+ S3_TRANSFER_DOWNLOAD_DIRECTORY: "+";
8
11
  S3_EXPRESS_BUCKET: "J";
9
12
  S3_ACCESS_GRANTS: "K";
10
13
  GZIP_REQUEST_COMPRESSION: "L";
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/types",
3
- "version": "3.974.6",
3
+ "version": "3.975.0",
4
4
  "description": "Types for the AWS SDK",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages-internal/types",
6
6
  "license": "Apache-2.0",
@@ -578,6 +578,7 @@ function schemaLogFilter(schema, data) {
578
578
  return data;
579
579
  }
580
580
 
581
+ const operationEventStreamMarker = Symbol.for("@smithy/op-event-stream");
581
582
  class Command {
582
583
  middlewareStack = constructStack();
583
584
  schema;
@@ -611,9 +612,21 @@ class Command {
611
612
  requestOptions = { ...requestOptions };
612
613
  delete requestOptions.metricsRecorder;
613
614
  }
614
- if (smithyContext.eventStream) {
615
+ let isEventStream;
616
+ const schema = this.schema;
617
+ const marker = schema?.[operationEventStreamMarker];
618
+ if (marker !== undefined) {
619
+ isEventStream = marker;
620
+ }
621
+ else if (schema) {
622
+ if (Array.isArray(schema) && schema[0] === 9) {
623
+ const [, , , , input$, output$] = schema;
624
+ isEventStream = schema[operationEventStreamMarker] = Boolean(NormalizedSchema.of(input$).getEventStreamMember() || NormalizedSchema.of(output$).getEventStreamMember());
625
+ }
626
+ }
627
+ if (isEventStream) {
615
628
  requestOptions = {
616
- isEventStream: true,
629
+ isEventStream,
617
630
  ...requestOptions,
618
631
  };
619
632
  }
@@ -60,6 +60,9 @@ class HeaderMarshaller {
60
60
  if (!hasOwn(headers, headerName))
61
61
  continue;
62
62
  const bytes = this.fromUtf8(headerName);
63
+ if (bytes.byteLength > 255) {
64
+ throw new Error(`@smithy/core/event-streams - header name exceeds 255 bytes: ${bytes.byteLength}`);
65
+ }
63
66
  chunks.push(Uint8Array.from([bytes.byteLength]), bytes, this.formatHeaderValue(headers[headerName]));
64
67
  }
65
68
  const out = new Uint8Array(chunks.reduce((carry, bytes) => carry + bytes.byteLength, 0));
@@ -92,6 +95,9 @@ class HeaderMarshaller {
92
95
  longBytes.set(header.value.bytes, 1);
93
96
  return longBytes;
94
97
  case "binary":
98
+ if (header.value.byteLength > MAX_HEADER_VALUE_BYTES) {
99
+ throw new Error(`@smithy/core/event-streams - header value (binary) exceeds ${MAX_HEADER_VALUE_BYTES} bytes: ${header.value.byteLength}`);
100
+ }
95
101
  const binView = new DataView(new ArrayBuffer(3 + header.value.byteLength));
96
102
  binView.setUint8(0, 6);
97
103
  binView.setUint16(1, header.value.byteLength, false);
@@ -100,6 +106,9 @@ class HeaderMarshaller {
100
106
  return binBytes;
101
107
  case "string":
102
108
  const utf8Bytes = this.fromUtf8(header.value);
109
+ if (utf8Bytes.byteLength > MAX_HEADER_VALUE_BYTES) {
110
+ throw new Error(`@smithy/core/event-streams - header value (string) exceeds ${MAX_HEADER_VALUE_BYTES} bytes: ${utf8Bytes.byteLength}`);
111
+ }
103
112
  const strView = new DataView(new ArrayBuffer(3 + utf8Bytes.byteLength));
104
113
  strView.setUint8(0, 7);
105
114
  strView.setUint16(1, utf8Bytes.byteLength, false);
@@ -231,6 +240,7 @@ const STRING_TAG = "string";
231
240
  const TIMESTAMP_TAG = "timestamp";
232
241
  const UUID_TAG = "uuid";
233
242
  const UUID_PATTERN = /^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/;
243
+ const MAX_HEADER_VALUE_BYTES = 32767;
234
244
 
235
245
  const PRELUDE_MEMBER_LENGTH = 4;
236
246
  const PRELUDE_LENGTH = PRELUDE_MEMBER_LENGTH * 2;
@@ -61,6 +61,9 @@ class HeaderMarshaller {
61
61
  if (!hasOwn(headers, headerName))
62
62
  continue;
63
63
  const bytes = this.fromUtf8(headerName);
64
+ if (bytes.byteLength > 255) {
65
+ throw new Error(`@smithy/core/event-streams - header name exceeds 255 bytes: ${bytes.byteLength}`);
66
+ }
64
67
  chunks.push(Uint8Array.from([bytes.byteLength]), bytes, this.formatHeaderValue(headers[headerName]));
65
68
  }
66
69
  const out = new Uint8Array(chunks.reduce((carry, bytes) => carry + bytes.byteLength, 0));
@@ -93,6 +96,9 @@ class HeaderMarshaller {
93
96
  longBytes.set(header.value.bytes, 1);
94
97
  return longBytes;
95
98
  case "binary":
99
+ if (header.value.byteLength > MAX_HEADER_VALUE_BYTES) {
100
+ throw new Error(`@smithy/core/event-streams - header value (binary) exceeds ${MAX_HEADER_VALUE_BYTES} bytes: ${header.value.byteLength}`);
101
+ }
96
102
  const binView = new DataView(new ArrayBuffer(3 + header.value.byteLength));
97
103
  binView.setUint8(0, 6);
98
104
  binView.setUint16(1, header.value.byteLength, false);
@@ -101,6 +107,9 @@ class HeaderMarshaller {
101
107
  return binBytes;
102
108
  case "string":
103
109
  const utf8Bytes = this.fromUtf8(header.value);
110
+ if (utf8Bytes.byteLength > MAX_HEADER_VALUE_BYTES) {
111
+ throw new Error(`@smithy/core/event-streams - header value (string) exceeds ${MAX_HEADER_VALUE_BYTES} bytes: ${utf8Bytes.byteLength}`);
112
+ }
104
113
  const strView = new DataView(new ArrayBuffer(3 + utf8Bytes.byteLength));
105
114
  strView.setUint8(0, 7);
106
115
  strView.setUint16(1, utf8Bytes.byteLength, false);
@@ -232,6 +241,7 @@ const STRING_TAG = "string";
232
241
  const TIMESTAMP_TAG = "timestamp";
233
242
  const UUID_TAG = "uuid";
234
243
  const UUID_PATTERN = /^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/;
244
+ const MAX_HEADER_VALUE_BYTES = 32767;
235
245
 
236
246
  const PRELUDE_MEMBER_LENGTH = 4;
237
247
  const PRELUDE_LENGTH = PRELUDE_MEMBER_LENGTH * 2;
@@ -1,6 +1,8 @@
1
1
  import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
2
2
  import { constructStack } from "../middleware-stack/MiddlewareStack";
3
3
  import { schemaLogFilter } from "./schemaLogFilter";
4
+ import { NormalizedSchema } from "@smithy/core/schema";
5
+ const operationEventStreamMarker = Symbol.for("@smithy/op-event-stream");
4
6
  export class Command {
5
7
  middlewareStack = constructStack();
6
8
  schema;
@@ -34,9 +36,21 @@ export class Command {
34
36
  requestOptions = { ...requestOptions };
35
37
  delete requestOptions.metricsRecorder;
36
38
  }
37
- if (smithyContext.eventStream) {
39
+ let isEventStream;
40
+ const schema = this.schema;
41
+ const marker = schema?.[operationEventStreamMarker];
42
+ if (marker !== undefined) {
43
+ isEventStream = marker;
44
+ }
45
+ else if (schema) {
46
+ if (Array.isArray(schema) && schema[0] === 9) {
47
+ const [, , , , input$, output$] = schema;
48
+ isEventStream = schema[operationEventStreamMarker] = Boolean(NormalizedSchema.of(input$).getEventStreamMember() || NormalizedSchema.of(output$).getEventStreamMember());
49
+ }
50
+ }
51
+ if (isEventStream) {
38
52
  requestOptions = {
39
- isEventStream: true,
53
+ isEventStream,
40
54
  ...requestOptions,
41
55
  };
42
56
  }
@@ -14,6 +14,9 @@ export class HeaderMarshaller {
14
14
  if (!hasOwn(headers, headerName))
15
15
  continue;
16
16
  const bytes = this.fromUtf8(headerName);
17
+ if (bytes.byteLength > 255) {
18
+ throw new Error(`@smithy/core/event-streams - header name exceeds 255 bytes: ${bytes.byteLength}`);
19
+ }
17
20
  chunks.push(Uint8Array.from([bytes.byteLength]), bytes, this.formatHeaderValue(headers[headerName]));
18
21
  }
19
22
  const out = new Uint8Array(chunks.reduce((carry, bytes) => carry + bytes.byteLength, 0));
@@ -46,6 +49,9 @@ export class HeaderMarshaller {
46
49
  longBytes.set(header.value.bytes, 1);
47
50
  return longBytes;
48
51
  case "binary":
52
+ if (header.value.byteLength > MAX_HEADER_VALUE_BYTES) {
53
+ throw new Error(`@smithy/core/event-streams - header value (binary) exceeds ${MAX_HEADER_VALUE_BYTES} bytes: ${header.value.byteLength}`);
54
+ }
49
55
  const binView = new DataView(new ArrayBuffer(3 + header.value.byteLength));
50
56
  binView.setUint8(0, 6);
51
57
  binView.setUint16(1, header.value.byteLength, false);
@@ -54,6 +60,9 @@ export class HeaderMarshaller {
54
60
  return binBytes;
55
61
  case "string":
56
62
  const utf8Bytes = this.fromUtf8(header.value);
63
+ if (utf8Bytes.byteLength > MAX_HEADER_VALUE_BYTES) {
64
+ throw new Error(`@smithy/core/event-streams - header value (string) exceeds ${MAX_HEADER_VALUE_BYTES} bytes: ${utf8Bytes.byteLength}`);
65
+ }
57
66
  const strView = new DataView(new ArrayBuffer(3 + utf8Bytes.byteLength));
58
67
  strView.setUint8(0, 7);
59
68
  strView.setUint16(1, utf8Bytes.byteLength, false);
@@ -185,3 +194,4 @@ const STRING_TAG = "string";
185
194
  const TIMESTAMP_TAG = "timestamp";
186
195
  const UUID_TAG = "uuid";
187
196
  const UUID_PATTERN = /^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/;
197
+ const MAX_HEADER_VALUE_BYTES = 32767;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/core",
3
- "version": "3.36.1",
3
+ "version": "3.36.2",
4
4
  "homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/core",
5
5
  "license": "Apache-2.0",
6
6
  "author": {
package/package.json CHANGED
@@ -53,7 +53,7 @@
53
53
  "aws-cdk": "^2.1146.0",
54
54
  "aws-cdk-lib": "2.195.0",
55
55
  "cdk8s": "2.68.91",
56
- "cdk8s-cli": "^2.207.69",
56
+ "cdk8s-cli": "^2.207.70",
57
57
  "commit-and-tag-version": "^13",
58
58
  "constructs": "10.3.0",
59
59
  "eslint": "^9",
@@ -67,7 +67,7 @@
67
67
  "jsii-docgen": "^10.5.0",
68
68
  "jsii-pacmak": "^1.142.0",
69
69
  "jsii-rosetta": "^5",
70
- "projen": "^0.104.9",
70
+ "projen": "^0.104.11",
71
71
  "ts-jest": "^27",
72
72
  "ts-node": "^10.9.2",
73
73
  "typescript": "^5.9.3"
@@ -78,7 +78,7 @@
78
78
  "constructs": "^10.3.0"
79
79
  },
80
80
  "dependencies": {
81
- "@aws-sdk/client-cloudformation": "^3.1154.0"
81
+ "@aws-sdk/client-cloudformation": "^3.1156.0"
82
82
  },
83
83
  "bundledDependencies": [
84
84
  "@aws-sdk/client-cloudformation"
@@ -92,7 +92,7 @@
92
92
  "publishConfig": {
93
93
  "access": "public"
94
94
  },
95
- "version": "0.0.716",
95
+ "version": "0.0.718",
96
96
  "jest": {
97
97
  "coverageProvider": "v8",
98
98
  "testMatch": [