@aws-sdk/client-ebs 3.943.0 → 3.946.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.
Files changed (36) hide show
  1. package/dist-cjs/index.js +36 -235
  2. package/dist-cjs/runtimeConfig.browser.js +2 -2
  3. package/dist-cjs/runtimeConfig.js +3 -4
  4. package/dist-es/EBSClient.js +2 -2
  5. package/dist-es/runtimeConfig.browser.js +2 -2
  6. package/dist-es/runtimeConfig.js +2 -3
  7. package/dist-es/schemas/schemas_0.js +36 -235
  8. package/dist-types/EBS.d.ts +1 -1
  9. package/dist-types/EBSClient.d.ts +10 -10
  10. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +2 -2
  11. package/dist-types/auth/httpAuthSchemeProvider.d.ts +2 -2
  12. package/dist-types/commands/CompleteSnapshotCommand.d.ts +3 -3
  13. package/dist-types/commands/GetSnapshotBlockCommand.d.ts +3 -3
  14. package/dist-types/commands/ListChangedBlocksCommand.d.ts +3 -3
  15. package/dist-types/commands/ListSnapshotBlocksCommand.d.ts +3 -3
  16. package/dist-types/commands/PutSnapshotBlockCommand.d.ts +3 -3
  17. package/dist-types/commands/StartSnapshotCommand.d.ts +3 -3
  18. package/dist-types/endpoint/EndpointParameters.d.ts +13 -1
  19. package/dist-types/endpoint/endpointResolver.d.ts +5 -2
  20. package/dist-types/extensionConfiguration.d.ts +4 -4
  21. package/dist-types/models/EBSServiceException.d.ts +1 -1
  22. package/dist-types/models/errors.d.ts +1 -1
  23. package/dist-types/pagination/Interfaces.d.ts +1 -1
  24. package/dist-types/pagination/ListChangedBlocksPaginator.d.ts +1 -1
  25. package/dist-types/pagination/ListSnapshotBlocksPaginator.d.ts +1 -1
  26. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  27. package/dist-types/runtimeConfig.d.ts +1 -1
  28. package/dist-types/runtimeConfig.native.d.ts +1 -1
  29. package/dist-types/runtimeConfig.shared.d.ts +1 -1
  30. package/dist-types/runtimeExtensions.d.ts +1 -1
  31. package/dist-types/schemas/schemas_0.d.ts +1 -1
  32. package/dist-types/ts3.4/EBSClient.d.ts +3 -3
  33. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
  34. package/dist-types/ts3.4/commands/PutSnapshotBlockCommand.d.ts +1 -1
  35. package/dist-types/ts3.4/models/EBSServiceException.d.ts +1 -1
  36. package/package.json +13 -12
package/dist-cjs/index.js CHANGED
@@ -328,28 +328,9 @@ const _xaC_ = "x-amz-Checksum";
328
328
  const _xaDL = "x-amz-Data-Length";
329
329
  const _xaP = "x-amz-Progress";
330
330
  const n0 = "com.amazonaws.ebs";
331
- var BlockData = [
332
- 0,
333
- n0,
334
- _BD,
335
- {
336
- [_s]: 1,
337
- [_se]: 1,
338
- },
339
- 42,
340
- ];
331
+ var BlockData = [0, n0, _BD, { [_s]: 1, [_se]: 1 }, 42];
341
332
  var KmsKeyArn = [0, n0, _KKA, 8, 0];
342
- var AccessDeniedException = [
343
- -3,
344
- n0,
345
- _ADE,
346
- {
347
- [_e]: _c,
348
- [_hE]: 403,
349
- },
350
- [_M, _R],
351
- [0, 0],
352
- ];
333
+ var AccessDeniedException = [-3, n0, _ADE, { [_e]: _c, [_hE]: 403 }, [_M, _R], [0, 0]];
353
334
  schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
354
335
  var Block = [3, n0, _B, 0, [_BI, _BT], [1, 0]];
355
336
  var ChangedBlock = [3, n0, _CB, 8, [_BI, _FBT, _SBT], [1, 0, 0]];
@@ -361,56 +342,16 @@ var CompleteSnapshotRequest = [
361
342
  [_SI, _CBC, _C, _CA, _CAM],
362
343
  [
363
344
  [0, 1],
364
- [
365
- 1,
366
- {
367
- [_hH]: _xaC,
368
- },
369
- ],
370
- [
371
- 0,
372
- {
373
- [_hH]: _xaC_,
374
- },
375
- ],
376
- [
377
- 0,
378
- {
379
- [_hH]: _xaCA,
380
- },
381
- ],
382
- [
383
- 0,
384
- {
385
- [_hH]: _xaCAM,
386
- },
387
- ],
345
+ [1, { [_hH]: _xaC }],
346
+ [0, { [_hH]: _xaC_ }],
347
+ [0, { [_hH]: _xaCA }],
348
+ [0, { [_hH]: _xaCAM }],
388
349
  ],
389
350
  ];
390
351
  var CompleteSnapshotResponse = [3, n0, _CSRo, 0, [_S], [0]];
