@aws-sdk/client-detective 3.943.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 (61) hide show
  1. package/dist-cjs/index.js +37 -156
  2. package/dist-cjs/runtimeConfig.browser.js +2 -2
  3. package/dist-cjs/runtimeConfig.js +3 -4
  4. package/dist-es/DetectiveClient.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 -156
  8. package/dist-types/Detective.d.ts +1 -1
  9. package/dist-types/DetectiveClient.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/AcceptInvitationCommand.d.ts +3 -3
  13. package/dist-types/commands/BatchGetGraphMemberDatasourcesCommand.d.ts +3 -3
  14. package/dist-types/commands/BatchGetMembershipDatasourcesCommand.d.ts +3 -3
  15. package/dist-types/commands/CreateGraphCommand.d.ts +3 -3
  16. package/dist-types/commands/CreateMembersCommand.d.ts +3 -3
  17. package/dist-types/commands/DeleteGraphCommand.d.ts +3 -3
  18. package/dist-types/commands/DeleteMembersCommand.d.ts +3 -3
  19. package/dist-types/commands/DescribeOrganizationConfigurationCommand.d.ts +3 -3
  20. package/dist-types/commands/DisableOrganizationAdminAccountCommand.d.ts +2 -2
  21. package/dist-types/commands/DisassociateMembershipCommand.d.ts +3 -3
  22. package/dist-types/commands/EnableOrganizationAdminAccountCommand.d.ts +3 -3
  23. package/dist-types/commands/GetInvestigationCommand.d.ts +3 -3
  24. package/dist-types/commands/GetMembersCommand.d.ts +3 -3
  25. package/dist-types/commands/ListDatasourcePackagesCommand.d.ts +3 -3
  26. package/dist-types/commands/ListGraphsCommand.d.ts +3 -3
  27. package/dist-types/commands/ListIndicatorsCommand.d.ts +3 -3
  28. package/dist-types/commands/ListInvestigationsCommand.d.ts +3 -3
  29. package/dist-types/commands/ListInvitationsCommand.d.ts +3 -3
  30. package/dist-types/commands/ListMembersCommand.d.ts +3 -3
  31. package/dist-types/commands/ListOrganizationAdminAccountsCommand.d.ts +3 -3
  32. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -3
  33. package/dist-types/commands/RejectInvitationCommand.d.ts +3 -3
  34. package/dist-types/commands/StartInvestigationCommand.d.ts +3 -3
  35. package/dist-types/commands/StartMonitoringMemberCommand.d.ts +3 -3
  36. package/dist-types/commands/TagResourceCommand.d.ts +3 -3
  37. package/dist-types/commands/UntagResourceCommand.d.ts +3 -3
  38. package/dist-types/commands/UpdateDatasourcePackagesCommand.d.ts +3 -3
  39. package/dist-types/commands/UpdateInvestigationStateCommand.d.ts +3 -3
  40. package/dist-types/commands/UpdateOrganizationConfigurationCommand.d.ts +3 -3
  41. package/dist-types/endpoint/EndpointParameters.d.ts +13 -1
  42. package/dist-types/endpoint/endpointResolver.d.ts +5 -2
  43. package/dist-types/extensionConfiguration.d.ts +4 -4
  44. package/dist-types/models/DetectiveServiceException.d.ts +1 -1
  45. package/dist-types/models/errors.d.ts +1 -1
  46. package/dist-types/pagination/Interfaces.d.ts +1 -1
  47. package/dist-types/pagination/ListDatasourcePackagesPaginator.d.ts +1 -1
  48. package/dist-types/pagination/ListGraphsPaginator.d.ts +1 -1
  49. package/dist-types/pagination/ListInvitationsPaginator.d.ts +1 -1
  50. package/dist-types/pagination/ListMembersPaginator.d.ts +1 -1
  51. package/dist-types/pagination/ListOrganizationAdminAccountsPaginator.d.ts +1 -1
  52. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  53. package/dist-types/runtimeConfig.d.ts +1 -1
  54. package/dist-types/runtimeConfig.native.d.ts +1 -1
  55. package/dist-types/runtimeConfig.shared.d.ts +1 -1
  56. package/dist-types/runtimeExtensions.d.ts +1 -1
  57. package/dist-types/schemas/schemas_0.d.ts +1 -1
  58. package/dist-types/ts3.4/DetectiveClient.d.ts +3 -3
  59. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
  60. package/dist-types/ts3.4/models/DetectiveServiceException.d.ts +1 -1
  61. package/package.json +13 -12
