@aws-sdk/client-kafkaconnect 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 (49) hide show
  1. package/dist-cjs/index.js +40 -231
  2. package/dist-cjs/runtimeConfig.browser.js +2 -2
  3. package/dist-cjs/runtimeConfig.js +3 -4
  4. package/dist-es/KafkaConnectClient.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 +40 -231
  8. package/dist-types/KafkaConnect.d.ts +1 -1
  9. package/dist-types/KafkaConnectClient.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/CreateConnectorCommand.d.ts +3 -3
  13. package/dist-types/commands/CreateCustomPluginCommand.d.ts +3 -3
  14. package/dist-types/commands/CreateWorkerConfigurationCommand.d.ts +3 -3
  15. package/dist-types/commands/DeleteConnectorCommand.d.ts +3 -3
  16. package/dist-types/commands/DeleteCustomPluginCommand.d.ts +3 -3
  17. package/dist-types/commands/DeleteWorkerConfigurationCommand.d.ts +3 -3
  18. package/dist-types/commands/DescribeConnectorCommand.d.ts +3 -3
  19. package/dist-types/commands/DescribeConnectorOperationCommand.d.ts +3 -3
  20. package/dist-types/commands/DescribeCustomPluginCommand.d.ts +3 -3
  21. package/dist-types/commands/DescribeWorkerConfigurationCommand.d.ts +3 -3
  22. package/dist-types/commands/ListConnectorOperationsCommand.d.ts +3 -3
  23. package/dist-types/commands/ListConnectorsCommand.d.ts +3 -3
  24. package/dist-types/commands/ListCustomPluginsCommand.d.ts +3 -3
  25. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -3
  26. package/dist-types/commands/ListWorkerConfigurationsCommand.d.ts +3 -3
  27. package/dist-types/commands/TagResourceCommand.d.ts +3 -3
  28. package/dist-types/commands/UntagResourceCommand.d.ts +3 -3
  29. package/dist-types/commands/UpdateConnectorCommand.d.ts +3 -3
  30. package/dist-types/endpoint/EndpointParameters.d.ts +13 -1
  31. package/dist-types/endpoint/endpointResolver.d.ts +5 -2
  32. package/dist-types/extensionConfiguration.d.ts +4 -4
  33. package/dist-types/models/KafkaConnectServiceException.d.ts +1 -1
  34. package/dist-types/models/errors.d.ts +1 -1
  35. package/dist-types/pagination/Interfaces.d.ts +1 -1
  36. package/dist-types/pagination/ListConnectorOperationsPaginator.d.ts +1 -1
  37. package/dist-types/pagination/ListConnectorsPaginator.d.ts +1 -1
  38. package/dist-types/pagination/ListCustomPluginsPaginator.d.ts +1 -1
  39. package/dist-types/pagination/ListWorkerConfigurationsPaginator.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/KafkaConnectClient.d.ts +3 -3
  47. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
  48. package/dist-types/ts3.4/models/KafkaConnectServiceException.d.ts +1 -1
  49. package/package.json +13 -12
package/dist-cjs/index.js CHANGED
@@ -470,17 +470,7 @@ var AutoScalingUpdate = [
470
470
  [_mWC, _mC, _mWCi, _sIP, _sOP],
471
471
  [1, 1, 1, () => ScaleInPolicyUpdate, () => ScaleOutPolicyUpdate],
472
472
  ];
