@aws-sdk/client-emr-serverless 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 +37 -199
  2. package/dist-cjs/runtimeConfig.browser.js +2 -2
  3. package/dist-cjs/runtimeConfig.js +3 -4
  4. package/dist-es/EMRServerlessClient.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 +37 -199
  8. package/dist-types/EMRServerless.d.ts +1 -1
  9. package/dist-types/EMRServerlessClient.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/CancelJobRunCommand.d.ts +3 -3
  13. package/dist-types/commands/CreateApplicationCommand.d.ts +3 -3
  14. package/dist-types/commands/DeleteApplicationCommand.d.ts +3 -3
  15. package/dist-types/commands/GetApplicationCommand.d.ts +3 -3
  16. package/dist-types/commands/GetDashboardForJobRunCommand.d.ts +3 -3
  17. package/dist-types/commands/GetJobRunCommand.d.ts +3 -3
  18. package/dist-types/commands/ListApplicationsCommand.d.ts +3 -3
  19. package/dist-types/commands/ListJobRunAttemptsCommand.d.ts +3 -3
  20. package/dist-types/commands/ListJobRunsCommand.d.ts +3 -3
  21. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -3
  22. package/dist-types/commands/StartApplicationCommand.d.ts +3 -3
  23. package/dist-types/commands/StartJobRunCommand.d.ts +3 -3
  24. package/dist-types/commands/StopApplicationCommand.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/UpdateApplicationCommand.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/EMRServerlessServiceException.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/ListApplicationsPaginator.d.ts +1 -1
  35. package/dist-types/pagination/ListJobRunAttemptsPaginator.d.ts +1 -1
  36. package/dist-types/pagination/ListJobRunsPaginator.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/EMRServerlessClient.d.ts +3 -3
  44. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
  45. package/dist-types/ts3.4/models/EMRServerlessServiceException.d.ts +1 -1
  46. package/package.json +13 -12
package/dist-cjs/index.js CHANGED
@@ -478,12 +478,7 @@ var CancelJobRunRequest = [
478
478
  [
479
479
  [0, 1],
480
480
  [0, 1],
481
- [
482
- 1,
483
- {
484
- [_hQ]: _sGPIS,
485
- },
486
- ],
481
+ [1, { [_hQ]: _sGPIS }],
487
482
  ],
488
483
  ];
489
484
  var CancelJobRunResponse = [3, n0, _CJRRa, 0, [_aI, _jRI], [0, 0]];
@@ -511,17 +506,7 @@ var ConfigurationOverrides = [
511
506
  [_aC, _mCo],
512
507
  [[() => ConfigurationList, 0], () => MonitoringConfiguration],
513
508
  ];
514
- var ConflictException = [
515
- -3,
516
- n0,
517
- _CE,
518
- {
519
- [_er]: _cl,
520
- [_hE]: 409,
521
- },
522
- [_m],
523
- [0],
524
- ];
509
+ var ConflictException = [-3, n0, _CE, { [_er]: _cl, [_hE]: 409 }, [_m], [0]];
525
510
  schema.TypeRegistry.for(n0).registerError(ConflictException, ConflictException$1);