package/dist-cjs/index.js CHANGED
@@ -446,10 +446,7 @@ var AccessDeniedException = [
446
446
  -3,
447
447
  n0,
448
448
  _ADE,
449
- {
450
- [_e]: _c,
451
- [_hE]: 403,
452
- },
449
+ { [_e]: _c, [_hE]: 403 },
453
450
  [_M, _EC, _ECR, _SEC, _SECR],
454
451
  [0, 0, 0, 0, 0],
455
452
  ];
@@ -474,17 +471,7 @@ var BatchGetMembershipDatasourcesResponse = [
474
471
  [_MDe, _UG],
475
472
  [() => MembershipDatasourcesList, () => UnprocessedGraphList],
476
473
  ];
477
- var ConflictException = [
478
- -3,
479
- n0,
480
- _CE,
481
- {
482
- [_e]: _c,
483
- [_hE]: 409,
484
- },
485
- [_M],
486
- [0],
487
- ];
474
+ var ConflictException = [-3, n0, _CE, { [_e]: _c, [_hE]: 409 }, [_M], [0]];
488
475
  schema.TypeRegistry.for(n0).registerError(ConflictException, ConflictException$1);
489
476
  var CreateGraphRequest = [3, n0, _CGR, 0, [_T], [128 | 0]];
490
477
  var CreateGraphResponse = [3, n0, _CGRr, 0, [_GA], [0]];
@@ -582,17 +569,7 @@ var IndicatorDetail = [
582
569
  () => RelatedFindingGroupDetail,
583
570
  ],
584
571
  ];
585
- var InternalServerException = [
586
- -3,
587
- n0,
588
- _ISE,
589
- {
590
- [_e]: _s,
591
- [_hE]: 500,
592
- },
593
- [_M],
594
- [0],
595
- ];
572
+ var InternalServerException = [-3, n0, _ISE, { [_e]: _s, [_hE]: 500 }, [_M], [0]];
596
573
  schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
