@aws-sdk/client-opensearchserverless 3.1077.0 → 3.1078.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 (146) hide show
  1. package/dist-cjs/index.js +54 -463
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/BatchGetCollectionCommand.js +2 -14
  4. package/dist-es/commands/BatchGetCollectionGroupCommand.js +2 -14
  5. package/dist-es/commands/BatchGetEffectiveLifecyclePolicyCommand.js +2 -14
  6. package/dist-es/commands/BatchGetLifecyclePolicyCommand.js +2 -14
  7. package/dist-es/commands/BatchGetVpcEndpointCommand.js +2 -14
  8. package/dist-es/commands/CreateAccessPolicyCommand.js +2 -14
  9. package/dist-es/commands/CreateCollectionCommand.js +2 -14
  10. package/dist-es/commands/CreateCollectionGroupCommand.js +2 -14
  11. package/dist-es/commands/CreateIndexCommand.js +2 -14
  12. package/dist-es/commands/CreateLifecyclePolicyCommand.js +2 -14
  13. package/dist-es/commands/CreateSecurityConfigCommand.js +2 -14
  14. package/dist-es/commands/CreateSecurityPolicyCommand.js +2 -14
  15. package/dist-es/commands/CreateVpcEndpointCommand.js +2 -14
  16. package/dist-es/commands/DeleteAccessPolicyCommand.js +2 -14
  17. package/dist-es/commands/DeleteCollectionCommand.js +2 -14
  18. package/dist-es/commands/DeleteCollectionGroupCommand.js +2 -14
  19. package/dist-es/commands/DeleteIndexCommand.js +2 -14
  20. package/dist-es/commands/DeleteLifecyclePolicyCommand.js +2 -14
  21. package/dist-es/commands/DeleteSecurityConfigCommand.js +2 -14
  22. package/dist-es/commands/DeleteSecurityPolicyCommand.js +2 -14
  23. package/dist-es/commands/DeleteVpcEndpointCommand.js +2 -14
  24. package/dist-es/commands/GetAccessPolicyCommand.js +2 -14
  25. package/dist-es/commands/GetAccountSettingsCommand.js +2 -14
  26. package/dist-es/commands/GetIndexCommand.js +2 -14
  27. package/dist-es/commands/GetPoliciesStatsCommand.js +2 -14
  28. package/dist-es/commands/GetSecurityConfigCommand.js +2 -14
  29. package/dist-es/commands/GetSecurityPolicyCommand.js +2 -14
  30. package/dist-es/commands/ListAccessPoliciesCommand.js +2 -14
  31. package/dist-es/commands/ListCollectionGroupsCommand.js +2 -14
  32. package/dist-es/commands/ListCollectionsCommand.js +2 -14
  33. package/dist-es/commands/ListLifecyclePoliciesCommand.js +2 -14
  34. package/dist-es/commands/ListSecurityConfigsCommand.js +2 -14
  35. package/dist-es/commands/ListSecurityPoliciesCommand.js +2 -14
  36. package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  37. package/dist-es/commands/ListVpcEndpointsCommand.js +2 -14
  38. package/dist-es/commands/TagResourceCommand.js +2 -14
  39. package/dist-es/commands/UntagResourceCommand.js +2 -14
  40. package/dist-es/commands/UpdateAccessPolicyCommand.js +2 -14
  41. package/dist-es/commands/UpdateAccountSettingsCommand.js +2 -14
  42. package/dist-es/commands/UpdateCollectionCommand.js +2 -14
  43. package/dist-es/commands/UpdateCollectionGroupCommand.js +2 -14
  44. package/dist-es/commands/UpdateIndexCommand.js +2 -14
  45. package/dist-es/commands/UpdateLifecyclePolicyCommand.js +2 -14
  46. package/dist-es/commands/UpdateSecurityConfigCommand.js +2 -14
  47. package/dist-es/commands/UpdateSecurityPolicyCommand.js +2 -14
  48. package/dist-es/commands/UpdateVpcEndpointCommand.js +2 -14
  49. package/dist-es/index.js +1 -0
  50. package/dist-types/commandBuilder.d.ts +18 -0
  51. package/dist-types/commands/BatchGetCollectionCommand.d.ts +3 -8
  52. package/dist-types/commands/BatchGetCollectionGroupCommand.d.ts +3 -8
  53. package/dist-types/commands/BatchGetEffectiveLifecyclePolicyCommand.d.ts +3 -8
  54. package/dist-types/commands/BatchGetLifecyclePolicyCommand.d.ts +3 -8
  55. package/dist-types/commands/BatchGetVpcEndpointCommand.d.ts +3 -8
  56. package/dist-types/commands/CreateAccessPolicyCommand.d.ts +3 -8
  57. package/dist-types/commands/CreateCollectionCommand.d.ts +3 -8
  58. package/dist-types/commands/CreateCollectionGroupCommand.d.ts +3 -8
  59. package/dist-types/commands/CreateIndexCommand.d.ts +3 -8
  60. package/dist-types/commands/CreateLifecyclePolicyCommand.d.ts +3 -8
  61. package/dist-types/commands/CreateSecurityConfigCommand.d.ts +3 -8
  62. package/dist-types/commands/CreateSecurityPolicyCommand.d.ts +3 -8
  63. package/dist-types/commands/CreateVpcEndpointCommand.d.ts +3 -8
  64. package/dist-types/commands/DeleteAccessPolicyCommand.d.ts +3 -8
  65. package/dist-types/commands/DeleteCollectionCommand.d.ts +3 -8
  66. package/dist-types/commands/DeleteCollectionGroupCommand.d.ts +3 -8
  67. package/dist-types/commands/DeleteIndexCommand.d.ts +3 -8
  68. package/dist-types/commands/DeleteLifecyclePolicyCommand.d.ts +3 -8
  69. package/dist-types/commands/DeleteSecurityConfigCommand.d.ts +3 -8
  70. package/dist-types/commands/DeleteSecurityPolicyCommand.d.ts +3 -8
  71. package/dist-types/commands/DeleteVpcEndpointCommand.d.ts +3 -8
  72. package/dist-types/commands/GetAccessPolicyCommand.d.ts +3 -8
  73. package/dist-types/commands/GetAccountSettingsCommand.d.ts +3 -8
  74. package/dist-types/commands/GetIndexCommand.d.ts +3 -8
  75. package/dist-types/commands/GetPoliciesStatsCommand.d.ts +3 -8
  76. package/dist-types/commands/GetSecurityConfigCommand.d.ts +3 -8
  77. package/dist-types/commands/GetSecurityPolicyCommand.d.ts +3 -8
  78. package/dist-types/commands/ListAccessPoliciesCommand.d.ts +3 -8
  79. package/dist-types/commands/ListCollectionGroupsCommand.d.ts +3 -8
  80. package/dist-types/commands/ListCollectionsCommand.d.ts +3 -8
  81. package/dist-types/commands/ListLifecyclePoliciesCommand.d.ts +3 -8
  82. package/dist-types/commands/ListSecurityConfigsCommand.d.ts +3 -8
  83. package/dist-types/commands/ListSecurityPoliciesCommand.d.ts +3 -8
  84. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  85. package/dist-types/commands/ListVpcEndpointsCommand.d.ts +3 -8
  86. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  87. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  88. package/dist-types/commands/UpdateAccessPolicyCommand.d.ts +3 -8
  89. package/dist-types/commands/UpdateAccountSettingsCommand.d.ts +3 -8
  90. package/dist-types/commands/UpdateCollectionCommand.d.ts +3 -8
  91. package/dist-types/commands/UpdateCollectionGroupCommand.d.ts +3 -8
  92. package/dist-types/commands/UpdateIndexCommand.d.ts +3 -8
  93. package/dist-types/commands/UpdateLifecyclePolicyCommand.d.ts +3 -8
  94. package/dist-types/commands/UpdateSecurityConfigCommand.d.ts +3 -8
  95. package/dist-types/commands/UpdateSecurityPolicyCommand.d.ts +3 -8
  96. package/dist-types/commands/UpdateVpcEndpointCommand.d.ts +3 -8
  97. package/dist-types/index.d.ts +1 -0
  98. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  99. package/dist-types/ts3.4/commands/BatchGetCollectionCommand.d.ts +7 -16
  100. package/dist-types/ts3.4/commands/BatchGetCollectionGroupCommand.d.ts +7 -16
  101. package/dist-types/ts3.4/commands/BatchGetEffectiveLifecyclePolicyCommand.d.ts +7 -16
  102. package/dist-types/ts3.4/commands/BatchGetLifecyclePolicyCommand.d.ts +7 -16
  103. package/dist-types/ts3.4/commands/BatchGetVpcEndpointCommand.d.ts +7 -16
  104. package/dist-types/ts3.4/commands/CreateAccessPolicyCommand.d.ts +7 -16
  105. package/dist-types/ts3.4/commands/CreateCollectionCommand.d.ts +7 -16
  106. package/dist-types/ts3.4/commands/CreateCollectionGroupCommand.d.ts +7 -16
  107. package/dist-types/ts3.4/commands/CreateIndexCommand.d.ts +7 -16
  108. package/dist-types/ts3.4/commands/CreateLifecyclePolicyCommand.d.ts +7 -16
  109. package/dist-types/ts3.4/commands/CreateSecurityConfigCommand.d.ts +7 -16
  110. package/dist-types/ts3.4/commands/CreateSecurityPolicyCommand.d.ts +7 -16
  111. package/dist-types/ts3.4/commands/CreateVpcEndpointCommand.d.ts +7 -16
  112. package/dist-types/ts3.4/commands/DeleteAccessPolicyCommand.d.ts +7 -16
  113. package/dist-types/ts3.4/commands/DeleteCollectionCommand.d.ts +7 -16
  114. package/dist-types/ts3.4/commands/DeleteCollectionGroupCommand.d.ts +7 -16
  115. package/dist-types/ts3.4/commands/DeleteIndexCommand.d.ts +7 -16
  116. package/dist-types/ts3.4/commands/DeleteLifecyclePolicyCommand.d.ts +7 -16
  117. package/dist-types/ts3.4/commands/DeleteSecurityConfigCommand.d.ts +7 -16
  118. package/dist-types/ts3.4/commands/DeleteSecurityPolicyCommand.d.ts +7 -16
  119. package/dist-types/ts3.4/commands/DeleteVpcEndpointCommand.d.ts +7 -16
  120. package/dist-types/ts3.4/commands/GetAccessPolicyCommand.d.ts +7 -16
  121. package/dist-types/ts3.4/commands/GetAccountSettingsCommand.d.ts +7 -16
  122. package/dist-types/ts3.4/commands/GetIndexCommand.d.ts +7 -16
  123. package/dist-types/ts3.4/commands/GetPoliciesStatsCommand.d.ts +7 -16
  124. package/dist-types/ts3.4/commands/GetSecurityConfigCommand.d.ts +7 -16
  125. package/dist-types/ts3.4/commands/GetSecurityPolicyCommand.d.ts +7 -16
  126. package/dist-types/ts3.4/commands/ListAccessPoliciesCommand.d.ts +7 -16
  127. package/dist-types/ts3.4/commands/ListCollectionGroupsCommand.d.ts +7 -16
  128. package/dist-types/ts3.4/commands/ListCollectionsCommand.d.ts +7 -16
  129. package/dist-types/ts3.4/commands/ListLifecyclePoliciesCommand.d.ts +7 -16
  130. package/dist-types/ts3.4/commands/ListSecurityConfigsCommand.d.ts +7 -16
  131. package/dist-types/ts3.4/commands/ListSecurityPoliciesCommand.d.ts +7 -16
  132. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  133. package/dist-types/ts3.4/commands/ListVpcEndpointsCommand.d.ts +7 -16
  134. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  135. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  136. package/dist-types/ts3.4/commands/UpdateAccessPolicyCommand.d.ts +7 -16
  137. package/dist-types/ts3.4/commands/UpdateAccountSettingsCommand.d.ts +7 -16
  138. package/dist-types/ts3.4/commands/UpdateCollectionCommand.d.ts +7 -16
  139. package/dist-types/ts3.4/commands/UpdateCollectionGroupCommand.d.ts +7 -16
  140. package/dist-types/ts3.4/commands/UpdateIndexCommand.d.ts +7 -16
  141. package/dist-types/ts3.4/commands/UpdateLifecyclePolicyCommand.d.ts +7 -16
  142. package/dist-types/ts3.4/commands/UpdateSecurityConfigCommand.d.ts +7 -16
  143. package/dist-types/ts3.4/commands/UpdateSecurityPolicyCommand.d.ts +7 -16
  144. package/dist-types/ts3.4/commands/UpdateVpcEndpointCommand.d.ts +7 -16
  145. package/dist-types/ts3.4/index.d.ts +1 -0
  146. package/package.json +8 -8
