@aws-sdk/client-simspaceweaver 3.940.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 (45) hide show
  1. package/dist-cjs/index.js +38 -233
  2. package/dist-cjs/runtimeConfig.browser.js +2 -2
  3. package/dist-cjs/runtimeConfig.js +3 -4
  4. package/dist-es/SimSpaceWeaverClient.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 +38 -233
  8. package/dist-types/SimSpaceWeaver.d.ts +1 -1
  9. package/dist-types/SimSpaceWeaverClient.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/CreateSnapshotCommand.d.ts +3 -3
  13. package/dist-types/commands/DeleteAppCommand.d.ts +3 -3
  14. package/dist-types/commands/DeleteSimulationCommand.d.ts +3 -3
  15. package/dist-types/commands/DescribeAppCommand.d.ts +3 -3
  16. package/dist-types/commands/DescribeSimulationCommand.d.ts +3 -3
  17. package/dist-types/commands/ListAppsCommand.d.ts +3 -3
  18. package/dist-types/commands/ListSimulationsCommand.d.ts +3 -3
  19. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -3
  20. package/dist-types/commands/StartAppCommand.d.ts +3 -3
  21. package/dist-types/commands/StartClockCommand.d.ts +3 -3
  22. package/dist-types/commands/StartSimulationCommand.d.ts +3 -3
  23. package/dist-types/commands/StopAppCommand.d.ts +3 -3
  24. package/dist-types/commands/StopClockCommand.d.ts +3 -3
  25. package/dist-types/commands/StopSimulationCommand.d.ts +3 -3
  26. package/dist-types/commands/TagResourceCommand.d.ts +3 -3
  27. package/dist-types/commands/UntagResourceCommand.d.ts +3 -3
  28. package/dist-types/endpoint/EndpointParameters.d.ts +13 -1
  29. package/dist-types/endpoint/endpointResolver.d.ts +5 -2
  30. package/dist-types/extensionConfiguration.d.ts +4 -4
  31. package/dist-types/models/SimSpaceWeaverServiceException.d.ts +1 -1
  32. package/dist-types/models/errors.d.ts +1 -1
  33. package/dist-types/pagination/Interfaces.d.ts +1 -1
  34. package/dist-types/pagination/ListAppsPaginator.d.ts +1 -1
  35. package/dist-types/pagination/ListSimulationsPaginator.d.ts +1 -1
  36. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  37. package/dist-types/runtimeConfig.d.ts +1 -1
  38. package/dist-types/runtimeConfig.native.d.ts +1 -1
  39. package/dist-types/runtimeConfig.shared.d.ts +1 -1
  40. package/dist-types/runtimeExtensions.d.ts +1 -1
  41. package/dist-types/schemas/schemas_0.d.ts +1 -1
  42. package/dist-types/ts3.4/SimSpaceWeaverClient.d.ts +3 -3
  43. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
  44. package/dist-types/ts3.4/models/SimSpaceWeaverServiceException.d.ts +1 -1
  45. package/package.json +13 -12
package/dist-cjs/index.js CHANGED
@@ -344,30 +344,10 @@ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.simspaceweaver";
344
344
  const _tK = "tagKeys";
345
345
  const n0 = "com.amazonaws.simspaceweaver";
346
346
  var ClientToken = [0, n0, _CT, 8, 0];
347
- var AccessDeniedException = [
348
- -3,
349
- n0,
350
- _ADE,
351
- {
352
- [_e]: _c,
353
- [_hE]: 403,
354
- },
355
- [_M],
356
- [0],
357
- ];
347
+ var AccessDeniedException = [-3, n0, _ADE, { [_e]: _c, [_hE]: 403 }, [_M], [0]];
358
348
  schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
359
349
  var CloudWatchLogsLogGroup = [3, n0, _CWLLG, 0, [_LGA], [0]];