391
- var ConcurrentLimitExceededException = [
392
- -3,
393
- n0,
394
- _CLEE,
395
- {
396
- [_e]: _c,
397
- [_hE]: 400,
398
- },
399
- [_M],
400
- [0],
401
- ];
352
+ var ConcurrentLimitExceededException = [-3, n0, _CLEE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
402
353
  schema.TypeRegistry.for(n0).registerError(ConcurrentLimitExceededException, ConcurrentLimitExceededException$1);
403
- var ConflictException = [
404
- -3,
405
- n0,
406
- _CE,
407
- {
408
- [_e]: _c,
409
- [_hE]: 409,
410
- },
411
- [_M],
412
- [0],
413
- ];
354
+ var ConflictException = [-3, n0, _CE, { [_e]: _c, [_hE]: 409 }, [_M], [0]];
414
355
  schema.TypeRegistry.for(n0).registerError(ConflictException, ConflictException$1);
415
356
  var GetSnapshotBlockRequest = [
416
357
  3,
@@ -421,12 +362,7 @@ var GetSnapshotBlockRequest = [
421
362
  [
422
363
  [0, 1],
423
364
  [1, 1],
424
- [
425
- 0,
426
- {
427
- [_hQ]: _bT,
428
- },
429
- ],
365
+ [0, { [_hQ]: _bT }],
430
366
  ],
431
367
  ];
432
368
  var GetSnapshotBlockResponse = [
@@ -436,38 +372,13 @@ var GetSnapshotBlockResponse = [
436
372
  0,
437
373
  [_DL, _BD, _C, _CA],
438
374
  [
439
- [
440
- 1,
441
- {
442
- [_hH]: _xaDL,
443
- },
444
- ],
375
+ [1, { [_hH]: _xaDL }],
445
376
  [() => BlockData, 16],
446
- [
447
- 0,
448
- {
449
- [_hH]: _xaC_,
450
- },
451
- ],
452
- [
453
- 0,
454
- {
455
- [_hH]: _xaCA,
456
- },
457
- ],
377
+ [0, { [_hH]: _xaC_ }],
378
+ [0, { [_hH]: _xaCA }],
458
379
  ],
459
380
  ];
460
- var InternalServerException = [
461
- -3,
462
- n0,
463
- _ISE,
464
- {
465
- [_e]: _ser,
466
- [_hE]: 500,
467
- },
468
- [_M],
469
- [0],
470
- ];
381
+ var InternalServerException = [-3, n0, _ISE, { [_e]: _ser, [_hE]: 500 }, [_M], [0]];
471
382
  schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
472
383
  var ListChangedBlocksRequest = [
473
384
  3,
@@ -476,31 +387,11 @@ var ListChangedBlocksRequest = [
476
387
  0,
477
388
  [_FSI, _SSI, _NT, _MR, _SBI],
478
389
  [
479
- [
480
- 0,
481
- {
482
- [_hQ]: _fSI,
483
- },
484
- ],
390
+ [0, { [_hQ]: _fSI }],
485
391
  [0, 1],
486
- [
487
- 0,
488
- {
489
- [_hQ]: _pT,
490
- },
491
- ],
492
- [
493
- 1,
494
- {
495
- [_hQ]: _mR,
496
- },
497
- ],
498
- [
499
- 1,
500
- {
501
- [_hQ]: _sBI,
502
- },
503
- ],
392
+ [0, { [_hQ]: _pT }],
393
+ [1, { [_hQ]: _mR }],
394
+ [1, { [_hQ]: _sBI }],
504
395
  ],
505
396
  ];
506
397
  var ListChangedBlocksResponse = [
@@ -519,24 +410,9 @@ var ListSnapshotBlocksRequest = [
519
410
  [_SI, _NT, _MR, _SBI],
520
411
  [
521
412
  [0, 1],
522
- [
523
- 0,
524
- {
525
- [_hQ]: _pT,
526
- },
527
- ],
528
- [
529
- 1,
530
- {
531
- [_hQ]: _mR,
532
- },
533
- ],
534
- [
535
- 1,
536
- {
537
- [_hQ]: _sBI,
538
- },
539
- ],
413
+ [0, { [_hQ]: _pT }],
414
+ [1, { [_hQ]: _mR }],
415
+ [1, { [_hQ]: _sBI }],
540
416
  ],
541
417
  ];
542
418
  var ListSnapshotBlocksResponse = [
@@ -557,30 +433,10 @@ var PutSnapshotBlockRequest = [
557
433
  [0, 1],
558
434
  [1, 1],
559
435
  [() => BlockData, 16],
560
- [
561
- 1,
562
- {
563
- [_hH]: _xaDL,
564
- },
565
- ],
566
- [
567
- 1,
568
- {
569
- [_hH]: _xaP,
570
- },
571
- ],
572
- [
573
- 0,
574
- {
575
- [_hH]: _xaC_,
576
- },
577
- ],
578
- [
579
- 0,
580
- {
581
- [_hH]: _xaCA,
582
- },
583
- ],
436
+ [1, { [_hH]: _xaDL }],
437
+ [1, { [_hH]: _xaP }],
438
+ [0, { [_hH]: _xaC_ }],
439
+ [0, { [_hH]: _xaCA }],
584
440
  ],
585
441
  ];
586
442
  var PutSnapshotBlockResponse = [
@@ -590,52 +446,19 @@ var PutSnapshotBlockResponse = [
590
446
  0,
591
447
  [_C, _CA],
592
448
  [
593
- [
594
- 0,
595
- {
596
- [_hH]: _xaC_,
597
- },
598
- ],
599
- [
600
- 0,
601
- {
602
- [_hH]: _xaCA,
603
- },
604
- ],
449
+ [0, { [_hH]: _xaC_ }],
450
+ [0, { [_hH]: _xaCA }],
605
451
  ],
606
452
  ];
607
- var RequestThrottledException = [
608
- -3,
609
- n0,
610
- _RTE,
611
- {
612
- [_e]: _c,
613
- [_hE]: 400,
614
- },
615
- [_M, _R],
616
- [0, 0],
617
- ];
453
+ var RequestThrottledException = [-3, n0, _RTE, { [_e]: _c, [_hE]: 400 }, [_M, _R], [0, 0]];
618
454
  schema.TypeRegistry.for(n0).registerError(RequestThrottledException, RequestThrottledException$1);
619
- var ResourceNotFoundException = [
620
- -3,
621
- n0,
622
- _RNFE,
623
- {
624
- [_e]: _c,
625
- [_hE]: 404,
626
- },
627
- [_M, _R],
628
- [0, 0],
629
- ];
455
+ var ResourceNotFoundException = [-3, n0, _RNFE, { [_e]: _c, [_hE]: 404 }, [_M, _R], [0, 0]];
630
456
  schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
631
457
  var ServiceQuotaExceededException = [
632
458
  -3,
633
459
  n0,
634
460
  _SQEE,
635
- {
636
- [_e]: _c,
637
- [_hE]: 402,
638
- },
461
+ { [_e]: _c, [_hE]: 402 },
639
462
  [_M, _R],
640
463
  [0, 0],
641
464
  ];
@@ -657,17 +480,7 @@ var StartSnapshotResponse = [
657
480
  [0, 0, 0, 0, 4, 1, 1, () => Tags, 0, [() => KmsKeyArn, 0], 0],
658
481
  ];
659
482
  var Tag = [3, n0, _Ta, 0, [_K, _V], [0, 0]];
660
- var ValidationException = [
661
- -3,
662
- n0,
663
- _VE,
664
- {
665
- [_e]: _c,
666
- [_hE]: 400,
667
- },
668
- [_M, _R],
669
- [0, 0],
670
- ];
483
+ var ValidationException = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_M, _R], [0, 0]];
671
484
  schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
672
485
  var EBSServiceException = [-3, _sm, "EBSServiceException", 0, [], []];
673
486
  schema.TypeRegistry.for(_sm).registerError(EBSServiceException, EBSServiceException$1);
@@ -678,9 +491,7 @@ var CompleteSnapshot = [
678
491
  9,
679
492
  n0,
680
493
  _CS,
681
- {
682
- [_h]: ["POST", "/snapshots/completion/{SnapshotId}", 202],
683
- },
494
+ { [_h]: ["POST", "/snapshots/completion/{SnapshotId}", 202] },
684
495
  () => CompleteSnapshotRequest,
685
496
  () => CompleteSnapshotResponse,
686
497
  ];
@@ -688,9 +499,7 @@ var GetSnapshotBlock = [
688
499
  9,
689
500
  n0,
690
501
  _GSB,
691
- {
692
- [_h]: ["GET", "/snapshots/{SnapshotId}/blocks/{BlockIndex}", 200],
693
- },
502
+ { [_h]: ["GET", "/snapshots/{SnapshotId}/blocks/{BlockIndex}", 200] },
694
503
  () => GetSnapshotBlockRequest,
695
504
  () => GetSnapshotBlockResponse,
696
505
  ];
@@ -698,9 +507,7 @@ var ListChangedBlocks = [
698
507
  9,
699
508
  n0,
700
509
  _LCB,
701
- {
702
- [_h]: ["GET", "/snapshots/{SecondSnapshotId}/changedblocks", 200],
703
- },
510
+ { [_h]: ["GET", "/snapshots/{SecondSnapshotId}/changedblocks", 200] },
704
511
  () => ListChangedBlocksRequest,
705
512
  () => ListChangedBlocksResponse,
706
513
  ];
@@ -708,9 +515,7 @@ var ListSnapshotBlocks = [
708
515
  9,
709
516
  n0,
710
517
  _LSB,
711
- {
712
- [_h]: ["GET", "/snapshots/{SnapshotId}/blocks", 200],
713
- },
518
+ { [_h]: ["GET", "/snapshots/{SnapshotId}/blocks", 200] },
714
519
  () => ListSnapshotBlocksRequest,
715
520
  () => ListSnapshotBlocksResponse,
716
521
  ];
@@ -718,9 +523,7 @@ var PutSnapshotBlock = [
718
523
  9,
719
524
  n0,
720
525
  _PSB,
721
- {
722
- [_h]: ["PUT", "/snapshots/{SnapshotId}/blocks/{BlockIndex}", 201],
723
- },
526
+ { [_h]: ["PUT", "/snapshots/{SnapshotId}/blocks/{BlockIndex}", 201] },
724
527
  () => PutSnapshotBlockRequest,
725
528
  () => PutSnapshotBlockResponse,
726
529
  ];
@@ -728,9 +531,7 @@ var StartSnapshot = [
728
531
  9,
729
532
  n0,
730
533
  _SS,
731
- {
732
- [_h]: ["POST", "/snapshots", 201],
733
- },
534
+ { [_h]: ["POST", "/snapshots", 201] },
734
535
  () => StartSnapshotRequest,
735
536
  () => StartSnapshotResponse,
736
537
  ];
@@ -8,11 +8,11 @@ const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
8
8
  const config_resolver_1 = require("@smithy/config-resolver");
9
9
  const fetch_http_handler_1 = require("@smithy/fetch-http-handler");
10
10
  const invalid_dependency_1 = require("@smithy/invalid-dependency");
11
+ const smithy_client_1 = require("@smithy/smithy-client");
11
12
  const util_body_length_browser_1 = require("@smithy/util-body-length-browser");
13
+ const util_defaults_mode_browser_1 = require("@smithy/util-defaults-mode-browser");
12
14
  const util_retry_1 = require("@smithy/util-retry");
13
15
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
14
- const smithy_client_1 = require("@smithy/smithy-client");
15
- const util_defaults_mode_browser_1 = require("@smithy/util-defaults-mode-browser");
16
16
  const getRuntimeConfig = (config) => {
17
17
  const defaultsMode = (0, util_defaults_mode_browser_1.resolveDefaultsModeConfig)(config);
18
18
  const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
@@ -11,14 +11,13 @@ const hash_node_1 = require("@smithy/hash-node");
11
11
  const middleware_retry_1 = require("@smithy/middleware-retry");
12
12
  const node_config_provider_1 = require("@smithy/node-config-provider");
13
13
  const node_http_handler_1 = require("@smithy/node-http-handler");
14
+ const smithy_client_1 = require("@smithy/smithy-client");
14
15
  const util_body_length_node_1 = require("@smithy/util-body-length-node");
16
+ const util_defaults_mode_node_1 = require("@smithy/util-defaults-mode-node");
15
17
  const util_retry_1 = require("@smithy/util-retry");
16
18
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
17
- const smithy_client_1 = require("@smithy/smithy-client");
18
- const util_defaults_mode_node_1 = require("@smithy/util-defaults-mode-node");
19
- const smithy_client_2 = require("@smithy/smithy-client");
20
19
  const getRuntimeConfig = (config) => {
21
- (0, smithy_client_2.emitWarningIfUnsupportedVersion)(process.version);
20
+ (0, smithy_client_1.emitWarningIfUnsupportedVersion)(process.version);
22
21
  const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
23
22
  const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
24
23
  const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
@@ -6,8 +6,8 @@ import { resolveRegionConfig } from "@smithy/config-resolver";
6
6
  import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
7
7
  import { getSchemaSerdePlugin } from "@smithy/core/schema";
8
8
  import { getContentLengthPlugin } from "@smithy/middleware-content-length";
9
- import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
10
- import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
9
+ import { resolveEndpointConfig, } from "@smithy/middleware-endpoint";
10
+ import { getRetryPlugin, resolveRetryConfig, } from "@smithy/middleware-retry";
11
11
  import { Client as __Client, } from "@smithy/smithy-client";
12
12
  import { defaultEBSHttpAuthSchemeParametersProvider, resolveHttpAuthSchemeConfig, } from "./auth/httpAuthSchemeProvider";
13
13
  import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";
@@ -4,11 +4,11 @@ import { createDefaultUserAgentProvider } from "@aws-sdk/util-user-agent-browser
4
4
  import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@smithy/config-resolver";
5
5
  import { FetchHttpHandler as RequestHandler, streamCollector } from "@smithy/fetch-http-handler";
6
6
  import { invalidProvider } from "@smithy/invalid-dependency";
7
+ import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
7
8
  import { calculateBodyLength } from "@smithy/util-body-length-browser";
9
+ import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser";
8
10
  import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@smithy/util-retry";
9
11
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
10
- import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
11
- import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser";
12
12
  export const getRuntimeConfig = (config) => {
13
13
  const defaultsMode = resolveDefaultsModeConfig(config);
14
14
  const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
@@ -7,12 +7,11 @@ import { Hash } from "@smithy/hash-node";
7
7
  import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@smithy/middleware-retry";
8
8
  import { loadConfig as loadNodeConfig } from "@smithy/node-config-provider";
9
9
  import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
10
+ import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/smithy-client";
10
11
  import { calculateBodyLength } from "@smithy/util-body-length-node";
12
+ import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node";
11
13
  import { DEFAULT_RETRY_MODE } from "@smithy/util-retry";
12
14
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
13
- import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
14
- import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node";
15
- import { emitWarningIfUnsupportedVersion } from "@smithy/smithy-client";
16
15
  export const getRuntimeConfig = (config) => {
17
16
  emitWarningIfUnsupportedVersion(process.version);
18
17
  const defaultsMode = resolveDefaultsModeConfig(config);
@@ -89,28 +89,9 @@ const n0 = "com.amazonaws.ebs";
89
89
  import { TypeRegistry } from "@smithy/core/schema";
90
90
  import { EBSServiceException as __EBSServiceException } from "../models/EBSServiceException";
91
91
  import { AccessDeniedException as __AccessDeniedException, ConcurrentLimitExceededException as __ConcurrentLimitExceededException, ConflictException as __ConflictException, InternalServerException as __InternalServerException, RequestThrottledException as __RequestThrottledException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ValidationException as __ValidationException, } from "../models/errors";
92
- export var BlockData = [
93
- 0,
94
- n0,
95
- _BD,
96
- {
97
- [_s]: 1,
98
- [_se]: 1,
99
- },
100
- 42,
101
- ];
92
+ export var BlockData = [0, n0, _BD, { [_s]: 1, [_se]: 1 }, 42];
102
93
  export var KmsKeyArn = [0, n0, _KKA, 8, 0];
103
- export var AccessDeniedException = [
104
- -3,
105
- n0,
106
- _ADE,
107
- {
108
- [_e]: _c,
109
- [_hE]: 403,
110
- },
111
- [_M, _R],
112
- [0, 0],
113
- ];
94
+ export var AccessDeniedException = [-3, n0, _ADE, { [_e]: _c, [_hE]: 403 }, [_M, _R], [0, 0]];
114
95
  TypeRegistry.for(n0).registerError(AccessDeniedException, __AccessDeniedException);
115
96
  export var Block = [3, n0, _B, 0, [_BI, _BT], [1, 0]];
116
97
  export var ChangedBlock = [3, n0, _CB, 8, [_BI, _FBT, _SBT], [1, 0, 0]];
@@ -122,56 +103,16 @@ export var CompleteSnapshotRequest = [
122
103
  [_SI, _CBC, _C, _CA, _CAM],
123
104
  [
124
105
  [0, 1],
125
- [
126
- 1,
127
- {
128
- [_hH]: _xaC,
129
- },
130
- ],
131
- [
132
- 0,
133
- {
134
- [_hH]: _xaC_,
135
- },
136
- ],
137
- [
138
- 0,
139
- {
140
- [_hH]: _xaCA,
141
- },
142
- ],
143
- [
144
- 0,
145
- {
146
- [_hH]: _xaCAM,
147
- },
148
- ],
106
+ [1, { [_hH]: _xaC }],
107
+ [0, { [_hH]: _xaC_ }],
108
+ [0, { [_hH]: _xaCA }],
109
+ [0, { [_hH]: _xaCAM }],
149
110
  ],
150
111
  ];
151
112
  export var CompleteSnapshotResponse = [3, n0, _CSRo, 0, [_S], [0]];
152
- export var ConcurrentLimitExceededException = [
153
- -3,
154
- n0,
155
- _CLEE,
156
- {
157
- [_e]: _c,
158
- [_hE]: 400,
159
- },
160
- [_M],
161
- [0],
162
- ];
113
+ export var ConcurrentLimitExceededException = [-3, n0, _CLEE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
163
114
  TypeRegistry.for(n0).registerError(ConcurrentLimitExceededException, __ConcurrentLimitExceededException);
164
- export var ConflictException = [
165
- -3,
166
- n0,
167
- _CE,
168
- {
169
- [_e]: _c,
170
- [_hE]: 409,
171
- },
172
- [_M],
173
- [0],
174
- ];
115
+ export var ConflictException = [-3, n0, _CE, { [_e]: _c, [_hE]: 409 }, [_M], [0]];
175
116
  TypeRegistry.for(n0).registerError(ConflictException, __ConflictException);
176
117
  export var GetSnapshotBlockRequest = [
177
118
  3,
@@ -182,12 +123,7 @@ export var GetSnapshotBlockRequest = [
182
123
  [
183
124
  [0, 1],
184
125
  [1, 1],
185
- [
186
- 0,
187
- {
188
- [_hQ]: _bT,
189
- },
190
- ],
126
+ [0, { [_hQ]: _bT }],
191
127
  ],
192
128
  ];
193
129
  export var GetSnapshotBlockResponse = [
@@ -197,38 +133,13 @@ export var GetSnapshotBlockResponse = [
197
133
  0,
198
134
  [_DL, _BD, _C, _CA],
199
135
  [
200
- [
201
- 1,
202
- {
203
- [_hH]: _xaDL,
204
- },
205
- ],
136
+ [1, { [_hH]: _xaDL }],
206
137
  [() => BlockData, 16],
207
- [
208
- 0,
209
- {
210
- [_hH]: _xaC_,
211
- },
212
- ],
213
- [
214
- 0,
215
- {
216
- [_hH]: _xaCA,
217
- },
218
- ],
138
+ [0, { [_hH]: _xaC_ }],
139
+ [0, { [_hH]: _xaCA }],
219
140
  ],
220
141
  ];
221
- export var InternalServerException = [
222
- -3,
223
- n0,
224
- _ISE,
225
- {
226
- [_e]: _ser,
227
- [_hE]: 500,
228
- },
229
- [_M],
230
- [0],
231
- ];
142
+ export var InternalServerException = [-3, n0, _ISE, { [_e]: _ser, [_hE]: 500 }, [_M], [0]];
232
143
  TypeRegistry.for(n0).registerError(InternalServerException, __InternalServerException);
233
144
  export var ListChangedBlocksRequest = [
234
145
  3,
@@ -237,31 +148,11 @@ export var ListChangedBlocksRequest = [
237
148
  0,
238
149
  [_FSI, _SSI, _NT, _MR, _SBI],
239
150
  [
240
- [
241
- 0,
242
- {
243
- [_hQ]: _fSI,
244
- },
245
- ],
151
+ [0, { [_hQ]: _fSI }],
246
152
  [0, 1],
247
- [
248
- 0,
249
- {
250
- [_hQ]: _pT,
251
- },
252
- ],
253
- [
254
- 1,
255
- {
256
- [_hQ]: _mR,
257
- },
258
- ],
259
- [
260
- 1,
261
- {
262
- [_hQ]: _sBI,
263
- },
264
- ],
153
+ [0, { [_hQ]: _pT }],
154
+ [1, { [_hQ]: _mR }],
155
+ [1, { [_hQ]: _sBI }],
265
156
  ],
266
157
  ];
267
158
  export var ListChangedBlocksResponse = [
@@ -280,24 +171,9 @@ export var ListSnapshotBlocksRequest = [
280
171
  [_SI, _NT, _MR, _SBI],
281
172
  [
282
173
  [0, 1],
283
- [
284
- 0,
285
- {
286
- [_hQ]: _pT,
287
- },
288
- ],
289
- [
290
- 1,
291
- {
292
- [_hQ]: _mR,
293
- },
294
- ],
295
- [
296
- 1,
297
- {
298
- [_hQ]: _sBI,
299
- },
300
- ],
174
+ [0, { [_hQ]: _pT }],
175
+ [1, { [_hQ]: _mR }],
176
+ [1, { [_hQ]: _sBI }],
301
177
  ],
302
178
  ];
303
179
  export var ListSnapshotBlocksResponse = [
@@ -318,30 +194,10 @@ export var PutSnapshotBlockRequest = [
318
194
  [0, 1],
319
195
  [1, 1],
320
196
  [() => BlockData, 16],
321
- [
322
- 1,
323
- {
324
- [_hH]: _xaDL,
325
- },
326
- ],
327
- [
328
- 1,
329
- {
330
- [_hH]: _xaP,
331
- },
332
- ],
333
- [
334
- 0,
335
- {
336
- [_hH]: _xaC_,
337
- },
338
- ],
339
- [
340
- 0,
341
- {
342
- [_hH]: _xaCA,
343
- },
344
- ],
197
+ [1, { [_hH]: _xaDL }],
198
+ [1, { [_hH]: _xaP }],
199
+ [0, { [_hH]: _xaC_ }],
200
+ [0, { [_hH]: _xaCA }],
345
201
  ],
346
202
  ];
347
203
  export var PutSnapshotBlockResponse = [
@@ -351,52 +207,19 @@ export var PutSnapshotBlockResponse = [
351
207
  0,
352
208
  [_C, _CA],
353
209
  [
354
- [
355
- 0,
356
- {
357
- [_hH]: _xaC_,
358
- },
359
- ],
360
- [
361
- 0,
362
- {
363
- [_hH]: _xaCA,
364
- },
365
- ],
210
+ [0, { [_hH]: _xaC_ }],
211
+ [0, { [_hH]: _xaCA }],
366
212
  ],
367
213
  ];
368
- export var RequestThrottledException = [
369
- -3,
370
- n0,
371
- _RTE,
372
- {
373
- [_e]: _c,
374
- [_hE]: 400,
375
- },
376
- [_M, _R],
377
- [0, 0],
378
- ];
214
+ export var RequestThrottledException = [-3, n0, _RTE, { [_e]: _c, [_hE]: 400 }, [_M, _R], [0, 0]];
379
215
  TypeRegistry.for(n0).registerError(RequestThrottledException, __RequestThrottledException);
380
- export var ResourceNotFoundException = [
381
- -3,
382
- n0,
383
- _RNFE,
384
- {
385
- [_e]: _c,
386
- [_hE]: 404,
387
- },
388
- [_M, _R],
389
- [0, 0],
390
- ];
216
+ export var ResourceNotFoundException = [-3, n0, _RNFE, { [_e]: _c, [_hE]: 404 }, [_M, _R], [0, 0]];
391
217
  TypeRegistry.for(n0).registerError(ResourceNotFoundException, __ResourceNotFoundException);
392
218
  export var ServiceQuotaExceededException = [
393
219
  -3,
394
220
  n0,
395
221
  _SQEE,
396
- {
397
- [_e]: _c,
398
- [_hE]: 402,
399
- },
222
+ { [_e]: _c, [_hE]: 402 },
400
223
  [_M, _R],
401
224
  [0, 0],
402
225
  ];
@@ -418,17 +241,7 @@ export var StartSnapshotResponse = [
418
241
  [0, 0, 0, 0, 4, 1, 1, () => Tags, 0, [() => KmsKeyArn, 0], 0],
419
242
  ];
420
243
  export var Tag = [3, n0, _Ta, 0, [_K, _V], [0, 0]];
421
- export var ValidationException = [
422
- -3,
423
- n0,
424
- _VE,
425
- {
426
- [_e]: _c,
427
- [_hE]: 400,
428
- },
429
- [_M, _R],
430
- [0, 0],
431
- ];
244
+ export var ValidationException = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_M, _R], [0, 0]];
432
245
  TypeRegistry.for(n0).registerError(ValidationException, __ValidationException);
433
246
  export var __Unit = "unit";
434
247
  export var EBSServiceException = [-3, _sm, "EBSServiceException", 0, [], []];
@@ -440,9 +253,7 @@ export var CompleteSnapshot = [
440
253
  9,
441
254
  n0,
442
255
  _CS,
443
- {
444
- [_h]: ["POST", "/snapshots/completion/{SnapshotId}", 202],
445
- },
256
+ { [_h]: ["POST", "/snapshots/completion/{SnapshotId}", 202] },
446
257
  () => CompleteSnapshotRequest,
447
258
  () => CompleteSnapshotResponse,
448
259
  ];
@@ -450,9 +261,7 @@ export var GetSnapshotBlock = [
450
261
  9,
451
262
  n0,
452
263
  _GSB,
453
- {
454
- [_h]: ["GET", "/snapshots/{SnapshotId}/blocks/{BlockIndex}", 200],
455
- },
264
+ { [_h]: ["GET", "/snapshots/{SnapshotId}/blocks/{BlockIndex}", 200] },
456
265
  () => GetSnapshotBlockRequest,
457
266
  () => GetSnapshotBlockResponse,
458
267
  ];
@@ -460,9 +269,7 @@ export var ListChangedBlocks = [
460
269
  9,
461
270
  n0,
462
271
  _LCB,
463
- {
464
- [_h]: ["GET", "/snapshots/{SecondSnapshotId}/changedblocks", 200],
465
- },
272
+ { [_h]: ["GET", "/snapshots/{SecondSnapshotId}/changedblocks", 200] },
466
273
  () => ListChangedBlocksRequest,
467
274
  () => ListChangedBlocksResponse,
468
275
  ];
@@ -470,9 +277,7 @@ export var ListSnapshotBlocks = [
470
277
  9,
471
278
  n0,
472
279
  _LSB,
473
- {
474
- [_h]: ["GET", "/snapshots/{SnapshotId}/blocks", 200],
475
- },
280
+ { [_h]: ["GET", "/snapshots/{SnapshotId}/blocks", 200] },
476
281
  () => ListSnapshotBlocksRequest,
477
282
  () => ListSnapshotBlocksResponse,
478
283
  ];
@@ -480,9 +285,7 @@ export var PutSnapshotBlock = [
480
285
  9,
481
286
  n0,
482
287
  _PSB,
483
- {
484
- [_h]: ["PUT", "/snapshots/{SnapshotId}/blocks/{BlockIndex}", 201],
485
- },
288
+ { [_h]: ["PUT", "/snapshots/{SnapshotId}/blocks/{BlockIndex}", 201] },
486
289
  () => PutSnapshotBlockRequest,
487
290
  () => PutSnapshotBlockResponse,
488
291
  ];
@@ -490,9 +293,7 @@ export var StartSnapshot = [
490
293
  9,
491
294
  n0,
492
295
  _SS,
493
- {
494
- [_h]: ["POST", "/snapshots", 201],
495
- },
296
+ { [_h]: ["POST", "/snapshots", 201] },
496
297
  () => StartSnapshotRequest,
497
298
  () => StartSnapshotResponse,
498
299
  ];
@@ -1,4 +1,4 @@
1
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
1
+ import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
2
  import { CompleteSnapshotCommandInput, CompleteSnapshotCommandOutput } from "./commands/CompleteSnapshotCommand";
3
3
  import { GetSnapshotBlockCommandInput, GetSnapshotBlockCommandOutput } from "./commands/GetSnapshotBlockCommand";
4
4
  import { ListChangedBlocksCommandInput, ListChangedBlocksCommandOutput } from "./commands/ListChangedBlocksCommand";
@@ -1,12 +1,12 @@
1
- import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
2
- import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
3
- import { RegionInputConfig, RegionResolvedConfig } from "@smithy/config-resolver";
4
- import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-endpoint";
5
- import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
6
- import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
7
- import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
8
- import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, ClientProtocol, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, HttpRequest, HttpResponse, Logger as __Logger, Provider as __Provider, Provider, SdkStreamMixinInjector as __SdkStreamMixinInjector, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
9
- import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
1
+ import { type HostHeaderInputConfig, type HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
2
+ import { type UserAgentInputConfig, type UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
3
+ import { type RegionInputConfig, type RegionResolvedConfig } from "@smithy/config-resolver";
4
+ import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/middleware-endpoint";
5
+ import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/middleware-retry";
6
+ import type { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
7
+ import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/smithy-client";
8
+ import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type ClientProtocol, type Decoder as __Decoder, type Encoder as __Encoder, type HashConstructor as __HashConstructor, type HttpHandlerOptions as __HttpHandlerOptions, type HttpRequest, type HttpResponse, type Logger as __Logger, type Provider as __Provider, type SdkStreamMixinInjector as __SdkStreamMixinInjector, type StreamCollector as __StreamCollector, type UrlParser as __UrlParser, AwsCredentialIdentityProvider, Provider, UserAgent as __UserAgent } from "@smithy/types";
9
+ import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
10
10
  import { CompleteSnapshotCommandInput, CompleteSnapshotCommandOutput } from "./commands/CompleteSnapshotCommand";
11
11
  import { GetSnapshotBlockCommandInput, GetSnapshotBlockCommandOutput } from "./commands/GetSnapshotBlockCommand";
12
12
  import { ListChangedBlocksCommandInput, ListChangedBlocksCommandOutput } from "./commands/ListChangedBlocksCommand";
@@ -14,7 +14,7 @@ import { ListSnapshotBlocksCommandInput, ListSnapshotBlocksCommandOutput } from
14
14
  import { PutSnapshotBlockCommandInput, PutSnapshotBlockCommandOutput } from "./commands/PutSnapshotBlockCommand";
15
15
  import { StartSnapshotCommandInput, StartSnapshotCommandOutput } from "./commands/StartSnapshotCommand";
16
16
  import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
17
- import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
17
+ import { type RuntimeExtension, type RuntimeExtensionsConfig } from "./runtimeExtensions";
18
18
  export { __Client };
19
19
  /**
20
20
  * @public
@@ -1,5 +1,5 @@
1
- import { AwsCredentialIdentity, AwsCredentialIdentityProvider, HttpAuthScheme } from "@smithy/types";
2
- import { EBSHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
1
+ import { type HttpAuthScheme, AwsCredentialIdentity, AwsCredentialIdentityProvider } from "@smithy/types";
2
+ import type { EBSHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
3
3
  /**
4
4
  * @internal
5
5
  */
@@ -1,6 +1,6 @@
1
1
  import { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core";
2
- import { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, Provider } from "@smithy/types";
3
- import { EBSClientResolvedConfig } from "../EBSClient";
2
+ import type { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, Provider } from "@smithy/types";
3
+ import { type EBSClientResolvedConfig } from "../EBSClient";
4
4
  /**
5
5
  * @internal
6
6
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { EBSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EBSClient";
4
- import { CompleteSnapshotRequest, CompleteSnapshotResponse } from "../models/models_0";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { EBSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EBSClient";
4
+ import type { CompleteSnapshotRequest, CompleteSnapshotResponse } from "../models/models_0";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer, StreamingBlobPayloadOutputTypes } from "@smithy/types";
3
- import { EBSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EBSClient";
4
- import { GetSnapshotBlockRequest, GetSnapshotBlockResponse } from "../models/models_0";
2
+ import type { MetadataBearer as __MetadataBearer, StreamingBlobPayloadOutputTypes } from "@smithy/types";
3
+ import type { EBSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EBSClient";
4
+ import { type GetSnapshotBlockRequest, GetSnapshotBlockResponse } from "../models/models_0";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { EBSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EBSClient";
4
- import { ListChangedBlocksRequest, ListChangedBlocksResponse } from "../models/models_0";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { EBSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EBSClient";
4
+ import type { ListChangedBlocksRequest, ListChangedBlocksResponse } from "../models/models_0";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { EBSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EBSClient";
4
- import { ListSnapshotBlocksRequest, ListSnapshotBlocksResponse } from "../models/models_0";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { EBSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EBSClient";
4
+ import type { ListSnapshotBlocksRequest, ListSnapshotBlocksResponse } from "../models/models_0";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer, StreamingBlobPayloadInputTypes } from "@smithy/types";
3
- import { EBSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EBSClient";
4
- import { PutSnapshotBlockRequest, PutSnapshotBlockResponse } from "../models/models_0";
2
+ import type { MetadataBearer as __MetadataBearer, StreamingBlobPayloadInputTypes } from "@smithy/types";
3
+ import type { EBSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EBSClient";
4
+ import { type PutSnapshotBlockResponse, PutSnapshotBlockRequest } from "../models/models_0";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { EBSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EBSClient";
4
- import { StartSnapshotRequest, StartSnapshotResponse } from "../models/models_0";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { EBSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EBSClient";
4
+ import type { StartSnapshotRequest, StartSnapshotResponse } from "../models/models_0";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,4 +1,4 @@
1
- import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
1
+ import type { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
2
2
  /**
3
3
  * @public
4
4
  */
@@ -8,10 +8,19 @@ export interface ClientInputEndpointParameters {
8
8
  useFipsEndpoint?: boolean | undefined | Provider<boolean | undefined>;
9
9
  endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
10
10
  }
11
+ /**
12
+ * @public
13
+ */
11
14
  export type ClientResolvedEndpointParameters = Omit<ClientInputEndpointParameters, "endpoint"> & {
12
15
  defaultSigningName: string;
13
16
  };
17
+ /**
18
+ * @internal
19
+ */
14
20
  export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientResolvedEndpointParameters;
21
+ /**
22
+ * @internal
23
+ */
15
24
  export declare const commonParams: {
16
25
  readonly UseFIPS: {
17
26
  readonly type: "builtInParams";
@@ -30,6 +39,9 @@ export declare const commonParams: {
30
39
  readonly name: "useDualstackEndpoint";
31
40
  };
32
41
  };
42
+ /**
43
+ * @internal
44
+ */
33
45
  export interface EndpointParameters extends __EndpointParameters {
34
46
  Region?: string | undefined;
35
47
  UseDualStack?: boolean | undefined;
@@ -1,5 +1,8 @@
1
- import { EndpointV2, Logger } from "@smithy/types";
2
- import { EndpointParameters } from "./EndpointParameters";
1
+ import type { EndpointV2, Logger } from "@smithy/types";
2
+ import type { EndpointParameters } from "./EndpointParameters";
3
+ /**
4
+ * @internal
5
+ */
3
6
  export declare const defaultEndpointResolver: (endpointParams: EndpointParameters, context?: {
4
7
  logger?: Logger;
5
8
  }) => EndpointV2;
@@ -1,7 +1,7 @@
1
- import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
2
- import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
3
- import { DefaultExtensionConfiguration } from "@smithy/types";
4
- import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
1
+ import type { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
2
+ import type { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
3
+ import type { DefaultExtensionConfiguration } from "@smithy/types";
4
+ import type { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
5
5
  /**
6
6
  * @internal
7
7
  */
@@ -1,4 +1,4 @@
1
- import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@smithy/smithy-client";
1
+ import { type ServiceExceptionOptions as __ServiceExceptionOptions, ServiceException as __ServiceException } from "@smithy/smithy-client";
2
2
  export type { __ServiceExceptionOptions };
3
3
  export { __ServiceException };
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
1
+ import type { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
2
  import { EBSServiceException as __BaseException } from "./EBSServiceException";
3
3
  import { AccessDeniedExceptionReason, RequestThrottledExceptionReason, ResourceNotFoundExceptionReason, ServiceQuotaExceededExceptionReason, ValidationExceptionReason } from "./enums";
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { PaginationConfiguration } from "@smithy/types";
1
+ import type { PaginationConfiguration } from "@smithy/types";
2
2
  import { EBSClient } from "../EBSClient";
3
3
  /**
4
4
  * @public
@@ -1,4 +1,4 @@
1
- import { Paginator } from "@smithy/types";
1
+ import type { Paginator } from "@smithy/types";
2
2
  import { ListChangedBlocksCommandInput, ListChangedBlocksCommandOutput } from "../commands/ListChangedBlocksCommand";
3
3
  import { EBSPaginationConfiguration } from "./Interfaces";
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { Paginator } from "@smithy/types";
1
+ import type { Paginator } from "@smithy/types";
2
2
  import { ListSnapshotBlocksCommandInput, ListSnapshotBlocksCommandOutput } from "../commands/ListSnapshotBlocksCommand";
3
3
  import { EBSPaginationConfiguration } from "./Interfaces";
4
4
  /**
@@ -1,5 +1,5 @@
1
1
  import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
2
- import { EBSClientConfig } from "./EBSClient";
2
+ import type { EBSClientConfig } from "./EBSClient";
3
3
  /**
4
4
  * @internal
5
5
  */
@@ -1,5 +1,5 @@
1
1
  import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
2
- import { EBSClientConfig } from "./EBSClient";
2
+ import type { EBSClientConfig } from "./EBSClient";
3
3
  /**
4
4
  * @internal
5
5
  */
@@ -1,4 +1,4 @@
1
- import { EBSClientConfig } from "./EBSClient";
1
+ import type { EBSClientConfig } from "./EBSClient";
2
2
  /**
3
3
  * @internal
4
4
  */
@@ -1,4 +1,4 @@
1
- import { EBSClientConfig } from "./EBSClient";
1
+ import type { EBSClientConfig } from "./EBSClient";
2
2
  /**
3
3
  * @internal
4
4
  */
@@ -1,4 +1,4 @@
1
- import { EBSExtensionConfiguration } from "./extensionConfiguration";
1
+ import type { EBSExtensionConfiguration } from "./extensionConfiguration";
2
2
  /**
3
3
  * @public
4
4
  */
@@ -1,4 +1,4 @@
1
- import { StaticErrorSchema, StaticListSchema, StaticOperationSchema, StaticSimpleSchema, StaticStructureSchema } from "@smithy/types";
1
+ import type { StaticErrorSchema, StaticListSchema, StaticOperationSchema, StaticSimpleSchema, StaticStructureSchema } from "@smithy/types";
2
2
  export declare var BlockData: StaticSimpleSchema;
3
3
  export declare var KmsKeyArn: StaticSimpleSchema;
4
4
  export declare var AccessDeniedException: StaticErrorSchema;
@@ -20,13 +20,12 @@ import {
20
20
  } from "@smithy/middleware-retry";
21
21
  import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
22
22
  import {
23
- Client as __Client,
24
23
  DefaultsMode as __DefaultsMode,
25
24
  SmithyConfiguration as __SmithyConfiguration,
26
25
  SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
26
+ Client as __Client,
27
27
  } from "@smithy/smithy-client";
28
28
  import {
29
- AwsCredentialIdentityProvider,
30
29
  BodyLengthCalculator as __BodyLengthCalculator,
31
30
  CheckOptionalClientConfig as __CheckOptionalClientConfig,
32
31
  ChecksumConstructor as __ChecksumConstructor,
@@ -39,10 +38,11 @@ import {
39
38
  HttpResponse,
40
39
  Logger as __Logger,
41
40
  Provider as __Provider,
42
- Provider,
43
41
  SdkStreamMixinInjector as __SdkStreamMixinInjector,
44
42
  StreamCollector as __StreamCollector,
45
43
  UrlParser as __UrlParser,
44
+ AwsCredentialIdentityProvider,
45
+ Provider,
46
46
  UserAgent as __UserAgent,
47
47
  } from "@smithy/types";
48
48
  import {
@@ -1,7 +1,7 @@
1
1
  import {
2
+ HttpAuthScheme,
2
3
  AwsCredentialIdentity,
3
4
  AwsCredentialIdentityProvider,
4
- HttpAuthScheme,
5
5
  } from "@smithy/types";
6
6
  import { EBSHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
7
7
  export interface HttpAuthExtensionConfiguration {
@@ -9,8 +9,8 @@ import {
9
9
  ServiceOutputTypes,
10
10
  } from "../EBSClient";
11
11
  import {
12
- PutSnapshotBlockRequest,
13
12
  PutSnapshotBlockResponse,
13
+ PutSnapshotBlockRequest,
14
14
  } from "../models/models_0";
15
15
  export { __MetadataBearer };
16
16
  export { $Command };
@@ -1,6 +1,6 @@
1
1
  import {
2
- ServiceException as __ServiceException,
3
2
  ServiceExceptionOptions as __ServiceExceptionOptions,
3
+ ServiceException as __ServiceException,
4
4
  } from "@smithy/smithy-client";
5
5
  export { __ServiceExceptionOptions };
6
6
  export { __ServiceException };
package/package.json CHANGED
@@ -1,7 +1,7 @@
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.943.0",
4
+ "version": "3.946.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-ebs",
@@ -11,7 +11,8 @@
11
11
  "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
12
12
  "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
13
13
  "extract:docs": "api-extractor run --local",
14
- "generate:client": "node ../../scripts/generate-clients/single-service --solo ebs"
14
+ "generate:client": "node ../../scripts/generate-clients/single-service --solo ebs",
15
+ "test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"
15
16
  },
16
17
  "main": "./dist-cjs/index.js",
17
18
  "types": "./dist-types/index.d.ts",
@@ -20,38 +21,38 @@
20
21
  "dependencies": {
21
22
  "@aws-crypto/sha256-browser": "5.2.0",
22
23
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.943.0",
24
- "@aws-sdk/credential-provider-node": "3.943.0",
24
+ "@aws-sdk/core": "3.946.0",
25
+ "@aws-sdk/credential-provider-node": "3.946.0",
25
26
  "@aws-sdk/middleware-host-header": "3.936.0",
26
27
  "@aws-sdk/middleware-logger": "3.936.0",
27
28
  "@aws-sdk/middleware-recursion-detection": "3.936.0",
28
- "@aws-sdk/middleware-user-agent": "3.943.0",
29
+ "@aws-sdk/middleware-user-agent": "3.946.0",
29
30
  "@aws-sdk/region-config-resolver": "3.936.0",
30
31
  "@aws-sdk/types": "3.936.0",
31
32
  "@aws-sdk/util-endpoints": "3.936.0",
32
33
  "@aws-sdk/util-user-agent-browser": "3.936.0",
33
- "@aws-sdk/util-user-agent-node": "3.943.0",
34
+ "@aws-sdk/util-user-agent-node": "3.946.0",
34
35
  "@smithy/config-resolver": "^4.4.3",
35
- "@smithy/core": "^3.18.5",
36
+ "@smithy/core": "^3.18.7",
36
37
  "@smithy/fetch-http-handler": "^5.3.6",
37
38
  "@smithy/hash-node": "^4.2.5",
38
39
  "@smithy/invalid-dependency": "^4.2.5",
39
40
  "@smithy/middleware-content-length": "^4.2.5",
40
- "@smithy/middleware-endpoint": "^4.3.12",
41
- "@smithy/middleware-retry": "^4.4.12",
41
+ "@smithy/middleware-endpoint": "^4.3.14",
42
+ "@smithy/middleware-retry": "^4.4.14",
42
43
  "@smithy/middleware-serde": "^4.2.6",
43
44
  "@smithy/middleware-stack": "^4.2.5",
44
45
  "@smithy/node-config-provider": "^4.3.5",
45
46
  "@smithy/node-http-handler": "^4.4.5",
46
47
  "@smithy/protocol-http": "^5.3.5",
47
- "@smithy/smithy-client": "^4.9.8",
48
+ "@smithy/smithy-client": "^4.9.10",
48
49
  "@smithy/types": "^4.9.0",
49
50
  "@smithy/url-parser": "^4.2.5",
50
51
  "@smithy/util-base64": "^4.3.0",
51
52
  "@smithy/util-body-length-browser": "^4.2.0",
52
53
  "@smithy/util-body-length-node": "^4.2.1",
53
- "@smithy/util-defaults-mode-browser": "^4.3.11",
54
- "@smithy/util-defaults-mode-node": "^4.2.14",
54
+ "@smithy/util-defaults-mode-browser": "^4.3.13",
55
+ "@smithy/util-defaults-mode-node": "^4.2.16",
55
56
  "@smithy/util-endpoints": "^3.2.5",
56
57
  "@smithy/util-middleware": "^4.2.5",
57
58
  "@smithy/util-retry": "^4.2.5",