package/dist-cjs/index.js CHANGED
@@ -1,7 +1,8 @@
1
1
  const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
2
2
  const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
3
- const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
4
- exports.$Command = Command;
3
+ const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createAggregatedClient } = require("@smithy/core/client");
4
+ const { Command: $Command } = require("@smithy/core/client");
5
+ exports.$Command = $Command;
5
6
  exports.__Client = Client;
6
7
  const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
7
8
  const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
@@ -68,7 +69,7 @@ const commonParams = {
68
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
69
70
  };
70
71
 
71
- var version = "3.1076.0";
72
+ var version = "3.1077.0";
72
73
  var packageInfo = {
73
74
  version: version};
74
75
 
@@ -1656,556 +1657,146 @@ class OpenSearchServerlessClient extends Client {
1656
1657
  }
1657
1658
  }
1658
1659
 
1659
- class BatchGetCollectionCommand extends Command
1660
- .classBuilder()
1661
- .ep(commonParams)
1662
- .m(function (Command, cs, config, o) {
1663
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1664
- })
1665
- .s("OpenSearchServerless", "BatchGetCollection", {})
1666
- .n("OpenSearchServerlessClient", "BatchGetCollectionCommand")
1667
- .sc(BatchGetCollection$)
1668
- .build() {
1660
+ const command = makeBuilder(commonParams, "OpenSearchServerless", "OpenSearchServerlessClient", getEndpointPlugin);
1661
+ const _ep0 = {};
1662
+ const _mw0 = (Command, cs, config, o) => [];
1663
+
1664
+ class BatchGetCollectionCommand extends command(_ep0, _mw0, "BatchGetCollection", BatchGetCollection$) {
1669
1665
  }
1670
1666
 
1671
- class BatchGetCollectionGroupCommand extends Command
1672
- .classBuilder()
1673
- .ep(commonParams)
1674
- .m(function (Command, cs, config, o) {
1675
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1676
- })
1677
- .s("OpenSearchServerless", "BatchGetCollectionGroup", {})
1678
- .n("OpenSearchServerlessClient", "BatchGetCollectionGroupCommand")
1679
- .sc(BatchGetCollectionGroup$)
1680
- .build() {
1667
+ class BatchGetCollectionGroupCommand extends command(_ep0, _mw0, "BatchGetCollectionGroup", BatchGetCollectionGroup$) {
1681
1668
  }
1682
1669
 
1683
- class BatchGetEffectiveLifecyclePolicyCommand extends Command
1684
- .classBuilder()
1685
- .ep(commonParams)
1686
- .m(function (Command, cs, config, o) {
1687
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1688
- })
1689
- .s("OpenSearchServerless", "BatchGetEffectiveLifecyclePolicy", {})
1690
- .n("OpenSearchServerlessClient", "BatchGetEffectiveLifecyclePolicyCommand")
1691
- .sc(BatchGetEffectiveLifecyclePolicy$)
1692
- .build() {
1670
+ class BatchGetEffectiveLifecyclePolicyCommand extends command(_ep0, _mw0, "BatchGetEffectiveLifecyclePolicy", BatchGetEffectiveLifecyclePolicy$) {
1693
1671
  }
1694
1672
 
1695
- class BatchGetLifecyclePolicyCommand extends Command
1696
- .classBuilder()
1697
- .ep(commonParams)
1698
- .m(function (Command, cs, config, o) {
1699
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1700
- })
1701
- .s("OpenSearchServerless", "BatchGetLifecyclePolicy", {})
1702
- .n("OpenSearchServerlessClient", "BatchGetLifecyclePolicyCommand")
1703
- .sc(BatchGetLifecyclePolicy$)
1704
- .build() {
1673
+ class BatchGetLifecyclePolicyCommand extends command(_ep0, _mw0, "BatchGetLifecyclePolicy", BatchGetLifecyclePolicy$) {
1705
1674
  }
1706
1675
 
1707
- class BatchGetVpcEndpointCommand extends Command
1708
- .classBuilder()
1709
- .ep(commonParams)
1710
- .m(function (Command, cs, config, o) {
1711
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1712
- })
1713
- .s("OpenSearchServerless", "BatchGetVpcEndpoint", {})
1714
- .n("OpenSearchServerlessClient", "BatchGetVpcEndpointCommand")
1715
- .sc(BatchGetVpcEndpoint$)
1716
- .build() {
1676
+ class BatchGetVpcEndpointCommand extends command(_ep0, _mw0, "BatchGetVpcEndpoint", BatchGetVpcEndpoint$) {
1717
1677
  }
1718
1678
 
1719
- class CreateAccessPolicyCommand extends Command
1720
- .classBuilder()
1721
- .ep(commonParams)
1722
- .m(function (Command, cs, config, o) {
1723
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1724
- })
1725
- .s("OpenSearchServerless", "CreateAccessPolicy", {})
1726
- .n("OpenSearchServerlessClient", "CreateAccessPolicyCommand")
1727
- .sc(CreateAccessPolicy$)
1728
- .build() {
1679
+ class CreateAccessPolicyCommand extends command(_ep0, _mw0, "CreateAccessPolicy", CreateAccessPolicy$) {
1729
1680
  }
1730
1681
 
1731
- class CreateCollectionCommand extends Command
1732
- .classBuilder()
1733
- .ep(commonParams)
1734
- .m(function (Command, cs, config, o) {
1735
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1736
- })
1737
- .s("OpenSearchServerless", "CreateCollection", {})
1738
- .n("OpenSearchServerlessClient", "CreateCollectionCommand")
1739
- .sc(CreateCollection$)
1740
- .build() {
1682
+ class CreateCollectionCommand extends command(_ep0, _mw0, "CreateCollection", CreateCollection$) {
1741
1683
  }
1742
1684
 
1743
- class CreateCollectionGroupCommand extends Command
1744
- .classBuilder()
1745
- .ep(commonParams)
1746
- .m(function (Command, cs, config, o) {
1747
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1748
- })
1749
- .s("OpenSearchServerless", "CreateCollectionGroup", {})
1750
- .n("OpenSearchServerlessClient", "CreateCollectionGroupCommand")
1751
- .sc(CreateCollectionGroup$)
1752
- .build() {
1685
+ class CreateCollectionGroupCommand extends command(_ep0, _mw0, "CreateCollectionGroup", CreateCollectionGroup$) {
1753
1686
  }
1754
1687
 
1755
- class CreateIndexCommand extends Command
1756
- .classBuilder()
1757
- .ep(commonParams)
1758
- .m(function (Command, cs, config, o) {
1759
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1760
- })
1761
- .s("OpenSearchServerless", "CreateIndex", {})
1762
- .n("OpenSearchServerlessClient", "CreateIndexCommand")
1763
- .sc(CreateIndex$)
1764
- .build() {
1688
+ class CreateIndexCommand extends command(_ep0, _mw0, "CreateIndex", CreateIndex$) {
1765
1689
  }
1766
1690
 
1767
- class CreateLifecyclePolicyCommand extends Command
1768
- .classBuilder()
1769
- .ep(commonParams)
1770
- .m(function (Command, cs, config, o) {
1771
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1772
- })
1773
- .s("OpenSearchServerless", "CreateLifecyclePolicy", {})
1774
- .n("OpenSearchServerlessClient", "CreateLifecyclePolicyCommand")
1775
- .sc(CreateLifecyclePolicy$)
1776
- .build() {
1691
+ class CreateLifecyclePolicyCommand extends command(_ep0, _mw0, "CreateLifecyclePolicy", CreateLifecyclePolicy$) {
1777
1692
  }
1778
1693
 
1779
- class CreateSecurityConfigCommand extends Command
1780
- .classBuilder()
1781
- .ep(commonParams)
1782
- .m(function (Command, cs, config, o) {
1783
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1784
- })
1785
- .s("OpenSearchServerless", "CreateSecurityConfig", {})
1786
- .n("OpenSearchServerlessClient", "CreateSecurityConfigCommand")
1787
- .sc(CreateSecurityConfig$)
1788
- .build() {
1694
+ class CreateSecurityConfigCommand extends command(_ep0, _mw0, "CreateSecurityConfig", CreateSecurityConfig$) {
1789
1695
  }
1790
1696
 
1791
- class CreateSecurityPolicyCommand extends Command
1792
- .classBuilder()
1793
- .ep(commonParams)
1794
- .m(function (Command, cs, config, o) {
1795
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1796
- })
1797
- .s("OpenSearchServerless", "CreateSecurityPolicy", {})
1798
- .n("OpenSearchServerlessClient", "CreateSecurityPolicyCommand")
1799
- .sc(CreateSecurityPolicy$)
1800
- .build() {
1697
+ class CreateSecurityPolicyCommand extends command(_ep0, _mw0, "CreateSecurityPolicy", CreateSecurityPolicy$) {
1801
1698
  }
1802
1699
 
1803
- class CreateVpcEndpointCommand extends Command
1804
- .classBuilder()
1805
- .ep(commonParams)
1806
- .m(function (Command, cs, config, o) {
1807
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1808
- })
1809
- .s("OpenSearchServerless", "CreateVpcEndpoint", {})
1810
- .n("OpenSearchServerlessClient", "CreateVpcEndpointCommand")
1811
- .sc(CreateVpcEndpoint$)
1812
- .build() {
1700
+ class CreateVpcEndpointCommand extends command(_ep0, _mw0, "CreateVpcEndpoint", CreateVpcEndpoint$) {
1813
1701
  }
1814
1702
 
1815
- class DeleteAccessPolicyCommand extends Command
1816
- .classBuilder()
1817
- .ep(commonParams)
1818
- .m(function (Command, cs, config, o) {
1819
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1820
- })
1821
- .s("OpenSearchServerless", "DeleteAccessPolicy", {})
1822
- .n("OpenSearchServerlessClient", "DeleteAccessPolicyCommand")
1823
- .sc(DeleteAccessPolicy$)
1824
- .build() {
1703
+ class DeleteAccessPolicyCommand extends command(_ep0, _mw0, "DeleteAccessPolicy", DeleteAccessPolicy$) {
1825
1704
  }
1826
1705
 
1827
- class DeleteCollectionCommand extends Command
1828
- .classBuilder()
1829
- .ep(commonParams)
1830
- .m(function (Command, cs, config, o) {
1831
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1832
- })
1833
- .s("OpenSearchServerless", "DeleteCollection", {})
1834
- .n("OpenSearchServerlessClient", "DeleteCollectionCommand")
1835
- .sc(DeleteCollection$)
1836
- .build() {
1706
+ class DeleteCollectionCommand extends command(_ep0, _mw0, "DeleteCollection", DeleteCollection$) {
1837
1707
  }
1838
1708
 
1839
- class DeleteCollectionGroupCommand extends Command
1840
- .classBuilder()
1841
- .ep(commonParams)
1842
- .m(function (Command, cs, config, o) {
1843
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1844
- })
1845
- .s("OpenSearchServerless", "DeleteCollectionGroup", {})
1846
- .n("OpenSearchServerlessClient", "DeleteCollectionGroupCommand")
1847
- .sc(DeleteCollectionGroup$)
1848
- .build() {
1709
+ class DeleteCollectionGroupCommand extends command(_ep0, _mw0, "DeleteCollectionGroup", DeleteCollectionGroup$) {
1849
1710
  }
1850
1711
 
1851
- class DeleteIndexCommand extends Command
1852
- .classBuilder()
1853
- .ep(commonParams)
1854
- .m(function (Command, cs, config, o) {
1855
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1856
- })
1857
- .s("OpenSearchServerless", "DeleteIndex", {})
1858
- .n("OpenSearchServerlessClient", "DeleteIndexCommand")
1859
- .sc(DeleteIndex$)
1860
- .build() {
1712
+ class DeleteIndexCommand extends command(_ep0, _mw0, "DeleteIndex", DeleteIndex$) {
1861
1713
  }
1862
1714
 
1863
- class DeleteLifecyclePolicyCommand extends Command
1864
- .classBuilder()
1865
- .ep(commonParams)
1866
- .m(function (Command, cs, config, o) {
1867
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1868
- })
1869
- .s("OpenSearchServerless", "DeleteLifecyclePolicy", {})
1870
- .n("OpenSearchServerlessClient", "DeleteLifecyclePolicyCommand")
1871
- .sc(DeleteLifecyclePolicy$)
1872
- .build() {
1715
+ class DeleteLifecyclePolicyCommand extends command(_ep0, _mw0, "DeleteLifecyclePolicy", DeleteLifecyclePolicy$) {
1873
1716
  }
1874
1717
 
1875
- class DeleteSecurityConfigCommand extends Command
1876
- .classBuilder()
1877
- .ep(commonParams)
1878
- .m(function (Command, cs, config, o) {
1879
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1880
- })
1881
- .s("OpenSearchServerless", "DeleteSecurityConfig", {})
1882
- .n("OpenSearchServerlessClient", "DeleteSecurityConfigCommand")
1883
- .sc(DeleteSecurityConfig$)
1884
- .build() {
1718
+ class DeleteSecurityConfigCommand extends command(_ep0, _mw0, "DeleteSecurityConfig", DeleteSecurityConfig$) {
1885
1719
  }
1886
1720
 
1887
- class DeleteSecurityPolicyCommand extends Command
1888
- .classBuilder()
1889
- .ep(commonParams)
1890
- .m(function (Command, cs, config, o) {
1891
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1892
- })
1893
- .s("OpenSearchServerless", "DeleteSecurityPolicy", {})
1894
- .n("OpenSearchServerlessClient", "DeleteSecurityPolicyCommand")
1895
- .sc(DeleteSecurityPolicy$)
1896
- .build() {
1721
+ class DeleteSecurityPolicyCommand extends command(_ep0, _mw0, "DeleteSecurityPolicy", DeleteSecurityPolicy$) {
1897
1722
  }
1898
1723
 
1899
- class DeleteVpcEndpointCommand extends Command
1900
- .classBuilder()
1901
- .ep(commonParams)
1902
- .m(function (Command, cs, config, o) {
1903
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1904
- })
1905
- .s("OpenSearchServerless", "DeleteVpcEndpoint", {})
1906
- .n("OpenSearchServerlessClient", "DeleteVpcEndpointCommand")
1907
- .sc(DeleteVpcEndpoint$)
1908
- .build() {
1724
+ class DeleteVpcEndpointCommand extends command(_ep0, _mw0, "DeleteVpcEndpoint", DeleteVpcEndpoint$) {
1909
1725
  }
1910
1726
 
1911
- class GetAccessPolicyCommand extends Command
1912
- .classBuilder()
1913
- .ep(commonParams)
1914
- .m(function (Command, cs, config, o) {
1915
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1916
- })
1917
- .s("OpenSearchServerless", "GetAccessPolicy", {})
1918
- .n("OpenSearchServerlessClient", "GetAccessPolicyCommand")
1919
- .sc(GetAccessPolicy$)
1920
- .build() {
1727
+ class GetAccessPolicyCommand extends command(_ep0, _mw0, "GetAccessPolicy", GetAccessPolicy$) {
1921
1728
  }
1922
1729
 
1923
- class GetAccountSettingsCommand extends Command
1924
- .classBuilder()
1925
- .ep(commonParams)
1926
- .m(function (Command, cs, config, o) {
1927
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1928
- })
1929
- .s("OpenSearchServerless", "GetAccountSettings", {})
1930
- .n("OpenSearchServerlessClient", "GetAccountSettingsCommand")
1931
- .sc(GetAccountSettings$)
1932
- .build() {
1730
+ class GetAccountSettingsCommand extends command(_ep0, _mw0, "GetAccountSettings", GetAccountSettings$) {
1933
1731
  }
1934
1732
 
1935
- class GetIndexCommand extends Command
1936
- .classBuilder()
1937
- .ep(commonParams)
1938
- .m(function (Command, cs, config, o) {
1939
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1940
- })
1941
- .s("OpenSearchServerless", "GetIndex", {})
1942
- .n("OpenSearchServerlessClient", "GetIndexCommand")
1943
- .sc(GetIndex$)
1944
- .build() {
1733
+ class GetIndexCommand extends command(_ep0, _mw0, "GetIndex", GetIndex$) {
1945
1734
  }
1946
1735
 
1947
- class GetPoliciesStatsCommand extends Command
1948
- .classBuilder()
1949
- .ep(commonParams)
1950
- .m(function (Command, cs, config, o) {
1951
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1952
- })
1953
- .s("OpenSearchServerless", "GetPoliciesStats", {})
1954
- .n("OpenSearchServerlessClient", "GetPoliciesStatsCommand")
1955
- .sc(GetPoliciesStats$)
1956
- .build() {
1736
+ class GetPoliciesStatsCommand extends command(_ep0, _mw0, "GetPoliciesStats", GetPoliciesStats$) {
1957
1737
  }
1958
1738
 
1959
- class GetSecurityConfigCommand extends Command
1960
- .classBuilder()
1961
- .ep(commonParams)
1962
- .m(function (Command, cs, config, o) {
1963
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1964
- })
1965
- .s("OpenSearchServerless", "GetSecurityConfig", {})
1966
- .n("OpenSearchServerlessClient", "GetSecurityConfigCommand")
1967
- .sc(GetSecurityConfig$)
1968
- .build() {
1739
+ class GetSecurityConfigCommand extends command(_ep0, _mw0, "GetSecurityConfig", GetSecurityConfig$) {
1969
1740
  }
1970
1741
 
1971
- class GetSecurityPolicyCommand extends Command
1972
- .classBuilder()
1973
- .ep(commonParams)
1974
- .m(function (Command, cs, config, o) {
1975
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1976
- })
1977
- .s("OpenSearchServerless", "GetSecurityPolicy", {})
1978
- .n("OpenSearchServerlessClient", "GetSecurityPolicyCommand")
1979
- .sc(GetSecurityPolicy$)
1980
- .build() {
1742
+ class GetSecurityPolicyCommand extends command(_ep0, _mw0, "GetSecurityPolicy", GetSecurityPolicy$) {
1981
1743
  }
1982
1744
 
1983
- class ListAccessPoliciesCommand extends Command
1984
- .classBuilder()
1985
- .ep(commonParams)
1986
- .m(function (Command, cs, config, o) {
1987
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1988
- })
1989
- .s("OpenSearchServerless", "ListAccessPolicies", {})
1990
- .n("OpenSearchServerlessClient", "ListAccessPoliciesCommand")
1991
- .sc(ListAccessPolicies$)
1992
- .build() {
1745
+ class ListAccessPoliciesCommand extends command(_ep0, _mw0, "ListAccessPolicies", ListAccessPolicies$) {
1993
1746
  }
1994
1747
 
1995
- class ListCollectionGroupsCommand extends Command
1996
- .classBuilder()
1997
- .ep(commonParams)
1998
- .m(function (Command, cs, config, o) {
1999
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2000
- })
2001
- .s("OpenSearchServerless", "ListCollectionGroups", {})
2002
- .n("OpenSearchServerlessClient", "ListCollectionGroupsCommand")
2003
- .sc(ListCollectionGroups$)
2004
- .build() {
1748
+ class ListCollectionGroupsCommand extends command(_ep0, _mw0, "ListCollectionGroups", ListCollectionGroups$) {
2005
1749
  }
2006
1750
 
2007
- class ListCollectionsCommand extends Command
2008
- .classBuilder()
2009
- .ep(commonParams)
2010
- .m(function (Command, cs, config, o) {
2011
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2012
- })
2013
- .s("OpenSearchServerless", "ListCollections", {})
2014
- .n("OpenSearchServerlessClient", "ListCollectionsCommand")
2015
- .sc(ListCollections$)
2016
- .build() {
1751
+ class ListCollectionsCommand extends command(_ep0, _mw0, "ListCollections", ListCollections$) {
2017
1752
  }
2018
1753
 
2019
- class ListLifecyclePoliciesCommand extends Command
2020
- .classBuilder()
2021
- .ep(commonParams)
2022
- .m(function (Command, cs, config, o) {
2023
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2024
- })
2025
- .s("OpenSearchServerless", "ListLifecyclePolicies", {})
2026
- .n("OpenSearchServerlessClient", "ListLifecyclePoliciesCommand")
2027
- .sc(ListLifecyclePolicies$)
2028
- .build() {
1754
+ class ListLifecyclePoliciesCommand extends command(_ep0, _mw0, "ListLifecyclePolicies", ListLifecyclePolicies$) {
2029
1755
  }
2030
1756
 
2031
- class ListSecurityConfigsCommand extends Command
2032
- .classBuilder()
2033
- .ep(commonParams)
2034
- .m(function (Command, cs, config, o) {
2035
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2036
- })
2037
- .s("OpenSearchServerless", "ListSecurityConfigs", {})
2038
- .n("OpenSearchServerlessClient", "ListSecurityConfigsCommand")
2039
- .sc(ListSecurityConfigs$)
2040
- .build() {
1757
+ class ListSecurityConfigsCommand extends command(_ep0, _mw0, "ListSecurityConfigs", ListSecurityConfigs$) {
2041
1758
  }
2042
1759
 
2043
- class ListSecurityPoliciesCommand extends Command
2044
- .classBuilder()
2045
- .ep(commonParams)
2046
- .m(function (Command, cs, config, o) {
2047
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2048
- })
2049
- .s("OpenSearchServerless", "ListSecurityPolicies", {})
2050
- .n("OpenSearchServerlessClient", "ListSecurityPoliciesCommand")
2051
- .sc(ListSecurityPolicies$)
2052
- .build() {
1760
+ class ListSecurityPoliciesCommand extends command(_ep0, _mw0, "ListSecurityPolicies", ListSecurityPolicies$) {
2053
1761
  }
2054
1762
 
2055
- class ListTagsForResourceCommand extends Command
2056
- .classBuilder()
2057
- .ep(commonParams)
2058
- .m(function (Command, cs, config, o) {
2059
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2060
- })
2061
- .s("OpenSearchServerless", "ListTagsForResource", {})
2062
- .n("OpenSearchServerlessClient", "ListTagsForResourceCommand")
2063
- .sc(ListTagsForResource$)
2064
- .build() {
1763
+ class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
2065
1764
  }
2066
1765
 
2067
- class ListVpcEndpointsCommand extends Command
2068
- .classBuilder()
2069
- .ep(commonParams)
2070
- .m(function (Command, cs, config, o) {
2071
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2072
- })
2073
- .s("OpenSearchServerless", "ListVpcEndpoints", {})
2074
- .n("OpenSearchServerlessClient", "ListVpcEndpointsCommand")
2075
- .sc(ListVpcEndpoints$)
2076
- .build() {
1766
+ class ListVpcEndpointsCommand extends command(_ep0, _mw0, "ListVpcEndpoints", ListVpcEndpoints$) {
2077
1767
  }
2078
1768
 
2079
- class TagResourceCommand extends Command
2080
- .classBuilder()
2081
- .ep(commonParams)
2082
- .m(function (Command, cs, config, o) {
2083
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2084
- })
2085
- .s("OpenSearchServerless", "TagResource", {})
2086
- .n("OpenSearchServerlessClient", "TagResourceCommand")
2087
- .sc(TagResource$)
2088
- .build() {
1769
+ class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
2089
1770
  }
2090
1771
 
2091
- class UntagResourceCommand extends Command
2092
- .classBuilder()
2093
- .ep(commonParams)
2094
- .m(function (Command, cs, config, o) {
2095
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2096
- })
2097
- .s("OpenSearchServerless", "UntagResource", {})
2098
- .n("OpenSearchServerlessClient", "UntagResourceCommand")
2099
- .sc(UntagResource$)
2100
- .build() {
1772
+ class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
2101
1773
  }
2102
1774
 
2103
- class UpdateAccessPolicyCommand extends Command
2104
- .classBuilder()
2105
- .ep(commonParams)
2106
- .m(function (Command, cs, config, o) {
2107
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2108
- })
2109
- .s("OpenSearchServerless", "UpdateAccessPolicy", {})
2110
- .n("OpenSearchServerlessClient", "UpdateAccessPolicyCommand")
2111
- .sc(UpdateAccessPolicy$)
2112
- .build() {
1775
+ class UpdateAccessPolicyCommand extends command(_ep0, _mw0, "UpdateAccessPolicy", UpdateAccessPolicy$) {
2113
1776
  }
2114
1777
 
2115
- class UpdateAccountSettingsCommand extends Command
2116
- .classBuilder()
2117
- .ep(commonParams)
2118
- .m(function (Command, cs, config, o) {
2119
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2120
- })
2121
- .s("OpenSearchServerless", "UpdateAccountSettings", {})
2122
- .n("OpenSearchServerlessClient", "UpdateAccountSettingsCommand")
2123
- .sc(UpdateAccountSettings$)
2124
- .build() {
1778
+ class UpdateAccountSettingsCommand extends command(_ep0, _mw0, "UpdateAccountSettings", UpdateAccountSettings$) {
2125
1779
  }
2126
1780
 
2127
- class UpdateCollectionCommand extends Command
2128
- .classBuilder()
2129
- .ep(commonParams)
2130
- .m(function (Command, cs, config, o) {
2131
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2132
- })
2133
- .s("OpenSearchServerless", "UpdateCollection", {})
2134
- .n("OpenSearchServerlessClient", "UpdateCollectionCommand")
2135
- .sc(UpdateCollection$)
2136
- .build() {
1781
+ class UpdateCollectionCommand extends command(_ep0, _mw0, "UpdateCollection", UpdateCollection$) {
2137
1782
  }
2138
1783
 
2139
- class UpdateCollectionGroupCommand extends Command
2140
- .classBuilder()
2141
- .ep(commonParams)
2142
- .m(function (Command, cs, config, o) {
2143
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2144
- })
2145
- .s("OpenSearchServerless", "UpdateCollectionGroup", {})
2146
- .n("OpenSearchServerlessClient", "UpdateCollectionGroupCommand")
2147
- .sc(UpdateCollectionGroup$)
2148
- .build() {
1784
+ class UpdateCollectionGroupCommand extends command(_ep0, _mw0, "UpdateCollectionGroup", UpdateCollectionGroup$) {
2149
1785
  }
2150
1786
 
2151
- class UpdateIndexCommand extends Command
2152
- .classBuilder()
2153
- .ep(commonParams)
2154
- .m(function (Command, cs, config, o) {
2155
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2156
- })
2157
- .s("OpenSearchServerless", "UpdateIndex", {})
2158
- .n("OpenSearchServerlessClient", "UpdateIndexCommand")
2159
- .sc(UpdateIndex$)
2160
- .build() {
1787
+ class UpdateIndexCommand extends command(_ep0, _mw0, "UpdateIndex", UpdateIndex$) {
2161
1788
  }
2162
1789
 
2163
- class UpdateLifecyclePolicyCommand extends Command
2164
- .classBuilder()
2165
- .ep(commonParams)
2166
- .m(function (Command, cs, config, o) {
2167
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2168
- })
2169
- .s("OpenSearchServerless", "UpdateLifecyclePolicy", {})
2170
- .n("OpenSearchServerlessClient", "UpdateLifecyclePolicyCommand")
2171
- .sc(UpdateLifecyclePolicy$)
2172
- .build() {
1790
+ class UpdateLifecyclePolicyCommand extends command(_ep0, _mw0, "UpdateLifecyclePolicy", UpdateLifecyclePolicy$) {
2173
1791
  }
2174
1792
 
2175
- class UpdateSecurityConfigCommand extends Command
2176
- .classBuilder()
2177
- .ep(commonParams)
2178
- .m(function (Command, cs, config, o) {
2179
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2180
- })
2181
- .s("OpenSearchServerless", "UpdateSecurityConfig", {})
2182
- .n("OpenSearchServerlessClient", "UpdateSecurityConfigCommand")
2183
- .sc(UpdateSecurityConfig$)
2184
- .build() {
1793
+ class UpdateSecurityConfigCommand extends command(_ep0, _mw0, "UpdateSecurityConfig", UpdateSecurityConfig$) {
2185
1794
  }
2186
1795
 
2187
- class UpdateSecurityPolicyCommand extends Command
2188
- .classBuilder()
2189
- .ep(commonParams)
2190
- .m(function (Command, cs, config, o) {
2191
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2192
- })
2193
- .s("OpenSearchServerless", "UpdateSecurityPolicy", {})
2194
- .n("OpenSearchServerlessClient", "UpdateSecurityPolicyCommand")
2195
- .sc(UpdateSecurityPolicy$)
2196
- .build() {
1796
+ class UpdateSecurityPolicyCommand extends command(_ep0, _mw0, "UpdateSecurityPolicy", UpdateSecurityPolicy$) {
2197
1797
  }
2198
1798
 
2199
- class UpdateVpcEndpointCommand extends Command
2200
- .classBuilder()
2201
- .ep(commonParams)
2202
- .m(function (Command, cs, config, o) {
2203
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2204
- })
2205
- .s("OpenSearchServerless", "UpdateVpcEndpoint", {})
2206
- .n("OpenSearchServerlessClient", "UpdateVpcEndpointCommand")
2207
- .sc(UpdateVpcEndpoint$)
2208
- .build() {
1799
+ class UpdateVpcEndpointCommand extends command(_ep0, _mw0, "UpdateVpcEndpoint", UpdateVpcEndpoint$) {
2209
1800
  }
2210
1801
 
2211
1802
  const paginateListAccessPolicies = createPaginator(OpenSearchServerlessClient, ListAccessPoliciesCommand, "nextToken", "nextToken", "");
@@ -0,0 +1,6 @@
1
+ import { makeBuilder } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "./endpoint/EndpointParameters";
4
+ export const command = makeBuilder(commonParams, "OpenSearchServerless", "OpenSearchServerlessClient", getEndpointPlugin);
5
+ export const _ep0 = {};
6
+ export const _mw0 = (Command, cs, config, o) => [];
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { BatchGetCollection$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class BatchGetCollectionCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("OpenSearchServerless", "BatchGetCollection", {})
13
- .n("OpenSearchServerlessClient", "BatchGetCollectionCommand")
14
- .sc(BatchGetCollection$)
15
- .build() {
3
+ export class BatchGetCollectionCommand extends command(_ep0, _mw0, "BatchGetCollection", BatchGetCollection$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { BatchGetCollectionGroup$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class BatchGetCollectionGroupCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("OpenSearchServerless", "BatchGetCollectionGroup", {})
13
- .n("OpenSearchServerlessClient", "BatchGetCollectionGroupCommand")
14
- .sc(BatchGetCollectionGroup$)
15
- .build() {
3
+ export class BatchGetCollectionGroupCommand extends command(_ep0, _mw0, "BatchGetCollectionGroup", BatchGetCollectionGroup$) {
16
4
  }