@cdk8s/awscdk-resolver 0.0.513 → 0.0.515

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 (57) hide show
  1. package/.jsii +4 -4
  2. package/lib/resolve.js +1 -1
  3. package/node_modules/@aws-sdk/client-cloudformation/package.json +1 -1
  4. package/node_modules/@smithy/core/package.json +2 -2
  5. package/node_modules/@smithy/middleware-endpoint/package.json +3 -3
  6. package/node_modules/@smithy/middleware-retry/package.json +2 -2
  7. package/node_modules/@smithy/middleware-serde/package.json +2 -2
  8. package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +44 -37
  9. package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +38 -31
  10. package/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-manager.js +1 -1
  11. package/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +1 -1
  12. package/node_modules/@smithy/node-http-handler/dist-es/readable.mock.js +1 -1
  13. package/node_modules/@smithy/node-http-handler/dist-es/server.mock.js +6 -6
  14. package/node_modules/@smithy/node-http-handler/dist-es/stream-collector/collector.js +1 -1
  15. package/node_modules/@smithy/node-http-handler/dist-es/stream-collector/readable.mock.js +1 -1
  16. package/node_modules/@smithy/node-http-handler/dist-es/write-request-body.js +1 -1
  17. package/node_modules/@smithy/node-http-handler/dist-types/get-transformed-headers.d.ts +1 -1
  18. package/node_modules/@smithy/node-http-handler/dist-types/node-http-handler.d.ts +4 -4
  19. package/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-manager.d.ts +1 -1
  20. package/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-pool.d.ts +1 -1
  21. package/node_modules/@smithy/node-http-handler/dist-types/readable.mock.d.ts +2 -2
  22. package/node_modules/@smithy/node-http-handler/dist-types/server.mock.d.ts +3 -3
  23. package/node_modules/@smithy/node-http-handler/dist-types/set-connection-timeout.d.ts +1 -1
  24. package/node_modules/@smithy/node-http-handler/dist-types/set-request-timeout.d.ts +1 -1
  25. package/node_modules/@smithy/node-http-handler/dist-types/set-socket-keep-alive.d.ts +1 -1
  26. package/node_modules/@smithy/node-http-handler/dist-types/set-socket-timeout.d.ts +1 -1
  27. package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/collector.d.ts +1 -1
  28. package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/readable.mock.d.ts +2 -2
  29. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/get-transformed-headers.d.ts +1 -1
  30. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http-handler.d.ts +4 -4
  31. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-manager.d.ts +1 -1
  32. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-pool.d.ts +1 -1
  33. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/readable.mock.d.ts +2 -2
  34. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/server.mock.d.ts +3 -3
  35. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-connection-timeout.d.ts +1 -1
  36. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-request-timeout.d.ts +1 -1
  37. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-keep-alive.d.ts +1 -1
  38. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-timeout.d.ts +1 -1
  39. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/collector.d.ts +1 -1
  40. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/readable.mock.d.ts +2 -2
  41. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/write-request-body.d.ts +2 -2
  42. package/node_modules/@smithy/node-http-handler/dist-types/write-request-body.d.ts +2 -2
  43. package/node_modules/@smithy/node-http-handler/package.json +1 -1
  44. package/node_modules/@smithy/smithy-client/package.json +4 -4
  45. package/node_modules/@smithy/util-defaults-mode-browser/package.json +2 -2
  46. package/node_modules/@smithy/util-defaults-mode-node/package.json +2 -2
  47. package/node_modules/@smithy/util-stream/package.json +2 -2
  48. package/node_modules/fast-xml-builder/CHANGELOG.md +3 -1
  49. package/node_modules/fast-xml-builder/lib/fxb.cjs +1 -1
  50. package/node_modules/fast-xml-builder/lib/fxb.d.cts +7 -0
  51. package/node_modules/fast-xml-builder/lib/fxb.min.js +1 -1
  52. package/node_modules/fast-xml-builder/lib/fxb.min.js.map +1 -1
  53. package/node_modules/fast-xml-builder/package.json +1 -1
  54. package/node_modules/fast-xml-builder/src/fxb.d.ts +7 -0
  55. package/node_modules/fast-xml-builder/src/fxb.js +4 -1
  56. package/node_modules/fast-xml-builder/src/orderedJs2Xml.js +4 -0
  57. 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.1009.0"
10
+ "@aws-sdk/client-cloudformation": "^3.1010.0"
11
11
  },
