@aws-sdk/client-mpa 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 (54) hide show
  1. package/dist-cjs/index.js +40 -222
  2. package/dist-cjs/runtimeConfig.browser.js +2 -2
  3. package/dist-cjs/runtimeConfig.js +3 -4
  4. package/dist-es/MPAClient.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 -222
  8. package/dist-types/MPA.d.ts +1 -1
  9. package/dist-types/MPAClient.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/CancelSessionCommand.d.ts +3 -3
  13. package/dist-types/commands/CreateApprovalTeamCommand.d.ts +3 -3
  14. package/dist-types/commands/CreateIdentitySourceCommand.d.ts +3 -3
  15. package/dist-types/commands/DeleteIdentitySourceCommand.d.ts +3 -3
  16. package/dist-types/commands/DeleteInactiveApprovalTeamVersionCommand.d.ts +3 -3
  17. package/dist-types/commands/GetApprovalTeamCommand.d.ts +3 -3
  18. package/dist-types/commands/GetIdentitySourceCommand.d.ts +3 -3
  19. package/dist-types/commands/GetPolicyVersionCommand.d.ts +3 -3
  20. package/dist-types/commands/GetResourcePolicyCommand.d.ts +3 -3
  21. package/dist-types/commands/GetSessionCommand.d.ts +3 -3
  22. package/dist-types/commands/ListApprovalTeamsCommand.d.ts +3 -3
  23. package/dist-types/commands/ListIdentitySourcesCommand.d.ts +3 -3
  24. package/dist-types/commands/ListPoliciesCommand.d.ts +3 -3
  25. package/dist-types/commands/ListPolicyVersionsCommand.d.ts +3 -3
  26. package/dist-types/commands/ListResourcePoliciesCommand.d.ts +3 -3
  27. package/dist-types/commands/ListSessionsCommand.d.ts +3 -3
  28. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -3
  29. package/dist-types/commands/StartActiveApprovalTeamDeletionCommand.d.ts +3 -3
  30. package/dist-types/commands/TagResourceCommand.d.ts +3 -3
  31. package/dist-types/commands/UntagResourceCommand.d.ts +3 -3
  32. package/dist-types/commands/UpdateApprovalTeamCommand.d.ts +3 -3
  33. package/dist-types/endpoint/EndpointParameters.d.ts +13 -1
  34. package/dist-types/endpoint/endpointResolver.d.ts +5 -2
  35. package/dist-types/extensionConfiguration.d.ts +4 -4
  36. package/dist-types/models/MPAServiceException.d.ts +1 -1
  37. package/dist-types/models/errors.d.ts +1 -1
  38. package/dist-types/pagination/Interfaces.d.ts +1 -1
  39. package/dist-types/pagination/ListApprovalTeamsPaginator.d.ts +1 -1
  40. package/dist-types/pagination/ListIdentitySourcesPaginator.d.ts +1 -1
  41. package/dist-types/pagination/ListPoliciesPaginator.d.ts +1 -1
  42. package/dist-types/pagination/ListPolicyVersionsPaginator.d.ts +1 -1
  43. package/dist-types/pagination/ListResourcePoliciesPaginator.d.ts +1 -1
  44. package/dist-types/pagination/ListSessionsPaginator.d.ts +1 -1
  45. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  46. package/dist-types/runtimeConfig.d.ts +1 -1
  47. package/dist-types/runtimeConfig.native.d.ts +1 -1
  48. package/dist-types/runtimeConfig.shared.d.ts +1 -1
  49. package/dist-types/runtimeExtensions.d.ts +1 -1
  50. package/dist-types/schemas/schemas_0.d.ts +1 -1
  51. package/dist-types/ts3.4/MPAClient.d.ts +3 -3
  52. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
  53. package/dist-types/ts3.4/models/MPAServiceException.d.ts +1 -1
  54. package/package.json +13 -12