597
574
  var InvestigationDetail = [
598
575
  3,
@@ -689,26 +666,13 @@ var NewUserAgentDetail = [3, n0, _NUAD, 0, [_UAs, _INFEA], [0, 2]];
689
666
  var RejectInvitationRequest = [3, n0, _RIR, 0, [_GA], [0]];
690
667
  var RelatedFindingDetail = [3, n0, _RFD, 0, [_Ar, _Ty, _IA], [0, 0, 0]];
691
668
  var RelatedFindingGroupDetail = [3, n0, _RFGD, 0, [_Id], [0]];
692
- var ResourceNotFoundException = [
693
- -3,
694
- n0,
695
- _RNFE,
696
- {
697
- [_e]: _c,
698
- [_hE]: 404,
699
- },
700
- [_M],
701
- [0],
702
- ];
669
+ var ResourceNotFoundException = [-3, n0, _RNFE, { [_e]: _c, [_hE]: 404 }, [_M], [0]];
703
670
  schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
704
671
  var ServiceQuotaExceededException = [
705
672
  -3,
706
673
  n0,
707
674
  _SQEE,
708
- {
709
- [_e]: _c,
710
- [_hE]: 402,
711
- },
675
+ { [_e]: _c, [_hE]: 402 },
712
676
  [_M, _Re],
713
677
  [0, 64 | 0],
714
678
  ];
@@ -721,17 +685,7 @@ var StringFilter = [3, n0, _SF, 0, [_V], [0]];
721
685
  var TagResourceRequest = [3, n0, _TRR, 0, [_RA, _T], [[0, 1], 128 | 0]];
722
686
  var TagResourceResponse = [3, n0, _TRRa, 0, [], []];
723
687
  var TimestampForCollection = [3, n0, _TFC, 0, [_Ti], [5]];
724
- var TooManyRequestsException = [
725
- -3,
726
- n0,
727
- _TMRE,
728
- {
729
- [_e]: _c,
730
- [_hE]: 429,
731
- },
732
- [_M],
733
- [0],
734
- ];
688
+ var TooManyRequestsException = [-3, n0, _TMRE, { [_e]: _c, [_hE]: 429 }, [_M], [0]];
735
689
  schema.TypeRegistry.for(n0).registerError(TooManyRequestsException, TooManyRequestsException$1);
736
690
  var TTPsObservedDetail = [
737
691
  3,
@@ -751,29 +705,14 @@ var UntagResourceRequest = [
751
705
  [_RA, _TK],
752
706
  [
753
707
  [0, 1],
754
- [
755
- 64 | 0,
756
- {
757
- [_hQ]: _tK,
758
- },
759
- ],
708
+ [64 | 0, { [_hQ]: _tK }],
760
709
  ],
761
710
  ];
762
711
  var UntagResourceResponse = [3, n0, _URRn, 0, [], []];
763
712
  var UpdateDatasourcePackagesRequest = [3, n0, _UDPR, 0, [_GA, _DP], [0, 64 | 0]];
764
713
  var UpdateInvestigationStateRequest = [3, n0, _UISR, 0, [_GA, _II, _Sta], [0, 0, 0]];
765
714
  var UpdateOrganizationConfigurationRequest = [3, n0, _UOCR, 0, [_GA, _AE], [0, 2]];
766
- var ValidationException = [
767
- -3,
768
- n0,
769
- _VE,
770
- {
771
- [_e]: _c,
772
- [_hE]: 400,
773
- },
774
- [_M, _EC, _ECR],
775
- [0, 0, 0],
776
- ];
715
+ var ValidationException = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_M, _EC, _ECR], [0, 0, 0]];
777
716
  schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
778
717
  var __Unit = "unit";
779
718
  var DetectiveServiceException = [-3, _sm, "DetectiveServiceException", 0, [], []];
@@ -795,9 +734,7 @@ var AcceptInvitation = [
795
734
  9,
796
735
  n0,
797
736
  _AIcc,
798
- {
799
- [_h]: ["PUT", "/invitation", 200],
800
- },
737
+ { [_h]: ["PUT", "/invitation", 200] },
801
738
  () => AcceptInvitationRequest,
802
739
  () => __Unit,
803
740
  ];
@@ -805,9 +742,7 @@ var BatchGetGraphMemberDatasources = [
805
742
  9,
806
743
  n0,
807
744
  _BGGMD,
808
- {
809
- [_h]: ["POST", "/graph/datasources/get", 200],
810
- },
745
+ { [_h]: ["POST", "/graph/datasources/get", 200] },
811
746
  () => BatchGetGraphMemberDatasourcesRequest,
812
747
  () => BatchGetGraphMemberDatasourcesResponse,
813
748
  ];
@@ -815,9 +750,7 @@ var BatchGetMembershipDatasources = [
815
750
  9,
816
751
  n0,
817
752
  _BGMD,
818
- {
819
- [_h]: ["POST", "/membership/datasources/get", 200],
820
- },
753
+ { [_h]: ["POST", "/membership/datasources/get", 200] },
821
754
  () => BatchGetMembershipDatasourcesRequest,
822
755
  () => BatchGetMembershipDatasourcesResponse,
823
756
  ];
