@aws-sdk/client-ebs 3.956.0 → 3.958.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -25,10 +25,8 @@ and service quotas for the EBS direct APIs, see <a href="https://docs.aws.amazon
25
25
  the <i>Amazon Web Services General Reference</i>.</p>
26
26
 
27
27
  ## Installing
28
-
29
28
  To install this package, simply type add or install @aws-sdk/client-ebs
30
29
  using your favorite package manager:
31
-
32
30
  - `npm install @aws-sdk/client-ebs`
33
31
  - `yarn add @aws-sdk/client-ebs`
34
32
  - `pnpm add @aws-sdk/client-ebs`
@@ -64,9 +62,7 @@ To send a request, you:
64
62
  // a client can be shared by different commands.
65
63
  const client = new EBSClient({ region: "REGION" });
66
64
 
67
- const params = {
68
- /** input parameters */
69
- };
65
+ const params = { /** input parameters */ };
70
66
  const command = new ListChangedBlocksCommand(params);
71
67
  ```
72
68
 
@@ -225,7 +221,6 @@ CompleteSnapshot
225
221
  </summary>
226
222
 
227
223
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ebs/command/CompleteSnapshotCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ebs/Interface/CompleteSnapshotCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ebs/Interface/CompleteSnapshotCommandOutput/)
228
-
229
224
  </details>
230
225
  <details>
231
226
  <summary>
@@ -233,7 +228,6 @@ GetSnapshotBlock
233
228
  </summary>
234
229
 
235
230
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ebs/command/GetSnapshotBlockCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ebs/Interface/GetSnapshotBlockCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ebs/Interface/GetSnapshotBlockCommandOutput/)
236
-
237
231
  </details>
238
232
  <details>
239
233
  <summary>
@@ -241,7 +235,6 @@ ListChangedBlocks
241
235
  </summary>
242
236
 
243
237
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ebs/command/ListChangedBlocksCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ebs/Interface/ListChangedBlocksCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ebs/Interface/ListChangedBlocksCommandOutput/)
244
-
245
238
  </details>
246
239
  <details>
247
240
  <summary>
@@ -249,7 +242,6 @@ ListSnapshotBlocks
249
242
  </summary>
250
243
 
251
244
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ebs/command/ListSnapshotBlocksCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ebs/Interface/ListSnapshotBlocksCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ebs/Interface/ListSnapshotBlocksCommandOutput/)
252
-
253
245
  </details>
254
246
  <details>
255
247
  <summary>
@@ -257,7 +249,6 @@ PutSnapshotBlock
257
249
  </summary>
258
250
 
259
251
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ebs/command/PutSnapshotBlockCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ebs/Interface/PutSnapshotBlockCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ebs/Interface/PutSnapshotBlockCommandOutput/)
260
-
261
252
  </details>
262
253
  <details>
263
254
  <summary>
@@ -265,5 +256,4 @@ StartSnapshot
265
256
  </summary>
266
257
 
267
258
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ebs/command/StartSnapshotCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ebs/Interface/StartSnapshotCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ebs/Interface/StartSnapshotCommandOutput/)
268
-
269
259
  </details>
@@ -6,10 +6,9 @@ const util_middleware_1 = require("@smithy/util-middleware");
6
6
  const defaultEBSHttpAuthSchemeParametersProvider = async (config, context, input) => {
7
7
  return {
8
8
  operation: (0, util_middleware_1.getSmithyContext)(context).operation,
9
- region: (await (0, util_middleware_1.normalizeProvider)(config.region)()) ||
10
- (() => {
11
- throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
12
- })(),
9
+ region: await (0, util_middleware_1.normalizeProvider)(config.region)() || (() => {
10
+ throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
11
+ })(),
13
12
  };
14
13
  };
15
14
  exports.defaultEBSHttpAuthSchemeParametersProvider = defaultEBSHttpAuthSchemeParametersProvider;
package/dist-cjs/index.js CHANGED
@@ -330,210 +330,158 @@ const _xaP = "x-amz-Progress";
330
330
  const n0 = "com.amazonaws.ebs";
331
331
  var BlockData = [0, n0, _BD, { [_s]: 1, [_st]: 1 }, 42];
332
332
  var KmsKeyArn = [0, n0, _KKA, 8, 0];
333
- var AccessDeniedException$ = [-3, n0, _ADE, { [_e]: _c, [_hE]: 403 }, [_M, _R], [0, 0]];
333
+ var AccessDeniedException$ = [-3, n0, _ADE,
334
+ { [_e]: _c, [_hE]: 403 },
335
+ [_M, _R],
336
+ [0, 0]
337
+ ];
334
338
  schema.TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
335
- var Block$ = [3, n0, _B, 0, [_BI, _BT], [1, 0]];
336
- var ChangedBlock$ = [3, n0, _CB, 8, [_BI, _FBT, _SBT], [1, 0, 0]];
337
- var CompleteSnapshotRequest$ = [
338
- 3,
339
- n0,
340
- _CSR,
339
+ var Block$ = [3, n0, _B,
340
+ 0,
341
+ [_BI, _BT],
342
+ [1, 0]
343
+ ];
344
+ var ChangedBlock$ = [3, n0, _CB,
345
+ 8,
346
+ [_BI, _FBT, _SBT],
347
+ [1, 0, 0]
348
+ ];
349
+ var CompleteSnapshotRequest$ = [3, n0, _CSR,
341
350
  0,
342
351
  [_SI, _CBC, _C, _CA, _CAM],
343
- [
344
- [0, 1],
345
- [1, { [_hH]: _xaC }],
346
- [0, { [_hH]: _xaC_ }],
347
- [0, { [_hH]: _xaCA }],
348
- [0, { [_hH]: _xaCAM }],
349
- ],
350
- ];
351
- var CompleteSnapshotResponse$ = [3, n0, _CSRo, 0, [_S], [0]];
352
- var ConcurrentLimitExceededException$ = [-3, n0, _CLEE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
352
+ [[0, 1], [1, { [_hH]: _xaC }], [0, { [_hH]: _xaC_ }], [0, { [_hH]: _xaCA }], [0, { [_hH]: _xaCAM }]]
353
+ ];
354
+ var CompleteSnapshotResponse$ = [3, n0, _CSRo,
355
+ 0,
356
+ [_S],
357
+ [0]
358
+ ];
359
+ var ConcurrentLimitExceededException$ = [-3, n0, _CLEE,
360
+ { [_e]: _c, [_hE]: 400 },
361
+ [_M],
362
+ [0]
363
+ ];
353
364
  schema.TypeRegistry.for(n0).registerError(ConcurrentLimitExceededException$, ConcurrentLimitExceededException);
354
- var ConflictException$ = [-3, n0, _CE, { [_e]: _c, [_hE]: 409 }, [_M], [0]];
365
+ var ConflictException$ = [-3, n0, _CE,
366
+ { [_e]: _c, [_hE]: 409 },
367
+ [_M],
368
+ [0]
369
+ ];
355
370
  schema.TypeRegistry.for(n0).registerError(ConflictException$, ConflictException);
356
- var GetSnapshotBlockRequest$ = [
357
- 3,
358
- n0,
359
- _GSBR,
371
+ var GetSnapshotBlockRequest$ = [3, n0, _GSBR,
360
372
  0,
361
373
  [_SI, _BI, _BT],
362
- [
363
- [0, 1],
364
- [1, 1],
365
- [0, { [_hQ]: _bT }],
366
- ],
367
- ];
368
- var GetSnapshotBlockResponse$ = [
369
- 3,
370
- n0,
371
- _GSBRe,
374
+ [[0, 1], [1, 1], [0, { [_hQ]: _bT }]]
375
+ ];
376
+ var GetSnapshotBlockResponse$ = [3, n0, _GSBRe,
372
377
  0,
373
378
  [_DL, _BD, _C, _CA],
374
- [
375
- [1, { [_hH]: _xaDL }],
376
- [() => BlockData, 16],
377
- [0, { [_hH]: _xaC_ }],
378
- [0, { [_hH]: _xaCA }],
379
- ],
380
- ];
381
- var InternalServerException$ = [-3, n0, _ISE, { [_e]: _se, [_hE]: 500 }, [_M], [0]];
379
+ [[1, { [_hH]: _xaDL }], [() => BlockData, 16], [0, { [_hH]: _xaC_ }], [0, { [_hH]: _xaCA }]]
380
+ ];
381
+ var InternalServerException$ = [-3, n0, _ISE,
382
+ { [_e]: _se, [_hE]: 500 },
383
+ [_M],
384
+ [0]
385
+ ];
382
386
  schema.TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
383
- var ListChangedBlocksRequest$ = [
384
- 3,
385
- n0,
386
- _LCBR,
387
+ var ListChangedBlocksRequest$ = [3, n0, _LCBR,
387
388
  0,
388
389
  [_FSI, _SSI, _NT, _MR, _SBI],
389
- [
390
- [0, { [_hQ]: _fSI }],
391
- [0, 1],
392
- [0, { [_hQ]: _pT }],
393
- [1, { [_hQ]: _mR }],
394
- [1, { [_hQ]: _sBI }],
395
- ],
396
- ];
397
- var ListChangedBlocksResponse$ = [
398
- 3,
399
- n0,
400
- _LCBRi,
390
+ [[0, { [_hQ]: _fSI }], [0, 1], [0, { [_hQ]: _pT }], [1, { [_hQ]: _mR }], [1, { [_hQ]: _sBI }]]
391
+ ];
392
+ var ListChangedBlocksResponse$ = [3, n0, _LCBRi,
401
393
  0,
402
394
  [_CBh, _ET, _VS, _BS, _NT],
403
- [[() => ChangedBlocks, 0], 4, 1, 1, 0],
395
+ [[() => ChangedBlocks, 0], 4, 1, 1, 0]
404
396
  ];
405
- var ListSnapshotBlocksRequest$ = [
406
- 3,
407
- n0,
408
- _LSBR,
397
+ var ListSnapshotBlocksRequest$ = [3, n0, _LSBR,
409
398
  0,
410
399
  [_SI, _NT, _MR, _SBI],
411
- [
412
- [0, 1],
413
- [0, { [_hQ]: _pT }],
414
- [1, { [_hQ]: _mR }],
415
- [1, { [_hQ]: _sBI }],
416
- ],
417
- ];
418
- var ListSnapshotBlocksResponse$ = [
419
- 3,
420
- n0,
421
- _LSBRi,
400
+ [[0, 1], [0, { [_hQ]: _pT }], [1, { [_hQ]: _mR }], [1, { [_hQ]: _sBI }]]
401
+ ];
402
+ var ListSnapshotBlocksResponse$ = [3, n0, _LSBRi,
422
403
  0,
423
404
  [_Bl, _ET, _VS, _BS, _NT],
424
- [[() => Blocks, 0], 4, 1, 1, 0],
405
+ [[() => Blocks, 0], 4, 1, 1, 0]
425
406
  ];
426
- var PutSnapshotBlockRequest$ = [
427
- 3,
428
- n0,
429
- _PSBR,
407
+ var PutSnapshotBlockRequest$ = [3, n0, _PSBR,
430
408
  0,
431
409
  [_SI, _BI, _BD, _DL, _P, _C, _CA],
432
- [
433
- [0, 1],
434
- [1, 1],
435
- [() => BlockData, 16],
436
- [1, { [_hH]: _xaDL }],
437
- [1, { [_hH]: _xaP }],
438
- [0, { [_hH]: _xaC_ }],
439
- [0, { [_hH]: _xaCA }],
440
- ],
441
- ];
442
- var PutSnapshotBlockResponse$ = [
443
- 3,
444
- n0,
445
- _PSBRu,
410
+ [[0, 1], [1, 1], [() => BlockData, 16], [1, { [_hH]: _xaDL }], [1, { [_hH]: _xaP }], [0, { [_hH]: _xaC_ }], [0, { [_hH]: _xaCA }]]
411
+ ];
412
+ var PutSnapshotBlockResponse$ = [3, n0, _PSBRu,
446
413
  0,
447
414
  [_C, _CA],
448
- [
449
- [0, { [_hH]: _xaC_ }],
450
- [0, { [_hH]: _xaCA }],
451
- ],
415
+ [[0, { [_hH]: _xaC_ }], [0, { [_hH]: _xaCA }]]
416
+ ];
417
+ var RequestThrottledException$ = [-3, n0, _RTE,
418
+ { [_e]: _c, [_hE]: 400 },
419
+ [_M, _R],
420
+ [0, 0]
452
421
  ];
453
- var RequestThrottledException$ = [-3, n0, _RTE, { [_e]: _c, [_hE]: 400 }, [_M, _R], [0, 0]];
454
422
  schema.TypeRegistry.for(n0).registerError(RequestThrottledException$, RequestThrottledException);
455
- var ResourceNotFoundException$ = [-3, n0, _RNFE, { [_e]: _c, [_hE]: 404 }, [_M, _R], [0, 0]];
423
+ var ResourceNotFoundException$ = [-3, n0, _RNFE,
424
+ { [_e]: _c, [_hE]: 404 },
425
+ [_M, _R],
426
+ [0, 0]
427
+ ];
456
428
  schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
457
- var ServiceQuotaExceededException$ = [
458
- -3,
459
- n0,
460
- _SQEE,
429
+ var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
461
430
  { [_e]: _c, [_hE]: 402 },
462
431
  [_M, _R],
463
- [0, 0],
432
+ [0, 0]
464
433
  ];
465
434
  schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
466
- var StartSnapshotRequest$ = [
467
- 3,
468
- n0,
469
- _SSR,
435
+ var StartSnapshotRequest$ = [3, n0, _SSR,
470
436
  0,
471
437
  [_VS, _PSI, _T, _D, _CT, _E, _KKA, _Ti],
472
- [1, 0, () => Tags, 0, [0, 4], 2, [() => KmsKeyArn, 0], 1],
438
+ [1, 0, () => Tags, 0, [0, 4], 2, [() => KmsKeyArn, 0], 1]
473
439
  ];
474
- var StartSnapshotResponse$ = [
475
- 3,
476
- n0,
477
- _SSRt,
440
+ var StartSnapshotResponse$ = [3, n0, _SSRt,
478
441
  0,
479
442
  [_D, _SI, _OI, _S, _ST, _VS, _BS, _T, _PSI, _KKA, _STs],
480
- [0, 0, 0, 0, 4, 1, 1, () => Tags, 0, [() => KmsKeyArn, 0], 0],
443
+ [0, 0, 0, 0, 4, 1, 1, () => Tags, 0, [() => KmsKeyArn, 0], 0]
444
+ ];
445
+ var Tag$ = [3, n0, _Ta,
446
+ 0,
447
+ [_K, _V],
448
+ [0, 0]
449
+ ];
450
+ var ValidationException$ = [-3, n0, _VE,
451
+ { [_e]: _c, [_hE]: 400 },
452
+ [_M, _R],
453
+ [0, 0]
481
454
  ];
482
- var Tag$ = [3, n0, _Ta, 0, [_K, _V], [0, 0]];
483
- var ValidationException$ = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_M, _R], [0, 0]];
484
455
  schema.TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
485
456
  var EBSServiceException$ = [-3, _sm, "EBSServiceException", 0, [], []];
486
457
  schema.TypeRegistry.for(_sm).registerError(EBSServiceException$, EBSServiceException);
487
- var Blocks = [1, n0, _Bl, 8, () => Block$];
488
- var ChangedBlocks = [1, n0, _CBh, 0, [() => ChangedBlock$, 0]];
489
- var Tags = [1, n0, _T, 0, () => Tag$];
490
- var CompleteSnapshot$ = [
491
- 9,
492
- n0,
493
- _CS,
494
- { [_h]: ["POST", "/snapshots/completion/{SnapshotId}", 202] },
495
- () => CompleteSnapshotRequest$,
496
- () => CompleteSnapshotResponse$,
497
- ];
498
- var GetSnapshotBlock$ = [
499
- 9,
500
- n0,
501
- _GSB,
502
- { [_h]: ["GET", "/snapshots/{SnapshotId}/blocks/{BlockIndex}", 200] },
503
- () => GetSnapshotBlockRequest$,
504
- () => GetSnapshotBlockResponse$,
505
- ];
506
- var ListChangedBlocks$ = [
507
- 9,
508
- n0,
509
- _LCB,
510
- { [_h]: ["GET", "/snapshots/{SecondSnapshotId}/changedblocks", 200] },
511
- () => ListChangedBlocksRequest$,
512
- () => ListChangedBlocksResponse$,
513
- ];
514
- var ListSnapshotBlocks$ = [
515
- 9,
516
- n0,
517
- _LSB,
518
- { [_h]: ["GET", "/snapshots/{SnapshotId}/blocks", 200] },
519
- () => ListSnapshotBlocksRequest$,
520
- () => ListSnapshotBlocksResponse$,
521
- ];
522
- var PutSnapshotBlock$ = [
523
- 9,
524
- n0,
525
- _PSB,
526
- { [_h]: ["PUT", "/snapshots/{SnapshotId}/blocks/{BlockIndex}", 201] },
527
- () => PutSnapshotBlockRequest$,
528
- () => PutSnapshotBlockResponse$,
529
- ];
530
- var StartSnapshot$ = [
531
- 9,
532
- n0,
533
- _SS,
534
- { [_h]: ["POST", "/snapshots", 201] },
535
- () => StartSnapshotRequest$,
536
- () => StartSnapshotResponse$,
458
+ var Blocks = [1, n0, _Bl,
459
+ 8, () => Block$
460
+ ];
461
+ var ChangedBlocks = [1, n0, _CBh,
462
+ 0, [() => ChangedBlock$,
463
+ 0]
464
+ ];
465
+ var Tags = [1, n0, _T,
466
+ 0, () => Tag$
467
+ ];
468
+ var CompleteSnapshot$ = [9, n0, _CS,
469
+ { [_h]: ["POST", "/snapshots/completion/{SnapshotId}", 202] }, () => CompleteSnapshotRequest$, () => CompleteSnapshotResponse$
470
+ ];
471
+ var GetSnapshotBlock$ = [9, n0, _GSB,
472
+ { [_h]: ["GET", "/snapshots/{SnapshotId}/blocks/{BlockIndex}", 200] }, () => GetSnapshotBlockRequest$, () => GetSnapshotBlockResponse$
473
+ ];
474
+ var ListChangedBlocks$ = [9, n0, _LCB,
475
+ { [_h]: ["GET", "/snapshots/{SecondSnapshotId}/changedblocks", 200] }, () => ListChangedBlocksRequest$, () => ListChangedBlocksResponse$
476
+ ];
477
+ var ListSnapshotBlocks$ = [9, n0, _LSB,
478
+ { [_h]: ["GET", "/snapshots/{SnapshotId}/blocks", 200] }, () => ListSnapshotBlocksRequest$, () => ListSnapshotBlocksResponse$
479
+ ];
480
+ var PutSnapshotBlock$ = [9, n0, _PSB,
481
+ { [_h]: ["PUT", "/snapshots/{SnapshotId}/blocks/{BlockIndex}", 201] }, () => PutSnapshotBlockRequest$, () => PutSnapshotBlockResponse$
482
+ ];
483
+ var StartSnapshot$ = [9, n0, _SS,
484
+ { [_h]: ["POST", "/snapshots", 201] }, () => StartSnapshotRequest$, () => StartSnapshotResponse$
537
485
  ];
538
486
 
539
487
  class CompleteSnapshotCommand extends smithyClient.Command
@@ -24,8 +24,7 @@ const getRuntimeConfig = (config) => {
24
24
  defaultsMode,
25
25
  bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_browser_1.calculateBodyLength,
26
26
  credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
27
- defaultUserAgentProvider: config?.defaultUserAgentProvider ??
28
- (0, util_user_agent_browser_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
27
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, util_user_agent_browser_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
29
28
  maxAttempts: config?.maxAttempts ?? util_retry_1.DEFAULT_MAX_ATTEMPTS,
30
29
  region: config?.region ?? (0, invalid_dependency_1.invalidProvider)("Region is missing"),
31
30
  requestHandler: fetch_http_handler_1.FetchHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
@@ -34,11 +34,9 @@ const getRuntimeConfig = (config) => {
34
34
  authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(core_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
35
35
  bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,
36
36
  credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider,
37
- defaultUserAgentProvider: config?.defaultUserAgentProvider ??
38
- (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
37
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
39
38
  maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
40
- region: config?.region ??
41
- (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
39
+ region: config?.region ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
42
40
  requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
43
41
  retryMode: config?.retryMode ??
44
42
  (0, node_config_provider_1.loadConfig)({
@@ -3,10 +3,9 @@ import { getSmithyContext, normalizeProvider } from "@smithy/util-middleware";
3
3
  export const defaultEBSHttpAuthSchemeParametersProvider = async (config, context, input) => {
4
4
  return {
5
5
  operation: getSmithyContext(context).operation,
6
- region: (await normalizeProvider(config.region)()) ||
7
- (() => {
8
- throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
9
- })(),
6
+ region: await normalizeProvider(config.region)() || (() => {
7
+ throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
8
+ })(),
10
9
  };
11
10
  };
12
11
  function createAwsAuthSigv4HttpAuthOption(authParameters) {
@@ -20,8 +20,7 @@ export const getRuntimeConfig = (config) => {
20
20
  defaultsMode,
21
21
  bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
22
22
  credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
23
- defaultUserAgentProvider: config?.defaultUserAgentProvider ??
24
- createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
23
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
25
24
  maxAttempts: config?.maxAttempts ?? DEFAULT_MAX_ATTEMPTS,
26
25
  region: config?.region ?? invalidProvider("Region is missing"),
27
26
  requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
@@ -1,7 +1,7 @@
1
1
  import packageInfo from "../package.json";
2
- import { NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core";
2
+ import { emitWarningIfUnsupportedVersion as awsCheckVersion, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } from "@aws-sdk/core";
3
3
  import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
4
- import { NODE_APP_ID_CONFIG_OPTIONS, createDefaultUserAgentProvider } from "@aws-sdk/util-user-agent-node";
4
+ import { createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS } from "@aws-sdk/util-user-agent-node";
5
5
  import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@smithy/config-resolver";
6
6
  import { Hash } from "@smithy/hash-node";
7
7
  import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@smithy/middleware-retry";
@@ -30,11 +30,9 @@ export const getRuntimeConfig = (config) => {
30
30
  authSchemePreference: config?.authSchemePreference ?? loadNodeConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
31
31
  bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
32
32
  credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider,
33
- defaultUserAgentProvider: config?.defaultUserAgentProvider ??
34
- createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
33
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
35
34
  maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
36
- region: config?.region ??
37
- loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
35
+ region: config?.region ?? loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
38
36
  requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
39
37
  retryMode: config?.retryMode ??
40
38
  loadNodeConfig({
@@ -91,208 +91,156 @@ import { EBSServiceException } from "../models/EBSServiceException";
91
91
  import { AccessDeniedException, ConcurrentLimitExceededException, ConflictException, InternalServerException, RequestThrottledException, ResourceNotFoundException, ServiceQuotaExceededException, ValidationException, } from "../models/errors";
92
92
  var BlockData = [0, n0, _BD, { [_s]: 1, [_st]: 1 }, 42];
93
93
  var KmsKeyArn = [0, n0, _KKA, 8, 0];
94
- export var AccessDeniedException$ = [-3, n0, _ADE, { [_e]: _c, [_hE]: 403 }, [_M, _R], [0, 0]];
94
+ export var AccessDeniedException$ = [-3, n0, _ADE,
95
+ { [_e]: _c, [_hE]: 403 },
96
+ [_M, _R],
97
+ [0, 0]
98
+ ];
95
99
  TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
96
- export var Block$ = [3, n0, _B, 0, [_BI, _BT], [1, 0]];
97
- export var ChangedBlock$ = [3, n0, _CB, 8, [_BI, _FBT, _SBT], [1, 0, 0]];
98
- export var CompleteSnapshotRequest$ = [
99
- 3,
100
- n0,
101
- _CSR,
100
+ export var Block$ = [3, n0, _B,
101
+ 0,
102
+ [_BI, _BT],
103
+ [1, 0]
104
+ ];
105
+ export var ChangedBlock$ = [3, n0, _CB,
106
+ 8,
107
+ [_BI, _FBT, _SBT],
108
+ [1, 0, 0]
109
+ ];
110
+ export var CompleteSnapshotRequest$ = [3, n0, _CSR,
102
111
  0,
103
112
  [_SI, _CBC, _C, _CA, _CAM],
104
- [
105
- [0, 1],
106
- [1, { [_hH]: _xaC }],
107
- [0, { [_hH]: _xaC_ }],
108
- [0, { [_hH]: _xaCA }],
109
- [0, { [_hH]: _xaCAM }],
110
- ],
111
- ];
112
- export var CompleteSnapshotResponse$ = [3, n0, _CSRo, 0, [_S], [0]];
113
- export var ConcurrentLimitExceededException$ = [-3, n0, _CLEE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
113
+ [[0, 1], [1, { [_hH]: _xaC }], [0, { [_hH]: _xaC_ }], [0, { [_hH]: _xaCA }], [0, { [_hH]: _xaCAM }]]
114
+ ];
115
+ export var CompleteSnapshotResponse$ = [3, n0, _CSRo,
116
+ 0,
117
+ [_S],
118
+ [0]
119
+ ];
120
+ export var ConcurrentLimitExceededException$ = [-3, n0, _CLEE,
121
+ { [_e]: _c, [_hE]: 400 },
122
+ [_M],
123
+ [0]
124
+ ];
114
125
  TypeRegistry.for(n0).registerError(ConcurrentLimitExceededException$, ConcurrentLimitExceededException);
115
- export var ConflictException$ = [-3, n0, _CE, { [_e]: _c, [_hE]: 409 }, [_M], [0]];
126
+ export var ConflictException$ = [-3, n0, _CE,
127
+ { [_e]: _c, [_hE]: 409 },
128
+ [_M],
129
+ [0]
130
+ ];
116
131
  TypeRegistry.for(n0).registerError(ConflictException$, ConflictException);
117
- export var GetSnapshotBlockRequest$ = [
118
- 3,
119
- n0,
120
- _GSBR,
132
+ export var GetSnapshotBlockRequest$ = [3, n0, _GSBR,
121
133
  0,
122
134
  [_SI, _BI, _BT],
123
- [
124
- [0, 1],
125
- [1, 1],
126
- [0, { [_hQ]: _bT }],
127
- ],
128
- ];
129
- export var GetSnapshotBlockResponse$ = [
130
- 3,
131
- n0,
132
- _GSBRe,
135
+ [[0, 1], [1, 1], [0, { [_hQ]: _bT }]]
136
+ ];
137
+ export var GetSnapshotBlockResponse$ = [3, n0, _GSBRe,
133
138
  0,
134
139
  [_DL, _BD, _C, _CA],
135
- [
136
- [1, { [_hH]: _xaDL }],
137
- [() => BlockData, 16],
138
- [0, { [_hH]: _xaC_ }],
139
- [0, { [_hH]: _xaCA }],
140
- ],
141
- ];
142
- export var InternalServerException$ = [-3, n0, _ISE, { [_e]: _se, [_hE]: 500 }, [_M], [0]];
140
+ [[1, { [_hH]: _xaDL }], [() => BlockData, 16], [0, { [_hH]: _xaC_ }], [0, { [_hH]: _xaCA }]]
141
+ ];
142
+ export var InternalServerException$ = [-3, n0, _ISE,
143
+ { [_e]: _se, [_hE]: 500 },
144
+ [_M],
145
+ [0]
146
+ ];
143
147
  TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
144
- export var ListChangedBlocksRequest$ = [
145
- 3,
146
- n0,
147
- _LCBR,
148
+ export var ListChangedBlocksRequest$ = [3, n0, _LCBR,
148
149
  0,
149
150
  [_FSI, _SSI, _NT, _MR, _SBI],
150
- [
151
- [0, { [_hQ]: _fSI }],
152
- [0, 1],
153
- [0, { [_hQ]: _pT }],
154
- [1, { [_hQ]: _mR }],
155
- [1, { [_hQ]: _sBI }],
156
- ],
157
- ];
158
- export var ListChangedBlocksResponse$ = [
159
- 3,
160
- n0,
161
- _LCBRi,
151
+ [[0, { [_hQ]: _fSI }], [0, 1], [0, { [_hQ]: _pT }], [1, { [_hQ]: _mR }], [1, { [_hQ]: _sBI }]]
152
+ ];
153
+ export var ListChangedBlocksResponse$ = [3, n0, _LCBRi,
162
154
  0,
163
155
  [_CBh, _ET, _VS, _BS, _NT],
164
- [[() => ChangedBlocks, 0], 4, 1, 1, 0],
156
+ [[() => ChangedBlocks, 0], 4, 1, 1, 0]
165
157
  ];
166
- export var ListSnapshotBlocksRequest$ = [
167
- 3,
168
- n0,
169
- _LSBR,
158
+ export var ListSnapshotBlocksRequest$ = [3, n0, _LSBR,
170
159
  0,
171
160
  [_SI, _NT, _MR, _SBI],
172
- [
173
- [0, 1],
174
- [0, { [_hQ]: _pT }],
175
- [1, { [_hQ]: _mR }],
176
- [1, { [_hQ]: _sBI }],
177
- ],
178
- ];
179
- export var ListSnapshotBlocksResponse$ = [
180
- 3,
181
- n0,
182
- _LSBRi,
161
+ [[0, 1], [0, { [_hQ]: _pT }], [1, { [_hQ]: _mR }], [1, { [_hQ]: _sBI }]]
162
+ ];
163
+ export var ListSnapshotBlocksResponse$ = [3, n0, _LSBRi,
183
164
  0,
184
165
  [_Bl, _ET, _VS, _BS, _NT],
185
- [[() => Blocks, 0], 4, 1, 1, 0],
166
+ [[() => Blocks, 0], 4, 1, 1, 0]
186
167
  ];
187
- export var PutSnapshotBlockRequest$ = [
188
- 3,
189
- n0,
190
- _PSBR,
168
+ export var PutSnapshotBlockRequest$ = [3, n0, _PSBR,
191
169
  0,
192
170
  [_SI, _BI, _BD, _DL, _P, _C, _CA],
193
- [
194
- [0, 1],
195
- [1, 1],
196
- [() => BlockData, 16],
197
- [1, { [_hH]: _xaDL }],
198
- [1, { [_hH]: _xaP }],
199
- [0, { [_hH]: _xaC_ }],
200
- [0, { [_hH]: _xaCA }],
201
- ],
202
- ];
203
- export var PutSnapshotBlockResponse$ = [
204
- 3,
205
- n0,
206
- _PSBRu,
171
+ [[0, 1], [1, 1], [() => BlockData, 16], [1, { [_hH]: _xaDL }], [1, { [_hH]: _xaP }], [0, { [_hH]: _xaC_ }], [0, { [_hH]: _xaCA }]]
172
+ ];
173
+ export var PutSnapshotBlockResponse$ = [3, n0, _PSBRu,
207
174
  0,
208
175
  [_C, _CA],
209
- [
210
- [0, { [_hH]: _xaC_ }],
211
- [0, { [_hH]: _xaCA }],
212
- ],
176
+ [[0, { [_hH]: _xaC_ }], [0, { [_hH]: _xaCA }]]
177
+ ];
178
+ export var RequestThrottledException$ = [-3, n0, _RTE,
179
+ { [_e]: _c, [_hE]: 400 },
180
+ [_M, _R],
181
+ [0, 0]
213
182
  ];
214
- export var RequestThrottledException$ = [-3, n0, _RTE, { [_e]: _c, [_hE]: 400 }, [_M, _R], [0, 0]];
215
183
  TypeRegistry.for(n0).registerError(RequestThrottledException$, RequestThrottledException);
216
- export var ResourceNotFoundException$ = [-3, n0, _RNFE, { [_e]: _c, [_hE]: 404 }, [_M, _R], [0, 0]];
184
+ export var ResourceNotFoundException$ = [-3, n0, _RNFE,
185
+ { [_e]: _c, [_hE]: 404 },
186
+ [_M, _R],
187
+ [0, 0]
188
+ ];
217
189
  TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
218
- export var ServiceQuotaExceededException$ = [
219
- -3,
220
- n0,
221
- _SQEE,
190
+ export var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
222
191
  { [_e]: _c, [_hE]: 402 },
223
192
  [_M, _R],
224
- [0, 0],
193
+ [0, 0]
225
194
  ];
226
195
  TypeRegistry.for(n0).registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
227
- export var StartSnapshotRequest$ = [
228
- 3,
229
- n0,
230
- _SSR,
196
+ export var StartSnapshotRequest$ = [3, n0, _SSR,
231
197
  0,
232
198
  [_VS, _PSI, _T, _D, _CT, _E, _KKA, _Ti],
233
- [1, 0, () => Tags, 0, [0, 4], 2, [() => KmsKeyArn, 0], 1],
199
+ [1, 0, () => Tags, 0, [0, 4], 2, [() => KmsKeyArn, 0], 1]
234
200
  ];
235
- export var StartSnapshotResponse$ = [
236
- 3,
237
- n0,
238
- _SSRt,
201
+ export var StartSnapshotResponse$ = [3, n0, _SSRt,
239
202
  0,
240
203
  [_D, _SI, _OI, _S, _ST, _VS, _BS, _T, _PSI, _KKA, _STs],
241
- [0, 0, 0, 0, 4, 1, 1, () => Tags, 0, [() => KmsKeyArn, 0], 0],
204
+ [0, 0, 0, 0, 4, 1, 1, () => Tags, 0, [() => KmsKeyArn, 0], 0]
205
+ ];
206
+ export var Tag$ = [3, n0, _Ta,
207
+ 0,
208
+ [_K, _V],
209
+ [0, 0]
210
+ ];
211
+ export var ValidationException$ = [-3, n0, _VE,
212
+ { [_e]: _c, [_hE]: 400 },
213
+ [_M, _R],
214
+ [0, 0]
242
215
  ];
243
- export var Tag$ = [3, n0, _Ta, 0, [_K, _V], [0, 0]];
244
- export var ValidationException$ = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_M, _R], [0, 0]];
245
216
  TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
246
217
  export var EBSServiceException$ = [-3, _sm, "EBSServiceException", 0, [], []];
247
218
  TypeRegistry.for(_sm).registerError(EBSServiceException$, EBSServiceException);
248
- var Blocks = [1, n0, _Bl, 8, () => Block$];
249
- var ChangedBlocks = [1, n0, _CBh, 0, [() => ChangedBlock$, 0]];
250
- var Tags = [1, n0, _T, 0, () => Tag$];
251
- export var CompleteSnapshot$ = [
252
- 9,
253
- n0,
254
- _CS,
255
- { [_h]: ["POST", "/snapshots/completion/{SnapshotId}", 202] },
256
- () => CompleteSnapshotRequest$,
257
- () => CompleteSnapshotResponse$,
258
- ];
259
- export var GetSnapshotBlock$ = [
260
- 9,
261
- n0,
262
- _GSB,
263
- { [_h]: ["GET", "/snapshots/{SnapshotId}/blocks/{BlockIndex}", 200] },
264
- () => GetSnapshotBlockRequest$,
265
- () => GetSnapshotBlockResponse$,
266
- ];
267
- export var ListChangedBlocks$ = [
268
- 9,
269
- n0,
270
- _LCB,
271
- { [_h]: ["GET", "/snapshots/{SecondSnapshotId}/changedblocks", 200] },
272
- () => ListChangedBlocksRequest$,
273
- () => ListChangedBlocksResponse$,
274
- ];
275
- export var ListSnapshotBlocks$ = [
276
- 9,
277
- n0,
278
- _LSB,
279
- { [_h]: ["GET", "/snapshots/{SnapshotId}/blocks", 200] },
280
- () => ListSnapshotBlocksRequest$,
281
- () => ListSnapshotBlocksResponse$,
282
- ];
283
- export var PutSnapshotBlock$ = [
284
- 9,
285
- n0,
286
- _PSB,
287
- { [_h]: ["PUT", "/snapshots/{SnapshotId}/blocks/{BlockIndex}", 201] },
288
- () => PutSnapshotBlockRequest$,
289
- () => PutSnapshotBlockResponse$,
290
- ];
291
- export var StartSnapshot$ = [
292
- 9,
293
- n0,
294
- _SS,
295
- { [_h]: ["POST", "/snapshots", 201] },
296
- () => StartSnapshotRequest$,
297
- () => StartSnapshotResponse$,
219
+ var Blocks = [1, n0, _Bl,
220
+ 8, () => Block$
221
+ ];
222
+ var ChangedBlocks = [1, n0, _CBh,
223
+ 0, [() => ChangedBlock$,
224
+ 0]
225
+ ];
226
+ var Tags = [1, n0, _T,
227
+ 0, () => Tag$
228
+ ];
229
+ export var CompleteSnapshot$ = [9, n0, _CS,
230
+ { [_h]: ["POST", "/snapshots/completion/{SnapshotId}", 202] }, () => CompleteSnapshotRequest$, () => CompleteSnapshotResponse$
231
+ ];
232
+ export var GetSnapshotBlock$ = [9, n0, _GSB,
233
+ { [_h]: ["GET", "/snapshots/{SnapshotId}/blocks/{BlockIndex}", 200] }, () => GetSnapshotBlockRequest$, () => GetSnapshotBlockResponse$
234
+ ];
235
+ export var ListChangedBlocks$ = [9, n0, _LCB,
236
+ { [_h]: ["GET", "/snapshots/{SecondSnapshotId}/changedblocks", 200] }, () => ListChangedBlocksRequest$, () => ListChangedBlocksResponse$
237
+ ];
238
+ export var ListSnapshotBlocks$ = [9, n0, _LSB,
239
+ { [_h]: ["GET", "/snapshots/{SnapshotId}/blocks", 200] }, () => ListSnapshotBlocksRequest$, () => ListSnapshotBlocksResponse$
240
+ ];
241
+ export var PutSnapshotBlock$ = [9, n0, _PSB,
242
+ { [_h]: ["PUT", "/snapshots/{SnapshotId}/blocks/{BlockIndex}", 201] }, () => PutSnapshotBlockRequest$, () => PutSnapshotBlockResponse$
243
+ ];
244
+ export var StartSnapshot$ = [9, n0, _SS,
245
+ { [_h]: ["POST", "/snapshots", 201] }, () => StartSnapshotRequest$, () => StartSnapshotResponse$
298
246
  ];
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-ebs",
3
3
  "description": "AWS SDK for JavaScript Ebs Client for Node.js, Browser and React Native",
4
- "version": "3.956.0",
4
+ "version": "3.958.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-ebs",
8
8
  "build:es": "tsc -p tsconfig.es.json",
9
- "build:include:deps": "lerna run --scope $npm_package_name --include-dependencies build",
9
+ "build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"",
10
10
  "build:types": "tsc -p tsconfig.types.json",
11
11
  "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
12
12
  "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
@@ -21,17 +21,17 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "5.2.0",
23
23
  "@aws-crypto/sha256-js": "5.2.0",
24
- "@aws-sdk/core": "3.956.0",
25
- "@aws-sdk/credential-provider-node": "3.956.0",
26
- "@aws-sdk/middleware-host-header": "3.956.0",
27
- "@aws-sdk/middleware-logger": "3.956.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.956.0",
29
- "@aws-sdk/middleware-user-agent": "3.956.0",
30
- "@aws-sdk/region-config-resolver": "3.956.0",
31
- "@aws-sdk/types": "3.956.0",
32
- "@aws-sdk/util-endpoints": "3.956.0",
33
- "@aws-sdk/util-user-agent-browser": "3.956.0",
34
- "@aws-sdk/util-user-agent-node": "3.956.0",
24
+ "@aws-sdk/core": "3.957.0",
25
+ "@aws-sdk/credential-provider-node": "3.958.0",
26
+ "@aws-sdk/middleware-host-header": "3.957.0",
27
+ "@aws-sdk/middleware-logger": "3.957.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.957.0",
29
+ "@aws-sdk/middleware-user-agent": "3.957.0",
30
+ "@aws-sdk/region-config-resolver": "3.957.0",
31
+ "@aws-sdk/types": "3.957.0",
32
+ "@aws-sdk/util-endpoints": "3.957.0",
33
+ "@aws-sdk/util-user-agent-browser": "3.957.0",
34
+ "@aws-sdk/util-user-agent-node": "3.957.0",
35
35
  "@smithy/config-resolver": "^4.4.5",
36
36
  "@smithy/core": "^3.20.0",
37
37
  "@smithy/fetch-http-handler": "^5.3.8",