package/dist-cjs/index.js CHANGED
@@ -440,32 +440,12 @@ var SessionKey = [0, n0, _SK, 8, 0];
440
440
  var SessionValue = [0, n0, _SV, 8, 0];
441
441
  var TagKey = [0, n0, _TK, 8, 0];
442
442
  var TagValue = [0, n0, _TV, 8, 0];
443
- var AccessDeniedException = [
444
- -3,
445
- n0,
446
- _ADE,
447
- {
448
- [_e]: _c,
449
- [_hE]: 403,
450
- },
451
- [_M],
452
- [0],
453
- ];
443
+ var AccessDeniedException = [-3, n0, _ADE, { [_e]: _c, [_hE]: 403 }, [_M], [0]];
454
444
  schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
455
445
  var ApprovalTeamRequestApprover = [3, n0, _ATRA, 0, [_PII, _PISA], [0, 0]];
456
446
  var CancelSessionRequest = [3, n0, _CSR, 0, [_SA], [[0, 1]]];
457
447
  var CancelSessionResponse = [3, n0, _CSRa, 0, [], []];
458
- var ConflictException = [
459
- -3,
460
- n0,
461
- _CE,
462
- {
463
- [_e]: _c,
464
- [_hE]: 409,
465
- },
466
- [_M],
467
- [0],
468
- ];
448
+ var ConflictException = [-3, n0, _CE, { [_e]: _c, [_hE]: 409 }, [_M], [0]];
469
449
  schema.TypeRegistry.for(n0).registerError(ConflictException, ConflictException$1);
