@aws-sdk/client-docdb-elastic 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 (49) hide show
  1. package/dist-cjs/index.js +36 -176
  2. package/dist-cjs/runtimeConfig.browser.js +2 -2
  3. package/dist-cjs/runtimeConfig.js +3 -4
  4. package/dist-es/DocDBElasticClient.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 -176
  8. package/dist-types/DocDBElastic.d.ts +1 -1
  9. package/dist-types/DocDBElasticClient.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/ApplyPendingMaintenanceActionCommand.d.ts +3 -3
  13. package/dist-types/commands/CopyClusterSnapshotCommand.d.ts +3 -3
  14. package/dist-types/commands/CreateClusterCommand.d.ts +3 -3
  15. package/dist-types/commands/CreateClusterSnapshotCommand.d.ts +3 -3
  16. package/dist-types/commands/DeleteClusterCommand.d.ts +3 -3
  17. package/dist-types/commands/DeleteClusterSnapshotCommand.d.ts +3 -3
  18. package/dist-types/commands/GetClusterCommand.d.ts +3 -3
  19. package/dist-types/commands/GetClusterSnapshotCommand.d.ts +3 -3
  20. package/dist-types/commands/GetPendingMaintenanceActionCommand.d.ts +3 -3
  21. package/dist-types/commands/ListClusterSnapshotsCommand.d.ts +3 -3
  22. package/dist-types/commands/ListClustersCommand.d.ts +3 -3
  23. package/dist-types/commands/ListPendingMaintenanceActionsCommand.d.ts +3 -3
  24. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -3
  25. package/dist-types/commands/RestoreClusterFromSnapshotCommand.d.ts +3 -3
  26. package/dist-types/commands/StartClusterCommand.d.ts +3 -3
  27. package/dist-types/commands/StopClusterCommand.d.ts +3 -3
  28. package/dist-types/commands/TagResourceCommand.d.ts +3 -3
  29. package/dist-types/commands/UntagResourceCommand.d.ts +3 -3
  30. package/dist-types/commands/UpdateClusterCommand.d.ts +3 -3
  31. package/dist-types/endpoint/EndpointParameters.d.ts +13 -1
  32. package/dist-types/endpoint/endpointResolver.d.ts +5 -2
  33. package/dist-types/extensionConfiguration.d.ts +4 -4
  34. package/dist-types/models/DocDBElasticServiceException.d.ts +1 -1
  35. package/dist-types/models/errors.d.ts +1 -1
  36. package/dist-types/pagination/Interfaces.d.ts +1 -1
  37. package/dist-types/pagination/ListClusterSnapshotsPaginator.d.ts +1 -1
  38. package/dist-types/pagination/ListClustersPaginator.d.ts +1 -1
  39. package/dist-types/pagination/ListPendingMaintenanceActionsPaginator.d.ts +1 -1
  40. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  41. package/dist-types/runtimeConfig.d.ts +1 -1
  42. package/dist-types/runtimeConfig.native.d.ts +1 -1
  43. package/dist-types/runtimeConfig.shared.d.ts +1 -1
  44. package/dist-types/runtimeExtensions.d.ts +1 -1
  45. package/dist-types/schemas/schemas_0.d.ts +1 -1
  46. package/dist-types/ts3.4/DocDBElasticClient.d.ts +3 -3
  47. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
  48. package/dist-types/ts3.4/models/DocDBElasticServiceException.d.ts +1 -1
  49. package/package.json +13 -12
package/dist-cjs/index.js CHANGED
@@ -363,17 +363,7 @@ const _tSN = "targetSnapshotName";
363
363
  const _vSGI = "vpcSecurityGroupIds";
364
364
  const n0 = "com.amazonaws.docdbelastic";
365
365
  var Password = [0, n0, _P, 8, 0];
