@aws-sdk/client-odb 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 (81) hide show
  1. package/dist-cjs/index.js +25 -212
  2. package/dist-cjs/runtimeConfig.browser.js +2 -2
  3. package/dist-cjs/runtimeConfig.js +3 -4
  4. package/dist-es/OdbClient.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 +25 -212
  8. package/dist-types/Odb.d.ts +1 -1
  9. package/dist-types/OdbClient.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/AcceptMarketplaceRegistrationCommand.d.ts +3 -3
  13. package/dist-types/commands/AssociateIamRoleToResourceCommand.d.ts +3 -3
  14. package/dist-types/commands/CreateCloudAutonomousVmClusterCommand.d.ts +3 -3
  15. package/dist-types/commands/CreateCloudExadataInfrastructureCommand.d.ts +3 -3
  16. package/dist-types/commands/CreateCloudVmClusterCommand.d.ts +3 -3
  17. package/dist-types/commands/CreateOdbNetworkCommand.d.ts +3 -3
  18. package/dist-types/commands/CreateOdbPeeringConnectionCommand.d.ts +3 -3
  19. package/dist-types/commands/DeleteCloudAutonomousVmClusterCommand.d.ts +3 -3
  20. package/dist-types/commands/DeleteCloudExadataInfrastructureCommand.d.ts +3 -3
  21. package/dist-types/commands/DeleteCloudVmClusterCommand.d.ts +3 -3
  22. package/dist-types/commands/DeleteOdbNetworkCommand.d.ts +3 -3
  23. package/dist-types/commands/DeleteOdbPeeringConnectionCommand.d.ts +3 -3
  24. package/dist-types/commands/DisassociateIamRoleFromResourceCommand.d.ts +3 -3
  25. package/dist-types/commands/GetCloudAutonomousVmClusterCommand.d.ts +3 -3
  26. package/dist-types/commands/GetCloudExadataInfrastructureCommand.d.ts +3 -3
  27. package/dist-types/commands/GetCloudExadataInfrastructureUnallocatedResourcesCommand.d.ts +3 -3
  28. package/dist-types/commands/GetCloudVmClusterCommand.d.ts +3 -3
  29. package/dist-types/commands/GetDbNodeCommand.d.ts +3 -3
  30. package/dist-types/commands/GetDbServerCommand.d.ts +3 -3
  31. package/dist-types/commands/GetOciOnboardingStatusCommand.d.ts +3 -3
  32. package/dist-types/commands/GetOdbNetworkCommand.d.ts +3 -3
  33. package/dist-types/commands/GetOdbPeeringConnectionCommand.d.ts +3 -3
  34. package/dist-types/commands/InitializeServiceCommand.d.ts +3 -3
  35. package/dist-types/commands/ListAutonomousVirtualMachinesCommand.d.ts +3 -3
  36. package/dist-types/commands/ListCloudAutonomousVmClustersCommand.d.ts +3 -3
  37. package/dist-types/commands/ListCloudExadataInfrastructuresCommand.d.ts +3 -3
  38. package/dist-types/commands/ListCloudVmClustersCommand.d.ts +3 -3
  39. package/dist-types/commands/ListDbNodesCommand.d.ts +3 -3
  40. package/dist-types/commands/ListDbServersCommand.d.ts +3 -3
  41. package/dist-types/commands/ListDbSystemShapesCommand.d.ts +3 -3
  42. package/dist-types/commands/ListGiVersionsCommand.d.ts +3 -3
  43. package/dist-types/commands/ListOdbNetworksCommand.d.ts +3 -3
  44. package/dist-types/commands/ListOdbPeeringConnectionsCommand.d.ts +3 -3
  45. package/dist-types/commands/ListSystemVersionsCommand.d.ts +3 -3
  46. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -3
  47. package/dist-types/commands/RebootDbNodeCommand.d.ts +3 -3
  48. package/dist-types/commands/StartDbNodeCommand.d.ts +3 -3
  49. package/dist-types/commands/StopDbNodeCommand.d.ts +3 -3
  50. package/dist-types/commands/TagResourceCommand.d.ts +3 -3
  51. package/dist-types/commands/UntagResourceCommand.d.ts +3 -3
  52. package/dist-types/commands/UpdateCloudExadataInfrastructureCommand.d.ts +3 -3
  53. package/dist-types/commands/UpdateOdbNetworkCommand.d.ts +3 -3
  54. package/dist-types/commands/UpdateOdbPeeringConnectionCommand.d.ts +3 -3
  55. package/dist-types/endpoint/EndpointParameters.d.ts +13 -1
  56. package/dist-types/endpoint/endpointResolver.d.ts +5 -2
  57. package/dist-types/extensionConfiguration.d.ts +4 -4
  58. package/dist-types/models/OdbServiceException.d.ts +1 -1
  59. package/dist-types/models/errors.d.ts +1 -1
  60. package/dist-types/pagination/Interfaces.d.ts +1 -1
  61. package/dist-types/pagination/ListAutonomousVirtualMachinesPaginator.d.ts +1 -1
  62. package/dist-types/pagination/ListCloudAutonomousVmClustersPaginator.d.ts +1 -1
  63. package/dist-types/pagination/ListCloudExadataInfrastructuresPaginator.d.ts +1 -1
  64. package/dist-types/pagination/ListCloudVmClustersPaginator.d.ts +1 -1
  65. package/dist-types/pagination/ListDbNodesPaginator.d.ts +1 -1
  66. package/dist-types/pagination/ListDbServersPaginator.d.ts +1 -1
  67. package/dist-types/pagination/ListDbSystemShapesPaginator.d.ts +1 -1
  68. package/dist-types/pagination/ListGiVersionsPaginator.d.ts +1 -1
  69. package/dist-types/pagination/ListOdbNetworksPaginator.d.ts +1 -1
  70. package/dist-types/pagination/ListOdbPeeringConnectionsPaginator.d.ts +1 -1
  71. package/dist-types/pagination/ListSystemVersionsPaginator.d.ts +1 -1
  72. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  73. package/dist-types/runtimeConfig.d.ts +1 -1
  74. package/dist-types/runtimeConfig.native.d.ts +1 -1
  75. package/dist-types/runtimeConfig.shared.d.ts +1 -1
  76. package/dist-types/runtimeExtensions.d.ts +1 -1
  77. package/dist-types/schemas/schemas_0.d.ts +1 -1
  78. package/dist-types/ts3.4/OdbClient.d.ts +3 -3
  79. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
  80. package/dist-types/ts3.4/models/OdbServiceException.d.ts +1 -1
  81. package/package.json +13 -12