12
12
  "dependencies": {
13
13
  "aws-cdk-lib": "^2.195.0",
@@ -3993,7 +3993,7 @@
3993
3993
  "stability": "stable"
3994
3994
  },
3995
3995
  "homepage": "https://github.com/cdk8s-team/cdk8s-awscdk-resolver.git",
3996
- "jsiiVersion": "5.9.32 (build ac92fbd)",
3996
+ "jsiiVersion": "5.9.33 (build 8ebb533)",
3997
3997
  "license": "Apache-2.0",
3998
3998
  "metadata": {
3999
3999
  "jsii": {
@@ -4082,6 +4082,6 @@
4082
4082
  "symbolId": "src/resolve:AwsCdkResolver"
4083
4083
  }
4084
4084
  },
4085
- "version": "0.0.513",
4086
- "fingerprint": "K1v7DS7Gs5IbeElVuQGeNt+BZ+bNTkfjyjcHmBZ4aww="
4085
+ "version": "0.0.515",
4086
+ "fingerprint": "FbE4DqMi5/U9cQIq0GAZmUA7w8AcNX1m3Q5NGd5SEt8="
4087
4087
  }
package/lib/resolve.js CHANGED
@@ -61,5 +61,5 @@ class AwsCdkResolver {
61
61
  }
62
62
  exports.AwsCdkResolver = AwsCdkResolver;
63
63
  _a = JSII_RTTI_SYMBOL_1;
