@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
@@ -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 { BatchGetEffectiveLifecyclePolicy$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class BatchGetEffectiveLifecyclePolicyCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("OpenSearchServerless", "BatchGetEffectiveLifecyclePolicy", {})
13
- .n("OpenSearchServerlessClient", "BatchGetEffectiveLifecyclePolicyCommand")
14
- .sc(BatchGetEffectiveLifecyclePolicy$)
15
- .build() {
3
+ export class BatchGetEffectiveLifecyclePolicyCommand extends command(_ep0, _mw0, "BatchGetEffectiveLifecyclePolicy", BatchGetEffectiveLifecyclePolicy$) {
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 { BatchGetLifecyclePolicy$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class BatchGetLifecyclePolicyCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("OpenSearchServerless", "BatchGetLifecyclePolicy", {})
13
- .n("OpenSearchServerlessClient", "BatchGetLifecyclePolicyCommand")
14
- .sc(BatchGetLifecyclePolicy$)
15
- .build() {
3
+ export class BatchGetLifecyclePolicyCommand extends command(_ep0, _mw0, "BatchGetLifecyclePolicy", BatchGetLifecyclePolicy$) {
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 { BatchGetVpcEndpoint$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class BatchGetVpcEndpointCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("OpenSearchServerless", "BatchGetVpcEndpoint", {})
13
- .n("OpenSearchServerlessClient", "BatchGetVpcEndpointCommand")
14
- .sc(BatchGetVpcEndpoint$)
15
- .build() {
3
+ export class BatchGetVpcEndpointCommand extends command(_ep0, _mw0, "BatchGetVpcEndpoint", BatchGetVpcEndpoint$) {
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 { CreateAccessPolicy$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateAccessPolicyCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("OpenSearchServerless", "CreateAccessPolicy", {})
13
- .n("OpenSearchServerlessClient", "CreateAccessPolicyCommand")
14
- .sc(CreateAccessPolicy$)
15
- .build() {
3
+ export class CreateAccessPolicyCommand extends command(_ep0, _mw0, "CreateAccessPolicy", CreateAccessPolicy$) {
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 { CreateCollection$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateCollectionCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("OpenSearchServerless", "CreateCollection", {})
13
- .n("OpenSearchServerlessClient", "CreateCollectionCommand")
14
- .sc(CreateCollection$)
15
- .build() {
3
+ export class CreateCollectionCommand extends command(_ep0, _mw0, "CreateCollection", CreateCollection$) {
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 { CreateCollectionGroup$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateCollectionGroupCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("OpenSearchServerless", "CreateCollectionGroup", {})
13
- .n("OpenSearchServerlessClient", "CreateCollectionGroupCommand")
14
- .sc(CreateCollectionGroup$)
15
- .build() {
3
+ export class CreateCollectionGroupCommand extends command(_ep0, _mw0, "CreateCollectionGroup", CreateCollectionGroup$) {
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 { CreateIndex$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateIndexCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("OpenSearchServerless", "CreateIndex", {})
13
- .n("OpenSearchServerlessClient", "CreateIndexCommand")
14
- .sc(CreateIndex$)
15
- .build() {
3
+ export class CreateIndexCommand extends command(_ep0, _mw0, "CreateIndex", CreateIndex$) {
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 { CreateLifecyclePolicy$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateLifecyclePolicyCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("OpenSearchServerless", "CreateLifecyclePolicy", {})
13
- .n("OpenSearchServerlessClient", "CreateLifecyclePolicyCommand")
14
- .sc(CreateLifecyclePolicy$)
15
- .build() {
3
+ export class CreateLifecyclePolicyCommand extends command(_ep0, _mw0, "CreateLifecyclePolicy", CreateLifecyclePolicy$) {
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 { CreateSecurityConfig$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateSecurityConfigCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("OpenSearchServerless", "CreateSecurityConfig", {})
13
- .n("OpenSearchServerlessClient", "CreateSecurityConfigCommand")
14
- .sc(CreateSecurityConfig$)
15
- .build() {
3
+ export class CreateSecurityConfigCommand extends command(_ep0, _mw0, "CreateSecurityConfig", CreateSecurityConfig$) {
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 { CreateSecurityPolicy$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateSecurityPolicyCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("OpenSearchServerless", "CreateSecurityPolicy", {})
13
- .n("OpenSearchServerlessClient", "CreateSecurityPolicyCommand")
14
- .sc(CreateSecurityPolicy$)
15
- .build() {
3
+ export class CreateSecurityPolicyCommand extends command(_ep0, _mw0, "CreateSecurityPolicy", CreateSecurityPolicy$) {
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 { CreateVpcEndpoint$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateVpcEndpointCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("OpenSearchServerless", "CreateVpcEndpoint", {})
13
- .n("OpenSearchServerlessClient", "CreateVpcEndpointCommand")
14
- .sc(CreateVpcEndpoint$)
15
- .build() {
3
+ export class CreateVpcEndpointCommand extends command(_ep0, _mw0, "CreateVpcEndpoint", CreateVpcEndpoint$) {
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 { DeleteAccessPolicy$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteAccessPolicyCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("OpenSearchServerless", "DeleteAccessPolicy", {})
13
- .n("OpenSearchServerlessClient", "DeleteAccessPolicyCommand")
14
- .sc(DeleteAccessPolicy$)
15
- .build() {
3
+ export class DeleteAccessPolicyCommand extends command(_ep0, _mw0, "DeleteAccessPolicy", DeleteAccessPolicy$) {
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 { DeleteCollection$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteCollectionCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("OpenSearchServerless", "DeleteCollection", {})
13
- .n("OpenSearchServerlessClient", "DeleteCollectionCommand")
14
- .sc(DeleteCollection$)
15
- .build() {
3
+ export class DeleteCollectionCommand extends command(_ep0, _mw0, "DeleteCollection", DeleteCollection$) {
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 { DeleteCollectionGroup$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteCollectionGroupCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("OpenSearchServerless", "DeleteCollectionGroup", {})
13
- .n("OpenSearchServerlessClient", "DeleteCollectionGroupCommand")
14
- .sc(DeleteCollectionGroup$)
15
- .build() {
3
+ export class DeleteCollectionGroupCommand extends command(_ep0, _mw0, "DeleteCollectionGroup", DeleteCollectionGroup$) {
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 { DeleteIndex$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteIndexCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("OpenSearchServerless", "DeleteIndex", {})
13
- .n("OpenSearchServerlessClient", "DeleteIndexCommand")
14
- .sc(DeleteIndex$)
15
- .build() {
3
+ export class DeleteIndexCommand extends command(_ep0, _mw0, "DeleteIndex", DeleteIndex$) {
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 { DeleteLifecyclePolicy$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteLifecyclePolicyCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("OpenSearchServerless", "DeleteLifecyclePolicy", {})
13
- .n("OpenSearchServerlessClient", "DeleteLifecyclePolicyCommand")
14
- .sc(DeleteLifecyclePolicy$)
15
- .build() {
3
+ export class DeleteLifecyclePolicyCommand extends command(_ep0, _mw0, "DeleteLifecyclePolicy", DeleteLifecyclePolicy$) {
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 { DeleteSecurityConfig$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteSecurityConfigCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("OpenSearchServerless", "DeleteSecurityConfig", {})
13
- .n("OpenSearchServerlessClient", "DeleteSecurityConfigCommand")
14
- .sc(DeleteSecurityConfig$)
15
- .build() {
3
+ export class DeleteSecurityConfigCommand extends command(_ep0, _mw0, "DeleteSecurityConfig", DeleteSecurityConfig$) {
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 { DeleteSecurityPolicy$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteSecurityPolicyCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("OpenSearchServerless", "DeleteSecurityPolicy", {})
13
- .n("OpenSearchServerlessClient", "DeleteSecurityPolicyCommand")
14
- .sc(DeleteSecurityPolicy$)
15
- .build() {
3
+ export class DeleteSecurityPolicyCommand extends command(_ep0, _mw0, "DeleteSecurityPolicy", DeleteSecurityPolicy$) {
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 { DeleteVpcEndpoint$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteVpcEndpointCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("OpenSearchServerless", "DeleteVpcEndpoint", {})
13
- .n("OpenSearchServerlessClient", "DeleteVpcEndpointCommand")
14
- .sc(DeleteVpcEndpoint$)
15
- .build() {
3
+ export class DeleteVpcEndpointCommand extends command(_ep0, _mw0, "DeleteVpcEndpoint", DeleteVpcEndpoint$) {
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 { GetAccessPolicy$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetAccessPolicyCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("OpenSearchServerless", "GetAccessPolicy", {})
13
- .n("OpenSearchServerlessClient", "GetAccessPolicyCommand")
14
- .sc(GetAccessPolicy$)
15
- .build() {
3
+ export class GetAccessPolicyCommand extends command(_ep0, _mw0, "GetAccessPolicy", GetAccessPolicy$) {
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 { GetAccountSettings$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetAccountSettingsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("OpenSearchServerless", "GetAccountSettings", {})
13
- .n("OpenSearchServerlessClient", "GetAccountSettingsCommand")
14
- .sc(GetAccountSettings$)
15
- .build() {
3
+ export class GetAccountSettingsCommand extends command(_ep0, _mw0, "GetAccountSettings", GetAccountSettings$) {
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 { GetIndex$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetIndexCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("OpenSearchServerless", "GetIndex", {})
13
- .n("OpenSearchServerlessClient", "GetIndexCommand")
14
- .sc(GetIndex$)
15
- .build() {
3
+ export class GetIndexCommand extends command(_ep0, _mw0, "GetIndex", GetIndex$) {
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 { GetPoliciesStats$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetPoliciesStatsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("OpenSearchServerless", "GetPoliciesStats", {})
13
- .n("OpenSearchServerlessClient", "GetPoliciesStatsCommand")
14
- .sc(GetPoliciesStats$)
15
- .build() {
3
+ export class GetPoliciesStatsCommand extends command(_ep0, _mw0, "GetPoliciesStats", GetPoliciesStats$) {
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 { GetSecurityConfig$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetSecurityConfigCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("OpenSearchServerless", "GetSecurityConfig", {})
13
- .n("OpenSearchServerlessClient", "GetSecurityConfigCommand")
14
- .sc(GetSecurityConfig$)
15
- .build() {
3
+ export class GetSecurityConfigCommand extends command(_ep0, _mw0, "GetSecurityConfig", GetSecurityConfig$) {
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 { GetSecurityPolicy$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetSecurityPolicyCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("OpenSearchServerless", "GetSecurityPolicy", {})
13
- .n("OpenSearchServerlessClient", "GetSecurityPolicyCommand")
14
- .sc(GetSecurityPolicy$)
15
- .build() {
3
+ export class GetSecurityPolicyCommand extends command(_ep0, _mw0, "GetSecurityPolicy", GetSecurityPolicy$) {
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 { ListAccessPolicies$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListAccessPoliciesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("OpenSearchServerless", "ListAccessPolicies", {})
13
- .n("OpenSearchServerlessClient", "ListAccessPoliciesCommand")
14
- .sc(ListAccessPolicies$)
15
- .build() {
3
+ export class ListAccessPoliciesCommand extends command(_ep0, _mw0, "ListAccessPolicies", ListAccessPolicies$) {
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 { ListCollectionGroups$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListCollectionGroupsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("OpenSearchServerless", "ListCollectionGroups", {})
13
- .n("OpenSearchServerlessClient", "ListCollectionGroupsCommand")
14
- .sc(ListCollectionGroups$)
15
- .build() {
3
+ export class ListCollectionGroupsCommand extends command(_ep0, _mw0, "ListCollectionGroups", ListCollectionGroups$) {
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 { ListCollections$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListCollectionsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("OpenSearchServerless", "ListCollections", {})
13
- .n("OpenSearchServerlessClient", "ListCollectionsCommand")
14
- .sc(ListCollections$)
15
- .build() {
3
+ export class ListCollectionsCommand extends command(_ep0, _mw0, "ListCollections", ListCollections$) {
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 { ListLifecyclePolicies$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListLifecyclePoliciesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("OpenSearchServerless", "ListLifecyclePolicies", {})
13
- .n("OpenSearchServerlessClient", "ListLifecyclePoliciesCommand")
14
- .sc(ListLifecyclePolicies$)
15
- .build() {
3
+ export class ListLifecyclePoliciesCommand extends command(_ep0, _mw0, "ListLifecyclePolicies", ListLifecyclePolicies$) {
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 { ListSecurityConfigs$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListSecurityConfigsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("OpenSearchServerless", "ListSecurityConfigs", {})
13
- .n("OpenSearchServerlessClient", "ListSecurityConfigsCommand")
14
- .sc(ListSecurityConfigs$)
15
- .build() {
3
+ export class ListSecurityConfigsCommand extends command(_ep0, _mw0, "ListSecurityConfigs", ListSecurityConfigs$) {
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 { ListSecurityPolicies$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListSecurityPoliciesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("OpenSearchServerless", "ListSecurityPolicies", {})
13
- .n("OpenSearchServerlessClient", "ListSecurityPoliciesCommand")
14
- .sc(ListSecurityPolicies$)
15
- .build() {
3
+ export class ListSecurityPoliciesCommand extends command(_ep0, _mw0, "ListSecurityPolicies", ListSecurityPolicies$) {
16
4
  }