package/dist-cjs/index.js CHANGED
@@ -697,17 +697,7 @@ const n0 = "com.amazonaws.odb";
697
697
  var SensitiveString = [0, n0, _SS, 8, 0];
698
698
  var AcceptMarketplaceRegistrationInput = [3, n0, _AMRI, 0, [_mRT], [0]];
699
699
  var AcceptMarketplaceRegistrationOutput = [3, n0, _AMRO, 0, [], []];
700
- var AccessDeniedException = [
701
- -3,
702
- n0,
703
- _ADE,
704
- {
705
- [_e]: _c,
706
- [_hE]: 403,
707
- },
708
- [_m],
709
- [0],
710
- ];
700
+ var AccessDeniedException = [-3, n0, _ADE, { [_e]: _c, [_hE]: 403 }, [_m], [0]];
711
701
  schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
712
702
  var AssociateIamRoleToResourceInput = [3, n0, _AIRTRI, 0, [_iRA, _aI, _rA], [0, 0, 0]];
713
703
  var AssociateIamRoleToResourceOutput = [3, n0, _AIRTRO, 0, [], []];
@@ -1307,17 +1297,7 @@ var CloudVmClusterSummary = [
1307
1297
  () => IamRoleList,
1308
1298
  ],
1309
1299
  ];
1310
- var ConflictException = [
1311
- -3,
1312
- n0,
1313
- _CE,
1314
- {
1315
- [_e]: _c,
1316
- [_hE]: 409,
1317
- },
1318
- [_m, _rI, _rT],
1319
- [0, 0, 0],
1320
- ];
1300
+ var ConflictException = [-3, n0, _CE, { [_e]: _c, [_hE]: 409 }, [_m, _rI, _rT], [0, 0, 0]];
1321
1301
  schema.TypeRegistry.for(n0).registerError(ConflictException, ConflictException$1);
1322
1302
  var CreateCloudAutonomousVmClusterInput = [
1323
1303
  3,
@@ -1698,20 +1678,9 @@ var InternalServerException = [
1698
1678
  -3,
1699
1679
  n0,
1700
1680
  _ISE,
1701
- {
1702
- [_e]: _se,
1703
- [_hE]: 500,
1704
- },
1681
+ { [_e]: _se, [_hE]: 500 },
1705
1682
  [_m, _rAS],
1706
- [
1707
- 0,
1708
- [
1709
- 1,
1710
- {
1711
- [_hH]: _RA,
1712
- },
1713
- ],
1714
- ],
1683
+ [0, [1, { [_hH]: _RA }]],
1715
1684
  ];
1716
1685
  schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
1717
1686
  var KmsAccess = [3, n0, _KA, 0, [_s, _iA, _dNo, _kPD], [0, 64 | 0, 0, 0]];
@@ -1722,18 +1691,8 @@ var ListAutonomousVirtualMachinesInput = [
1722
1691
  0,
1723
1692
  [_mR, _nT, _cAVCI],
1724
1693
  [
1725
- [
1726
- 1,
1727
- {
1728
- [_hQ]: _mR,
1729
- },
1730
- ],
1731
- [
1732
- 0,
1733
- {
1734
- [_hQ]: _nT,
1735
- },
1736
- ],
1694
+ [1, { [_hQ]: _mR }],
1695
+ [0, { [_hQ]: _nT }],
1737
1696
  [0, 1],
1738
1697
  ],
1739
1698
  ];
@@ -1751,21 +1710,7 @@ var ListCloudAutonomousVmClustersInput = [
1751
1710
  _LCAVCI,
1752
1711
  0,
1753
1712
  [_mR, _nT, _cEII],
1754
- [
1755
- [
1756
- 1,
1757
- {
1758
- [_hQ]: _mR,
1759
- },
1760
- ],
1761
- [
1762
- 0,
1763
- {
1764
- [_hQ]: _nT,
1765
- },
1766
- ],
1767
- 0,
1768
- ],
1713
+ [[1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }], 0],
1769
1714
  ];
