@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
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-opensearch
|
|
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
|
|
package/dist-cjs/OpenSearch.js
CHANGED
|
@@ -41,20 +41,6 @@ const UpdateDomainConfigCommand_1 = require("./commands/UpdateDomainConfigComman
|
|
|
41
41
|
const UpdatePackageCommand_1 = require("./commands/UpdatePackageCommand");
|
|
42
42
|
const UpgradeDomainCommand_1 = require("./commands/UpgradeDomainCommand");
|
|
43
43
|
const OpenSearchClient_1 = require("./OpenSearchClient");
|
|
44
|
-
/**
|
|
45
|
-
* <fullname>Amazon OpenSearch Configuration Service</fullname>
|
|
46
|
-
* <p>Use the Amazon OpenSearch configuration API to create, configure, and manage Amazon OpenSearch Service domains.</p>
|
|
47
|
-
* <p>For sample code that uses the configuration API, see the <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/opensearch-configuration-samples.html">
|
|
48
|
-
* Amazon OpenSearch Service Developer Guide</a>.
|
|
49
|
-
* The guide also contains <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/request-signing.html">
|
|
50
|
-
* sample
|
|
51
|
-
* code for sending signed HTTP requests to the OpenSearch APIs</a>.
|
|
52
|
-
* </p>
|
|
53
|
-
* <p>The endpoint for configuration service requests is region-specific: es.<i>region</i>.amazonaws.com.
|
|
54
|
-
* For example, es.us-east-1.amazonaws.com. For a current list of supported regions and endpoints,
|
|
55
|
-
* see <a href="http://docs.aws.amazon.com/general/latest/gr/rande.html#service-regions" target="_blank">Regions and Endpoints</a>.
|
|
56
|
-
* </p>
|
|
57
|
-
*/
|
|
58
44
|
class OpenSearch extends OpenSearchClient_1.OpenSearchClient {
|
|
59
45
|
acceptInboundConnection(args, optionsOrCb, cb) {
|
|
60
46
|
const command = new AcceptInboundConnectionCommand_1.AcceptInboundConnectionCommand(args);
|
|
@@ -10,20 +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 OpenSearch Configuration Service</fullname>
|
|
15
|
-
* <p>Use the Amazon OpenSearch configuration API to create, configure, and manage Amazon OpenSearch Service domains.</p>
|
|
16
|
-
* <p>For sample code that uses the configuration API, see the <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/opensearch-configuration-samples.html">
|
|
17
|
-
* Amazon OpenSearch Service Developer Guide</a>.
|
|
18
|
-
* The guide also contains <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/request-signing.html">
|
|
19
|
-
* sample
|
|
20
|
-
* code for sending signed HTTP requests to the OpenSearch APIs</a>.
|
|
21
|
-
* </p>
|
|
22
|
-
* <p>The endpoint for configuration service requests is region-specific: es.<i>region</i>.amazonaws.com.
|
|
23
|
-
* For example, es.us-east-1.amazonaws.com. For a current list of supported regions and endpoints,
|
|
24
|
-
* see <a href="http://docs.aws.amazon.com/general/latest/gr/rande.html#service-regions" target="_blank">Regions and Endpoints</a>.
|
|
25
|
-
* </p>
|
|
26
|
-
*/
|
|
27
13
|
class OpenSearchClient extends smithy_client_1.Client {
|
|
28
14
|
constructor(configuration) {
|
|
29
15
|
const _config_0 = runtimeConfig_1.getRuntimeConfig(configuration);
|
|
@@ -42,11 +28,6 @@ class OpenSearchClient extends smithy_client_1.Client {
|
|
|
42
28
|
this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(this.config));
|
|
43
29
|
this.middlewareStack.use(middleware_user_agent_1.getUserAgentPlugin(this.config));
|
|
44
30
|
}
|
|
45
|
-
/**
|
|
46
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
47
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
48
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
49
|
-
*/
|
|
50
31
|
destroy() {
|
|
51
32
|
super.destroy();
|
|
52
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 remote domain owner to accept an inbound cross-cluster 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 { OpenSearchClient, AcceptInboundConnectionCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
14
|
-
* // const { OpenSearchClient, AcceptInboundConnectionCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
15
|
-
* const client = new OpenSearchClient(config);
|
|
16
|
-
* const command = new AcceptInboundConnectionCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link AcceptInboundConnectionCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link AcceptInboundConnectionCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link OpenSearchClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class AcceptInboundConnectionCommand 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,39 +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 domain. Tags are a set of case-sensitive key value pairs. An
|
|
10
|
-
* domain can have up to 10 tags. See
|
|
11
|
-
* <a href="http://docs.aws.amazon.com/opensearch-service/latest/developerguide/managedomains.html#managedomains-awsresorcetagging" target="_blank">
|
|
12
|
-
* Tagging Amazon OpenSearch Service domains</a> for more information.
|
|
13
|
-
* </p>
|
|
14
|
-
* @example
|
|
15
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
16
|
-
* ```javascript
|
|
17
|
-
* import { OpenSearchClient, AddTagsCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
18
|
-
* // const { OpenSearchClient, AddTagsCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
19
|
-
* const client = new OpenSearchClient(config);
|
|
20
|
-
* const command = new AddTagsCommand(input);
|
|
21
|
-
* const response = await client.send(command);
|
|
22
|
-
* ```
|
|
23
|
-
*
|
|
24
|
-
* @see {@link AddTagsCommandInput} for command's `input` shape.
|
|
25
|
-
* @see {@link AddTagsCommandOutput} for command's `response` shape.
|
|
26
|
-
* @see {@link OpenSearchClientResolvedConfig | config} for command's `input` shape.
|
|
27
|
-
*
|
|
28
|
-
*/
|
|
29
8
|
class AddTagsCommand extends smithy_client_1.Command {
|
|
30
|
-
// Start section: command_properties
|
|
31
|
-
// End section: command_properties
|
|
32
9
|
constructor(input) {
|
|
33
|
-
// Start section: command_constructor
|
|
34
10
|
super();
|
|
35
11
|
this.input = input;
|
|
36
|
-
// End section: command_constructor
|
|
37
12
|
}
|
|
38
|
-
/**
|
|
39
|
-
* @internal
|
|
40
|
-
*/
|
|
41
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
42
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
43
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 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, AssociatePackageCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
14
|
-
* // const { OpenSearchClient, AssociatePackageCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
15
|
-
* const client = new OpenSearchClient(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 OpenSearchClientResolvedConfig | 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,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>Cancels a scheduled service software update for an Amazon OpenSearch Service domain. You can only perform this operation before
|
|
10
|
-
* the <code>AutomatedUpdateDate</code> and when the <code>UpdateStatus</code> is in the <code>PENDING_UPDATE</code> state.
|
|
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, CancelServiceSoftwareUpdateCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
16
|
-
* // const { OpenSearchClient, CancelServiceSoftwareUpdateCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
17
|
-
* const client = new OpenSearchClient(config);
|
|
18
|
-
* const command = new CancelServiceSoftwareUpdateCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link CancelServiceSoftwareUpdateCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link CancelServiceSoftwareUpdateCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link OpenSearchClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
27
8
|
class CancelServiceSoftwareUpdateCommand 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,38 +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 Amazon OpenSearch Service domain. For more information,
|
|
10
|
-
* see <a href="http://docs.aws.amazon.com/opensearch-service/latest/developerguide/createupdatedomains.html" target="_blank">Creating and managing Amazon OpenSearch Service domains
|
|
11
|
-
* </a> in the <i>Amazon OpenSearch Service Developer Guide</i>.
|
|
12
|
-
* </p>
|
|
13
|
-
* @example
|
|
14
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
-
* ```javascript
|
|
16
|
-
* import { OpenSearchClient, CreateDomainCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
17
|
-
* // const { OpenSearchClient, CreateDomainCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
18
|
-
* const client = new OpenSearchClient(config);
|
|
19
|
-
* const command = new CreateDomainCommand(input);
|
|
20
|
-
* const response = await client.send(command);
|
|
21
|
-
* ```
|
|
22
|
-
*
|
|
23
|
-
* @see {@link CreateDomainCommandInput} for command's `input` shape.
|
|
24
|
-
* @see {@link CreateDomainCommandOutput} for command's `response` shape.
|
|
25
|
-
* @see {@link OpenSearchClientResolvedConfig | config} for command's `input` shape.
|
|
26
|
-
*
|
|
27
|
-
*/
|
|
28
8
|
class CreateDomainCommand extends smithy_client_1.Command {
|
|
29
|
-
// Start section: command_properties
|
|
30
|
-
// End section: command_properties
|
|
31
9
|
constructor(input) {
|
|
32
|
-
// Start section: command_constructor
|
|
33
10
|
super();
|
|
34
11
|
this.input = input;
|
|
35
|
-
// End section: command_constructor
|
|
36
12
|
}
|
|
37
|
-
/**
|
|
38
|
-
* @internal
|
|
39
|
-
*/
|
|
40
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
41
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
42
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 connection from a local OpenSearch domain to a remote OpenSearch 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, CreateOutboundConnectionCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
14
|
-
* // const { OpenSearchClient, CreateOutboundConnectionCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
15
|
-
* const client = new OpenSearchClient(config);
|
|
16
|
-
* const command = new CreateOutboundConnectionCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link CreateOutboundConnectionCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link CreateOutboundConnectionCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link OpenSearchClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class CreateOutboundConnectionCommand 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 OpenSearch Service domains.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { OpenSearchClient, CreatePackageCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
14
|
-
* // const { OpenSearchClient, CreatePackageCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
15
|
-
* const client = new OpenSearchClient(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 OpenSearchClientResolvedConfig | 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,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>Permanently deletes the specified domain and all of its data. Once a domain is deleted, it cannot
|
|
10
|
-
* be recovered.
|
|
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, DeleteDomainCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
16
|
-
* // const { OpenSearchClient, DeleteDomainCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
17
|
-
* const client = new OpenSearchClient(config);
|
|
18
|
-
* const command = new DeleteDomainCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link DeleteDomainCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link DeleteDomainCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link OpenSearchClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
27
8
|
class DeleteDomainCommand 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>Allows the remote domain owner to delete an existing inbound cross-cluster connection.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { OpenSearchClient, DeleteInboundConnectionCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
14
|
-
* // const { OpenSearchClient, DeleteInboundConnectionCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
15
|
-
* const client = new OpenSearchClient(config);
|
|
16
|
-
* const command = new DeleteInboundConnectionCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link DeleteInboundConnectionCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link DeleteInboundConnectionCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link OpenSearchClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class DeleteInboundConnectionCommand 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 local domain owner to delete an existing outbound cross-cluster connection.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { OpenSearchClient, DeleteOutboundConnectionCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
14
|
-
* // const { OpenSearchClient, DeleteOutboundConnectionCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
15
|
-
* const client = new OpenSearchClient(config);
|
|
16
|
-
* const command = new DeleteOutboundConnectionCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link DeleteOutboundConnectionCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link DeleteOutboundConnectionCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link OpenSearchClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class DeleteOutboundConnectionCommand 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>Deletes 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, DeletePackageCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
14
|
-
* // const { OpenSearchClient, DeletePackageCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
15
|
-
* const client = new OpenSearchClient(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 OpenSearchClientResolvedConfig | 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,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>Provides scheduled Auto-Tune action details for the domain, such as Auto-Tune action type,
|
|
10
|
-
* description, severity, and scheduled date.
|
|
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, DescribeDomainAutoTunesCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
16
|
-
* // const { OpenSearchClient, DescribeDomainAutoTunesCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
17
|
-
* const client = new OpenSearchClient(config);
|
|
18
|
-
* const command = new DescribeDomainAutoTunesCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link DescribeDomainAutoTunesCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link DescribeDomainAutoTunesCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link OpenSearchClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
27
8
|
class DescribeDomainAutoTunesCommand 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,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 domain, 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, DescribeDomainCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
16
|
-
* // const { OpenSearchClient, DescribeDomainCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
17
|
-
* const client = new OpenSearchClient(config);
|
|
18
|
-
* const command = new DescribeDomainCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link DescribeDomainCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link DescribeDomainCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link OpenSearchClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
27
8
|
class DescribeDomainCommand 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,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>Provides cluster configuration information about the specified domain, such as the state, creation
|
|
10
|
-
* date, update version, and update date for cluster options.
|
|
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, DescribeDomainConfigCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
16
|
-
* // const { OpenSearchClient, DescribeDomainConfigCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
17
|
-
* const client = new OpenSearchClient(config);
|
|
18
|
-
* const command = new DescribeDomainConfigCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link DescribeDomainConfigCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link DescribeDomainConfigCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link OpenSearchClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
27
8
|
class DescribeDomainConfigCommand 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);
|