@aws-sdk/client-opensearch 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/OpenSearch.js +0 -14
- package/dist-cjs/OpenSearchClient.js +0 -19
- package/dist-cjs/commands/AcceptInboundConnectionCommand.js +0 -24
- package/dist-cjs/commands/AddTagsCommand.js +0 -28
- package/dist-cjs/commands/AssociatePackageCommand.js +0 -24
- package/dist-cjs/commands/CancelServiceSoftwareUpdateCommand.js +0 -26
- package/dist-cjs/commands/CreateDomainCommand.js +0 -27
- package/dist-cjs/commands/CreateOutboundConnectionCommand.js +0 -24
- package/dist-cjs/commands/CreatePackageCommand.js +0 -24
- package/dist-cjs/commands/DeleteDomainCommand.js +0 -26
- package/dist-cjs/commands/DeleteInboundConnectionCommand.js +0 -24
- package/dist-cjs/commands/DeleteOutboundConnectionCommand.js +0 -24
- package/dist-cjs/commands/DeletePackageCommand.js +0 -24
- package/dist-cjs/commands/DescribeDomainAutoTunesCommand.js +0 -26
- package/dist-cjs/commands/DescribeDomainCommand.js +0 -26
- package/dist-cjs/commands/DescribeDomainConfigCommand.js +0 -26
- package/dist-cjs/commands/DescribeDomainsCommand.js +0 -26
- package/dist-cjs/commands/DescribeInboundConnectionsCommand.js +0 -24
- package/dist-cjs/commands/DescribeInstanceTypeLimitsCommand.js +0 -31
- package/dist-cjs/commands/DescribeOutboundConnectionsCommand.js +0 -24
- package/dist-cjs/commands/DescribePackagesCommand.js +0 -26
- package/dist-cjs/commands/DescribeReservedInstanceOfferingsCommand.js +0 -24
- package/dist-cjs/commands/DescribeReservedInstancesCommand.js +0 -24
- package/dist-cjs/commands/DissociatePackageCommand.js +0 -24
- package/dist-cjs/commands/GetCompatibleVersionsCommand.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 -25
- package/dist-cjs/commands/ListDomainNamesCommand.js +0 -24
- package/dist-cjs/commands/ListDomainsForPackageCommand.js +0 -24
- package/dist-cjs/commands/ListInstanceTypeDetailsCommand.js +0 -7
- package/dist-cjs/commands/ListPackagesForDomainCommand.js +0 -24
- package/dist-cjs/commands/ListTagsCommand.js +0 -24
- package/dist-cjs/commands/ListVersionsCommand.js +0 -24
- package/dist-cjs/commands/PurchaseReservedInstanceOfferingCommand.js +0 -24
- package/dist-cjs/commands/RejectInboundConnectionCommand.js +0 -24
- package/dist-cjs/commands/RemoveTagsCommand.js +0 -24
- package/dist-cjs/commands/StartServiceSoftwareUpdateCommand.js +0 -24
- package/dist-cjs/commands/UpdateDomainConfigCommand.js +0 -26
- package/dist-cjs/commands/UpdatePackageCommand.js +0 -24
- package/dist-cjs/commands/UpgradeDomainCommand.js +0 -25
- package/dist-cjs/commands/index.js +42 -0
- package/dist-cjs/endpoints.js +6 -1
- package/dist-cjs/index.js +4 -54
- package/dist-cjs/models/models_0.js +0 -480
- package/dist-cjs/pagination/DescribeDomainAutoTunesPaginator.js +0 -10
- package/dist-cjs/pagination/DescribeInboundConnectionsPaginator.js +0 -10
- package/dist-cjs/pagination/DescribeOutboundConnectionsPaginator.js +0 -10
- package/dist-cjs/pagination/DescribePackagesPaginator.js +0 -10
- package/dist-cjs/pagination/DescribeReservedInstanceOfferingsPaginator.js +0 -10
- package/dist-cjs/pagination/DescribeReservedInstancesPaginator.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/ListInstanceTypeDetailsPaginator.js +0 -10
- package/dist-cjs/pagination/ListPackagesForDomainPaginator.js +0 -10
- package/dist-cjs/pagination/ListVersionsPaginator.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 +39 -0
- package/dist-es/endpoints.js +6 -1
- package/dist-es/index.js +4 -54
- package/dist-es/pagination/index.js +13 -0
- package/dist-types/commands/index.d.ts +39 -0
- package/dist-types/index.d.ts +4 -54
- package/dist-types/pagination/index.d.ts +13 -0
- package/dist-types/ts3.4/OpenSearch.d.ts +39 -167
- package/dist-types/ts3.4/OpenSearchClient.d.ts +24 -100
- package/dist-types/ts3.4/commands/AcceptInboundConnectionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/AddTagsCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/AssociatePackageCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CancelServiceSoftwareUpdateCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/CreateDomainCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/CreateOutboundConnectionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreatePackageCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteDomainCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/DeleteInboundConnectionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteOutboundConnectionCommand.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 -22
- package/dist-types/ts3.4/commands/DescribeDomainCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/DescribeDomainConfigCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/DescribeDomainsCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/DescribeInboundConnectionsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeInstanceTypeLimitsCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/DescribeOutboundConnectionsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribePackagesCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/DescribeReservedInstanceOfferingsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeReservedInstancesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DissociatePackageCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetCompatibleVersionsCommand.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 -21
- 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/ListInstanceTypeDetailsCommand.d.ts +1 -3
- 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/ListVersionsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/PurchaseReservedInstanceOfferingCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/RejectInboundConnectionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/RemoveTagsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/StartServiceSoftwareUpdateCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateDomainConfigCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/UpdatePackageCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpgradeDomainCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/index.d.ts +39 -0
- package/dist-types/ts3.4/index.d.ts +4 -54
- package/dist-types/ts3.4/models/models_0.d.ts +740 -3284
- 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,37 +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 domains, including the domain ID,
|
|
10
|
-
* domain endpoint, and domain ARN.
|
|
11
|
-
* </p>
|
|
12
|
-
* @example
|
|
13
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
-
* ```javascript
|
|
15
|
-
* import { OpenSearchClient, DescribeDomainsCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
16
|
-
* // const { OpenSearchClient, DescribeDomainsCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
17
|
-
* const client = new OpenSearchClient(config);
|
|
18
|
-
* const command = new DescribeDomainsCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link DescribeDomainsCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link DescribeDomainsCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link OpenSearchClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
27
8
|
class DescribeDomainsCommand extends smithy_client_1.Command {
|
|
28
|
-
// Start section: command_properties
|
|
29
|
-
// End section: command_properties
|
|
30
9
|
constructor(input) {
|
|
31
|
-
// Start section: command_constructor
|
|
32
10
|
super();
|
|
33
11
|
this.input = input;
|
|
34
|
-
// End section: command_constructor
|
|
35
12
|
}
|
|
36
|
-
/**
|
|
37
|
-
* @internal
|
|
38
|
-
*/
|
|
39
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
40
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
41
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 connections for a remote domain.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { OpenSearchClient, DescribeInboundConnectionsCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
14
|
-
* // const { OpenSearchClient, DescribeInboundConnectionsCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
15
|
-
* const client = new OpenSearchClient(config);
|
|
16
|
-
* const command = new DescribeInboundConnectionsCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link DescribeInboundConnectionsCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link DescribeInboundConnectionsCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link OpenSearchClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class DescribeInboundConnectionsCommand 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 the limits for a given instance type and OpenSearch or Elasticsearch version.
|
|
11
|
-
* When modifying an existing domain, specify the
|
|
12
|
-
* <code>
|
|
13
|
-
* <a>DomainName</a>
|
|
14
|
-
* </code>
|
|
15
|
-
* to see which limits you can modify.
|
|
16
|
-
* </p>
|
|
17
|
-
* @example
|
|
18
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
19
|
-
* ```javascript
|
|
20
|
-
* import { OpenSearchClient, DescribeInstanceTypeLimitsCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
21
|
-
* // const { OpenSearchClient, DescribeInstanceTypeLimitsCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
22
|
-
* const client = new OpenSearchClient(config);
|
|
23
|
-
* const command = new DescribeInstanceTypeLimitsCommand(input);
|
|
24
|
-
* const response = await client.send(command);
|
|
25
|
-
* ```
|
|
26
|
-
*
|
|
27
|
-
* @see {@link DescribeInstanceTypeLimitsCommandInput} for command's `input` shape.
|
|
28
|
-
* @see {@link DescribeInstanceTypeLimitsCommandOutput} for command's `response` shape.
|
|
29
|
-
* @see {@link OpenSearchClientResolvedConfig | config} for command's `input` shape.
|
|
30
|
-
*
|
|
31
|
-
*/
|
|
32
8
|
class DescribeInstanceTypeLimitsCommand 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 outbound cross-cluster connections for a local domain.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { OpenSearchClient, DescribeOutboundConnectionsCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
14
|
-
* // const { OpenSearchClient, DescribeOutboundConnectionsCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
15
|
-
* const client = new OpenSearchClient(config);
|
|
16
|
-
* const command = new DescribeOutboundConnectionsCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link DescribeOutboundConnectionsCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link DescribeOutboundConnectionsCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link OpenSearchClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class DescribeOutboundConnectionsCommand 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,37 +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 OpenSearch Service domains. Includes options for filtering, limiting the number of results,
|
|
10
|
-
* and pagination.
|
|
11
|
-
* </p>
|
|
12
|
-
* @example
|
|
13
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
-
* ```javascript
|
|
15
|
-
* import { OpenSearchClient, DescribePackagesCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
16
|
-
* // const { OpenSearchClient, DescribePackagesCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
17
|
-
* const client = new OpenSearchClient(config);
|
|
18
|
-
* const command = new DescribePackagesCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link DescribePackagesCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link DescribePackagesCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link OpenSearchClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
27
8
|
class DescribePackagesCommand extends smithy_client_1.Command {
|
|
28
|
-
// Start section: command_properties
|
|
29
|
-
// End section: command_properties
|
|
30
9
|
constructor(input) {
|
|
31
|
-
// Start section: command_constructor
|
|
32
10
|
super();
|
|
33
11
|
this.input = input;
|
|
34
|
-
// End section: command_constructor
|
|
35
12
|
}
|
|
36
|
-
/**
|
|
37
|
-
* @internal
|
|
38
|
-
*/
|
|
39
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
40
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
41
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 OpenSearch 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 { OpenSearchClient, DescribeReservedInstanceOfferingsCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
14
|
-
* // const { OpenSearchClient, DescribeReservedInstanceOfferingsCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
15
|
-
* const client = new OpenSearchClient(config);
|
|
16
|
-
* const command = new DescribeReservedInstanceOfferingsCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link DescribeReservedInstanceOfferingsCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link DescribeReservedInstanceOfferingsCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link OpenSearchClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class DescribeReservedInstanceOfferingsCommand 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 OpenSearch 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 { OpenSearchClient, DescribeReservedInstancesCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
14
|
-
* // const { OpenSearchClient, DescribeReservedInstancesCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
15
|
-
* const client = new OpenSearchClient(config);
|
|
16
|
-
* const command = new DescribeReservedInstancesCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link DescribeReservedInstancesCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link DescribeReservedInstancesCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link OpenSearchClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class DescribeReservedInstancesCommand 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 OpenSearch Service domain.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { OpenSearchClient, DissociatePackageCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
14
|
-
* // const { OpenSearchClient, DissociatePackageCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
15
|
-
* const client = new OpenSearchClient(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 OpenSearchClientResolvedConfig | 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 versions of OpenSearch/Elasticsearch.
|
|
11
|
-
* You can optionally pass a
|
|
12
|
-
* <code>
|
|
13
|
-
* <a>DomainName</a>
|
|
14
|
-
* </code>
|
|
15
|
-
* to get all upgrade-compatible versions of OpenSearch/Elasticsearch 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 { OpenSearchClient, GetCompatibleVersionsCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
21
|
-
* // const { OpenSearchClient, GetCompatibleVersionsCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
22
|
-
* const client = new OpenSearchClient(config);
|
|
23
|
-
* const command = new GetCompatibleVersionsCommand(input);
|
|
24
|
-
* const response = await client.send(command);
|
|
25
|
-
* ```
|
|
26
|
-
*
|
|
27
|
-
* @see {@link GetCompatibleVersionsCommandInput} for command's `input` shape.
|
|
28
|
-
* @see {@link GetCompatibleVersionsCommandOutput} for command's `response` shape.
|
|
29
|
-
* @see {@link OpenSearchClientResolvedConfig | config} for command's `input` shape.
|
|
30
|
-
*
|
|
31
|
-
*/
|
|
32
8
|
class GetCompatibleVersionsCommand 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 package versions, 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 { OpenSearchClient, GetPackageVersionHistoryCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
14
|
-
* // const { OpenSearchClient, GetPackageVersionHistoryCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
15
|
-
* const client = new OpenSearchClient(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 OpenSearchClientResolvedConfig | 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 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 { OpenSearchClient, GetUpgradeHistoryCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
14
|
-
* // const { OpenSearchClient, GetUpgradeHistoryCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
15
|
-
* const client = new OpenSearchClient(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 OpenSearchClientResolvedConfig | 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,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>Retrieves the latest status of the last upgrade or upgrade eligibility check performed on the domain.
|
|
10
|
-
* </p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { OpenSearchClient, GetUpgradeStatusCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
15
|
-
* // const { OpenSearchClient, GetUpgradeStatusCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
16
|
-
* const client = new OpenSearchClient(config);
|
|
17
|
-
* const command = new GetUpgradeStatusCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link GetUpgradeStatusCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link GetUpgradeStatusCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link OpenSearchClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
26
8
|
class GetUpgradeStatusCommand 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>Returns the names of all 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 { OpenSearchClient, ListDomainNamesCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
14
|
-
* // const { OpenSearchClient, ListDomainNamesCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
15
|
-
* const client = new OpenSearchClient(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 OpenSearchClientResolvedConfig | 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 OpenSearch Service 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 { OpenSearchClient, ListDomainsForPackageCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
14
|
-
* // const { OpenSearchClient, ListDomainsForPackageCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
15
|
-
* const client = new OpenSearchClient(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 OpenSearchClientResolvedConfig | 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);
|
|
@@ -6,17 +6,10 @@ 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
8
|
class ListInstanceTypeDetailsCommand extends smithy_client_1.Command {
|
|
9
|
-
// Start section: command_properties
|
|
10
|
-
// End section: command_properties
|
|
11
9
|
constructor(input) {
|
|
12
|
-
// Start section: command_constructor
|
|
13
10
|
super();
|
|
14
11
|
this.input = input;
|
|
15
|
-
// End section: command_constructor
|
|
16
12
|
}
|
|
17
|
-
/**
|
|
18
|
-
* @internal
|
|
19
|
-
*/
|
|
20
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
21
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
22
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 OpenSearch Service domain.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { OpenSearchClient, ListPackagesForDomainCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
14
|
-
* // const { OpenSearchClient, ListPackagesForDomainCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
15
|
-
* const client = new OpenSearchClient(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 OpenSearchClientResolvedConfig | 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);
|
|
@@ -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 all tags for the given domain.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { OpenSearchClient, ListTagsCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
14
|
-
* // const { OpenSearchClient, ListTagsCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
15
|
-
* const client = new OpenSearchClient(config);
|
|
16
|
-
* const command = new ListTagsCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link ListTagsCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link ListTagsCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link OpenSearchClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class ListTagsCommand 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);
|