@aws-sdk/client-appfabric 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 (57) hide show
  1. package/dist-cjs/index.js +41 -185
  2. package/dist-cjs/runtimeConfig.browser.js +2 -2
  3. package/dist-cjs/runtimeConfig.js +3 -4
  4. package/dist-es/AppFabricClient.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 +41 -185
  8. package/dist-types/AppFabric.d.ts +1 -1
  9. package/dist-types/AppFabricClient.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/BatchGetUserAccessTasksCommand.d.ts +3 -3
  13. package/dist-types/commands/ConnectAppAuthorizationCommand.d.ts +3 -3
  14. package/dist-types/commands/CreateAppAuthorizationCommand.d.ts +3 -3
  15. package/dist-types/commands/CreateAppBundleCommand.d.ts +3 -3
  16. package/dist-types/commands/CreateIngestionCommand.d.ts +3 -3
  17. package/dist-types/commands/CreateIngestionDestinationCommand.d.ts +3 -3
  18. package/dist-types/commands/DeleteAppAuthorizationCommand.d.ts +3 -3
  19. package/dist-types/commands/DeleteAppBundleCommand.d.ts +3 -3
  20. package/dist-types/commands/DeleteIngestionCommand.d.ts +3 -3
  21. package/dist-types/commands/DeleteIngestionDestinationCommand.d.ts +3 -3
  22. package/dist-types/commands/GetAppAuthorizationCommand.d.ts +3 -3
  23. package/dist-types/commands/GetAppBundleCommand.d.ts +3 -3
  24. package/dist-types/commands/GetIngestionCommand.d.ts +3 -3
  25. package/dist-types/commands/GetIngestionDestinationCommand.d.ts +3 -3
  26. package/dist-types/commands/ListAppAuthorizationsCommand.d.ts +3 -3
  27. package/dist-types/commands/ListAppBundlesCommand.d.ts +3 -3
  28. package/dist-types/commands/ListIngestionDestinationsCommand.d.ts +3 -3
  29. package/dist-types/commands/ListIngestionsCommand.d.ts +3 -3
  30. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -3
  31. package/dist-types/commands/StartIngestionCommand.d.ts +3 -3
  32. package/dist-types/commands/StartUserAccessTasksCommand.d.ts +3 -3
  33. package/dist-types/commands/StopIngestionCommand.d.ts +3 -3
  34. package/dist-types/commands/TagResourceCommand.d.ts +3 -3
  35. package/dist-types/commands/UntagResourceCommand.d.ts +3 -3
  36. package/dist-types/commands/UpdateAppAuthorizationCommand.d.ts +3 -3
  37. package/dist-types/commands/UpdateIngestionDestinationCommand.d.ts +3 -3
  38. package/dist-types/endpoint/EndpointParameters.d.ts +13 -1
  39. package/dist-types/endpoint/endpointResolver.d.ts +5 -2
  40. package/dist-types/extensionConfiguration.d.ts +4 -4
  41. package/dist-types/models/AppFabricServiceException.d.ts +1 -1
  42. package/dist-types/models/errors.d.ts +1 -1
  43. package/dist-types/pagination/Interfaces.d.ts +1 -1
  44. package/dist-types/pagination/ListAppAuthorizationsPaginator.d.ts +1 -1
  45. package/dist-types/pagination/ListAppBundlesPaginator.d.ts +1 -1
  46. package/dist-types/pagination/ListIngestionDestinationsPaginator.d.ts +1 -1
  47. package/dist-types/pagination/ListIngestionsPaginator.d.ts +1 -1
  48. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  49. package/dist-types/runtimeConfig.d.ts +1 -1
  50. package/dist-types/runtimeConfig.native.d.ts +1 -1
  51. package/dist-types/runtimeConfig.shared.d.ts +1 -1
  52. package/dist-types/runtimeExtensions.d.ts +1 -1
  53. package/dist-types/schemas/schemas_0.d.ts +1 -1
  54. package/dist-types/ts3.4/AppFabricClient.d.ts +3 -3
  55. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
  56. package/dist-types/ts3.4/models/AppFabricServiceException.d.ts +1 -1
  57. package/package.json +13 -12
