@aws-sdk/client-elasticsearch-service 3.202.0 → 3.208.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/dist-cjs/ElasticsearchService.js +135 -0
- package/dist-cjs/commands/AuthorizeVpcEndpointAccessCommand.js +46 -0
- package/dist-cjs/commands/CreateVpcEndpointCommand.js +46 -0
- package/dist-cjs/commands/DeleteVpcEndpointCommand.js +46 -0
- package/dist-cjs/commands/DescribeVpcEndpointsCommand.js +46 -0
- package/dist-cjs/commands/ListVpcEndpointAccessCommand.js +46 -0
- package/dist-cjs/commands/ListVpcEndpointsCommand.js +46 -0
- package/dist-cjs/commands/ListVpcEndpointsForDomainCommand.js +46 -0
- package/dist-cjs/commands/RevokeVpcEndpointAccessCommand.js +46 -0
- package/dist-cjs/commands/UpdateVpcEndpointCommand.js +46 -0
- package/dist-cjs/commands/index.js +9 -0
- package/dist-cjs/models/models_0.js +249 -4
- package/dist-cjs/protocols/Aws_restJson1.js +764 -72
- package/dist-cjs/runtimeConfig.browser.js +0 -3
- package/dist-cjs/runtimeConfig.js +0 -3
- package/dist-cjs/runtimeConfig.shared.js +3 -0
- package/dist-es/ElasticsearchService.js +135 -0
- package/dist-es/commands/AuthorizeVpcEndpointAccessCommand.js +42 -0
- package/dist-es/commands/CreateVpcEndpointCommand.js +42 -0
- package/dist-es/commands/DeleteVpcEndpointCommand.js +42 -0
- package/dist-es/commands/DescribeVpcEndpointsCommand.js +42 -0
- package/dist-es/commands/ListVpcEndpointAccessCommand.js +42 -0
- package/dist-es/commands/ListVpcEndpointsCommand.js +42 -0
- package/dist-es/commands/ListVpcEndpointsForDomainCommand.js +42 -0
- package/dist-es/commands/RevokeVpcEndpointAccessCommand.js +42 -0
- package/dist-es/commands/UpdateVpcEndpointCommand.js +42 -0
- package/dist-es/commands/index.js +9 -0
- package/dist-es/models/models_0.js +222 -0
- package/dist-es/protocols/Aws_restJson1.js +741 -67
- package/dist-es/runtimeConfig.browser.js +0 -3
- package/dist-es/runtimeConfig.js +0 -3
- package/dist-es/runtimeConfig.shared.js +3 -0
- package/dist-types/ElasticsearchService.d.ts +65 -0
- package/dist-types/ElasticsearchServiceClient.d.ts +11 -2
- package/dist-types/commands/AuthorizeVpcEndpointAccessCommand.d.ts +37 -0
- package/dist-types/commands/CreateVpcEndpointCommand.d.ts +37 -0
- package/dist-types/commands/DeleteVpcEndpointCommand.d.ts +37 -0
- package/dist-types/commands/DescribeVpcEndpointsCommand.d.ts +37 -0
- package/dist-types/commands/ListVpcEndpointAccessCommand.d.ts +38 -0
- package/dist-types/commands/ListVpcEndpointsCommand.d.ts +37 -0
- package/dist-types/commands/ListVpcEndpointsForDomainCommand.d.ts +37 -0
- package/dist-types/commands/RevokeVpcEndpointAccessCommand.d.ts +38 -0
- package/dist-types/commands/UpdateVpcEndpointCommand.d.ts +37 -0
- package/dist-types/commands/index.d.ts +9 -0
- package/dist-types/models/models_0.d.ts +523 -12
- package/dist-types/protocols/Aws_restJson1.d.ts +27 -0
- package/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/runtimeConfig.d.ts +2 -2
- package/dist-types/runtimeConfig.shared.d.ts +2 -0
- package/dist-types/ts3.4/ElasticsearchService.d.ts +153 -0
- package/dist-types/ts3.4/ElasticsearchServiceClient.d.ts +54 -0
- package/dist-types/ts3.4/commands/AuthorizeVpcEndpointAccessCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/CreateVpcEndpointCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteVpcEndpointCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DescribeVpcEndpointsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListVpcEndpointAccessCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListVpcEndpointsCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/ListVpcEndpointsForDomainCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/RevokeVpcEndpointAccessCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/UpdateVpcEndpointCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/index.d.ts +9 -0
- package/dist-types/ts3.4/models/models_0.d.ts +291 -104
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +108 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -0
- package/package.json +35 -34
- package/CHANGELOG.md +0 -4175
|
@@ -4,7 +4,6 @@ import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@aws-
|
|
|
4
4
|
import { FetchHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
|
|
5
5
|
import { invalidProvider } from "@aws-sdk/invalid-dependency";
|
|
6
6
|
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@aws-sdk/middleware-retry";
|
|
7
|
-
import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser";
|
|
8
7
|
import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
|
|
9
8
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
|
|
10
9
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
|
|
@@ -20,8 +19,6 @@ export const getRuntimeConfig = (config) => {
|
|
|
20
19
|
...config,
|
|
21
20
|
runtime: "browser",
|
|
22
21
|
defaultsMode,
|
|
23
|
-
base64Decoder: config?.base64Decoder ?? fromBase64,
|
|
24
|
-
base64Encoder: config?.base64Encoder ?? toBase64,
|
|
25
22
|
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
26
23
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
27
24
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node";
|
|
|
6
6
|
import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@aws-sdk/middleware-retry";
|
|
7
7
|
import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider";
|
|
8
8
|
import { NodeHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/node-http-handler";
|
|
9
|
-
import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node";
|
|
10
9
|
import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
|
|
11
10
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
|
|
12
11
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
|
|
@@ -24,8 +23,6 @@ export const getRuntimeConfig = (config) => {
|
|
|
24
23
|
...config,
|
|
25
24
|
runtime: "node",
|
|
26
25
|
defaultsMode,
|
|
27
|
-
base64Decoder: config?.base64Decoder ?? fromBase64,
|
|
28
|
-
base64Encoder: config?.base64Encoder ?? toBase64,
|
|
29
26
|
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
30
27
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider),
|
|
31
28
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import { parseUrl } from "@aws-sdk/url-parser";
|
|
2
|
+
import { fromBase64, toBase64 } from "@aws-sdk/util-base64";
|
|
2
3
|
import { defaultEndpointResolver } from "./endpoint/endpointResolver";
|
|
3
4
|
export const getRuntimeConfig = (config) => ({
|
|
4
5
|
apiVersion: "2015-01-01",
|
|
6
|
+
base64Decoder: config?.base64Decoder ?? fromBase64,
|
|
7
|
+
base64Encoder: config?.base64Encoder ?? toBase64,
|
|
5
8
|
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
6
9
|
endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
|
|
7
10
|
logger: config?.logger ?? {},
|
|
@@ -2,15 +2,18 @@ import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
|
2
2
|
import { AcceptInboundCrossClusterSearchConnectionCommandInput, AcceptInboundCrossClusterSearchConnectionCommandOutput } from "./commands/AcceptInboundCrossClusterSearchConnectionCommand";
|
|
3
3
|
import { AddTagsCommandInput, AddTagsCommandOutput } from "./commands/AddTagsCommand";
|
|
4
4
|
import { AssociatePackageCommandInput, AssociatePackageCommandOutput } from "./commands/AssociatePackageCommand";
|
|
5
|
+
import { AuthorizeVpcEndpointAccessCommandInput, AuthorizeVpcEndpointAccessCommandOutput } from "./commands/AuthorizeVpcEndpointAccessCommand";
|
|
5
6
|
import { CancelElasticsearchServiceSoftwareUpdateCommandInput, CancelElasticsearchServiceSoftwareUpdateCommandOutput } from "./commands/CancelElasticsearchServiceSoftwareUpdateCommand";
|
|
6
7
|
import { CreateElasticsearchDomainCommandInput, CreateElasticsearchDomainCommandOutput } from "./commands/CreateElasticsearchDomainCommand";
|
|
7
8
|
import { CreateOutboundCrossClusterSearchConnectionCommandInput, CreateOutboundCrossClusterSearchConnectionCommandOutput } from "./commands/CreateOutboundCrossClusterSearchConnectionCommand";
|
|
8
9
|
import { CreatePackageCommandInput, CreatePackageCommandOutput } from "./commands/CreatePackageCommand";
|
|
10
|
+
import { CreateVpcEndpointCommandInput, CreateVpcEndpointCommandOutput } from "./commands/CreateVpcEndpointCommand";
|
|
9
11
|
import { DeleteElasticsearchDomainCommandInput, DeleteElasticsearchDomainCommandOutput } from "./commands/DeleteElasticsearchDomainCommand";
|
|
10
12
|
import { DeleteElasticsearchServiceRoleCommandInput, DeleteElasticsearchServiceRoleCommandOutput } from "./commands/DeleteElasticsearchServiceRoleCommand";
|
|
11
13
|
import { DeleteInboundCrossClusterSearchConnectionCommandInput, DeleteInboundCrossClusterSearchConnectionCommandOutput } from "./commands/DeleteInboundCrossClusterSearchConnectionCommand";
|
|
12
14
|
import { DeleteOutboundCrossClusterSearchConnectionCommandInput, DeleteOutboundCrossClusterSearchConnectionCommandOutput } from "./commands/DeleteOutboundCrossClusterSearchConnectionCommand";
|
|
13
15
|
import { DeletePackageCommandInput, DeletePackageCommandOutput } from "./commands/DeletePackageCommand";
|
|
16
|
+
import { DeleteVpcEndpointCommandInput, DeleteVpcEndpointCommandOutput } from "./commands/DeleteVpcEndpointCommand";
|
|
14
17
|
import { DescribeDomainAutoTunesCommandInput, DescribeDomainAutoTunesCommandOutput } from "./commands/DescribeDomainAutoTunesCommand";
|
|
15
18
|
import { DescribeDomainChangeProgressCommandInput, DescribeDomainChangeProgressCommandOutput } from "./commands/DescribeDomainChangeProgressCommand";
|
|
16
19
|
import { DescribeElasticsearchDomainCommandInput, DescribeElasticsearchDomainCommandOutput } from "./commands/DescribeElasticsearchDomainCommand";
|
|
@@ -22,6 +25,7 @@ import { DescribeOutboundCrossClusterSearchConnectionsCommandInput, DescribeOutb
|
|
|
22
25
|
import { DescribePackagesCommandInput, DescribePackagesCommandOutput } from "./commands/DescribePackagesCommand";
|
|
23
26
|
import { DescribeReservedElasticsearchInstanceOfferingsCommandInput, DescribeReservedElasticsearchInstanceOfferingsCommandOutput } from "./commands/DescribeReservedElasticsearchInstanceOfferingsCommand";
|
|
24
27
|
import { DescribeReservedElasticsearchInstancesCommandInput, DescribeReservedElasticsearchInstancesCommandOutput } from "./commands/DescribeReservedElasticsearchInstancesCommand";
|
|
28
|
+
import { DescribeVpcEndpointsCommandInput, DescribeVpcEndpointsCommandOutput } from "./commands/DescribeVpcEndpointsCommand";
|
|
25
29
|
import { DissociatePackageCommandInput, DissociatePackageCommandOutput } from "./commands/DissociatePackageCommand";
|
|
26
30
|
import { GetCompatibleElasticsearchVersionsCommandInput, GetCompatibleElasticsearchVersionsCommandOutput } from "./commands/GetCompatibleElasticsearchVersionsCommand";
|
|
27
31
|
import { GetPackageVersionHistoryCommandInput, GetPackageVersionHistoryCommandOutput } from "./commands/GetPackageVersionHistoryCommand";
|
|
@@ -33,12 +37,17 @@ import { ListElasticsearchInstanceTypesCommandInput, ListElasticsearchInstanceTy
|
|
|
33
37
|
import { ListElasticsearchVersionsCommandInput, ListElasticsearchVersionsCommandOutput } from "./commands/ListElasticsearchVersionsCommand";
|
|
34
38
|
import { ListPackagesForDomainCommandInput, ListPackagesForDomainCommandOutput } from "./commands/ListPackagesForDomainCommand";
|
|
35
39
|
import { ListTagsCommandInput, ListTagsCommandOutput } from "./commands/ListTagsCommand";
|
|
40
|
+
import { ListVpcEndpointAccessCommandInput, ListVpcEndpointAccessCommandOutput } from "./commands/ListVpcEndpointAccessCommand";
|
|
41
|
+
import { ListVpcEndpointsCommandInput, ListVpcEndpointsCommandOutput } from "./commands/ListVpcEndpointsCommand";
|
|
42
|
+
import { ListVpcEndpointsForDomainCommandInput, ListVpcEndpointsForDomainCommandOutput } from "./commands/ListVpcEndpointsForDomainCommand";
|
|
36
43
|
import { PurchaseReservedElasticsearchInstanceOfferingCommandInput, PurchaseReservedElasticsearchInstanceOfferingCommandOutput } from "./commands/PurchaseReservedElasticsearchInstanceOfferingCommand";
|
|
37
44
|
import { RejectInboundCrossClusterSearchConnectionCommandInput, RejectInboundCrossClusterSearchConnectionCommandOutput } from "./commands/RejectInboundCrossClusterSearchConnectionCommand";
|
|
38
45
|
import { RemoveTagsCommandInput, RemoveTagsCommandOutput } from "./commands/RemoveTagsCommand";
|
|
46
|
+
import { RevokeVpcEndpointAccessCommandInput, RevokeVpcEndpointAccessCommandOutput } from "./commands/RevokeVpcEndpointAccessCommand";
|
|
39
47
|
import { StartElasticsearchServiceSoftwareUpdateCommandInput, StartElasticsearchServiceSoftwareUpdateCommandOutput } from "./commands/StartElasticsearchServiceSoftwareUpdateCommand";
|
|
40
48
|
import { UpdateElasticsearchDomainConfigCommandInput, UpdateElasticsearchDomainConfigCommandOutput } from "./commands/UpdateElasticsearchDomainConfigCommand";
|
|
41
49
|
import { UpdatePackageCommandInput, UpdatePackageCommandOutput } from "./commands/UpdatePackageCommand";
|
|
50
|
+
import { UpdateVpcEndpointCommandInput, UpdateVpcEndpointCommandOutput } from "./commands/UpdateVpcEndpointCommand";
|
|
42
51
|
import { UpgradeElasticsearchDomainCommandInput, UpgradeElasticsearchDomainCommandOutput } from "./commands/UpgradeElasticsearchDomainCommand";
|
|
43
52
|
import { ElasticsearchServiceClient } from "./ElasticsearchServiceClient";
|
|
44
53
|
/**
|
|
@@ -70,6 +79,12 @@ export declare class ElasticsearchService extends ElasticsearchServiceClient {
|
|
|
70
79
|
associatePackage(args: AssociatePackageCommandInput, options?: __HttpHandlerOptions): Promise<AssociatePackageCommandOutput>;
|
|
71
80
|
associatePackage(args: AssociatePackageCommandInput, cb: (err: any, data?: AssociatePackageCommandOutput) => void): void;
|
|
72
81
|
associatePackage(args: AssociatePackageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociatePackageCommandOutput) => void): void;
|
|
82
|
+
/**
|
|
83
|
+
* <p>Provides access to an Amazon OpenSearch Service domain through the use of an interface VPC endpoint.</p>
|
|
84
|
+
*/
|
|
85
|
+
authorizeVpcEndpointAccess(args: AuthorizeVpcEndpointAccessCommandInput, options?: __HttpHandlerOptions): Promise<AuthorizeVpcEndpointAccessCommandOutput>;
|
|
86
|
+
authorizeVpcEndpointAccess(args: AuthorizeVpcEndpointAccessCommandInput, cb: (err: any, data?: AuthorizeVpcEndpointAccessCommandOutput) => void): void;
|
|
87
|
+
authorizeVpcEndpointAccess(args: AuthorizeVpcEndpointAccessCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AuthorizeVpcEndpointAccessCommandOutput) => void): void;
|
|
73
88
|
/**
|
|
74
89
|
* <p>Cancels a scheduled service software update for an Amazon ES domain. You can only perform this operation before the <code>AutomatedUpdateDate</code> and when the <code>UpdateStatus</code> is in the <code>PENDING_UPDATE</code> state.</p>
|
|
75
90
|
*/
|
|
@@ -95,6 +110,12 @@ export declare class ElasticsearchService extends ElasticsearchServiceClient {
|
|
|
95
110
|
createPackage(args: CreatePackageCommandInput, options?: __HttpHandlerOptions): Promise<CreatePackageCommandOutput>;
|
|
96
111
|
createPackage(args: CreatePackageCommandInput, cb: (err: any, data?: CreatePackageCommandOutput) => void): void;
|
|
97
112
|
createPackage(args: CreatePackageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreatePackageCommandOutput) => void): void;
|
|
113
|
+
/**
|
|
114
|
+
* <p>Creates an Amazon OpenSearch Service-managed VPC endpoint.</p>
|
|
115
|
+
*/
|
|
116
|
+
createVpcEndpoint(args: CreateVpcEndpointCommandInput, options?: __HttpHandlerOptions): Promise<CreateVpcEndpointCommandOutput>;
|
|
117
|
+
createVpcEndpoint(args: CreateVpcEndpointCommandInput, cb: (err: any, data?: CreateVpcEndpointCommandOutput) => void): void;
|
|
118
|
+
createVpcEndpoint(args: CreateVpcEndpointCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateVpcEndpointCommandOutput) => void): void;
|
|
98
119
|
/**
|
|
99
120
|
* <p>Permanently deletes the specified Elasticsearch domain and all of its data. Once a domain is deleted, it cannot be recovered.</p>
|
|
100
121
|
*/
|
|
@@ -125,6 +146,12 @@ export declare class ElasticsearchService extends ElasticsearchServiceClient {
|
|
|
125
146
|
deletePackage(args: DeletePackageCommandInput, options?: __HttpHandlerOptions): Promise<DeletePackageCommandOutput>;
|
|
126
147
|
deletePackage(args: DeletePackageCommandInput, cb: (err: any, data?: DeletePackageCommandOutput) => void): void;
|
|
127
148
|
deletePackage(args: DeletePackageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeletePackageCommandOutput) => void): void;
|
|
149
|
+
/**
|
|
150
|
+
* <p>Deletes an Amazon OpenSearch Service-managed interface VPC endpoint.</p>
|
|
151
|
+
*/
|
|
152
|
+
deleteVpcEndpoint(args: DeleteVpcEndpointCommandInput, options?: __HttpHandlerOptions): Promise<DeleteVpcEndpointCommandOutput>;
|
|
153
|
+
deleteVpcEndpoint(args: DeleteVpcEndpointCommandInput, cb: (err: any, data?: DeleteVpcEndpointCommandOutput) => void): void;
|
|
154
|
+
deleteVpcEndpoint(args: DeleteVpcEndpointCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteVpcEndpointCommandOutput) => void): void;
|
|
128
155
|
/**
|
|
129
156
|
* <p>Provides scheduled Auto-Tune action details for the Elasticsearch domain, such as Auto-Tune action type, description, severity, and scheduled date.</p>
|
|
130
157
|
*/
|
|
@@ -199,6 +226,12 @@ export declare class ElasticsearchService extends ElasticsearchServiceClient {
|
|
|
199
226
|
describeReservedElasticsearchInstances(args: DescribeReservedElasticsearchInstancesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeReservedElasticsearchInstancesCommandOutput>;
|
|
200
227
|
describeReservedElasticsearchInstances(args: DescribeReservedElasticsearchInstancesCommandInput, cb: (err: any, data?: DescribeReservedElasticsearchInstancesCommandOutput) => void): void;
|
|
201
228
|
describeReservedElasticsearchInstances(args: DescribeReservedElasticsearchInstancesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeReservedElasticsearchInstancesCommandOutput) => void): void;
|
|
229
|
+
/**
|
|
230
|
+
* <p>Describes one or more Amazon OpenSearch Service-managed VPC endpoints.</p>
|
|
231
|
+
*/
|
|
232
|
+
describeVpcEndpoints(args: DescribeVpcEndpointsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeVpcEndpointsCommandOutput>;
|
|
233
|
+
describeVpcEndpoints(args: DescribeVpcEndpointsCommandInput, cb: (err: any, data?: DescribeVpcEndpointsCommandOutput) => void): void;
|
|
234
|
+
describeVpcEndpoints(args: DescribeVpcEndpointsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeVpcEndpointsCommandOutput) => void): void;
|
|
202
235
|
/**
|
|
203
236
|
* <p>Dissociates a package from the Amazon ES domain.</p>
|
|
204
237
|
*/
|
|
@@ -272,6 +305,25 @@ export declare class ElasticsearchService extends ElasticsearchServiceClient {
|
|
|
272
305
|
listTags(args: ListTagsCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsCommandOutput>;
|
|
273
306
|
listTags(args: ListTagsCommandInput, cb: (err: any, data?: ListTagsCommandOutput) => void): void;
|
|
274
307
|
listTags(args: ListTagsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsCommandOutput) => void): void;
|
|
308
|
+
/**
|
|
309
|
+
* <p>Retrieves information about each principal that is allowed to access a
|
|
310
|
+
* given Amazon OpenSearch Service domain through the use of an interface VPC endpoint.</p>
|
|
311
|
+
*/
|
|
312
|
+
listVpcEndpointAccess(args: ListVpcEndpointAccessCommandInput, options?: __HttpHandlerOptions): Promise<ListVpcEndpointAccessCommandOutput>;
|
|
313
|
+
listVpcEndpointAccess(args: ListVpcEndpointAccessCommandInput, cb: (err: any, data?: ListVpcEndpointAccessCommandOutput) => void): void;
|
|
314
|
+
listVpcEndpointAccess(args: ListVpcEndpointAccessCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListVpcEndpointAccessCommandOutput) => void): void;
|
|
315
|
+
/**
|
|
316
|
+
* <p>Retrieves all Amazon OpenSearch Service-managed VPC endpoints in the current account and Region.</p>
|
|
317
|
+
*/
|
|
318
|
+
listVpcEndpoints(args: ListVpcEndpointsCommandInput, options?: __HttpHandlerOptions): Promise<ListVpcEndpointsCommandOutput>;
|
|
319
|
+
listVpcEndpoints(args: ListVpcEndpointsCommandInput, cb: (err: any, data?: ListVpcEndpointsCommandOutput) => void): void;
|
|
320
|
+
listVpcEndpoints(args: ListVpcEndpointsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListVpcEndpointsCommandOutput) => void): void;
|
|
321
|
+
/**
|
|
322
|
+
* <p>Retrieves all Amazon OpenSearch Service-managed VPC endpoints associated with a particular domain.</p>
|
|
323
|
+
*/
|
|
324
|
+
listVpcEndpointsForDomain(args: ListVpcEndpointsForDomainCommandInput, options?: __HttpHandlerOptions): Promise<ListVpcEndpointsForDomainCommandOutput>;
|
|
325
|
+
listVpcEndpointsForDomain(args: ListVpcEndpointsForDomainCommandInput, cb: (err: any, data?: ListVpcEndpointsForDomainCommandOutput) => void): void;
|
|
326
|
+
listVpcEndpointsForDomain(args: ListVpcEndpointsForDomainCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListVpcEndpointsForDomainCommandOutput) => void): void;
|
|
275
327
|
/**
|
|
276
328
|
* <p>Allows you to purchase reserved Elasticsearch instances.</p>
|
|
277
329
|
*/
|
|
@@ -290,6 +342,13 @@ export declare class ElasticsearchService extends ElasticsearchServiceClient {
|
|
|
290
342
|
removeTags(args: RemoveTagsCommandInput, options?: __HttpHandlerOptions): Promise<RemoveTagsCommandOutput>;
|
|
291
343
|
removeTags(args: RemoveTagsCommandInput, cb: (err: any, data?: RemoveTagsCommandOutput) => void): void;
|
|
292
344
|
removeTags(args: RemoveTagsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RemoveTagsCommandOutput) => void): void;
|
|
345
|
+
/**
|
|
346
|
+
* <p>Revokes access to an Amazon OpenSearch Service domain that was provided through an interface
|
|
347
|
+
* VPC endpoint.</p>
|
|
348
|
+
*/
|
|
349
|
+
revokeVpcEndpointAccess(args: RevokeVpcEndpointAccessCommandInput, options?: __HttpHandlerOptions): Promise<RevokeVpcEndpointAccessCommandOutput>;
|
|
350
|
+
revokeVpcEndpointAccess(args: RevokeVpcEndpointAccessCommandInput, cb: (err: any, data?: RevokeVpcEndpointAccessCommandOutput) => void): void;
|
|
351
|
+
revokeVpcEndpointAccess(args: RevokeVpcEndpointAccessCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RevokeVpcEndpointAccessCommandOutput) => void): void;
|
|
293
352
|
/**
|
|
294
353
|
* <p>Schedules a service software update for an Amazon ES domain.</p>
|
|
295
354
|
*/
|
|
@@ -308,6 +367,12 @@ export declare class ElasticsearchService extends ElasticsearchServiceClient {
|
|
|
308
367
|
updatePackage(args: UpdatePackageCommandInput, options?: __HttpHandlerOptions): Promise<UpdatePackageCommandOutput>;
|
|
309
368
|
updatePackage(args: UpdatePackageCommandInput, cb: (err: any, data?: UpdatePackageCommandOutput) => void): void;
|
|
310
369
|
updatePackage(args: UpdatePackageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdatePackageCommandOutput) => void): void;
|
|
370
|
+
/**
|
|
371
|
+
* <p>Modifies an Amazon OpenSearch Service-managed interface VPC endpoint.</p>
|
|
372
|
+
*/
|
|
373
|
+
updateVpcEndpoint(args: UpdateVpcEndpointCommandInput, options?: __HttpHandlerOptions): Promise<UpdateVpcEndpointCommandOutput>;
|
|
374
|
+
updateVpcEndpoint(args: UpdateVpcEndpointCommandInput, cb: (err: any, data?: UpdateVpcEndpointCommandOutput) => void): void;
|
|
375
|
+
updateVpcEndpoint(args: UpdateVpcEndpointCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateVpcEndpointCommandOutput) => void): void;
|
|
311
376
|
/**
|
|
312
377
|
* <p>Allows you to either upgrade your domain or perform an Upgrade eligibility check to a compatible Elasticsearch version.</p>
|
|
313
378
|
*/
|
|
@@ -10,15 +10,18 @@ import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Creden
|
|
|
10
10
|
import { AcceptInboundCrossClusterSearchConnectionCommandInput, AcceptInboundCrossClusterSearchConnectionCommandOutput } from "./commands/AcceptInboundCrossClusterSearchConnectionCommand";
|
|
11
11
|
import { AddTagsCommandInput, AddTagsCommandOutput } from "./commands/AddTagsCommand";
|
|
12
12
|
import { AssociatePackageCommandInput, AssociatePackageCommandOutput } from "./commands/AssociatePackageCommand";
|
|
13
|
+
import { AuthorizeVpcEndpointAccessCommandInput, AuthorizeVpcEndpointAccessCommandOutput } from "./commands/AuthorizeVpcEndpointAccessCommand";
|
|
13
14
|
import { CancelElasticsearchServiceSoftwareUpdateCommandInput, CancelElasticsearchServiceSoftwareUpdateCommandOutput } from "./commands/CancelElasticsearchServiceSoftwareUpdateCommand";
|
|
14
15
|
import { CreateElasticsearchDomainCommandInput, CreateElasticsearchDomainCommandOutput } from "./commands/CreateElasticsearchDomainCommand";
|
|
15
16
|
import { CreateOutboundCrossClusterSearchConnectionCommandInput, CreateOutboundCrossClusterSearchConnectionCommandOutput } from "./commands/CreateOutboundCrossClusterSearchConnectionCommand";
|
|
16
17
|
import { CreatePackageCommandInput, CreatePackageCommandOutput } from "./commands/CreatePackageCommand";
|
|
18
|
+
import { CreateVpcEndpointCommandInput, CreateVpcEndpointCommandOutput } from "./commands/CreateVpcEndpointCommand";
|
|
17
19
|
import { DeleteElasticsearchDomainCommandInput, DeleteElasticsearchDomainCommandOutput } from "./commands/DeleteElasticsearchDomainCommand";
|
|
18
20
|
import { DeleteElasticsearchServiceRoleCommandInput, DeleteElasticsearchServiceRoleCommandOutput } from "./commands/DeleteElasticsearchServiceRoleCommand";
|
|
19
21
|
import { DeleteInboundCrossClusterSearchConnectionCommandInput, DeleteInboundCrossClusterSearchConnectionCommandOutput } from "./commands/DeleteInboundCrossClusterSearchConnectionCommand";
|
|
20
22
|
import { DeleteOutboundCrossClusterSearchConnectionCommandInput, DeleteOutboundCrossClusterSearchConnectionCommandOutput } from "./commands/DeleteOutboundCrossClusterSearchConnectionCommand";
|
|
21
23
|
import { DeletePackageCommandInput, DeletePackageCommandOutput } from "./commands/DeletePackageCommand";
|
|
24
|
+
import { DeleteVpcEndpointCommandInput, DeleteVpcEndpointCommandOutput } from "./commands/DeleteVpcEndpointCommand";
|
|
22
25
|
import { DescribeDomainAutoTunesCommandInput, DescribeDomainAutoTunesCommandOutput } from "./commands/DescribeDomainAutoTunesCommand";
|
|
23
26
|
import { DescribeDomainChangeProgressCommandInput, DescribeDomainChangeProgressCommandOutput } from "./commands/DescribeDomainChangeProgressCommand";
|
|
24
27
|
import { DescribeElasticsearchDomainCommandInput, DescribeElasticsearchDomainCommandOutput } from "./commands/DescribeElasticsearchDomainCommand";
|
|
@@ -30,6 +33,7 @@ import { DescribeOutboundCrossClusterSearchConnectionsCommandInput, DescribeOutb
|
|
|
30
33
|
import { DescribePackagesCommandInput, DescribePackagesCommandOutput } from "./commands/DescribePackagesCommand";
|
|
31
34
|
import { DescribeReservedElasticsearchInstanceOfferingsCommandInput, DescribeReservedElasticsearchInstanceOfferingsCommandOutput } from "./commands/DescribeReservedElasticsearchInstanceOfferingsCommand";
|
|
32
35
|
import { DescribeReservedElasticsearchInstancesCommandInput, DescribeReservedElasticsearchInstancesCommandOutput } from "./commands/DescribeReservedElasticsearchInstancesCommand";
|
|
36
|
+
import { DescribeVpcEndpointsCommandInput, DescribeVpcEndpointsCommandOutput } from "./commands/DescribeVpcEndpointsCommand";
|
|
33
37
|
import { DissociatePackageCommandInput, DissociatePackageCommandOutput } from "./commands/DissociatePackageCommand";
|
|
34
38
|
import { GetCompatibleElasticsearchVersionsCommandInput, GetCompatibleElasticsearchVersionsCommandOutput } from "./commands/GetCompatibleElasticsearchVersionsCommand";
|
|
35
39
|
import { GetPackageVersionHistoryCommandInput, GetPackageVersionHistoryCommandOutput } from "./commands/GetPackageVersionHistoryCommand";
|
|
@@ -41,16 +45,21 @@ import { ListElasticsearchInstanceTypesCommandInput, ListElasticsearchInstanceTy
|
|
|
41
45
|
import { ListElasticsearchVersionsCommandInput, ListElasticsearchVersionsCommandOutput } from "./commands/ListElasticsearchVersionsCommand";
|
|
42
46
|
import { ListPackagesForDomainCommandInput, ListPackagesForDomainCommandOutput } from "./commands/ListPackagesForDomainCommand";
|
|
43
47
|
import { ListTagsCommandInput, ListTagsCommandOutput } from "./commands/ListTagsCommand";
|
|
48
|
+
import { ListVpcEndpointAccessCommandInput, ListVpcEndpointAccessCommandOutput } from "./commands/ListVpcEndpointAccessCommand";
|
|
49
|
+
import { ListVpcEndpointsCommandInput, ListVpcEndpointsCommandOutput } from "./commands/ListVpcEndpointsCommand";
|
|
50
|
+
import { ListVpcEndpointsForDomainCommandInput, ListVpcEndpointsForDomainCommandOutput } from "./commands/ListVpcEndpointsForDomainCommand";
|
|
44
51
|
import { PurchaseReservedElasticsearchInstanceOfferingCommandInput, PurchaseReservedElasticsearchInstanceOfferingCommandOutput } from "./commands/PurchaseReservedElasticsearchInstanceOfferingCommand";
|
|
45
52
|
import { RejectInboundCrossClusterSearchConnectionCommandInput, RejectInboundCrossClusterSearchConnectionCommandOutput } from "./commands/RejectInboundCrossClusterSearchConnectionCommand";
|
|
46
53
|
import { RemoveTagsCommandInput, RemoveTagsCommandOutput } from "./commands/RemoveTagsCommand";
|
|
54
|
+
import { RevokeVpcEndpointAccessCommandInput, RevokeVpcEndpointAccessCommandOutput } from "./commands/RevokeVpcEndpointAccessCommand";
|
|
47
55
|
import { StartElasticsearchServiceSoftwareUpdateCommandInput, StartElasticsearchServiceSoftwareUpdateCommandOutput } from "./commands/StartElasticsearchServiceSoftwareUpdateCommand";
|
|
48
56
|
import { UpdateElasticsearchDomainConfigCommandInput, UpdateElasticsearchDomainConfigCommandOutput } from "./commands/UpdateElasticsearchDomainConfigCommand";
|
|
49
57
|
import { UpdatePackageCommandInput, UpdatePackageCommandOutput } from "./commands/UpdatePackageCommand";
|
|
58
|
+
import { UpdateVpcEndpointCommandInput, UpdateVpcEndpointCommandOutput } from "./commands/UpdateVpcEndpointCommand";
|
|
50
59
|
import { UpgradeElasticsearchDomainCommandInput, UpgradeElasticsearchDomainCommandOutput } from "./commands/UpgradeElasticsearchDomainCommand";
|
|
51
60
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
52
|
-
export declare type ServiceInputTypes = AcceptInboundCrossClusterSearchConnectionCommandInput | AddTagsCommandInput | AssociatePackageCommandInput | CancelElasticsearchServiceSoftwareUpdateCommandInput | CreateElasticsearchDomainCommandInput | CreateOutboundCrossClusterSearchConnectionCommandInput | CreatePackageCommandInput | DeleteElasticsearchDomainCommandInput | DeleteElasticsearchServiceRoleCommandInput | DeleteInboundCrossClusterSearchConnectionCommandInput | DeleteOutboundCrossClusterSearchConnectionCommandInput | DeletePackageCommandInput | DescribeDomainAutoTunesCommandInput | DescribeDomainChangeProgressCommandInput | DescribeElasticsearchDomainCommandInput | DescribeElasticsearchDomainConfigCommandInput | DescribeElasticsearchDomainsCommandInput | DescribeElasticsearchInstanceTypeLimitsCommandInput | DescribeInboundCrossClusterSearchConnectionsCommandInput | DescribeOutboundCrossClusterSearchConnectionsCommandInput | DescribePackagesCommandInput | DescribeReservedElasticsearchInstanceOfferingsCommandInput | DescribeReservedElasticsearchInstancesCommandInput | DissociatePackageCommandInput | GetCompatibleElasticsearchVersionsCommandInput | GetPackageVersionHistoryCommandInput | GetUpgradeHistoryCommandInput | GetUpgradeStatusCommandInput | ListDomainNamesCommandInput | ListDomainsForPackageCommandInput | ListElasticsearchInstanceTypesCommandInput | ListElasticsearchVersionsCommandInput | ListPackagesForDomainCommandInput | ListTagsCommandInput | PurchaseReservedElasticsearchInstanceOfferingCommandInput | RejectInboundCrossClusterSearchConnectionCommandInput | RemoveTagsCommandInput | StartElasticsearchServiceSoftwareUpdateCommandInput | UpdateElasticsearchDomainConfigCommandInput | UpdatePackageCommandInput | UpgradeElasticsearchDomainCommandInput;
|
|
53
|
-
export declare type ServiceOutputTypes = AcceptInboundCrossClusterSearchConnectionCommandOutput | AddTagsCommandOutput | AssociatePackageCommandOutput | CancelElasticsearchServiceSoftwareUpdateCommandOutput | CreateElasticsearchDomainCommandOutput | CreateOutboundCrossClusterSearchConnectionCommandOutput | CreatePackageCommandOutput | DeleteElasticsearchDomainCommandOutput | DeleteElasticsearchServiceRoleCommandOutput | DeleteInboundCrossClusterSearchConnectionCommandOutput | DeleteOutboundCrossClusterSearchConnectionCommandOutput | DeletePackageCommandOutput | DescribeDomainAutoTunesCommandOutput | DescribeDomainChangeProgressCommandOutput | DescribeElasticsearchDomainCommandOutput | DescribeElasticsearchDomainConfigCommandOutput | DescribeElasticsearchDomainsCommandOutput | DescribeElasticsearchInstanceTypeLimitsCommandOutput | DescribeInboundCrossClusterSearchConnectionsCommandOutput | DescribeOutboundCrossClusterSearchConnectionsCommandOutput | DescribePackagesCommandOutput | DescribeReservedElasticsearchInstanceOfferingsCommandOutput | DescribeReservedElasticsearchInstancesCommandOutput | DissociatePackageCommandOutput | GetCompatibleElasticsearchVersionsCommandOutput | GetPackageVersionHistoryCommandOutput | GetUpgradeHistoryCommandOutput | GetUpgradeStatusCommandOutput | ListDomainNamesCommandOutput | ListDomainsForPackageCommandOutput | ListElasticsearchInstanceTypesCommandOutput | ListElasticsearchVersionsCommandOutput | ListPackagesForDomainCommandOutput | ListTagsCommandOutput | PurchaseReservedElasticsearchInstanceOfferingCommandOutput | RejectInboundCrossClusterSearchConnectionCommandOutput | RemoveTagsCommandOutput | StartElasticsearchServiceSoftwareUpdateCommandOutput | UpdateElasticsearchDomainConfigCommandOutput | UpdatePackageCommandOutput | UpgradeElasticsearchDomainCommandOutput;
|
|
61
|
+
export declare type ServiceInputTypes = AcceptInboundCrossClusterSearchConnectionCommandInput | AddTagsCommandInput | AssociatePackageCommandInput | AuthorizeVpcEndpointAccessCommandInput | CancelElasticsearchServiceSoftwareUpdateCommandInput | CreateElasticsearchDomainCommandInput | CreateOutboundCrossClusterSearchConnectionCommandInput | CreatePackageCommandInput | CreateVpcEndpointCommandInput | DeleteElasticsearchDomainCommandInput | DeleteElasticsearchServiceRoleCommandInput | DeleteInboundCrossClusterSearchConnectionCommandInput | DeleteOutboundCrossClusterSearchConnectionCommandInput | DeletePackageCommandInput | DeleteVpcEndpointCommandInput | DescribeDomainAutoTunesCommandInput | DescribeDomainChangeProgressCommandInput | DescribeElasticsearchDomainCommandInput | DescribeElasticsearchDomainConfigCommandInput | DescribeElasticsearchDomainsCommandInput | DescribeElasticsearchInstanceTypeLimitsCommandInput | DescribeInboundCrossClusterSearchConnectionsCommandInput | DescribeOutboundCrossClusterSearchConnectionsCommandInput | DescribePackagesCommandInput | DescribeReservedElasticsearchInstanceOfferingsCommandInput | DescribeReservedElasticsearchInstancesCommandInput | DescribeVpcEndpointsCommandInput | DissociatePackageCommandInput | GetCompatibleElasticsearchVersionsCommandInput | GetPackageVersionHistoryCommandInput | GetUpgradeHistoryCommandInput | GetUpgradeStatusCommandInput | ListDomainNamesCommandInput | ListDomainsForPackageCommandInput | ListElasticsearchInstanceTypesCommandInput | ListElasticsearchVersionsCommandInput | ListPackagesForDomainCommandInput | ListTagsCommandInput | ListVpcEndpointAccessCommandInput | ListVpcEndpointsCommandInput | ListVpcEndpointsForDomainCommandInput | PurchaseReservedElasticsearchInstanceOfferingCommandInput | RejectInboundCrossClusterSearchConnectionCommandInput | RemoveTagsCommandInput | RevokeVpcEndpointAccessCommandInput | StartElasticsearchServiceSoftwareUpdateCommandInput | UpdateElasticsearchDomainConfigCommandInput | UpdatePackageCommandInput | UpdateVpcEndpointCommandInput | UpgradeElasticsearchDomainCommandInput;
|
|
62
|
+
export declare type ServiceOutputTypes = AcceptInboundCrossClusterSearchConnectionCommandOutput | AddTagsCommandOutput | AssociatePackageCommandOutput | AuthorizeVpcEndpointAccessCommandOutput | CancelElasticsearchServiceSoftwareUpdateCommandOutput | CreateElasticsearchDomainCommandOutput | CreateOutboundCrossClusterSearchConnectionCommandOutput | CreatePackageCommandOutput | CreateVpcEndpointCommandOutput | DeleteElasticsearchDomainCommandOutput | DeleteElasticsearchServiceRoleCommandOutput | DeleteInboundCrossClusterSearchConnectionCommandOutput | DeleteOutboundCrossClusterSearchConnectionCommandOutput | DeletePackageCommandOutput | DeleteVpcEndpointCommandOutput | DescribeDomainAutoTunesCommandOutput | DescribeDomainChangeProgressCommandOutput | DescribeElasticsearchDomainCommandOutput | DescribeElasticsearchDomainConfigCommandOutput | DescribeElasticsearchDomainsCommandOutput | DescribeElasticsearchInstanceTypeLimitsCommandOutput | DescribeInboundCrossClusterSearchConnectionsCommandOutput | DescribeOutboundCrossClusterSearchConnectionsCommandOutput | DescribePackagesCommandOutput | DescribeReservedElasticsearchInstanceOfferingsCommandOutput | DescribeReservedElasticsearchInstancesCommandOutput | DescribeVpcEndpointsCommandOutput | DissociatePackageCommandOutput | GetCompatibleElasticsearchVersionsCommandOutput | GetPackageVersionHistoryCommandOutput | GetUpgradeHistoryCommandOutput | GetUpgradeStatusCommandOutput | ListDomainNamesCommandOutput | ListDomainsForPackageCommandOutput | ListElasticsearchInstanceTypesCommandOutput | ListElasticsearchVersionsCommandOutput | ListPackagesForDomainCommandOutput | ListTagsCommandOutput | ListVpcEndpointAccessCommandOutput | ListVpcEndpointsCommandOutput | ListVpcEndpointsForDomainCommandOutput | PurchaseReservedElasticsearchInstanceOfferingCommandOutput | RejectInboundCrossClusterSearchConnectionCommandOutput | RemoveTagsCommandOutput | RevokeVpcEndpointAccessCommandOutput | StartElasticsearchServiceSoftwareUpdateCommandOutput | UpdateElasticsearchDomainConfigCommandOutput | UpdatePackageCommandOutput | UpdateVpcEndpointCommandOutput | UpgradeElasticsearchDomainCommandOutput;
|
|
54
63
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
55
64
|
/**
|
|
56
65
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
@@ -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 { ElasticsearchServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ElasticsearchServiceClient";
|
|
5
|
+
import { AuthorizeVpcEndpointAccessRequest, AuthorizeVpcEndpointAccessResponse } from "../models/models_0";
|
|
6
|
+
export interface AuthorizeVpcEndpointAccessCommandInput extends AuthorizeVpcEndpointAccessRequest {
|
|
7
|
+
}
|
|
8
|
+
export interface AuthorizeVpcEndpointAccessCommandOutput extends AuthorizeVpcEndpointAccessResponse, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Provides access to an Amazon OpenSearch Service domain through the use of an interface VPC endpoint.</p>
|
|
12
|
+
* @example
|
|
13
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
+
* ```javascript
|
|
15
|
+
* import { ElasticsearchServiceClient, AuthorizeVpcEndpointAccessCommand } from "@aws-sdk/client-elasticsearch-service"; // ES Modules import
|
|
16
|
+
* // const { ElasticsearchServiceClient, AuthorizeVpcEndpointAccessCommand } = require("@aws-sdk/client-elasticsearch-service"); // CommonJS import
|
|
17
|
+
* const client = new ElasticsearchServiceClient(config);
|
|
18
|
+
* const command = new AuthorizeVpcEndpointAccessCommand(input);
|
|
19
|
+
* const response = await client.send(command);
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @see {@link AuthorizeVpcEndpointAccessCommandInput} for command's `input` shape.
|
|
23
|
+
* @see {@link AuthorizeVpcEndpointAccessCommandOutput} for command's `response` shape.
|
|
24
|
+
* @see {@link ElasticsearchServiceClientResolvedConfig | config} for ElasticsearchServiceClient's `config` shape.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export declare class AuthorizeVpcEndpointAccessCommand extends $Command<AuthorizeVpcEndpointAccessCommandInput, AuthorizeVpcEndpointAccessCommandOutput, ElasticsearchServiceClientResolvedConfig> {
|
|
28
|
+
readonly input: AuthorizeVpcEndpointAccessCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: AuthorizeVpcEndpointAccessCommandInput);
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ElasticsearchServiceClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AuthorizeVpcEndpointAccessCommandInput, AuthorizeVpcEndpointAccessCommandOutput>;
|
|
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 { ElasticsearchServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ElasticsearchServiceClient";
|
|
5
|
+
import { CreateVpcEndpointRequest, CreateVpcEndpointResponse } from "../models/models_0";
|
|
6
|
+
export interface CreateVpcEndpointCommandInput extends CreateVpcEndpointRequest {
|
|
7
|
+
}
|
|
8
|
+
export interface CreateVpcEndpointCommandOutput extends CreateVpcEndpointResponse, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Creates an Amazon OpenSearch Service-managed VPC endpoint.</p>
|
|
12
|
+
* @example
|
|
13
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
+
* ```javascript
|
|
15
|
+
* import { ElasticsearchServiceClient, CreateVpcEndpointCommand } from "@aws-sdk/client-elasticsearch-service"; // ES Modules import
|
|
16
|
+
* // const { ElasticsearchServiceClient, CreateVpcEndpointCommand } = require("@aws-sdk/client-elasticsearch-service"); // CommonJS import
|
|
17
|
+
* const client = new ElasticsearchServiceClient(config);
|
|
18
|
+
* const command = new CreateVpcEndpointCommand(input);
|
|
19
|
+
* const response = await client.send(command);
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @see {@link CreateVpcEndpointCommandInput} for command's `input` shape.
|
|
23
|
+
* @see {@link CreateVpcEndpointCommandOutput} for command's `response` shape.
|
|
24
|
+
* @see {@link ElasticsearchServiceClientResolvedConfig | config} for ElasticsearchServiceClient's `config` shape.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export declare class CreateVpcEndpointCommand extends $Command<CreateVpcEndpointCommandInput, CreateVpcEndpointCommandOutput, ElasticsearchServiceClientResolvedConfig> {
|
|
28
|
+
readonly input: CreateVpcEndpointCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: CreateVpcEndpointCommandInput);
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ElasticsearchServiceClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateVpcEndpointCommandInput, CreateVpcEndpointCommandOutput>;
|
|
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 { ElasticsearchServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ElasticsearchServiceClient";
|
|
5
|
+
import { DeleteVpcEndpointRequest, DeleteVpcEndpointResponse } from "../models/models_0";
|
|
6
|
+
export interface DeleteVpcEndpointCommandInput extends DeleteVpcEndpointRequest {
|
|
7
|
+
}
|
|
8
|
+
export interface DeleteVpcEndpointCommandOutput extends DeleteVpcEndpointResponse, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Deletes an Amazon OpenSearch Service-managed interface VPC endpoint.</p>
|
|
12
|
+
* @example
|
|
13
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
+
* ```javascript
|
|
15
|
+
* import { ElasticsearchServiceClient, DeleteVpcEndpointCommand } from "@aws-sdk/client-elasticsearch-service"; // ES Modules import
|
|
16
|
+
* // const { ElasticsearchServiceClient, DeleteVpcEndpointCommand } = require("@aws-sdk/client-elasticsearch-service"); // CommonJS import
|
|
17
|
+
* const client = new ElasticsearchServiceClient(config);
|
|
18
|
+
* const command = new DeleteVpcEndpointCommand(input);
|
|
19
|
+
* const response = await client.send(command);
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @see {@link DeleteVpcEndpointCommandInput} for command's `input` shape.
|
|
23
|
+
* @see {@link DeleteVpcEndpointCommandOutput} for command's `response` shape.
|
|
24
|
+
* @see {@link ElasticsearchServiceClientResolvedConfig | config} for ElasticsearchServiceClient's `config` shape.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export declare class DeleteVpcEndpointCommand extends $Command<DeleteVpcEndpointCommandInput, DeleteVpcEndpointCommandOutput, ElasticsearchServiceClientResolvedConfig> {
|
|
28
|
+
readonly input: DeleteVpcEndpointCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: DeleteVpcEndpointCommandInput);
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ElasticsearchServiceClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteVpcEndpointCommandInput, DeleteVpcEndpointCommandOutput>;
|
|
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 { ElasticsearchServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ElasticsearchServiceClient";
|
|
5
|
+
import { DescribeVpcEndpointsRequest, DescribeVpcEndpointsResponse } from "../models/models_0";
|
|
6
|
+
export interface DescribeVpcEndpointsCommandInput extends DescribeVpcEndpointsRequest {
|
|
7
|
+
}
|
|
8
|
+
export interface DescribeVpcEndpointsCommandOutput extends DescribeVpcEndpointsResponse, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Describes one or more Amazon OpenSearch Service-managed VPC endpoints.</p>
|
|
12
|
+
* @example
|
|
13
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
+
* ```javascript
|
|
15
|
+
* import { ElasticsearchServiceClient, DescribeVpcEndpointsCommand } from "@aws-sdk/client-elasticsearch-service"; // ES Modules import
|
|
16
|
+
* // const { ElasticsearchServiceClient, DescribeVpcEndpointsCommand } = require("@aws-sdk/client-elasticsearch-service"); // CommonJS import
|
|
17
|
+
* const client = new ElasticsearchServiceClient(config);
|
|
18
|
+
* const command = new DescribeVpcEndpointsCommand(input);
|
|
19
|
+
* const response = await client.send(command);
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @see {@link DescribeVpcEndpointsCommandInput} for command's `input` shape.
|
|
23
|
+
* @see {@link DescribeVpcEndpointsCommandOutput} for command's `response` shape.
|
|
24
|
+
* @see {@link ElasticsearchServiceClientResolvedConfig | config} for ElasticsearchServiceClient's `config` shape.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export declare class DescribeVpcEndpointsCommand extends $Command<DescribeVpcEndpointsCommandInput, DescribeVpcEndpointsCommandOutput, ElasticsearchServiceClientResolvedConfig> {
|
|
28
|
+
readonly input: DescribeVpcEndpointsCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: DescribeVpcEndpointsCommandInput);
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ElasticsearchServiceClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeVpcEndpointsCommandInput, DescribeVpcEndpointsCommandOutput>;
|
|
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 { ElasticsearchServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ElasticsearchServiceClient";
|
|
5
|
+
import { ListVpcEndpointAccessRequest, ListVpcEndpointAccessResponse } from "../models/models_0";
|
|
6
|
+
export interface ListVpcEndpointAccessCommandInput extends ListVpcEndpointAccessRequest {
|
|
7
|
+
}
|
|
8
|
+
export interface ListVpcEndpointAccessCommandOutput extends ListVpcEndpointAccessResponse, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Retrieves information about each principal that is allowed to access a
|
|
12
|
+
* given Amazon OpenSearch Service domain through the use of an interface VPC endpoint.</p>
|
|
13
|
+
* @example
|
|
14
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
+
* ```javascript
|
|
16
|
+
* import { ElasticsearchServiceClient, ListVpcEndpointAccessCommand } from "@aws-sdk/client-elasticsearch-service"; // ES Modules import
|
|
17
|
+
* // const { ElasticsearchServiceClient, ListVpcEndpointAccessCommand } = require("@aws-sdk/client-elasticsearch-service"); // CommonJS import
|
|
18
|
+
* const client = new ElasticsearchServiceClient(config);
|
|
19
|
+
* const command = new ListVpcEndpointAccessCommand(input);
|
|
20
|
+
* const response = await client.send(command);
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* @see {@link ListVpcEndpointAccessCommandInput} for command's `input` shape.
|
|
24
|
+
* @see {@link ListVpcEndpointAccessCommandOutput} for command's `response` shape.
|
|
25
|
+
* @see {@link ElasticsearchServiceClientResolvedConfig | config} for ElasticsearchServiceClient's `config` shape.
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
export declare class ListVpcEndpointAccessCommand extends $Command<ListVpcEndpointAccessCommandInput, ListVpcEndpointAccessCommandOutput, ElasticsearchServiceClientResolvedConfig> {
|
|
29
|
+
readonly input: ListVpcEndpointAccessCommandInput;
|
|
30
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
31
|
+
constructor(input: ListVpcEndpointAccessCommandInput);
|
|
32
|
+
/**
|
|
33
|
+
* @internal
|
|
34
|
+
*/
|
|
35
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ElasticsearchServiceClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListVpcEndpointAccessCommandInput, ListVpcEndpointAccessCommandOutput>;
|
|
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 { ElasticsearchServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ElasticsearchServiceClient";
|
|
5
|
+
import { ListVpcEndpointsRequest, ListVpcEndpointsResponse } from "../models/models_0";
|
|
6
|
+
export interface ListVpcEndpointsCommandInput extends ListVpcEndpointsRequest {
|
|
7
|
+
}
|
|
8
|
+
export interface ListVpcEndpointsCommandOutput extends ListVpcEndpointsResponse, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Retrieves all Amazon OpenSearch Service-managed VPC endpoints in the current account and Region.</p>
|
|
12
|
+
* @example
|
|
13
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
+
* ```javascript
|
|
15
|
+
* import { ElasticsearchServiceClient, ListVpcEndpointsCommand } from "@aws-sdk/client-elasticsearch-service"; // ES Modules import
|
|
16
|
+
* // const { ElasticsearchServiceClient, ListVpcEndpointsCommand } = require("@aws-sdk/client-elasticsearch-service"); // CommonJS import
|
|
17
|
+
* const client = new ElasticsearchServiceClient(config);
|
|
18
|
+
* const command = new ListVpcEndpointsCommand(input);
|
|
19
|
+
* const response = await client.send(command);
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @see {@link ListVpcEndpointsCommandInput} for command's `input` shape.
|
|
23
|
+
* @see {@link ListVpcEndpointsCommandOutput} for command's `response` shape.
|
|
24
|
+
* @see {@link ElasticsearchServiceClientResolvedConfig | config} for ElasticsearchServiceClient's `config` shape.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export declare class ListVpcEndpointsCommand extends $Command<ListVpcEndpointsCommandInput, ListVpcEndpointsCommandOutput, ElasticsearchServiceClientResolvedConfig> {
|
|
28
|
+
readonly input: ListVpcEndpointsCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: ListVpcEndpointsCommandInput);
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ElasticsearchServiceClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListVpcEndpointsCommandInput, ListVpcEndpointsCommandOutput>;
|
|
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 { ElasticsearchServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ElasticsearchServiceClient";
|
|
5
|
+
import { ListVpcEndpointsForDomainRequest, ListVpcEndpointsForDomainResponse } from "../models/models_0";
|
|
6
|
+
export interface ListVpcEndpointsForDomainCommandInput extends ListVpcEndpointsForDomainRequest {
|
|
7
|
+
}
|
|
8
|
+
export interface ListVpcEndpointsForDomainCommandOutput extends ListVpcEndpointsForDomainResponse, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Retrieves all Amazon OpenSearch Service-managed VPC endpoints associated with a particular domain.</p>
|
|
12
|
+
* @example
|
|
13
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
+
* ```javascript
|
|
15
|
+
* import { ElasticsearchServiceClient, ListVpcEndpointsForDomainCommand } from "@aws-sdk/client-elasticsearch-service"; // ES Modules import
|
|
16
|
+
* // const { ElasticsearchServiceClient, ListVpcEndpointsForDomainCommand } = require("@aws-sdk/client-elasticsearch-service"); // CommonJS import
|
|
17
|
+
* const client = new ElasticsearchServiceClient(config);
|
|
18
|
+
* const command = new ListVpcEndpointsForDomainCommand(input);
|
|
19
|
+
* const response = await client.send(command);
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @see {@link ListVpcEndpointsForDomainCommandInput} for command's `input` shape.
|
|
23
|
+
* @see {@link ListVpcEndpointsForDomainCommandOutput} for command's `response` shape.
|
|
24
|
+
* @see {@link ElasticsearchServiceClientResolvedConfig | config} for ElasticsearchServiceClient's `config` shape.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export declare class ListVpcEndpointsForDomainCommand extends $Command<ListVpcEndpointsForDomainCommandInput, ListVpcEndpointsForDomainCommandOutput, ElasticsearchServiceClientResolvedConfig> {
|
|
28
|
+
readonly input: ListVpcEndpointsForDomainCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: ListVpcEndpointsForDomainCommandInput);
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ElasticsearchServiceClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListVpcEndpointsForDomainCommandInput, ListVpcEndpointsForDomainCommandOutput>;
|
|
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 { ElasticsearchServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ElasticsearchServiceClient";
|
|
5
|
+
import { RevokeVpcEndpointAccessRequest, RevokeVpcEndpointAccessResponse } from "../models/models_0";
|
|
6
|
+
export interface RevokeVpcEndpointAccessCommandInput extends RevokeVpcEndpointAccessRequest {
|
|
7
|
+
}
|
|
8
|
+
export interface RevokeVpcEndpointAccessCommandOutput extends RevokeVpcEndpointAccessResponse, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Revokes access to an Amazon OpenSearch Service domain that was provided through an interface
|
|
12
|
+
* VPC endpoint.</p>
|
|
13
|
+
* @example
|
|
14
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
+
* ```javascript
|
|
16
|
+
* import { ElasticsearchServiceClient, RevokeVpcEndpointAccessCommand } from "@aws-sdk/client-elasticsearch-service"; // ES Modules import
|
|
17
|
+
* // const { ElasticsearchServiceClient, RevokeVpcEndpointAccessCommand } = require("@aws-sdk/client-elasticsearch-service"); // CommonJS import
|
|
18
|
+
* const client = new ElasticsearchServiceClient(config);
|
|
19
|
+
* const command = new RevokeVpcEndpointAccessCommand(input);
|
|
20
|
+
* const response = await client.send(command);
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* @see {@link RevokeVpcEndpointAccessCommandInput} for command's `input` shape.
|
|
24
|
+
* @see {@link RevokeVpcEndpointAccessCommandOutput} for command's `response` shape.
|
|
25
|
+
* @see {@link ElasticsearchServiceClientResolvedConfig | config} for ElasticsearchServiceClient's `config` shape.
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
export declare class RevokeVpcEndpointAccessCommand extends $Command<RevokeVpcEndpointAccessCommandInput, RevokeVpcEndpointAccessCommandOutput, ElasticsearchServiceClientResolvedConfig> {
|
|
29
|
+
readonly input: RevokeVpcEndpointAccessCommandInput;
|
|
30
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
31
|
+
constructor(input: RevokeVpcEndpointAccessCommandInput);
|
|
32
|
+
/**
|
|
33
|
+
* @internal
|
|
34
|
+
*/
|
|
35
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ElasticsearchServiceClientResolvedConfig, options?: __HttpHandlerOptions): Handler<RevokeVpcEndpointAccessCommandInput, RevokeVpcEndpointAccessCommandOutput>;
|
|
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 { ElasticsearchServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ElasticsearchServiceClient";
|
|
5
|
+
import { UpdateVpcEndpointRequest, UpdateVpcEndpointResponse } from "../models/models_0";
|
|
6
|
+
export interface UpdateVpcEndpointCommandInput extends UpdateVpcEndpointRequest {
|
|
7
|
+
}
|
|
8
|
+
export interface UpdateVpcEndpointCommandOutput extends UpdateVpcEndpointResponse, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Modifies an Amazon OpenSearch Service-managed interface VPC endpoint.</p>
|
|
12
|
+
* @example
|
|
13
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
+
* ```javascript
|
|
15
|
+
* import { ElasticsearchServiceClient, UpdateVpcEndpointCommand } from "@aws-sdk/client-elasticsearch-service"; // ES Modules import
|
|
16
|
+
* // const { ElasticsearchServiceClient, UpdateVpcEndpointCommand } = require("@aws-sdk/client-elasticsearch-service"); // CommonJS import
|
|
17
|
+
* const client = new ElasticsearchServiceClient(config);
|
|
18
|
+
* const command = new UpdateVpcEndpointCommand(input);
|
|
19
|
+
* const response = await client.send(command);
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @see {@link UpdateVpcEndpointCommandInput} for command's `input` shape.
|
|
23
|
+
* @see {@link UpdateVpcEndpointCommandOutput} for command's `response` shape.
|
|
24
|
+
* @see {@link ElasticsearchServiceClientResolvedConfig | config} for ElasticsearchServiceClient's `config` shape.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export declare class UpdateVpcEndpointCommand extends $Command<UpdateVpcEndpointCommandInput, UpdateVpcEndpointCommandOutput, ElasticsearchServiceClientResolvedConfig> {
|
|
28
|
+
readonly input: UpdateVpcEndpointCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: UpdateVpcEndpointCommandInput);
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ElasticsearchServiceClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateVpcEndpointCommandInput, UpdateVpcEndpointCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|