1770
1715
  var ListCloudAutonomousVmClustersOutput = [
1771
1716
  3,
@@ -1782,18 +1727,8 @@ var ListCloudExadataInfrastructuresInput = [
1782
1727
  0,
1783
1728
  [_mR, _nT],
1784
1729
  [
1785
- [
1786
- 1,
1787
- {
1788
- [_hQ]: _mR,
1789
- },
1790
- ],
1791
- [
1792
- 0,
1793
- {
1794
- [_hQ]: _nT,
1795
- },
1796
- ],
1730
+ [1, { [_hQ]: _mR }],
1731
+ [0, { [_hQ]: _nT }],
1797
1732
  ],
1798
1733
  ];
1799
1734
  var ListCloudExadataInfrastructuresOutput = [
@@ -1810,21 +1745,7 @@ var ListCloudVmClustersInput = [
1810
1745
  _LCVCI,
1811
1746
  0,
1812
1747
  [_mR, _nT, _cEII],
1813
- [
1814
- [
1815
- 1,
1816
- {
1817
- [_hQ]: _mR,
1818
- },
1819
- ],
1820
- [
1821
- 0,
1822
- {
1823
- [_hQ]: _nT,
1824
- },
1825
- ],
1826
- 0,
1827
- ],
1748
+ [[1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }], 0],
1828
1749
  ];
1829
1750
  var ListCloudVmClustersOutput = [
1830
1751
  3,
@@ -1841,18 +1762,8 @@ var ListDbNodesInput = [
1841
1762
  0,
1842
1763
  [_mR, _nT, _cVCI],
1843
1764
  [
1844
- [
1845
- 1,
1846
- {
1847
- [_hQ]: _mR,
1848
- },
1849
- ],
1850
- [
1851
- 0,
1852
- {
1853
- [_hQ]: _nT,
1854
- },
1855
- ],
1765
+ [1, { [_hQ]: _mR }],
1766
+ [0, { [_hQ]: _nT }],
1856
1767
  [0, 1],
1857
1768
  ],
1858
1769
  ];
@@ -1865,18 +1776,8 @@ var ListDbServersInput = [
1865
1776
  [_cEII, _mR, _nT],
1866
1777
  [
1867
1778
  [0, 1],
1868
- [
1869
- 1,
1870
- {
1871
- [_hQ]: _mR,
1872
- },
1873
- ],
1874
- [
1875
- 0,
1876
- {
1877
- [_hQ]: _nT,
1878
- },
1879
- ],
1779
+ [1, { [_hQ]: _mR }],
1780
+ [0, { [_hQ]: _nT }],
1880
1781
  ],
1881
1782
  ];
1882
1783
  var ListDbServersOutput = [3, n0, _LDSO, 0, [_nT, _dS], [0, () => DbServerList]];
@@ -1886,22 +1787,7 @@ var ListDbSystemShapesInput = [
1886
1787
  _LDSSI,
1887
1788
  0,
1888
1789
  [_mR, _nT, _aZ, _aZI],
1889
- [
1890
- [
1891
- 1,
1892
- {
1893
- [_hQ]: _mR,
1894
- },
1895
- ],
1896
- [
1897
- 0,
1898
- {
1899
- [_hQ]: _nT,
1900
- },
1901
- ],
1902
- 0,
1903
- 0,
1904
- ],
1790
+ [[1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }], 0, 0],
1905
1791
  ];
1906
1792
  var ListDbSystemShapesOutput = [
1907
1793
  3,
@@ -1917,21 +1803,7 @@ var ListGiVersionsInput = [
1917
1803
  _LGVI,
1918
1804
  0,
1919
1805
  [_mR, _nT, _sh],
1920
- [
1921
- [
1922
- 1,
1923
- {
1924
- [_hQ]: _mR,
1925
- },
1926
- ],
1927
- [
1928
- 0,
1929
- {
1930
- [_hQ]: _nT,
1931
- },
1932
- ],
1933
- 0,
1934
- ],
1806
+ [[1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }], 0],
1935
1807
  ];
1936
1808
  var ListGiVersionsOutput = [3, n0, _LGVO, 0, [_nT, _gVi], [0, () => GiVersionList]];
1937
1809
  var ListOdbNetworksInput = [
@@ -1941,18 +1813,8 @@ var ListOdbNetworksInput = [
1941
1813
  0,
1942
1814
  [_mR, _nT],
1943
1815
  [
1944
- [
1945
- 1,
1946
- {
1947
- [_hQ]: _mR,
1948
- },
1949
- ],
1950
- [
1951
- 0,
1952
- {
1953
- [_hQ]: _nT,
1954
- },
1955
- ],
1816
+ [1, { [_hQ]: _mR }],
1817
+ [0, { [_hQ]: _nT }],
1956
1818
  ],
1957
1819
  ];
1958
1820
  var ListOdbNetworksOutput = [3, n0, _LONO, 0, [_nT, _oNd], [0, () => OdbNetworkList]];
@@ -1962,21 +1824,7 @@ var ListOdbPeeringConnectionsInput = [
1962
1824
  _LOPCI,
1963
1825
  0,
1964
1826
  [_mR, _nT, _oNI],
1965
- [
1966
- [
1967
- 1,
1968
- {
1969
- [_hQ]: _mR,
1970
- },
1971
- ],
1972
- [
1973
- 0,
1974
- {
1975
- [_hQ]: _nT,
1976
- },
1977
- ],
1978
- 0,
1979
- ],
1827
+ [[1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }], 0],
1980
1828
  ];
1981
1829
  var ListOdbPeeringConnectionsOutput = [
1982
1830
  3,
@@ -1992,22 +1840,7 @@ var ListSystemVersionsInput = [
1992
1840
  _LSVI,
1993
1841
  0,
1994
1842
  [_mR, _nT, _gV, _sh],
1995
- [
1996
- [
1997
- 1,
1998
- {
1999
- [_hQ]: _mR,
2000
- },
2001
- ],
2002
- [
2003
- 0,
2004
- {
2005
- [_hQ]: _nT,
2006
- },
2007
- ],
2008
- 0,
2009
- 0,
2010
- ],
1843
+ [[1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }], 0, 0],
2011
1844
  ];
2012
1845
  var ListSystemVersionsOutput = [
2013
1846
  3,
@@ -2193,10 +2026,7 @@ var ResourceNotFoundException = [
2193
2026
  -3,
2194
2027
  n0,
2195
2028
  _RNFE,
2196
- {
2197
- [_e]: _c,
2198
- [_hE]: 404,
2199
- },
2029
+ { [_e]: _c, [_hE]: 404 },
2200
2030
  [_m, _rI, _rT],
2201
2031
  [0, 0, 0],
2202
2032
  ];
@@ -2207,10 +2037,7 @@ var ServiceQuotaExceededException = [
2207
2037
  -3,
2208
2038
  n0,
2209
2039
  _SQEE,
2210
- {
2211
- [_e]: _c,
2212
- [_hE]: 402,
2213
- },
2040
+ { [_e]: _c, [_hE]: 402 },
2214
2041
  [_m, _rI, _rT, _qC],
2215
2042
  [0, 0, 0, 0],
2216
2043
  ];
@@ -2247,20 +2074,9 @@ var ThrottlingException = [
2247
2074
  -3,
2248
2075
  n0,
2249
2076
  _TE,
2250
- {
2251
- [_e]: _c,
2252
- [_hE]: 429,
2253
- },
2077
+ { [_e]: _c, [_hE]: 429 },
2254
2078
  [_m, _rAS],
2255
- [
2256
- 0,
2257
- [
2258
- 1,
2259
- {
2260
- [_hH]: _RA,
2261
- },
2262
- ],
2263
- ],
2079
+ [0, [1, { [_hH]: _RA }]],
2264
2080
  ];
2265
2081
  schema.TypeRegistry.for(n0).registerError(ThrottlingException, ThrottlingException$1);
2266
2082
  var UntagResourceRequest = [3, n0, _URR, 0, [_rA, _tK], [[0, 1], 64 | 0]];
@@ -2310,10 +2126,7 @@ var ValidationException = [
2310
2126
  -3,
2311
2127
  n0,
2312
2128
  _VE,
2313
- {
2314
- [_e]: _c,
2315
- [_hE]: 400,
2316
- },
2129
+ { [_e]: _c, [_hE]: 400 },
2317
2130
  [_m, _re, _fL],
2318
2131
  [0, 0, () => ValidationExceptionFieldList],
2319
2132
  ];
@@ -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 { defaultOdbHttpAuthSchemeParametersProvider, 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);