360
- var ConflictException = [
361
- -3,
362
- n0,
363
- _CE,
364
- {
365
- [_e]: _c,
366
- [_hE]: 409,
367
- },
368
- [_M],
369
- [0],
370
- ];
350
+ var ConflictException = [-3, n0, _CE, { [_e]: _c, [_hE]: 409 }, [_M], [0]];
371
351
  schema.TypeRegistry.for(n0).registerError(ConflictException, ConflictException$1);
372
352
  var CreateSnapshotInput = [3, n0, _CSI, 0, [_S, _D], [0, () => S3Destination]];
373
353
  var CreateSnapshotOutput = [3, n0, _CSO, 0, [], []];
@@ -378,42 +358,13 @@ var DeleteAppInput = [
378
358
  0,
379
359
  [_S, _Do, _A],
380
360
  [
381
- [
382
- 0,
383
- {
384
- [_hQ]: _s,
385
- },
386
- ],
387
- [
388
- 0,
389
- {
390
- [_hQ]: _d,
391
- },
392
- ],
393
- [
394
- 0,
395
- {
396
- [_hQ]: _a,
397
- },
398
- ],
361
+ [0, { [_hQ]: _s }],
362
+ [0, { [_hQ]: _d }],
363
+ [0, { [_hQ]: _a }],
399
364
  ],
400
365
  ];
401
366
  var DeleteAppOutput = [3, n0, _DAO, 0, [], []];
402
- var DeleteSimulationInput = [
403
- 3,
404
- n0,
405
- _DSI,
406
- 0,
407
- [_S],
408
- [
409
- [
410
- 0,
411
- {
412
- [_hQ]: _s,
413
- },
414
- ],
415
- ],
416
- ];
367
+ var DeleteSimulationInput = [3, n0, _DSI, 0, [_S], [[0, { [_hQ]: _s }]]];
417
368
  var DeleteSimulationOutput = [3, n0, _DSO, 0, [], []];
