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