@aws-sdk/client-opensearchserverless 3.220.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 (215) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +214 -0
  3. package/dist-cjs/OpenSearchServerless.js +472 -0
  4. package/dist-cjs/OpenSearchServerlessClient.js +40 -0
  5. package/dist-cjs/commands/BatchGetCollectionCommand.js +46 -0
  6. package/dist-cjs/commands/BatchGetVpcEndpointCommand.js +46 -0
  7. package/dist-cjs/commands/CreateAccessPolicyCommand.js +46 -0
  8. package/dist-cjs/commands/CreateCollectionCommand.js +46 -0
  9. package/dist-cjs/commands/CreateSecurityConfigCommand.js +46 -0
  10. package/dist-cjs/commands/CreateSecurityPolicyCommand.js +46 -0
  11. package/dist-cjs/commands/CreateVpcEndpointCommand.js +46 -0
  12. package/dist-cjs/commands/DeleteAccessPolicyCommand.js +46 -0
  13. package/dist-cjs/commands/DeleteCollectionCommand.js +46 -0
  14. package/dist-cjs/commands/DeleteSecurityConfigCommand.js +46 -0
  15. package/dist-cjs/commands/DeleteSecurityPolicyCommand.js +46 -0
  16. package/dist-cjs/commands/DeleteVpcEndpointCommand.js +46 -0
  17. package/dist-cjs/commands/GetAccessPolicyCommand.js +46 -0
  18. package/dist-cjs/commands/GetAccountSettingsCommand.js +46 -0
  19. package/dist-cjs/commands/GetPoliciesStatsCommand.js +46 -0
  20. package/dist-cjs/commands/GetSecurityConfigCommand.js +46 -0
  21. package/dist-cjs/commands/GetSecurityPolicyCommand.js +46 -0
  22. package/dist-cjs/commands/ListAccessPoliciesCommand.js +46 -0
  23. package/dist-cjs/commands/ListCollectionsCommand.js +46 -0
  24. package/dist-cjs/commands/ListSecurityConfigsCommand.js +46 -0
  25. package/dist-cjs/commands/ListSecurityPoliciesCommand.js +46 -0
  26. package/dist-cjs/commands/ListTagsForResourceCommand.js +46 -0
  27. package/dist-cjs/commands/ListVpcEndpointsCommand.js +46 -0
  28. package/dist-cjs/commands/TagResourceCommand.js +46 -0
  29. package/dist-cjs/commands/UntagResourceCommand.js +46 -0
  30. package/dist-cjs/commands/UpdateAccessPolicyCommand.js +46 -0
  31. package/dist-cjs/commands/UpdateAccountSettingsCommand.js +46 -0
  32. package/dist-cjs/commands/UpdateCollectionCommand.js +46 -0
  33. package/dist-cjs/commands/UpdateSecurityConfigCommand.js +46 -0
  34. package/dist-cjs/commands/UpdateSecurityPolicyCommand.js +46 -0
  35. package/dist-cjs/commands/UpdateVpcEndpointCommand.js +46 -0
  36. package/dist-cjs/commands/index.js +34 -0
  37. package/dist-cjs/endpoint/EndpointParameters.js +12 -0
  38. package/dist-cjs/endpoint/endpointResolver.js +12 -0
  39. package/dist-cjs/endpoint/ruleset.js +312 -0
  40. package/dist-cjs/index.js +11 -0
  41. package/dist-cjs/models/OpenSearchServerlessServiceException.js +11 -0
  42. package/dist-cjs/models/index.js +4 -0
  43. package/dist-cjs/models/models_0.js +445 -0
  44. package/dist-cjs/pagination/Interfaces.js +2 -0
  45. package/dist-cjs/pagination/ListAccessPoliciesPaginator.js +35 -0
  46. package/dist-cjs/pagination/ListCollectionsPaginator.js +35 -0
  47. package/dist-cjs/pagination/ListSecurityConfigsPaginator.js +35 -0
  48. package/dist-cjs/pagination/ListSecurityPoliciesPaginator.js +35 -0
  49. package/dist-cjs/pagination/ListVpcEndpointsPaginator.js +35 -0
  50. package/dist-cjs/pagination/index.js +9 -0
  51. package/dist-cjs/protocols/Aws_json1_0.js +2572 -0
  52. package/dist-cjs/runtimeConfig.browser.js +42 -0
  53. package/dist-cjs/runtimeConfig.js +50 -0
  54. package/dist-cjs/runtimeConfig.native.js +15 -0
  55. package/dist-cjs/runtimeConfig.shared.js +18 -0
  56. package/dist-es/OpenSearchServerless.js +468 -0
  57. package/dist-es/OpenSearchServerlessClient.js +36 -0
  58. package/dist-es/commands/BatchGetCollectionCommand.js +42 -0
  59. package/dist-es/commands/BatchGetVpcEndpointCommand.js +42 -0
  60. package/dist-es/commands/CreateAccessPolicyCommand.js +42 -0
  61. package/dist-es/commands/CreateCollectionCommand.js +42 -0
  62. package/dist-es/commands/CreateSecurityConfigCommand.js +42 -0
  63. package/dist-es/commands/CreateSecurityPolicyCommand.js +42 -0
  64. package/dist-es/commands/CreateVpcEndpointCommand.js +42 -0
  65. package/dist-es/commands/DeleteAccessPolicyCommand.js +42 -0
  66. package/dist-es/commands/DeleteCollectionCommand.js +42 -0
  67. package/dist-es/commands/DeleteSecurityConfigCommand.js +42 -0
  68. package/dist-es/commands/DeleteSecurityPolicyCommand.js +42 -0
  69. package/dist-es/commands/DeleteVpcEndpointCommand.js +42 -0
  70. package/dist-es/commands/GetAccessPolicyCommand.js +42 -0
  71. package/dist-es/commands/GetAccountSettingsCommand.js +42 -0
  72. package/dist-es/commands/GetPoliciesStatsCommand.js +42 -0
  73. package/dist-es/commands/GetSecurityConfigCommand.js +42 -0
  74. package/dist-es/commands/GetSecurityPolicyCommand.js +42 -0
  75. package/dist-es/commands/ListAccessPoliciesCommand.js +42 -0
  76. package/dist-es/commands/ListCollectionsCommand.js +42 -0
  77. package/dist-es/commands/ListSecurityConfigsCommand.js +42 -0
  78. package/dist-es/commands/ListSecurityPoliciesCommand.js +42 -0
  79. package/dist-es/commands/ListTagsForResourceCommand.js +42 -0
  80. package/dist-es/commands/ListVpcEndpointsCommand.js +42 -0
  81. package/dist-es/commands/TagResourceCommand.js +42 -0
  82. package/dist-es/commands/UntagResourceCommand.js +42 -0
  83. package/dist-es/commands/UpdateAccessPolicyCommand.js +42 -0
  84. package/dist-es/commands/UpdateAccountSettingsCommand.js +42 -0
  85. package/dist-es/commands/UpdateCollectionCommand.js +42 -0
  86. package/dist-es/commands/UpdateSecurityConfigCommand.js +42 -0
  87. package/dist-es/commands/UpdateSecurityPolicyCommand.js +42 -0
  88. package/dist-es/commands/UpdateVpcEndpointCommand.js +42 -0
  89. package/dist-es/commands/index.js +31 -0
  90. package/dist-es/endpoint/EndpointParameters.js +8 -0
  91. package/dist-es/endpoint/endpointResolver.js +8 -0
  92. package/dist-es/endpoint/ruleset.js +309 -0
  93. package/dist-es/index.js +6 -0
  94. package/dist-es/models/OpenSearchServerlessServiceException.js +7 -0
  95. package/dist-es/models/index.js +1 -0
  96. package/dist-es/models/models_0.js +348 -0
  97. package/dist-es/pagination/Interfaces.js +1 -0
  98. package/dist-es/pagination/ListAccessPoliciesPaginator.js +31 -0
  99. package/dist-es/pagination/ListCollectionsPaginator.js +31 -0
  100. package/dist-es/pagination/ListSecurityConfigsPaginator.js +31 -0
  101. package/dist-es/pagination/ListSecurityPoliciesPaginator.js +31 -0
  102. package/dist-es/pagination/ListVpcEndpointsPaginator.js +31 -0
  103. package/dist-es/pagination/index.js +6 -0
  104. package/dist-es/protocols/Aws_json1_0.js +2506 -0
  105. package/dist-es/runtimeConfig.browser.js +37 -0
  106. package/dist-es/runtimeConfig.js +45 -0
  107. package/dist-es/runtimeConfig.native.js +11 -0
  108. package/dist-es/runtimeConfig.shared.js +14 -0
  109. package/dist-types/OpenSearchServerless.d.ts +276 -0
  110. package/dist-types/OpenSearchServerlessClient.d.ts +181 -0
  111. package/dist-types/commands/BatchGetCollectionCommand.d.ts +39 -0
  112. package/dist-types/commands/BatchGetVpcEndpointCommand.d.ts +39 -0
  113. package/dist-types/commands/CreateAccessPolicyCommand.d.ts +40 -0
  114. package/dist-types/commands/CreateCollectionCommand.d.ts +38 -0
  115. package/dist-types/commands/CreateSecurityConfigCommand.d.ts +39 -0
  116. package/dist-types/commands/CreateSecurityPolicyCommand.d.ts +42 -0
  117. package/dist-types/commands/CreateVpcEndpointCommand.d.ts +38 -0
  118. package/dist-types/commands/DeleteAccessPolicyCommand.d.ts +38 -0
  119. package/dist-types/commands/DeleteCollectionCommand.d.ts +38 -0
  120. package/dist-types/commands/DeleteSecurityConfigCommand.d.ts +39 -0
  121. package/dist-types/commands/DeleteSecurityPolicyCommand.d.ts +37 -0
  122. package/dist-types/commands/DeleteVpcEndpointCommand.d.ts +38 -0
  123. package/dist-types/commands/GetAccessPolicyCommand.d.ts +38 -0
  124. package/dist-types/commands/GetAccountSettingsCommand.d.ts +37 -0
  125. package/dist-types/commands/GetPoliciesStatsCommand.d.ts +38 -0
  126. package/dist-types/commands/GetSecurityConfigCommand.d.ts +39 -0
  127. package/dist-types/commands/GetSecurityPolicyCommand.d.ts +39 -0
  128. package/dist-types/commands/ListAccessPoliciesCommand.d.ts +37 -0
  129. package/dist-types/commands/ListCollectionsCommand.d.ts +42 -0
  130. package/dist-types/commands/ListSecurityConfigsCommand.d.ts +39 -0
  131. package/dist-types/commands/ListSecurityPoliciesCommand.d.ts +37 -0
  132. package/dist-types/commands/ListTagsForResourceCommand.d.ts +37 -0
  133. package/dist-types/commands/ListVpcEndpointsCommand.d.ts +39 -0
  134. package/dist-types/commands/TagResourceCommand.d.ts +37 -0
  135. package/dist-types/commands/UntagResourceCommand.d.ts +37 -0
  136. package/dist-types/commands/UpdateAccessPolicyCommand.d.ts +38 -0
  137. package/dist-types/commands/UpdateAccountSettingsCommand.d.ts +38 -0
  138. package/dist-types/commands/UpdateCollectionCommand.d.ts +37 -0
  139. package/dist-types/commands/UpdateSecurityConfigCommand.d.ts +39 -0
  140. package/dist-types/commands/UpdateSecurityPolicyCommand.d.ts +39 -0
  141. package/dist-types/commands/UpdateVpcEndpointCommand.d.ts +38 -0
  142. package/dist-types/commands/index.d.ts +31 -0
  143. package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
  144. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  145. package/dist-types/endpoint/ruleset.d.ts +2 -0
  146. package/dist-types/index.d.ts +6 -0
  147. package/dist-types/models/OpenSearchServerlessServiceException.d.ts +10 -0
  148. package/dist-types/models/index.d.ts +1 -0
  149. package/dist-types/models/models_0.d.ts +1802 -0
  150. package/dist-types/pagination/Interfaces.d.ts +6 -0
  151. package/dist-types/pagination/ListAccessPoliciesPaginator.d.ts +4 -0
  152. package/dist-types/pagination/ListCollectionsPaginator.d.ts +4 -0
  153. package/dist-types/pagination/ListSecurityConfigsPaginator.d.ts +4 -0
  154. package/dist-types/pagination/ListSecurityPoliciesPaginator.d.ts +4 -0
  155. package/dist-types/pagination/ListVpcEndpointsPaginator.d.ts +4 -0
  156. package/dist-types/pagination/index.d.ts +6 -0
  157. package/dist-types/protocols/Aws_json1_0.d.ts +95 -0
  158. package/dist-types/runtimeConfig.browser.d.ts +42 -0
  159. package/dist-types/runtimeConfig.d.ts +42 -0
  160. package/dist-types/runtimeConfig.native.d.ts +41 -0
  161. package/dist-types/runtimeConfig.shared.d.ts +16 -0
  162. package/dist-types/ts3.4/OpenSearchServerless.d.ts +531 -0
  163. package/dist-types/ts3.4/OpenSearchServerlessClient.d.ts +298 -0
  164. package/dist-types/ts3.4/commands/BatchGetCollectionCommand.d.ts +38 -0
  165. package/dist-types/ts3.4/commands/BatchGetVpcEndpointCommand.d.ts +38 -0
  166. package/dist-types/ts3.4/commands/CreateAccessPolicyCommand.d.ts +38 -0
  167. package/dist-types/ts3.4/commands/CreateCollectionCommand.d.ts +37 -0
  168. package/dist-types/ts3.4/commands/CreateSecurityConfigCommand.d.ts +41 -0
  169. package/dist-types/ts3.4/commands/CreateSecurityPolicyCommand.d.ts +41 -0
  170. package/dist-types/ts3.4/commands/CreateVpcEndpointCommand.d.ts +38 -0
  171. package/dist-types/ts3.4/commands/DeleteAccessPolicyCommand.d.ts +38 -0
  172. package/dist-types/ts3.4/commands/DeleteCollectionCommand.d.ts +37 -0
  173. package/dist-types/ts3.4/commands/DeleteSecurityConfigCommand.d.ts +41 -0
  174. package/dist-types/ts3.4/commands/DeleteSecurityPolicyCommand.d.ts +41 -0
  175. package/dist-types/ts3.4/commands/DeleteVpcEndpointCommand.d.ts +38 -0
  176. package/dist-types/ts3.4/commands/GetAccessPolicyCommand.d.ts +37 -0
  177. package/dist-types/ts3.4/commands/GetAccountSettingsCommand.d.ts +38 -0
  178. package/dist-types/ts3.4/commands/GetPoliciesStatsCommand.d.ts +37 -0
  179. package/dist-types/ts3.4/commands/GetSecurityConfigCommand.d.ts +38 -0
  180. package/dist-types/ts3.4/commands/GetSecurityPolicyCommand.d.ts +38 -0
  181. package/dist-types/ts3.4/commands/ListAccessPoliciesCommand.d.ts +38 -0
  182. package/dist-types/ts3.4/commands/ListCollectionsCommand.d.ts +37 -0
  183. package/dist-types/ts3.4/commands/ListSecurityConfigsCommand.d.ts +38 -0
  184. package/dist-types/ts3.4/commands/ListSecurityPoliciesCommand.d.ts +41 -0
  185. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +38 -0
  186. package/dist-types/ts3.4/commands/ListVpcEndpointsCommand.d.ts +37 -0
  187. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +34 -0
  188. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +37 -0
  189. package/dist-types/ts3.4/commands/UpdateAccessPolicyCommand.d.ts +38 -0
  190. package/dist-types/ts3.4/commands/UpdateAccountSettingsCommand.d.ts +41 -0
  191. package/dist-types/ts3.4/commands/UpdateCollectionCommand.d.ts +37 -0
  192. package/dist-types/ts3.4/commands/UpdateSecurityConfigCommand.d.ts +41 -0
  193. package/dist-types/ts3.4/commands/UpdateSecurityPolicyCommand.d.ts +41 -0
  194. package/dist-types/ts3.4/commands/UpdateVpcEndpointCommand.d.ts +38 -0
  195. package/dist-types/ts3.4/commands/index.d.ts +31 -0
  196. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +34 -0
  197. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  198. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  199. package/dist-types/ts3.4/index.d.ts +6 -0
  200. package/dist-types/ts3.4/models/OpenSearchServerlessServiceException.d.ts +7 -0
  201. package/dist-types/ts3.4/models/index.d.ts +1 -0
  202. package/dist-types/ts3.4/models/models_0.d.ts +740 -0
  203. package/dist-types/ts3.4/pagination/Interfaces.d.ts +7 -0
  204. package/dist-types/ts3.4/pagination/ListAccessPoliciesPaginator.d.ts +11 -0
  205. package/dist-types/ts3.4/pagination/ListCollectionsPaginator.d.ts +11 -0
  206. package/dist-types/ts3.4/pagination/ListSecurityConfigsPaginator.d.ts +11 -0
  207. package/dist-types/ts3.4/pagination/ListSecurityPoliciesPaginator.d.ts +11 -0
  208. package/dist-types/ts3.4/pagination/ListVpcEndpointsPaginator.d.ts +11 -0
  209. package/dist-types/ts3.4/pagination/index.d.ts +6 -0
  210. package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +377 -0
  211. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +90 -0
  212. package/dist-types/ts3.4/runtimeConfig.d.ts +90 -0
  213. package/dist-types/ts3.4/runtimeConfig.native.d.ts +79 -0
  214. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +18 -0
  215. package/package.json +103 -0