package/dist-cjs/index.js CHANGED
@@ -450,17 +450,7 @@ const _v = "value";
450
450
  const n0 = "com.amazonaws.appfabric";
451
451
  var Email = [0, n0, _E, 8, 0];
452
452
  var SensitiveString2048 = [0, n0, _SS, 8, 0];
453
- var AccessDeniedException = [
454
- -3,
455
- n0,
456
- _ADE,
457
- {
458
- [_e]: _c,
459
- [_hE]: 403,
460
- },
461
- [_m],
462
- [0],
463
- ];
453
+ var AccessDeniedException = [-3, n0, _ADE, { [_e]: _c, [_hE]: 403 }, [_m], [0]];
464
454
  schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
465
455
  var ApiKeyCredential = [3, n0, _AKC, 0, [_aK], [[() => SensitiveString2048, 0]]];
466
456
  var AppAuthorization = [
@@ -493,17 +483,7 @@ var BatchGetUserAccessTasksResponse = [
493
483
  [_uARL],
494
484
  [[() => UserAccessResultsList, 0]],
495
485
  ];
496
- var ConflictException = [
497
- -3,
498
- n0,
499
- _CE,
500
- {
501
- [_e]: _c,
502
- [_hE]: 409,
503
- },
504
- [_m, _rI, _rT],
505
- [0, 0, 0],
506
- ];
486
+ var ConflictException = [-3, n0, _CE, { [_e]: _c, [_hE]: 409 }, [_m, _rI, _rT], [0, 0, 0]];
507
487
  schema.TypeRegistry.for(n0).registerError(ConflictException, ConflictException$1);
508
488
  var ConnectAppAuthorizationRequest = [
509
489
  3,
@@ -676,20 +656,9 @@ var InternalServerException = [
676
656
  -3,
677
657
  n0,
678
658
  _ISE,
679
- {
680
- [_e]: _se,
681
- [_hE]: 500,
682
- },
659
+ { [_e]: _se, [_hE]: 500 },
683
660
  [_m, _rAS],
684
- [
685
- 0,
686
- [
687
- 1,
688
- {
689
- [_hH]: _RA,
690
- },
691
- ],
692
- ],
661
+ [0, [1, { [_hH]: _RA }]],
693
662
  ];
694
663
  schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
695
664
  var ListAppAuthorizationsRequest = [
@@ -700,18 +669,8 @@ var ListAppAuthorizationsRequest = [
700
669
  [_aBI, _mR, _nT],
701
670
  [
702
671
  [0, 1],
703
- [
704
- 1,
705
- {
706
- [_hQ]: _mR,
707
- },
708
- ],
709
- [
710
- 0,
711
- {
712
- [_hQ]: _nT,
713
- },
714
- ],
672
+ [1, { [_hQ]: _mR }],
673
+ [0, { [_hQ]: _nT }],
715
674
  ],
716
675
  ];
717
676
  var ListAppAuthorizationsResponse = [
@@ -729,18 +688,8 @@ var ListAppBundlesRequest = [
729
688
  0,
730
689
  [_mR, _nT],
731
690
  [
732
- [
733
- 1,
734
- {
735
- [_hQ]: _mR,
736
- },
737
- ],
738
- [
739
- 0,
740
- {
741
- [_hQ]: _nT,
742
- },
743
- ],
691
+ [1, { [_hQ]: _mR }],
692
+ [0, { [_hQ]: _nT }],
744
693
  ],
745
694
  ];
746
695
  var ListAppBundlesResponse = [
@@ -760,18 +709,8 @@ var ListIngestionDestinationsRequest = [
760
709
  [
761
710
  [0, 1],
762
711
  [0, 1],
763
- [
764
- 1,
765
- {
766
- [_hQ]: _mR,
767
- },
768
- ],
769
- [
770
- 0,
771
- {
772
- [_hQ]: _nT,
773
- },
774
- ],
712
+ [1, { [_hQ]: _mR }],
713
+ [0, { [_hQ]: _nT }],
775
714
  ],
776
715
  ];
777
716
  var ListIngestionDestinationsResponse = [
@@ -790,18 +729,8 @@ var ListIngestionsRequest = [
790
729
  [_aBI, _mR, _nT],
791
730
  [
792
731
  [0, 1],
793
- [
794
- 1,
795
- {
796
- [_hQ]: _mR,
797
- },
798
- ],
799
- [
800
- 0,
801
- {
802
- [_hQ]: _nT,
803
- },
804
- ],
732
+ [1, { [_hQ]: _mR }],
733
+ [0, { [_hQ]: _nT }],
805
734
  ],
806
735
  ];
807
736
  var ListIngestionsResponse = [3, n0, _LIRi, 0, [_in, _nT], [() => IngestionList, 0]];
@@ -812,10 +741,7 @@ var ResourceNotFoundException = [
812
741
  -3,
813
742
  n0,
814
743
  _RNFE,
815
- {
816
- [_e]: _c,
817
- [_hE]: 404,
818
- },
744
+ { [_e]: _c, [_hE]: 404 },
819
745
  [_m, _rI, _rT],
820
746
  [0, 0, 0],
821
747
  ];
@@ -825,10 +751,7 @@ var ServiceQuotaExceededException = [
825
751
  -3,
826
752
  n0,
827
753
  _SQEE,
828
- {
829
- [_e]: _c,
830
- [_hE]: 402,
831
- },
754
+ { [_e]: _c, [_hE]: 402 },
832
755
  [_m, _rI, _rT, _sC, _qC],
833
756
  [0, 0, 0, 0, 0],
834
757
  ];
@@ -875,22 +798,9 @@ var ThrottlingException = [
875
798
  -3,
876
799
  n0,
877
800
  _TEh,
878
- {
879
- [_e]: _c,
880
- [_hE]: 429,
881
- },
801
+ { [_e]: _c, [_hE]: 429 },
882
802
  [_m, _sC, _qC, _rAS],
883
- [
884
- 0,
885
- 0,
886
- 0,
887
- [
888
- 1,
889
- {
890
- [_hH]: _RA,
891
- },
892
- ],
893
- ],
803
+ [0, 0, 0, [1, { [_hH]: _RA }]],
894
804
  ];
895
805
  schema.TypeRegistry.for(n0).registerError(ThrottlingException, ThrottlingException$1);
896
806
  var UntagResourceRequest = [
@@ -901,12 +811,7 @@ var UntagResourceRequest = [
901
811
  [_rA, _tK],
902
812
  [
903
813
  [0, 1],
904
- [
905
- 64 | 0,
906
- {
907
- [_hQ]: _tK,
908
- },
909
- ],
814
+ [64 | 0, { [_hQ]: _tK }],
910
815
  ],
911
816
  ];
912
817
  var UntagResourceResponse = [3, n0, _URRn, 0, [], []];
@@ -968,10 +873,7 @@ var ValidationException = [
968
873
  -3,
969
874
  n0,
970
875
  _VE,
971
- {
972
- [_e]: _c,
973
- [_hE]: 400,
974
- },
876
+ { [_e]: _c, [_hE]: 400 },
975
877
  [_m, _r, _fL],
976
878
  [0, 0, () => ValidationExceptionFieldList],
977
879
  ];
@@ -1019,9 +921,7 @@ var BatchGetUserAccessTasks = [
1019
921
  9,
1020
922
  n0,
1021
923
  _BGUAT,
1022
- {
1023
- [_h]: ["POST", "/useraccess/batchget", 200],
1024
- },
924
+ { [_h]: ["POST", "/useraccess/batchget", 200] },
1025
925
  () => BatchGetUserAccessTasksRequest,
1026
926
  () => BatchGetUserAccessTasksResponse,
1027
927
  ];
@@ -1029,9 +929,7 @@ var ConnectAppAuthorization = [
1029
929
  9,
1030
930
  n0,
1031
931
  _CAA,
1032
- {
1033
- [_h]: ["POST", "/appbundles/{appBundleIdentifier}/appauthorizations/{appAuthorizationIdentifier}/connect", 200],
1034
- },
932
+ { [_h]: ["POST", "/appbundles/{appBundleIdentifier}/appauthorizations/{appAuthorizationIdentifier}/connect", 200] },
1035
933
  () => ConnectAppAuthorizationRequest,
1036
934
  () => ConnectAppAuthorizationResponse,
1037
935
  ];
@@ -1039,9 +937,7 @@ var CreateAppAuthorization = [
1039
937
  9,
1040
938
  n0,
1041
939
  _CAAr,
1042
- {
1043
- [_h]: ["POST", "/appbundles/{appBundleIdentifier}/appauthorizations", 201],
1044
- },
940
+ { [_h]: ["POST", "/appbundles/{appBundleIdentifier}/appauthorizations", 201] },
1045
941
  () => CreateAppAuthorizationRequest,
1046
942
  () => CreateAppAuthorizationResponse,
1047
943
  ];
@@ -1049,9 +945,7 @@ var CreateAppBundle = [
1049
945
  9,
1050
946
  n0,
1051
947
  _CAB,
1052
- {
1053
- [_h]: ["POST", "/appbundles", 201],
1054
- },
948
+ { [_h]: ["POST", "/appbundles", 201] },
1055
949
  () => CreateAppBundleRequest,
1056
950
  () => CreateAppBundleResponse,
1057
951
  ];
@@ -1059,9 +953,7 @@ var CreateIngestion = [
1059
953
  9,
1060
954
  n0,
1061
955
  _CI,
1062
- {
1063
- [_h]: ["POST", "/appbundles/{appBundleIdentifier}/ingestions", 201],
1064
- },
956
+ { [_h]: ["POST", "/appbundles/{appBundleIdentifier}/ingestions", 201] },
1065
957
  () => CreateIngestionRequest,
1066
958
  () => CreateIngestionResponse,
1067
959
  ];
@@ -1069,9 +961,7 @@ var CreateIngestionDestination = [
1069
961
  9,
1070
962
  n0,
1071
963
  _CID,
1072
- {
1073
- [_h]: ["POST", "/appbundles/{appBundleIdentifier}/ingestions/{ingestionIdentifier}/ingestiondestinations", 201],
1074
- },
964
+ { [_h]: ["POST", "/appbundles/{appBundleIdentifier}/ingestions/{ingestionIdentifier}/ingestiondestinations", 201] },
1075
965
  () => CreateIngestionDestinationRequest,
1076
966
  () => CreateIngestionDestinationResponse,
1077
967
  ];
@@ -1079,9 +969,7 @@ var DeleteAppAuthorization = [
1079
969
  9,
1080
970
  n0,
1081
971
  _DAA,
1082
- {
1083
- [_h]: ["DELETE", "/appbundles/{appBundleIdentifier}/appauthorizations/{appAuthorizationIdentifier}", 204],
1084
- },
972
+ { [_h]: ["DELETE", "/appbundles/{appBundleIdentifier}/appauthorizations/{appAuthorizationIdentifier}", 204] },
1085
973
  () => DeleteAppAuthorizationRequest,
1086
974
  () => DeleteAppAuthorizationResponse,
1087
975
  ];
@@ -1089,9 +977,7 @@ var DeleteAppBundle = [
1089
977
  9,
1090
978
  n0,
1091
979
  _DAB,
1092
- {
1093
- [_h]: ["DELETE", "/appbundles/{appBundleIdentifier}", 204],
1094
- },
980
+ { [_h]: ["DELETE", "/appbundles/{appBundleIdentifier}", 204] },
1095
981
  () => DeleteAppBundleRequest,
1096
982
  () => DeleteAppBundleResponse,
1097
983
  ];
@@ -1099,9 +985,7 @@ var DeleteIngestion = [
1099
985
  9,
1100
986
  n0,
1101
987
  _DI,
1102
- {
1103
- [_h]: ["DELETE", "/appbundles/{appBundleIdentifier}/ingestions/{ingestionIdentifier}", 204],
1104
- },
988
+ { [_h]: ["DELETE", "/appbundles/{appBundleIdentifier}/ingestions/{ingestionIdentifier}", 204] },
1105
989
  () => DeleteIngestionRequest,
1106
990
  () => DeleteIngestionResponse,
1107
991
  ];
@@ -1123,9 +1007,7 @@ var GetAppAuthorization = [
1123
1007
  9,
1124
1008
  n0,
1125
1009
  _GAA,
1126
- {
1127
- [_h]: ["GET", "/appbundles/{appBundleIdentifier}/appauthorizations/{appAuthorizationIdentifier}", 200],
1128
- },
1010
+ { [_h]: ["GET", "/appbundles/{appBundleIdentifier}/appauthorizations/{appAuthorizationIdentifier}", 200] },
1129
1011
  () => GetAppAuthorizationRequest,
1130
1012
  () => GetAppAuthorizationResponse,
1131
1013
  ];
@@ -1133,9 +1015,7 @@ var GetAppBundle = [
1133
1015
  9,
1134
1016
  n0,
1135
1017
  _GAB,
1136
- {
1137
- [_h]: ["GET", "/appbundles/{appBundleIdentifier}", 200],
1138
- },
1018
+ { [_h]: ["GET", "/appbundles/{appBundleIdentifier}", 200] },
1139
1019
  () => GetAppBundleRequest,
1140
1020
  () => GetAppBundleResponse,
1141
1021
  ];
@@ -1143,9 +1023,7 @@ var GetIngestion = [
1143
1023
  9,
1144
1024
  n0,
1145
1025
  _GI,
1146
- {
1147
- [_h]: ["GET", "/appbundles/{appBundleIdentifier}/ingestions/{ingestionIdentifier}", 200],
1148
- },
1026
+ { [_h]: ["GET", "/appbundles/{appBundleIdentifier}/ingestions/{ingestionIdentifier}", 200] },
1149
1027
  () => GetIngestionRequest,
1150
1028
  () => GetIngestionResponse,
1151
1029
  ];
@@ -1167,9 +1045,7 @@ var ListAppAuthorizations = [
1167
1045
  9,
1168
1046
  n0,
1169
1047
  _LAA,
1170
- {
1171
- [_h]: ["GET", "/appbundles/{appBundleIdentifier}/appauthorizations", 200],
1172
- },
1048
+ { [_h]: ["GET", "/appbundles/{appBundleIdentifier}/appauthorizations", 200] },
1173
1049
  () => ListAppAuthorizationsRequest,
1174
1050
  () => ListAppAuthorizationsResponse,
1175
1051
  ];
@@ -1177,9 +1053,7 @@ var ListAppBundles = [
1177
1053
  9,
1178
1054
  n0,
1179
1055
  _LAB,
1180
- {
1181
- [_h]: ["GET", "/appbundles", 200],
1182
- },
1056
+ { [_h]: ["GET", "/appbundles", 200] },
1183
1057
  () => ListAppBundlesRequest,
1184
1058
  () => ListAppBundlesResponse,
1185
1059
  ];
@@ -1187,9 +1061,7 @@ var ListIngestionDestinations = [
1187
1061
  9,
1188
1062
  n0,
1189
1063
  _LID,
1190
- {
1191
- [_h]: ["GET", "/appbundles/{appBundleIdentifier}/ingestions/{ingestionIdentifier}/ingestiondestinations", 200],
1192
- },
1064
+ { [_h]: ["GET", "/appbundles/{appBundleIdentifier}/ingestions/{ingestionIdentifier}/ingestiondestinations", 200] },
1193
1065
  () => ListIngestionDestinationsRequest,
1194
1066
  () => ListIngestionDestinationsResponse,
1195
1067
  ];
@@ -1197,9 +1069,7 @@ var ListIngestions = [
1197
1069
  9,
1198
1070
  n0,
1199
1071
  _LI,
1200
- {
1201
- [_h]: ["GET", "/appbundles/{appBundleIdentifier}/ingestions", 200],
1202
- },
1072
+ { [_h]: ["GET", "/appbundles/{appBundleIdentifier}/ingestions", 200] },
1203
1073
  () => ListIngestionsRequest,
1204
1074
  () => ListIngestionsResponse,
1205
1075
  ];
@@ -1207,9 +1077,7 @@ var ListTagsForResource = [
1207
1077
  9,
1208
1078
  n0,
1209
1079
  _LTFR,
1210
- {
1211
- [_h]: ["GET", "/tags/{resourceArn}", 200],
1212
- },
1080
+ { [_h]: ["GET", "/tags/{resourceArn}", 200] },
1213
1081
  () => ListTagsForResourceRequest,
1214
1082
  () => ListTagsForResourceResponse,
1215
1083
  ];
@@ -1217,9 +1085,7 @@ var StartIngestion = [
1217
1085
  9,
1218
1086
  n0,
1219
1087
  _SI,
1220
- {
1221
- [_h]: ["POST", "/appbundles/{appBundleIdentifier}/ingestions/{ingestionIdentifier}/start", 200],
1222
- },
1088
+ { [_h]: ["POST", "/appbundles/{appBundleIdentifier}/ingestions/{ingestionIdentifier}/start", 200] },
1223
1089
  () => StartIngestionRequest,
1224
1090
  () => StartIngestionResponse,
1225
1091
  ];
@@ -1227,9 +1093,7 @@ var StartUserAccessTasks = [
1227
1093
  9,
1228
1094
  n0,
1229
1095
  _SUAT,
1230
- {
1231
- [_h]: ["POST", "/useraccess/start", 201],
1232
- },
1096
+ { [_h]: ["POST", "/useraccess/start", 201] },
1233
1097
  () => StartUserAccessTasksRequest,
1234
1098
  () => StartUserAccessTasksResponse,
1235
1099
  ];
@@ -1237,9 +1101,7 @@ var StopIngestion = [
1237
1101
  9,
1238
1102
  n0,
1239
1103
  _SIt,
1240
- {
1241
- [_h]: ["POST", "/appbundles/{appBundleIdentifier}/ingestions/{ingestionIdentifier}/stop", 200],
1242
- },
1104
+ { [_h]: ["POST", "/appbundles/{appBundleIdentifier}/ingestions/{ingestionIdentifier}/stop", 200] },
1243
1105
  () => StopIngestionRequest,
1244
1106
  () => StopIngestionResponse,
1245
1107
  ];
@@ -1247,9 +1109,7 @@ var TagResource = [
1247
1109
  9,
1248
1110
  n0,
1249
1111
  _TR,
1250
- {
1251
- [_h]: ["POST", "/tags/{resourceArn}", 200],
1252
- },
1112
+ { [_h]: ["POST", "/tags/{resourceArn}", 200] },
1253
1113
  () => TagResourceRequest,
1254
1114
  () => TagResourceResponse,
1255
1115
  ];
@@ -1257,9 +1117,7 @@ var UntagResource = [
1257
1117
  9,
1258
1118
  n0,
1259
1119
  _UR,
1260
- {
1261
- [_h]: ["DELETE", "/tags/{resourceArn}", 200],
1262
- },
1120
+ { [_h]: ["DELETE", "/tags/{resourceArn}", 200] },
1263
1121
  () => UntagResourceRequest,
1264
1122
  () => UntagResourceResponse,
1265
1123
  ];
@@ -1267,9 +1125,7 @@ var UpdateAppAuthorization = [
1267
1125
  9,
1268
1126
  n0,
1269
1127
  _UAA,
1270
- {
1271
- [_h]: ["PATCH", "/appbundles/{appBundleIdentifier}/appauthorizations/{appAuthorizationIdentifier}", 200],
1272
- },
1128
+ { [_h]: ["PATCH", "/appbundles/{appBundleIdentifier}/appauthorizations/{appAuthorizationIdentifier}", 200] },
1273
1129
  () => UpdateAppAuthorizationRequest,
1274
1130
  () => UpdateAppAuthorizationResponse,
1275
1131
  ];
@@ -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 { defaultAppFabricHttpAuthSchemeParametersProvider, 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);