@@ -825,9 +758,7 @@ var CreateGraph = [
825
758
  9,
826
759
  n0,
827
760
  _CG,
828
- {
829
- [_h]: ["POST", "/graph", 200],
830
- },
761
+ { [_h]: ["POST", "/graph", 200] },
831
762
  () => CreateGraphRequest,
832
763
  () => CreateGraphResponse,
833
764
  ];
@@ -835,9 +766,7 @@ var CreateMembers = [
835
766
  9,
836
767
  n0,
837
768
  _CM,
838
- {
839
- [_h]: ["POST", "/graph/members", 200],
840
- },
769
+ { [_h]: ["POST", "/graph/members", 200] },
841
770
  () => CreateMembersRequest,
842
771
  () => CreateMembersResponse,
843
772
  ];
@@ -845,9 +774,7 @@ var DeleteGraph = [
845
774
  9,
846
775
  n0,
847
776
  _DG,
848
- {
849
- [_h]: ["POST", "/graph/removal", 200],
850
- },
777
+ { [_h]: ["POST", "/graph/removal", 200] },
851
778
  () => DeleteGraphRequest,
852
779
  () => __Unit,
853
780
  ];
@@ -855,9 +782,7 @@ var DeleteMembers = [
855
782
  9,
856
783
  n0,
857
784
  _DM,
858
- {
859
- [_h]: ["POST", "/graph/members/removal", 200],
860
- },
785
+ { [_h]: ["POST", "/graph/members/removal", 200] },
861
786
  () => DeleteMembersRequest,
862
787
  () => DeleteMembersResponse,
863
788
  ];
@@ -865,9 +790,7 @@ var DescribeOrganizationConfiguration = [
865
790
  9,
866
791
  n0,
867
792
  _DOC,
868
- {
869
- [_h]: ["POST", "/orgs/describeOrganizationConfiguration", 200],
870
- },
793
+ { [_h]: ["POST", "/orgs/describeOrganizationConfiguration", 200] },
871
794
  () => DescribeOrganizationConfigurationRequest,
872
795
  () => DescribeOrganizationConfigurationResponse,
873
796
  ];
@@ -875,9 +798,7 @@ var DisableOrganizationAdminAccount = [
875
798
  9,
876
799
  n0,
877
800
  _DOAA,
878
- {
879
- [_h]: ["POST", "/orgs/disableAdminAccount", 200],
880
- },
801
+ { [_h]: ["POST", "/orgs/disableAdminAccount", 200] },
881
802
  () => __Unit,
882
803
  () => __Unit,
883
804
  ];
@@ -885,9 +806,7 @@ var DisassociateMembership = [
885
806
  9,
886
807
  n0,
887
808
  _DMi,
888
- {
889
- [_h]: ["POST", "/membership/removal", 200],
890
- },
809
+ { [_h]: ["POST", "/membership/removal", 200] },
891
810
  () => DisassociateMembershipRequest,
892
811
  () => __Unit,
893
812
  ];
@@ -895,9 +814,7 @@ var EnableOrganizationAdminAccount = [
895
814
  9,
896
815
  n0,
897
816
  _EOAA,
898
- {
899
- [_h]: ["POST", "/orgs/enableAdminAccount", 200],
900
- },
817
+ { [_h]: ["POST", "/orgs/enableAdminAccount", 200] },
901
818
  () => EnableOrganizationAdminAccountRequest,
902
819
  () => __Unit,
903
820
  ];
@@ -905,9 +822,7 @@ var GetInvestigation = [
905
822
  9,
906
823
  n0,
907
824
  _GI,
908
- {
909
- [_h]: ["POST", "/investigations/getInvestigation", 200],
910
- },
825
+ { [_h]: ["POST", "/investigations/getInvestigation", 200] },
911
826
  () => GetInvestigationRequest,
912
827
  () => GetInvestigationResponse,
913
828
  ];
