@aws-sdk/client-ssm-sap 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 (63) hide show
  1. package/dist-cjs/index.js +34 -152
  2. package/dist-cjs/runtimeConfig.browser.js +2 -2
  3. package/dist-cjs/runtimeConfig.js +3 -4
  4. package/dist-es/SsmSapClient.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 +34 -152
  8. package/dist-types/SsmSap.d.ts +1 -1
  9. package/dist-types/SsmSapClient.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/DeleteResourcePermissionCommand.d.ts +3 -3
  13. package/dist-types/commands/DeregisterApplicationCommand.d.ts +3 -3
  14. package/dist-types/commands/GetApplicationCommand.d.ts +3 -3
  15. package/dist-types/commands/GetComponentCommand.d.ts +3 -3
  16. package/dist-types/commands/GetConfigurationCheckOperationCommand.d.ts +3 -3
  17. package/dist-types/commands/GetDatabaseCommand.d.ts +3 -3
  18. package/dist-types/commands/GetOperationCommand.d.ts +3 -3
  19. package/dist-types/commands/GetResourcePermissionCommand.d.ts +3 -3
  20. package/dist-types/commands/ListApplicationsCommand.d.ts +3 -3
  21. package/dist-types/commands/ListComponentsCommand.d.ts +3 -3
  22. package/dist-types/commands/ListConfigurationCheckDefinitionsCommand.d.ts +3 -3
  23. package/dist-types/commands/ListConfigurationCheckOperationsCommand.d.ts +3 -3
  24. package/dist-types/commands/ListDatabasesCommand.d.ts +3 -3
  25. package/dist-types/commands/ListOperationEventsCommand.d.ts +3 -3
  26. package/dist-types/commands/ListOperationsCommand.d.ts +3 -3
  27. package/dist-types/commands/ListSubCheckResultsCommand.d.ts +3 -3
  28. package/dist-types/commands/ListSubCheckRuleResultsCommand.d.ts +3 -3
  29. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -3
  30. package/dist-types/commands/PutResourcePermissionCommand.d.ts +3 -3
  31. package/dist-types/commands/RegisterApplicationCommand.d.ts +3 -3
  32. package/dist-types/commands/StartApplicationCommand.d.ts +3 -3
  33. package/dist-types/commands/StartApplicationRefreshCommand.d.ts +3 -3
  34. package/dist-types/commands/StartConfigurationChecksCommand.d.ts +3 -3
  35. package/dist-types/commands/StopApplicationCommand.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/UpdateApplicationSettingsCommand.d.ts +3 -3
  39. package/dist-types/endpoint/EndpointParameters.d.ts +13 -1
  40. package/dist-types/endpoint/endpointResolver.d.ts +5 -2
  41. package/dist-types/extensionConfiguration.d.ts +4 -4
  42. package/dist-types/models/SsmSapServiceException.d.ts +1 -1
  43. package/dist-types/models/errors.d.ts +1 -1
  44. package/dist-types/pagination/Interfaces.d.ts +1 -1
  45. package/dist-types/pagination/ListApplicationsPaginator.d.ts +1 -1
  46. package/dist-types/pagination/ListComponentsPaginator.d.ts +1 -1
  47. package/dist-types/pagination/ListConfigurationCheckDefinitionsPaginator.d.ts +1 -1
  48. package/dist-types/pagination/ListConfigurationCheckOperationsPaginator.d.ts +1 -1
  49. package/dist-types/pagination/ListDatabasesPaginator.d.ts +1 -1
  50. package/dist-types/pagination/ListOperationEventsPaginator.d.ts +1 -1
  51. package/dist-types/pagination/ListOperationsPaginator.d.ts +1 -1
  52. package/dist-types/pagination/ListSubCheckResultsPaginator.d.ts +1 -1
  53. package/dist-types/pagination/ListSubCheckRuleResultsPaginator.d.ts +1 -1
  54. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  55. package/dist-types/runtimeConfig.d.ts +1 -1
  56. package/dist-types/runtimeConfig.native.d.ts +1 -1
  57. package/dist-types/runtimeConfig.shared.d.ts +1 -1
  58. package/dist-types/runtimeExtensions.d.ts +1 -1
  59. package/dist-types/schemas/schemas_0.d.ts +1 -1
  60. package/dist-types/ts3.4/SsmSapClient.d.ts +3 -3
  61. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
  62. package/dist-types/ts3.4/models/SsmSapServiceException.d.ts +1 -1
  63. package/package.json +13 -12
