@aws-sdk/client-route53profiles 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 (46) hide show
  1. package/dist-cjs/index.js +36 -208
  2. package/dist-cjs/runtimeConfig.browser.js +2 -2
  3. package/dist-cjs/runtimeConfig.js +3 -4
  4. package/dist-es/Route53ProfilesClient.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 -208
  8. package/dist-types/Route53Profiles.d.ts +1 -1
  9. package/dist-types/Route53ProfilesClient.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/AssociateProfileCommand.d.ts +3 -3
  13. package/dist-types/commands/AssociateResourceToProfileCommand.d.ts +3 -3
  14. package/dist-types/commands/CreateProfileCommand.d.ts +3 -3
  15. package/dist-types/commands/DeleteProfileCommand.d.ts +3 -3
  16. package/dist-types/commands/DisassociateProfileCommand.d.ts +3 -3
  17. package/dist-types/commands/DisassociateResourceFromProfileCommand.d.ts +3 -3
  18. package/dist-types/commands/GetProfileAssociationCommand.d.ts +3 -3
  19. package/dist-types/commands/GetProfileCommand.d.ts +3 -3
  20. package/dist-types/commands/GetProfileResourceAssociationCommand.d.ts +3 -3
  21. package/dist-types/commands/ListProfileAssociationsCommand.d.ts +3 -3
  22. package/dist-types/commands/ListProfileResourceAssociationsCommand.d.ts +3 -3
  23. package/dist-types/commands/ListProfilesCommand.d.ts +3 -3
  24. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -3
  25. package/dist-types/commands/TagResourceCommand.d.ts +3 -3
  26. package/dist-types/commands/UntagResourceCommand.d.ts +3 -3
  27. package/dist-types/commands/UpdateProfileResourceAssociationCommand.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/Route53ProfilesServiceException.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/ListProfileAssociationsPaginator.d.ts +1 -1
  35. package/dist-types/pagination/ListProfileResourceAssociationsPaginator.d.ts +1 -1
  36. package/dist-types/pagination/ListProfilesPaginator.d.ts +1 -1
  37. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  38. package/dist-types/runtimeConfig.d.ts +1 -1
  39. package/dist-types/runtimeConfig.native.d.ts +1 -1
  40. package/dist-types/runtimeConfig.shared.d.ts +1 -1
  41. package/dist-types/runtimeExtensions.d.ts +1 -1
  42. package/dist-types/schemas/schemas_0.d.ts +1 -1
  43. package/dist-types/ts3.4/Route53ProfilesClient.d.ts +3 -3
  44. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
  45. package/dist-types/ts3.4/models/Route53ProfilesServiceException.d.ts +1 -1
  46. package/package.json +13 -12
package/dist-cjs/index.js CHANGED
@@ -371,16 +371,7 @@ const _rT = "resourceType";
371
371
  const _s = "smithy.ts.sdk.synthetic.com.amazonaws.route53profiles";
372
372
  const _tK = "tagKeys";
373
373
  const n0 = "com.amazonaws.route53profiles";
374
- var AccessDeniedException = [
375
- -3,
376
- n0,
377
- _ADE,
378
- {
379
- [_e]: _c,
380
- },
381
- [_M],
382
- [0],
383
- ];
374
+ var AccessDeniedException = [-3, n0, _ADE, { [_e]: _c }, [_M], [0]];
384
375
  schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