366
- var AccessDeniedException = [
367
- -3,
368
- n0,
369
- _ADE,
370
- {
371
- [_e]: _c,
372
- [_hE]: 403,
373
- },
374
- [_m],
375
- [0],
376
- ];
366
+ var AccessDeniedException = [-3, n0, _ADE, { [_e]: _c, [_hE]: 403 }, [_m], [0]];
377
367
  schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
378
368
  var ApplyPendingMaintenanceActionInput = [
379
369
  3,
@@ -409,17 +399,7 @@ var ClusterSnapshot = [
409
399
  [64 | 0, 0, 0, 0, 0, 0, 0, 64 | 0, 0, 0, 0],
410
400
  ];
411
401
  var ClusterSnapshotInList = [3, n0, _CSIL, 0, [_sN, _sA, _cA, _s, _sCT], [0, 0, 0, 0, 0]];
412
- var ConflictException = [
413
- -3,
414
- n0,
415
- _CE,
416
- {
417
- [_e]: _c,
418
- [_hE]: 409,
419
- },
420
- [_m, _rI, _rT],
421
- [0, 0, 0],
422
- ];
402
+ var ConflictException = [-3, n0, _CE, { [_e]: _c, [_hE]: 409 }, [_m, _rI, _rT], [0, 0, 0]];
423
403
  schema.TypeRegistry.for(n0).registerError(ConflictException, ConflictException$1);
424
404
  var CopyClusterSnapshotInput = [
425
405
  3,
@@ -458,17 +438,7 @@ var GetPendingMaintenanceActionOutput = [
458
438
  [_rPMA],
459
439
  [() => ResourcePendingMaintenanceAction],
460
440
  ];
461
- var InternalServerException = [
462
- -3,
463
- n0,
464
- _ISE,
465
- {
466
- [_e]: _se,
467
- [_hE]: 500,
468
- },
469
- [_m],
470
- [0],
471
- ];
441
+ var InternalServerException = [-3, n0, _ISE, { [_e]: _se, [_hE]: 500 }, [_m], [0]];
472
442
  schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
473
443
  var ListClustersInput = [
474
444
  3,
@@ -477,18 +447,8 @@ var ListClustersInput = [
477
447
  0,
478
448
  [_nT, _mR],
479
449
  [
480
- [
481
- 0,
482
- {
483
- [_hQ]: _nT,
484
- },
485
- ],
486
- [
487
- 1,
488
- {
489
- [_hQ]: _mR,
490
- },
491
- ],
450
+ [0, { [_hQ]: _nT }],
451
+ [1, { [_hQ]: _mR }],
492
452
  ],
493
453
  ];
494
454
  var ListClusterSnapshotsInput = [
@@ -498,30 +458,10 @@ var ListClusterSnapshotsInput = [
498
458
  0,
499
459
  [_cA, _nT, _mR, _sT],
500
460
  [
501
- [
502
- 0,
503
- {
504
- [_hQ]: _cA,
505
- },
506
- ],
507
- [
508
- 0,
509
- {
510
- [_hQ]: _nT,
511
- },
512
- ],
513
- [
514
- 1,
515
- {
516
- [_hQ]: _mR,
517
- },
518
- ],
519
- [
520
- 0,
521
- {
522
- [_hQ]: _sT,
523
- },
524
- ],
461
+ [0, { [_hQ]: _cA }],
462
+ [0, { [_hQ]: _nT }],
463
+ [1, { [_hQ]: _mR }],
464
+ [0, { [_hQ]: _sT }],
525
465
  ],
526
466
  ];
527
467
  var ListClusterSnapshotsOutput = [
@@ -540,18 +480,8 @@ var ListPendingMaintenanceActionsInput = [
540
480
  0,
541
481
  [_nT, _mR],
542
482
  [
543
- [
544
- 0,
545
- {
546
- [_hQ]: _nT,
547
- },
548
- ],
549
- [
550
- 1,
551
- {
552
- [_hQ]: _mR,
553
- },
554
- ],
483
+ [0, { [_hQ]: _nT }],
484
+ [1, { [_hQ]: _mR }],
555
485
  ],
556
486
  ];
557
487
  var ListPendingMaintenanceActionsOutput = [
@@ -576,10 +506,7 @@ var ResourceNotFoundException = [
576
506
  -3,
577
507
  n0,
578
508
  _RNFE,
579
- {
580
- [_e]: _c,
581
- [_hE]: 404,
582
- },
509
+ { [_e]: _c, [_hE]: 404 },
583
510
  [_m, _rI, _rT],
584
511
  [0, 0, 0],
585
512
  ];
@@ -601,17 +528,7 @@ var RestoreClusterFromSnapshotInput = [
601
528
  [0, [0, 1], 64 | 0, 64 | 0, 0, 128 | 0, 1, 1],
602
529
  ];
603
530
  var RestoreClusterFromSnapshotOutput = [3, n0, _RCFSO, 0, [_cl], [() => Cluster]];
604
- var ServiceQuotaExceededException = [
605
- -3,
606
- n0,
607
- _SQEE,
608
- {
609
- [_e]: _c,
610
- [_hE]: 402,
611
- },
612
- [_m],
613
- [0],
614
- ];
531
+ var ServiceQuotaExceededException = [-3, n0, _SQEE, { [_e]: _c, [_hE]: 402 }, [_m], [0]];
615
532
  schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException, ServiceQuotaExceededException$1);
616
533
  var Shard = [3, n0, _S, 0, [_sIh, _cT, _s], [0, 0, 0]];
617
534
  var StartClusterInput = [3, n0, _SCI, 0, [_cA], [[0, 1]]];
@@ -624,20 +541,9 @@ var ThrottlingException = [
624
541
  -3,
625
542
  n0,
626
543
  _TE,
627
- {
628
- [_e]: _c,
629
- [_hE]: 429,
630
- },
544
+ { [_e]: _c, [_hE]: 429 },
631
545
  [_m, _rAS],
632
- [
633
- 0,
634
- [
635
- 1,
636
- {
637
- [_hH]: _RA,
638
- },
639
- ],
640
- ],
546
+ [0, [1, { [_hH]: _RA }]],
641
547
  ];
642
548
  schema.TypeRegistry.for(n0).registerError(ThrottlingException, ThrottlingException$1);
643
549
  var UntagResourceRequest = [
@@ -648,12 +554,7 @@ var UntagResourceRequest = [
648
554
  [_rA, _tK],
649
555
  [
650
556
  [0, 1],
651
- [
652
- 64 | 0,
653
- {
654
- [_hQ]: _tK,
655
- },
656
- ],
557
+ [64 | 0, { [_hQ]: _tK }],
657
558
  ],
658
559
  ];
659
560
  var UntagResourceResponse = [3, n0, _URRn, 0, [], []];
@@ -670,10 +571,7 @@ var ValidationException = [
670
571
  -3,
671
572
  n0,
672
573
  _VE,
673
- {
674
- [_e]: _c,
675
- [_hE]: 400,
676
- },
574
+ { [_e]: _c, [_hE]: 400 },
677
575
  [_m, _r, _fL],
678
576
  [0, 0, () => ValidationExceptionFieldList],
679
577
  ];
@@ -703,9 +601,7 @@ var ApplyPendingMaintenanceAction = [
703
601
  9,
704
602
  n0,
705
603
  _APMA,
706
- {
707
- [_h]: ["POST", "/pending-action", 200],
708
- },
604
+ { [_h]: ["POST", "/pending-action", 200] },
709
605
  () => ApplyPendingMaintenanceActionInput,
710
606
  () => ApplyPendingMaintenanceActionOutput,
711
607
  ];
@@ -713,9 +609,7 @@ var CopyClusterSnapshot = [
713
609
  9,
714
610
  n0,
715
611
  _CCS,
716
- {
717
- [_h]: ["POST", "/cluster-snapshot/{snapshotArn}/copy", 200],
718
- },
612
+ { [_h]: ["POST", "/cluster-snapshot/{snapshotArn}/copy", 200] },
719
613
  () => CopyClusterSnapshotInput,
720
614
  () => CopyClusterSnapshotOutput,
721
615
  ];
@@ -723,9 +617,7 @@ var CreateCluster = [
723
617
  9,
724
618
  n0,
725
619
  _CC,
726
- {
727
- [_h]: ["POST", "/cluster", 200],
728
- },
620
+ { [_h]: ["POST", "/cluster", 200] },
729
621
  () => CreateClusterInput,
730
622
  () => CreateClusterOutput,
731
623
  ];
@@ -733,9 +625,7 @@ var CreateClusterSnapshot = [
733
625
  9,
734
626
  n0,
735
627
  _CCSr,
736
- {
737
- [_h]: ["POST", "/cluster-snapshot", 200],
738
- },
628
+ { [_h]: ["POST", "/cluster-snapshot", 200] },
739
629
  () => CreateClusterSnapshotInput,
740
630
  () => CreateClusterSnapshotOutput,
741
631
  ];
@@ -743,9 +633,7 @@ var DeleteCluster = [
743
633
  9,
744
634
  n0,
745
635
  _DC,
746
- {
747
- [_h]: ["DELETE", "/cluster/{clusterArn}", 200],
748
- },
636
+ { [_h]: ["DELETE", "/cluster/{clusterArn}", 200] },
749
637
  () => DeleteClusterInput,
750
638
  () => DeleteClusterOutput,
751
639
  ];
@@ -753,9 +641,7 @@ var DeleteClusterSnapshot = [
753
641
  9,
754
642
  n0,
755
643
  _DCS,
756
- {
757
- [_h]: ["DELETE", "/cluster-snapshot/{snapshotArn}", 200],
758
- },
644
+ { [_h]: ["DELETE", "/cluster-snapshot/{snapshotArn}", 200] },
759
645
  () => DeleteClusterSnapshotInput,
760
646
  () => DeleteClusterSnapshotOutput,
761
647
  ];
@@ -763,9 +649,7 @@ var GetCluster = [
763
649
  9,
764
650
  n0,
765
651
  _GC,
766
- {
767
- [_h]: ["GET", "/cluster/{clusterArn}", 200],
768
- },
652
+ { [_h]: ["GET", "/cluster/{clusterArn}", 200] },
769
653
  () => GetClusterInput,
770
654
  () => GetClusterOutput,
771
655
  ];
@@ -773,9 +657,7 @@ var GetClusterSnapshot = [
773
657
  9,
774
658
  n0,
775
659
  _GCS,
776
- {
777
- [_h]: ["GET", "/cluster-snapshot/{snapshotArn}", 200],
778
- },
660
+ { [_h]: ["GET", "/cluster-snapshot/{snapshotArn}", 200] },
779
661
  () => GetClusterSnapshotInput,
780
662
  () => GetClusterSnapshotOutput,
781
663
  ];
@@ -783,9 +665,7 @@ var GetPendingMaintenanceAction = [
783
665
  9,
784
666
  n0,
785
667
  _GPMA,
786
- {
787
- [_h]: ["GET", "/pending-action/{resourceArn}", 200],
788
- },
668
+ { [_h]: ["GET", "/pending-action/{resourceArn}", 200] },
789
669
  () => GetPendingMaintenanceActionInput,
790
670
  () => GetPendingMaintenanceActionOutput,
791
671
  ];
@@ -793,9 +673,7 @@ var ListClusters = [
793
673
  9,
794
674
  n0,
795
675
  _LC,
796
- {
797
- [_h]: ["GET", "/clusters", 200],
798
- },
676
+ { [_h]: ["GET", "/clusters", 200] },
799
677
  () => ListClustersInput,
800
678
  () => ListClustersOutput,
801
679
  ];
@@ -803,9 +681,7 @@ var ListClusterSnapshots = [
803
681
  9,
804
682
  n0,
805
683
  _LCS,
806
- {
807
- [_h]: ["GET", "/cluster-snapshots", 200],
808
- },
684
+ { [_h]: ["GET", "/cluster-snapshots", 200] },
809
685
  () => ListClusterSnapshotsInput,
810
686
  () => ListClusterSnapshotsOutput,
811
687
  ];
@@ -813,9 +689,7 @@ var ListPendingMaintenanceActions = [
813
689
  9,
814
690
  n0,
815
691
  _LPMA,
816
- {
817
- [_h]: ["GET", "/pending-actions", 200],
818
- },
692
+ { [_h]: ["GET", "/pending-actions", 200] },
819
693
  () => ListPendingMaintenanceActionsInput,
820
694
  () => ListPendingMaintenanceActionsOutput,
821
695
  ];
@@ -823,9 +697,7 @@ var ListTagsForResource = [
823
697
  9,
824
698
  n0,
825
699
  _LTFR,
826
- {
827
- [_h]: ["GET", "/tags/{resourceArn}", 200],
828
- },
700
+ { [_h]: ["GET", "/tags/{resourceArn}", 200] },
829
701
  () => ListTagsForResourceRequest,
830
702
  () => ListTagsForResourceResponse,
831
703
  ];
@@ -833,9 +705,7 @@ var RestoreClusterFromSnapshot = [
833
705
  9,
834
706
  n0,
835
707
  _RCFS,
836
- {
837
- [_h]: ["POST", "/cluster-snapshot/{snapshotArn}/restore", 200],
838
- },
708
+ { [_h]: ["POST", "/cluster-snapshot/{snapshotArn}/restore", 200] },
839
709
  () => RestoreClusterFromSnapshotInput,
840
710
  () => RestoreClusterFromSnapshotOutput,
841
711
  ];
@@ -843,9 +713,7 @@ var StartCluster = [
843
713
  9,
844
714
  n0,
845
715
  _SC,
846
- {
847
- [_h]: ["POST", "/cluster/{clusterArn}/start", 200],
848
- },
716
+ { [_h]: ["POST", "/cluster/{clusterArn}/start", 200] },
849
717
  () => StartClusterInput,
850
718
  () => StartClusterOutput,
851
719
  ];
@@ -853,9 +721,7 @@ var StopCluster = [
853
721
  9,
854
722
  n0,
855
723
  _SCt,
856
- {
857
- [_h]: ["POST", "/cluster/{clusterArn}/stop", 200],
858
- },
724
+ { [_h]: ["POST", "/cluster/{clusterArn}/stop", 200] },
859
725
  () => StopClusterInput,
860
726
  () => StopClusterOutput,
861
727
  ];
@@ -863,9 +729,7 @@ var TagResource = [
863
729
  9,
864
730
  n0,
865
731
  _TR,
866
- {
867
- [_h]: ["POST", "/tags/{resourceArn}", 200],
868
- },
732
+ { [_h]: ["POST", "/tags/{resourceArn}", 200] },
869
733
  () => TagResourceRequest,
870
734
  () => TagResourceResponse,
871
735
  ];
@@ -873,9 +737,7 @@ var UntagResource = [
873
737
  9,
874
738
  n0,
875
739
  _UR,
876
- {
877
- [_h]: ["DELETE", "/tags/{resourceArn}", 200],
878
- },
740
+ { [_h]: ["DELETE", "/tags/{resourceArn}", 200] },
879
741
  () => UntagResourceRequest,
880
742
  () => UntagResourceResponse,
881
743
  ];
@@ -883,9 +745,7 @@ var UpdateCluster = [
883
745
  9,
884
746
  n0,
885
747
  _UC,
886
- {
887
- [_h]: ["PUT", "/cluster/{clusterArn}", 200],
888
- },
748
+ { [_h]: ["PUT", "/cluster/{clusterArn}", 200] },
889
749
  () => UpdateClusterInput,
890
750
  () => UpdateClusterOutput,
891
751
  ];
@@ -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 { defaultDocDBElasticHttpAuthSchemeParametersProvider, 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);