418
369
  var DescribeAppInput = [
419
370
  3,
@@ -422,24 +373,9 @@ var DescribeAppInput = [
422
373
  0,
423
374
  [_S, _Do, _A],
424
375
  [
425
- [
426
- 0,
427
- {
428
- [_hQ]: _s,
429
- },
430
- ],
431
- [
432
- 0,
433
- {
434
- [_hQ]: _d,
435
- },
436
- ],
437
- [
438
- 0,
439
- {
440
- [_hQ]: _a,
441
- },
442
- ],
376
+ [0, { [_hQ]: _s }],
377
+ [0, { [_hQ]: _d }],
378
+ [0, { [_hQ]: _a }],
443
379
  ],
444
380
  ];
445
381
  var DescribeAppOutput = [
@@ -450,21 +386,7 @@ var DescribeAppOutput = [
450
386
  [_N, _S, _Do, _St, _TS, _LO, _De, _EI],
451
387
  [0, 0, 0, 0, 0, () => LaunchOverrides, 0, () => SimulationAppEndpointInfo],
452
388
  ];
453
- var DescribeSimulationInput = [
454
- 3,
455
- n0,
456
- _DSIe,
457
- 0,
458
- [_S],
459
- [
460
- [
461
- 0,
462
- {
463
- [_hQ]: _s,
464
- },
465
- ],
466
- ],
467
- ];
389
+ var DescribeSimulationInput = [3, n0, _DSIe, 0, [_S], [[0, { [_hQ]: _s }]]];
468
390
  var DescribeSimulationOutput = [
469
391
  3,
470
392
  n0,
@@ -490,17 +412,7 @@ var DescribeSimulationOutput = [
490
412
  ],
491
413
  ];
492
414
  var Domain = [3, n0, _Do, 0, [_N, _L], [0, 0]];
493
- var InternalServerException = [
494
- -3,
495
- n0,
496
- _ISE,
497
- {
498
- [_e]: _se,
499
- [_hE]: 500,
500
- },
501
- [_M],
502
- [0],
503
- ];
415
+ var InternalServerException = [-3, n0, _ISE, { [_e]: _se, [_hE]: 500 }, [_M], [0]];
504
416
  schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
505
417
  var LaunchOverrides = [3, n0, _LO, 0, [_LCa], [64 | 0]];
506
418
  var ListAppsInput = [
@@ -510,30 +422,10 @@ var ListAppsInput = [
510
422
  0,
511
423
  [_S, _Do, _MR, _NT],
512
424
  [
513
- [
514
- 0,
515
- {
516
- [_hQ]: _s,
517
- },
518
- ],
519
- [
520
- 0,
521
- {
522
- [_hQ]: _d,
523
- },
524
- ],
525
- [
526
- 1,
527
- {
528
- [_hQ]: _mR,
529
- },
530
- ],
531
- [
532
- 0,
533
- {
534
- [_hQ]: _nT,
535
- },
536
- ],
425
+ [0, { [_hQ]: _s }],
426
+ [0, { [_hQ]: _d }],
427
+ [1, { [_hQ]: _mR }],
428
+ [0, { [_hQ]: _nT }],
537
429
  ],
538
430
  ];
539
431
  var ListAppsOutput = [3, n0, _LAO, 0, [_Ap, _NT], [() => SimulationAppList, 0]];
@@ -544,18 +436,8 @@ var ListSimulationsInput = [
544
436
  0,
545
437
  [_MR, _NT],
546
438
  [
547
- [
548
- 1,
549
- {
550
- [_hQ]: _mR,
551
- },
552
- ],
553
- [
554
- 0,
555
- {
556
- [_hQ]: _nT,
557
- },
558
- ],
439
+ [1, { [_hQ]: _mR }],
440
+ [0, { [_hQ]: _nT }],
559
441
  ],
560
442
  ];
561
443
  var ListSimulationsOutput = [3, n0, _LSO, 0, [_Si, _NT], [() => SimulationList, 0]];
@@ -571,31 +453,11 @@ var LiveSimulationState = [
571
453
  ];
572
454
  var LogDestination = [3, n0, _LD, 0, [_CWLLG], [() => CloudWatchLogsLogGroup]];
573
455
  var LoggingConfiguration = [3, n0, _LC, 0, [_Des], [() => LogDestinations]];
574
- var ResourceNotFoundException = [
575
- -3,
576
- n0,
577
- _RNFE,
578
- {
579
- [_e]: _c,
580
- [_hE]: 404,
581
- },
582
- [_M],
583
- [0],
584
- ];
456
+ var ResourceNotFoundException = [-3, n0, _RNFE, { [_e]: _c, [_hE]: 404 }, [_M], [0]];
585
457
  schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
586
458
  var S3Destination = [3, n0, _SD, 0, [_BN, _OKP], [0, 0]];
587
459
  var S3Location = [3, n0, _SL, 0, [_BN, _OK], [0, 0]];
588
- var ServiceQuotaExceededException = [
589
- -3,
590
- n0,
591
- _SQEE,
592
- {
593
- [_e]: _c,
594
- [_hE]: 402,
595
- },
596
- [_M],
597
- [0],
598
- ];
460
+ var ServiceQuotaExceededException = [-3, n0, _SQEE, { [_e]: _c, [_hE]: 402 }, [_M], [0]];
599
461
  schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException, ServiceQuotaExceededException$1);
600
462
  var SimulationAppEndpointInfo = [
601
463
  3,
@@ -637,17 +499,7 @@ var StopSimulationInput = [3, n0, _SSIt, 0, [_S], [0]];
637
499
  var StopSimulationOutput = [3, n0, _SSOt, 0, [], []];
638
500
  var TagResourceInput = [3, n0, _TRI, 0, [_RAe, _T], [[0, 1], 128 | 0]];
639
501
  var TagResourceOutput = [3, n0, _TRO, 0, [], []];
640
- var TooManyTagsException = [
641
- -3,
642
- n0,
643
- _TMTE,
644
- {
645
- [_e]: _c,
646
- [_hE]: 400,
647
- },
648
- [_M],
649
- [0],
650
- ];
502
+ var TooManyTagsException = [-3, n0, _TMTE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
651
503
  schema.TypeRegistry.for(n0).registerError(TooManyTagsException, TooManyTagsException$1);
652
504
  var UntagResourceInput = [
653
505
  3,
@@ -657,26 +509,11 @@ var UntagResourceInput = [
657
509
  [_RAe, _TK],
658
510
  [
659
511
  [0, 1],
660
- [
661
- 64 | 0,
662
- {
663
- [_hQ]: _tK,
664
- },
665
- ],
512
+ [64 | 0, { [_hQ]: _tK }],
666
513
  ],
667
514
  ];
668
515
  var UntagResourceOutput = [3, n0, _URO, 0, [], []];
669
- var ValidationException = [
670
- -3,
671
- n0,
672
- _VE,
673
- {
674
- [_e]: _c,
675
- [_hE]: 400,
676
- },
677
- [_M],
678
- [0],
679
- ];
516
+ var ValidationException = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
680
517
  schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
681
518
  var SimSpaceWeaverServiceException = [-3, _sm, "SimSpaceWeaverServiceException", 0, [], []];
682
519
  schema.TypeRegistry.for(_sm).registerError(SimSpaceWeaverServiceException, SimSpaceWeaverServiceException$1);
@@ -690,9 +527,7 @@ var CreateSnapshot = [
690
527
  9,
691
528
  n0,
692
529
  _CS,
693
- {
694
- [_h]: ["POST", "/createsnapshot", 200],
695
- },
530
+ { [_h]: ["POST", "/createsnapshot", 200] },
696
531
  () => CreateSnapshotInput,
697
532
  () => CreateSnapshotOutput,
698
533
  ];
@@ -700,9 +535,7 @@ var DeleteApp = [
700
535
  9,
701
536
  n0,
702
537
  _DA,
703
- {
704
- [_h]: ["DELETE", "/deleteapp", 200],
705
- },
538
+ { [_h]: ["DELETE", "/deleteapp", 200] },
706
539
  () => DeleteAppInput,
707
540
  () => DeleteAppOutput,
708
541
  ];
@@ -710,9 +543,7 @@ var DeleteSimulation = [
710
543
  9,
711
544
  n0,
712
545
  _DS,
713
- {
714
- [_h]: ["DELETE", "/deletesimulation", 200],
715
- },
546
+ { [_h]: ["DELETE", "/deletesimulation", 200] },
716
547
  () => DeleteSimulationInput,
717
548
  () => DeleteSimulationOutput,
718
549
  ];
@@ -720,9 +551,7 @@ var DescribeApp = [
720
551
  9,
721
552
  n0,
722
553
  _DAe,
723
- {
724
- [_h]: ["GET", "/describeapp", 200],
725
- },
554
+ { [_h]: ["GET", "/describeapp", 200] },
726
555
  () => DescribeAppInput,
727
556
  () => DescribeAppOutput,
728
557
  ];
@@ -730,9 +559,7 @@ var DescribeSimulation = [
730
559
  9,
731
560
  n0,
732
561
  _DSe,
733
- {
734
- [_h]: ["GET", "/describesimulation", 200],
735
- },
562
+ { [_h]: ["GET", "/describesimulation", 200] },
736
563
  () => DescribeSimulationInput,
737
564
  () => DescribeSimulationOutput,
738
565
  ];
@@ -740,9 +567,7 @@ var ListApps = [
740
567
  9,
741
568
  n0,
742
569
  _LA,
743
- {
744
- [_h]: ["GET", "/listapps", 200],
745
- },
570
+ { [_h]: ["GET", "/listapps", 200] },
746
571
  () => ListAppsInput,
747
572
  () => ListAppsOutput,
748
573
  ];
@@ -750,9 +575,7 @@ var ListSimulations = [
750
575
  9,
751
576
  n0,
752
577
  _LS,
753
- {
754
- [_h]: ["GET", "/listsimulations", 200],
755
- },
578
+ { [_h]: ["GET", "/listsimulations", 200] },
756
579
  () => ListSimulationsInput,
757
580
  () => ListSimulationsOutput,
758
581
  ];
@@ -760,9 +583,7 @@ var ListTagsForResource = [
760
583
  9,
761
584
  n0,
762
585
  _LTFR,
763
- {
764
- [_h]: ["GET", "/tags/{ResourceArn}", 200],
765
- },
586
+ { [_h]: ["GET", "/tags/{ResourceArn}", 200] },
766
587
  () => ListTagsForResourceInput,
767
588
  () => ListTagsForResourceOutput,
768
589
  ];
@@ -770,9 +591,7 @@ var StartApp = [
770
591
  9,
771
592
  n0,
772
593
  _SA,
773
- {
774
- [_h]: ["POST", "/startapp", 200],
775
- },
594
+ { [_h]: ["POST", "/startapp", 200] },
776
595
  () => StartAppInput,
777
596
  () => StartAppOutput,
778
597
  ];
@@ -780,9 +599,7 @@ var StartClock = [
780
599
  9,
781
600
  n0,
782
601
  _SCt,
783
- {
784
- [_h]: ["POST", "/startclock", 200],
785
- },
602
+ { [_h]: ["POST", "/startclock", 200] },
786
603
  () => StartClockInput,
787
604
  () => StartClockOutput,
788
605
  ];
@@ -790,9 +607,7 @@ var StartSimulation = [
790
607
  9,
791
608
  n0,
792
609
  _SS,
793
- {
794
- [_h]: ["POST", "/startsimulation", 200],
795
- },
610
+ { [_h]: ["POST", "/startsimulation", 200] },
796
611
  () => StartSimulationInput,
797
612
  () => StartSimulationOutput,
798
613
  ];
@@ -800,9 +615,7 @@ var StopApp = [
800
615
  9,
801
616
  n0,
802
617
  _SAt,
803
- {
804
- [_h]: ["POST", "/stopapp", 200],
805
- },
618
+ { [_h]: ["POST", "/stopapp", 200] },
806
619
  () => StopAppInput,
807
620
  () => StopAppOutput,
808
621
  ];
@@ -810,9 +623,7 @@ var StopClock = [
810
623
  9,
811
624
  n0,
812
625
  _SCto,
813
- {
814
- [_h]: ["POST", "/stopclock", 200],
815
- },
626
+ { [_h]: ["POST", "/stopclock", 200] },
816
627
  () => StopClockInput,
817
628
  () => StopClockOutput,
818
629
  ];
@@ -820,9 +631,7 @@ var StopSimulation = [
820
631
  9,
821
632
  n0,
822
633
  _SSt,
823
- {
824
- [_h]: ["POST", "/stopsimulation", 200],
825
- },
634
+ { [_h]: ["POST", "/stopsimulation", 200] },
826
635
  () => StopSimulationInput,
827
636
  () => StopSimulationOutput,
828
637
  ];
@@ -830,9 +639,7 @@ var TagResource = [
830
639
  9,
831
640
  n0,
832
641
  _TR,
833
- {
834
- [_h]: ["POST", "/tags/{ResourceArn}", 200],
835
- },
642
+ { [_h]: ["POST", "/tags/{ResourceArn}", 200] },
836
643
  () => TagResourceInput,
837
644
  () => TagResourceOutput,
838
645
  ];
@@ -840,9 +647,7 @@ var UntagResource = [
840
647
  9,
841
648
  n0,
842
649
  _UR,
843
- {
844
- [_h]: ["DELETE", "/tags/{ResourceArn}", 200],
845
- },
650
+ { [_h]: ["DELETE", "/tags/{ResourceArn}", 200] },
846
651
  () => UntagResourceInput,
847
652
  () => UntagResourceOutput,
848
653
  ];
@@ -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 { defaultSimSpaceWeaverHttpAuthSchemeParametersProvider, 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);