@aws-sdk/client-opensearchserverless 3.645.0 → 3.650.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 (47) hide show
  1. package/dist-cjs/endpoint/endpointResolver.js +6 -2
  2. package/dist-cjs/index.js +37 -111
  3. package/dist-es/commands/BatchGetCollectionCommand.js +1 -3
  4. package/dist-es/commands/BatchGetEffectiveLifecyclePolicyCommand.js +1 -3
  5. package/dist-es/commands/BatchGetLifecyclePolicyCommand.js +1 -3
  6. package/dist-es/commands/BatchGetVpcEndpointCommand.js +1 -3
  7. package/dist-es/commands/CreateAccessPolicyCommand.js +1 -3
  8. package/dist-es/commands/CreateCollectionCommand.js +1 -3
  9. package/dist-es/commands/CreateLifecyclePolicyCommand.js +1 -3
  10. package/dist-es/commands/CreateSecurityConfigCommand.js +1 -3
  11. package/dist-es/commands/CreateSecurityPolicyCommand.js +1 -3
  12. package/dist-es/commands/CreateVpcEndpointCommand.js +1 -3
  13. package/dist-es/commands/DeleteAccessPolicyCommand.js +1 -3
  14. package/dist-es/commands/DeleteCollectionCommand.js +1 -3
  15. package/dist-es/commands/DeleteLifecyclePolicyCommand.js +1 -3
  16. package/dist-es/commands/DeleteSecurityConfigCommand.js +1 -3
  17. package/dist-es/commands/DeleteSecurityPolicyCommand.js +1 -3
  18. package/dist-es/commands/DeleteVpcEndpointCommand.js +1 -3
  19. package/dist-es/commands/GetAccessPolicyCommand.js +1 -3
  20. package/dist-es/commands/GetAccountSettingsCommand.js +1 -3
  21. package/dist-es/commands/GetPoliciesStatsCommand.js +1 -3
  22. package/dist-es/commands/GetSecurityConfigCommand.js +1 -3
  23. package/dist-es/commands/GetSecurityPolicyCommand.js +1 -3
  24. package/dist-es/commands/ListAccessPoliciesCommand.js +1 -3
  25. package/dist-es/commands/ListCollectionsCommand.js +1 -3
  26. package/dist-es/commands/ListLifecyclePoliciesCommand.js +1 -3
  27. package/dist-es/commands/ListSecurityConfigsCommand.js +1 -3
  28. package/dist-es/commands/ListSecurityPoliciesCommand.js +1 -3
  29. package/dist-es/commands/ListTagsForResourceCommand.js +1 -3
  30. package/dist-es/commands/ListVpcEndpointsCommand.js +1 -3
  31. package/dist-es/commands/TagResourceCommand.js +1 -3
  32. package/dist-es/commands/UntagResourceCommand.js +1 -3
  33. package/dist-es/commands/UpdateAccessPolicyCommand.js +1 -3
  34. package/dist-es/commands/UpdateAccountSettingsCommand.js +1 -3
  35. package/dist-es/commands/UpdateCollectionCommand.js +1 -3
  36. package/dist-es/commands/UpdateLifecyclePolicyCommand.js +1 -3
  37. package/dist-es/commands/UpdateSecurityConfigCommand.js +1 -3
  38. package/dist-es/commands/UpdateSecurityPolicyCommand.js +1 -3
  39. package/dist-es/commands/UpdateVpcEndpointCommand.js +1 -3
  40. package/dist-es/endpoint/endpointResolver.js +7 -3
  41. package/dist-types/runtimeConfig.browser.d.ts +2 -0
  42. package/dist-types/runtimeConfig.d.ts +2 -0
  43. package/dist-types/runtimeConfig.native.d.ts +2 -0
  44. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
  45. package/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
  46. package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
  47. package/package.json +35 -35
@@ -4,11 +4,15 @@ exports.defaultEndpointResolver = void 0;
4
4
  const util_endpoints_1 = require("@aws-sdk/util-endpoints");
5
5
  const util_endpoints_2 = require("@smithy/util-endpoints");
6
6
  const ruleset_1 = require("./ruleset");
7
+ const cache = new util_endpoints_2.EndpointCache({
8
+ size: 50,
9
+ params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
10
+ });
7
11
  const defaultEndpointResolver = (endpointParams, context = {}) => {
8
- return (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {
12
+ return cache.get(endpointParams, () => (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {
9
13
  endpointParams: endpointParams,
10
14
  logger: context.logger,
11
- });
15
+ }));
12
16
  };
13
17
  exports.defaultEndpointResolver = defaultEndpointResolver;
14
18
  util_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;
