@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
|
@@ -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 domains, 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, DescribeElasticsearchDomainsCommand } from "@aws-sdk/client-elasticsearch-service"; // ES Modules import
|
|
14
|
-
* // const { ElasticsearchServiceClient, DescribeElasticsearchDomainsCommand } = require("@aws-sdk/client-elasticsearch-service"); // CommonJS import
|
|
15
|
-
* const client = new ElasticsearchServiceClient(config);
|
|
16
|
-
* const command = new DescribeElasticsearchDomainsCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link DescribeElasticsearchDomainsCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link DescribeElasticsearchDomainsCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link ElasticsearchServiceClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class DescribeElasticsearchDomainsCommand 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,42 +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>
|
|
10
|
-
* Describe Elasticsearch Limits for a given InstanceType and ElasticsearchVersion.
|
|
11
|
-
* When modifying existing Domain, specify the
|
|
12
|
-
* <code>
|
|
13
|
-
* <a>DomainName</a>
|
|
14
|
-
* </code>
|
|
15
|
-
* to know what Limits are supported for modifying.
|
|
16
|
-
* </p>
|
|
17
|
-
* @example
|
|
18
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
19
|
-
* ```javascript
|
|
20
|
-
* import { ElasticsearchServiceClient, DescribeElasticsearchInstanceTypeLimitsCommand } from "@aws-sdk/client-elasticsearch-service"; // ES Modules import
|
|
21
|
-
* // const { ElasticsearchServiceClient, DescribeElasticsearchInstanceTypeLimitsCommand } = require("@aws-sdk/client-elasticsearch-service"); // CommonJS import
|
|
22
|
-
* const client = new ElasticsearchServiceClient(config);
|
|
23
|
-
* const command = new DescribeElasticsearchInstanceTypeLimitsCommand(input);
|
|
24
|
-
* const response = await client.send(command);
|
|
25
|
-
* ```
|
|
26
|
-
*
|
|
27
|
-
* @see {@link DescribeElasticsearchInstanceTypeLimitsCommandInput} for command's `input` shape.
|
|
28
|
-
* @see {@link DescribeElasticsearchInstanceTypeLimitsCommandOutput} for command's `response` shape.
|
|
29
|
-
* @see {@link ElasticsearchServiceClientResolvedConfig | config} for command's `input` shape.
|
|
30
|
-
*
|
|
31
|
-
*/
|
|
32
8
|
class DescribeElasticsearchInstanceTypeLimitsCommand extends smithy_client_1.Command {
|
|
33
|
-
// Start section: command_properties
|
|
34
|
-
// End section: command_properties
|
|
35
9
|
constructor(input) {
|
|
36
|
-
// Start section: command_constructor
|
|
37
10
|
super();
|
|
38
11
|
this.input = input;
|
|
39
|
-
// End section: command_constructor
|
|
40
12
|
}
|
|
41
|
-
/**
|
|
42
|
-
* @internal
|
|
43
|
-
*/
|
|
44
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
45
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
46
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>Lists all the inbound cross-cluster search connections for 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, DescribeInboundCrossClusterSearchConnectionsCommand } from "@aws-sdk/client-elasticsearch-service"; // ES Modules import
|
|
14
|
-
* // const { ElasticsearchServiceClient, DescribeInboundCrossClusterSearchConnectionsCommand } = require("@aws-sdk/client-elasticsearch-service"); // CommonJS import
|
|
15
|
-
* const client = new ElasticsearchServiceClient(config);
|
|
16
|
-
* const command = new DescribeInboundCrossClusterSearchConnectionsCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link DescribeInboundCrossClusterSearchConnectionsCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link DescribeInboundCrossClusterSearchConnectionsCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link ElasticsearchServiceClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class DescribeInboundCrossClusterSearchConnectionsCommand 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>Lists all the outbound cross-cluster search connections for a source 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, DescribeOutboundCrossClusterSearchConnectionsCommand } from "@aws-sdk/client-elasticsearch-service"; // ES Modules import
|
|
14
|
-
* // const { ElasticsearchServiceClient, DescribeOutboundCrossClusterSearchConnectionsCommand } = require("@aws-sdk/client-elasticsearch-service"); // CommonJS import
|
|
15
|
-
* const client = new ElasticsearchServiceClient(config);
|
|
16
|
-
* const command = new DescribeOutboundCrossClusterSearchConnectionsCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link DescribeOutboundCrossClusterSearchConnectionsCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link DescribeOutboundCrossClusterSearchConnectionsCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link ElasticsearchServiceClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class DescribeOutboundCrossClusterSearchConnectionsCommand 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>Describes all packages available to Amazon ES. Includes options for filtering, limiting the number of results, and pagination.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { ElasticsearchServiceClient, DescribePackagesCommand } from "@aws-sdk/client-elasticsearch-service"; // ES Modules import
|
|
14
|
-
* // const { ElasticsearchServiceClient, DescribePackagesCommand } = require("@aws-sdk/client-elasticsearch-service"); // CommonJS import
|
|
15
|
-
* const client = new ElasticsearchServiceClient(config);
|
|
16
|
-
* const command = new DescribePackagesCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link DescribePackagesCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link DescribePackagesCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link ElasticsearchServiceClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class DescribePackagesCommand 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>Lists available reserved Elasticsearch instance offerings.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { ElasticsearchServiceClient, DescribeReservedElasticsearchInstanceOfferingsCommand } from "@aws-sdk/client-elasticsearch-service"; // ES Modules import
|
|
14
|
-
* // const { ElasticsearchServiceClient, DescribeReservedElasticsearchInstanceOfferingsCommand } = require("@aws-sdk/client-elasticsearch-service"); // CommonJS import
|
|
15
|
-
* const client = new ElasticsearchServiceClient(config);
|
|
16
|
-
* const command = new DescribeReservedElasticsearchInstanceOfferingsCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link DescribeReservedElasticsearchInstanceOfferingsCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link DescribeReservedElasticsearchInstanceOfferingsCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link ElasticsearchServiceClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class DescribeReservedElasticsearchInstanceOfferingsCommand 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 information about reserved Elasticsearch instances for this account.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { ElasticsearchServiceClient, DescribeReservedElasticsearchInstancesCommand } from "@aws-sdk/client-elasticsearch-service"; // ES Modules import
|
|
14
|
-
* // const { ElasticsearchServiceClient, DescribeReservedElasticsearchInstancesCommand } = require("@aws-sdk/client-elasticsearch-service"); // CommonJS import
|
|
15
|
-
* const client = new ElasticsearchServiceClient(config);
|
|
16
|
-
* const command = new DescribeReservedElasticsearchInstancesCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link DescribeReservedElasticsearchInstancesCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link DescribeReservedElasticsearchInstancesCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link ElasticsearchServiceClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class DescribeReservedElasticsearchInstancesCommand 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>Dissociates a package from the 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, DissociatePackageCommand } from "@aws-sdk/client-elasticsearch-service"; // ES Modules import
|
|
14
|
-
* // const { ElasticsearchServiceClient, DissociatePackageCommand } = require("@aws-sdk/client-elasticsearch-service"); // CommonJS import
|
|
15
|
-
* const client = new ElasticsearchServiceClient(config);
|
|
16
|
-
* const command = new DissociatePackageCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link DissociatePackageCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link DissociatePackageCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link ElasticsearchServiceClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class DissociatePackageCommand 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,42 +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>
|
|
10
|
-
* Returns a list of upgrade compatible Elastisearch versions.
|
|
11
|
-
* You can optionally pass a
|
|
12
|
-
* <code>
|
|
13
|
-
* <a>DomainName</a>
|
|
14
|
-
* </code>
|
|
15
|
-
* to get all upgrade compatible Elasticsearch versions for that specific domain.
|
|
16
|
-
* </p>
|
|
17
|
-
* @example
|
|
18
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
19
|
-
* ```javascript
|
|
20
|
-
* import { ElasticsearchServiceClient, GetCompatibleElasticsearchVersionsCommand } from "@aws-sdk/client-elasticsearch-service"; // ES Modules import
|
|
21
|
-
* // const { ElasticsearchServiceClient, GetCompatibleElasticsearchVersionsCommand } = require("@aws-sdk/client-elasticsearch-service"); // CommonJS import
|
|
22
|
-
* const client = new ElasticsearchServiceClient(config);
|
|
23
|
-
* const command = new GetCompatibleElasticsearchVersionsCommand(input);
|
|
24
|
-
* const response = await client.send(command);
|
|
25
|
-
* ```
|
|
26
|
-
*
|
|
27
|
-
* @see {@link GetCompatibleElasticsearchVersionsCommandInput} for command's `input` shape.
|
|
28
|
-
* @see {@link GetCompatibleElasticsearchVersionsCommandOutput} for command's `response` shape.
|
|
29
|
-
* @see {@link ElasticsearchServiceClientResolvedConfig | config} for command's `input` shape.
|
|
30
|
-
*
|
|
31
|
-
*/
|
|
32
8
|
class GetCompatibleElasticsearchVersionsCommand extends smithy_client_1.Command {
|
|
33
|
-
// Start section: command_properties
|
|
34
|
-
// End section: command_properties
|
|
35
9
|
constructor(input) {
|
|
36
|
-
// Start section: command_constructor
|
|
37
10
|
super();
|
|
38
11
|
this.input = input;
|
|
39
|
-
// End section: command_constructor
|
|
40
12
|
}
|
|
41
|
-
/**
|
|
42
|
-
* @internal
|
|
43
|
-
*/
|
|
44
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
45
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
46
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 a list of versions of the package, along with their creation time and commit message.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { ElasticsearchServiceClient, GetPackageVersionHistoryCommand } from "@aws-sdk/client-elasticsearch-service"; // ES Modules import
|
|
14
|
-
* // const { ElasticsearchServiceClient, GetPackageVersionHistoryCommand } = require("@aws-sdk/client-elasticsearch-service"); // CommonJS import
|
|
15
|
-
* const client = new ElasticsearchServiceClient(config);
|
|
16
|
-
* const command = new GetPackageVersionHistoryCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link GetPackageVersionHistoryCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link GetPackageVersionHistoryCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link ElasticsearchServiceClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class GetPackageVersionHistoryCommand 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>Retrieves the complete history of the last 10 upgrades that were performed on the 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, GetUpgradeHistoryCommand } from "@aws-sdk/client-elasticsearch-service"; // ES Modules import
|
|
14
|
-
* // const { ElasticsearchServiceClient, GetUpgradeHistoryCommand } = require("@aws-sdk/client-elasticsearch-service"); // CommonJS import
|
|
15
|
-
* const client = new ElasticsearchServiceClient(config);
|
|
16
|
-
* const command = new GetUpgradeHistoryCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link GetUpgradeHistoryCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link GetUpgradeHistoryCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link ElasticsearchServiceClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class GetUpgradeHistoryCommand 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>Retrieves the latest status of the last upgrade or upgrade eligibility check that was performed on the 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, GetUpgradeStatusCommand } from "@aws-sdk/client-elasticsearch-service"; // ES Modules import
|
|
14
|
-
* // const { ElasticsearchServiceClient, GetUpgradeStatusCommand } = require("@aws-sdk/client-elasticsearch-service"); // CommonJS import
|
|
15
|
-
* const client = new ElasticsearchServiceClient(config);
|
|
16
|
-
* const command = new GetUpgradeStatusCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link GetUpgradeStatusCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link GetUpgradeStatusCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link ElasticsearchServiceClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class GetUpgradeStatusCommand 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 the name of all Elasticsearch domains owned by the current user's account. </p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { ElasticsearchServiceClient, ListDomainNamesCommand } from "@aws-sdk/client-elasticsearch-service"; // ES Modules import
|
|
14
|
-
* // const { ElasticsearchServiceClient, ListDomainNamesCommand } = require("@aws-sdk/client-elasticsearch-service"); // CommonJS import
|
|
15
|
-
* const client = new ElasticsearchServiceClient(config);
|
|
16
|
-
* const command = new ListDomainNamesCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link ListDomainNamesCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link ListDomainNamesCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link ElasticsearchServiceClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class ListDomainNamesCommand 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>Lists all Amazon ES domains associated with 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, ListDomainsForPackageCommand } from "@aws-sdk/client-elasticsearch-service"; // ES Modules import
|
|
14
|
-
* // const { ElasticsearchServiceClient, ListDomainsForPackageCommand } = require("@aws-sdk/client-elasticsearch-service"); // CommonJS import
|
|
15
|
-
* const client = new ElasticsearchServiceClient(config);
|
|
16
|
-
* const command = new ListDomainsForPackageCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link ListDomainsForPackageCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link ListDomainsForPackageCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link ElasticsearchServiceClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class ListDomainsForPackageCommand 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>List all Elasticsearch instance types that are supported for given ElasticsearchVersion</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { ElasticsearchServiceClient, ListElasticsearchInstanceTypesCommand } from "@aws-sdk/client-elasticsearch-service"; // ES Modules import
|
|
14
|
-
* // const { ElasticsearchServiceClient, ListElasticsearchInstanceTypesCommand } = require("@aws-sdk/client-elasticsearch-service"); // CommonJS import
|
|
15
|
-
* const client = new ElasticsearchServiceClient(config);
|
|
16
|
-
* const command = new ListElasticsearchInstanceTypesCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link ListElasticsearchInstanceTypesCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link ListElasticsearchInstanceTypesCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link ElasticsearchServiceClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class ListElasticsearchInstanceTypesCommand 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>List all supported Elasticsearch versions</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { ElasticsearchServiceClient, ListElasticsearchVersionsCommand } from "@aws-sdk/client-elasticsearch-service"; // ES Modules import
|
|
14
|
-
* // const { ElasticsearchServiceClient, ListElasticsearchVersionsCommand } = require("@aws-sdk/client-elasticsearch-service"); // CommonJS import
|
|
15
|
-
* const client = new ElasticsearchServiceClient(config);
|
|
16
|
-
* const command = new ListElasticsearchVersionsCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link ListElasticsearchVersionsCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link ListElasticsearchVersionsCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link ElasticsearchServiceClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class ListElasticsearchVersionsCommand 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>Lists all packages associated with the 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, ListPackagesForDomainCommand } from "@aws-sdk/client-elasticsearch-service"; // ES Modules import
|
|
14
|
-
* // const { ElasticsearchServiceClient, ListPackagesForDomainCommand } = require("@aws-sdk/client-elasticsearch-service"); // CommonJS import
|
|
15
|
-
* const client = new ElasticsearchServiceClient(config);
|
|
16
|
-
* const command = new ListPackagesForDomainCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link ListPackagesForDomainCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link ListPackagesForDomainCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link ElasticsearchServiceClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class ListPackagesForDomainCommand 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);
|