526
511
  var CreateApplicationRequest = [
527
512
  3,
@@ -564,18 +549,8 @@ var GetDashboardForJobRunRequest = [
564
549
  [
565
550
  [0, 1],
566
551
  [0, 1],
567
- [
568
- 1,
569
- {
570
- [_hQ]: _at,
571
- },
572
- ],
573
- [
574
- 2,
575
- {
576
- [_hQ]: _aSPL,
577
- },
578
- ],
552
+ [1, { [_hQ]: _at }],
553
+ [2, { [_hQ]: _aSPL }],
579
554
  ],
580
555
  ];
581
556
  var GetDashboardForJobRunResponse = [3, n0, _GDFJRRe, 0, [_u], [0]];
@@ -588,12 +563,7 @@ var GetJobRunRequest = [
588
563
  [
589
564
  [0, 1],
590
565
  [0, 1],
591
- [
592
- 1,
593
- {
594
- [_hQ]: _at,
595
- },
596
- ],
566
+ [1, { [_hQ]: _at }],
597
567
  ],
598
568
  ];
599
569
  var GetJobRunResponse = [3, n0, _GJRRe, 0, [_jR], [[() => JobRun, 0]]];
@@ -622,17 +592,7 @@ var InitialCapacityConfig = [
622
592
  [1, () => WorkerResourceConfig],
623
593
  ];
624
594
  var InteractiveConfiguration = [3, n0, _ICn, 0, [_sE, _lEE], [2, 2]];
625
- var InternalServerException = [
626
- -3,
627
- n0,
628
- _ISE,
629
- {
630
- [_er]: _se,
631
- [_hE]: 500,
632
- },
633
- [_m],
634
- [0],
635
- ];
595
+ var InternalServerException = [-3, n0, _ISE, { [_er]: _se, [_hE]: 500 }, [_m], [0]];
636
596
  schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
637
597
  var JobRun = [
638
598
  3,
@@ -724,24 +684,9 @@ var ListApplicationsRequest = [
724
684
  0,
725
685
  [_nT, _mR, _st],
726
686
  [
727
- [
728
- 0,
729
- {
730
- [_hQ]: _nT,
731
- },
732
- ],
733
- [
734
- 1,
735
- {
736
- [_hQ]: _mR,
737
- },
738
- ],
739
- [
740
- 64 | 0,
741
- {
742
- [_hQ]: _st,
743
- },
744
- ],
687
+ [0, { [_hQ]: _nT }],
688
+ [1, { [_hQ]: _mR }],
689
+ [64 | 0, { [_hQ]: _st }],
745
690
  ],
746
691
  ];
747
692
  var ListApplicationsResponse = [3, n0, _LARi, 0, [_app, _nT], [() => ApplicationList, 0]];
@@ -754,18 +699,8 @@ var ListJobRunAttemptsRequest = [
754
699
  [
755
700
  [0, 1],
756
701
  [0, 1],
757
- [
758
- 0,
759
- {
760
- [_hQ]: _nT,
761
- },
762
- ],
763
- [
764
- 1,
765
- {
766
- [_hQ]: _mR,
767
- },
768
- ],
702
+ [0, { [_hQ]: _nT }],
703
+ [1, { [_hQ]: _mR }],
769
704
  ],
770
705
  ];
771
706
  var ListJobRunAttemptsResponse = [
@@ -784,42 +719,12 @@ var ListJobRunsRequest = [
784
719
  [_aI, _nT, _mR, _cAA, _cAB, _st, _mo],
785
720
  [
786
721
  [0, 1],
787
- [
788
- 0,
789
- {
790
- [_hQ]: _nT,
791
- },
792
- ],
793
- [
794
- 1,
795
- {
796
- [_hQ]: _mR,
797
- },
798
- ],
799
- [
800
- 4,
801
- {
802
- [_hQ]: _cAA,
803
- },
804
- ],
805
- [
806
- 4,
807
- {
808
- [_hQ]: _cAB,
809
- },
810
- ],
811
- [
812
- 64 | 0,
813
- {
814
- [_hQ]: _st,
815
- },
816
- ],
817
- [
818
- 0,
819
- {
820
- [_hQ]: _mo,
821
- },
822
- ],
722
+ [0, { [_hQ]: _nT }],
723
+ [1, { [_hQ]: _mR }],
724
+ [4, { [_hQ]: _cAA }],
725
+ [4, { [_hQ]: _cAB }],
726
+ [64 | 0, { [_hQ]: _st }],
727
+ [0, { [_hQ]: _mo }],
823
728
  ],
824
729
  ];
825
730
  var ListJobRunsResponse = [3, n0, _LJRRi, 0, [_jRo, _nT], [() => JobRuns, 0]];
@@ -842,33 +747,13 @@ var MonitoringConfiguration = [
842
747
  ];
843
748
  var NetworkConfiguration = [3, n0, _NC, 0, [_sI, _sGI], [64 | 0, 64 | 0]];
844
749
  var PrometheusMonitoringConfiguration = [3, n0, _PMC, 0, [_rWU], [0]];
845
- var ResourceNotFoundException = [
846
- -3,
847
- n0,
848
- _RNFE,
849
- {
850
- [_er]: _cl,
851
- [_hE]: 404,
852
- },
853
- [_m],
854
- [0],
855
- ];
750
+ var ResourceNotFoundException = [-3, n0, _RNFE, { [_er]: _cl, [_hE]: 404 }, [_m], [0]];
856
751
  schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
857
752
  var ResourceUtilization = [3, n0, _RU, 0, [_vCPUH, _mGBH, _sGBH], [1, 1, 1]];
858
753
  var RetryPolicy = [3, n0, _RP, 0, [_mA, _mFAPH], [1, 1]];
859
754
  var S3MonitoringConfiguration = [3, n0, _SMC, 0, [_lU, _eKA], [0, 0]];
860
755
  var SchedulerConfiguration = [3, n0, _SC, 0, [_qTM, _mCR], [1, 1]];
861
- var ServiceQuotaExceededException = [
862
- -3,
863
- n0,
864
- _SQEE,
865
- {
866
- [_er]: _cl,
867
- [_hE]: 402,
868
- },
869
- [_m],
870
- [0],
871
- ];
756
+ var ServiceQuotaExceededException = [-3, n0, _SQEE, { [_er]: _cl, [_hE]: 402 }, [_m], [0]];
872
757
  schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException, ServiceQuotaExceededException$1);
873
758
  var SparkSubmit = [
874
759
  3,
@@ -918,12 +803,7 @@ var UntagResourceRequest = [
918
803
  [_rA, _tK],
919
804
  [
920
805
  [0, 1],
921
- [
922
- 64 | 0,
923
- {
924
- [_hQ]: _tK,
925
- },
926
- ],
806
+ [64 | 0, { [_hQ]: _tK }],
927
807
  ],
928
808
  ];
929
809
  var UntagResourceResponse = [3, n0, _URRn, 0, [], []];
@@ -953,17 +833,7 @@ var UpdateApplicationRequest = [
953
833
  ],
954
834
  ];
955
835
  var UpdateApplicationResponse = [3, n0, _UARp, 0, [_ap], [[() => Application, 0]]];
956
- var ValidationException = [
957
- -3,
958
- n0,
959
- _VE,
960
- {
961
- [_er]: _cl,
962
- [_hE]: 400,
963
- },
964
- [_m],
965
- [0],
966
- ];
836
+ var ValidationException = [-3, n0, _VE, { [_er]: _cl, [_hE]: 400 }, [_m], [0]];
967
837
  schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
968
838
  var WorkerResourceConfig = [3, n0, _WRC, 0, [_cp, _me, _d, _dT], [0, 0, 0, 0]];
969
839
  var WorkerTypeSpecification = [3, n0, _WTS, 0, [_iCm], [() => ImageConfiguration]];
@@ -1001,9 +871,7 @@ var CancelJobRun = [
1001
871
  9,
1002
872
  n0,
1003
873
  _CJR,
1004
- {
1005
- [_ht]: ["DELETE", "/applications/{applicationId}/jobruns/{jobRunId}", 200],
1006
- },
874
+ { [_ht]: ["DELETE", "/applications/{applicationId}/jobruns/{jobRunId}", 200] },
1007
875
  () => CancelJobRunRequest,
1008
876
  () => CancelJobRunResponse,
1009
877
  ];
@@ -1011,9 +879,7 @@ var CreateApplication = [
1011
879
  9,
1012
880
  n0,
1013
881
  _CA,
1014
- {
1015
- [_ht]: ["POST", "/applications", 200],
1016
- },
882
+ { [_ht]: ["POST", "/applications", 200] },
1017
883
  () => CreateApplicationRequest,
1018
884
  () => CreateApplicationResponse,
1019
885
  ];
@@ -1021,9 +887,7 @@ var DeleteApplication = [
1021
887
  9,
1022
888
  n0,
1023
889
  _DA,
1024
- {
1025
- [_ht]: ["DELETE", "/applications/{applicationId}", 200],
1026
- },
890
+ { [_ht]: ["DELETE", "/applications/{applicationId}", 200] },
1027
891
  () => DeleteApplicationRequest,
1028
892
  () => DeleteApplicationResponse,
1029
893
  ];
@@ -1031,9 +895,7 @@ var GetApplication = [
1031
895
  9,
1032
896
  n0,
1033
897
  _GA,
1034
- {
1035
- [_ht]: ["GET", "/applications/{applicationId}", 200],
1036
- },
898
+ { [_ht]: ["GET", "/applications/{applicationId}", 200] },
1037
899
  () => GetApplicationRequest,
1038
900
  () => GetApplicationResponse,
1039
901
  ];
@@ -1041,9 +903,7 @@ var GetDashboardForJobRun = [
1041
903
  9,
1042
904
  n0,
1043
905
  _GDFJR,
1044
- {
1045
- [_ht]: ["GET", "/applications/{applicationId}/jobruns/{jobRunId}/dashboard", 200],
1046
- },
906
+ { [_ht]: ["GET", "/applications/{applicationId}/jobruns/{jobRunId}/dashboard", 200] },
1047
907
  () => GetDashboardForJobRunRequest,
1048
908
  () => GetDashboardForJobRunResponse,
1049
909
  ];
@@ -1051,9 +911,7 @@ var GetJobRun = [
1051
911
  9,
1052
912
  n0,
1053
913
  _GJR,
1054
- {
1055
- [_ht]: ["GET", "/applications/{applicationId}/jobruns/{jobRunId}", 200],
1056
- },
914
+ { [_ht]: ["GET", "/applications/{applicationId}/jobruns/{jobRunId}", 200] },
1057
915
  () => GetJobRunRequest,
1058
916
  () => GetJobRunResponse,
1059
917
  ];
@@ -1061,9 +919,7 @@ var ListApplications = [
1061
919
  9,
1062
920
  n0,
1063
921
  _LA,
1064
- {
1065
- [_ht]: ["GET", "/applications", 200],
1066
- },
922
+ { [_ht]: ["GET", "/applications", 200] },
1067
923
  () => ListApplicationsRequest,
1068
924
  () => ListApplicationsResponse,
1069
925
  ];
@@ -1071,9 +927,7 @@ var ListJobRunAttempts = [
1071
927
  9,
1072
928
  n0,
1073
929
  _LJRA,
1074
- {
1075
- [_ht]: ["GET", "/applications/{applicationId}/jobruns/{jobRunId}/attempts", 200],
1076
- },
930
+ { [_ht]: ["GET", "/applications/{applicationId}/jobruns/{jobRunId}/attempts", 200] },
1077
931
  () => ListJobRunAttemptsRequest,
1078
932
  () => ListJobRunAttemptsResponse,
1079
933
  ];
@@ -1081,9 +935,7 @@ var ListJobRuns = [
1081
935
  9,
1082
936
  n0,
1083
937
  _LJR,
1084
- {
1085
- [_ht]: ["GET", "/applications/{applicationId}/jobruns", 200],
1086
- },
938
+ { [_ht]: ["GET", "/applications/{applicationId}/jobruns", 200] },
1087
939
  () => ListJobRunsRequest,
1088
940
  () => ListJobRunsResponse,
1089
941
  ];
@@ -1091,9 +943,7 @@ var ListTagsForResource = [
1091
943
  9,
1092
944
  n0,
1093
945
  _LTFR,
1094
- {
1095
- [_ht]: ["GET", "/tags/{resourceArn}", 200],
1096
- },
946
+ { [_ht]: ["GET", "/tags/{resourceArn}", 200] },
1097
947
  () => ListTagsForResourceRequest,
1098
948
  () => ListTagsForResourceResponse,
1099
949
  ];
@@ -1101,9 +951,7 @@ var StartApplication = [
1101
951
  9,
1102
952
  n0,
1103
953
  _SA,
1104
- {
1105
- [_ht]: ["POST", "/applications/{applicationId}/start", 200],
1106
- },
954
+ { [_ht]: ["POST", "/applications/{applicationId}/start", 200] },
1107
955
  () => StartApplicationRequest,
1108
956
  () => StartApplicationResponse,
1109
957
  ];
@@ -1111,9 +959,7 @@ var StartJobRun = [
1111
959
  9,
1112
960
  n0,
1113
961
  _SJR,
1114
- {
1115
- [_ht]: ["POST", "/applications/{applicationId}/jobruns", 200],
1116
- },
962
+ { [_ht]: ["POST", "/applications/{applicationId}/jobruns", 200] },
1117
963
  () => StartJobRunRequest,
1118
964
  () => StartJobRunResponse,
1119
965
  ];
@@ -1121,9 +967,7 @@ var StopApplication = [
1121
967
  9,
1122
968
  n0,
1123
969
  _SAt,
1124
- {
1125
- [_ht]: ["POST", "/applications/{applicationId}/stop", 200],
1126
- },
970
+ { [_ht]: ["POST", "/applications/{applicationId}/stop", 200] },
1127
971
  () => StopApplicationRequest,
1128
972
  () => StopApplicationResponse,
1129
973
  ];
@@ -1131,9 +975,7 @@ var TagResource = [
1131
975
  9,
1132
976
  n0,
1133
977
  _TR,
1134
- {
1135
- [_ht]: ["POST", "/tags/{resourceArn}", 200],
1136
- },
978
+ { [_ht]: ["POST", "/tags/{resourceArn}", 200] },
1137
979
  () => TagResourceRequest,
1138
980
  () => TagResourceResponse,
1139
981
  ];
@@ -1141,9 +983,7 @@ var UntagResource = [
1141
983
  9,
1142
984
  n0,
1143
985
  _UR,
1144
- {
1145
- [_ht]: ["DELETE", "/tags/{resourceArn}", 200],
1146
- },
986
+ { [_ht]: ["DELETE", "/tags/{resourceArn}", 200] },
1147
987
  () => UntagResourceRequest,
1148
988
  () => UntagResourceResponse,
1149
989
  ];
@@ -1151,9 +991,7 @@ var UpdateApplication = [
1151
991
  9,
1152
992
  n0,
1153
993
  _UA,
1154
- {
1155
- [_ht]: ["PATCH", "/applications/{applicationId}", 200],
1156
- },
994
+ { [_ht]: ["PATCH", "/applications/{applicationId}", 200] },
1157
995
  () => UpdateApplicationRequest,
1158
996
  () => UpdateApplicationResponse,
1159
997
  ];
@@ -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 { defaultEMRServerlessHttpAuthSchemeParametersProvider, 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);