package/dist-cjs/index.js CHANGED
@@ -498,17 +498,7 @@ var ConfigurationCheckOperation = [
498
498
  [_I, _AI, _S, _SM, _CCI, _CCN, _CCDo, _ST, _ET, _RSC],
499
499
  [0, 0, 0, 0, 0, 0, 0, 4, 4, () => RuleStatusCounts],
500
500
  ];
501
- var ConflictException = [
502
- -3,
503
- n0,
504
- _CE,
505
- {
506
- [_e]: _c,
507
- [_hE]: 409,
508
- },
509
- [_M],
510
- [0],
511
- ];
501
+ var ConflictException = [-3, n0, _CE, { [_e]: _c, [_hE]: 409 }, [_M], [0]];
512
502
  schema.TypeRegistry.for(n0).registerError(ConflictException, ConflictException$1);
513
503
  var Database = [
514
504
  3,
@@ -552,17 +542,7 @@ var GetOperationOutput = [3, n0, _GOO, 0, [_Op], [[() => Operation, 0]]];
552
542
  var GetResourcePermissionInput = [3, n0, _GRPI, 0, [_AT, _RA], [0, 0]];
553
543
  var GetResourcePermissionOutput = [3, n0, _GRPO, 0, [_P], [0]];
554
544
  var Host = [3, n0, _Hos, 0, [_HN, _HI, _ECII, _II, _HR, _OV], [0, 0, 0, 0, 0, 0]];
555
- var InternalServerException = [
556
- -3,
557
- n0,
558
- _ISE,
559
- {
560
- [_e]: _s,
561
- [_hE]: 500,
562
- },
563
- [_M],
564
- [0],
565
- ];
545
+ var InternalServerException = [-3, n0, _ISE, { [_e]: _s, [_hE]: 500 }, [_M], [0]];
566
546
  schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
567
547
  var IpAddressMember = [3, n0, _IAM, 0, [_IAp, _Pr, _ATl], [0, 2, 0]];
568
548
  var ListApplicationsInput = [3, n0, _LAI, 0, [_NT, _MR, _Fi], [0, 1, () => FilterList]];
@@ -677,17 +657,7 @@ var RegisterApplicationInput = [
677
657
  var RegisterApplicationOutput = [3, n0, _RAO, 0, [_A, _OI], [() => Application, 0]];
678
658
  var Resilience = [3, n0, _R, 0, [_HT, _HRM, _HOM, _CSl, _ER], [0, 0, 0, 0, 2]];
679
659
  var Resource = [3, n0, _Re, 0, [_RA, _RT], [0, 0]];
680
- var ResourceNotFoundException = [
681
- -3,
682
- n0,
683
- _RNFE,
684
- {
685
- [_e]: _c,
686
- [_hE]: 404,
687
- },
688
- [_M],
689
- [0],
690
- ];
660
+ var ResourceNotFoundException = [-3, n0, _RNFE, { [_e]: _c, [_hE]: 404 }, [_M], [0]];
691
661
  schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
692
662
  var RuleResult = [3, n0, _RRu, 0, [_I, _De, _S, _M, _Me], [0, 0, 0, 0, 128 | 0]];
693
663
  var RuleStatusCounts = [3, n0, _RSC, 0, [_Fa, _W, _Inf, _Pa, _U], [1, 1, 1, 1, 1]];
@@ -709,17 +679,7 @@ var StopApplicationOutput = [3, n0, _SAOt, 0, [_OI], [0]];
709
679
  var SubCheckResult = [3, n0, _SCRu, 0, [_I, _N, _De, _Ref], [0, 0, 0, 64 | 0]];
710
680
  var TagResourceRequest = [3, n0, _TRR, 0, [_rA, _t], [[0, 1], 128 | 0]];
711
681
  var TagResourceResponse = [3, n0, _TRRa, 0, [], []];
712
- var UnauthorizedException = [
713
- -3,
714
- n0,
715
- _UE,
716
- {
717
- [_e]: _c,
718
- [_hE]: 401,
719
- },
720
- [_M],
721
- [0],
722
- ];
682
+ var UnauthorizedException = [-3, n0, _UE, { [_e]: _c, [_hE]: 401 }, [_M], [0]];
723
683
  schema.TypeRegistry.for(n0).registerError(UnauthorizedException, UnauthorizedException$1);
724
684
  var UntagResourceRequest = [
725
685
  3,
@@ -729,12 +689,7 @@ var UntagResourceRequest = [
729
689
  [_rA, _tK],
730
690
  [
731
691
  [0, 1],
732
- [
733
- 64 | 0,
734
- {
735
- [_hQ]: _tK,
736
- },
737
- ],
692
+ [64 | 0, { [_hQ]: _tK }],
738
693
  ],
739
694
  ];
740
695
  var UntagResourceResponse = [3, n0, _URRn, 0, [], []];
@@ -747,17 +702,7 @@ var UpdateApplicationSettingsInput = [
747
702
  [0, [() => ApplicationCredentialList, 0], [() => ApplicationCredentialList, 0], () => BackintConfig, 0],
748
703
  ];
749
704
  var UpdateApplicationSettingsOutput = [3, n0, _UASO, 0, [_M, _OIp], [0, 64 | 0]];
750
- var ValidationException = [
751
- -3,
752
- n0,
753
- _VE,
754
- {
755
- [_e]: _c,
756
- [_hE]: 400,
757
- },
758
- [_M],
759
- [0],
760
- ];
705
+ var ValidationException = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
761
706
  schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
762
707
  var SsmSapServiceException = [-3, _sm, "SsmSapServiceException", 0, [], []];
763
708
  schema.TypeRegistry.for(_sm).registerError(SsmSapServiceException, SsmSapServiceException$1);
@@ -775,23 +720,12 @@ var OperationEventList = [1, n0, _OEL, 0, () => OperationEvent];
775
720
  var OperationList = [1, n0, _OL, 0, [() => Operation, 0]];
776
721
  var RuleResultList = [1, n0, _RRL, 0, () => RuleResult];
777
722
  var SubCheckResultList = [1, n0, _SCRL, 0, () => SubCheckResult];
778
- var OperationProperties = [
779
- 2,
780
- n0,
781
- _OP,
782
- {
783
- [_sp]: 1,
784
- },
785
- 0,
786
- 0,
787
- ];
723
+ var OperationProperties = [2, n0, _OP, { [_sp]: 1 }, 0, 0];
788
724
  var DeleteResourcePermission = [
789
725
  9,
790
726
  n0,
791
727
  _DRP,
792
- {
793
- [_h]: ["POST", "/delete-resource-permission", 200],
794
- },
728
+ { [_h]: ["POST", "/delete-resource-permission", 200] },
795
729
  () => DeleteResourcePermissionInput,
796
730
  () => DeleteResourcePermissionOutput,
797
731
  ];
@@ -799,9 +733,7 @@ var DeregisterApplication = [
799
733
  9,
800
734
  n0,
801
735
  _DAe,
802
- {
803
- [_h]: ["POST", "/deregister-application", 200],
804
- },
736
+ { [_h]: ["POST", "/deregister-application", 200] },
805
737
  () => DeregisterApplicationInput,
806
738
  () => DeregisterApplicationOutput,
807
739
  ];
@@ -809,9 +741,7 @@ var GetApplication = [
809
741
  9,
810
742
  n0,
811
743
  _GA,
812
- {
813
- [_h]: ["POST", "/get-application", 200],
814
- },
744
+ { [_h]: ["POST", "/get-application", 200] },
815
745
  () => GetApplicationInput,
816
746
  () => GetApplicationOutput,
817
747
  ];
@@ -819,9 +749,7 @@ var GetComponent = [
819
749
  9,
820
750
  n0,
821
751
  _GC,
822
- {
823
- [_h]: ["POST", "/get-component", 200],
824
- },
752
+ { [_h]: ["POST", "/get-component", 200] },
825
753
  () => GetComponentInput,
826
754
  () => GetComponentOutput,
827
755
  ];
@@ -829,9 +757,7 @@ var GetConfigurationCheckOperation = [
829
757
  9,
830
758
  n0,
831
759
  _GCCO,
832
- {
833
- [_h]: ["POST", "/get-configuration-check-operation", 200],
834
- },
760
+ { [_h]: ["POST", "/get-configuration-check-operation", 200] },
835
761
  () => GetConfigurationCheckOperationInput,
836
762
  () => GetConfigurationCheckOperationOutput,
837
763
  ];
@@ -839,9 +765,7 @@ var GetDatabase = [
839
765
  9,
840
766
  n0,
841
767
  _GD,
842
- {
843
- [_h]: ["POST", "/get-database", 200],
844
- },
768
+ { [_h]: ["POST", "/get-database", 200] },
845
769
  () => GetDatabaseInput,
846
770
  () => GetDatabaseOutput,
847
771
  ];
@@ -849,9 +773,7 @@ var GetOperation = [
849
773
  9,
850
774
  n0,
851
775
  _GO,
852
- {
853
- [_h]: ["POST", "/get-operation", 200],
854
- },
776
+ { [_h]: ["POST", "/get-operation", 200] },
855
777
  () => GetOperationInput,
856
778
  () => GetOperationOutput,
857
779
  ];
@@ -859,9 +781,7 @@ var GetResourcePermission = [
859
781
  9,
860
782
  n0,
861
783
  _GRP,
862
- {
863
- [_h]: ["POST", "/get-resource-permission", 200],
864
- },
784
+ { [_h]: ["POST", "/get-resource-permission", 200] },
865
785
  () => GetResourcePermissionInput,
866
786
  () => GetResourcePermissionOutput,
867
787
  ];
@@ -869,9 +789,7 @@ var ListApplications = [
869
789
  9,
870
790
  n0,
871
791
  _LA,
872
- {
873
- [_h]: ["POST", "/list-applications", 200],
874
- },
792
+ { [_h]: ["POST", "/list-applications", 200] },
875
793
  () => ListApplicationsInput,
876
794
  () => ListApplicationsOutput,
877
795
  ];
@@ -879,9 +797,7 @@ var ListComponents = [
879
797
  9,
880
798
  n0,
881
799
  _LC,
882
- {
883
- [_h]: ["POST", "/list-components", 200],
884
- },
800
+ { [_h]: ["POST", "/list-components", 200] },
885
801
  () => ListComponentsInput,
886
802
  () => ListComponentsOutput,
887
803
  ];
@@ -889,9 +805,7 @@ var ListConfigurationCheckDefinitions = [
889
805
  9,
890
806
  n0,
891
807
  _LCCD,
892
- {
893
- [_h]: ["POST", "/list-configuration-check-definitions", 200],
894
- },
808
+ { [_h]: ["POST", "/list-configuration-check-definitions", 200] },
895
809
  () => ListConfigurationCheckDefinitionsInput,
896
810
  () => ListConfigurationCheckDefinitionsOutput,
897
811
  ];
@@ -899,9 +813,7 @@ var ListConfigurationCheckOperations = [
899
813
  9,
900
814
  n0,
901
815
  _LCCO,
902
- {
903
- [_h]: ["POST", "/list-configuration-check-operations", 200],
904
- },
816
+ { [_h]: ["POST", "/list-configuration-check-operations", 200] },
905
817
  () => ListConfigurationCheckOperationsInput,
906
818
  () => ListConfigurationCheckOperationsOutput,
907
819
  ];
@@ -909,9 +821,7 @@ var ListDatabases = [
909
821
  9,
910
822
  n0,
911
823
  _LD,
912
- {
913
- [_h]: ["POST", "/list-databases", 200],
914
- },
824
+ { [_h]: ["POST", "/list-databases", 200] },
915
825
  () => ListDatabasesInput,
916
826
  () => ListDatabasesOutput,
917
827
  ];
@@ -919,9 +829,7 @@ var ListOperationEvents = [
919
829
  9,
920
830
  n0,
921
831
  _LOE,
922
- {
923
- [_h]: ["POST", "/list-operation-events", 200],
924
- },
832
+ { [_h]: ["POST", "/list-operation-events", 200] },
925
833
  () => ListOperationEventsInput,
926
834
  () => ListOperationEventsOutput,
927
835
  ];
@@ -929,9 +837,7 @@ var ListOperations = [
929
837
  9,
930
838
  n0,
931
839
  _LO,
932
- {
933
- [_h]: ["POST", "/list-operations", 200],
934
- },
840
+ { [_h]: ["POST", "/list-operations", 200] },
935
841
  () => ListOperationsInput,
936
842
  () => ListOperationsOutput,
937
843
  ];
@@ -939,9 +845,7 @@ var ListSubCheckResults = [
939
845
  9,
940
846
  n0,
941
847
  _LSCR,
942
- {
943
- [_h]: ["POST", "/list-sub-check-results", 200],
944
- },
848
+ { [_h]: ["POST", "/list-sub-check-results", 200] },
945
849
  () => ListSubCheckResultsInput,
946
850
  () => ListSubCheckResultsOutput,
947
851
  ];
@@ -949,9 +853,7 @@ var ListSubCheckRuleResults = [
949
853
  9,
950
854
  n0,
951
855
  _LSCRR,
952
- {
953
- [_h]: ["POST", "/list-sub-check-rule-results", 200],
954
- },
856
+ { [_h]: ["POST", "/list-sub-check-rule-results", 200] },
955
857
  () => ListSubCheckRuleResultsInput,
956
858
  () => ListSubCheckRuleResultsOutput,
957
859
  ];
@@ -959,9 +861,7 @@ var ListTagsForResource = [
959
861
  9,
960
862
  n0,
961
863
  _LTFR,
962
- {
963
- [_h]: ["GET", "/tags/{resourceArn}", 200],
964
- },
864
+ { [_h]: ["GET", "/tags/{resourceArn}", 200] },
965
865
  () => ListTagsForResourceRequest,
966
866
  () => ListTagsForResourceResponse,
967
867
  ];
@@ -969,9 +869,7 @@ var PutResourcePermission = [
969
869
  9,
970
870
  n0,
971
871
  _PRP,
972
- {
973
- [_h]: ["POST", "/put-resource-permission", 200],
974
- },
872
+ { [_h]: ["POST", "/put-resource-permission", 200] },
975
873
  () => PutResourcePermissionInput,
976
874
  () => PutResourcePermissionOutput,
977
875
  ];
@@ -979,9 +877,7 @@ var RegisterApplication = [
979
877
  9,
980
878
  n0,
981
879
  _RAe,
982
- {
983
- [_h]: ["POST", "/register-application", 200],
984
- },
880
+ { [_h]: ["POST", "/register-application", 200] },
985
881
  () => RegisterApplicationInput,
986
882
  () => RegisterApplicationOutput,
987
883
  ];
@@ -989,9 +885,7 @@ var StartApplication = [
989
885
  9,
990
886
  n0,
991
887
  _SA,
992
- {
993
- [_h]: ["POST", "/start-application", 200],
994
- },
888
+ { [_h]: ["POST", "/start-application", 200] },
995
889
  () => StartApplicationInput,
996
890
  () => StartApplicationOutput,
997
891
  ];
@@ -999,9 +893,7 @@ var StartApplicationRefresh = [
999
893
  9,
1000
894
  n0,
1001
895
  _SAR,
1002
- {
1003
- [_h]: ["POST", "/start-application-refresh", 200],
1004
- },
896
+ { [_h]: ["POST", "/start-application-refresh", 200] },
1005
897
  () => StartApplicationRefreshInput,
1006
898
  () => StartApplicationRefreshOutput,
1007
899
  ];
@@ -1009,9 +901,7 @@ var StartConfigurationChecks = [
1009
901
  9,
1010
902
  n0,
1011
903
  _SCC,
1012
- {
1013
- [_h]: ["POST", "/start-configuration-checks", 200],
1014
- },
904
+ { [_h]: ["POST", "/start-configuration-checks", 200] },
1015
905
  () => StartConfigurationChecksInput,
1016
906
  () => StartConfigurationChecksOutput,
1017
907
  ];
@@ -1019,9 +909,7 @@ var StopApplication = [
1019
909
  9,
1020
910
  n0,
1021
911
  _SAt,
1022
- {
1023
- [_h]: ["POST", "/stop-application", 200],
1024
- },
912
+ { [_h]: ["POST", "/stop-application", 200] },
1025
913
  () => StopApplicationInput,
1026
914
  () => StopApplicationOutput,
1027
915
  ];
@@ -1029,9 +917,7 @@ var TagResource = [
1029
917
  9,
1030
918
  n0,
1031
919
  _TR,
1032
- {
1033
- [_h]: ["POST", "/tags/{resourceArn}", 200],
1034
- },
920
+ { [_h]: ["POST", "/tags/{resourceArn}", 200] },
1035
921
  () => TagResourceRequest,
1036
922
  () => TagResourceResponse,
1037
923
  ];
@@ -1039,9 +925,7 @@ var UntagResource = [
1039
925
  9,
1040
926
  n0,
1041
927
  _UR,
1042
- {
1043
- [_h]: ["DELETE", "/tags/{resourceArn}", 200],
1044
- },
928
+ { [_h]: ["DELETE", "/tags/{resourceArn}", 200] },
1045
929
  () => UntagResourceRequest,
1046
930
  () => UntagResourceResponse,
1047
931
  ];
@@ -1049,9 +933,7 @@ var UpdateApplicationSettings = [
1049
933
  9,
1050
934
  n0,
1051
935
  _UAS,
1052
- {
1053
- [_h]: ["POST", "/update-application-settings", 200],
1054
- },
936
+ { [_h]: ["POST", "/update-application-settings", 200] },
1055
937
  () => UpdateApplicationSettingsInput,
1056
938
  () => UpdateApplicationSettingsOutput,
1057
939
  ];
@@ -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 { defaultSsmSapHttpAuthSchemeParametersProvider, 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);