@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.
- package/LICENSE +201 -0
- package/README.md +214 -0
- package/dist-cjs/OpenSearchServerless.js +472 -0
- package/dist-cjs/OpenSearchServerlessClient.js +40 -0
- package/dist-cjs/commands/BatchGetCollectionCommand.js +46 -0
- package/dist-cjs/commands/BatchGetVpcEndpointCommand.js +46 -0
- package/dist-cjs/commands/CreateAccessPolicyCommand.js +46 -0
- package/dist-cjs/commands/CreateCollectionCommand.js +46 -0
- package/dist-cjs/commands/CreateSecurityConfigCommand.js +46 -0
- package/dist-cjs/commands/CreateSecurityPolicyCommand.js +46 -0
- package/dist-cjs/commands/CreateVpcEndpointCommand.js +46 -0
- package/dist-cjs/commands/DeleteAccessPolicyCommand.js +46 -0
- package/dist-cjs/commands/DeleteCollectionCommand.js +46 -0
- package/dist-cjs/commands/DeleteSecurityConfigCommand.js +46 -0
- package/dist-cjs/commands/DeleteSecurityPolicyCommand.js +46 -0
- package/dist-cjs/commands/DeleteVpcEndpointCommand.js +46 -0
- package/dist-cjs/commands/GetAccessPolicyCommand.js +46 -0
- package/dist-cjs/commands/GetAccountSettingsCommand.js +46 -0
- package/dist-cjs/commands/GetPoliciesStatsCommand.js +46 -0
- package/dist-cjs/commands/GetSecurityConfigCommand.js +46 -0
- package/dist-cjs/commands/GetSecurityPolicyCommand.js +46 -0
- package/dist-cjs/commands/ListAccessPoliciesCommand.js +46 -0
- package/dist-cjs/commands/ListCollectionsCommand.js +46 -0
- package/dist-cjs/commands/ListSecurityConfigsCommand.js +46 -0
- package/dist-cjs/commands/ListSecurityPoliciesCommand.js +46 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +46 -0
- package/dist-cjs/commands/ListVpcEndpointsCommand.js +46 -0
- package/dist-cjs/commands/TagResourceCommand.js +46 -0
- package/dist-cjs/commands/UntagResourceCommand.js +46 -0
- package/dist-cjs/commands/UpdateAccessPolicyCommand.js +46 -0
- package/dist-cjs/commands/UpdateAccountSettingsCommand.js +46 -0
- package/dist-cjs/commands/UpdateCollectionCommand.js +46 -0
- package/dist-cjs/commands/UpdateSecurityConfigCommand.js +46 -0
- package/dist-cjs/commands/UpdateSecurityPolicyCommand.js +46 -0
- package/dist-cjs/commands/UpdateVpcEndpointCommand.js +46 -0
- package/dist-cjs/commands/index.js +34 -0
- package/dist-cjs/endpoint/EndpointParameters.js +12 -0
- package/dist-cjs/endpoint/endpointResolver.js +12 -0
- package/dist-cjs/endpoint/ruleset.js +312 -0
- package/dist-cjs/index.js +11 -0
- package/dist-cjs/models/OpenSearchServerlessServiceException.js +11 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +445 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListAccessPoliciesPaginator.js +35 -0
- package/dist-cjs/pagination/ListCollectionsPaginator.js +35 -0
- package/dist-cjs/pagination/ListSecurityConfigsPaginator.js +35 -0
- package/dist-cjs/pagination/ListSecurityPoliciesPaginator.js +35 -0
- package/dist-cjs/pagination/ListVpcEndpointsPaginator.js +35 -0
- package/dist-cjs/pagination/index.js +9 -0
- package/dist-cjs/protocols/Aws_json1_0.js +2572 -0
- package/dist-cjs/runtimeConfig.browser.js +42 -0
- package/dist-cjs/runtimeConfig.js +50 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +18 -0
- package/dist-es/OpenSearchServerless.js +468 -0
- package/dist-es/OpenSearchServerlessClient.js +36 -0
- package/dist-es/commands/BatchGetCollectionCommand.js +42 -0
- package/dist-es/commands/BatchGetVpcEndpointCommand.js +42 -0
- package/dist-es/commands/CreateAccessPolicyCommand.js +42 -0
- package/dist-es/commands/CreateCollectionCommand.js +42 -0
- package/dist-es/commands/CreateSecurityConfigCommand.js +42 -0
- package/dist-es/commands/CreateSecurityPolicyCommand.js +42 -0
- package/dist-es/commands/CreateVpcEndpointCommand.js +42 -0
- package/dist-es/commands/DeleteAccessPolicyCommand.js +42 -0
- package/dist-es/commands/DeleteCollectionCommand.js +42 -0
- package/dist-es/commands/DeleteSecurityConfigCommand.js +42 -0
- package/dist-es/commands/DeleteSecurityPolicyCommand.js +42 -0
- package/dist-es/commands/DeleteVpcEndpointCommand.js +42 -0
- package/dist-es/commands/GetAccessPolicyCommand.js +42 -0
- package/dist-es/commands/GetAccountSettingsCommand.js +42 -0
- package/dist-es/commands/GetPoliciesStatsCommand.js +42 -0
- package/dist-es/commands/GetSecurityConfigCommand.js +42 -0
- package/dist-es/commands/GetSecurityPolicyCommand.js +42 -0
- package/dist-es/commands/ListAccessPoliciesCommand.js +42 -0
- package/dist-es/commands/ListCollectionsCommand.js +42 -0
- package/dist-es/commands/ListSecurityConfigsCommand.js +42 -0
- package/dist-es/commands/ListSecurityPoliciesCommand.js +42 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +42 -0
- package/dist-es/commands/ListVpcEndpointsCommand.js +42 -0
- package/dist-es/commands/TagResourceCommand.js +42 -0
- package/dist-es/commands/UntagResourceCommand.js +42 -0
- package/dist-es/commands/UpdateAccessPolicyCommand.js +42 -0
- package/dist-es/commands/UpdateAccountSettingsCommand.js +42 -0
- package/dist-es/commands/UpdateCollectionCommand.js +42 -0
- package/dist-es/commands/UpdateSecurityConfigCommand.js +42 -0
- package/dist-es/commands/UpdateSecurityPolicyCommand.js +42 -0
- package/dist-es/commands/UpdateVpcEndpointCommand.js +42 -0
- package/dist-es/commands/index.js +31 -0
- package/dist-es/endpoint/EndpointParameters.js +8 -0
- package/dist-es/endpoint/endpointResolver.js +8 -0
- package/dist-es/endpoint/ruleset.js +309 -0
- package/dist-es/index.js +6 -0
- package/dist-es/models/OpenSearchServerlessServiceException.js +7 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +348 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListAccessPoliciesPaginator.js +31 -0
- package/dist-es/pagination/ListCollectionsPaginator.js +31 -0
- package/dist-es/pagination/ListSecurityConfigsPaginator.js +31 -0
- package/dist-es/pagination/ListSecurityPoliciesPaginator.js +31 -0
- package/dist-es/pagination/ListVpcEndpointsPaginator.js +31 -0
- package/dist-es/pagination/index.js +6 -0
- package/dist-es/protocols/Aws_json1_0.js +2506 -0
- package/dist-es/runtimeConfig.browser.js +37 -0
- package/dist-es/runtimeConfig.js +45 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +14 -0
- package/dist-types/OpenSearchServerless.d.ts +276 -0
- package/dist-types/OpenSearchServerlessClient.d.ts +181 -0
- package/dist-types/commands/BatchGetCollectionCommand.d.ts +39 -0
- package/dist-types/commands/BatchGetVpcEndpointCommand.d.ts +39 -0
- package/dist-types/commands/CreateAccessPolicyCommand.d.ts +40 -0
- package/dist-types/commands/CreateCollectionCommand.d.ts +38 -0
- package/dist-types/commands/CreateSecurityConfigCommand.d.ts +39 -0
- package/dist-types/commands/CreateSecurityPolicyCommand.d.ts +42 -0
- package/dist-types/commands/CreateVpcEndpointCommand.d.ts +38 -0
- package/dist-types/commands/DeleteAccessPolicyCommand.d.ts +38 -0
- package/dist-types/commands/DeleteCollectionCommand.d.ts +38 -0
- package/dist-types/commands/DeleteSecurityConfigCommand.d.ts +39 -0
- package/dist-types/commands/DeleteSecurityPolicyCommand.d.ts +37 -0
- package/dist-types/commands/DeleteVpcEndpointCommand.d.ts +38 -0
- package/dist-types/commands/GetAccessPolicyCommand.d.ts +38 -0
- package/dist-types/commands/GetAccountSettingsCommand.d.ts +37 -0
- package/dist-types/commands/GetPoliciesStatsCommand.d.ts +38 -0
- package/dist-types/commands/GetSecurityConfigCommand.d.ts +39 -0
- package/dist-types/commands/GetSecurityPolicyCommand.d.ts +39 -0
- package/dist-types/commands/ListAccessPoliciesCommand.d.ts +37 -0
- package/dist-types/commands/ListCollectionsCommand.d.ts +42 -0
- package/dist-types/commands/ListSecurityConfigsCommand.d.ts +39 -0
- package/dist-types/commands/ListSecurityPoliciesCommand.d.ts +37 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +37 -0
- package/dist-types/commands/ListVpcEndpointsCommand.d.ts +39 -0
- package/dist-types/commands/TagResourceCommand.d.ts +37 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +37 -0
- package/dist-types/commands/UpdateAccessPolicyCommand.d.ts +38 -0
- package/dist-types/commands/UpdateAccountSettingsCommand.d.ts +38 -0
- package/dist-types/commands/UpdateCollectionCommand.d.ts +37 -0
- package/dist-types/commands/UpdateSecurityConfigCommand.d.ts +39 -0
- package/dist-types/commands/UpdateSecurityPolicyCommand.d.ts +39 -0
- package/dist-types/commands/UpdateVpcEndpointCommand.d.ts +38 -0
- package/dist-types/commands/index.d.ts +31 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/index.d.ts +6 -0
- package/dist-types/models/OpenSearchServerlessServiceException.d.ts +10 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +1802 -0
- package/dist-types/pagination/Interfaces.d.ts +6 -0
- package/dist-types/pagination/ListAccessPoliciesPaginator.d.ts +4 -0
- package/dist-types/pagination/ListCollectionsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListSecurityConfigsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListSecurityPoliciesPaginator.d.ts +4 -0
- package/dist-types/pagination/ListVpcEndpointsPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +6 -0
- package/dist-types/protocols/Aws_json1_0.d.ts +95 -0
- package/dist-types/runtimeConfig.browser.d.ts +42 -0
- package/dist-types/runtimeConfig.d.ts +42 -0
- package/dist-types/runtimeConfig.native.d.ts +41 -0
- package/dist-types/runtimeConfig.shared.d.ts +16 -0
- package/dist-types/ts3.4/OpenSearchServerless.d.ts +531 -0
- package/dist-types/ts3.4/OpenSearchServerlessClient.d.ts +298 -0
- package/dist-types/ts3.4/commands/BatchGetCollectionCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/BatchGetVpcEndpointCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/CreateAccessPolicyCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/CreateCollectionCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/CreateSecurityConfigCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/CreateSecurityPolicyCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/CreateVpcEndpointCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteAccessPolicyCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteCollectionCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/DeleteSecurityConfigCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/DeleteSecurityPolicyCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/DeleteVpcEndpointCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetAccessPolicyCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/GetAccountSettingsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetPoliciesStatsCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/GetSecurityConfigCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetSecurityPolicyCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListAccessPoliciesCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListCollectionsCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/ListSecurityConfigsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListSecurityPoliciesCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListVpcEndpointsCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/UpdateAccessPolicyCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateAccountSettingsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/UpdateCollectionCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/UpdateSecurityConfigCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/UpdateSecurityPolicyCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/UpdateVpcEndpointCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/index.d.ts +31 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +34 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +6 -0
- package/dist-types/ts3.4/models/OpenSearchServerlessServiceException.d.ts +7 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +740 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +7 -0
- package/dist-types/ts3.4/pagination/ListAccessPoliciesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListCollectionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListSecurityConfigsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListSecurityPoliciesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListVpcEndpointsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +6 -0
- package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +377 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +90 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +90 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +79 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +18 -0
- 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 { BatchGetVpcEndpointRequest, BatchGetVpcEndpointResponse } from "../models/models_0";
|
|
5
|
+
import { OpenSearchServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchServerlessClient";
|
|
6
|
+
export interface BatchGetVpcEndpointCommandInput extends BatchGetVpcEndpointRequest {
|
|
7
|
+
}
|
|
8
|
+
export interface BatchGetVpcEndpointCommandOutput extends BatchGetVpcEndpointResponse, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Returns attributes for one or more VPC endpoints associated with the current account.
|
|
12
|
+
* 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, BatchGetVpcEndpointCommand } from "@aws-sdk/client-opensearchserverless"; // ES Modules import
|
|
18
|
+
* // const { OpenSearchServerlessClient, BatchGetVpcEndpointCommand } = require("@aws-sdk/client-opensearchserverless"); // CommonJS import
|
|
19
|
+
* const client = new OpenSearchServerlessClient(config);
|
|
20
|
+
* const command = new BatchGetVpcEndpointCommand(input);
|
|
21
|
+
* const response = await client.send(command);
|
|
22
|
+
* ```
|
|
23
|
+
*
|
|
24
|
+
* @see {@link BatchGetVpcEndpointCommandInput} for command's `input` shape.
|
|
25
|
+
* @see {@link BatchGetVpcEndpointCommandOutput} for command's `response` shape.
|
|
26
|
+
* @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape.
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
export declare class BatchGetVpcEndpointCommand extends $Command<BatchGetVpcEndpointCommandInput, BatchGetVpcEndpointCommandOutput, OpenSearchServerlessClientResolvedConfig> {
|
|
30
|
+
readonly input: BatchGetVpcEndpointCommandInput;
|
|
31
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
32
|
+
constructor(input: BatchGetVpcEndpointCommandInput);
|
|
33
|
+
/**
|
|
34
|
+
* @internal
|
|
35
|
+
*/
|
|
36
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: OpenSearchServerlessClientResolvedConfig, options?: __HttpHandlerOptions): Handler<BatchGetVpcEndpointCommandInput, BatchGetVpcEndpointCommandOutput>;
|
|
37
|
+
private serialize;
|
|
38
|
+
private deserialize;
|
|
39
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
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 { CreateAccessPolicyRequest, CreateAccessPolicyResponse } from "../models/models_0";
|
|
5
|
+
import { OpenSearchServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchServerlessClient";
|
|
6
|
+
export interface CreateAccessPolicyCommandInput extends CreateAccessPolicyRequest {
|
|
7
|
+
}
|
|
8
|
+
export interface CreateAccessPolicyCommandOutput extends CreateAccessPolicyResponse, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Creates a data access policy for OpenSearch Serverless. Access policies limit access to collections
|
|
12
|
+
* and the resources within them, and allow a user to access that data irrespective of the
|
|
13
|
+
* access mechanism or network source. For more information, see <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless-data-access.html">Data access
|
|
14
|
+
* control for Amazon OpenSearch Serverless</a>.</p>
|
|
15
|
+
* @example
|
|
16
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
17
|
+
* ```javascript
|
|
18
|
+
* import { OpenSearchServerlessClient, CreateAccessPolicyCommand } from "@aws-sdk/client-opensearchserverless"; // ES Modules import
|
|
19
|
+
* // const { OpenSearchServerlessClient, CreateAccessPolicyCommand } = require("@aws-sdk/client-opensearchserverless"); // CommonJS import
|
|
20
|
+
* const client = new OpenSearchServerlessClient(config);
|
|
21
|
+
* const command = new CreateAccessPolicyCommand(input);
|
|
22
|
+
* const response = await client.send(command);
|
|
23
|
+
* ```
|
|
24
|
+
*
|
|
25
|
+
* @see {@link CreateAccessPolicyCommandInput} for command's `input` shape.
|
|
26
|
+
* @see {@link CreateAccessPolicyCommandOutput} for command's `response` shape.
|
|
27
|
+
* @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape.
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
30
|
+
export declare class CreateAccessPolicyCommand extends $Command<CreateAccessPolicyCommandInput, CreateAccessPolicyCommandOutput, OpenSearchServerlessClientResolvedConfig> {
|
|
31
|
+
readonly input: CreateAccessPolicyCommandInput;
|
|
32
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
33
|
+
constructor(input: CreateAccessPolicyCommandInput);
|
|
34
|
+
/**
|
|
35
|
+
* @internal
|
|
36
|
+
*/
|
|
37
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: OpenSearchServerlessClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateAccessPolicyCommandInput, CreateAccessPolicyCommandOutput>;
|
|
38
|
+
private serialize;
|
|
39
|
+
private deserialize;
|
|
40
|
+
}
|
|
@@ -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 { CreateCollectionRequest, CreateCollectionResponse } from "../models/models_0";
|
|
5
|
+
import { OpenSearchServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchServerlessClient";
|
|
6
|
+
export interface CreateCollectionCommandInput extends CreateCollectionRequest {
|
|
7
|
+
}
|
|
8
|
+
export interface CreateCollectionCommandOutput extends CreateCollectionResponse, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Creates a new OpenSearch Serverless collection. 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
|
+
* @example
|
|
14
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
+
* ```javascript
|
|
16
|
+
* import { OpenSearchServerlessClient, CreateCollectionCommand } from "@aws-sdk/client-opensearchserverless"; // ES Modules import
|
|
17
|
+
* // const { OpenSearchServerlessClient, CreateCollectionCommand } = require("@aws-sdk/client-opensearchserverless"); // CommonJS import
|
|
18
|
+
* const client = new OpenSearchServerlessClient(config);
|
|
19
|
+
* const command = new CreateCollectionCommand(input);
|
|
20
|
+
* const response = await client.send(command);
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* @see {@link CreateCollectionCommandInput} for command's `input` shape.
|
|
24
|
+
* @see {@link CreateCollectionCommandOutput} for command's `response` shape.
|
|
25
|
+
* @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape.
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
export declare class CreateCollectionCommand extends $Command<CreateCollectionCommandInput, CreateCollectionCommandOutput, OpenSearchServerlessClientResolvedConfig> {
|
|
29
|
+
readonly input: CreateCollectionCommandInput;
|
|
30
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
31
|
+
constructor(input: CreateCollectionCommandInput);
|
|
32
|
+
/**
|
|
33
|
+
* @internal
|
|
34
|
+
*/
|
|
35
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: OpenSearchServerlessClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateCollectionCommandInput, CreateCollectionCommandOutput>;
|
|
36
|
+
private serialize;
|
|
37
|
+
private deserialize;
|
|
38
|
+
}
|
|
@@ -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 { CreateSecurityConfigRequest, CreateSecurityConfigResponse } from "../models/models_0";
|
|
5
|
+
import { OpenSearchServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchServerlessClient";
|
|
6
|
+
export interface CreateSecurityConfigCommandInput extends CreateSecurityConfigRequest {
|
|
7
|
+
}
|
|
8
|
+
export interface CreateSecurityConfigCommandOutput extends CreateSecurityConfigResponse, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Specifies 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, CreateSecurityConfigCommand } from "@aws-sdk/client-opensearchserverless"; // ES Modules import
|
|
18
|
+
* // const { OpenSearchServerlessClient, CreateSecurityConfigCommand } = require("@aws-sdk/client-opensearchserverless"); // CommonJS import
|
|
19
|
+
* const client = new OpenSearchServerlessClient(config);
|
|
20
|
+
* const command = new CreateSecurityConfigCommand(input);
|
|
21
|
+
* const response = await client.send(command);
|
|
22
|
+
* ```
|
|
23
|
+
*
|
|
24
|
+
* @see {@link CreateSecurityConfigCommandInput} for command's `input` shape.
|
|
25
|
+
* @see {@link CreateSecurityConfigCommandOutput} for command's `response` shape.
|
|
26
|
+
* @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape.
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
export declare class CreateSecurityConfigCommand extends $Command<CreateSecurityConfigCommandInput, CreateSecurityConfigCommandOutput, OpenSearchServerlessClientResolvedConfig> {
|
|
30
|
+
readonly input: CreateSecurityConfigCommandInput;
|
|
31
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
32
|
+
constructor(input: CreateSecurityConfigCommandInput);
|
|
33
|
+
/**
|
|
34
|
+
* @internal
|
|
35
|
+
*/
|
|
36
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: OpenSearchServerlessClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateSecurityConfigCommandInput, CreateSecurityConfigCommandOutput>;
|
|
37
|
+
private serialize;
|
|
38
|
+
private deserialize;
|
|
39
|
+
}
|
|
@@ -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 { CreateSecurityPolicyRequest, CreateSecurityPolicyResponse } from "../models/models_0";
|
|
5
|
+
import { OpenSearchServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchServerlessClient";
|
|
6
|
+
export interface CreateSecurityPolicyCommandInput extends CreateSecurityPolicyRequest {
|
|
7
|
+
}
|
|
8
|
+
export interface CreateSecurityPolicyCommandOutput extends CreateSecurityPolicyResponse, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Creates a security policy to be used by one or more OpenSearch Serverless collections. Security
|
|
12
|
+
* policies provide access to a collection and its OpenSearch Dashboards endpoint from
|
|
13
|
+
* public networks or specific VPC endpoints. They also allow you to secure a collection
|
|
14
|
+
* with a KMS encryption key. For more information, see <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless-network.html">Network access
|
|
15
|
+
* for Amazon OpenSearch Serverless</a> and <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless-encryption.html">Encryption at
|
|
16
|
+
* rest for Amazon OpenSearch Serverless</a>.</p>
|
|
17
|
+
* @example
|
|
18
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
19
|
+
* ```javascript
|
|
20
|
+
* import { OpenSearchServerlessClient, CreateSecurityPolicyCommand } from "@aws-sdk/client-opensearchserverless"; // ES Modules import
|
|
21
|
+
* // const { OpenSearchServerlessClient, CreateSecurityPolicyCommand } = require("@aws-sdk/client-opensearchserverless"); // CommonJS import
|
|
22
|
+
* const client = new OpenSearchServerlessClient(config);
|
|
23
|
+
* const command = new CreateSecurityPolicyCommand(input);
|
|
24
|
+
* const response = await client.send(command);
|
|
25
|
+
* ```
|
|
26
|
+
*
|
|
27
|
+
* @see {@link CreateSecurityPolicyCommandInput} for command's `input` shape.
|
|
28
|
+
* @see {@link CreateSecurityPolicyCommandOutput} for command's `response` shape.
|
|
29
|
+
* @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape.
|
|
30
|
+
*
|
|
31
|
+
*/
|
|
32
|
+
export declare class CreateSecurityPolicyCommand extends $Command<CreateSecurityPolicyCommandInput, CreateSecurityPolicyCommandOutput, OpenSearchServerlessClientResolvedConfig> {
|
|
33
|
+
readonly input: CreateSecurityPolicyCommandInput;
|
|
34
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
35
|
+
constructor(input: CreateSecurityPolicyCommandInput);
|
|
36
|
+
/**
|
|
37
|
+
* @internal
|
|
38
|
+
*/
|
|
39
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: OpenSearchServerlessClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateSecurityPolicyCommandInput, CreateSecurityPolicyCommandOutput>;
|
|
40
|
+
private serialize;
|
|
41
|
+
private deserialize;
|
|
42
|
+
}
|
|
@@ -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 { CreateVpcEndpointRequest, CreateVpcEndpointResponse } from "../models/models_0";
|
|
5
|
+
import { OpenSearchServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchServerlessClient";
|
|
6
|
+
export interface CreateVpcEndpointCommandInput extends CreateVpcEndpointRequest {
|
|
7
|
+
}
|
|
8
|
+
export interface CreateVpcEndpointCommandOutput extends CreateVpcEndpointResponse, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Creates an OpenSearch Serverless-managed interface VPC endpoint. For more information, see <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless-vpc.html">Access
|
|
12
|
+
* 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, CreateVpcEndpointCommand } from "@aws-sdk/client-opensearchserverless"; // ES Modules import
|
|
17
|
+
* // const { OpenSearchServerlessClient, CreateVpcEndpointCommand } = require("@aws-sdk/client-opensearchserverless"); // CommonJS import
|
|
18
|
+
* const client = new OpenSearchServerlessClient(config);
|
|
19
|
+
* const command = new CreateVpcEndpointCommand(input);
|
|
20
|
+
* const response = await client.send(command);
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* @see {@link CreateVpcEndpointCommandInput} for command's `input` shape.
|
|
24
|
+
* @see {@link CreateVpcEndpointCommandOutput} for command's `response` shape.
|
|
25
|
+
* @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape.
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
export declare class CreateVpcEndpointCommand extends $Command<CreateVpcEndpointCommandInput, CreateVpcEndpointCommandOutput, OpenSearchServerlessClientResolvedConfig> {
|
|
29
|
+
readonly input: CreateVpcEndpointCommandInput;
|
|
30
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
31
|
+
constructor(input: CreateVpcEndpointCommandInput);
|
|
32
|
+
/**
|
|
33
|
+
* @internal
|
|
34
|
+
*/
|
|
35
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: OpenSearchServerlessClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateVpcEndpointCommandInput, CreateVpcEndpointCommandOutput>;
|
|
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 { DeleteAccessPolicyRequest, DeleteAccessPolicyResponse } from "../models/models_0";
|
|
5
|
+
import { OpenSearchServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchServerlessClient";
|
|
6
|
+
export interface DeleteAccessPolicyCommandInput extends DeleteAccessPolicyRequest {
|
|
7
|
+
}
|
|
8
|
+
export interface DeleteAccessPolicyCommandOutput extends DeleteAccessPolicyResponse, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Deletes 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, DeleteAccessPolicyCommand } from "@aws-sdk/client-opensearchserverless"; // ES Modules import
|
|
17
|
+
* // const { OpenSearchServerlessClient, DeleteAccessPolicyCommand } = require("@aws-sdk/client-opensearchserverless"); // CommonJS import
|
|
18
|
+
* const client = new OpenSearchServerlessClient(config);
|
|
19
|
+
* const command = new DeleteAccessPolicyCommand(input);
|
|
20
|
+
* const response = await client.send(command);
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* @see {@link DeleteAccessPolicyCommandInput} for command's `input` shape.
|
|
24
|
+
* @see {@link DeleteAccessPolicyCommandOutput} for command's `response` shape.
|
|
25
|
+
* @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape.
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
export declare class DeleteAccessPolicyCommand extends $Command<DeleteAccessPolicyCommandInput, DeleteAccessPolicyCommandOutput, OpenSearchServerlessClientResolvedConfig> {
|
|
29
|
+
readonly input: DeleteAccessPolicyCommandInput;
|
|
30
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
31
|
+
constructor(input: DeleteAccessPolicyCommandInput);
|
|
32
|
+
/**
|
|
33
|
+
* @internal
|
|
34
|
+
*/
|
|
35
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: OpenSearchServerlessClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteAccessPolicyCommandInput, DeleteAccessPolicyCommandOutput>;
|
|
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 { DeleteCollectionRequest, DeleteCollectionResponse } from "../models/models_0";
|
|
5
|
+
import { OpenSearchServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchServerlessClient";
|
|
6
|
+
export interface DeleteCollectionCommandInput extends DeleteCollectionRequest {
|
|
7
|
+
}
|
|
8
|
+
export interface DeleteCollectionCommandOutput extends DeleteCollectionResponse, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Deletes an OpenSearch Serverless collection. 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
|
+
* @example
|
|
14
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
+
* ```javascript
|
|
16
|
+
* import { OpenSearchServerlessClient, DeleteCollectionCommand } from "@aws-sdk/client-opensearchserverless"; // ES Modules import
|
|
17
|
+
* // const { OpenSearchServerlessClient, DeleteCollectionCommand } = require("@aws-sdk/client-opensearchserverless"); // CommonJS import
|
|
18
|
+
* const client = new OpenSearchServerlessClient(config);
|
|
19
|
+
* const command = new DeleteCollectionCommand(input);
|
|
20
|
+
* const response = await client.send(command);
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* @see {@link DeleteCollectionCommandInput} for command's `input` shape.
|
|
24
|
+
* @see {@link DeleteCollectionCommandOutput} for command's `response` shape.
|
|
25
|
+
* @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape.
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
export declare class DeleteCollectionCommand extends $Command<DeleteCollectionCommandInput, DeleteCollectionCommandOutput, OpenSearchServerlessClientResolvedConfig> {
|
|
29
|
+
readonly input: DeleteCollectionCommandInput;
|
|
30
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
31
|
+
constructor(input: DeleteCollectionCommandInput);
|
|
32
|
+
/**
|
|
33
|
+
* @internal
|
|
34
|
+
*/
|
|
35
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: OpenSearchServerlessClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteCollectionCommandInput, DeleteCollectionCommandOutput>;
|
|
36
|
+
private serialize;
|
|
37
|
+
private deserialize;
|
|
38
|
+
}
|
|
@@ -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 { DeleteSecurityConfigRequest, DeleteSecurityConfigResponse } from "../models/models_0";
|
|
5
|
+
import { OpenSearchServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchServerlessClient";
|
|
6
|
+
export interface DeleteSecurityConfigCommandInput extends DeleteSecurityConfigRequest {
|
|
7
|
+
}
|
|
8
|
+
export interface DeleteSecurityConfigCommandOutput extends DeleteSecurityConfigResponse, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Deletes 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, DeleteSecurityConfigCommand } from "@aws-sdk/client-opensearchserverless"; // ES Modules import
|
|
18
|
+
* // const { OpenSearchServerlessClient, DeleteSecurityConfigCommand } = require("@aws-sdk/client-opensearchserverless"); // CommonJS import
|
|
19
|
+
* const client = new OpenSearchServerlessClient(config);
|
|
20
|
+
* const command = new DeleteSecurityConfigCommand(input);
|
|
21
|
+
* const response = await client.send(command);
|
|
22
|
+
* ```
|
|
23
|
+
*
|
|
24
|
+
* @see {@link DeleteSecurityConfigCommandInput} for command's `input` shape.
|
|
25
|
+
* @see {@link DeleteSecurityConfigCommandOutput} for command's `response` shape.
|
|
26
|
+
* @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape.
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
export declare class DeleteSecurityConfigCommand extends $Command<DeleteSecurityConfigCommandInput, DeleteSecurityConfigCommandOutput, OpenSearchServerlessClientResolvedConfig> {
|
|
30
|
+
readonly input: DeleteSecurityConfigCommandInput;
|
|
31
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
32
|
+
constructor(input: DeleteSecurityConfigCommandInput);
|
|
33
|
+
/**
|
|
34
|
+
* @internal
|
|
35
|
+
*/
|
|
36
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: OpenSearchServerlessClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteSecurityConfigCommandInput, DeleteSecurityConfigCommandOutput>;
|
|
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 { DeleteSecurityPolicyRequest, DeleteSecurityPolicyResponse } from "../models/models_0";
|
|
5
|
+
import { OpenSearchServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchServerlessClient";
|
|
6
|
+
export interface DeleteSecurityPolicyCommandInput extends DeleteSecurityPolicyRequest {
|
|
7
|
+
}
|
|
8
|
+
export interface DeleteSecurityPolicyCommandOutput extends DeleteSecurityPolicyResponse, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Deletes an OpenSearch Serverless security policy.</p>
|
|
12
|
+
* @example
|
|
13
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
+
* ```javascript
|
|
15
|
+
* import { OpenSearchServerlessClient, DeleteSecurityPolicyCommand } from "@aws-sdk/client-opensearchserverless"; // ES Modules import
|
|
16
|
+
* // const { OpenSearchServerlessClient, DeleteSecurityPolicyCommand } = require("@aws-sdk/client-opensearchserverless"); // CommonJS import
|
|
17
|
+
* const client = new OpenSearchServerlessClient(config);
|
|
18
|
+
* const command = new DeleteSecurityPolicyCommand(input);
|
|
19
|
+
* const response = await client.send(command);
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @see {@link DeleteSecurityPolicyCommandInput} for command's `input` shape.
|
|
23
|
+
* @see {@link DeleteSecurityPolicyCommandOutput} for command's `response` shape.
|
|
24
|
+
* @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export declare class DeleteSecurityPolicyCommand extends $Command<DeleteSecurityPolicyCommandInput, DeleteSecurityPolicyCommandOutput, OpenSearchServerlessClientResolvedConfig> {
|
|
28
|
+
readonly input: DeleteSecurityPolicyCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: DeleteSecurityPolicyCommandInput);
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: OpenSearchServerlessClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteSecurityPolicyCommandInput, DeleteSecurityPolicyCommandOutput>;
|
|
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 { DeleteVpcEndpointRequest, DeleteVpcEndpointResponse } from "../models/models_0";
|
|
5
|
+
import { OpenSearchServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchServerlessClient";
|
|
6
|
+
export interface DeleteVpcEndpointCommandInput extends DeleteVpcEndpointRequest {
|
|
7
|
+
}
|
|
8
|
+
export interface DeleteVpcEndpointCommandOutput extends DeleteVpcEndpointResponse, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Deletes 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, DeleteVpcEndpointCommand } from "@aws-sdk/client-opensearchserverless"; // ES Modules import
|
|
17
|
+
* // const { OpenSearchServerlessClient, DeleteVpcEndpointCommand } = require("@aws-sdk/client-opensearchserverless"); // CommonJS import
|
|
18
|
+
* const client = new OpenSearchServerlessClient(config);
|
|
19
|
+
* const command = new DeleteVpcEndpointCommand(input);
|
|
20
|
+
* const response = await client.send(command);
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* @see {@link DeleteVpcEndpointCommandInput} for command's `input` shape.
|
|
24
|
+
* @see {@link DeleteVpcEndpointCommandOutput} for command's `response` shape.
|
|
25
|
+
* @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape.
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
export declare class DeleteVpcEndpointCommand extends $Command<DeleteVpcEndpointCommandInput, DeleteVpcEndpointCommandOutput, OpenSearchServerlessClientResolvedConfig> {
|
|
29
|
+
readonly input: DeleteVpcEndpointCommandInput;
|
|
30
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
31
|
+
constructor(input: DeleteVpcEndpointCommandInput);
|
|
32
|
+
/**
|
|
33
|
+
* @internal
|
|
34
|
+
*/
|
|
35
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: OpenSearchServerlessClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteVpcEndpointCommandInput, DeleteVpcEndpointCommandOutput>;
|
|
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 { GetAccessPolicyRequest, GetAccessPolicyResponse } from "../models/models_0";
|
|
5
|
+
import { OpenSearchServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchServerlessClient";
|
|
6
|
+
export interface GetAccessPolicyCommandInput extends GetAccessPolicyRequest {
|
|
7
|
+
}
|
|
8
|
+
export interface GetAccessPolicyCommandOutput extends GetAccessPolicyResponse, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Returns 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, GetAccessPolicyCommand } from "@aws-sdk/client-opensearchserverless"; // ES Modules import
|
|
17
|
+
* // const { OpenSearchServerlessClient, GetAccessPolicyCommand } = require("@aws-sdk/client-opensearchserverless"); // CommonJS import
|
|
18
|
+
* const client = new OpenSearchServerlessClient(config);
|
|
19
|
+
* const command = new GetAccessPolicyCommand(input);
|
|
20
|
+
* const response = await client.send(command);
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* @see {@link GetAccessPolicyCommandInput} for command's `input` shape.
|
|
24
|
+
* @see {@link GetAccessPolicyCommandOutput} for command's `response` shape.
|
|
25
|
+
* @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape.
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
export declare class GetAccessPolicyCommand extends $Command<GetAccessPolicyCommandInput, GetAccessPolicyCommandOutput, OpenSearchServerlessClientResolvedConfig> {
|
|
29
|
+
readonly input: GetAccessPolicyCommandInput;
|
|
30
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
31
|
+
constructor(input: GetAccessPolicyCommandInput);
|
|
32
|
+
/**
|
|
33
|
+
* @internal
|
|
34
|
+
*/
|
|
35
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: OpenSearchServerlessClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetAccessPolicyCommandInput, GetAccessPolicyCommandOutput>;
|
|
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 { GetAccountSettingsRequest, GetAccountSettingsResponse } from "../models/models_0";
|
|
5
|
+
import { OpenSearchServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchServerlessClient";
|
|
6
|
+
export interface GetAccountSettingsCommandInput extends GetAccountSettingsRequest {
|
|
7
|
+
}
|
|
8
|
+
export interface GetAccountSettingsCommandOutput extends GetAccountSettingsResponse, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Returns account-level settings related to OpenSearch Serverless.</p>
|
|
12
|
+
* @example
|
|
13
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
+
* ```javascript
|
|
15
|
+
* import { OpenSearchServerlessClient, GetAccountSettingsCommand } from "@aws-sdk/client-opensearchserverless"; // ES Modules import
|
|
16
|
+
* // const { OpenSearchServerlessClient, GetAccountSettingsCommand } = require("@aws-sdk/client-opensearchserverless"); // CommonJS import
|
|
17
|
+
* const client = new OpenSearchServerlessClient(config);
|
|
18
|
+
* const command = new GetAccountSettingsCommand(input);
|
|
19
|
+
* const response = await client.send(command);
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @see {@link GetAccountSettingsCommandInput} for command's `input` shape.
|
|
23
|
+
* @see {@link GetAccountSettingsCommandOutput} for command's `response` shape.
|
|
24
|
+
* @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export declare class GetAccountSettingsCommand extends $Command<GetAccountSettingsCommandInput, GetAccountSettingsCommandOutput, OpenSearchServerlessClientResolvedConfig> {
|
|
28
|
+
readonly input: GetAccountSettingsCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: GetAccountSettingsCommandInput);
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: OpenSearchServerlessClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetAccountSettingsCommandInput, GetAccountSettingsCommandOutput>;
|
|
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 { GetPoliciesStatsRequest, GetPoliciesStatsResponse } from "../models/models_0";
|
|
5
|
+
import { OpenSearchServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchServerlessClient";
|
|
6
|
+
export interface GetPoliciesStatsCommandInput extends GetPoliciesStatsRequest {
|
|
7
|
+
}
|
|
8
|
+
export interface GetPoliciesStatsCommandOutput extends GetPoliciesStatsResponse, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Returns statistical information about your OpenSearch Serverless access policies, security
|
|
12
|
+
* configurations, and security policies.</p>
|
|
13
|
+
* @example
|
|
14
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
+
* ```javascript
|
|
16
|
+
* import { OpenSearchServerlessClient, GetPoliciesStatsCommand } from "@aws-sdk/client-opensearchserverless"; // ES Modules import
|
|
17
|
+
* // const { OpenSearchServerlessClient, GetPoliciesStatsCommand } = require("@aws-sdk/client-opensearchserverless"); // CommonJS import
|
|
18
|
+
* const client = new OpenSearchServerlessClient(config);
|
|
19
|
+
* const command = new GetPoliciesStatsCommand(input);
|
|
20
|
+
* const response = await client.send(command);
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* @see {@link GetPoliciesStatsCommandInput} for command's `input` shape.
|
|
24
|
+
* @see {@link GetPoliciesStatsCommandOutput} for command's `response` shape.
|
|
25
|
+
* @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape.
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
export declare class GetPoliciesStatsCommand extends $Command<GetPoliciesStatsCommandInput, GetPoliciesStatsCommandOutput, OpenSearchServerlessClientResolvedConfig> {
|
|
29
|
+
readonly input: GetPoliciesStatsCommandInput;
|
|
30
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
31
|
+
constructor(input: GetPoliciesStatsCommandInput);
|
|
32
|
+
/**
|
|
33
|
+
* @internal
|
|
34
|
+
*/
|
|
35
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: OpenSearchServerlessClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetPoliciesStatsCommandInput, GetPoliciesStatsCommandOutput>;
|
|
36
|
+
private serialize;
|
|
37
|
+
private deserialize;
|
|
38
|
+
}
|
|
@@ -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 { GetSecurityConfigRequest, GetSecurityConfigResponse } from "../models/models_0";
|
|
5
|
+
import { OpenSearchServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchServerlessClient";
|
|
6
|
+
export interface GetSecurityConfigCommandInput extends GetSecurityConfigRequest {
|
|
7
|
+
}
|
|
8
|
+
export interface GetSecurityConfigCommandOutput extends GetSecurityConfigResponse, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Returns information about an OpenSearch Serverless security configuration. 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, GetSecurityConfigCommand } from "@aws-sdk/client-opensearchserverless"; // ES Modules import
|
|
18
|
+
* // const { OpenSearchServerlessClient, GetSecurityConfigCommand } = require("@aws-sdk/client-opensearchserverless"); // CommonJS import
|
|
19
|
+
* const client = new OpenSearchServerlessClient(config);
|
|
20
|
+
* const command = new GetSecurityConfigCommand(input);
|
|
21
|
+
* const response = await client.send(command);
|
|
22
|
+
* ```
|
|
23
|
+
*
|
|
24
|
+
* @see {@link GetSecurityConfigCommandInput} for command's `input` shape.
|
|
25
|
+
* @see {@link GetSecurityConfigCommandOutput} for command's `response` shape.
|
|
26
|
+
* @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape.
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
export declare class GetSecurityConfigCommand extends $Command<GetSecurityConfigCommandInput, GetSecurityConfigCommandOutput, OpenSearchServerlessClientResolvedConfig> {
|
|
30
|
+
readonly input: GetSecurityConfigCommandInput;
|
|
31
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
32
|
+
constructor(input: GetSecurityConfigCommandInput);
|
|
33
|
+
/**
|
|
34
|
+
* @internal
|
|
35
|
+
*/
|
|
36
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: OpenSearchServerlessClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetSecurityConfigCommandInput, GetSecurityConfigCommandOutput>;
|
|
37
|
+
private serialize;
|
|
38
|
+
private deserialize;
|
|
39
|
+
}
|