470
450
  var CreateApprovalTeamRequest = [
471
451
  3,
@@ -637,29 +617,9 @@ var IdentitySourceForList = [
637
617
  [0, () => IdentitySourceParametersForList, 0, 5, 0, 0, 0],
638
618
  ];
639
619
  var IdentitySourceParameters = [3, n0, _ISP, 0, [_IIC], [() => IamIdentityCenter]];
640
- var InternalServerException = [
641
- -3,
642
- n0,
643
- _ISE,
644
- {
645
- [_e]: _s,
646
- [_hE]: 500,
647
- },
648
- [_M],
649
- [0],
650
- ];
620
+ var InternalServerException = [-3, n0, _ISE, { [_e]: _s, [_hE]: 500 }, [_M], [0]];
651
621
  schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
652
- var InvalidParameterException = [
653
- -3,
654
- n0,
655
- _IPE,
656
- {
657
- [_e]: _c,
658
- [_hE]: 400,
659
- },
660
- [_M],
661
- [0],
662
- ];
622
+ var InvalidParameterException = [-3, n0, _IPE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
663
623
  schema.TypeRegistry.for(n0).registerError(InvalidParameterException, InvalidParameterException$1);
664
624
  var ListApprovalTeamsRequest = [
665
625
  3,
@@ -668,18 +628,8 @@ var ListApprovalTeamsRequest = [
668
628
  0,
669
629
  [_MR, _NT],
670
630
  [
671
- [
672
- 1,
673
- {
674
- [_hQ]: _MR,
675
- },
676
- ],
677
- [
678
- 0,
679
- {
680
- [_hQ]: _NT,
681
- },
682
- ],
631
+ [1, { [_hQ]: _MR }],
632
+ [0, { [_hQ]: _NT }],
683
633
  ],
684
634
  ];
685
635
  var ListApprovalTeamsResponse = [
@@ -705,18 +655,8 @@ var ListIdentitySourcesRequest = [
705
655
  0,
706
656
  [_MR, _NT],
707
657
  [
708
- [
709
- 1,
710
- {
711
- [_hQ]: _MR,
712
- },
713
- ],
714
- [
715
- 0,
716
- {
717
- [_hQ]: _NT,
718
- },
719
- ],
658
+ [1, { [_hQ]: _MR }],
659
+ [0, { [_hQ]: _NT }],
720
660
  ],
721
661
  ];
722
662
  var ListIdentitySourcesResponse = [
@@ -734,18 +674,8 @@ var ListPoliciesRequest = [
734
674
  0,
735
675
  [_MR, _NT],
736
676
  [
737
- [
738
- 1,
739
- {
740
- [_hQ]: _MR,
741
- },
742
- ],
743
- [
744
- 0,
745
- {
746
- [_hQ]: _NT,
747
- },
748
- ],
677
+ [1, { [_hQ]: _MR }],
678
+ [0, { [_hQ]: _NT }],
749
679
  ],
750
680
  ];
751
681
  var ListPoliciesResponse = [3, n0, _LPRi, 0, [_NT, _P], [0, () => Policies]];
@@ -756,18 +686,8 @@ var ListPolicyVersionsRequest = [
756
686
  0,
757
687
  [_MR, _NT, _PA],
758
688
  [
759
- [
760
- 1,
761
- {
762
- [_hQ]: _MR,
763
- },
764
- ],
765
- [
766
- 0,
767
- {
768
- [_hQ]: _NT,
769
- },
770
- ],
689
+ [1, { [_hQ]: _MR }],
690
+ [0, { [_hQ]: _NT }],
771
691
  [0, 1],
772
692
  ],
773
693
  ];
@@ -787,18 +707,8 @@ var ListResourcePoliciesRequest = [
787
707
  [_RA, _MR, _NT],
788
708
  [
789
709
  [0, 1],
790
- [
791
- 1,
792
- {
793
- [_hQ]: _MR,
794
- },
795
- ],
796
- [
797
- 0,
798
- {
799
- [_hQ]: _NT,
800
- },
801
- ],
710
+ [1, { [_hQ]: _MR }],
711
+ [0, { [_hQ]: _NT }],
802
712
  ],
803
713
  ];
804
714
  var ListResourcePoliciesResponse = [
@@ -870,29 +780,9 @@ var PolicyVersionSummary = [
870
780
  [_Ar, _PA, _VI, _PT, _ID, _N, _S, _CTr, _LUTa],
871
781
  [0, 0, 1, 0, 2, 0, 0, 5, 5],
872
782
  ];
873
- var ResourceNotFoundException = [
874
- -3,
875
- n0,
876
- _RNFE,
877
- {
878
- [_e]: _c,
879
- [_hE]: 404,
880
- },
881
- [_M],
882
- [0],
883
- ];
783
+ var ResourceNotFoundException = [-3, n0, _RNFE, { [_e]: _c, [_hE]: 404 }, [_M], [0]];
884
784
  schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
885
- var ServiceQuotaExceededException = [
886
- -3,
887
- n0,
888
- _SQEE,
889
- {
890
- [_e]: _c,
891
- [_hE]: 402,
892
- },
893
- [_M],
894
- [0],
895
- ];
785
+ var ServiceQuotaExceededException = [-3, n0, _SQEE, { [_e]: _c, [_hE]: 402 }, [_M], [0]];
896
786
  schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException, ServiceQuotaExceededException$1);
897
787
  var StartActiveApprovalTeamDeletionRequest = [
898
788
  3,
@@ -915,29 +805,9 @@ var TagResourceRequest = [
915
805
  ],
916
806
  ];
917
807
  var TagResourceResponse = [3, n0, _TRRa, 0, [], []];
918
- var ThrottlingException = [
919
- -3,
920
- n0,
921
- _TE,
922
- {
923
- [_e]: _c,
924
- [_hE]: 429,
925
- },
926
- [_M],
927
- [0],
928
- ];
808
+ var ThrottlingException = [-3, n0, _TE, { [_e]: _c, [_hE]: 429 }, [_M], [0]];
929
809
  schema.TypeRegistry.for(n0).registerError(ThrottlingException, ThrottlingException$1);
930
- var TooManyTagsException = [
931
- -3,
932
- n0,
933
- _TMTE,
934
- {
935
- [_e]: _c,
936
- [_hE]: 400,
937
- },
938
- [_M, _RN],
939
- [0, 0],
940
- ];
810
+ var TooManyTagsException = [-3, n0, _TMTE, { [_e]: _c, [_hE]: 400 }, [_M, _RN], [0, 0]];
941
811
  schema.TypeRegistry.for(n0).registerError(TooManyTagsException, TooManyTagsException$1);
942
812
  var UntagResourceRequest = [
943
813
  3,
@@ -960,17 +830,7 @@ var UpdateApprovalTeamRequest = [
960
830
  [() => ApprovalStrategy, () => ApprovalTeamRequestApprovers, [() => Description, 0], [0, 1]],
961
831
  ];
962
832
  var UpdateApprovalTeamResponse = [3, n0, _UATRp, 0, [_VI], [0]];
963
- var ValidationException = [
964
- -3,
965
- n0,
966
- _VE,
967
- {
968
- [_e]: _c,
969
- [_hE]: 400,
970
- },
971
- [_M],
972
- [0],
973
- ];
833
+ var ValidationException = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
974
834
  schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
975
835
  var __Unit = "unit";
976
836
  var MPAServiceException = [-3, _sm, "MPAServiceException", 0, [], []];
@@ -1035,9 +895,7 @@ var CancelSession = [
1035
895
  9,
1036
896
  n0,
1037
897
  _CS,
1038
- {
1039
- [_h]: ["PUT", "/sessions/{SessionArn}", 200],
1040
- },
898
+ { [_h]: ["PUT", "/sessions/{SessionArn}", 200] },
1041
899
  () => CancelSessionRequest,
1042
900
  () => CancelSessionResponse,
1043
901
  ];
@@ -1045,9 +903,7 @@ var CreateApprovalTeam = [
1045
903
  9,
1046
904
  n0,
1047
905
  _CAT,
1048
- {
1049
- [_h]: ["POST", "/approval-teams", 200],
1050
- },
906
+ { [_h]: ["POST", "/approval-teams", 200] },
1051
907
  () => CreateApprovalTeamRequest,
1052
908
  () => CreateApprovalTeamResponse,
1053
909
  ];
@@ -1055,9 +911,7 @@ var CreateIdentitySource = [
1055
911
  9,
1056
912
  n0,
1057
913
  _CIS,
1058
- {
1059
- [_h]: ["POST", "/identity-sources", 200],
1060
- },
914
+ { [_h]: ["POST", "/identity-sources", 200] },
1061
915
  () => CreateIdentitySourceRequest,
1062
916
  () => CreateIdentitySourceResponse,
1063
917
  ];
@@ -1065,9 +919,7 @@ var DeleteIdentitySource = [
1065
919
  9,
1066
920
  n0,
1067
921
  _DIS,
1068
- {
1069
- [_h]: ["DELETE", "/identity-sources/{IdentitySourceArn}", 200],
1070
- },
922
+ { [_h]: ["DELETE", "/identity-sources/{IdentitySourceArn}", 200] },
1071
923
  () => DeleteIdentitySourceRequest,
1072
924
  () => __Unit,
1073
925
  ];
@@ -1075,9 +927,7 @@ var DeleteInactiveApprovalTeamVersion = [
1075
927
  9,
1076
928
  n0,
1077
929
  _DIATV,
1078
- {
1079
- [_h]: ["DELETE", "/approval-teams/{Arn}/{VersionId}", 200],
1080
- },
930
+ { [_h]: ["DELETE", "/approval-teams/{Arn}/{VersionId}", 200] },
1081
931
  () => DeleteInactiveApprovalTeamVersionRequest,
1082
932
  () => DeleteInactiveApprovalTeamVersionResponse,
1083
933
  ];
@@ -1085,9 +935,7 @@ var GetApprovalTeam = [
1085
935
  9,
1086
936
  n0,
1087
937
  _GAT,
1088
- {
1089
- [_h]: ["GET", "/approval-teams/{Arn}", 200],
1090
- },
938
+ { [_h]: ["GET", "/approval-teams/{Arn}", 200] },
1091
939
  () => GetApprovalTeamRequest,
1092
940
  () => GetApprovalTeamResponse,
1093
941
  ];
@@ -1095,9 +943,7 @@ var GetIdentitySource = [
1095
943
  9,
1096
944
  n0,
1097
945
  _GIS,
1098
- {
1099
- [_h]: ["GET", "/identity-sources/{IdentitySourceArn}", 200],
1100
- },
946
+ { [_h]: ["GET", "/identity-sources/{IdentitySourceArn}", 200] },
1101
947
  () => GetIdentitySourceRequest,
1102
948
  () => GetIdentitySourceResponse,
1103
949
  ];
@@ -1105,9 +951,7 @@ var GetPolicyVersion = [
1105
951
  9,
1106
952
  n0,
1107
953
  _GPV,
1108
- {
1109
- [_h]: ["GET", "/policy-versions/{PolicyVersionArn}", 200],
1110
- },
954
+ { [_h]: ["GET", "/policy-versions/{PolicyVersionArn}", 200] },
1111
955
  () => GetPolicyVersionRequest,
1112
956
  () => GetPolicyVersionResponse,
1113
957
  ];
@@ -1115,9 +959,7 @@ var GetResourcePolicy = [
1115
959
  9,
1116
960
  n0,
1117
961
  _GRP,
1118
- {
1119
- [_h]: ["POST", "/GetResourcePolicy", 200],
1120
- },
962
+ { [_h]: ["POST", "/GetResourcePolicy", 200] },
1121
963
  () => GetResourcePolicyRequest,
1122
964
  () => GetResourcePolicyResponse,
1123
965
  ];
@@ -1125,9 +967,7 @@ var GetSession = [
1125
967
  9,
1126
968
  n0,
1127
969
  _GS,
1128
- {
1129
- [_h]: ["GET", "/sessions/{SessionArn}", 200],
1130
- },
970
+ { [_h]: ["GET", "/sessions/{SessionArn}", 200] },
1131
971
  () => GetSessionRequest,
1132
972
  () => GetSessionResponse,
1133
973
  ];
@@ -1135,9 +975,7 @@ var ListApprovalTeams = [
1135
975
  9,
1136
976
  n0,
1137
977
  _LAT,
1138
- {
1139
- [_h]: ["POST", "/approval-teams/?List", 200],
1140
- },
978
+ { [_h]: ["POST", "/approval-teams/?List", 200] },
1141
979
  () => ListApprovalTeamsRequest,
1142
980
  () => ListApprovalTeamsResponse,
1143
981
  ];
@@ -1145,9 +983,7 @@ var ListIdentitySources = [
1145
983
  9,
1146
984
  n0,
1147
985
  _LIS,
1148
- {
1149
- [_h]: ["POST", "/identity-sources/?List", 200],
1150
- },
986
+ { [_h]: ["POST", "/identity-sources/?List", 200] },
1151
987
  () => ListIdentitySourcesRequest,
1152
988
  () => ListIdentitySourcesResponse,
1153
989
  ];
@@ -1155,9 +991,7 @@ var ListPolicies = [
1155
991
  9,
1156
992
  n0,
1157
993
  _LP,
1158
- {
1159
- [_h]: ["POST", "/policies/?List", 200],
1160
- },
994
+ { [_h]: ["POST", "/policies/?List", 200] },
1161
995
  () => ListPoliciesRequest,
1162
996
  () => ListPoliciesResponse,
1163
997
  ];
@@ -1165,9 +999,7 @@ var ListPolicyVersions = [
1165
999
  9,
1166
1000
  n0,
1167
1001
  _LPV,
1168
- {
1169
- [_h]: ["POST", "/policies/{PolicyArn}/?List", 200],
1170
- },
1002
+ { [_h]: ["POST", "/policies/{PolicyArn}/?List", 200] },
1171
1003
  () => ListPolicyVersionsRequest,
1172
1004
  () => ListPolicyVersionsResponse,
1173
1005
  ];
@@ -1175,9 +1007,7 @@ var ListResourcePolicies = [
1175
1007
  9,
1176
1008
  n0,
1177
1009
  _LRP,
1178
- {
1179
- [_h]: ["POST", "/resource-policies/{ResourceArn}/?List", 200],
1180
- },
1010
+ { [_h]: ["POST", "/resource-policies/{ResourceArn}/?List", 200] },
1181
1011
  () => ListResourcePoliciesRequest,
1182
1012
  () => ListResourcePoliciesResponse,
1183
1013
  ];
@@ -1185,9 +1015,7 @@ var ListSessions = [
1185
1015
  9,
1186
1016
  n0,
1187
1017
  _LS,
1188
- {
1189
- [_h]: ["POST", "/approval-teams/{ApprovalTeamArn}/sessions/?List", 200],
1190
- },
1018
+ { [_h]: ["POST", "/approval-teams/{ApprovalTeamArn}/sessions/?List", 200] },
1191
1019
  () => ListSessionsRequest,
1192
1020
  () => ListSessionsResponse,
1193
1021
  ];
@@ -1195,9 +1023,7 @@ var ListTagsForResource = [
1195
1023
  9,
1196
1024
  n0,
1197
1025
  _LTFR,
1198
- {
1199
- [_h]: ["GET", "/tags/{ResourceArn}", 200],
1200
- },
1026
+ { [_h]: ["GET", "/tags/{ResourceArn}", 200] },
1201
1027
  () => ListTagsForResourceRequest,
1202
1028
  () => ListTagsForResourceResponse,
1203
1029
  ];
@@ -1205,9 +1031,7 @@ var StartActiveApprovalTeamDeletion = [
1205
1031
  9,
1206
1032
  n0,
1207
1033
  _SAATD,
1208
- {
1209
- [_h]: ["POST", "/approval-teams/{Arn}?Delete", 200],
1210
- },
1034
+ { [_h]: ["POST", "/approval-teams/{Arn}?Delete", 200] },
1211
1035
  () => StartActiveApprovalTeamDeletionRequest,
1212
1036
  () => StartActiveApprovalTeamDeletionResponse,
1213
1037
  ];
@@ -1215,9 +1039,7 @@ var TagResource = [
1215
1039
  9,
1216
1040
  n0,
1217
1041
  _TR,
1218
- {
1219
- [_h]: ["PUT", "/tags/{ResourceArn}", 200],
1220
- },
1042
+ { [_h]: ["PUT", "/tags/{ResourceArn}", 200] },
1221
1043
  () => TagResourceRequest,
1222
1044
  () => TagResourceResponse,
1223
1045
  ];
@@ -1225,9 +1047,7 @@ var UntagResource = [
1225
1047
  9,
1226
1048
  n0,
1227
1049
  _UR,
1228
- {
1229
- [_h]: ["POST", "/tags/{ResourceArn}", 200],
1230
- },
1050
+ { [_h]: ["POST", "/tags/{ResourceArn}", 200] },
1231
1051
  () => UntagResourceRequest,
1232
1052
  () => UntagResourceResponse,
1233
1053
  ];
@@ -1235,9 +1055,7 @@ var UpdateApprovalTeam = [
1235
1055
  9,
1236
1056
  n0,
1237
1057
  _UAT,
1238
- {
1239
- [_h]: ["PATCH", "/approval-teams/{Arn}", 200],
1240
- },
1058
+ { [_h]: ["PATCH", "/approval-teams/{Arn}", 200] },
1241
1059
  () => UpdateApprovalTeamRequest,
1242
1060
  () => UpdateApprovalTeamResponse,
1243
1061
  ];
@@ -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 { defaultMPAHttpAuthSchemeParametersProvider, 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);