473
- var BadRequestException = [
474
- -3,
475
- n0,
476
- _BRE,
477
- {
478
- [_e]: _c,
479
- [_hE]: 400,
480
- },
481
- [_m],
482
- [0],
483
- ];
473
+ var BadRequestException = [-3, n0, _BRE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
484
474
  schema.TypeRegistry.for(n0).registerError(BadRequestException, BadRequestException$1);
485
475
  var Capacity = [3, n0, _C, 0, [_aS, _pC], [() => AutoScaling, () => ProvisionedCapacity]];
486
476
  var CapacityDescription = [
@@ -501,17 +491,7 @@ var CapacityUpdate = [
501
491
  ];
502
492
  var CloudWatchLogsLogDelivery = [3, n0, _CWLLD, 0, [_en, _lG], [2, 0]];
503
493
  var CloudWatchLogsLogDeliveryDescription = [3, n0, _CWLLDD, 0, [_en, _lG], [2, 0]];
504
- var ConflictException = [
505
- -3,
506
- n0,
507
- _CE,
508
- {
509
- [_e]: _c,
510
- [_hE]: 409,
511
- },
512
- [_m],
513
- [0],
514
- ];
494
+ var ConflictException = [-3, n0, _CE, { [_e]: _c, [_hE]: 409 }, [_m], [0]];
515
495
  schema.TypeRegistry.for(n0).registerError(ConflictException, ConflictException$1);
516
496
  var ConnectorOperationStep = [3, n0, _COS, 0, [_sT, _sSt], [0, 0]];
517
497
  var ConnectorOperationSummary = [
@@ -630,12 +610,7 @@ var DeleteConnectorRequest = [
630
610
  [_cA, _cV],
631
611
  [
632
612
  [0, 1],
633
- [
634
- 0,
635
- {
636
- [_hQ]: _cV,
637
- },
638
- ],
613
+ [0, { [_hQ]: _cV }],
639
614
  ],
640
615
  ];
641
616
  var DeleteConnectorResponse = [3, n0, _DCRe, 0, [_cA, _cS], [0, 0]];
@@ -712,29 +687,9 @@ var DescribeWorkerConfigurationResponse = [
712
687
  ];
713
688
  var FirehoseLogDelivery = [3, n0, _FLD, 0, [_dS, _en], [0, 2]];
714
689
  var FirehoseLogDeliveryDescription = [3, n0, _FLDD, 0, [_dS, _en], [0, 2]];
715
- var ForbiddenException = [
716
- -3,
717
- n0,
718
- _FE,
719
- {
720
- [_e]: _c,
721
- [_hE]: 403,
722
- },
723
- [_m],
724
- [0],
725
- ];
690
+ var ForbiddenException = [-3, n0, _FE, { [_e]: _c, [_hE]: 403 }, [_m], [0]];
726
691
  schema.TypeRegistry.for(n0).registerError(ForbiddenException, ForbiddenException$1);
727
- var InternalServerErrorException = [
728
- -3,
729
- n0,
730
- _ISEE,
731
- {
732
- [_e]: _s,
733
- [_hE]: 500,
734
- },
735
- [_m],
736
- [0],
737
- ];
692
+ var InternalServerErrorException = [-3, n0, _ISEE, { [_e]: _s, [_hE]: 500 }, [_m], [0]];
738
693
  schema.TypeRegistry.for(n0).registerError(InternalServerErrorException, InternalServerErrorException$1);
739
694
  var KafkaCluster = [3, n0, _KC, 0, [_aKC], [() => ApacheKafkaCluster]];
740
695
  var KafkaClusterClientAuthentication = [3, n0, _KCCA, 0, [_aT], [0]];
@@ -757,18 +712,8 @@ var ListConnectorOperationsRequest = [
757
712
  [_cA, _mR, _nT],
758
713
  [
759
714
  [0, 1],
760
- [
761
- 1,
762
- {
763
- [_hQ]: _mR,
764
- },
765
- ],
766
- [
767
- 0,
768
- {
769
- [_hQ]: _nT,
770
- },
771
- ],
715
+ [1, { [_hQ]: _mR }],
716
+ [0, { [_hQ]: _nT }],
772
717
  ],
773
718
  ];
774
719
  var ListConnectorOperationsResponse = [
@@ -786,24 +731,9 @@ var ListConnectorsRequest = [
786
731
  0,
787
732
  [_cNP, _mR, _nT],
788
733
  [
789
- [
790
- 0,
791
- {
792
- [_hQ]: _cNP,
793
- },
794
- ],
795
- [
796
- 1,
797
- {
798
- [_hQ]: _mR,
799
- },
800
- ],
801
- [
802
- 0,
803
- {
804
- [_hQ]: _nT,
805
- },
806
- ],
734
+ [0, { [_hQ]: _cNP }],
735
+ [1, { [_hQ]: _mR }],
736
+ [0, { [_hQ]: _nT }],
807
737
  ],
808
738
  ];
809
739
  var ListConnectorsResponse = [
@@ -821,24 +751,9 @@ var ListCustomPluginsRequest = [
821
751
  0,
822
752
  [_mR, _nT, _nP],
823
753
  [
824
- [
825
- 1,
826
- {
827
- [_hQ]: _mR,
828
- },
829
- ],
830
- [
831
- 0,
832
- {
833
- [_hQ]: _nT,
834
- },
835
- ],
836
- [
837
- 0,
838
- {
839
- [_hQ]: _nP,
840
- },
841
- ],
754
+ [1, { [_hQ]: _mR }],
755
+ [0, { [_hQ]: _nT }],
756
+ [0, { [_hQ]: _nP }],
842
757
  ],
843
758
  ];
844
759
  var ListCustomPluginsResponse = [
@@ -858,24 +773,9 @@ var ListWorkerConfigurationsRequest = [
858
773
  0,
859
774
  [_mR, _nT, _nP],
860
775
  [
861
- [
862
- 1,
863
- {
864
- [_hQ]: _mR,
865
- },
866
- ],
867
- [
868
- 0,
869
- {
870
- [_hQ]: _nT,
871
- },
872
- ],
873
- [
874
- 0,
875
- {
876
- [_hQ]: _nP,
877
- },
878
- ],
776
+ [1, { [_hQ]: _mR }],
777
+ [0, { [_hQ]: _nT }],
778
+ [0, { [_hQ]: _nP }],
879
779
  ],
880
780
  ];
881
781
  var ListWorkerConfigurationsResponse = [
@@ -895,17 +795,7 @@ var LogDeliveryDescription = [
895
795
  [_wLD],
896
796
  [() => WorkerLogDeliveryDescription],
897
797
  ];
898
- var NotFoundException = [
899
- -3,
900
- n0,
901
- _NFE,
902
- {
903
- [_e]: _c,
904
- [_hE]: 404,
905
- },
906
- [_m],
907
- [0],
908
- ];
798
+ var NotFoundException = [-3, n0, _NFE, { [_e]: _c, [_hE]: 404 }, [_m], [0]];
909
799
  schema.TypeRegistry.for(n0).registerError(NotFoundException, NotFoundException$1);
910
800
  var Plugin = [3, n0, _P, 0, [_cPu], [() => CustomPlugin]];
911
801
  var PluginDescription = [3, n0, _PD, 0, [_cPu], [() => CustomPluginDescription]];
@@ -922,44 +812,14 @@ var ScaleInPolicyUpdate = [3, n0, _SIPU, 0, [_cUP], [1]];
922
812
  var ScaleOutPolicy = [3, n0, _SOP, 0, [_cUP], [1]];
923
813
  var ScaleOutPolicyDescription = [3, n0, _SOPD, 0, [_cUP], [1]];
924
814
  var ScaleOutPolicyUpdate = [3, n0, _SOPU, 0, [_cUP], [1]];
925
- var ServiceUnavailableException = [
926
- -3,
927
- n0,
928
- _SUE,
929
- {
930
- [_e]: _s,
931
- [_hE]: 503,
932
- },
933
- [_m],
934
- [0],
935
- ];
815
+ var ServiceUnavailableException = [-3, n0, _SUE, { [_e]: _s, [_hE]: 503 }, [_m], [0]];
936
816
  schema.TypeRegistry.for(n0).registerError(ServiceUnavailableException, ServiceUnavailableException$1);
937
817
  var StateDescription = [3, n0, _SD, 0, [_cod, _m], [0, 0]];
938
818
  var TagResourceRequest = [3, n0, _TRR, 0, [_rA, _t], [[0, 1], 128 | 0]];
939
819
  var TagResourceResponse = [3, n0, _TRRa, 0, [], []];
940
- var TooManyRequestsException = [
941
- -3,
942
- n0,
943
- _TMRE,
944
- {
945
- [_e]: _c,
946
- [_hE]: 429,
947
- },
948
- [_m],
949
- [0],
950
- ];
820
+ var TooManyRequestsException = [-3, n0, _TMRE, { [_e]: _c, [_hE]: 429 }, [_m], [0]];
951
821
  schema.TypeRegistry.for(n0).registerError(TooManyRequestsException, TooManyRequestsException$1);
952
- var UnauthorizedException = [
953
- -3,
954
- n0,
955
- _UE,
956
- {
957
- [_e]: _c,
958
- [_hE]: 401,
959
- },
960
- [_m],
961
- [0],
962
- ];
822
+ var UnauthorizedException = [-3, n0, _UE, { [_e]: _c, [_hE]: 401 }, [_m], [0]];
963
823
  schema.TypeRegistry.for(n0).registerError(UnauthorizedException, UnauthorizedException$1);
964
824
  var UntagResourceRequest = [
965
825
  3,
@@ -969,12 +829,7 @@ var UntagResourceRequest = [
969
829
  [_rA, _tK],
970
830
  [
971
831
  [0, 1],
972
- [
973
- 64 | 0,
974
- {
975
- [_hQ]: _tK,
976
- },
977
- ],
832
+ [64 | 0, { [_hQ]: _tK }],
978
833
  ],
979
834
  ];
980
835
  var UntagResourceResponse = [3, n0, _URRn, 0, [], []];
@@ -984,17 +839,7 @@ var UpdateConnectorRequest = [
984
839
  _UCR,
985
840
  0,
986
841
  [_ca, _cC, _cA, _cV],
987
- [
988
- () => CapacityUpdate,
989
- [() => ConnectorConfigurationUpdate, 0],
990
- [0, 1],
991
- [
992
- 0,
993
- {
994
- [_hQ]: _cV,
995
- },
996
- ],
997
- ],
842
+ [() => CapacityUpdate, [() => ConnectorConfigurationUpdate, 0], [0, 1], [0, { [_hQ]: _cV }]],
998
843
  ];
999
844
  var UpdateConnectorResponse = [3, n0, _UCRp, 0, [_cA, _cS, _cOA], [0, 0, 0]];
1000
845
  var Vpc = [3, n0, _V, 0, [_sG, _su], [64 | 0, 64 | 0]];
@@ -1050,9 +895,7 @@ var CreateConnector = [
1050
895
  9,
1051
896
  n0,
1052
897
  _CCr,
1053
- {
1054
- [_h]: ["POST", "/v1/connectors", 200],
1055
- },
898
+ { [_h]: ["POST", "/v1/connectors", 200] },
1056
899
  () => CreateConnectorRequest,
1057
900
  () => CreateConnectorResponse,
1058
901
  ];
@@ -1060,9 +903,7 @@ var CreateCustomPlugin = [
1060
903
  9,
1061
904
  n0,
1062
905
  _CCP,
1063
- {
1064
- [_h]: ["POST", "/v1/custom-plugins", 200],
1065
- },
906
+ { [_h]: ["POST", "/v1/custom-plugins", 200] },
1066
907
  () => CreateCustomPluginRequest,
1067
908
  () => CreateCustomPluginResponse,
1068
909
  ];
@@ -1070,9 +911,7 @@ var CreateWorkerConfiguration = [
1070
911
  9,
1071
912
  n0,
1072
913
  _CWC,
1073
- {
1074
- [_h]: ["POST", "/v1/worker-configurations", 200],
1075
- },
914
+ { [_h]: ["POST", "/v1/worker-configurations", 200] },
1076
915
  () => CreateWorkerConfigurationRequest,
1077
916
  () => CreateWorkerConfigurationResponse,
1078
917
  ];
@@ -1080,9 +919,7 @@ var DeleteConnector = [
1080
919
  9,
1081
920
  n0,
1082
921
  _DC,
1083
- {
1084
- [_h]: ["DELETE", "/v1/connectors/{connectorArn}", 200],
1085
- },
922
+ { [_h]: ["DELETE", "/v1/connectors/{connectorArn}", 200] },
1086
923
  () => DeleteConnectorRequest,
1087
924
  () => DeleteConnectorResponse,
1088
925
  ];
@@ -1090,9 +927,7 @@ var DeleteCustomPlugin = [
1090
927
  9,
1091
928
  n0,
1092
929
  _DCP,
1093
- {
1094
- [_h]: ["DELETE", "/v1/custom-plugins/{customPluginArn}", 200],
1095
- },
930
+ { [_h]: ["DELETE", "/v1/custom-plugins/{customPluginArn}", 200] },
1096
931
  () => DeleteCustomPluginRequest,
1097
932
  () => DeleteCustomPluginResponse,
1098
933
  ];
@@ -1100,9 +935,7 @@ var DeleteWorkerConfiguration = [
1100
935
  9,
1101
936
  n0,
1102
937
  _DWC,
1103
- {
1104
- [_h]: ["DELETE", "/v1/worker-configurations/{workerConfigurationArn}", 200],
1105
- },
938
+ { [_h]: ["DELETE", "/v1/worker-configurations/{workerConfigurationArn}", 200] },
1106
939
  () => DeleteWorkerConfigurationRequest,
1107
940
  () => DeleteWorkerConfigurationResponse,
1108
941
  ];
@@ -1110,9 +943,7 @@ var DescribeConnector = [
1110
943
  9,
1111
944
  n0,
1112
945
  _DCe,
1113
- {
1114
- [_h]: ["GET", "/v1/connectors/{connectorArn}", 200],
1115
- },
946
+ { [_h]: ["GET", "/v1/connectors/{connectorArn}", 200] },
1116
947
  () => DescribeConnectorRequest,
1117
948
  () => DescribeConnectorResponse,
1118
949
  ];
@@ -1120,9 +951,7 @@ var DescribeConnectorOperation = [
1120
951
  9,
1121
952
  n0,
1122
953
  _DCO,
1123
- {
1124
- [_h]: ["GET", "/v1/connectorOperations/{connectorOperationArn}", 200],
1125
- },
954
+ { [_h]: ["GET", "/v1/connectorOperations/{connectorOperationArn}", 200] },
1126
955
  () => DescribeConnectorOperationRequest,
1127
956
  () => DescribeConnectorOperationResponse,
1128
957
  ];
@@ -1130,9 +959,7 @@ var DescribeCustomPlugin = [
1130
959
  9,
1131
960
  n0,
1132
961
  _DCPe,
1133
- {
1134
- [_h]: ["GET", "/v1/custom-plugins/{customPluginArn}", 200],
1135
- },
962
+ { [_h]: ["GET", "/v1/custom-plugins/{customPluginArn}", 200] },
1136
963
  () => DescribeCustomPluginRequest,
1137
964
  () => DescribeCustomPluginResponse,
1138
965
  ];
@@ -1140,9 +967,7 @@ var DescribeWorkerConfiguration = [
1140
967
  9,
1141
968
  n0,
1142
969
  _DWCe,
1143
- {
1144
- [_h]: ["GET", "/v1/worker-configurations/{workerConfigurationArn}", 200],
1145
- },
970
+ { [_h]: ["GET", "/v1/worker-configurations/{workerConfigurationArn}", 200] },
1146
971
  () => DescribeWorkerConfigurationRequest,
1147
972
  () => DescribeWorkerConfigurationResponse,
1148
973
  ];
@@ -1150,9 +975,7 @@ var ListConnectorOperations = [
1150
975
  9,
1151
976
  n0,
1152
977
  _LCO,
1153
- {
1154
- [_h]: ["GET", "/v1/connectors/{connectorArn}/operations", 200],
1155
- },
978
+ { [_h]: ["GET", "/v1/connectors/{connectorArn}/operations", 200] },
1156
979
  () => ListConnectorOperationsRequest,
1157
980
  () => ListConnectorOperationsResponse,
1158
981
  ];
@@ -1160,9 +983,7 @@ var ListConnectors = [
1160
983
  9,
1161
984
  n0,
1162
985
  _LC,
1163
- {
1164
- [_h]: ["GET", "/v1/connectors", 200],
1165
- },
986
+ { [_h]: ["GET", "/v1/connectors", 200] },
1166
987
  () => ListConnectorsRequest,
1167
988
  () => ListConnectorsResponse,
1168
989
  ];
@@ -1170,9 +991,7 @@ var ListCustomPlugins = [
1170
991
  9,
1171
992
  n0,
1172
993
  _LCP,
1173
- {
1174
- [_h]: ["GET", "/v1/custom-plugins", 200],
1175
- },
994
+ { [_h]: ["GET", "/v1/custom-plugins", 200] },
1176
995
  () => ListCustomPluginsRequest,
1177
996
  () => ListCustomPluginsResponse,
1178
997
  ];
@@ -1180,9 +999,7 @@ var ListTagsForResource = [
1180
999
  9,
1181
1000
  n0,
1182
1001
  _LTFR,
1183
- {
1184
- [_h]: ["GET", "/v1/tags/{resourceArn}", 200],
1185
- },
1002
+ { [_h]: ["GET", "/v1/tags/{resourceArn}", 200] },
1186
1003
  () => ListTagsForResourceRequest,
1187
1004
  () => ListTagsForResourceResponse,
1188
1005
  ];
@@ -1190,9 +1007,7 @@ var ListWorkerConfigurations = [
1190
1007
  9,
1191
1008
  n0,
1192
1009
  _LWC,
1193
- {
1194
- [_h]: ["GET", "/v1/worker-configurations", 200],
1195
- },
1010
+ { [_h]: ["GET", "/v1/worker-configurations", 200] },
1196
1011
  () => ListWorkerConfigurationsRequest,
1197
1012
  () => ListWorkerConfigurationsResponse,
1198
1013
  ];
@@ -1200,9 +1015,7 @@ var TagResource = [
1200
1015
  9,
1201
1016
  n0,
1202
1017
  _TR,
1203
- {
1204
- [_h]: ["POST", "/v1/tags/{resourceArn}", 200],
1205
- },
1018
+ { [_h]: ["POST", "/v1/tags/{resourceArn}", 200] },
1206
1019
  () => TagResourceRequest,
1207
1020
  () => TagResourceResponse,
1208
1021
  ];
@@ -1210,9 +1023,7 @@ var UntagResource = [
1210
1023
  9,
1211
1024
  n0,
1212
1025
  _UR,
1213
- {
1214
- [_h]: ["DELETE", "/v1/tags/{resourceArn}", 200],
1215
- },
1026
+ { [_h]: ["DELETE", "/v1/tags/{resourceArn}", 200] },
1216
1027
  () => UntagResourceRequest,
1217
1028
  () => UntagResourceResponse,
1218
1029
  ];
@@ -1220,9 +1031,7 @@ var UpdateConnector = [
1220
1031
  9,
1221
1032
  n0,
1222
1033
  _UC,
1223
- {
1224
- [_h]: ["PUT", "/v1/connectors/{connectorArn}", 200],
1225
- },
1034
+ { [_h]: ["PUT", "/v1/connectors/{connectorArn}", 200] },
1226
1035
  () => UpdateConnectorRequest,
1227
1036
  () => UpdateConnectorResponse,
1228
1037
  ];
@@ -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 { defaultKafkaConnectHttpAuthSchemeParametersProvider, 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);