@@ -915,9 +830,7 @@ var GetMembers = [
915
830
  9,
916
831
  n0,
917
832
  _GM,
918
- {
919
- [_h]: ["POST", "/graph/members/get", 200],
920
- },
833
+ { [_h]: ["POST", "/graph/members/get", 200] },
921
834
  () => GetMembersRequest,
922
835
  () => GetMembersResponse,
923
836
  ];
@@ -925,9 +838,7 @@ var ListDatasourcePackages = [
925
838
  9,
926
839
  n0,
927
840
  _LDP,
928
- {
929
- [_h]: ["POST", "/graph/datasources/list", 200],
930
- },
841
+ { [_h]: ["POST", "/graph/datasources/list", 200] },
931
842
  () => ListDatasourcePackagesRequest,
932
843
  () => ListDatasourcePackagesResponse,
933
844
  ];
@@ -935,9 +846,7 @@ var ListGraphs = [
935
846
  9,
936
847
  n0,
937
848
  _LG,
938
- {
939
- [_h]: ["POST", "/graphs/list", 200],
940
- },
849
+ { [_h]: ["POST", "/graphs/list", 200] },
941
850
  () => ListGraphsRequest,
942
851
  () => ListGraphsResponse,
943
852
  ];
@@ -945,9 +854,7 @@ var ListIndicators = [
945
854
  9,
946
855
  n0,
947
856
  _LI,
948
- {
949
- [_h]: ["POST", "/investigations/listIndicators", 200],
950
- },
857
+ { [_h]: ["POST", "/investigations/listIndicators", 200] },
951
858
  () => ListIndicatorsRequest,
952
859
  () => ListIndicatorsResponse,
953
860
  ];
@@ -955,9 +862,7 @@ var ListInvestigations = [
955
862
  9,
956
863
  n0,
957
864
  _LIi,
958
- {
959
- [_h]: ["POST", "/investigations/listInvestigations", 200],
960
- },
865
+ { [_h]: ["POST", "/investigations/listInvestigations", 200] },
961
866
  () => ListInvestigationsRequest,
962
867
  () => ListInvestigationsResponse,
963
868
  ];
@@ -965,9 +870,7 @@ var ListInvitations = [
965
870
  9,
966
871
  n0,
967
872
  _LIis,
968
- {
969
- [_h]: ["POST", "/invitations/list", 200],
970
- },
873
+ { [_h]: ["POST", "/invitations/list", 200] },
971
874
  () => ListInvitationsRequest,
972
875
  () => ListInvitationsResponse,
973
876
  ];
@@ -975,9 +878,7 @@ var ListMembers = [
975
878
  9,
976
879
  n0,
977
880
  _LM,
978
- {
979
- [_h]: ["POST", "/graph/members/list", 200],
980
- },
881
+ { [_h]: ["POST", "/graph/members/list", 200] },
981
882
  () => ListMembersRequest,
982
883
  () => ListMembersResponse,
983
884
  ];
@@ -985,9 +886,7 @@ var ListOrganizationAdminAccounts = [
985
886
  9,
986
887
  n0,
987
888
  _LOAA,
988
- {
989
- [_h]: ["POST", "/orgs/adminAccountslist", 200],
990
- },
889
+ { [_h]: ["POST", "/orgs/adminAccountslist", 200] },
991
890
  () => ListOrganizationAdminAccountsRequest,
992
891
  () => ListOrganizationAdminAccountsResponse,
993
892
  ];
@@ -995,9 +894,7 @@ var ListTagsForResource = [
995
894
  9,
996
895
  n0,
997
896
  _LTFR,
998
- {
999
- [_h]: ["GET", "/tags/{ResourceArn}", 200],
1000
- },
897
+ { [_h]: ["GET", "/tags/{ResourceArn}", 200] },
1001
898
  () => ListTagsForResourceRequest,
1002
899
  () => ListTagsForResourceResponse,
1003
900
  ];