385
376
  var AssociateProfileRequest = [
386
377
  3,
@@ -407,16 +398,7 @@ var AssociateResourceToProfileResponse = [
407
398
  [_PRA],
408
399
  [() => ProfileResourceAssociation],
409
400
  ];
410
- var ConflictException = [
411
- -3,
412
- n0,
413
- _CE,
414
- {
415
- [_e]: _c,
416
- },
417
- [_M],
418
- [0],
419
- ];
401
+ var ConflictException = [-3, n0, _CE, { [_e]: _c }, [_M], [0]];
420
402
  schema.TypeRegistry.for(n0).registerError(ConflictException, ConflictException$1);
421
403
  var CreateProfileRequest = [3, n0, _CPR, 0, [_N, _CT, _T], [0, [0, 4], () => TagList]];
422
404
  var CreateProfileResponse = [3, n0, _CPRr, 0, [_P], [() => Profile]];
@@ -466,49 +448,13 @@ var GetProfileResourceAssociationResponse = [
466
448
  [() => ProfileResourceAssociation],
467
449
  ];
468
450
  var GetProfileResponse = [3, n0, _GPRe, 0, [_P], [() => Profile]];
469
- var InternalServiceErrorException = [
470
- -3,
471
- n0,
472
- _ISEE,
473
- {
474
- [_e]: _c,
475
- },
476
- [_M],
477
- [0],
478
- ];
451
+ var InternalServiceErrorException = [-3, n0, _ISEE, { [_e]: _c }, [_M], [0]];
479
452
  schema.TypeRegistry.for(n0).registerError(InternalServiceErrorException, InternalServiceErrorException$1);
480
- var InvalidNextTokenException = [
481
- -3,
482
- n0,
483
- _INTE,
484
- {
485
- [_e]: _c,
486
- },
487
- [_M],
488
- [0],
489
- ];
453
+ var InvalidNextTokenException = [-3, n0, _INTE, { [_e]: _c }, [_M], [0]];
490
454
  schema.TypeRegistry.for(n0).registerError(InvalidNextTokenException, InvalidNextTokenException$1);
491
- var InvalidParameterException = [
492
- -3,
493
- n0,
494
- _IPE,
495
- {
496
- [_e]: _c,
497
- },
498
- [_M, _FN],
499
- [0, 0],
500
- ];
455
+ var InvalidParameterException = [-3, n0, _IPE, { [_e]: _c }, [_M, _FN], [0, 0]];
501
456
  schema.TypeRegistry.for(n0).registerError(InvalidParameterException, InvalidParameterException$1);
502
- var LimitExceededException = [
503
- -3,
504
- n0,
505
- _LEE,
506
- {
507
- [_e]: _c,
508
- },
509
- [_M, _RT],
510
- [0, 0],
511
- ];
457
+ var LimitExceededException = [-3, n0, _LEE, { [_e]: _c }, [_M, _RT], [0, 0]];
512
458
  schema.TypeRegistry.for(n0).registerError(LimitExceededException, LimitExceededException$1);
513
459
  var ListProfileAssociationsRequest = [
514
460
  3,
@@ -517,30 +463,10 @@ var ListProfileAssociationsRequest = [
517
463
  0,
518
464
  [_RI, _PI, _MR, _NT],
519
465
  [
520
- [
521
- 0,
522
- {
523
- [_hQ]: _rI,
524
- },
525
- ],
526
- [
527
- 0,
528
- {
529
- [_hQ]: _pI,
530
- },
531
- ],
532
- [
533
- 1,
534
- {
535
- [_hQ]: _mR,
536
- },
537
- ],
538
- [
539
- 0,
540
- {
541
- [_hQ]: _nT,
542
- },
543
- ],
466
+ [0, { [_hQ]: _rI }],
467
+ [0, { [_hQ]: _pI }],
468
+ [1, { [_hQ]: _mR }],
469
+ [0, { [_hQ]: _nT }],
544
470
  ],
545
471
  ];
546
472
  var ListProfileAssociationsResponse = [
@@ -559,24 +485,9 @@ var ListProfileResourceAssociationsRequest = [
559
485
  [_PI, _RT, _MR, _NT],
560
486
  [
561
487
  [0, 1],
562
- [
563
- 0,
564
- {
565
- [_hQ]: _rT,
566
- },
567
- ],
568
- [
569
- 1,
570
- {
571
- [_hQ]: _mR,
572
- },
573
- ],
574
- [
575
- 0,
576
- {
577
- [_hQ]: _nT,
578
- },
579
- ],
488
+ [0, { [_hQ]: _rT }],
489
+ [1, { [_hQ]: _mR }],
490
+ [0, { [_hQ]: _nT }],
580
491
  ],
581
492
  ];
582
493
  var ListProfileResourceAssociationsResponse = [
@@ -594,18 +505,8 @@ var ListProfilesRequest = [
594
505
  0,
595
506
  [_MR, _NT],
596
507
  [
597
- [
598
- 1,
599
- {
600
- [_hQ]: _mR,
601
- },
602
- ],
603
- [
604
- 0,
605
- {
606
- [_hQ]: _nT,
607
- },
608
- ],
508
+ [1, { [_hQ]: _mR }],
509
+ [0, { [_hQ]: _nT }],
609
510
  ],
610
511
  ];
611
512
  var ListProfilesResponse = [3, n0, _LPRi, 0, [_PS, _NT], [() => ProfileSummaryList, 0]];
@@ -636,41 +537,14 @@ var ProfileResourceAssociation = [
636
537
  [0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 4],
637
538
  ];
638
539
  var ProfileSummary = [3, n0, _PSr, 0, [_I, _A, _N, _SS], [0, 0, 0, 0]];
639
- var ResourceExistsException = [
640
- -3,
641
- n0,
642
- _REE,
643
- {
644
- [_e]: _c,
645
- },
646
- [_M, _RT],
647
- [0, 0],
648
- ];
540
+ var ResourceExistsException = [-3, n0, _REE, { [_e]: _c }, [_M, _RT], [0, 0]];
649
541
  schema.TypeRegistry.for(n0).registerError(ResourceExistsException, ResourceExistsException$1);
650
- var ResourceNotFoundException = [
651
- -3,
652
- n0,
653
- _RNFE,
654
- {
655
- [_e]: _c,
656
- },
657
- [_M, _RT],
658
- [0, 0],
659
- ];
542
+ var ResourceNotFoundException = [-3, n0, _RNFE, { [_e]: _c }, [_M, _RT], [0, 0]];
660
543
  schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
661
544
  var Tag = [3, n0, _Ta, 0, [_K, _V], [0, 0]];
662
545
  var TagResourceRequest = [3, n0, _TRR, 0, [_RA, _T], [[0, 1], 128 | 0]];
663
546
  var TagResourceResponse = [3, n0, _TRRa, 0, [], []];
664
- var ThrottlingException = [
665
- -3,
666
- n0,
667
- _TE,
668
- {
669
- [_e]: _c,
670
- },
671
- [_M],
672
- [0],
673
- ];
547
+ var ThrottlingException = [-3, n0, _TE, { [_e]: _c }, [_M], [0]];
674
548
  schema.TypeRegistry.for(n0).registerError(ThrottlingException, ThrottlingException$1);
675
549
  var UntagResourceRequest = [
676
550
  3,
@@ -680,12 +554,7 @@ var UntagResourceRequest = [
680
554
  [_RA, _TK],
681
555
  [
682
556
  [0, 1],
683
- [
684
- 64 | 0,
685
- {
686
- [_hQ]: _tK,
687
- },
688
- ],
557
+ [64 | 0, { [_hQ]: _tK }],
689
558
  ],
690
559
  ];
691
560
  var UntagResourceResponse = [3, n0, _URRn, 0, [], []];
@@ -705,16 +574,7 @@ var UpdateProfileResourceAssociationResponse = [
705
574
  [_PRA],
706
575
  [() => ProfileResourceAssociation],
707
576
  ];
708
- var ValidationException = [
709
- -3,
710
- n0,
711
- _VE,
712
- {
713
- [_e]: _c,
714
- },
715
- [_M],
716
- [0],
717
- ];
577
+ var ValidationException = [-3, n0, _VE, { [_e]: _c }, [_M], [0]];
718
578
  schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
719
579
  var Route53ProfilesServiceException = [-3, _s, "Route53ProfilesServiceException", 0, [], []];
720
580
  schema.TypeRegistry.for(_s).registerError(Route53ProfilesServiceException, Route53ProfilesServiceException$1);
@@ -726,9 +586,7 @@ var AssociateProfile = [
726
586
  9,
727
587
  n0,
728
588
  _AP,
729
- {
730
- [_h]: ["POST", "/profileassociation", 200],
731
- },
589
+ { [_h]: ["POST", "/profileassociation", 200] },
732
590
  () => AssociateProfileRequest,
733
591
  () => AssociateProfileResponse,
734
592
  ];
@@ -736,9 +594,7 @@ var AssociateResourceToProfile = [
736
594
  9,
737
595
  n0,
738
596
  _ARTP,
739
- {
740
- [_h]: ["POST", "/profileresourceassociation", 200],
741
- },
597
+ { [_h]: ["POST", "/profileresourceassociation", 200] },
742
598
  () => AssociateResourceToProfileRequest,
743
599
  () => AssociateResourceToProfileResponse,
744
600
  ];
@@ -746,9 +602,7 @@ var CreateProfile = [
746
602
  9,
747
603
  n0,
748
604
  _CP,
749
- {
750
- [_h]: ["POST", "/profile", 200],
751
- },
605
+ { [_h]: ["POST", "/profile", 200] },
752
606
  () => CreateProfileRequest,
753
607
  () => CreateProfileResponse,
754
608
  ];
@@ -756,9 +610,7 @@ var DeleteProfile = [
756
610
  9,
757
611
  n0,
758
612
  _DP,
759
- {
760
- [_h]: ["DELETE", "/profile/{ProfileId}", 200],
761
- },
613
+ { [_h]: ["DELETE", "/profile/{ProfileId}", 200] },
762
614
  () => DeleteProfileRequest,
763
615
  () => DeleteProfileResponse,
764
616
  ];
@@ -766,9 +618,7 @@ var DisassociateProfile = [
766
618
  9,
767
619
  n0,
768
620
  _DPi,
769
- {
770
- [_h]: ["DELETE", "/profileassociation/Profileid/{ProfileId}/resourceid/{ResourceId}", 200],
771
- },
621
+ { [_h]: ["DELETE", "/profileassociation/Profileid/{ProfileId}/resourceid/{ResourceId}", 200] },
772
622
  () => DisassociateProfileRequest,
773
623
  () => DisassociateProfileResponse,
774
624
  ];
@@ -776,9 +626,7 @@ var DisassociateResourceFromProfile = [
776
626
  9,
777
627
  n0,
778
628
  _DRFP,
779
- {
780
- [_h]: ["DELETE", "/profileresourceassociation/profileid/{ProfileId}/resourcearn/{ResourceArn}", 200],
781
- },
629
+ { [_h]: ["DELETE", "/profileresourceassociation/profileid/{ProfileId}/resourcearn/{ResourceArn}", 200] },
782
630
  () => DisassociateResourceFromProfileRequest,
783
631
  () => DisassociateResourceFromProfileResponse,
784
632
  ];
@@ -786,9 +634,7 @@ var GetProfile = [
786
634
  9,
787
635
  n0,
788
636
  _GP,
789
- {
790
- [_h]: ["GET", "/profile/{ProfileId}", 200],
791
- },
637
+ { [_h]: ["GET", "/profile/{ProfileId}", 200] },
792
638
  () => GetProfileRequest,
793
639
  () => GetProfileResponse,
794
640
  ];
@@ -796,9 +642,7 @@ var GetProfileAssociation = [
796
642
  9,
797
643
  n0,
798
644
  _GPA,
799
- {
800
- [_h]: ["GET", "/profileassociation/{ProfileAssociationId}", 200],
801
- },
645
+ { [_h]: ["GET", "/profileassociation/{ProfileAssociationId}", 200] },
802
646
  () => GetProfileAssociationRequest,
803
647
  () => GetProfileAssociationResponse,
804
648
  ];
@@ -806,9 +650,7 @@ var GetProfileResourceAssociation = [
806
650
  9,
807
651
  n0,
808
652
  _GPRA,
809
- {
810
- [_h]: ["GET", "/profileresourceassociation/{ProfileResourceAssociationId}", 200],
811
- },
653
+ { [_h]: ["GET", "/profileresourceassociation/{ProfileResourceAssociationId}", 200] },
812
654
  () => GetProfileResourceAssociationRequest,
813
655
  () => GetProfileResourceAssociationResponse,
814
656
  ];
@@ -816,9 +658,7 @@ var ListProfileAssociations = [
816
658
  9,
817
659
  n0,
818
660
  _LPA,
819
- {
820
- [_h]: ["GET", "/profileassociations", 200],
821
- },
661
+ { [_h]: ["GET", "/profileassociations", 200] },
822
662
  () => ListProfileAssociationsRequest,
823
663
  () => ListProfileAssociationsResponse,
824
664
  ];
@@ -826,9 +666,7 @@ var ListProfileResourceAssociations = [
826
666
  9,
827
667
  n0,
828
668
  _LPRA,
829
- {
830
- [_h]: ["GET", "/profileresourceassociations/profileid/{ProfileId}", 200],
831
- },
669
+ { [_h]: ["GET", "/profileresourceassociations/profileid/{ProfileId}", 200] },
832
670
  () => ListProfileResourceAssociationsRequest,
833
671
  () => ListProfileResourceAssociationsResponse,
834
672
  ];
@@ -836,9 +674,7 @@ var ListProfiles = [
836
674
  9,
837
675
  n0,
838
676
  _LP,
839
- {
840
- [_h]: ["GET", "/profiles", 200],
841
- },
677
+ { [_h]: ["GET", "/profiles", 200] },
842
678
  () => ListProfilesRequest,
843
679
  () => ListProfilesResponse,
844
680
  ];
@@ -846,9 +682,7 @@ var ListTagsForResource = [
846
682
  9,
847
683
  n0,
848
684
  _LTFR,
849
- {
850
- [_h]: ["GET", "/tags/{ResourceArn}", 200],
851
- },
685
+ { [_h]: ["GET", "/tags/{ResourceArn}", 200] },
852
686
  () => ListTagsForResourceRequest,
853
687
  () => ListTagsForResourceResponse,
854
688
  ];
@@ -856,9 +690,7 @@ var TagResource = [
856
690
  9,
857
691
  n0,
858
692
  _TR,
859
- {
860
- [_h]: ["POST", "/tags/{ResourceArn}", 204],
861
- },
693
+ { [_h]: ["POST", "/tags/{ResourceArn}", 204] },
862
694
  () => TagResourceRequest,
863
695
  () => TagResourceResponse,
864
696
  ];
@@ -866,9 +698,7 @@ var UntagResource = [
866
698
  9,
867
699
  n0,
868
700
  _UR,
869
- {
870
- [_h]: ["DELETE", "/tags/{ResourceArn}", 204],
871
- },
701
+ { [_h]: ["DELETE", "/tags/{ResourceArn}", 204] },
872
702
  () => UntagResourceRequest,
873
703
  () => UntagResourceResponse,
874
704
  ];
@@ -876,9 +706,7 @@ var UpdateProfileResourceAssociation = [
876
706
  9,
877
707
  n0,
878
708
  _UPRA,
879
- {
880
- [_h]: ["PATCH", "/profileresourceassociation/{ProfileResourceAssociationId}", 200],
881
- },
709
+ { [_h]: ["PATCH", "/profileresourceassociation/{ProfileResourceAssociationId}", 200] },
882
710
  () => UpdateProfileResourceAssociationRequest,
883
711
  () => UpdateProfileResourceAssociationResponse,
884
712
  ];
@@ -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 { defaultRoute53ProfilesHttpAuthSchemeParametersProvider, 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);