@aws-sdk/client-elasticsearch-service 3.48.0 → 3.52.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 +35 -0
- package/dist-cjs/ElasticsearchService.js +15 -0
- package/dist-cjs/commands/DescribeDomainChangeProgressCommand.js +36 -0
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/models/models_0.js +41 -4
- package/dist-cjs/protocols/Aws_restJson1.js +160 -2
- package/dist-es/ElasticsearchService.js +15 -0
- package/dist-es/commands/DescribeDomainChangeProgressCommand.js +39 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_0.js +27 -0
- package/dist-es/protocols/Aws_restJson1.js +175 -0
- package/dist-types/ElasticsearchService.d.ts +8 -0
- package/dist-types/ElasticsearchServiceClient.d.ts +3 -2
- package/dist-types/commands/DescribeDomainChangeProgressCommand.d.ts +36 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +144 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +3 -0
- package/dist-types/ts3.4/ElasticsearchService.d.ts +5 -0
- package/dist-types/ts3.4/ElasticsearchServiceClient.d.ts +3 -2
- package/dist-types/ts3.4/commands/DescribeDomainChangeProgressCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +79 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +3 -0
- package/package.json +40 -34
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,41 @@
|
|
|
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.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-elasticsearch-service
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.51.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.50.0...v3.51.0) (2022-02-12)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @aws-sdk/client-elasticsearch-service
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
# [3.50.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.49.0...v3.50.0) (2022-02-08)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Features
|
|
26
|
+
|
|
27
|
+
* **clients:** update clients as of 02/04/2022 ([#3280](https://github.com/aws/aws-sdk-js-v3/issues/3280)) ([63d7f8c](https://github.com/aws/aws-sdk-js-v3/commit/63d7f8c539e0fd782fa5bf997bd6ac2730e4bfda))
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
# [3.49.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.48.0...v3.49.0) (2022-01-29)
|
|
34
|
+
|
|
35
|
+
**Note:** Version bump only for package @aws-sdk/client-elasticsearch-service
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
6
41
|
# [3.48.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.47.2...v3.48.0) (2022-01-22)
|
|
7
42
|
|
|
8
43
|
**Note:** Version bump only for package @aws-sdk/client-elasticsearch-service
|
|
@@ -14,6 +14,7 @@ const DeleteInboundCrossClusterSearchConnectionCommand_1 = require("./commands/D
|
|
|
14
14
|
const DeleteOutboundCrossClusterSearchConnectionCommand_1 = require("./commands/DeleteOutboundCrossClusterSearchConnectionCommand");
|
|
15
15
|
const DeletePackageCommand_1 = require("./commands/DeletePackageCommand");
|
|
16
16
|
const DescribeDomainAutoTunesCommand_1 = require("./commands/DescribeDomainAutoTunesCommand");
|
|
17
|
+
const DescribeDomainChangeProgressCommand_1 = require("./commands/DescribeDomainChangeProgressCommand");
|
|
17
18
|
const DescribeElasticsearchDomainCommand_1 = require("./commands/DescribeElasticsearchDomainCommand");
|
|
18
19
|
const DescribeElasticsearchDomainConfigCommand_1 = require("./commands/DescribeElasticsearchDomainConfigCommand");
|
|
19
20
|
const DescribeElasticsearchDomainsCommand_1 = require("./commands/DescribeElasticsearchDomainsCommand");
|
|
@@ -225,6 +226,20 @@ class ElasticsearchService extends ElasticsearchServiceClient_1.ElasticsearchSer
|
|
|
225
226
|
return this.send(command, optionsOrCb);
|
|
226
227
|
}
|
|
227
228
|
}
|
|
229
|
+
describeDomainChangeProgress(args, optionsOrCb, cb) {
|
|
230
|
+
const command = new DescribeDomainChangeProgressCommand_1.DescribeDomainChangeProgressCommand(args);
|
|
231
|
+
if (typeof optionsOrCb === "function") {
|
|
232
|
+
this.send(command, optionsOrCb);
|
|
233
|
+
}
|
|
234
|
+
else if (typeof cb === "function") {
|
|
235
|
+
if (typeof optionsOrCb !== "object")
|
|
236
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
237
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
238
|
+
}
|
|
239
|
+
else {
|
|
240
|
+
return this.send(command, optionsOrCb);
|
|
241
|
+
}
|
|
242
|
+
}
|
|
228
243
|
describeElasticsearchDomain(args, optionsOrCb, cb) {
|
|
229
244
|
const command = new DescribeElasticsearchDomainCommand_1.DescribeElasticsearchDomainCommand(args);
|
|
230
245
|
if (typeof optionsOrCb === "function") {
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DescribeDomainChangeProgressCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class DescribeDomainChangeProgressCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "ElasticsearchServiceClient";
|
|
18
|
+
const commandName = "DescribeDomainChangeProgressCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.DescribeDomainChangeProgressRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.DescribeDomainChangeProgressResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_restJson1_1.serializeAws_restJson1DescribeDomainChangeProgressCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_restJson1_1.deserializeAws_restJson1DescribeDomainChangeProgressCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.DescribeDomainChangeProgressCommand = DescribeDomainChangeProgressCommand;
|
|
@@ -14,6 +14,7 @@ tslib_1.__exportStar(require("./DeleteInboundCrossClusterSearchConnectionCommand
|
|
|
14
14
|
tslib_1.__exportStar(require("./DeleteOutboundCrossClusterSearchConnectionCommand"), exports);
|
|
15
15
|
tslib_1.__exportStar(require("./DeletePackageCommand"), exports);
|
|
16
16
|
tslib_1.__exportStar(require("./DescribeDomainAutoTunesCommand"), exports);
|
|
17
|
+
tslib_1.__exportStar(require("./DescribeDomainChangeProgressCommand"), exports);
|
|
17
18
|
tslib_1.__exportStar(require("./DescribeElasticsearchDomainCommand"), exports);
|
|
18
19
|
tslib_1.__exportStar(require("./DescribeElasticsearchDomainConfigCommand"), exports);
|
|
19
20
|
tslib_1.__exportStar(require("./DescribeElasticsearchDomainsCommand"), exports);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
exports.UpgradeElasticsearchDomainResponse = exports.UpgradeElasticsearchDomainRequest = exports.UpdatePackageResponse = exports.UpdatePackageRequest = exports.UpdateElasticsearchDomainConfigResponse = exports.DryRunResults = exports.UpdateElasticsearchDomainConfigRequest = exports.StartElasticsearchServiceSoftwareUpdateResponse = exports.StartElasticsearchServiceSoftwareUpdateRequest = exports.RemoveTagsRequest = void 0;
|
|
3
|
+
exports.CreateElasticsearchDomainResponse = exports.ElasticsearchDomainStatus = exports.VPCDerivedInfo = exports.ChangeProgressDetails = exports.AutoTuneOptionsOutput = exports.AutoTuneState = exports.CreateElasticsearchDomainRequest = exports.VPCOptions = exports.SnapshotOptions = exports.NodeToNodeEncryptionOptions = exports.LogPublishingOption = exports.EncryptionAtRestOptions = exports.ElasticsearchClusterConfig = exports.ZoneAwarenessConfig = exports.ColdStorageOptions = exports.EBSOptions = exports.DomainEndpointOptions = exports.TLSSecurityPolicy = exports.CognitoOptions = exports.AutoTuneOptionsInput = exports.AutoTuneMaintenanceSchedule = exports.Duration = exports.TimeUnit = exports.AutoTuneDesiredState = exports.CancelElasticsearchServiceSoftwareUpdateResponse = exports.ServiceSoftwareOptions = exports.CancelElasticsearchServiceSoftwareUpdateRequest = exports.AssociatePackageResponse = exports.DomainPackageDetails = exports.ErrorDetails = exports.AssociatePackageRequest = exports.AdvancedSecurityOptionsStatus = exports.AdvancedSecurityOptionsInput = exports.SAMLOptionsInput = exports.MasterUserOptions = exports.AdvancedSecurityOptions = exports.SAMLOptionsOutput = exports.SAMLIdp = exports.AdvancedOptionsStatus = exports.AddTagsRequest = exports.Tag = exports.AdditionalLimit = exports.AccessPoliciesStatus = exports.OptionStatus = exports.AcceptInboundCrossClusterSearchConnectionResponse = exports.InboundCrossClusterSearchConnection = exports.DomainInformation = exports.InboundCrossClusterSearchConnectionStatus = exports.InboundCrossClusterSearchConnectionStatusCode = exports.AcceptInboundCrossClusterSearchConnectionRequest = void 0;
|
|
4
|
+
exports.DescribeElasticsearchDomainsRequest = exports.DescribeElasticsearchDomainConfigResponse = exports.ElasticsearchDomainConfig = exports.VPCDerivedInfoStatus = exports.SnapshotOptionsStatus = exports.NodeToNodeEncryptionOptionsStatus = exports.LogPublishingOptionsStatus = exports.EncryptionAtRestOptionsStatus = exports.ElasticsearchVersionStatus = exports.ElasticsearchClusterConfigStatus = exports.EBSOptionsStatus = exports.DomainEndpointOptionsStatus = exports.CognitoOptionsStatus = exports.AutoTuneOptionsStatus = exports.AutoTuneStatus = exports.AutoTuneOptions = exports.RollbackOnDisable = exports.DescribeElasticsearchDomainConfigRequest = exports.DescribeElasticsearchDomainResponse = exports.DescribeElasticsearchDomainRequest = exports.DescribeDomainChangeProgressResponse = exports.ChangeProgressStatusDetails = exports.OverallChangeStatus = exports.ChangeProgressStage = exports.DescribeDomainChangeProgressRequest = exports.DescribeDomainAutoTunesResponse = exports.AutoTune = exports.AutoTuneType = exports.AutoTuneDetails = exports.ScheduledAutoTuneDetails = exports.ScheduledAutoTuneSeverityType = exports.ScheduledAutoTuneActionType = exports.DescribeDomainAutoTunesRequest = exports.DeletePackageResponse = exports.DeletePackageRequest = exports.DeleteOutboundCrossClusterSearchConnectionResponse = exports.OutboundCrossClusterSearchConnection = exports.DeleteOutboundCrossClusterSearchConnectionRequest = exports.DeleteInboundCrossClusterSearchConnectionResponse = exports.DeleteInboundCrossClusterSearchConnectionRequest = exports.DeleteElasticsearchDomainResponse = exports.DeleteElasticsearchDomainRequest = exports.CreatePackageResponse = exports.PackageDetails = exports.CreatePackageRequest = exports.PackageSource = exports.CreateOutboundCrossClusterSearchConnectionResponse = exports.OutboundCrossClusterSearchConnectionStatus = exports.OutboundCrossClusterSearchConnectionStatusCode = exports.CreateOutboundCrossClusterSearchConnectionRequest = void 0;
|
|
5
|
+
exports.ListPackagesForDomainResponse = exports.ListPackagesForDomainRequest = exports.ListElasticsearchVersionsResponse = exports.ListElasticsearchVersionsRequest = exports.ListElasticsearchInstanceTypesResponse = exports.ListElasticsearchInstanceTypesRequest = exports.ListDomainsForPackageResponse = exports.ListDomainsForPackageRequest = exports.ListDomainNamesResponse = exports.DomainInfo = exports.ListDomainNamesRequest = exports.EngineType = exports.GetUpgradeStatusResponse = exports.GetUpgradeStatusRequest = exports.GetUpgradeHistoryResponse = exports.UpgradeHistory = exports.UpgradeStepItem = exports.GetUpgradeHistoryRequest = exports.GetPackageVersionHistoryResponse = exports.PackageVersionHistory = exports.GetPackageVersionHistoryRequest = exports.GetCompatibleElasticsearchVersionsResponse = exports.CompatibleVersionsMap = exports.GetCompatibleElasticsearchVersionsRequest = exports.DissociatePackageResponse = exports.DissociatePackageRequest = exports.DescribeReservedElasticsearchInstancesResponse = exports.ReservedElasticsearchInstance = exports.DescribeReservedElasticsearchInstancesRequest = exports.DescribeReservedElasticsearchInstanceOfferingsResponse = exports.ReservedElasticsearchInstanceOffering = exports.RecurringCharge = exports.DescribeReservedElasticsearchInstanceOfferingsRequest = exports.DescribePackagesResponse = exports.DescribePackagesRequest = exports.DescribePackagesFilter = exports.DescribePackagesFilterName = exports.DescribeOutboundCrossClusterSearchConnectionsResponse = exports.DescribeOutboundCrossClusterSearchConnectionsRequest = exports.DescribeInboundCrossClusterSearchConnectionsResponse = exports.DescribeInboundCrossClusterSearchConnectionsRequest = exports.Filter = exports.DescribeElasticsearchInstanceTypeLimitsResponse = exports.Limits = exports.StorageType = exports.StorageTypeLimit = exports.InstanceLimits = exports.InstanceCountLimits = exports.DescribeElasticsearchInstanceTypeLimitsRequest = exports.DescribeElasticsearchDomainsResponse = void 0;
|
|
6
|
+
exports.UpgradeElasticsearchDomainResponse = exports.UpgradeElasticsearchDomainRequest = exports.UpdatePackageResponse = exports.UpdatePackageRequest = exports.UpdateElasticsearchDomainConfigResponse = exports.DryRunResults = exports.UpdateElasticsearchDomainConfigRequest = exports.StartElasticsearchServiceSoftwareUpdateResponse = exports.StartElasticsearchServiceSoftwareUpdateRequest = exports.RemoveTagsRequest = exports.RejectInboundCrossClusterSearchConnectionResponse = exports.RejectInboundCrossClusterSearchConnectionRequest = exports.PurchaseReservedElasticsearchInstanceOfferingResponse = exports.PurchaseReservedElasticsearchInstanceOfferingRequest = exports.ListTagsResponse = exports.ListTagsRequest = void 0;
|
|
7
7
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
8
8
|
var AcceptInboundCrossClusterSearchConnectionRequest;
|
|
9
9
|
(function (AcceptInboundCrossClusterSearchConnectionRequest) {
|
|
@@ -294,6 +294,12 @@ var AutoTuneOptionsOutput;
|
|
|
294
294
|
...obj,
|
|
295
295
|
});
|
|
296
296
|
})(AutoTuneOptionsOutput = exports.AutoTuneOptionsOutput || (exports.AutoTuneOptionsOutput = {}));
|
|
297
|
+
var ChangeProgressDetails;
|
|
298
|
+
(function (ChangeProgressDetails) {
|
|
299
|
+
ChangeProgressDetails.filterSensitiveLog = (obj) => ({
|
|
300
|
+
...obj,
|
|
301
|
+
});
|
|
302
|
+
})(ChangeProgressDetails = exports.ChangeProgressDetails || (exports.ChangeProgressDetails = {}));
|
|
297
303
|
var VPCDerivedInfo;
|
|
298
304
|
(function (VPCDerivedInfo) {
|
|
299
305
|
VPCDerivedInfo.filterSensitiveLog = (obj) => ({
|
|
@@ -464,6 +470,37 @@ var DescribeDomainAutoTunesResponse;
|
|
|
464
470
|
...obj,
|
|
465
471
|
});
|
|
466
472
|
})(DescribeDomainAutoTunesResponse = exports.DescribeDomainAutoTunesResponse || (exports.DescribeDomainAutoTunesResponse = {}));
|
|
473
|
+
var DescribeDomainChangeProgressRequest;
|
|
474
|
+
(function (DescribeDomainChangeProgressRequest) {
|
|
475
|
+
DescribeDomainChangeProgressRequest.filterSensitiveLog = (obj) => ({
|
|
476
|
+
...obj,
|
|
477
|
+
});
|
|
478
|
+
})(DescribeDomainChangeProgressRequest = exports.DescribeDomainChangeProgressRequest || (exports.DescribeDomainChangeProgressRequest = {}));
|
|
479
|
+
var ChangeProgressStage;
|
|
480
|
+
(function (ChangeProgressStage) {
|
|
481
|
+
ChangeProgressStage.filterSensitiveLog = (obj) => ({
|
|
482
|
+
...obj,
|
|
483
|
+
});
|
|
484
|
+
})(ChangeProgressStage = exports.ChangeProgressStage || (exports.ChangeProgressStage = {}));
|
|
485
|
+
var OverallChangeStatus;
|
|
486
|
+
(function (OverallChangeStatus) {
|
|
487
|
+
OverallChangeStatus["COMPLETED"] = "COMPLETED";
|
|
488
|
+
OverallChangeStatus["FAILED"] = "FAILED";
|
|
489
|
+
OverallChangeStatus["PENDING"] = "PENDING";
|
|
490
|
+
OverallChangeStatus["PROCESSING"] = "PROCESSING";
|
|
491
|
+
})(OverallChangeStatus = exports.OverallChangeStatus || (exports.OverallChangeStatus = {}));
|
|
492
|
+
var ChangeProgressStatusDetails;
|
|
493
|
+
(function (ChangeProgressStatusDetails) {
|
|
494
|
+
ChangeProgressStatusDetails.filterSensitiveLog = (obj) => ({
|
|
495
|
+
...obj,
|
|
496
|
+
});
|
|
497
|
+
})(ChangeProgressStatusDetails = exports.ChangeProgressStatusDetails || (exports.ChangeProgressStatusDetails = {}));
|
|
498
|
+
var DescribeDomainChangeProgressResponse;
|
|
499
|
+
(function (DescribeDomainChangeProgressResponse) {
|
|
500
|
+
DescribeDomainChangeProgressResponse.filterSensitiveLog = (obj) => ({
|
|
501
|
+
...obj,
|
|
502
|
+
});
|
|
503
|
+
})(DescribeDomainChangeProgressResponse = exports.DescribeDomainChangeProgressResponse || (exports.DescribeDomainChangeProgressResponse = {}));
|
|
467
504
|
var DescribeElasticsearchDomainRequest;
|
|
468
505
|
(function (DescribeElasticsearchDomainRequest) {
|
|
469
506
|
DescribeElasticsearchDomainRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.deserializeAws_restJson1UpgradeElasticsearchDomainCommand = exports.deserializeAws_restJson1UpdatePackageCommand = exports.deserializeAws_restJson1UpdateElasticsearchDomainConfigCommand = exports.deserializeAws_restJson1StartElasticsearchServiceSoftwareUpdateCommand = exports.deserializeAws_restJson1RemoveTagsCommand = exports.deserializeAws_restJson1RejectInboundCrossClusterSearchConnectionCommand = exports.deserializeAws_restJson1PurchaseReservedElasticsearchInstanceOfferingCommand = exports.deserializeAws_restJson1ListTagsCommand = exports.deserializeAws_restJson1ListPackagesForDomainCommand = exports.deserializeAws_restJson1ListElasticsearchVersionsCommand = exports.deserializeAws_restJson1ListElasticsearchInstanceTypesCommand = exports.deserializeAws_restJson1ListDomainsForPackageCommand = exports.deserializeAws_restJson1ListDomainNamesCommand = exports.deserializeAws_restJson1GetUpgradeStatusCommand = exports.deserializeAws_restJson1GetUpgradeHistoryCommand = exports.deserializeAws_restJson1GetPackageVersionHistoryCommand = exports.deserializeAws_restJson1GetCompatibleElasticsearchVersionsCommand = exports.deserializeAws_restJson1DissociatePackageCommand = exports.deserializeAws_restJson1DescribeReservedElasticsearchInstancesCommand = exports.deserializeAws_restJson1DescribeReservedElasticsearchInstanceOfferingsCommand = exports.deserializeAws_restJson1DescribePackagesCommand = exports.deserializeAws_restJson1DescribeOutboundCrossClusterSearchConnectionsCommand = exports.deserializeAws_restJson1DescribeInboundCrossClusterSearchConnectionsCommand = exports.deserializeAws_restJson1DescribeElasticsearchInstanceTypeLimitsCommand = exports.deserializeAws_restJson1DescribeElasticsearchDomainsCommand = exports.deserializeAws_restJson1DescribeElasticsearchDomainConfigCommand = exports.deserializeAws_restJson1DescribeElasticsearchDomainCommand = exports.deserializeAws_restJson1DescribeDomainAutoTunesCommand = exports.deserializeAws_restJson1DeletePackageCommand = exports.deserializeAws_restJson1DeleteOutboundCrossClusterSearchConnectionCommand = void 0;
|
|
3
|
+
exports.deserializeAws_restJson1DeleteElasticsearchServiceRoleCommand = exports.deserializeAws_restJson1DeleteElasticsearchDomainCommand = exports.deserializeAws_restJson1CreatePackageCommand = exports.deserializeAws_restJson1CreateOutboundCrossClusterSearchConnectionCommand = exports.deserializeAws_restJson1CreateElasticsearchDomainCommand = exports.deserializeAws_restJson1CancelElasticsearchServiceSoftwareUpdateCommand = exports.deserializeAws_restJson1AssociatePackageCommand = exports.deserializeAws_restJson1AddTagsCommand = exports.deserializeAws_restJson1AcceptInboundCrossClusterSearchConnectionCommand = exports.serializeAws_restJson1UpgradeElasticsearchDomainCommand = exports.serializeAws_restJson1UpdatePackageCommand = exports.serializeAws_restJson1UpdateElasticsearchDomainConfigCommand = exports.serializeAws_restJson1StartElasticsearchServiceSoftwareUpdateCommand = exports.serializeAws_restJson1RemoveTagsCommand = exports.serializeAws_restJson1RejectInboundCrossClusterSearchConnectionCommand = exports.serializeAws_restJson1PurchaseReservedElasticsearchInstanceOfferingCommand = exports.serializeAws_restJson1ListTagsCommand = exports.serializeAws_restJson1ListPackagesForDomainCommand = exports.serializeAws_restJson1ListElasticsearchVersionsCommand = exports.serializeAws_restJson1ListElasticsearchInstanceTypesCommand = exports.serializeAws_restJson1ListDomainsForPackageCommand = exports.serializeAws_restJson1ListDomainNamesCommand = exports.serializeAws_restJson1GetUpgradeStatusCommand = exports.serializeAws_restJson1GetUpgradeHistoryCommand = exports.serializeAws_restJson1GetPackageVersionHistoryCommand = exports.serializeAws_restJson1GetCompatibleElasticsearchVersionsCommand = exports.serializeAws_restJson1DissociatePackageCommand = exports.serializeAws_restJson1DescribeReservedElasticsearchInstancesCommand = exports.serializeAws_restJson1DescribeReservedElasticsearchInstanceOfferingsCommand = exports.serializeAws_restJson1DescribePackagesCommand = exports.serializeAws_restJson1DescribeOutboundCrossClusterSearchConnectionsCommand = exports.serializeAws_restJson1DescribeInboundCrossClusterSearchConnectionsCommand = exports.serializeAws_restJson1DescribeElasticsearchInstanceTypeLimitsCommand = exports.serializeAws_restJson1DescribeElasticsearchDomainsCommand = exports.serializeAws_restJson1DescribeElasticsearchDomainConfigCommand = exports.serializeAws_restJson1DescribeElasticsearchDomainCommand = exports.serializeAws_restJson1DescribeDomainChangeProgressCommand = exports.serializeAws_restJson1DescribeDomainAutoTunesCommand = exports.serializeAws_restJson1DeletePackageCommand = exports.serializeAws_restJson1DeleteOutboundCrossClusterSearchConnectionCommand = exports.serializeAws_restJson1DeleteInboundCrossClusterSearchConnectionCommand = exports.serializeAws_restJson1DeleteElasticsearchServiceRoleCommand = exports.serializeAws_restJson1DeleteElasticsearchDomainCommand = exports.serializeAws_restJson1CreatePackageCommand = exports.serializeAws_restJson1CreateOutboundCrossClusterSearchConnectionCommand = exports.serializeAws_restJson1CreateElasticsearchDomainCommand = exports.serializeAws_restJson1CancelElasticsearchServiceSoftwareUpdateCommand = exports.serializeAws_restJson1AssociatePackageCommand = exports.serializeAws_restJson1AddTagsCommand = exports.serializeAws_restJson1AcceptInboundCrossClusterSearchConnectionCommand = void 0;
|
|
4
|
+
exports.deserializeAws_restJson1UpgradeElasticsearchDomainCommand = exports.deserializeAws_restJson1UpdatePackageCommand = exports.deserializeAws_restJson1UpdateElasticsearchDomainConfigCommand = exports.deserializeAws_restJson1StartElasticsearchServiceSoftwareUpdateCommand = exports.deserializeAws_restJson1RemoveTagsCommand = exports.deserializeAws_restJson1RejectInboundCrossClusterSearchConnectionCommand = exports.deserializeAws_restJson1PurchaseReservedElasticsearchInstanceOfferingCommand = exports.deserializeAws_restJson1ListTagsCommand = exports.deserializeAws_restJson1ListPackagesForDomainCommand = exports.deserializeAws_restJson1ListElasticsearchVersionsCommand = exports.deserializeAws_restJson1ListElasticsearchInstanceTypesCommand = exports.deserializeAws_restJson1ListDomainsForPackageCommand = exports.deserializeAws_restJson1ListDomainNamesCommand = exports.deserializeAws_restJson1GetUpgradeStatusCommand = exports.deserializeAws_restJson1GetUpgradeHistoryCommand = exports.deserializeAws_restJson1GetPackageVersionHistoryCommand = exports.deserializeAws_restJson1GetCompatibleElasticsearchVersionsCommand = exports.deserializeAws_restJson1DissociatePackageCommand = exports.deserializeAws_restJson1DescribeReservedElasticsearchInstancesCommand = exports.deserializeAws_restJson1DescribeReservedElasticsearchInstanceOfferingsCommand = exports.deserializeAws_restJson1DescribePackagesCommand = exports.deserializeAws_restJson1DescribeOutboundCrossClusterSearchConnectionsCommand = exports.deserializeAws_restJson1DescribeInboundCrossClusterSearchConnectionsCommand = exports.deserializeAws_restJson1DescribeElasticsearchInstanceTypeLimitsCommand = exports.deserializeAws_restJson1DescribeElasticsearchDomainsCommand = exports.deserializeAws_restJson1DescribeElasticsearchDomainConfigCommand = exports.deserializeAws_restJson1DescribeElasticsearchDomainCommand = exports.deserializeAws_restJson1DescribeDomainChangeProgressCommand = exports.deserializeAws_restJson1DescribeDomainAutoTunesCommand = exports.deserializeAws_restJson1DeletePackageCommand = exports.deserializeAws_restJson1DeleteOutboundCrossClusterSearchConnectionCommand = exports.deserializeAws_restJson1DeleteInboundCrossClusterSearchConnectionCommand = void 0;
|
|
5
5
|
const protocol_http_1 = require("@aws-sdk/protocol-http");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
7
|
const serializeAws_restJson1AcceptInboundCrossClusterSearchConnectionCommand = async (input, context) => {
|
|
@@ -400,6 +400,37 @@ const serializeAws_restJson1DescribeDomainAutoTunesCommand = async (input, conte
|
|
|
400
400
|
});
|
|
401
401
|
};
|
|
402
402
|
exports.serializeAws_restJson1DescribeDomainAutoTunesCommand = serializeAws_restJson1DescribeDomainAutoTunesCommand;
|
|
403
|
+
const serializeAws_restJson1DescribeDomainChangeProgressCommand = async (input, context) => {
|
|
404
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
405
|
+
const headers = {};
|
|
406
|
+
let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` +
|
|
407
|
+
"/2015-01-01/es/domain/{DomainName}/progress";
|
|
408
|
+
if (input.DomainName !== undefined) {
|
|
409
|
+
const labelValue = input.DomainName;
|
|
410
|
+
if (labelValue.length <= 0) {
|
|
411
|
+
throw new Error("Empty value provided for input HTTP label: DomainName.");
|
|
412
|
+
}
|
|
413
|
+
resolvedPath = resolvedPath.replace("{DomainName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
414
|
+
}
|
|
415
|
+
else {
|
|
416
|
+
throw new Error("No value provided for input HTTP label: DomainName.");
|
|
417
|
+
}
|
|
418
|
+
const query = {
|
|
419
|
+
...(input.ChangeId !== undefined && { changeid: input.ChangeId }),
|
|
420
|
+
};
|
|
421
|
+
let body;
|
|
422
|
+
return new protocol_http_1.HttpRequest({
|
|
423
|
+
protocol,
|
|
424
|
+
hostname,
|
|
425
|
+
port,
|
|
426
|
+
method: "GET",
|
|
427
|
+
headers,
|
|
428
|
+
path: resolvedPath,
|
|
429
|
+
query,
|
|
430
|
+
body,
|
|
431
|
+
});
|
|
432
|
+
};
|
|
433
|
+
exports.serializeAws_restJson1DescribeDomainChangeProgressCommand = serializeAws_restJson1DescribeDomainChangeProgressCommand;
|
|
403
434
|
const serializeAws_restJson1DescribeElasticsearchDomainCommand = async (input, context) => {
|
|
404
435
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
405
436
|
const headers = {};
|
|
@@ -2149,6 +2180,78 @@ const deserializeAws_restJson1DescribeDomainAutoTunesCommandError = async (outpu
|
|
|
2149
2180
|
delete response.Message;
|
|
2150
2181
|
return Promise.reject(Object.assign(new Error(message), response));
|
|
2151
2182
|
};
|
|
2183
|
+
const deserializeAws_restJson1DescribeDomainChangeProgressCommand = async (output, context) => {
|
|
2184
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2185
|
+
return deserializeAws_restJson1DescribeDomainChangeProgressCommandError(output, context);
|
|
2186
|
+
}
|
|
2187
|
+
const contents = {
|
|
2188
|
+
$metadata: deserializeMetadata(output),
|
|
2189
|
+
ChangeProgressStatus: undefined,
|
|
2190
|
+
};
|
|
2191
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2192
|
+
if (data.ChangeProgressStatus !== undefined && data.ChangeProgressStatus !== null) {
|
|
2193
|
+
contents.ChangeProgressStatus = deserializeAws_restJson1ChangeProgressStatusDetails(data.ChangeProgressStatus, context);
|
|
2194
|
+
}
|
|
2195
|
+
return Promise.resolve(contents);
|
|
2196
|
+
};
|
|
2197
|
+
exports.deserializeAws_restJson1DescribeDomainChangeProgressCommand = deserializeAws_restJson1DescribeDomainChangeProgressCommand;
|
|
2198
|
+
const deserializeAws_restJson1DescribeDomainChangeProgressCommandError = async (output, context) => {
|
|
2199
|
+
const parsedOutput = {
|
|
2200
|
+
...output,
|
|
2201
|
+
body: await parseBody(output.body, context),
|
|
2202
|
+
};
|
|
2203
|
+
let response;
|
|
2204
|
+
let errorCode = "UnknownError";
|
|
2205
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2206
|
+
switch (errorCode) {
|
|
2207
|
+
case "BaseException":
|
|
2208
|
+
case "com.amazonaws.elasticsearchservice#BaseException":
|
|
2209
|
+
response = {
|
|
2210
|
+
...(await deserializeAws_restJson1BaseExceptionResponse(parsedOutput, context)),
|
|
2211
|
+
name: errorCode,
|
|
2212
|
+
$metadata: deserializeMetadata(output),
|
|
2213
|
+
};
|
|
2214
|
+
break;
|
|
2215
|
+
case "InternalException":
|
|
2216
|
+
case "com.amazonaws.elasticsearchservice#InternalException":
|
|
2217
|
+
response = {
|
|
2218
|
+
...(await deserializeAws_restJson1InternalExceptionResponse(parsedOutput, context)),
|
|
2219
|
+
name: errorCode,
|
|
2220
|
+
$metadata: deserializeMetadata(output),
|
|
2221
|
+
};
|
|
2222
|
+
break;
|
|
2223
|
+
case "ResourceNotFoundException":
|
|
2224
|
+
case "com.amazonaws.elasticsearchservice#ResourceNotFoundException":
|
|
2225
|
+
response = {
|
|
2226
|
+
...(await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)),
|
|
2227
|
+
name: errorCode,
|
|
2228
|
+
$metadata: deserializeMetadata(output),
|
|
2229
|
+
};
|
|
2230
|
+
break;
|
|
2231
|
+
case "ValidationException":
|
|
2232
|
+
case "com.amazonaws.elasticsearchservice#ValidationException":
|
|
2233
|
+
response = {
|
|
2234
|
+
...(await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)),
|
|
2235
|
+
name: errorCode,
|
|
2236
|
+
$metadata: deserializeMetadata(output),
|
|
2237
|
+
};
|
|
2238
|
+
break;
|
|
2239
|
+
default:
|
|
2240
|
+
const parsedBody = parsedOutput.body;
|
|
2241
|
+
errorCode = parsedBody.code || parsedBody.Code || errorCode;
|
|
2242
|
+
response = {
|
|
2243
|
+
...parsedBody,
|
|
2244
|
+
name: `${errorCode}`,
|
|
2245
|
+
message: parsedBody.message || parsedBody.Message || errorCode,
|
|
2246
|
+
$fault: "client",
|
|
2247
|
+
$metadata: deserializeMetadata(output),
|
|
2248
|
+
};
|
|
2249
|
+
}
|
|
2250
|
+
const message = response.message || response.Message || errorCode;
|
|
2251
|
+
response.message = message;
|
|
2252
|
+
delete response.Message;
|
|
2253
|
+
return Promise.reject(Object.assign(new Error(message), response));
|
|
2254
|
+
};
|
|
2152
2255
|
const deserializeAws_restJson1DescribeElasticsearchDomainCommand = async (output, context) => {
|
|
2153
2256
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2154
2257
|
return deserializeAws_restJson1DescribeElasticsearchDomainCommandError(output, context);
|
|
@@ -4144,11 +4247,15 @@ const deserializeAws_restJson1UpgradeElasticsearchDomainCommand = async (output,
|
|
|
4144
4247
|
}
|
|
4145
4248
|
const contents = {
|
|
4146
4249
|
$metadata: deserializeMetadata(output),
|
|
4250
|
+
ChangeProgressDetails: undefined,
|
|
4147
4251
|
DomainName: undefined,
|
|
4148
4252
|
PerformCheckOnly: undefined,
|
|
4149
4253
|
TargetVersion: undefined,
|
|
4150
4254
|
};
|
|
4151
4255
|
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4256
|
+
if (data.ChangeProgressDetails !== undefined && data.ChangeProgressDetails !== null) {
|
|
4257
|
+
contents.ChangeProgressDetails = deserializeAws_restJson1ChangeProgressDetails(data.ChangeProgressDetails, context);
|
|
4258
|
+
}
|
|
4152
4259
|
if (data.DomainName !== undefined && data.DomainName !== null) {
|
|
4153
4260
|
contents.DomainName = smithy_client_1.expectString(data.DomainName);
|
|
4154
4261
|
}
|
|
@@ -4852,6 +4959,51 @@ const deserializeAws_restJson1AutoTuneStatus = (output, context) => {
|
|
|
4852
4959
|
UpdateVersion: smithy_client_1.expectInt32(output.UpdateVersion),
|
|
4853
4960
|
};
|
|
4854
4961
|
};
|
|
4962
|
+
const deserializeAws_restJson1ChangeProgressDetails = (output, context) => {
|
|
4963
|
+
return {
|
|
4964
|
+
ChangeId: smithy_client_1.expectString(output.ChangeId),
|
|
4965
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
4966
|
+
};
|
|
4967
|
+
};
|
|
4968
|
+
const deserializeAws_restJson1ChangeProgressStage = (output, context) => {
|
|
4969
|
+
return {
|
|
4970
|
+
Description: smithy_client_1.expectString(output.Description),
|
|
4971
|
+
LastUpdated: output.LastUpdated !== undefined && output.LastUpdated !== null
|
|
4972
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastUpdated)))
|
|
4973
|
+
: undefined,
|
|
4974
|
+
Name: smithy_client_1.expectString(output.Name),
|
|
4975
|
+
Status: smithy_client_1.expectString(output.Status),
|
|
4976
|
+
};
|
|
4977
|
+
};
|
|
4978
|
+
const deserializeAws_restJson1ChangeProgressStageList = (output, context) => {
|
|
4979
|
+
return (output || [])
|
|
4980
|
+
.filter((e) => e != null)
|
|
4981
|
+
.map((entry) => {
|
|
4982
|
+
if (entry === null) {
|
|
4983
|
+
return null;
|
|
4984
|
+
}
|
|
4985
|
+
return deserializeAws_restJson1ChangeProgressStage(entry, context);
|
|
4986
|
+
});
|
|
4987
|
+
};
|
|
4988
|
+
const deserializeAws_restJson1ChangeProgressStatusDetails = (output, context) => {
|
|
4989
|
+
return {
|
|
4990
|
+
ChangeId: smithy_client_1.expectString(output.ChangeId),
|
|
4991
|
+
ChangeProgressStages: output.ChangeProgressStages !== undefined && output.ChangeProgressStages !== null
|
|
4992
|
+
? deserializeAws_restJson1ChangeProgressStageList(output.ChangeProgressStages, context)
|
|
4993
|
+
: undefined,
|
|
4994
|
+
CompletedProperties: output.CompletedProperties !== undefined && output.CompletedProperties !== null
|
|
4995
|
+
? deserializeAws_restJson1StringList(output.CompletedProperties, context)
|
|
4996
|
+
: undefined,
|
|
4997
|
+
PendingProperties: output.PendingProperties !== undefined && output.PendingProperties !== null
|
|
4998
|
+
? deserializeAws_restJson1StringList(output.PendingProperties, context)
|
|
4999
|
+
: undefined,
|
|
5000
|
+
StartTime: output.StartTime !== undefined && output.StartTime !== null
|
|
5001
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StartTime)))
|
|
5002
|
+
: undefined,
|
|
5003
|
+
Status: smithy_client_1.expectString(output.Status),
|
|
5004
|
+
TotalNumberOfStages: smithy_client_1.expectInt32(output.TotalNumberOfStages),
|
|
5005
|
+
};
|
|
5006
|
+
};
|
|
4855
5007
|
const deserializeAws_restJson1CognitoOptions = (output, context) => {
|
|
4856
5008
|
return {
|
|
4857
5009
|
Enabled: smithy_client_1.expectBoolean(output.Enabled),
|
|
@@ -5035,6 +5187,9 @@ const deserializeAws_restJson1ElasticsearchDomainConfig = (output, context) => {
|
|
|
5035
5187
|
AutoTuneOptions: output.AutoTuneOptions !== undefined && output.AutoTuneOptions !== null
|
|
5036
5188
|
? deserializeAws_restJson1AutoTuneOptionsStatus(output.AutoTuneOptions, context)
|
|
5037
5189
|
: undefined,
|
|
5190
|
+
ChangeProgressDetails: output.ChangeProgressDetails !== undefined && output.ChangeProgressDetails !== null
|
|
5191
|
+
? deserializeAws_restJson1ChangeProgressDetails(output.ChangeProgressDetails, context)
|
|
5192
|
+
: undefined,
|
|
5038
5193
|
CognitoOptions: output.CognitoOptions !== undefined && output.CognitoOptions !== null
|
|
5039
5194
|
? deserializeAws_restJson1CognitoOptionsStatus(output.CognitoOptions, context)
|
|
5040
5195
|
: undefined,
|
|
@@ -5080,6 +5235,9 @@ const deserializeAws_restJson1ElasticsearchDomainStatus = (output, context) => {
|
|
|
5080
5235
|
AutoTuneOptions: output.AutoTuneOptions !== undefined && output.AutoTuneOptions !== null
|
|
5081
5236
|
? deserializeAws_restJson1AutoTuneOptionsOutput(output.AutoTuneOptions, context)
|
|
5082
5237
|
: undefined,
|
|
5238
|
+
ChangeProgressDetails: output.ChangeProgressDetails !== undefined && output.ChangeProgressDetails !== null
|
|
5239
|
+
? deserializeAws_restJson1ChangeProgressDetails(output.ChangeProgressDetails, context)
|
|
5240
|
+
: undefined,
|
|
5083
5241
|
CognitoOptions: output.CognitoOptions !== undefined && output.CognitoOptions !== null
|
|
5084
5242
|
? deserializeAws_restJson1CognitoOptions(output.CognitoOptions, context)
|
|
5085
5243
|
: undefined,
|
|
@@ -12,6 +12,7 @@ import { DeleteInboundCrossClusterSearchConnectionCommand, } from "./commands/De
|
|
|
12
12
|
import { DeleteOutboundCrossClusterSearchConnectionCommand, } from "./commands/DeleteOutboundCrossClusterSearchConnectionCommand";
|
|
13
13
|
import { DeletePackageCommand, } from "./commands/DeletePackageCommand";
|
|
14
14
|
import { DescribeDomainAutoTunesCommand, } from "./commands/DescribeDomainAutoTunesCommand";
|
|
15
|
+
import { DescribeDomainChangeProgressCommand, } from "./commands/DescribeDomainChangeProgressCommand";
|
|
15
16
|
import { DescribeElasticsearchDomainCommand, } from "./commands/DescribeElasticsearchDomainCommand";
|
|
16
17
|
import { DescribeElasticsearchDomainConfigCommand, } from "./commands/DescribeElasticsearchDomainConfigCommand";
|
|
17
18
|
import { DescribeElasticsearchDomainsCommand, } from "./commands/DescribeElasticsearchDomainsCommand";
|
|
@@ -227,6 +228,20 @@ var ElasticsearchService = (function (_super) {
|
|
|
227
228
|
return this.send(command, optionsOrCb);
|
|
228
229
|
}
|
|
229
230
|
};
|
|
231
|
+
ElasticsearchService.prototype.describeDomainChangeProgress = function (args, optionsOrCb, cb) {
|
|
232
|
+
var command = new DescribeDomainChangeProgressCommand(args);
|
|
233
|
+
if (typeof optionsOrCb === "function") {
|
|
234
|
+
this.send(command, optionsOrCb);
|
|
235
|
+
}
|
|
236
|
+
else if (typeof cb === "function") {
|
|
237
|
+
if (typeof optionsOrCb !== "object")
|
|
238
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
239
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
240
|
+
}
|
|
241
|
+
else {
|
|
242
|
+
return this.send(command, optionsOrCb);
|
|
243
|
+
}
|
|
244
|
+
};
|
|
230
245
|
ElasticsearchService.prototype.describeElasticsearchDomain = function (args, optionsOrCb, cb) {
|
|
231
246
|
var command = new DescribeElasticsearchDomainCommand(args);
|
|
232
247
|
if (typeof optionsOrCb === "function") {
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { DescribeDomainChangeProgressRequest, DescribeDomainChangeProgressResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1DescribeDomainChangeProgressCommand, serializeAws_restJson1DescribeDomainChangeProgressCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var DescribeDomainChangeProgressCommand = (function (_super) {
|
|
7
|
+
__extends(DescribeDomainChangeProgressCommand, _super);
|
|
8
|
+
function DescribeDomainChangeProgressCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
DescribeDomainChangeProgressCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "ElasticsearchServiceClient";
|
|
18
|
+
var commandName = "DescribeDomainChangeProgressCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: DescribeDomainChangeProgressRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: DescribeDomainChangeProgressResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DescribeDomainChangeProgressCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1DescribeDomainChangeProgressCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
DescribeDomainChangeProgressCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1DescribeDomainChangeProgressCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return DescribeDomainChangeProgressCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DescribeDomainChangeProgressCommand };
|
|
@@ -11,6 +11,7 @@ export * from "./DeleteInboundCrossClusterSearchConnectionCommand";
|
|
|
11
11
|
export * from "./DeleteOutboundCrossClusterSearchConnectionCommand";
|
|
12
12
|
export * from "./DeletePackageCommand";
|
|
13
13
|
export * from "./DescribeDomainAutoTunesCommand";
|
|
14
|
+
export * from "./DescribeDomainChangeProgressCommand";
|
|
14
15
|
export * from "./DescribeElasticsearchDomainCommand";
|
|
15
16
|
export * from "./DescribeElasticsearchDomainConfigCommand";
|
|
16
17
|
export * from "./DescribeElasticsearchDomainsCommand";
|
|
@@ -201,6 +201,10 @@ export var AutoTuneOptionsOutput;
|
|
|
201
201
|
(function (AutoTuneOptionsOutput) {
|
|
202
202
|
AutoTuneOptionsOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
203
203
|
})(AutoTuneOptionsOutput || (AutoTuneOptionsOutput = {}));
|
|
204
|
+
export var ChangeProgressDetails;
|
|
205
|
+
(function (ChangeProgressDetails) {
|
|
206
|
+
ChangeProgressDetails.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
207
|
+
})(ChangeProgressDetails || (ChangeProgressDetails = {}));
|
|
204
208
|
export var VPCDerivedInfo;
|
|
205
209
|
(function (VPCDerivedInfo) {
|
|
206
210
|
VPCDerivedInfo.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -323,6 +327,29 @@ export var DescribeDomainAutoTunesResponse;
|
|
|
323
327
|
(function (DescribeDomainAutoTunesResponse) {
|
|
324
328
|
DescribeDomainAutoTunesResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
325
329
|
})(DescribeDomainAutoTunesResponse || (DescribeDomainAutoTunesResponse = {}));
|
|
330
|
+
export var DescribeDomainChangeProgressRequest;
|
|
331
|
+
(function (DescribeDomainChangeProgressRequest) {
|
|
332
|
+
DescribeDomainChangeProgressRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
333
|
+
})(DescribeDomainChangeProgressRequest || (DescribeDomainChangeProgressRequest = {}));
|
|
334
|
+
export var ChangeProgressStage;
|
|
335
|
+
(function (ChangeProgressStage) {
|
|
336
|
+
ChangeProgressStage.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
337
|
+
})(ChangeProgressStage || (ChangeProgressStage = {}));
|
|
338
|
+
export var OverallChangeStatus;
|
|
339
|
+
(function (OverallChangeStatus) {
|
|
340
|
+
OverallChangeStatus["COMPLETED"] = "COMPLETED";
|
|
341
|
+
OverallChangeStatus["FAILED"] = "FAILED";
|
|
342
|
+
OverallChangeStatus["PENDING"] = "PENDING";
|
|
343
|
+
OverallChangeStatus["PROCESSING"] = "PROCESSING";
|
|
344
|
+
})(OverallChangeStatus || (OverallChangeStatus = {}));
|
|
345
|
+
export var ChangeProgressStatusDetails;
|
|
346
|
+
(function (ChangeProgressStatusDetails) {
|
|
347
|
+
ChangeProgressStatusDetails.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
348
|
+
})(ChangeProgressStatusDetails || (ChangeProgressStatusDetails = {}));
|
|
349
|
+
export var DescribeDomainChangeProgressResponse;
|
|
350
|
+
(function (DescribeDomainChangeProgressResponse) {
|
|
351
|
+
DescribeDomainChangeProgressResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
352
|
+
})(DescribeDomainChangeProgressResponse || (DescribeDomainChangeProgressResponse = {}));
|
|
326
353
|
export var DescribeElasticsearchDomainRequest;
|
|
327
354
|
(function (DescribeElasticsearchDomainRequest) {
|
|
328
355
|
DescribeElasticsearchDomainRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|