@@ -1005,9 +902,7 @@ var RejectInvitation = [
1005
902
  9,
1006
903
  n0,
1007
904
  _RI,
1008
- {
1009
- [_h]: ["POST", "/invitation/removal", 200],
1010
- },
905
+ { [_h]: ["POST", "/invitation/removal", 200] },
1011
906
  () => RejectInvitationRequest,
1012
907
  () => __Unit,
1013
908
  ];
@@ -1015,9 +910,7 @@ var StartInvestigation = [
1015
910
  9,
1016
911
  n0,
1017
912
  _SIt,
1018
- {
1019
- [_h]: ["POST", "/investigations/startInvestigation", 200],
1020
- },
913
+ { [_h]: ["POST", "/investigations/startInvestigation", 200] },
1021
914
  () => StartInvestigationRequest,
1022
915
  () => StartInvestigationResponse,
1023
916
  ];
@@ -1025,9 +918,7 @@ var StartMonitoringMember = [
1025
918
  9,
1026
919
  n0,
1027
920
  _SMM,
1028
- {
1029
- [_h]: ["POST", "/graph/member/monitoringstate", 200],
1030
- },
921
+ { [_h]: ["POST", "/graph/member/monitoringstate", 200] },
1031
922
  () => StartMonitoringMemberRequest,
1032
923
  () => __Unit,
1033
924
  ];
@@ -1035,9 +926,7 @@ var TagResource = [
1035
926
  9,
1036
927
  n0,
1037
928
  _TR,
1038
- {
1039
- [_h]: ["POST", "/tags/{ResourceArn}", 204],
1040
- },
929
+ { [_h]: ["POST", "/tags/{ResourceArn}", 204] },
1041
930
  () => TagResourceRequest,
1042
931
  () => TagResourceResponse,
1043
932
  ];
@@ -1045,9 +934,7 @@ var UntagResource = [
1045
934
  9,
1046
935
  n0,
1047
936
  _UR,
1048
- {
1049
- [_h]: ["DELETE", "/tags/{ResourceArn}", 204],
1050
- },
937
+ { [_h]: ["DELETE", "/tags/{ResourceArn}", 204] },
1051
938
  () => UntagResourceRequest,
1052
939
  () => UntagResourceResponse,
1053
940
  ];
@@ -1055,9 +942,7 @@ var UpdateDatasourcePackages = [
1055
942
  9,
1056
943
  n0,
1057
944
  _UDP,
1058
- {
1059
- [_h]: ["POST", "/graph/datasources/update", 200],
1060
- },
945
+ { [_h]: ["POST", "/graph/datasources/update", 200] },
1061
946
  () => UpdateDatasourcePackagesRequest,
1062
947
  () => __Unit,
1063
948
  ];
@@ -1065,9 +950,7 @@ var UpdateInvestigationState = [
1065
950
  9,
1066
951
  n0,
1067
952
  _UIS,
1068
- {
1069
- [_h]: ["POST", "/investigations/updateInvestigationState", 200],
1070
- },
953
+ { [_h]: ["POST", "/investigations/updateInvestigationState", 200] },
1071
954
  () => UpdateInvestigationStateRequest,
1072
955
  () => __Unit,
1073
956
  ];
@@ -1075,9 +958,7 @@ var UpdateOrganizationConfiguration = [
1075
958
  9,
1076
959
  n0,
1077
960
  _UOC,
1078
- {
1079
- [_h]: ["POST", "/orgs/updateOrganizationConfiguration", 200],
1080
- },
961
+ { [_h]: ["POST", "/orgs/updateOrganizationConfiguration", 200] },
1081
962
  () => UpdateOrganizationConfigurationRequest,
1082
963
  () => __Unit,
1083
964
  ];
@@ -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 { defaultDetectiveHttpAuthSchemeParametersProvider, 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);