package/dist-cjs/index.js CHANGED
@@ -1517,9 +1517,7 @@ function sharedHeaders(operation) {
1517
1517
  __name(sharedHeaders, "sharedHeaders");
1518
1518
 
1519
1519
  // src/commands/BatchGetCollectionCommand.ts
1520
- var _BatchGetCollectionCommand = class _BatchGetCollectionCommand extends import_smithy_client.Command.classBuilder().ep({
1521
- ...commonParams
1522
- }).m(function(Command, cs, config, o) {
1520
+ var _BatchGetCollectionCommand = class _BatchGetCollectionCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1523
1521
  return [
1524
1522
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1525
1523
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1533,9 +1531,7 @@ var BatchGetCollectionCommand = _BatchGetCollectionCommand;
1533
1531
 
1534
1532
 
1535
1533
 
1536
- var _BatchGetEffectiveLifecyclePolicyCommand = class _BatchGetEffectiveLifecyclePolicyCommand extends import_smithy_client.Command.classBuilder().ep({
1537
- ...commonParams
1538
- }).m(function(Command, cs, config, o) {
1534
+ var _BatchGetEffectiveLifecyclePolicyCommand = class _BatchGetEffectiveLifecyclePolicyCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1539
1535
  return [
1540
1536
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1541
1537
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1549,9 +1545,7 @@ var BatchGetEffectiveLifecyclePolicyCommand = _BatchGetEffectiveLifecyclePolicyC
1549
1545
 
1550
1546
 
1551
1547
 
1552
- var _BatchGetLifecyclePolicyCommand = class _BatchGetLifecyclePolicyCommand extends import_smithy_client.Command.classBuilder().ep({
1553
- ...commonParams
1554
- }).m(function(Command, cs, config, o) {
1548
+ var _BatchGetLifecyclePolicyCommand = class _BatchGetLifecyclePolicyCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1555
1549
  return [
1556
1550
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1557
1551
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1565,9 +1559,7 @@ var BatchGetLifecyclePolicyCommand = _BatchGetLifecyclePolicyCommand;
1565
1559
 
1566
1560
 
1567
1561
 
1568
- var _BatchGetVpcEndpointCommand = class _BatchGetVpcEndpointCommand extends import_smithy_client.Command.classBuilder().ep({
1569
- ...commonParams
1570
- }).m(function(Command, cs, config, o) {
1562
+ var _BatchGetVpcEndpointCommand = class _BatchGetVpcEndpointCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1571
1563
  return [
1572
1564
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1573
1565
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1581,9 +1573,7 @@ var BatchGetVpcEndpointCommand = _BatchGetVpcEndpointCommand;
1581
1573
 
1582
1574
 
1583
1575
 
1584
- var _CreateAccessPolicyCommand = class _CreateAccessPolicyCommand extends import_smithy_client.Command.classBuilder().ep({
1585
- ...commonParams
1586
- }).m(function(Command, cs, config, o) {
1576
+ var _CreateAccessPolicyCommand = class _CreateAccessPolicyCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1587
1577
  return [
1588
1578
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1589
1579
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1597,9 +1587,7 @@ var CreateAccessPolicyCommand = _CreateAccessPolicyCommand;
1597
1587
 
1598
1588
 
1599
1589
 
1600
- var _CreateCollectionCommand = class _CreateCollectionCommand extends import_smithy_client.Command.classBuilder().ep({
1601
- ...commonParams
1602
- }).m(function(Command, cs, config, o) {
1590
+ var _CreateCollectionCommand = class _CreateCollectionCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1603
1591
  return [
1604
1592
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1605
1593
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1613,9 +1601,7 @@ var CreateCollectionCommand = _CreateCollectionCommand;
1613
1601
 
1614
1602
 
1615
1603
 
1616
- var _CreateLifecyclePolicyCommand = class _CreateLifecyclePolicyCommand extends import_smithy_client.Command.classBuilder().ep({
1617
- ...commonParams
1618
- }).m(function(Command, cs, config, o) {
1604
+ var _CreateLifecyclePolicyCommand = class _CreateLifecyclePolicyCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1619
1605
  return [
1620
1606
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1621
1607
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1629,9 +1615,7 @@ var CreateLifecyclePolicyCommand = _CreateLifecyclePolicyCommand;
1629
1615
 
1630
1616
 
1631
1617
 
1632
- var _CreateSecurityConfigCommand = class _CreateSecurityConfigCommand extends import_smithy_client.Command.classBuilder().ep({
1633
- ...commonParams
1634
- }).m(function(Command, cs, config, o) {
1618
+ var _CreateSecurityConfigCommand = class _CreateSecurityConfigCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1635
1619
  return [
1636
1620
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1637
1621
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1645,9 +1629,7 @@ var CreateSecurityConfigCommand = _CreateSecurityConfigCommand;
1645
1629
 
1646
1630
 
1647
1631
 
1648
- var _CreateSecurityPolicyCommand = class _CreateSecurityPolicyCommand extends import_smithy_client.Command.classBuilder().ep({
1649
- ...commonParams
1650
- }).m(function(Command, cs, config, o) {
1632
+ var _CreateSecurityPolicyCommand = class _CreateSecurityPolicyCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1651
1633
  return [
1652
1634
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1653
1635
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1661,9 +1643,7 @@ var CreateSecurityPolicyCommand = _CreateSecurityPolicyCommand;
1661
1643
 
1662
1644
 
1663
1645
 
1664
- var _CreateVpcEndpointCommand = class _CreateVpcEndpointCommand extends import_smithy_client.Command.classBuilder().ep({
1665
- ...commonParams
1666
- }).m(function(Command, cs, config, o) {
1646
+ var _CreateVpcEndpointCommand = class _CreateVpcEndpointCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1667
1647
  return [
1668
1648
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1669
1649
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1677,9 +1657,7 @@ var CreateVpcEndpointCommand = _CreateVpcEndpointCommand;
1677
1657
 
1678
1658
 
1679
1659
 
1680
- var _DeleteAccessPolicyCommand = class _DeleteAccessPolicyCommand extends import_smithy_client.Command.classBuilder().ep({
1681
- ...commonParams
1682
- }).m(function(Command, cs, config, o) {
1660
+ var _DeleteAccessPolicyCommand = class _DeleteAccessPolicyCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1683
1661
  return [
1684
1662
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1685
1663
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1693,9 +1671,7 @@ var DeleteAccessPolicyCommand = _DeleteAccessPolicyCommand;
1693
1671
 
1694
1672
 
1695
1673
 
1696
- var _DeleteCollectionCommand = class _DeleteCollectionCommand extends import_smithy_client.Command.classBuilder().ep({
1697
- ...commonParams
1698
- }).m(function(Command, cs, config, o) {
1674
+ var _DeleteCollectionCommand = class _DeleteCollectionCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1699
1675
  return [
1700
1676
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1701
1677
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1709,9 +1685,7 @@ var DeleteCollectionCommand = _DeleteCollectionCommand;
1709
1685
 
1710
1686
 
1711
1687
 
1712
- var _DeleteLifecyclePolicyCommand = class _DeleteLifecyclePolicyCommand extends import_smithy_client.Command.classBuilder().ep({
1713
- ...commonParams
1714
- }).m(function(Command, cs, config, o) {
1688
+ var _DeleteLifecyclePolicyCommand = class _DeleteLifecyclePolicyCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1715
1689
  return [
1716
1690
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1717
1691
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1725,9 +1699,7 @@ var DeleteLifecyclePolicyCommand = _DeleteLifecyclePolicyCommand;
1725
1699
 
1726
1700
 
1727
1701
 
1728
- var _DeleteSecurityConfigCommand = class _DeleteSecurityConfigCommand extends import_smithy_client.Command.classBuilder().ep({
1729
- ...commonParams
1730
- }).m(function(Command, cs, config, o) {
1702
+ var _DeleteSecurityConfigCommand = class _DeleteSecurityConfigCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1731
1703
  return [
1732
1704
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1733
1705
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1741,9 +1713,7 @@ var DeleteSecurityConfigCommand = _DeleteSecurityConfigCommand;
1741
1713
 
1742
1714
 
1743
1715
 
1744
- var _DeleteSecurityPolicyCommand = class _DeleteSecurityPolicyCommand extends import_smithy_client.Command.classBuilder().ep({
1745
- ...commonParams
1746
- }).m(function(Command, cs, config, o) {
1716
+ var _DeleteSecurityPolicyCommand = class _DeleteSecurityPolicyCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1747
1717
  return [
1748
1718
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1749
1719
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1757,9 +1727,7 @@ var DeleteSecurityPolicyCommand = _DeleteSecurityPolicyCommand;
1757
1727
 
1758
1728
 
1759
1729
 
1760
- var _DeleteVpcEndpointCommand = class _DeleteVpcEndpointCommand extends import_smithy_client.Command.classBuilder().ep({
1761
- ...commonParams
1762
- }).m(function(Command, cs, config, o) {
1730
+ var _DeleteVpcEndpointCommand = class _DeleteVpcEndpointCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1763
1731
  return [
1764
1732
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1765
1733
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1773,9 +1741,7 @@ var DeleteVpcEndpointCommand = _DeleteVpcEndpointCommand;
1773
1741
 
1774
1742
 
1775
1743
 
1776
- var _GetAccessPolicyCommand = class _GetAccessPolicyCommand extends import_smithy_client.Command.classBuilder().ep({
1777
- ...commonParams
1778
- }).m(function(Command, cs, config, o) {
1744
+ var _GetAccessPolicyCommand = class _GetAccessPolicyCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1779
1745
  return [
1780
1746
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1781
1747
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1789,9 +1755,7 @@ var GetAccessPolicyCommand = _GetAccessPolicyCommand;
1789
1755
 
1790
1756
 
1791
1757
 
1792
- var _GetAccountSettingsCommand = class _GetAccountSettingsCommand extends import_smithy_client.Command.classBuilder().ep({
1793
- ...commonParams
1794
- }).m(function(Command, cs, config, o) {
1758
+ var _GetAccountSettingsCommand = class _GetAccountSettingsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1795
1759
  return [
1796
1760
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1797
1761
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1805,9 +1769,7 @@ var GetAccountSettingsCommand = _GetAccountSettingsCommand;
1805
1769
 
1806
1770
 
1807
1771
 
1808
- var _GetPoliciesStatsCommand = class _GetPoliciesStatsCommand extends import_smithy_client.Command.classBuilder().ep({
1809
- ...commonParams
1810
- }).m(function(Command, cs, config, o) {
1772
+ var _GetPoliciesStatsCommand = class _GetPoliciesStatsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1811
1773
  return [
1812
1774
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1813
1775
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1821,9 +1783,7 @@ var GetPoliciesStatsCommand = _GetPoliciesStatsCommand;
1821
1783
 
1822
1784
 
1823
1785
 
1824
- var _GetSecurityConfigCommand = class _GetSecurityConfigCommand extends import_smithy_client.Command.classBuilder().ep({
1825
- ...commonParams
1826
- }).m(function(Command, cs, config, o) {
1786
+ var _GetSecurityConfigCommand = class _GetSecurityConfigCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1827
1787
  return [
1828
1788
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1829
1789
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1837,9 +1797,7 @@ var GetSecurityConfigCommand = _GetSecurityConfigCommand;
1837
1797
 
1838
1798
 
1839
1799
 
1840
- var _GetSecurityPolicyCommand = class _GetSecurityPolicyCommand extends import_smithy_client.Command.classBuilder().ep({
1841
- ...commonParams
1842
- }).m(function(Command, cs, config, o) {
1800
+ var _GetSecurityPolicyCommand = class _GetSecurityPolicyCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1843
1801
  return [
1844
1802
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1845
1803
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1853,9 +1811,7 @@ var GetSecurityPolicyCommand = _GetSecurityPolicyCommand;
1853
1811
 
1854
1812
 
1855
1813
 
1856
- var _ListAccessPoliciesCommand = class _ListAccessPoliciesCommand extends import_smithy_client.Command.classBuilder().ep({
1857
- ...commonParams
1858
- }).m(function(Command, cs, config, o) {
1814
+ var _ListAccessPoliciesCommand = class _ListAccessPoliciesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1859
1815
  return [
1860
1816
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1861
1817
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1869,9 +1825,7 @@ var ListAccessPoliciesCommand = _ListAccessPoliciesCommand;
1869
1825
 
1870
1826
 
1871
1827
 
1872
- var _ListCollectionsCommand = class _ListCollectionsCommand extends import_smithy_client.Command.classBuilder().ep({
1873
- ...commonParams
1874
- }).m(function(Command, cs, config, o) {
1828
+ var _ListCollectionsCommand = class _ListCollectionsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1875
1829
  return [
1876
1830
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1877
1831
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1885,9 +1839,7 @@ var ListCollectionsCommand = _ListCollectionsCommand;
1885
1839
 
1886
1840
 
1887
1841
 
1888
- var _ListLifecyclePoliciesCommand = class _ListLifecyclePoliciesCommand extends import_smithy_client.Command.classBuilder().ep({
1889
- ...commonParams
1890
- }).m(function(Command, cs, config, o) {
1842
+ var _ListLifecyclePoliciesCommand = class _ListLifecyclePoliciesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1891
1843
  return [
1892
1844
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1893
1845
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1901,9 +1853,7 @@ var ListLifecyclePoliciesCommand = _ListLifecyclePoliciesCommand;
1901
1853
 
1902
1854
 
1903
1855
 
1904
- var _ListSecurityConfigsCommand = class _ListSecurityConfigsCommand extends import_smithy_client.Command.classBuilder().ep({
1905
- ...commonParams
1906
- }).m(function(Command, cs, config, o) {
1856
+ var _ListSecurityConfigsCommand = class _ListSecurityConfigsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1907
1857
  return [
1908
1858
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1909
1859
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1917,9 +1867,7 @@ var ListSecurityConfigsCommand = _ListSecurityConfigsCommand;
1917
1867
 
1918
1868
 
1919
1869
 
1920
- var _ListSecurityPoliciesCommand = class _ListSecurityPoliciesCommand extends import_smithy_client.Command.classBuilder().ep({
1921
- ...commonParams
1922
- }).m(function(Command, cs, config, o) {
1870
+ var _ListSecurityPoliciesCommand = class _ListSecurityPoliciesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1923
1871
  return [
1924
1872
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1925
1873
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1933,9 +1881,7 @@ var ListSecurityPoliciesCommand = _ListSecurityPoliciesCommand;
1933
1881
 
1934
1882
 
1935
1883
 
1936
- var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep({
1937
- ...commonParams
1938
- }).m(function(Command, cs, config, o) {
1884
+ var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1939
1885
  return [
1940
1886
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1941
1887
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1949,9 +1895,7 @@ var ListTagsForResourceCommand = _ListTagsForResourceCommand;
1949
1895
 
1950
1896
 
1951
1897
 
1952
- var _ListVpcEndpointsCommand = class _ListVpcEndpointsCommand extends import_smithy_client.Command.classBuilder().ep({
1953
- ...commonParams
1954
- }).m(function(Command, cs, config, o) {
1898
+ var _ListVpcEndpointsCommand = class _ListVpcEndpointsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1955
1899
  return [
1956
1900
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1957
1901
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1965,9 +1909,7 @@ var ListVpcEndpointsCommand = _ListVpcEndpointsCommand;
1965
1909
 
1966
1910
 
1967
1911
 
1968
- var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
1969
- ...commonParams
1970
- }).m(function(Command, cs, config, o) {
1912
+ var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1971
1913
  return [
1972
1914
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1973
1915
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1981,9 +1923,7 @@ var TagResourceCommand = _TagResourceCommand;
1981
1923
 
1982
1924
 
1983
1925
 
1984
- var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
1985
- ...commonParams
1986
- }).m(function(Command, cs, config, o) {
1926
+ var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1987
1927
  return [
1988
1928
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1989
1929
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1997,9 +1937,7 @@ var UntagResourceCommand = _UntagResourceCommand;
1997
1937
 
1998
1938
 
1999
1939
 
2000
- var _UpdateAccessPolicyCommand = class _UpdateAccessPolicyCommand extends import_smithy_client.Command.classBuilder().ep({
2001
- ...commonParams
2002
- }).m(function(Command, cs, config, o) {
1940
+ var _UpdateAccessPolicyCommand = class _UpdateAccessPolicyCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2003
1941
  return [
2004
1942
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2005
1943
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2013,9 +1951,7 @@ var UpdateAccessPolicyCommand = _UpdateAccessPolicyCommand;
2013
1951
 
2014
1952
 
2015
1953
 
2016
- var _UpdateAccountSettingsCommand = class _UpdateAccountSettingsCommand extends import_smithy_client.Command.classBuilder().ep({
2017
- ...commonParams
2018
- }).m(function(Command, cs, config, o) {
1954
+ var _UpdateAccountSettingsCommand = class _UpdateAccountSettingsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2019
1955
  return [
2020
1956
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2021
1957
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2029,9 +1965,7 @@ var UpdateAccountSettingsCommand = _UpdateAccountSettingsCommand;
2029
1965
 
2030
1966
 
2031
1967
 
2032
- var _UpdateCollectionCommand = class _UpdateCollectionCommand extends import_smithy_client.Command.classBuilder().ep({
2033
- ...commonParams
2034
- }).m(function(Command, cs, config, o) {
1968
+ var _UpdateCollectionCommand = class _UpdateCollectionCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2035
1969
  return [
2036
1970
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2037
1971
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2045,9 +1979,7 @@ var UpdateCollectionCommand = _UpdateCollectionCommand;
2045
1979
 
2046
1980
 
2047
1981
 
2048
- var _UpdateLifecyclePolicyCommand = class _UpdateLifecyclePolicyCommand extends import_smithy_client.Command.classBuilder().ep({
2049
- ...commonParams
2050
- }).m(function(Command, cs, config, o) {
1982
+ var _UpdateLifecyclePolicyCommand = class _UpdateLifecyclePolicyCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2051
1983
  return [
2052
1984
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2053
1985
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2061,9 +1993,7 @@ var UpdateLifecyclePolicyCommand = _UpdateLifecyclePolicyCommand;
2061
1993
 
2062
1994
 
2063
1995
 
2064
- var _UpdateSecurityConfigCommand = class _UpdateSecurityConfigCommand extends import_smithy_client.Command.classBuilder().ep({
2065
- ...commonParams
2066
- }).m(function(Command, cs, config, o) {
1996
+ var _UpdateSecurityConfigCommand = class _UpdateSecurityConfigCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2067
1997
  return [
2068
1998
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2069
1999
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2077,9 +2007,7 @@ var UpdateSecurityConfigCommand = _UpdateSecurityConfigCommand;
2077
2007
 
2078
2008
 
2079
2009
 
2080
- var _UpdateSecurityPolicyCommand = class _UpdateSecurityPolicyCommand extends import_smithy_client.Command.classBuilder().ep({
2081
- ...commonParams
2082
- }).m(function(Command, cs, config, o) {
2010
+ var _UpdateSecurityPolicyCommand = class _UpdateSecurityPolicyCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2083
2011
  return [
2084
2012
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2085
2013
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2093,9 +2021,7 @@ var UpdateSecurityPolicyCommand = _UpdateSecurityPolicyCommand;
2093
2021
 
2094
2022
 
2095
2023
 
2096
- var _UpdateVpcEndpointCommand = class _UpdateVpcEndpointCommand extends import_smithy_client.Command.classBuilder().ep({
2097
- ...commonParams
2098
- }).m(function(Command, cs, config, o) {
2024
+ var _UpdateVpcEndpointCommand = class _UpdateVpcEndpointCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2099
2025
  return [
2100
2026
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2101
2027
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -6,9 +6,7 @@ import { de_BatchGetCollectionCommand, se_BatchGetCollectionCommand } from "../p
6
6
  export { $Command };
7
7
  export class BatchGetCollectionCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_BatchGetEffectiveLifecyclePolicyCommand, se_BatchGetEffectiveLifecyc
6
6
  export { $Command };
7
7
  export class BatchGetEffectiveLifecyclePolicyCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_BatchGetLifecyclePolicyCommand, se_BatchGetLifecyclePolicyCommand }
6
6
  export { $Command };
7
7
  export class BatchGetLifecyclePolicyCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_BatchGetVpcEndpointCommand, se_BatchGetVpcEndpointCommand } from "..
6
6
  export { $Command };
7
7
  export class BatchGetVpcEndpointCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_CreateAccessPolicyCommand, se_CreateAccessPolicyCommand } from "../p
6
6
  export { $Command };
7
7
  export class CreateAccessPolicyCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_CreateCollectionCommand, se_CreateCollectionCommand } from "../proto
6
6
  export { $Command };
7
7
  export class CreateCollectionCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_CreateLifecyclePolicyCommand, se_CreateLifecyclePolicyCommand } from
6
6
  export { $Command };
7
7
  export class CreateLifecyclePolicyCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_CreateSecurityConfigCommand, se_CreateSecurityConfigCommand } from "
6
6
  export { $Command };
7
7
  export class CreateSecurityConfigCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_CreateSecurityPolicyCommand, se_CreateSecurityPolicyCommand } from "
6
6
  export { $Command };
7
7
  export class CreateSecurityPolicyCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_CreateVpcEndpointCommand, se_CreateVpcEndpointCommand } from "../pro
6
6
  export { $Command };
7
7
  export class CreateVpcEndpointCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_DeleteAccessPolicyCommand, se_DeleteAccessPolicyCommand } from "../p
6
6
  export { $Command };
7
7
  export class DeleteAccessPolicyCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_DeleteCollectionCommand, se_DeleteCollectionCommand } from "../proto
6
6
  export { $Command };
7
7
  export class DeleteCollectionCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_DeleteLifecyclePolicyCommand, se_DeleteLifecyclePolicyCommand } from
6
6
  export { $Command };
7
7
  export class DeleteLifecyclePolicyCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_DeleteSecurityConfigCommand, se_DeleteSecurityConfigCommand } from "
6
6
  export { $Command };
7
7
  export class DeleteSecurityConfigCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_DeleteSecurityPolicyCommand, se_DeleteSecurityPolicyCommand } from "
6
6
  export { $Command };
7
7
  export class DeleteSecurityPolicyCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_DeleteVpcEndpointCommand, se_DeleteVpcEndpointCommand } from "../pro
6
6
  export { $Command };
7
7
  export class DeleteVpcEndpointCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_GetAccessPolicyCommand, se_GetAccessPolicyCommand } from "../protoco
6
6
  export { $Command };
7
7
  export class GetAccessPolicyCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_GetAccountSettingsCommand, se_GetAccountSettingsCommand } from "../p
6
6
  export { $Command };
7
7
  export class GetAccountSettingsCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_GetPoliciesStatsCommand, se_GetPoliciesStatsCommand } from "../proto
6
6
  export { $Command };
7
7
  export class GetPoliciesStatsCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_GetSecurityConfigCommand, se_GetSecurityConfigCommand } from "../pro
6
6
  export { $Command };
7
7
  export class GetSecurityConfigCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_GetSecurityPolicyCommand, se_GetSecurityPolicyCommand } from "../pro
6
6
  export { $Command };
7
7
  export class GetSecurityPolicyCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_ListAccessPoliciesCommand, se_ListAccessPoliciesCommand } from "../p
6
6
  export { $Command };
7
7
  export class ListAccessPoliciesCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_ListCollectionsCommand, se_ListCollectionsCommand } from "../protoco
6
6
  export { $Command };
7
7
  export class ListCollectionsCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_ListLifecyclePoliciesCommand, se_ListLifecyclePoliciesCommand } from
6
6
  export { $Command };
7
7
  export class ListLifecyclePoliciesCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_ListSecurityConfigsCommand, se_ListSecurityConfigsCommand } from "..
6
6
  export { $Command };
7
7
  export class ListSecurityConfigsCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_ListSecurityPoliciesCommand, se_ListSecurityPoliciesCommand } from "
6
6
  export { $Command };
7
7
  export class ListSecurityPoliciesCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "..
6
6
  export { $Command };
7
7
  export class ListTagsForResourceCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_ListVpcEndpointsCommand, se_ListVpcEndpointsCommand } from "../proto
6
6
  export { $Command };
7
7
  export class ListVpcEndpointsCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_j
6
6
  export { $Command };
7
7
  export class TagResourceCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/A
6
6
  export { $Command };
7
7
  export class UntagResourceCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_UpdateAccessPolicyCommand, se_UpdateAccessPolicyCommand } from "../p
6
6
  export { $Command };
7
7
  export class UpdateAccessPolicyCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_UpdateAccountSettingsCommand, se_UpdateAccountSettingsCommand } from
6
6
  export { $Command };
7
7
  export class UpdateAccountSettingsCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_UpdateCollectionCommand, se_UpdateCollectionCommand } from "../proto
6
6
  export { $Command };
7
7
  export class UpdateCollectionCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_UpdateLifecyclePolicyCommand, se_UpdateLifecyclePolicyCommand } from
6
6
  export { $Command };
7
7
  export class UpdateLifecyclePolicyCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_UpdateSecurityConfigCommand, se_UpdateSecurityConfigCommand } from "
6
6
  export { $Command };
7
7
  export class UpdateSecurityConfigCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_UpdateSecurityPolicyCommand, se_UpdateSecurityPolicyCommand } from "
6
6
  export { $Command };
7
7
  export class UpdateSecurityPolicyCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_UpdateVpcEndpointCommand, se_UpdateVpcEndpointCommand } from "../pro
6
6
  export { $Command };
7
7
  export class UpdateVpcEndpointCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -1,10 +1,14 @@
1
1
  import { awsEndpointFunctions } from "@aws-sdk/util-endpoints";
2
- import { customEndpointFunctions, resolveEndpoint } from "@smithy/util-endpoints";
2
+ import { customEndpointFunctions, EndpointCache, resolveEndpoint } from "@smithy/util-endpoints";
3
3
  import { ruleSet } from "./ruleset";
4
+ const cache = new EndpointCache({
5
+ size: 50,
6
+ params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
7
+ });
4
8
  export const defaultEndpointResolver = (endpointParams, context = {}) => {
5
- return resolveEndpoint(ruleSet, {
9
+ return cache.get(endpointParams, () => resolveEndpoint(ruleSet, {
6
10
  endpointParams: endpointParams,
7
11
  logger: context.logger,
8
- });
12
+ }));
9
13
  };
10
14
  customEndpointFunctions.aws = awsEndpointFunctions;
@@ -18,6 +18,7 @@ export declare const getRuntimeConfig: (config: OpenSearchServerlessClientConfig
18
18
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
19
19
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
20
20
  apiVersion: string;
21
+ cacheMiddleware?: boolean | undefined;
21
22
  urlParser: import("@smithy/types").UrlParser;
22
23
  base64Decoder: import("@smithy/types").Decoder;
23
24
  base64Encoder: (_input: string | Uint8Array) => string;
@@ -34,6 +35,7 @@ export declare const getRuntimeConfig: (config: OpenSearchServerlessClientConfig
34
35
  logger?: import("@smithy/types").Logger | undefined;
35
36
  }) => import("@smithy/types").EndpointV2;
36
37
  tls?: boolean | undefined;
38
+ serviceConfiguredEndpoint?: undefined;
37
39
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
38
40
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").OpenSearchServerlessHttpAuthSchemeProvider;
39
41
  credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
@@ -18,6 +18,7 @@ export declare const getRuntimeConfig: (config: OpenSearchServerlessClientConfig
18
18
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
19
19
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
20
20
  apiVersion: string;
21
+ cacheMiddleware?: boolean | undefined;
21
22
  urlParser: import("@smithy/types").UrlParser;
22
23
  base64Decoder: import("@smithy/types").Decoder;
23
24
  base64Encoder: (_input: string | Uint8Array) => string;
@@ -34,6 +35,7 @@ export declare const getRuntimeConfig: (config: OpenSearchServerlessClientConfig
34
35
  logger?: import("@smithy/types").Logger | undefined;
35
36
  }) => import("@smithy/types").EndpointV2;
36
37
  tls?: boolean | undefined;
38
+ serviceConfiguredEndpoint?: undefined;
37
39
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
38
40
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").OpenSearchServerlessHttpAuthSchemeProvider;
39
41
  credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
@@ -7,6 +7,7 @@ export declare const getRuntimeConfig: (config: OpenSearchServerlessClientConfig
7
7
  sha256: import("@smithy/types").HashConstructor;
8
8
  requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
9
9
  apiVersion: string;
10
+ cacheMiddleware?: boolean | undefined;
10
11
  urlParser: import("@smithy/types").UrlParser;
11
12
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
12
13
  streamCollector: import("@smithy/types").StreamCollector;
@@ -33,6 +34,7 @@ export declare const getRuntimeConfig: (config: OpenSearchServerlessClientConfig
33
34
  logger?: import("@smithy/types").Logger | undefined;
34
35
  }) => import("@smithy/types").EndpointV2;
35
36
  tls?: boolean | undefined;
37
+ serviceConfiguredEndpoint?: undefined;
36
38
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
37
39
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").OpenSearchServerlessHttpAuthSchemeProvider;
38
40
  credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
@@ -25,6 +25,7 @@ export declare const getRuntimeConfig: (
25
25
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
26
26
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
27
27
  apiVersion: string;
28
+ cacheMiddleware?: boolean | undefined;
28
29
  urlParser: import("@smithy/types").UrlParser;
29
30
  base64Decoder: import("@smithy/types").Decoder;
30
31
  base64Encoder: (_input: string | Uint8Array) => string;
@@ -63,6 +64,7 @@ export declare const getRuntimeConfig: (
63
64
  }
64
65
  ) => import("@smithy/types").EndpointV2;
65
66
  tls?: boolean | undefined;
67
+ serviceConfiguredEndpoint?: undefined;
66
68
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
67
69
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").OpenSearchServerlessHttpAuthSchemeProvider;
68
70
  credentials?:
@@ -29,6 +29,7 @@ export declare const getRuntimeConfig: (
29
29
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
30
30
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
31
31
  apiVersion: string;
32
+ cacheMiddleware?: boolean | undefined;
32
33
  urlParser: import("@smithy/types").UrlParser;
33
34
  base64Decoder: import("@smithy/types").Decoder;
34
35
  base64Encoder: (_input: string | Uint8Array) => string;
@@ -67,6 +68,7 @@ export declare const getRuntimeConfig: (
67
68
  }
68
69
  ) => import("@smithy/types").EndpointV2;
69
70
  tls?: boolean | undefined;
71
+ serviceConfiguredEndpoint?: undefined;
70
72
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
71
73
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").OpenSearchServerlessHttpAuthSchemeProvider;
72
74
  credentials?:
@@ -11,6 +11,7 @@ export declare const getRuntimeConfig: (
11
11
  | import("@smithy/protocol-http").HttpHandler<any>
12
12
  | import("@smithy/fetch-http-handler").FetchHttpHandler;
13
13
  apiVersion: string;
14
+ cacheMiddleware?: boolean | undefined;
14
15
  urlParser: import("@smithy/types").UrlParser;
15
16
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
16
17
  streamCollector: import("@smithy/types").StreamCollector;
@@ -57,6 +58,7 @@ export declare const getRuntimeConfig: (
57
58
  }
58
59
  ) => import("@smithy/types").EndpointV2;
59
60
  tls?: boolean | undefined;
61
+ serviceConfiguredEndpoint?: undefined;
60
62
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
61
63
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").OpenSearchServerlessHttpAuthSchemeProvider;
62
64
  credentials?:
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-opensearchserverless",
3
3
  "description": "AWS SDK for JavaScript Opensearchserverless Client for Node.js, Browser and React Native",
4
- "version": "3.645.0",
4
+ "version": "3.650.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-opensearchserverless",
@@ -20,43 +20,43 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.645.0",
24
- "@aws-sdk/client-sts": "3.645.0",
25
- "@aws-sdk/core": "3.635.0",
26
- "@aws-sdk/credential-provider-node": "3.645.0",
27
- "@aws-sdk/middleware-host-header": "3.620.0",
28
- "@aws-sdk/middleware-logger": "3.609.0",
29
- "@aws-sdk/middleware-recursion-detection": "3.620.0",
30
- "@aws-sdk/middleware-user-agent": "3.645.0",
31
- "@aws-sdk/region-config-resolver": "3.614.0",
32
- "@aws-sdk/types": "3.609.0",
33
- "@aws-sdk/util-endpoints": "3.645.0",
34
- "@aws-sdk/util-user-agent-browser": "3.609.0",
35
- "@aws-sdk/util-user-agent-node": "3.614.0",
36
- "@smithy/config-resolver": "^3.0.5",
37
- "@smithy/core": "^2.4.0",
38
- "@smithy/fetch-http-handler": "^3.2.4",
39
- "@smithy/hash-node": "^3.0.3",
40
- "@smithy/invalid-dependency": "^3.0.3",
41
- "@smithy/middleware-content-length": "^3.0.5",
42
- "@smithy/middleware-endpoint": "^3.1.0",
43
- "@smithy/middleware-retry": "^3.0.15",
44
- "@smithy/middleware-serde": "^3.0.3",
45
- "@smithy/middleware-stack": "^3.0.3",
46
- "@smithy/node-config-provider": "^3.1.4",
47
- "@smithy/node-http-handler": "^3.1.4",
48
- "@smithy/protocol-http": "^4.1.0",
49
- "@smithy/smithy-client": "^3.2.0",
50
- "@smithy/types": "^3.3.0",
51
- "@smithy/url-parser": "^3.0.3",
23
+ "@aws-sdk/client-sso-oidc": "3.650.0",
24
+ "@aws-sdk/client-sts": "3.650.0",
25
+ "@aws-sdk/core": "3.649.0",
26
+ "@aws-sdk/credential-provider-node": "3.650.0",
27
+ "@aws-sdk/middleware-host-header": "3.649.0",
28
+ "@aws-sdk/middleware-logger": "3.649.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.649.0",
30
+ "@aws-sdk/middleware-user-agent": "3.649.0",
31
+ "@aws-sdk/region-config-resolver": "3.649.0",
32
+ "@aws-sdk/types": "3.649.0",
33
+ "@aws-sdk/util-endpoints": "3.649.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.649.0",
35
+ "@aws-sdk/util-user-agent-node": "3.649.0",
36
+ "@smithy/config-resolver": "^3.0.6",
37
+ "@smithy/core": "^2.4.1",
38
+ "@smithy/fetch-http-handler": "^3.2.5",
39
+ "@smithy/hash-node": "^3.0.4",
40
+ "@smithy/invalid-dependency": "^3.0.4",
41
+ "@smithy/middleware-content-length": "^3.0.6",
42
+ "@smithy/middleware-endpoint": "^3.1.1",
43
+ "@smithy/middleware-retry": "^3.0.16",
44
+ "@smithy/middleware-serde": "^3.0.4",
45
+ "@smithy/middleware-stack": "^3.0.4",
46
+ "@smithy/node-config-provider": "^3.1.5",
47
+ "@smithy/node-http-handler": "^3.2.0",
48
+ "@smithy/protocol-http": "^4.1.1",
49
+ "@smithy/smithy-client": "^3.3.0",
50
+ "@smithy/types": "^3.4.0",
51
+ "@smithy/url-parser": "^3.0.4",
52
52
  "@smithy/util-base64": "^3.0.0",
53
53
  "@smithy/util-body-length-browser": "^3.0.0",
54
54
  "@smithy/util-body-length-node": "^3.0.0",
55
- "@smithy/util-defaults-mode-browser": "^3.0.15",
56
- "@smithy/util-defaults-mode-node": "^3.0.15",
57
- "@smithy/util-endpoints": "^2.0.5",
58
- "@smithy/util-middleware": "^3.0.3",
59
- "@smithy/util-retry": "^3.0.3",
55
+ "@smithy/util-defaults-mode-browser": "^3.0.16",
56
+ "@smithy/util-defaults-mode-node": "^3.0.16",
57
+ "@smithy/util-endpoints": "^2.1.0",
58
+ "@smithy/util-middleware": "^3.0.4",
59
+ "@smithy/util-retry": "^3.0.4",
60
60
  "@smithy/util-utf8": "^3.0.0",
61
61
  "tslib": "^2.6.2",
62
62
  "uuid": "^9.0.1"