@aws-sdk/client-elasticsearch-service 3.36.0 → 3.39.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/CHANGELOG.md +42 -0
- package/dist-cjs/ElasticsearchService.js +0 -9
- package/dist-cjs/ElasticsearchServiceClient.js +0 -14
- package/dist-cjs/commands/AcceptInboundCrossClusterSearchConnectionCommand.js +0 -24
- package/dist-cjs/commands/AddTagsCommand.js +0 -25
- package/dist-cjs/commands/AssociatePackageCommand.js +0 -24
- package/dist-cjs/commands/CancelElasticsearchServiceSoftwareUpdateCommand.js +0 -24
- package/dist-cjs/commands/CreateElasticsearchDomainCommand.js +0 -25
- package/dist-cjs/commands/CreateOutboundCrossClusterSearchConnectionCommand.js +0 -24
- package/dist-cjs/commands/CreatePackageCommand.js +0 -24
- package/dist-cjs/commands/DeleteElasticsearchDomainCommand.js +0 -24
- package/dist-cjs/commands/DeleteElasticsearchServiceRoleCommand.js +0 -24
- package/dist-cjs/commands/DeleteInboundCrossClusterSearchConnectionCommand.js +0 -24
- package/dist-cjs/commands/DeleteOutboundCrossClusterSearchConnectionCommand.js +0 -24
- package/dist-cjs/commands/DeletePackageCommand.js +0 -24
- package/dist-cjs/commands/DescribeDomainAutoTunesCommand.js +0 -24
- package/dist-cjs/commands/DescribeElasticsearchDomainCommand.js +0 -24
- package/dist-cjs/commands/DescribeElasticsearchDomainConfigCommand.js +0 -24
- package/dist-cjs/commands/DescribeElasticsearchDomainsCommand.js +0 -24
- package/dist-cjs/commands/DescribeElasticsearchInstanceTypeLimitsCommand.js +0 -31
- package/dist-cjs/commands/DescribeInboundCrossClusterSearchConnectionsCommand.js +0 -24
- package/dist-cjs/commands/DescribeOutboundCrossClusterSearchConnectionsCommand.js +0 -24
- package/dist-cjs/commands/DescribePackagesCommand.js +0 -24
- package/dist-cjs/commands/DescribeReservedElasticsearchInstanceOfferingsCommand.js +0 -24
- package/dist-cjs/commands/DescribeReservedElasticsearchInstancesCommand.js +0 -24
- package/dist-cjs/commands/DissociatePackageCommand.js +0 -24
- package/dist-cjs/commands/GetCompatibleElasticsearchVersionsCommand.js +0 -31
- package/dist-cjs/commands/GetPackageVersionHistoryCommand.js +0 -24
- package/dist-cjs/commands/GetUpgradeHistoryCommand.js +0 -24
- package/dist-cjs/commands/GetUpgradeStatusCommand.js +0 -24
- package/dist-cjs/commands/ListDomainNamesCommand.js +0 -24
- package/dist-cjs/commands/ListDomainsForPackageCommand.js +0 -24
- package/dist-cjs/commands/ListElasticsearchInstanceTypesCommand.js +0 -24
- package/dist-cjs/commands/ListElasticsearchVersionsCommand.js +0 -24
- package/dist-cjs/commands/ListPackagesForDomainCommand.js +0 -24
- package/dist-cjs/commands/ListTagsCommand.js +0 -24
- package/dist-cjs/commands/PurchaseReservedElasticsearchInstanceOfferingCommand.js +0 -24
- package/dist-cjs/commands/RejectInboundCrossClusterSearchConnectionCommand.js +0 -24
- package/dist-cjs/commands/RemoveTagsCommand.js +0 -24
- package/dist-cjs/commands/StartElasticsearchServiceSoftwareUpdateCommand.js +0 -24
- package/dist-cjs/commands/UpdateElasticsearchDomainConfigCommand.js +0 -24
- package/dist-cjs/commands/UpdatePackageCommand.js +0 -24
- package/dist-cjs/commands/UpgradeElasticsearchDomainCommand.js +0 -24
- package/dist-cjs/commands/index.js +43 -0
- package/dist-cjs/endpoints.js +6 -1
- package/dist-cjs/index.js +4 -55
- package/dist-cjs/models/models_0.js +0 -474
- package/dist-cjs/pagination/DescribeDomainAutoTunesPaginator.js +0 -10
- package/dist-cjs/pagination/DescribeInboundCrossClusterSearchConnectionsPaginator.js +0 -10
- package/dist-cjs/pagination/DescribeOutboundCrossClusterSearchConnectionsPaginator.js +0 -10
- package/dist-cjs/pagination/DescribePackagesPaginator.js +0 -10
- package/dist-cjs/pagination/DescribeReservedElasticsearchInstanceOfferingsPaginator.js +0 -10
- package/dist-cjs/pagination/DescribeReservedElasticsearchInstancesPaginator.js +0 -10
- package/dist-cjs/pagination/GetPackageVersionHistoryPaginator.js +0 -10
- package/dist-cjs/pagination/GetUpgradeHistoryPaginator.js +0 -10
- package/dist-cjs/pagination/ListDomainsForPackagePaginator.js +0 -10
- package/dist-cjs/pagination/ListElasticsearchInstanceTypesPaginator.js +0 -10
- package/dist-cjs/pagination/ListElasticsearchVersionsPaginator.js +0 -10
- package/dist-cjs/pagination/ListPackagesForDomainPaginator.js +0 -10
- package/dist-cjs/pagination/index.js +16 -0
- package/dist-cjs/protocols/Aws_restJson1.js +0 -5
- package/dist-cjs/runtimeConfig.browser.js +1 -5
- package/dist-cjs/runtimeConfig.js +1 -5
- package/dist-cjs/runtimeConfig.native.js +0 -3
- package/dist-cjs/runtimeConfig.shared.js +0 -3
- package/dist-es/commands/index.js +40 -0
- package/dist-es/endpoints.js +6 -1
- package/dist-es/index.js +4 -55
- package/dist-es/pagination/index.js +13 -0
- package/dist-types/commands/index.d.ts +40 -0
- package/dist-types/index.d.ts +4 -55
- package/dist-types/pagination/index.d.ts +13 -0
- package/dist-types/ts3.4/ElasticsearchService.d.ts +41 -145
- package/dist-types/ts3.4/ElasticsearchServiceClient.d.ts +24 -95
- package/dist-types/ts3.4/commands/AcceptInboundCrossClusterSearchConnectionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/AddTagsCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/AssociatePackageCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CancelElasticsearchServiceSoftwareUpdateCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateElasticsearchDomainCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/CreateOutboundCrossClusterSearchConnectionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreatePackageCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteElasticsearchDomainCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteElasticsearchServiceRoleCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteInboundCrossClusterSearchConnectionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteOutboundCrossClusterSearchConnectionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeletePackageCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeDomainAutoTunesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeElasticsearchDomainCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeElasticsearchDomainConfigCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeElasticsearchDomainsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeElasticsearchInstanceTypeLimitsCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/DescribeInboundCrossClusterSearchConnectionsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeOutboundCrossClusterSearchConnectionsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribePackagesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeReservedElasticsearchInstanceOfferingsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeReservedElasticsearchInstancesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DissociatePackageCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetCompatibleElasticsearchVersionsCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/GetPackageVersionHistoryCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetUpgradeHistoryCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetUpgradeStatusCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListDomainNamesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListDomainsForPackageCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListElasticsearchInstanceTypesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListElasticsearchVersionsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListPackagesForDomainCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListTagsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/PurchaseReservedElasticsearchInstanceOfferingCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/RejectInboundCrossClusterSearchConnectionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/RemoveTagsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/StartElasticsearchServiceSoftwareUpdateCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateElasticsearchDomainConfigCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdatePackageCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpgradeElasticsearchDomainCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/index.d.ts +40 -0
- package/dist-types/ts3.4/index.d.ts +4 -55
- package/dist-types/ts3.4/models/models_0.d.ts +740 -2761
- package/dist-types/ts3.4/pagination/index.d.ts +13 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +32 -32
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,48 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.39.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.38.0...v3.39.0) (2021-10-29)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-elasticsearch-service
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.38.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.37.0...v3.38.0) (2021-10-22)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Features
|
|
18
|
+
|
|
19
|
+
* **client-documentation-generator:** rename package ([#2916](https://github.com/aws/aws-sdk-js-v3/issues/2916)) ([1a80bfd](https://github.com/aws/aws-sdk-js-v3/commit/1a80bfd2dfc583001ddb4a21b6432eaaad699aa7))
|
|
20
|
+
* **clients:** export folder from index.ts ([#2912](https://github.com/aws/aws-sdk-js-v3/issues/2912)) ([183b46d](https://github.com/aws/aws-sdk-js-v3/commit/183b46dde7f5613128038bf1c076f3c0b693203b))
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
# [3.37.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.1...v3.37.0) (2021-10-15)
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
### Features
|
|
30
|
+
|
|
31
|
+
* **clients:** update clients as of 10/15/2021 ([#2902](https://github.com/aws/aws-sdk-js-v3/issues/2902)) ([2730b54](https://github.com/aws/aws-sdk-js-v3/commit/2730b5424377944a5a2ad5e1ad7d3ca4135dae1c))
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
## [3.36.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.0...v3.36.1) (2021-10-12)
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
### Bug Fixes
|
|
41
|
+
|
|
42
|
+
* **clients:** emitDeclarationOnly in tsconfig.types.json ([#2893](https://github.com/aws/aws-sdk-js-v3/issues/2893)) ([6dc3d56](https://github.com/aws/aws-sdk-js-v3/commit/6dc3d56c20809c90cbdc4dd48627eeebc64af99d))
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
|
|
6
48
|
# [3.36.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.35.0...v3.36.0) (2021-10-08)
|
|
7
49
|
|
|
8
50
|
|
|
@@ -42,15 +42,6 @@ const UpdateElasticsearchDomainConfigCommand_1 = require("./commands/UpdateElast
|
|
|
42
42
|
const UpdatePackageCommand_1 = require("./commands/UpdatePackageCommand");
|
|
43
43
|
const UpgradeElasticsearchDomainCommand_1 = require("./commands/UpgradeElasticsearchDomainCommand");
|
|
44
44
|
const ElasticsearchServiceClient_1 = require("./ElasticsearchServiceClient");
|
|
45
|
-
/**
|
|
46
|
-
* <fullname>Amazon Elasticsearch Configuration Service</fullname>
|
|
47
|
-
* <p>Use the Amazon Elasticsearch Configuration API to create, configure, and manage Elasticsearch domains.</p>
|
|
48
|
-
* <p>For sample code that uses the Configuration API, see the <a href="https://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-configuration-samples.html">Amazon Elasticsearch Service Developer Guide</a>.
|
|
49
|
-
* The guide also contains <a href="https://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-request-signing.html">sample code for sending signed HTTP requests to the Elasticsearch APIs</a>.</p>
|
|
50
|
-
* <p>The endpoint for configuration service requests is region-specific: es.<i>region</i>.amazonaws.com.
|
|
51
|
-
* For example, es.us-east-1.amazonaws.com. For a current list of supported regions and endpoints,
|
|
52
|
-
* see <a href="http://docs.aws.amazon.com/general/latest/gr/rande.html#elasticsearch-service-regions" target="_blank">Regions and Endpoints</a>.</p>
|
|
53
|
-
*/
|
|
54
45
|
class ElasticsearchService extends ElasticsearchServiceClient_1.ElasticsearchServiceClient {
|
|
55
46
|
acceptInboundCrossClusterSearchConnection(args, optionsOrCb, cb) {
|
|
56
47
|
const command = new AcceptInboundCrossClusterSearchConnectionCommand_1.AcceptInboundCrossClusterSearchConnectionCommand(args);
|
|
@@ -10,15 +10,6 @@ const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
|
10
10
|
const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
|
|
11
11
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
12
12
|
const runtimeConfig_1 = require("./runtimeConfig");
|
|
13
|
-
/**
|
|
14
|
-
* <fullname>Amazon Elasticsearch Configuration Service</fullname>
|
|
15
|
-
* <p>Use the Amazon Elasticsearch Configuration API to create, configure, and manage Elasticsearch domains.</p>
|
|
16
|
-
* <p>For sample code that uses the Configuration API, see the <a href="https://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-configuration-samples.html">Amazon Elasticsearch Service Developer Guide</a>.
|
|
17
|
-
* The guide also contains <a href="https://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-request-signing.html">sample code for sending signed HTTP requests to the Elasticsearch APIs</a>.</p>
|
|
18
|
-
* <p>The endpoint for configuration service requests is region-specific: es.<i>region</i>.amazonaws.com.
|
|
19
|
-
* For example, es.us-east-1.amazonaws.com. For a current list of supported regions and endpoints,
|
|
20
|
-
* see <a href="http://docs.aws.amazon.com/general/latest/gr/rande.html#elasticsearch-service-regions" target="_blank">Regions and Endpoints</a>.</p>
|
|
21
|
-
*/
|
|
22
13
|
class ElasticsearchServiceClient extends smithy_client_1.Client {
|
|
23
14
|
constructor(configuration) {
|
|
24
15
|
const _config_0 = runtimeConfig_1.getRuntimeConfig(configuration);
|
|
@@ -37,11 +28,6 @@ class ElasticsearchServiceClient extends smithy_client_1.Client {
|
|
|
37
28
|
this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(this.config));
|
|
38
29
|
this.middlewareStack.use(middleware_user_agent_1.getUserAgentPlugin(this.config));
|
|
39
30
|
}
|
|
40
|
-
/**
|
|
41
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
42
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
43
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
44
|
-
*/
|
|
45
31
|
destroy() {
|
|
46
32
|
super.destroy();
|
|
47
33
|
}
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Allows the destination domain owner to accept an inbound cross-cluster search connection request.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { ElasticsearchServiceClient, AcceptInboundCrossClusterSearchConnectionCommand } from "@aws-sdk/client-elasticsearch-service"; // ES Modules import
|
|
14
|
-
* // const { ElasticsearchServiceClient, AcceptInboundCrossClusterSearchConnectionCommand } = require("@aws-sdk/client-elasticsearch-service"); // CommonJS import
|
|
15
|
-
* const client = new ElasticsearchServiceClient(config);
|
|
16
|
-
* const command = new AcceptInboundCrossClusterSearchConnectionCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link AcceptInboundCrossClusterSearchConnectionCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link AcceptInboundCrossClusterSearchConnectionCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link ElasticsearchServiceClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class AcceptInboundCrossClusterSearchConnectionCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,36 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Attaches tags to an existing Elasticsearch domain. Tags are a set of case-sensitive key value pairs. An Elasticsearch domain may have up to 10 tags. See <a href="http://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-managedomains.html#es-managedomains-awsresorcetagging" target="_blank">
|
|
10
|
-
* Tagging Amazon Elasticsearch Service Domains for more information.</a></p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { ElasticsearchServiceClient, AddTagsCommand } from "@aws-sdk/client-elasticsearch-service"; // ES Modules import
|
|
15
|
-
* // const { ElasticsearchServiceClient, AddTagsCommand } = require("@aws-sdk/client-elasticsearch-service"); // CommonJS import
|
|
16
|
-
* const client = new ElasticsearchServiceClient(config);
|
|
17
|
-
* const command = new AddTagsCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link AddTagsCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link AddTagsCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link ElasticsearchServiceClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
26
8
|
class AddTagsCommand extends smithy_client_1.Command {
|
|
27
|
-
// Start section: command_properties
|
|
28
|
-
// End section: command_properties
|
|
29
9
|
constructor(input) {
|
|
30
|
-
// Start section: command_constructor
|
|
31
10
|
super();
|
|
32
11
|
this.input = input;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Associates a package with an Amazon ES domain.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { ElasticsearchServiceClient, AssociatePackageCommand } from "@aws-sdk/client-elasticsearch-service"; // ES Modules import
|
|
14
|
-
* // const { ElasticsearchServiceClient, AssociatePackageCommand } = require("@aws-sdk/client-elasticsearch-service"); // CommonJS import
|
|
15
|
-
* const client = new ElasticsearchServiceClient(config);
|
|
16
|
-
* const command = new AssociatePackageCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link AssociatePackageCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link AssociatePackageCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link ElasticsearchServiceClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class AssociatePackageCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <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>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { ElasticsearchServiceClient, CancelElasticsearchServiceSoftwareUpdateCommand } from "@aws-sdk/client-elasticsearch-service"; // ES Modules import
|
|
14
|
-
* // const { ElasticsearchServiceClient, CancelElasticsearchServiceSoftwareUpdateCommand } = require("@aws-sdk/client-elasticsearch-service"); // CommonJS import
|
|
15
|
-
* const client = new ElasticsearchServiceClient(config);
|
|
16
|
-
* const command = new CancelElasticsearchServiceSoftwareUpdateCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link CancelElasticsearchServiceSoftwareUpdateCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link CancelElasticsearchServiceSoftwareUpdateCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link ElasticsearchServiceClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class CancelElasticsearchServiceSoftwareUpdateCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,36 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Creates a new Elasticsearch domain. For more information,
|
|
10
|
-
* see <a href="http://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-createupdatedomains.html#es-createdomains" target="_blank">Creating Elasticsearch Domains</a> in the <i>Amazon Elasticsearch Service Developer Guide</i>.</p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { ElasticsearchServiceClient, CreateElasticsearchDomainCommand } from "@aws-sdk/client-elasticsearch-service"; // ES Modules import
|
|
15
|
-
* // const { ElasticsearchServiceClient, CreateElasticsearchDomainCommand } = require("@aws-sdk/client-elasticsearch-service"); // CommonJS import
|
|
16
|
-
* const client = new ElasticsearchServiceClient(config);
|
|
17
|
-
* const command = new CreateElasticsearchDomainCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link CreateElasticsearchDomainCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link CreateElasticsearchDomainCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link ElasticsearchServiceClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
26
8
|
class CreateElasticsearchDomainCommand extends smithy_client_1.Command {
|
|
27
|
-
// Start section: command_properties
|
|
28
|
-
// End section: command_properties
|
|
29
9
|
constructor(input) {
|
|
30
|
-
// Start section: command_constructor
|
|
31
10
|
super();
|
|
32
11
|
this.input = input;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Creates a new cross-cluster search connection from a source domain to a destination domain.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { ElasticsearchServiceClient, CreateOutboundCrossClusterSearchConnectionCommand } from "@aws-sdk/client-elasticsearch-service"; // ES Modules import
|
|
14
|
-
* // const { ElasticsearchServiceClient, CreateOutboundCrossClusterSearchConnectionCommand } = require("@aws-sdk/client-elasticsearch-service"); // CommonJS import
|
|
15
|
-
* const client = new ElasticsearchServiceClient(config);
|
|
16
|
-
* const command = new CreateOutboundCrossClusterSearchConnectionCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link CreateOutboundCrossClusterSearchConnectionCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link CreateOutboundCrossClusterSearchConnectionCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link ElasticsearchServiceClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class CreateOutboundCrossClusterSearchConnectionCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Create a package for use with Amazon ES domains.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { ElasticsearchServiceClient, CreatePackageCommand } from "@aws-sdk/client-elasticsearch-service"; // ES Modules import
|
|
14
|
-
* // const { ElasticsearchServiceClient, CreatePackageCommand } = require("@aws-sdk/client-elasticsearch-service"); // CommonJS import
|
|
15
|
-
* const client = new ElasticsearchServiceClient(config);
|
|
16
|
-
* const command = new CreatePackageCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link CreatePackageCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link CreatePackageCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link ElasticsearchServiceClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class CreatePackageCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Permanently deletes the specified Elasticsearch domain and all of its data. Once a domain is deleted, it cannot be recovered.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { ElasticsearchServiceClient, DeleteElasticsearchDomainCommand } from "@aws-sdk/client-elasticsearch-service"; // ES Modules import
|
|
14
|
-
* // const { ElasticsearchServiceClient, DeleteElasticsearchDomainCommand } = require("@aws-sdk/client-elasticsearch-service"); // CommonJS import
|
|
15
|
-
* const client = new ElasticsearchServiceClient(config);
|
|
16
|
-
* const command = new DeleteElasticsearchDomainCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link DeleteElasticsearchDomainCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link DeleteElasticsearchDomainCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link ElasticsearchServiceClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class DeleteElasticsearchDomainCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -4,35 +4,11 @@ exports.DeleteElasticsearchServiceRoleCommand = void 0;
|
|
|
4
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
7
|
-
/**
|
|
8
|
-
* <p>Deletes the service-linked role that Elasticsearch Service uses to manage and maintain VPC domains. Role deletion will fail if any existing VPC domains use the role. You must delete any such Elasticsearch domains before deleting the role. See <a href="http://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-vpc.html#es-enabling-slr" target="_blank">Deleting Elasticsearch Service Role</a> in <i>VPC Endpoints for Amazon Elasticsearch Service Domains</i>.</p>
|
|
9
|
-
* @example
|
|
10
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
11
|
-
* ```javascript
|
|
12
|
-
* import { ElasticsearchServiceClient, DeleteElasticsearchServiceRoleCommand } from "@aws-sdk/client-elasticsearch-service"; // ES Modules import
|
|
13
|
-
* // const { ElasticsearchServiceClient, DeleteElasticsearchServiceRoleCommand } = require("@aws-sdk/client-elasticsearch-service"); // CommonJS import
|
|
14
|
-
* const client = new ElasticsearchServiceClient(config);
|
|
15
|
-
* const command = new DeleteElasticsearchServiceRoleCommand(input);
|
|
16
|
-
* const response = await client.send(command);
|
|
17
|
-
* ```
|
|
18
|
-
*
|
|
19
|
-
* @see {@link DeleteElasticsearchServiceRoleCommandInput} for command's `input` shape.
|
|
20
|
-
* @see {@link DeleteElasticsearchServiceRoleCommandOutput} for command's `response` shape.
|
|
21
|
-
* @see {@link ElasticsearchServiceClientResolvedConfig | config} for command's `input` shape.
|
|
22
|
-
*
|
|
23
|
-
*/
|
|
24
7
|
class DeleteElasticsearchServiceRoleCommand extends smithy_client_1.Command {
|
|
25
|
-
// Start section: command_properties
|
|
26
|
-
// End section: command_properties
|
|
27
8
|
constructor(input) {
|
|
28
|
-
// Start section: command_constructor
|
|
29
9
|
super();
|
|
30
10
|
this.input = input;
|
|
31
|
-
// End section: command_constructor
|
|
32
11
|
}
|
|
33
|
-
/**
|
|
34
|
-
* @internal
|
|
35
|
-
*/
|
|
36
12
|
resolveMiddleware(clientStack, configuration, options) {
|
|
37
13
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
38
14
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Allows the destination domain owner to delete an existing inbound cross-cluster search connection.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { ElasticsearchServiceClient, DeleteInboundCrossClusterSearchConnectionCommand } from "@aws-sdk/client-elasticsearch-service"; // ES Modules import
|
|
14
|
-
* // const { ElasticsearchServiceClient, DeleteInboundCrossClusterSearchConnectionCommand } = require("@aws-sdk/client-elasticsearch-service"); // CommonJS import
|
|
15
|
-
* const client = new ElasticsearchServiceClient(config);
|
|
16
|
-
* const command = new DeleteInboundCrossClusterSearchConnectionCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link DeleteInboundCrossClusterSearchConnectionCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link DeleteInboundCrossClusterSearchConnectionCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link ElasticsearchServiceClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class DeleteInboundCrossClusterSearchConnectionCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Allows the source domain owner to delete an existing outbound cross-cluster search connection.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { ElasticsearchServiceClient, DeleteOutboundCrossClusterSearchConnectionCommand } from "@aws-sdk/client-elasticsearch-service"; // ES Modules import
|
|
14
|
-
* // const { ElasticsearchServiceClient, DeleteOutboundCrossClusterSearchConnectionCommand } = require("@aws-sdk/client-elasticsearch-service"); // CommonJS import
|
|
15
|
-
* const client = new ElasticsearchServiceClient(config);
|
|
16
|
-
* const command = new DeleteOutboundCrossClusterSearchConnectionCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link DeleteOutboundCrossClusterSearchConnectionCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link DeleteOutboundCrossClusterSearchConnectionCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link ElasticsearchServiceClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class DeleteOutboundCrossClusterSearchConnectionCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Delete the package.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { ElasticsearchServiceClient, DeletePackageCommand } from "@aws-sdk/client-elasticsearch-service"; // ES Modules import
|
|
14
|
-
* // const { ElasticsearchServiceClient, DeletePackageCommand } = require("@aws-sdk/client-elasticsearch-service"); // CommonJS import
|
|
15
|
-
* const client = new ElasticsearchServiceClient(config);
|
|
16
|
-
* const command = new DeletePackageCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link DeletePackageCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link DeletePackageCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link ElasticsearchServiceClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class DeletePackageCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Provides scheduled Auto-Tune action details for the Elasticsearch domain, such as Auto-Tune action type, description, severity, and scheduled date.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { ElasticsearchServiceClient, DescribeDomainAutoTunesCommand } from "@aws-sdk/client-elasticsearch-service"; // ES Modules import
|
|
14
|
-
* // const { ElasticsearchServiceClient, DescribeDomainAutoTunesCommand } = require("@aws-sdk/client-elasticsearch-service"); // CommonJS import
|
|
15
|
-
* const client = new ElasticsearchServiceClient(config);
|
|
16
|
-
* const command = new DescribeDomainAutoTunesCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link DescribeDomainAutoTunesCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link DescribeDomainAutoTunesCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link ElasticsearchServiceClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class DescribeDomainAutoTunesCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Returns domain configuration information about the specified Elasticsearch domain, including the domain ID, domain endpoint, and domain ARN.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { ElasticsearchServiceClient, DescribeElasticsearchDomainCommand } from "@aws-sdk/client-elasticsearch-service"; // ES Modules import
|
|
14
|
-
* // const { ElasticsearchServiceClient, DescribeElasticsearchDomainCommand } = require("@aws-sdk/client-elasticsearch-service"); // CommonJS import
|
|
15
|
-
* const client = new ElasticsearchServiceClient(config);
|
|
16
|
-
* const command = new DescribeElasticsearchDomainCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link DescribeElasticsearchDomainCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link DescribeElasticsearchDomainCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link ElasticsearchServiceClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class DescribeElasticsearchDomainCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Provides cluster configuration information about the specified Elasticsearch domain, such as the state, creation date, update version, and update date for cluster options.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { ElasticsearchServiceClient, DescribeElasticsearchDomainConfigCommand } from "@aws-sdk/client-elasticsearch-service"; // ES Modules import
|
|
14
|
-
* // const { ElasticsearchServiceClient, DescribeElasticsearchDomainConfigCommand } = require("@aws-sdk/client-elasticsearch-service"); // CommonJS import
|
|
15
|
-
* const client = new ElasticsearchServiceClient(config);
|
|
16
|
-
* const command = new DescribeElasticsearchDomainConfigCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link DescribeElasticsearchDomainConfigCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link DescribeElasticsearchDomainConfigCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link ElasticsearchServiceClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class DescribeElasticsearchDomainConfigCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|