@@ -0,0 +1,39 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { GetSecurityPolicyRequest, GetSecurityPolicyResponse } from "../models/models_0";
5
+ import { OpenSearchServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchServerlessClient";
6
+ export interface GetSecurityPolicyCommandInput extends GetSecurityPolicyRequest {
7
+ }
8
+ export interface GetSecurityPolicyCommandOutput extends GetSecurityPolicyResponse, __MetadataBearer {
9
+ }
10
+ /**
11
+ * <p>Returns information about a configured OpenSearch Serverless security policy. For more information, see <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless-network.html">Network access
12
+ * for Amazon OpenSearch Serverless</a> and <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless-encryption.html">Encryption at
13
+ * rest for Amazon OpenSearch Serverless</a>.</p>
14
+ * @example
15
+ * Use a bare-bones client and the command you need to make an API call.
16
+ * ```javascript
17
+ * import { OpenSearchServerlessClient, GetSecurityPolicyCommand } from "@aws-sdk/client-opensearchserverless"; // ES Modules import
18
+ * // const { OpenSearchServerlessClient, GetSecurityPolicyCommand } = require("@aws-sdk/client-opensearchserverless"); // CommonJS import
19
+ * const client = new OpenSearchServerlessClient(config);
20
+ * const command = new GetSecurityPolicyCommand(input);
21
+ * const response = await client.send(command);
22
+ * ```
23
+ *
24
+ * @see {@link GetSecurityPolicyCommandInput} for command's `input` shape.
25
+ * @see {@link GetSecurityPolicyCommandOutput} for command's `response` shape.
26
+ * @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape.
27
+ *
28
+ */
29
+ export declare class GetSecurityPolicyCommand extends $Command<GetSecurityPolicyCommandInput, GetSecurityPolicyCommandOutput, OpenSearchServerlessClientResolvedConfig> {
30
+ readonly input: GetSecurityPolicyCommandInput;
31
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
32
+ constructor(input: GetSecurityPolicyCommandInput);
33
+ /**
34
+ * @internal
35
+ */
36
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: OpenSearchServerlessClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetSecurityPolicyCommandInput, GetSecurityPolicyCommandOutput>;
37
+ private serialize;
38
+ private deserialize;
39
+ }
@@ -0,0 +1,37 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { ListAccessPoliciesRequest, ListAccessPoliciesResponse } from "../models/models_0";
5
+ import { OpenSearchServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchServerlessClient";
6
+ export interface ListAccessPoliciesCommandInput extends ListAccessPoliciesRequest {
7
+ }
8
+ export interface ListAccessPoliciesCommandOutput extends ListAccessPoliciesResponse, __MetadataBearer {
9
+ }
10
+ /**
11
+ * <p>Returns information about a list of OpenSearch Serverless access policies.</p>
12
+ * @example
13
+ * Use a bare-bones client and the command you need to make an API call.
14
+ * ```javascript
15
+ * import { OpenSearchServerlessClient, ListAccessPoliciesCommand } from "@aws-sdk/client-opensearchserverless"; // ES Modules import
16
+ * // const { OpenSearchServerlessClient, ListAccessPoliciesCommand } = require("@aws-sdk/client-opensearchserverless"); // CommonJS import
17
+ * const client = new OpenSearchServerlessClient(config);
18
+ * const command = new ListAccessPoliciesCommand(input);
19
+ * const response = await client.send(command);
20
+ * ```
21
+ *
22
+ * @see {@link ListAccessPoliciesCommandInput} for command's `input` shape.
23
+ * @see {@link ListAccessPoliciesCommandOutput} for command's `response` shape.
24
+ * @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape.
25
+ *
26
+ */
27
+ export declare class ListAccessPoliciesCommand extends $Command<ListAccessPoliciesCommandInput, ListAccessPoliciesCommandOutput, OpenSearchServerlessClientResolvedConfig> {
28
+ readonly input: ListAccessPoliciesCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: ListAccessPoliciesCommandInput);
31
+ /**
32
+ * @internal
33
+ */
34
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: OpenSearchServerlessClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListAccessPoliciesCommandInput, ListAccessPoliciesCommandOutput>;
35
+ private serialize;
36
+ private deserialize;
37
+ }
@@ -0,0 +1,42 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { ListCollectionsRequest, ListCollectionsResponse } from "../models/models_0";
5
+ import { OpenSearchServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchServerlessClient";
6
+ export interface ListCollectionsCommandInput extends ListCollectionsRequest {
7
+ }
8
+ export interface ListCollectionsCommandOutput extends ListCollectionsResponse, __MetadataBearer {
9
+ }
10
+ /**
11
+ * <p>Lists all OpenSearch Serverless collections. For more information, see <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless-manage.html">Creating and
12
+ * managing Amazon OpenSearch Serverless collections</a>.</p>
13
+ * <note>
14
+ * <p>Make sure to include an empty request body {} if you don't include any collection
15
+ * filters in the request.</p>
16
+ * </note>
17
+ * @example
18
+ * Use a bare-bones client and the command you need to make an API call.
19
+ * ```javascript
20
+ * import { OpenSearchServerlessClient, ListCollectionsCommand } from "@aws-sdk/client-opensearchserverless"; // ES Modules import
21
+ * // const { OpenSearchServerlessClient, ListCollectionsCommand } = require("@aws-sdk/client-opensearchserverless"); // CommonJS import
22
+ * const client = new OpenSearchServerlessClient(config);
23
+ * const command = new ListCollectionsCommand(input);
24
+ * const response = await client.send(command);
25
+ * ```
26
+ *
27
+ * @see {@link ListCollectionsCommandInput} for command's `input` shape.
28
+ * @see {@link ListCollectionsCommandOutput} for command's `response` shape.
29
+ * @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape.
30
+ *
31
+ */
32
+ export declare class ListCollectionsCommand extends $Command<ListCollectionsCommandInput, ListCollectionsCommandOutput, OpenSearchServerlessClientResolvedConfig> {
33
+ readonly input: ListCollectionsCommandInput;
34
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
35
+ constructor(input: ListCollectionsCommandInput);
36
+ /**
37
+ * @internal
38
+ */
39
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: OpenSearchServerlessClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListCollectionsCommandInput, ListCollectionsCommandOutput>;
40
+ private serialize;
41
+ private deserialize;
42
+ }
@@ -0,0 +1,39 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { ListSecurityConfigsRequest, ListSecurityConfigsResponse } from "../models/models_0";
5
+ import { OpenSearchServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchServerlessClient";
6
+ export interface ListSecurityConfigsCommandInput extends ListSecurityConfigsRequest {
7
+ }
8
+ export interface ListSecurityConfigsCommandOutput extends ListSecurityConfigsResponse, __MetadataBearer {
9
+ }
10
+ /**
11
+ * <p>Returns information about configured OpenSearch Serverless security configurations. For more information, see
12
+ * <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless-saml.html">SAML
13
+ * authentication for Amazon OpenSearch Serverless</a>.</p>
14
+ * @example
15
+ * Use a bare-bones client and the command you need to make an API call.
16
+ * ```javascript
17
+ * import { OpenSearchServerlessClient, ListSecurityConfigsCommand } from "@aws-sdk/client-opensearchserverless"; // ES Modules import
18
+ * // const { OpenSearchServerlessClient, ListSecurityConfigsCommand } = require("@aws-sdk/client-opensearchserverless"); // CommonJS import
19
+ * const client = new OpenSearchServerlessClient(config);
20
+ * const command = new ListSecurityConfigsCommand(input);
21
+ * const response = await client.send(command);
22
+ * ```
23
+ *
24
+ * @see {@link ListSecurityConfigsCommandInput} for command's `input` shape.
25
+ * @see {@link ListSecurityConfigsCommandOutput} for command's `response` shape.
26
+ * @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape.
27
+ *
28
+ */
29
+ export declare class ListSecurityConfigsCommand extends $Command<ListSecurityConfigsCommandInput, ListSecurityConfigsCommandOutput, OpenSearchServerlessClientResolvedConfig> {
30
+ readonly input: ListSecurityConfigsCommandInput;
31
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
32
+ constructor(input: ListSecurityConfigsCommandInput);
33
+ /**
34
+ * @internal
35
+ */
36
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: OpenSearchServerlessClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListSecurityConfigsCommandInput, ListSecurityConfigsCommandOutput>;
37
+ private serialize;
38
+ private deserialize;
39
+ }
@@ -0,0 +1,37 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { ListSecurityPoliciesRequest, ListSecurityPoliciesResponse } from "../models/models_0";
5
+ import { OpenSearchServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchServerlessClient";
6
+ export interface ListSecurityPoliciesCommandInput extends ListSecurityPoliciesRequest {
7
+ }
8
+ export interface ListSecurityPoliciesCommandOutput extends ListSecurityPoliciesResponse, __MetadataBearer {
9
+ }
10
+ /**
11
+ * <p>Returns information about configured OpenSearch Serverless security policies.</p>
12
+ * @example
13
+ * Use a bare-bones client and the command you need to make an API call.
14
+ * ```javascript
15
+ * import { OpenSearchServerlessClient, ListSecurityPoliciesCommand } from "@aws-sdk/client-opensearchserverless"; // ES Modules import
16
+ * // const { OpenSearchServerlessClient, ListSecurityPoliciesCommand } = require("@aws-sdk/client-opensearchserverless"); // CommonJS import
17
+ * const client = new OpenSearchServerlessClient(config);
18
+ * const command = new ListSecurityPoliciesCommand(input);
19
+ * const response = await client.send(command);
20
+ * ```
21
+ *
22
+ * @see {@link ListSecurityPoliciesCommandInput} for command's `input` shape.
23
+ * @see {@link ListSecurityPoliciesCommandOutput} for command's `response` shape.
24
+ * @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape.
25
+ *
26
+ */
27
+ export declare class ListSecurityPoliciesCommand extends $Command<ListSecurityPoliciesCommandInput, ListSecurityPoliciesCommandOutput, OpenSearchServerlessClientResolvedConfig> {
28
+ readonly input: ListSecurityPoliciesCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: ListSecurityPoliciesCommandInput);
31
+ /**
32
+ * @internal
33
+ */
34
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: OpenSearchServerlessClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListSecurityPoliciesCommandInput, ListSecurityPoliciesCommandOutput>;
35
+ private serialize;
36
+ private deserialize;
37
+ }
@@ -0,0 +1,37 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
5
+ import { OpenSearchServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchServerlessClient";
6
+ export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequest {
7
+ }
8
+ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {
9
+ }
10
+ /**
11
+ * <p>Returns the tags for an OpenSearch Serverless resource. For more information, see <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/tag-collection.html">Tagging Amazon OpenSearch Serverless collections</a>.</p>
12
+ * @example
13
+ * Use a bare-bones client and the command you need to make an API call.
14
+ * ```javascript
15
+ * import { OpenSearchServerlessClient, ListTagsForResourceCommand } from "@aws-sdk/client-opensearchserverless"; // ES Modules import
16
+ * // const { OpenSearchServerlessClient, ListTagsForResourceCommand } = require("@aws-sdk/client-opensearchserverless"); // CommonJS import
17
+ * const client = new OpenSearchServerlessClient(config);
18
+ * const command = new ListTagsForResourceCommand(input);
19
+ * const response = await client.send(command);
20
+ * ```
21
+ *
22
+ * @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
23
+ * @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
24
+ * @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape.
25
+ *
26
+ */
27
+ export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, OpenSearchServerlessClientResolvedConfig> {
28
+ readonly input: ListTagsForResourceCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: ListTagsForResourceCommandInput);
31
+ /**
32
+ * @internal
33
+ */
34
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: OpenSearchServerlessClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput>;
35
+ private serialize;
36
+ private deserialize;
37
+ }
@@ -0,0 +1,39 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { ListVpcEndpointsRequest, ListVpcEndpointsResponse } from "../models/models_0";
5
+ import { OpenSearchServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchServerlessClient";
6
+ export interface ListVpcEndpointsCommandInput extends ListVpcEndpointsRequest {
7
+ }
8
+ export interface ListVpcEndpointsCommandOutput extends ListVpcEndpointsResponse, __MetadataBearer {
9
+ }
10
+ /**
11
+ * <p>Returns the OpenSearch Serverless-managed interface VPC endpoints associated with the current
12
+ * account. For more information, see
13
+ * <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless-vpc.html">Access Amazon OpenSearch Serverless using an interface endpoint</a>.</p>
14
+ * @example
15
+ * Use a bare-bones client and the command you need to make an API call.
16
+ * ```javascript
17
+ * import { OpenSearchServerlessClient, ListVpcEndpointsCommand } from "@aws-sdk/client-opensearchserverless"; // ES Modules import
18
+ * // const { OpenSearchServerlessClient, ListVpcEndpointsCommand } = require("@aws-sdk/client-opensearchserverless"); // CommonJS import
19
+ * const client = new OpenSearchServerlessClient(config);
20
+ * const command = new ListVpcEndpointsCommand(input);
21
+ * const response = await client.send(command);
22
+ * ```
23
+ *
24
+ * @see {@link ListVpcEndpointsCommandInput} for command's `input` shape.
25
+ * @see {@link ListVpcEndpointsCommandOutput} for command's `response` shape.
26
+ * @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape.
27
+ *
28
+ */
29
+ export declare class ListVpcEndpointsCommand extends $Command<ListVpcEndpointsCommandInput, ListVpcEndpointsCommandOutput, OpenSearchServerlessClientResolvedConfig> {
30
+ readonly input: ListVpcEndpointsCommandInput;
31
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
32
+ constructor(input: ListVpcEndpointsCommandInput);
33
+ /**
34
+ * @internal
35
+ */
36
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: OpenSearchServerlessClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListVpcEndpointsCommandInput, ListVpcEndpointsCommandOutput>;
37
+ private serialize;
38
+ private deserialize;
39
+ }
@@ -0,0 +1,37 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
5
+ import { OpenSearchServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchServerlessClient";
6
+ export interface TagResourceCommandInput extends TagResourceRequest {
7
+ }
8
+ export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {
9
+ }
10
+ /**
11
+ * <p>Associates tags with an OpenSearch Serverless resource. For more information, see <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/tag-collection.html">Tagging Amazon OpenSearch Serverless collections</a>.</p>
12
+ * @example
13
+ * Use a bare-bones client and the command you need to make an API call.
14
+ * ```javascript
15
+ * import { OpenSearchServerlessClient, TagResourceCommand } from "@aws-sdk/client-opensearchserverless"; // ES Modules import
16
+ * // const { OpenSearchServerlessClient, TagResourceCommand } = require("@aws-sdk/client-opensearchserverless"); // CommonJS import
17
+ * const client = new OpenSearchServerlessClient(config);
18
+ * const command = new TagResourceCommand(input);
19
+ * const response = await client.send(command);
20
+ * ```
21
+ *
22
+ * @see {@link TagResourceCommandInput} for command's `input` shape.
23
+ * @see {@link TagResourceCommandOutput} for command's `response` shape.
24
+ * @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape.
25
+ *
26
+ */
27
+ export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, OpenSearchServerlessClientResolvedConfig> {
28
+ readonly input: TagResourceCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: TagResourceCommandInput);
31
+ /**
32
+ * @internal
33
+ */
34
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: OpenSearchServerlessClientResolvedConfig, options?: __HttpHandlerOptions): Handler<TagResourceCommandInput, TagResourceCommandOutput>;
35
+ private serialize;
36
+ private deserialize;
37
+ }
@@ -0,0 +1,37 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
5
+ import { OpenSearchServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchServerlessClient";
6
+ export interface UntagResourceCommandInput extends UntagResourceRequest {
7
+ }
8
+ export interface UntagResourceCommandOutput extends UntagResourceResponse, __MetadataBearer {
9
+ }
10
+ /**
11
+ * <p>Removes a tag or set of tags from an OpenSearch Serverless resource. For more information, see <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/tag-collection.html">Tagging Amazon OpenSearch Serverless collections</a>.</p>
12
+ * @example
13
+ * Use a bare-bones client and the command you need to make an API call.
14
+ * ```javascript
15
+ * import { OpenSearchServerlessClient, UntagResourceCommand } from "@aws-sdk/client-opensearchserverless"; // ES Modules import
16
+ * // const { OpenSearchServerlessClient, UntagResourceCommand } = require("@aws-sdk/client-opensearchserverless"); // CommonJS import
17
+ * const client = new OpenSearchServerlessClient(config);
18
+ * const command = new UntagResourceCommand(input);
19
+ * const response = await client.send(command);
20
+ * ```
21
+ *
22
+ * @see {@link UntagResourceCommandInput} for command's `input` shape.
23
+ * @see {@link UntagResourceCommandOutput} for command's `response` shape.
24
+ * @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape.
25
+ *
26
+ */
27
+ export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, OpenSearchServerlessClientResolvedConfig> {
28
+ readonly input: UntagResourceCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: UntagResourceCommandInput);
31
+ /**
32
+ * @internal
33
+ */
34
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: OpenSearchServerlessClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UntagResourceCommandInput, UntagResourceCommandOutput>;
35
+ private serialize;
36
+ private deserialize;
37
+ }
@@ -0,0 +1,38 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { UpdateAccessPolicyRequest, UpdateAccessPolicyResponse } from "../models/models_0";
5
+ import { OpenSearchServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchServerlessClient";
6
+ export interface UpdateAccessPolicyCommandInput extends UpdateAccessPolicyRequest {
7
+ }
8
+ export interface UpdateAccessPolicyCommandOutput extends UpdateAccessPolicyResponse, __MetadataBearer {
9
+ }
10
+ /**
11
+ * <p>Updates an OpenSearch Serverless access policy. For more information, see <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless-data-access.html">Data
12
+ * access control for Amazon OpenSearch Serverless</a>.</p>
13
+ * @example
14
+ * Use a bare-bones client and the command you need to make an API call.
15
+ * ```javascript
16
+ * import { OpenSearchServerlessClient, UpdateAccessPolicyCommand } from "@aws-sdk/client-opensearchserverless"; // ES Modules import
17
+ * // const { OpenSearchServerlessClient, UpdateAccessPolicyCommand } = require("@aws-sdk/client-opensearchserverless"); // CommonJS import
18
+ * const client = new OpenSearchServerlessClient(config);
19
+ * const command = new UpdateAccessPolicyCommand(input);
20
+ * const response = await client.send(command);
21
+ * ```
22
+ *
23
+ * @see {@link UpdateAccessPolicyCommandInput} for command's `input` shape.
24
+ * @see {@link UpdateAccessPolicyCommandOutput} for command's `response` shape.
25
+ * @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape.
26
+ *
27
+ */
28
+ export declare class UpdateAccessPolicyCommand extends $Command<UpdateAccessPolicyCommandInput, UpdateAccessPolicyCommandOutput, OpenSearchServerlessClientResolvedConfig> {
29
+ readonly input: UpdateAccessPolicyCommandInput;
30
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
+ constructor(input: UpdateAccessPolicyCommandInput);
32
+ /**
33
+ * @internal
34
+ */
35
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: OpenSearchServerlessClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateAccessPolicyCommandInput, UpdateAccessPolicyCommandOutput>;
36
+ private serialize;
37
+ private deserialize;
38
+ }
@@ -0,0 +1,38 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { UpdateAccountSettingsRequest, UpdateAccountSettingsResponse } from "../models/models_0";
5
+ import { OpenSearchServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchServerlessClient";
6
+ export interface UpdateAccountSettingsCommandInput extends UpdateAccountSettingsRequest {
7
+ }
8
+ export interface UpdateAccountSettingsCommandOutput extends UpdateAccountSettingsResponse, __MetadataBearer {
9
+ }
10
+ /**
11
+ * <p>Update the OpenSearch Serverless settings for the current Amazon Web Services account. For more
12
+ * information, see <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless-overview.html#serverless-scaling">Autoscaling</a>.</p>
13
+ * @example
14
+ * Use a bare-bones client and the command you need to make an API call.
15
+ * ```javascript
16
+ * import { OpenSearchServerlessClient, UpdateAccountSettingsCommand } from "@aws-sdk/client-opensearchserverless"; // ES Modules import
17
+ * // const { OpenSearchServerlessClient, UpdateAccountSettingsCommand } = require("@aws-sdk/client-opensearchserverless"); // CommonJS import
18
+ * const client = new OpenSearchServerlessClient(config);
19
+ * const command = new UpdateAccountSettingsCommand(input);
20
+ * const response = await client.send(command);
21
+ * ```
22
+ *
23
+ * @see {@link UpdateAccountSettingsCommandInput} for command's `input` shape.
24
+ * @see {@link UpdateAccountSettingsCommandOutput} for command's `response` shape.
25
+ * @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape.
26
+ *
27
+ */
28
+ export declare class UpdateAccountSettingsCommand extends $Command<UpdateAccountSettingsCommandInput, UpdateAccountSettingsCommandOutput, OpenSearchServerlessClientResolvedConfig> {
29
+ readonly input: UpdateAccountSettingsCommandInput;
30
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
+ constructor(input: UpdateAccountSettingsCommandInput);
32
+ /**
33
+ * @internal
34
+ */
35
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: OpenSearchServerlessClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateAccountSettingsCommandInput, UpdateAccountSettingsCommandOutput>;
36
+ private serialize;
37
+ private deserialize;
38
+ }
@@ -0,0 +1,37 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { UpdateCollectionRequest, UpdateCollectionResponse } from "../models/models_0";
5
+ import { OpenSearchServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchServerlessClient";
6
+ export interface UpdateCollectionCommandInput extends UpdateCollectionRequest {
7
+ }
8
+ export interface UpdateCollectionCommandOutput extends UpdateCollectionResponse, __MetadataBearer {
9
+ }
10
+ /**
11
+ * <p>Updates an OpenSearch Serverless collection.</p>
12
+ * @example
13
+ * Use a bare-bones client and the command you need to make an API call.
14
+ * ```javascript
15
+ * import { OpenSearchServerlessClient, UpdateCollectionCommand } from "@aws-sdk/client-opensearchserverless"; // ES Modules import
16
+ * // const { OpenSearchServerlessClient, UpdateCollectionCommand } = require("@aws-sdk/client-opensearchserverless"); // CommonJS import
17
+ * const client = new OpenSearchServerlessClient(config);
18
+ * const command = new UpdateCollectionCommand(input);
19
+ * const response = await client.send(command);
20
+ * ```
21
+ *
22
+ * @see {@link UpdateCollectionCommandInput} for command's `input` shape.
23
+ * @see {@link UpdateCollectionCommandOutput} for command's `response` shape.
24
+ * @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape.
25
+ *
26
+ */
27
+ export declare class UpdateCollectionCommand extends $Command<UpdateCollectionCommandInput, UpdateCollectionCommandOutput, OpenSearchServerlessClientResolvedConfig> {
28
+ readonly input: UpdateCollectionCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: UpdateCollectionCommandInput);
31
+ /**
32
+ * @internal
33
+ */
34
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: OpenSearchServerlessClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateCollectionCommandInput, UpdateCollectionCommandOutput>;
35
+ private serialize;
36
+ private deserialize;
37
+ }
@@ -0,0 +1,39 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { UpdateSecurityConfigRequest, UpdateSecurityConfigResponse } from "../models/models_0";
5
+ import { OpenSearchServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchServerlessClient";
6
+ export interface UpdateSecurityConfigCommandInput extends UpdateSecurityConfigRequest {
7
+ }
8
+ export interface UpdateSecurityConfigCommandOutput extends UpdateSecurityConfigResponse, __MetadataBearer {
9
+ }
10
+ /**
11
+ * <p>Updates a security configuration for OpenSearch Serverless. For more information, see
12
+ * <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless-saml.html">SAML
13
+ * authentication for Amazon OpenSearch Serverless</a>.</p>
14
+ * @example
15
+ * Use a bare-bones client and the command you need to make an API call.
16
+ * ```javascript
17
+ * import { OpenSearchServerlessClient, UpdateSecurityConfigCommand } from "@aws-sdk/client-opensearchserverless"; // ES Modules import
18
+ * // const { OpenSearchServerlessClient, UpdateSecurityConfigCommand } = require("@aws-sdk/client-opensearchserverless"); // CommonJS import
19
+ * const client = new OpenSearchServerlessClient(config);
20
+ * const command = new UpdateSecurityConfigCommand(input);
21
+ * const response = await client.send(command);
22
+ * ```
23
+ *
24
+ * @see {@link UpdateSecurityConfigCommandInput} for command's `input` shape.
25
+ * @see {@link UpdateSecurityConfigCommandOutput} for command's `response` shape.
26
+ * @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape.
27
+ *
28
+ */
29
+ export declare class UpdateSecurityConfigCommand extends $Command<UpdateSecurityConfigCommandInput, UpdateSecurityConfigCommandOutput, OpenSearchServerlessClientResolvedConfig> {
30
+ readonly input: UpdateSecurityConfigCommandInput;
31
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
32
+ constructor(input: UpdateSecurityConfigCommandInput);
33
+ /**
34
+ * @internal
35
+ */
36
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: OpenSearchServerlessClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateSecurityConfigCommandInput, UpdateSecurityConfigCommandOutput>;
37
+ private serialize;
38
+ private deserialize;
39
+ }
@@ -0,0 +1,39 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { UpdateSecurityPolicyRequest, UpdateSecurityPolicyResponse } from "../models/models_0";
5
+ import { OpenSearchServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchServerlessClient";
6
+ export interface UpdateSecurityPolicyCommandInput extends UpdateSecurityPolicyRequest {
7
+ }
8
+ export interface UpdateSecurityPolicyCommandOutput extends UpdateSecurityPolicyResponse, __MetadataBearer {
9
+ }
10
+ /**
11
+ * <p>Updates an OpenSearch Serverless security policy. For more information, see <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless-network.html">Network access
12
+ * for Amazon OpenSearch Serverless</a> and <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless-encryption.html">Encryption at
13
+ * rest for Amazon OpenSearch Serverless</a>.</p>
14
+ * @example
15
+ * Use a bare-bones client and the command you need to make an API call.
16
+ * ```javascript
17
+ * import { OpenSearchServerlessClient, UpdateSecurityPolicyCommand } from "@aws-sdk/client-opensearchserverless"; // ES Modules import
18
+ * // const { OpenSearchServerlessClient, UpdateSecurityPolicyCommand } = require("@aws-sdk/client-opensearchserverless"); // CommonJS import
19
+ * const client = new OpenSearchServerlessClient(config);
20
+ * const command = new UpdateSecurityPolicyCommand(input);
21
+ * const response = await client.send(command);
22
+ * ```
23
+ *
24
+ * @see {@link UpdateSecurityPolicyCommandInput} for command's `input` shape.
25
+ * @see {@link UpdateSecurityPolicyCommandOutput} for command's `response` shape.
26
+ * @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape.
27
+ *
28
+ */
29
+ export declare class UpdateSecurityPolicyCommand extends $Command<UpdateSecurityPolicyCommandInput, UpdateSecurityPolicyCommandOutput, OpenSearchServerlessClientResolvedConfig> {
30
+ readonly input: UpdateSecurityPolicyCommandInput;
31
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
32
+ constructor(input: UpdateSecurityPolicyCommandInput);
33
+ /**
34
+ * @internal
35
+ */
36
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: OpenSearchServerlessClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateSecurityPolicyCommandInput, UpdateSecurityPolicyCommandOutput>;
37
+ private serialize;
38
+ private deserialize;
39
+ }
@@ -0,0 +1,38 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { UpdateVpcEndpointRequest, UpdateVpcEndpointResponse } from "../models/models_0";
5
+ import { OpenSearchServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchServerlessClient";
6
+ export interface UpdateVpcEndpointCommandInput extends UpdateVpcEndpointRequest {
7
+ }
8
+ export interface UpdateVpcEndpointCommandOutput extends UpdateVpcEndpointResponse, __MetadataBearer {
9
+ }
10
+ /**
11
+ * <p>Updates an OpenSearch Serverless-managed interface endpoint. For more information, see
12
+ * <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless-vpc.html">Access Amazon OpenSearch Serverless using an interface endpoint</a>.</p>
13
+ * @example
14
+ * Use a bare-bones client and the command you need to make an API call.
15
+ * ```javascript
16
+ * import { OpenSearchServerlessClient, UpdateVpcEndpointCommand } from "@aws-sdk/client-opensearchserverless"; // ES Modules import
17
+ * // const { OpenSearchServerlessClient, UpdateVpcEndpointCommand } = require("@aws-sdk/client-opensearchserverless"); // CommonJS import
18
+ * const client = new OpenSearchServerlessClient(config);
19
+ * const command = new UpdateVpcEndpointCommand(input);
20
+ * const response = await client.send(command);
21
+ * ```
22
+ *
23
+ * @see {@link UpdateVpcEndpointCommandInput} for command's `input` shape.
24
+ * @see {@link UpdateVpcEndpointCommandOutput} for command's `response` shape.
25
+ * @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape.
26
+ *
27
+ */
28
+ export declare class UpdateVpcEndpointCommand extends $Command<UpdateVpcEndpointCommandInput, UpdateVpcEndpointCommandOutput, OpenSearchServerlessClientResolvedConfig> {
29
+ readonly input: UpdateVpcEndpointCommandInput;
30
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
+ constructor(input: UpdateVpcEndpointCommandInput);
32
+ /**
33
+ * @internal
34
+ */
35
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: OpenSearchServerlessClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateVpcEndpointCommandInput, UpdateVpcEndpointCommandOutput>;
36
+ private serialize;
37
+ private deserialize;
38
+ }
@@ -0,0 +1,31 @@
1
+ export * from "./BatchGetCollectionCommand";
2
+ export * from "./BatchGetVpcEndpointCommand";
3
+ export * from "./CreateAccessPolicyCommand";
4
+ export * from "./CreateCollectionCommand";
5
+ export * from "./CreateSecurityConfigCommand";
6
+ export * from "./CreateSecurityPolicyCommand";
7
+ export * from "./CreateVpcEndpointCommand";
8
+ export * from "./DeleteAccessPolicyCommand";
9
+ export * from "./DeleteCollectionCommand";
10
+ export * from "./DeleteSecurityConfigCommand";
11
+ export * from "./DeleteSecurityPolicyCommand";
12
+ export * from "./DeleteVpcEndpointCommand";
13
+ export * from "./GetAccessPolicyCommand";
14
+ export * from "./GetAccountSettingsCommand";
15
+ export * from "./GetPoliciesStatsCommand";
16
+ export * from "./GetSecurityConfigCommand";
17
+ export * from "./GetSecurityPolicyCommand";
18
+ export * from "./ListAccessPoliciesCommand";
19
+ export * from "./ListCollectionsCommand";
20
+ export * from "./ListSecurityConfigsCommand";
21
+ export * from "./ListSecurityPoliciesCommand";
22
+ export * from "./ListTagsForResourceCommand";
23
+ export * from "./ListVpcEndpointsCommand";
24
+ export * from "./TagResourceCommand";
25
+ export * from "./UntagResourceCommand";
26
+ export * from "./UpdateAccessPolicyCommand";
27
+ export * from "./UpdateAccountSettingsCommand";
28
+ export * from "./UpdateCollectionCommand";
29
+ export * from "./UpdateSecurityConfigCommand";
30
+ export * from "./UpdateSecurityPolicyCommand";
31
+ export * from "./UpdateVpcEndpointCommand";