64
- AwsCdkResolver[_a] = { fqn: "@cdk8s/awscdk-resolver.AwsCdkResolver", version: "0.0.513" };
64
+ AwsCdkResolver[_a] = { fqn: "@cdk8s/awscdk-resolver.AwsCdkResolver", version: "0.0.515" };
65
65
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzb2x2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3NyYy9yZXNvbHZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEsaURBQTZDO0FBQzdDLDZCQUE2QjtBQUM3Qiw2Q0FBK0U7QUFJL0UsTUFBYSxjQUFjO0lBRWxCLE9BQU8sQ0FBQyxPQUEwQjtRQUV2QyxJQUFJLENBQUMsbUJBQUssQ0FBQyxZQUFZLENBQUMsT0FBTyxDQUFDLEtBQUssQ0FBQyxFQUFFLENBQUM7WUFDdkMsT0FBTztRQUNULENBQUM7UUFFRCxJQUFJLE9BQU8sT0FBTyxDQUFDLEtBQUssS0FBSyxRQUFRLEVBQUUsQ0FBQztZQUN0QywrREFBK0Q7WUFDL0QsbUJBQW1CO1lBQ25CLE1BQU0sSUFBSSxLQUFLLENBQUMsdUJBQXVCLE9BQU0sQ0FBQyxPQUFPLENBQUMsS0FBSyxDQUFDLHNCQUFzQixDQUFDLENBQUM7UUFDdEYsQ0FBQztRQUVELE1BQU0sTUFBTSxHQUFHLElBQUksQ0FBQyxVQUFVLENBQUMsT0FBTyxDQUFDLEtBQUssQ0FBQyxDQUFDO1FBQzlDLElBQUksQ0FBQztZQUNILE1BQU0sV0FBVyxHQUFHLElBQUksQ0FBQyxnQkFBZ0IsQ0FBQyxNQUFNLENBQUMsQ0FBQztZQUNsRCxPQUFPLENBQUMsWUFBWSxDQUFDLFdBQVcsQ0FBQyxDQUFDO1FBQ3BDLENB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3RkaW86IFsncGlwZSddIH0pLnRvU3RyaW5nKCkudHJpbSgpKTtcblxuICB9XG5cbn1cbiJdfQ==
@@ -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.1009.0",
4
+ "version": "3.1010.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 client-cloudformation",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/core",
3
- "version": "3.23.11",
3
+ "version": "3.23.12",
4
4
  "scripts": {
5
5
  "build": "yarn lint && concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "node ../../scripts/inline core",
@@ -92,7 +92,7 @@
92
92
  "@smithy/util-base64": "^4.3.2",
93
93
  "@smithy/util-body-length-browser": "^4.2.2",
94
94
  "@smithy/util-middleware": "^4.2.12",
95
- "@smithy/util-stream": "^4.5.19",
95
+ "@smithy/util-stream": "^4.5.20",
96
96
  "@smithy/util-utf8": "^4.2.2",
97
97
  "@smithy/uuid": "^1.1.2",
98
98
  "tslib": "^2.6.2"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/middleware-endpoint",
3
- "version": "4.4.25",
3
+ "version": "4.4.26",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "node ../../scripts/inline middleware-endpoint",
@@ -25,8 +25,8 @@
25
25
  "license": "Apache-2.0",
26
26
  "sideEffects": false,
27
27
  "dependencies": {
28
- "@smithy/core": "^3.23.11",
29
- "@smithy/middleware-serde": "^4.2.14",
28
+ "@smithy/core": "^3.23.12",
29
+ "@smithy/middleware-serde": "^4.2.15",
30
30
  "@smithy/node-config-provider": "^4.3.12",
31
31
  "@smithy/shared-ini-file-loader": "^4.4.7",
32
32
  "@smithy/types": "^4.13.1",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/middleware-retry",
3
- "version": "4.4.42",
3
+ "version": "4.4.43",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "node ../../scripts/inline middleware-retry",
@@ -37,7 +37,7 @@
37
37
  "@smithy/node-config-provider": "^4.3.12",
38
38
  "@smithy/protocol-http": "^5.3.12",
39
39
  "@smithy/service-error-classification": "^4.2.12",
40
- "@smithy/smithy-client": "^4.12.5",
40
+ "@smithy/smithy-client": "^4.12.6",
41
41
  "@smithy/types": "^4.13.1",
42
42
  "@smithy/util-middleware": "^4.2.12",
43
43
  "@smithy/util-retry": "^4.2.12",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/middleware-serde",
3
- "version": "4.2.14",
3
+ "version": "4.2.15",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "node ../../scripts/inline middleware-serde",
@@ -26,7 +26,7 @@
26
26
  "license": "Apache-2.0",
27
27
  "sideEffects": false,
28
28
  "dependencies": {
29
- "@smithy/core": "^3.23.11",
29
+ "@smithy/core": "^3.23.12",
30
30
  "@smithy/protocol-http": "^5.3.12",
31
31
  "@smithy/types": "^4.13.1",
32
32
  "tslib": "^2.6.2"
@@ -2,10 +2,9 @@
2
2
 
3
3
  var protocolHttp = require('@smithy/protocol-http');
4
4
  var querystringBuilder = require('@smithy/querystring-builder');
5
- var http = require('http');
6
- var https = require('https');
7
- var stream = require('stream');
8
- var http2 = require('http2');
5
+ var node_https = require('node:https');
6
+ var node_stream = require('node:stream');
7
+ var http2 = require('node:http2');
9
8
 
10
9
  function buildAbortError(abortSignal) {
11
10
  const reason = abortSignal && typeof abortSignal === "object" && "reason" in abortSignal
@@ -177,7 +176,7 @@ async function writeRequestBody(httpRequest, request, maxContinueTimeoutMs = MIN
177
176
  }
178
177
  }
179
178
  function writeBody(httpRequest, body) {
180
- if (body instanceof stream.Readable) {
179
+ if (body instanceof node_stream.Readable) {
181
180
  body.pipe(httpRequest);
182
181
  return;
183
182
  }
@@ -208,6 +207,8 @@ function writeBody(httpRequest, body) {
208
207
  }
209
208
 
210
209
  const DEFAULT_REQUEST_TIMEOUT = 0;
210
+ let hAgent = undefined;
211
+ let hRequest = undefined;
211
212
  class NodeHttpHandler {
212
213
  config;
213
214
  configProvider;
@@ -257,33 +258,6 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
257
258
  }
258
259
  });
259
260
  }
260
- resolveDefaultConfig(options) {
261
- const { requestTimeout, connectionTimeout, socketTimeout, socketAcquisitionWarningTimeout, httpAgent, httpsAgent, throwOnRequestTimeout, logger, } = options || {};
262
- const keepAlive = true;
263
- const maxSockets = 50;
264
- return {
265
- connectionTimeout,
266
- requestTimeout,
267
- socketTimeout,
268
- socketAcquisitionWarningTimeout,
269
- throwOnRequestTimeout,
270
- httpAgent: (() => {
271
- if (httpAgent instanceof http.Agent || typeof httpAgent?.destroy === "function") {
272
- this.externalAgent = true;
273
- return httpAgent;
274
- }
275
- return new http.Agent({ keepAlive, maxSockets, ...httpAgent });
276
- })(),
277
- httpsAgent: (() => {
278
- if (httpsAgent instanceof https.Agent || typeof httpsAgent?.destroy === "function") {
279
- this.externalAgent = true;
280
- return httpsAgent;
281
- }
282
- return new https.Agent({ keepAlive, maxSockets, ...httpsAgent });
283
- })(),
284
- logger,
285
- };
286
- }
287
261
  destroy() {
288
262
  this.config?.httpAgent?.destroy();
289
263
  this.config?.httpsAgent?.destroy();
@@ -292,8 +266,12 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
292
266
  if (!this.config) {
293
267
  this.config = await this.configProvider;
294
268
  }
269
+ const config = this.config;
270
+ const isSSL = request.protocol === "https:";
271
+ if (!isSSL && !this.config.httpAgent) {
272
+ this.config.httpAgent = await this.config.httpAgentProvider();
273
+ }
295
274
  return new Promise((_resolve, _reject) => {
296
- const config = this.config;
297
275
  let writeRequestBodyPromise = undefined;
298
276
  const timeouts = [];
299
277
  const resolve = async (arg) => {
@@ -311,12 +289,11 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
311
289
  reject(abortError);
312
290
  return;
313
291
  }
314
- const isSSL = request.protocol === "https:";
315
292
  const headers = request.headers ?? {};
316
293
  const expectContinue = (headers.Expect ?? headers.expect) === "100-continue";
317
294
  let agent = isSSL ? config.httpsAgent : config.httpAgent;
318
295
  if (expectContinue && !this.externalAgent) {
319
- agent = new (isSSL ? https.Agent : http.Agent)({
296
+ agent = new (isSSL ? node_https.Agent : hAgent)({
320
297
  keepAlive: false,
321
298
  maxSockets: Infinity,
322
299
  });
@@ -354,7 +331,7 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
354
331
  agent,
355
332
  auth,
356
333
  };
357
- const requestFunc = isSSL ? https.request : http.request;
334
+ const requestFunc = isSSL ? node_https.request : hRequest;
358
335
  const req = requestFunc(nodeHttpsOptions, (res) => {
359
336
  const httpResponse = new protocolHttp.HttpResponse({
360
337
  statusCode: res.statusCode || -1,
@@ -416,6 +393,36 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
416
393
  httpHandlerConfigs() {
417
394
  return this.config ?? {};
418
395
  }
396
+ resolveDefaultConfig(options) {
397
+ const { requestTimeout, connectionTimeout, socketTimeout, socketAcquisitionWarningTimeout, httpAgent, httpsAgent, throwOnRequestTimeout, logger, } = options || {};
398
+ const keepAlive = true;
399
+ const maxSockets = 50;
400
+ return {
401
+ connectionTimeout,
402
+ requestTimeout,
403
+ socketTimeout,
404
+ socketAcquisitionWarningTimeout,
405
+ throwOnRequestTimeout,
406
+ httpAgentProvider: async () => {
407
+ const { Agent, request } = await import('node:http');
408
+ hRequest = request;
409
+ hAgent = Agent;
410
+ if (httpAgent instanceof hAgent || typeof httpAgent?.destroy === "function") {
411
+ this.externalAgent = true;
412
+ return httpAgent;
413
+ }
414
+ return new hAgent({ keepAlive, maxSockets, ...httpAgent });
415
+ },
416
+ httpsAgent: (() => {
417
+ if (httpsAgent instanceof node_https.Agent || typeof httpsAgent?.destroy === "function") {
418
+ this.externalAgent = true;
419
+ return httpsAgent;
420
+ }
421
+ return new node_https.Agent({ keepAlive, maxSockets, ...httpsAgent });
422
+ })(),
423
+ logger,
424
+ };
425
+ }
419
426
  }
420
427
 
421
428
  class NodeHttp2ConnectionPool {
@@ -700,7 +707,7 @@ class NodeHttp2Handler {
700
707
  }
701
708
  }
702
709
 
703
- class Collector extends stream.Writable {
710
+ class Collector extends node_stream.Writable {
704
711
  bufferedBytes = [];
705
712
  _write(chunk, encoding, callback) {
706
713
  this.bufferedBytes.push(chunk);
@@ -1,7 +1,6 @@
1
1
  import { HttpResponse } from "@smithy/protocol-http";
2
2
  import { buildQueryString } from "@smithy/querystring-builder";
3
- import { Agent as hAgent, request as hRequest } from "http";
4
- import { Agent as hsAgent, request as hsRequest } from "https";
3
+ import { Agent as hsAgent, request as hsRequest } from "node:https";
5
4
  import { buildAbortError } from "./build-abort-error";
6
5
  import { NODEJS_TIMEOUT_ERROR_CODES } from "./constants";
7
6
  import { getTransformedHeaders } from "./get-transformed-headers";
@@ -12,6 +11,8 @@ import { setSocketTimeout } from "./set-socket-timeout";
12
11
  import { timing } from "./timing";
13
12
  import { writeRequestBody } from "./write-request-body";
14
13
  export const DEFAULT_REQUEST_TIMEOUT = 0;
14
+ let hAgent = undefined;
15
+ let hRequest = undefined;
15
16
  export class NodeHttpHandler {
16
17
  config;
17
18
  configProvider;
@@ -61,33 +62,6 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
61
62
  }
62
63
  });
63
64
  }
64
- resolveDefaultConfig(options) {
65
- const { requestTimeout, connectionTimeout, socketTimeout, socketAcquisitionWarningTimeout, httpAgent, httpsAgent, throwOnRequestTimeout, logger, } = options || {};
66
- const keepAlive = true;
67
- const maxSockets = 50;
68
- return {
69
- connectionTimeout,
70
- requestTimeout,
71
- socketTimeout,
72
- socketAcquisitionWarningTimeout,
73
- throwOnRequestTimeout,
74
- httpAgent: (() => {
75
- if (httpAgent instanceof hAgent || typeof httpAgent?.destroy === "function") {
76
- this.externalAgent = true;
77
- return httpAgent;
78
- }
79
- return new hAgent({ keepAlive, maxSockets, ...httpAgent });
80
- })(),
81
- httpsAgent: (() => {
82
- if (httpsAgent instanceof hsAgent || typeof httpsAgent?.destroy === "function") {
83
- this.externalAgent = true;
84
- return httpsAgent;
85
- }
86
- return new hsAgent({ keepAlive, maxSockets, ...httpsAgent });
87
- })(),
88
- logger,
89
- };
90
- }
91
65
  destroy() {
92
66
  this.config?.httpAgent?.destroy();
93
67
  this.config?.httpsAgent?.destroy();
@@ -96,8 +70,12 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
96
70
  if (!this.config) {
97
71
  this.config = await this.configProvider;
98
72
  }
73
+ const config = this.config;
74
+ const isSSL = request.protocol === "https:";
75
+ if (!isSSL && !this.config.httpAgent) {
76
+ this.config.httpAgent = await this.config.httpAgentProvider();
77
+ }
99
78
  return new Promise((_resolve, _reject) => {
100
- const config = this.config;
101
79
  let writeRequestBodyPromise = undefined;
102
80
  const timeouts = [];
103
81
  const resolve = async (arg) => {
@@ -115,7 +93,6 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
115
93
  reject(abortError);
116
94
  return;
117
95
  }
118
- const isSSL = request.protocol === "https:";
119
96
  const headers = request.headers ?? {};
120
97
  const expectContinue = (headers.Expect ?? headers.expect) === "100-continue";
121
98
  let agent = isSSL ? config.httpsAgent : config.httpAgent;
@@ -220,4 +197,34 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
220
197
  httpHandlerConfigs() {
221
198
  return this.config ?? {};
222
199
  }
200
+ resolveDefaultConfig(options) {
201
+ const { requestTimeout, connectionTimeout, socketTimeout, socketAcquisitionWarningTimeout, httpAgent, httpsAgent, throwOnRequestTimeout, logger, } = options || {};
202
+ const keepAlive = true;
203
+ const maxSockets = 50;
204
+ return {
205
+ connectionTimeout,
206
+ requestTimeout,
207
+ socketTimeout,
208
+ socketAcquisitionWarningTimeout,
209
+ throwOnRequestTimeout,
210
+ httpAgentProvider: async () => {
211
+ const { Agent, request } = await import("node:http");
212
+ hRequest = request;
213
+ hAgent = Agent;
214
+ if (httpAgent instanceof hAgent || typeof httpAgent?.destroy === "function") {
215
+ this.externalAgent = true;
216
+ return httpAgent;
217
+ }
218
+ return new hAgent({ keepAlive, maxSockets, ...httpAgent });
219
+ },
220
+ httpsAgent: (() => {
221
+ if (httpsAgent instanceof hsAgent || typeof httpsAgent?.destroy === "function") {
222
+ this.externalAgent = true;
223
+ return httpsAgent;
224
+ }
225
+ return new hsAgent({ keepAlive, maxSockets, ...httpsAgent });
226
+ })(),
227
+ logger,
228
+ };
229
+ }
223
230
  }
@@ -1,4 +1,4 @@
1
- import http2 from "http2";
1
+ import http2 from "node:http2";
2
2
  import { NodeHttp2ConnectionPool } from "./node-http2-connection-pool";
3
3
  export class NodeHttp2ConnectionManager {
4
4
  constructor(config) {
@@ -1,6 +1,6 @@
1
1
  import { HttpResponse } from "@smithy/protocol-http";
2
2
  import { buildQueryString } from "@smithy/querystring-builder";
3
- import { constants } from "http2";
3
+ import { constants } from "node:http2";
4
4
  import { buildAbortError } from "./build-abort-error";
5
5
  import { getTransformedHeaders } from "./get-transformed-headers";
6
6
  import { NodeHttp2ConnectionManager } from "./node-http2-connection-manager";
@@ -1,4 +1,4 @@
1
- import { Readable } from "stream";
1
+ import { Readable } from "node:stream";
2
2
  export class ReadFromBuffers extends Readable {
3
3
  buffersToRead;
4
4
  numBuffersRead = 0;
@@ -1,9 +1,9 @@
1
- import { readFileSync } from "fs";
2
- import { createServer as createHttpServer } from "http";
3
- import { createServer as createHttp2Server } from "http2";
4
- import { createServer as createHttpsServer } from "https";
5
- import { join } from "path";
6
- import { Readable } from "stream";
1
+ import { readFileSync } from "node:fs";
2
+ import { createServer as createHttpServer } from "node:http";
3
+ import { createServer as createHttp2Server } from "node:http2";
4
+ import { createServer as createHttpsServer } from "node:https";
5
+ import { join } from "node:path";
6
+ import { Readable } from "node:stream";
7
7
  import { timing } from "./timing";
8
8
  const fixturesDir = join(__dirname, "..", "fixtures");
9
9
  const setResponseHeaders = (response, headers) => {
@@ -1,4 +1,4 @@
1
- import { Writable } from "stream";
1
+ import { Writable } from "node:stream";
2
2
  export class Collector extends Writable {
3
3
  bufferedBytes = [];
4
4
  _write(chunk, encoding, callback) {
@@ -1,4 +1,4 @@
1
- import { Readable } from "stream";
1
+ import { Readable } from "node:stream";
2
2
  export class ReadFromBuffers extends Readable {
3
3
  buffersToRead;
4
4
  numBuffersRead = 0;
@@ -1,4 +1,4 @@
1
- import { Readable } from "stream";
1
+ import { Readable } from "node:stream";
2
2
  import { timing } from "./timing";
3
3
  const MIN_WAIT_TIME = 6_000;
4
4
  export async function writeRequestBody(httpRequest, request, maxContinueTimeoutMs = MIN_WAIT_TIME, externalAgent = false) {
@@ -1,4 +1,4 @@
1
1
  import type { HeaderBag } from "@smithy/types";
2
- import type { IncomingHttpHeaders } from "http2";
2
+ import type { IncomingHttpHeaders } from "node:http2";
3
3
  declare const getTransformedHeaders: (headers: IncomingHttpHeaders) => HeaderBag;
4
4
  export { getTransformedHeaders };
@@ -1,8 +1,8 @@
1
1
  import type { HttpHandler, HttpRequest } from "@smithy/protocol-http";
2
2
  import { HttpResponse } from "@smithy/protocol-http";
3
3
  import type { HttpHandlerOptions, Logger, NodeHttpHandlerOptions, Provider } from "@smithy/types";
4
- import { Agent as hAgent } from "http";
5
- import { Agent as hsAgent } from "https";
4
+ import type { Agent as hAgentType } from "node:http";
5
+ import { Agent as hsAgent } from "node:https";
6
6
  export { NodeHttpHandlerOptions };
7
7
  /**
8
8
  * @public
@@ -34,13 +34,13 @@ export declare class NodeHttpHandler implements HttpHandler<NodeHttpHandlerOptio
34
34
  * @param logger - channel for the warning.
35
35
  * @returns timestamp of last emitted warning.
36
36
  */
37
- static checkSocketUsage(agent: hAgent | hsAgent, socketWarningTimestamp: number, logger?: Logger): number;
37
+ static checkSocketUsage(agent: hAgentType | hsAgent, socketWarningTimestamp: number, logger?: Logger): number;
38
38
  constructor(options?: NodeHttpHandlerOptions | Provider<NodeHttpHandlerOptions | void>);
39
- private resolveDefaultConfig;
40
39
  destroy(): void;
41
40
  handle(request: HttpRequest, { abortSignal, requestTimeout }?: HttpHandlerOptions): Promise<{
42
41
  response: HttpResponse;
43
42
  }>;
44
43
  updateHttpClientConfig(key: keyof NodeHttpHandlerOptions, value: NodeHttpHandlerOptions[typeof key]): void;
45
44
  httpHandlerConfigs(): NodeHttpHandlerOptions;
45
+ private resolveDefaultConfig;
46
46
  }
@@ -1,7 +1,7 @@
1
1
  import type { RequestContext } from "@smithy/types";
2
2
  import type { ConnectConfiguration } from "@smithy/types";
3
3
  import type { ConnectionManager, ConnectionManagerConfiguration } from "@smithy/types";
4
- import type { ClientHttp2Session } from "http2";
4
+ import type { ClientHttp2Session } from "node:http2";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,5 +1,5 @@
1
1
  import type { ConnectionPool } from "@smithy/types";
2
- import type { ClientHttp2Session } from "http2";
2
+ import type { ClientHttp2Session } from "node:http2";
3
3
  export declare class NodeHttp2ConnectionPool implements ConnectionPool<ClientHttp2Session> {
4
4
  private sessions;
5
5
  constructor(sessions?: ClientHttp2Session[]);
@@ -1,5 +1,5 @@
1
- import type { ReadableOptions } from "stream";
2
- import { Readable } from "stream";
1
+ import type { ReadableOptions } from "node:stream";
2
+ import { Readable } from "node:stream";
3
3
  export interface ReadFromBuffersOptions extends ReadableOptions {
4
4
  buffers: Buffer[];
5
5
  errorAfter?: number;
@@ -1,7 +1,7 @@
1
1
  import type { HttpResponse } from "@smithy/types";
2
- import type { IncomingMessage, Server as HttpServer, ServerResponse } from "http";
3
- import type { Http2Server } from "http2";
4
- import type { Server as HttpsServer } from "https";
2
+ import type { IncomingMessage, Server as HttpServer, ServerResponse } from "node:http";
3
+ import type { Http2Server } from "node:http2";
4
+ import type { Server as HttpsServer } from "node:https";
5
5
  export declare const createResponseFunction: (httpResp: HttpResponse) => (request: IncomingMessage, response: ServerResponse) => void;
6
6
  export declare const createResponseFunctionWithDelay: (httpResp: HttpResponse, delay: number) => (request: IncomingMessage, response: ServerResponse) => void;
7
7
  export declare const createContinueResponseFunction: (httpResp: HttpResponse) => (request: IncomingMessage, response: ServerResponse) => void;
@@ -1,2 +1,2 @@
1
- import type { ClientRequest } from "http";
1
+ import type { ClientRequest } from "node:http";
2
2
  export declare const setConnectionTimeout: (request: ClientRequest, reject: (err: Error) => void, timeoutInMs?: number) => NodeJS.Timeout | number;
@@ -1,5 +1,5 @@
1
1
  import type { Logger } from "@smithy/types";
2
- import type { ClientRequest } from "http";
2
+ import type { ClientRequest } from "node:http";
3
3
  /**
4
4
  * @internal
5
5
  */
@@ -1,4 +1,4 @@
1
- import type { ClientRequest } from "http";
1
+ import type { ClientRequest } from "node:http";
2
2
  export interface SocketKeepAliveOptions {
3
3
  keepAlive: boolean;
4
4
  keepAliveMsecs?: number;
@@ -1,2 +1,2 @@
1
- import type { ClientRequest } from "http";
1
+ import type { ClientRequest } from "node:http";
2
2
  export declare const setSocketTimeout: (request: ClientRequest, reject: (err: Error) => void, timeoutInMs?: number) => NodeJS.Timeout | number;
@@ -1,4 +1,4 @@
1
- import { Writable } from "stream";
1
+ import { Writable } from "node:stream";
2
2
  export declare class Collector extends Writable {
3
3
  readonly bufferedBytes: Buffer[];
4
4
  _write(chunk: Buffer, encoding: string, callback: (err?: Error) => void): void;
@@ -1,5 +1,5 @@
1
- import type { ReadableOptions } from "stream";
2
- import { Readable } from "stream";
1
+ import type { ReadableOptions } from "node:stream";
2
+ import { Readable } from "node:stream";
3
3
  export interface ReadFromBuffersOptions extends ReadableOptions {
4
4
  buffers: Buffer[];
5
5
  errorAfter?: number;
@@ -1,4 +1,4 @@
1
1
  import { HeaderBag } from "@smithy/types";
2
- import { IncomingHttpHeaders } from "http2";
2
+ import { IncomingHttpHeaders } from "node:http2";
3
3
  declare const getTransformedHeaders: (headers: IncomingHttpHeaders) => HeaderBag;
4
4
  export { getTransformedHeaders };
@@ -1,8 +1,8 @@
1
1
  import { HttpHandler, HttpRequest } from "@smithy/protocol-http";
2
2
  import { HttpResponse } from "@smithy/protocol-http";
3
3
  import { HttpHandlerOptions, Logger, NodeHttpHandlerOptions, Provider } from "@smithy/types";
4
- import { Agent as hAgent } from "http";
5
- import { Agent as hsAgent } from "https";
4
+ import { Agent as hAgentType } from "node:http";
5
+ import { Agent as hsAgent } from "node:https";
6
6
  export { NodeHttpHandlerOptions };
7
7
  /**
8
8
  * @public
@@ -34,13 +34,13 @@ export declare class NodeHttpHandler implements HttpHandler<NodeHttpHandlerOptio
34
34
  * @param logger - channel for the warning.
35
35
  * @returns timestamp of last emitted warning.
36
36
  */
37
- static checkSocketUsage(agent: hAgent | hsAgent, socketWarningTimestamp: number, logger?: Logger): number;
37
+ static checkSocketUsage(agent: hAgentType | hsAgent, socketWarningTimestamp: number, logger?: Logger): number;
38
38
  constructor(options?: NodeHttpHandlerOptions | Provider<NodeHttpHandlerOptions | void>);
39
- private resolveDefaultConfig;
40
39
  destroy(): void;
41
40
  handle(request: HttpRequest, { abortSignal, requestTimeout }?: HttpHandlerOptions): Promise<{
42
41
  response: HttpResponse;
43
42
  }>;
44
43
  updateHttpClientConfig(key: keyof NodeHttpHandlerOptions, value: NodeHttpHandlerOptions[typeof key]): void;
45
44
  httpHandlerConfigs(): NodeHttpHandlerOptions;
45
+ private resolveDefaultConfig;
46
46
  }
@@ -1,7 +1,7 @@
1
1
  import { RequestContext } from "@smithy/types";
2
2
  import { ConnectConfiguration } from "@smithy/types";
3
3
  import { ConnectionManager, ConnectionManagerConfiguration } from "@smithy/types";
4
- import { ClientHttp2Session } from "http2";
4
+ import { ClientHttp2Session } from "node:http2";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,5 +1,5 @@
1
1
  import { ConnectionPool } from "@smithy/types";
2
- import { ClientHttp2Session } from "http2";
2
+ import { ClientHttp2Session } from "node:http2";
3
3
  export declare class NodeHttp2ConnectionPool implements ConnectionPool<ClientHttp2Session> {
4
4
  private sessions;
5
5
  constructor(sessions?: ClientHttp2Session[]);
@@ -1,5 +1,5 @@
1
- import { ReadableOptions } from "stream";
2
- import { Readable } from "stream";
1
+ import { ReadableOptions } from "node:stream";
2
+ import { Readable } from "node:stream";
3
3
  export interface ReadFromBuffersOptions extends ReadableOptions {
4
4
  buffers: Buffer[];
5
5
  errorAfter?: number;
@@ -1,7 +1,7 @@
1
1
  import { HttpResponse } from "@smithy/types";
2
- import { IncomingMessage, Server as HttpServer, ServerResponse } from "http";
3
- import { Http2Server } from "http2";
4
- import { Server as HttpsServer } from "https";
2
+ import { IncomingMessage, Server as HttpServer, ServerResponse } from "node:http";
3
+ import { Http2Server } from "node:http2";
4
+ import { Server as HttpsServer } from "node:https";
5
5
  export declare const createResponseFunction: (httpResp: HttpResponse) => (request: IncomingMessage, response: ServerResponse) => void;
6
6
  export declare const createResponseFunctionWithDelay: (httpResp: HttpResponse, delay: number) => (request: IncomingMessage, response: ServerResponse) => void;
7
7
  export declare const createContinueResponseFunction: (httpResp: HttpResponse) => (request: IncomingMessage, response: ServerResponse) => void;