@aws-sdk/client-opensearch 3.47.0 → 3.49.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/OpenSearch.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 +40 -3
- package/dist-cjs/protocols/Aws_restJson1.js +160 -2
- package/dist-es/OpenSearch.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/OpenSearch.d.ts +8 -0
- package/dist-types/OpenSearchClient.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/OpenSearch.d.ts +5 -0
- package/dist-types/ts3.4/OpenSearchClient.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
|
@@ -437,6 +437,40 @@ export var serializeAws_restJson1DescribeDomainAutoTunesCommand = function (inpu
|
|
|
437
437
|
}
|
|
438
438
|
});
|
|
439
439
|
}); };
|
|
440
|
+
export var serializeAws_restJson1DescribeDomainChangeProgressCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
441
|
+
var _a, hostname, _b, protocol, port, basePath, headers, resolvedPath, labelValue, query, body;
|
|
442
|
+
return __generator(this, function (_c) {
|
|
443
|
+
switch (_c.label) {
|
|
444
|
+
case 0: return [4, context.endpoint()];
|
|
445
|
+
case 1:
|
|
446
|
+
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
447
|
+
headers = {};
|
|
448
|
+
resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
449
|
+
"/2021-01-01/opensearch/domain/{DomainName}/progress";
|
|
450
|
+
if (input.DomainName !== undefined) {
|
|
451
|
+
labelValue = input.DomainName;
|
|
452
|
+
if (labelValue.length <= 0) {
|
|
453
|
+
throw new Error("Empty value provided for input HTTP label: DomainName.");
|
|
454
|
+
}
|
|
455
|
+
resolvedPath = resolvedPath.replace("{DomainName}", __extendedEncodeURIComponent(labelValue));
|
|
456
|
+
}
|
|
457
|
+
else {
|
|
458
|
+
throw new Error("No value provided for input HTTP label: DomainName.");
|
|
459
|
+
}
|
|
460
|
+
query = __assign({}, (input.ChangeId !== undefined && { changeid: input.ChangeId }));
|
|
461
|
+
return [2, new __HttpRequest({
|
|
462
|
+
protocol: protocol,
|
|
463
|
+
hostname: hostname,
|
|
464
|
+
port: port,
|
|
465
|
+
method: "GET",
|
|
466
|
+
headers: headers,
|
|
467
|
+
path: resolvedPath,
|
|
468
|
+
query: query,
|
|
469
|
+
body: body,
|
|
470
|
+
})];
|
|
471
|
+
}
|
|
472
|
+
});
|
|
473
|
+
}); };
|
|
440
474
|
export var serializeAws_restJson1DescribeDomainConfigCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
441
475
|
var _a, hostname, _b, protocol, port, basePath, headers, resolvedPath, labelValue, body;
|
|
442
476
|
return __generator(this, function (_c) {
|
|
@@ -2400,6 +2434,92 @@ var deserializeAws_restJson1DescribeDomainAutoTunesCommandError = function (outp
|
|
|
2400
2434
|
}
|
|
2401
2435
|
});
|
|
2402
2436
|
}); };
|
|
2437
|
+
export var deserializeAws_restJson1DescribeDomainChangeProgressCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2438
|
+
var contents, data, _a, _b;
|
|
2439
|
+
return __generator(this, function (_c) {
|
|
2440
|
+
switch (_c.label) {
|
|
2441
|
+
case 0:
|
|
2442
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2443
|
+
return [2, deserializeAws_restJson1DescribeDomainChangeProgressCommandError(output, context)];
|
|
2444
|
+
}
|
|
2445
|
+
contents = {
|
|
2446
|
+
$metadata: deserializeMetadata(output),
|
|
2447
|
+
ChangeProgressStatus: undefined,
|
|
2448
|
+
};
|
|
2449
|
+
_a = __expectNonNull;
|
|
2450
|
+
_b = __expectObject;
|
|
2451
|
+
return [4, parseBody(output.body, context)];
|
|
2452
|
+
case 1:
|
|
2453
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
2454
|
+
if (data.ChangeProgressStatus !== undefined && data.ChangeProgressStatus !== null) {
|
|
2455
|
+
contents.ChangeProgressStatus = deserializeAws_restJson1ChangeProgressStatusDetails(data.ChangeProgressStatus, context);
|
|
2456
|
+
}
|
|
2457
|
+
return [2, Promise.resolve(contents)];
|
|
2458
|
+
}
|
|
2459
|
+
});
|
|
2460
|
+
}); };
|
|
2461
|
+
var deserializeAws_restJson1DescribeDomainChangeProgressCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2462
|
+
var parsedOutput, _a, response, errorCode, _b, _c, _d, _e, _f, parsedBody, message;
|
|
2463
|
+
var _g;
|
|
2464
|
+
return __generator(this, function (_h) {
|
|
2465
|
+
switch (_h.label) {
|
|
2466
|
+
case 0:
|
|
2467
|
+
_a = [__assign({}, output)];
|
|
2468
|
+
_g = {};
|
|
2469
|
+
return [4, parseBody(output.body, context)];
|
|
2470
|
+
case 1:
|
|
2471
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_g.body = _h.sent(), _g)]));
|
|
2472
|
+
errorCode = "UnknownError";
|
|
2473
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2474
|
+
_b = errorCode;
|
|
2475
|
+
switch (_b) {
|
|
2476
|
+
case "BaseException": return [3, 2];
|
|
2477
|
+
case "com.amazonaws.opensearch#BaseException": return [3, 2];
|
|
2478
|
+
case "InternalException": return [3, 4];
|
|
2479
|
+
case "com.amazonaws.opensearch#InternalException": return [3, 4];
|
|
2480
|
+
case "ResourceNotFoundException": return [3, 6];
|
|
2481
|
+
case "com.amazonaws.opensearch#ResourceNotFoundException": return [3, 6];
|
|
2482
|
+
case "ValidationException": return [3, 8];
|
|
2483
|
+
case "com.amazonaws.opensearch#ValidationException": return [3, 8];
|
|
2484
|
+
}
|
|
2485
|
+
return [3, 10];
|
|
2486
|
+
case 2:
|
|
2487
|
+
_c = [{}];
|
|
2488
|
+
return [4, deserializeAws_restJson1BaseExceptionResponse(parsedOutput, context)];
|
|
2489
|
+
case 3:
|
|
2490
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2491
|
+
return [3, 11];
|
|
2492
|
+
case 4:
|
|
2493
|
+
_d = [{}];
|
|
2494
|
+
return [4, deserializeAws_restJson1InternalExceptionResponse(parsedOutput, context)];
|
|
2495
|
+
case 5:
|
|
2496
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2497
|
+
return [3, 11];
|
|
2498
|
+
case 6:
|
|
2499
|
+
_e = [{}];
|
|
2500
|
+
return [4, deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
2501
|
+
case 7:
|
|
2502
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2503
|
+
return [3, 11];
|
|
2504
|
+
case 8:
|
|
2505
|
+
_f = [{}];
|
|
2506
|
+
return [4, deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)];
|
|
2507
|
+
case 9:
|
|
2508
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2509
|
+
return [3, 11];
|
|
2510
|
+
case 10:
|
|
2511
|
+
parsedBody = parsedOutput.body;
|
|
2512
|
+
errorCode = parsedBody.code || parsedBody.Code || errorCode;
|
|
2513
|
+
response = __assign(__assign({}, parsedBody), { name: "" + errorCode, message: parsedBody.message || parsedBody.Message || errorCode, $fault: "client", $metadata: deserializeMetadata(output) });
|
|
2514
|
+
_h.label = 11;
|
|
2515
|
+
case 11:
|
|
2516
|
+
message = response.message || response.Message || errorCode;
|
|
2517
|
+
response.message = message;
|
|
2518
|
+
delete response.Message;
|
|
2519
|
+
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
2520
|
+
}
|
|
2521
|
+
});
|
|
2522
|
+
}); };
|
|
2403
2523
|
export var deserializeAws_restJson1DescribeDomainConfigCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2404
2524
|
var contents, data, _a, _b;
|
|
2405
2525
|
return __generator(this, function (_c) {
|
|
@@ -4675,6 +4795,7 @@ export var deserializeAws_restJson1UpgradeDomainCommand = function (output, cont
|
|
|
4675
4795
|
contents = {
|
|
4676
4796
|
$metadata: deserializeMetadata(output),
|
|
4677
4797
|
AdvancedOptions: undefined,
|
|
4798
|
+
ChangeProgressDetails: undefined,
|
|
4678
4799
|
DomainName: undefined,
|
|
4679
4800
|
PerformCheckOnly: undefined,
|
|
4680
4801
|
TargetVersion: undefined,
|
|
@@ -4688,6 +4809,9 @@ export var deserializeAws_restJson1UpgradeDomainCommand = function (output, cont
|
|
|
4688
4809
|
if (data.AdvancedOptions !== undefined && data.AdvancedOptions !== null) {
|
|
4689
4810
|
contents.AdvancedOptions = deserializeAws_restJson1AdvancedOptions(data.AdvancedOptions, context);
|
|
4690
4811
|
}
|
|
4812
|
+
if (data.ChangeProgressDetails !== undefined && data.ChangeProgressDetails !== null) {
|
|
4813
|
+
contents.ChangeProgressDetails = deserializeAws_restJson1ChangeProgressDetails(data.ChangeProgressDetails, context);
|
|
4814
|
+
}
|
|
4691
4815
|
if (data.DomainName !== undefined && data.DomainName !== null) {
|
|
4692
4816
|
contents.DomainName = __expectString(data.DomainName);
|
|
4693
4817
|
}
|
|
@@ -5347,6 +5471,51 @@ var deserializeAws_restJson1AWSDomainInformation = function (output, context) {
|
|
|
5347
5471
|
Region: __expectString(output.Region),
|
|
5348
5472
|
};
|
|
5349
5473
|
};
|
|
5474
|
+
var deserializeAws_restJson1ChangeProgressDetails = function (output, context) {
|
|
5475
|
+
return {
|
|
5476
|
+
ChangeId: __expectString(output.ChangeId),
|
|
5477
|
+
Message: __expectString(output.Message),
|
|
5478
|
+
};
|
|
5479
|
+
};
|
|
5480
|
+
var deserializeAws_restJson1ChangeProgressStage = function (output, context) {
|
|
5481
|
+
return {
|
|
5482
|
+
Description: __expectString(output.Description),
|
|
5483
|
+
LastUpdated: output.LastUpdated !== undefined && output.LastUpdated !== null
|
|
5484
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdated)))
|
|
5485
|
+
: undefined,
|
|
5486
|
+
Name: __expectString(output.Name),
|
|
5487
|
+
Status: __expectString(output.Status),
|
|
5488
|
+
};
|
|
5489
|
+
};
|
|
5490
|
+
var deserializeAws_restJson1ChangeProgressStageList = function (output, context) {
|
|
5491
|
+
return (output || [])
|
|
5492
|
+
.filter(function (e) { return e != null; })
|
|
5493
|
+
.map(function (entry) {
|
|
5494
|
+
if (entry === null) {
|
|
5495
|
+
return null;
|
|
5496
|
+
}
|
|
5497
|
+
return deserializeAws_restJson1ChangeProgressStage(entry, context);
|
|
5498
|
+
});
|
|
5499
|
+
};
|
|
5500
|
+
var deserializeAws_restJson1ChangeProgressStatusDetails = function (output, context) {
|
|
5501
|
+
return {
|
|
5502
|
+
ChangeId: __expectString(output.ChangeId),
|
|
5503
|
+
ChangeProgressStages: output.ChangeProgressStages !== undefined && output.ChangeProgressStages !== null
|
|
5504
|
+
? deserializeAws_restJson1ChangeProgressStageList(output.ChangeProgressStages, context)
|
|
5505
|
+
: undefined,
|
|
5506
|
+
CompletedProperties: output.CompletedProperties !== undefined && output.CompletedProperties !== null
|
|
5507
|
+
? deserializeAws_restJson1StringList(output.CompletedProperties, context)
|
|
5508
|
+
: undefined,
|
|
5509
|
+
PendingProperties: output.PendingProperties !== undefined && output.PendingProperties !== null
|
|
5510
|
+
? deserializeAws_restJson1StringList(output.PendingProperties, context)
|
|
5511
|
+
: undefined,
|
|
5512
|
+
StartTime: output.StartTime !== undefined && output.StartTime !== null
|
|
5513
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime)))
|
|
5514
|
+
: undefined,
|
|
5515
|
+
Status: __expectString(output.Status),
|
|
5516
|
+
TotalNumberOfStages: __expectInt32(output.TotalNumberOfStages),
|
|
5517
|
+
};
|
|
5518
|
+
};
|
|
5350
5519
|
var deserializeAws_restJson1ClusterConfig = function (output, context) {
|
|
5351
5520
|
return {
|
|
5352
5521
|
ColdStorageOptions: output.ColdStorageOptions !== undefined && output.ColdStorageOptions !== null
|
|
@@ -5431,6 +5600,9 @@ var deserializeAws_restJson1DomainConfig = function (output, context) {
|
|
|
5431
5600
|
AutoTuneOptions: output.AutoTuneOptions !== undefined && output.AutoTuneOptions !== null
|
|
5432
5601
|
? deserializeAws_restJson1AutoTuneOptionsStatus(output.AutoTuneOptions, context)
|
|
5433
5602
|
: undefined,
|
|
5603
|
+
ChangeProgressDetails: output.ChangeProgressDetails !== undefined && output.ChangeProgressDetails !== null
|
|
5604
|
+
? deserializeAws_restJson1ChangeProgressDetails(output.ChangeProgressDetails, context)
|
|
5605
|
+
: undefined,
|
|
5434
5606
|
ClusterConfig: output.ClusterConfig !== undefined && output.ClusterConfig !== null
|
|
5435
5607
|
? deserializeAws_restJson1ClusterConfigStatus(output.ClusterConfig, context)
|
|
5436
5608
|
: undefined,
|
|
@@ -5545,6 +5717,9 @@ var deserializeAws_restJson1DomainStatus = function (output, context) {
|
|
|
5545
5717
|
AutoTuneOptions: output.AutoTuneOptions !== undefined && output.AutoTuneOptions !== null
|
|
5546
5718
|
? deserializeAws_restJson1AutoTuneOptionsOutput(output.AutoTuneOptions, context)
|
|
5547
5719
|
: undefined,
|
|
5720
|
+
ChangeProgressDetails: output.ChangeProgressDetails !== undefined && output.ChangeProgressDetails !== null
|
|
5721
|
+
? deserializeAws_restJson1ChangeProgressDetails(output.ChangeProgressDetails, context)
|
|
5722
|
+
: undefined,
|
|
5548
5723
|
ClusterConfig: output.ClusterConfig !== undefined && output.ClusterConfig !== null
|
|
5549
5724
|
? deserializeAws_restJson1ClusterConfig(output.ClusterConfig, context)
|
|
5550
5725
|
: undefined,
|
|
@@ -11,6 +11,7 @@ import { DeleteInboundConnectionCommandInput, DeleteInboundConnectionCommandOutp
|
|
|
11
11
|
import { DeleteOutboundConnectionCommandInput, DeleteOutboundConnectionCommandOutput } from "./commands/DeleteOutboundConnectionCommand";
|
|
12
12
|
import { DeletePackageCommandInput, DeletePackageCommandOutput } from "./commands/DeletePackageCommand";
|
|
13
13
|
import { DescribeDomainAutoTunesCommandInput, DescribeDomainAutoTunesCommandOutput } from "./commands/DescribeDomainAutoTunesCommand";
|
|
14
|
+
import { DescribeDomainChangeProgressCommandInput, DescribeDomainChangeProgressCommandOutput } from "./commands/DescribeDomainChangeProgressCommand";
|
|
14
15
|
import { DescribeDomainCommandInput, DescribeDomainCommandOutput } from "./commands/DescribeDomainCommand";
|
|
15
16
|
import { DescribeDomainConfigCommandInput, DescribeDomainConfigCommandOutput } from "./commands/DescribeDomainConfigCommand";
|
|
16
17
|
import { DescribeDomainsCommandInput, DescribeDomainsCommandOutput } from "./commands/DescribeDomainsCommand";
|
|
@@ -147,6 +148,13 @@ export declare class OpenSearch extends OpenSearchClient {
|
|
|
147
148
|
describeDomainAutoTunes(args: DescribeDomainAutoTunesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeDomainAutoTunesCommandOutput>;
|
|
148
149
|
describeDomainAutoTunes(args: DescribeDomainAutoTunesCommandInput, cb: (err: any, data?: DescribeDomainAutoTunesCommandOutput) => void): void;
|
|
149
150
|
describeDomainAutoTunes(args: DescribeDomainAutoTunesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeDomainAutoTunesCommandOutput) => void): void;
|
|
151
|
+
/**
|
|
152
|
+
* <p>Returns information about the current blue/green deployment happening on a domain, including
|
|
153
|
+
* a change ID, status, and progress stages.</p>
|
|
154
|
+
*/
|
|
155
|
+
describeDomainChangeProgress(args: DescribeDomainChangeProgressCommandInput, options?: __HttpHandlerOptions): Promise<DescribeDomainChangeProgressCommandOutput>;
|
|
156
|
+
describeDomainChangeProgress(args: DescribeDomainChangeProgressCommandInput, cb: (err: any, data?: DescribeDomainChangeProgressCommandOutput) => void): void;
|
|
157
|
+
describeDomainChangeProgress(args: DescribeDomainChangeProgressCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeDomainChangeProgressCommandOutput) => void): void;
|
|
150
158
|
/**
|
|
151
159
|
* <p>Provides cluster configuration information about the specified domain, such as the state, creation
|
|
152
160
|
* date, update version, and update date for cluster options.
|
|
@@ -18,6 +18,7 @@ import { DeleteInboundConnectionCommandInput, DeleteInboundConnectionCommandOutp
|
|
|
18
18
|
import { DeleteOutboundConnectionCommandInput, DeleteOutboundConnectionCommandOutput } from "./commands/DeleteOutboundConnectionCommand";
|
|
19
19
|
import { DeletePackageCommandInput, DeletePackageCommandOutput } from "./commands/DeletePackageCommand";
|
|
20
20
|
import { DescribeDomainAutoTunesCommandInput, DescribeDomainAutoTunesCommandOutput } from "./commands/DescribeDomainAutoTunesCommand";
|
|
21
|
+
import { DescribeDomainChangeProgressCommandInput, DescribeDomainChangeProgressCommandOutput } from "./commands/DescribeDomainChangeProgressCommand";
|
|
21
22
|
import { DescribeDomainCommandInput, DescribeDomainCommandOutput } from "./commands/DescribeDomainCommand";
|
|
22
23
|
import { DescribeDomainConfigCommandInput, DescribeDomainConfigCommandOutput } from "./commands/DescribeDomainConfigCommand";
|
|
23
24
|
import { DescribeDomainsCommandInput, DescribeDomainsCommandOutput } from "./commands/DescribeDomainsCommand";
|
|
@@ -45,8 +46,8 @@ import { StartServiceSoftwareUpdateCommandInput, StartServiceSoftwareUpdateComma
|
|
|
45
46
|
import { UpdateDomainConfigCommandInput, UpdateDomainConfigCommandOutput } from "./commands/UpdateDomainConfigCommand";
|
|
46
47
|
import { UpdatePackageCommandInput, UpdatePackageCommandOutput } from "./commands/UpdatePackageCommand";
|
|
47
48
|
import { UpgradeDomainCommandInput, UpgradeDomainCommandOutput } from "./commands/UpgradeDomainCommand";
|
|
48
|
-
export declare type ServiceInputTypes = AcceptInboundConnectionCommandInput | AddTagsCommandInput | AssociatePackageCommandInput | CancelServiceSoftwareUpdateCommandInput | CreateDomainCommandInput | CreateOutboundConnectionCommandInput | CreatePackageCommandInput | DeleteDomainCommandInput | DeleteInboundConnectionCommandInput | DeleteOutboundConnectionCommandInput | DeletePackageCommandInput | DescribeDomainAutoTunesCommandInput | DescribeDomainCommandInput | DescribeDomainConfigCommandInput | DescribeDomainsCommandInput | DescribeInboundConnectionsCommandInput | DescribeInstanceTypeLimitsCommandInput | DescribeOutboundConnectionsCommandInput | DescribePackagesCommandInput | DescribeReservedInstanceOfferingsCommandInput | DescribeReservedInstancesCommandInput | DissociatePackageCommandInput | GetCompatibleVersionsCommandInput | GetPackageVersionHistoryCommandInput | GetUpgradeHistoryCommandInput | GetUpgradeStatusCommandInput | ListDomainNamesCommandInput | ListDomainsForPackageCommandInput | ListInstanceTypeDetailsCommandInput | ListPackagesForDomainCommandInput | ListTagsCommandInput | ListVersionsCommandInput | PurchaseReservedInstanceOfferingCommandInput | RejectInboundConnectionCommandInput | RemoveTagsCommandInput | StartServiceSoftwareUpdateCommandInput | UpdateDomainConfigCommandInput | UpdatePackageCommandInput | UpgradeDomainCommandInput;
|
|
49
|
-
export declare type ServiceOutputTypes = AcceptInboundConnectionCommandOutput | AddTagsCommandOutput | AssociatePackageCommandOutput | CancelServiceSoftwareUpdateCommandOutput | CreateDomainCommandOutput | CreateOutboundConnectionCommandOutput | CreatePackageCommandOutput | DeleteDomainCommandOutput | DeleteInboundConnectionCommandOutput | DeleteOutboundConnectionCommandOutput | DeletePackageCommandOutput | DescribeDomainAutoTunesCommandOutput | DescribeDomainCommandOutput | DescribeDomainConfigCommandOutput | DescribeDomainsCommandOutput | DescribeInboundConnectionsCommandOutput | DescribeInstanceTypeLimitsCommandOutput | DescribeOutboundConnectionsCommandOutput | DescribePackagesCommandOutput | DescribeReservedInstanceOfferingsCommandOutput | DescribeReservedInstancesCommandOutput | DissociatePackageCommandOutput | GetCompatibleVersionsCommandOutput | GetPackageVersionHistoryCommandOutput | GetUpgradeHistoryCommandOutput | GetUpgradeStatusCommandOutput | ListDomainNamesCommandOutput | ListDomainsForPackageCommandOutput | ListInstanceTypeDetailsCommandOutput | ListPackagesForDomainCommandOutput | ListTagsCommandOutput | ListVersionsCommandOutput | PurchaseReservedInstanceOfferingCommandOutput | RejectInboundConnectionCommandOutput | RemoveTagsCommandOutput | StartServiceSoftwareUpdateCommandOutput | UpdateDomainConfigCommandOutput | UpdatePackageCommandOutput | UpgradeDomainCommandOutput;
|
|
49
|
+
export declare type ServiceInputTypes = AcceptInboundConnectionCommandInput | AddTagsCommandInput | AssociatePackageCommandInput | CancelServiceSoftwareUpdateCommandInput | CreateDomainCommandInput | CreateOutboundConnectionCommandInput | CreatePackageCommandInput | DeleteDomainCommandInput | DeleteInboundConnectionCommandInput | DeleteOutboundConnectionCommandInput | DeletePackageCommandInput | DescribeDomainAutoTunesCommandInput | DescribeDomainChangeProgressCommandInput | DescribeDomainCommandInput | DescribeDomainConfigCommandInput | DescribeDomainsCommandInput | DescribeInboundConnectionsCommandInput | DescribeInstanceTypeLimitsCommandInput | DescribeOutboundConnectionsCommandInput | DescribePackagesCommandInput | DescribeReservedInstanceOfferingsCommandInput | DescribeReservedInstancesCommandInput | DissociatePackageCommandInput | GetCompatibleVersionsCommandInput | GetPackageVersionHistoryCommandInput | GetUpgradeHistoryCommandInput | GetUpgradeStatusCommandInput | ListDomainNamesCommandInput | ListDomainsForPackageCommandInput | ListInstanceTypeDetailsCommandInput | ListPackagesForDomainCommandInput | ListTagsCommandInput | ListVersionsCommandInput | PurchaseReservedInstanceOfferingCommandInput | RejectInboundConnectionCommandInput | RemoveTagsCommandInput | StartServiceSoftwareUpdateCommandInput | UpdateDomainConfigCommandInput | UpdatePackageCommandInput | UpgradeDomainCommandInput;
|
|
50
|
+
export declare type ServiceOutputTypes = AcceptInboundConnectionCommandOutput | AddTagsCommandOutput | AssociatePackageCommandOutput | CancelServiceSoftwareUpdateCommandOutput | CreateDomainCommandOutput | CreateOutboundConnectionCommandOutput | CreatePackageCommandOutput | DeleteDomainCommandOutput | DeleteInboundConnectionCommandOutput | DeleteOutboundConnectionCommandOutput | DeletePackageCommandOutput | DescribeDomainAutoTunesCommandOutput | DescribeDomainChangeProgressCommandOutput | DescribeDomainCommandOutput | DescribeDomainConfigCommandOutput | DescribeDomainsCommandOutput | DescribeInboundConnectionsCommandOutput | DescribeInstanceTypeLimitsCommandOutput | DescribeOutboundConnectionsCommandOutput | DescribePackagesCommandOutput | DescribeReservedInstanceOfferingsCommandOutput | DescribeReservedInstancesCommandOutput | DissociatePackageCommandOutput | GetCompatibleVersionsCommandOutput | GetPackageVersionHistoryCommandOutput | GetUpgradeHistoryCommandOutput | GetUpgradeStatusCommandOutput | ListDomainNamesCommandOutput | ListDomainsForPackageCommandOutput | ListInstanceTypeDetailsCommandOutput | ListPackagesForDomainCommandOutput | ListTagsCommandOutput | ListVersionsCommandOutput | PurchaseReservedInstanceOfferingCommandOutput | RejectInboundConnectionCommandOutput | RemoveTagsCommandOutput | StartServiceSoftwareUpdateCommandOutput | UpdateDomainConfigCommandOutput | UpdatePackageCommandOutput | UpgradeDomainCommandOutput;
|
|
50
51
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
51
52
|
/**
|
|
52
53
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { DescribeDomainChangeProgressRequest, DescribeDomainChangeProgressResponse } from "../models/models_0";
|
|
4
|
+
import { OpenSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchClient";
|
|
5
|
+
export interface DescribeDomainChangeProgressCommandInput extends DescribeDomainChangeProgressRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface DescribeDomainChangeProgressCommandOutput extends DescribeDomainChangeProgressResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Returns information about the current blue/green deployment happening on a domain, including
|
|
11
|
+
* a change ID, status, and progress stages.</p>
|
|
12
|
+
* @example
|
|
13
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
+
* ```javascript
|
|
15
|
+
* import { OpenSearchClient, DescribeDomainChangeProgressCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
16
|
+
* // const { OpenSearchClient, DescribeDomainChangeProgressCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
17
|
+
* const client = new OpenSearchClient(config);
|
|
18
|
+
* const command = new DescribeDomainChangeProgressCommand(input);
|
|
19
|
+
* const response = await client.send(command);
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @see {@link DescribeDomainChangeProgressCommandInput} for command's `input` shape.
|
|
23
|
+
* @see {@link DescribeDomainChangeProgressCommandOutput} for command's `response` shape.
|
|
24
|
+
* @see {@link OpenSearchClientResolvedConfig | config} for OpenSearchClient's `config` shape.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export declare class DescribeDomainChangeProgressCommand extends $Command<DescribeDomainChangeProgressCommandInput, DescribeDomainChangeProgressCommandOutput, OpenSearchClientResolvedConfig> {
|
|
28
|
+
readonly input: DescribeDomainChangeProgressCommandInput;
|
|
29
|
+
constructor(input: DescribeDomainChangeProgressCommandInput);
|
|
30
|
+
/**
|
|
31
|
+
* @internal
|
|
32
|
+
*/
|
|
33
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: OpenSearchClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeDomainChangeProgressCommandInput, DescribeDomainChangeProgressCommandOutput>;
|
|
34
|
+
private serialize;
|
|
35
|
+
private deserialize;
|
|
36
|
+
}
|
|
@@ -10,6 +10,7 @@ export * from "./DeleteInboundConnectionCommand";
|
|
|
10
10
|
export * from "./DeleteOutboundConnectionCommand";
|
|
11
11
|
export * from "./DeletePackageCommand";
|
|
12
12
|
export * from "./DescribeDomainAutoTunesCommand";
|
|
13
|
+
export * from "./DescribeDomainChangeProgressCommand";
|
|
13
14
|
export * from "./DescribeDomainCommand";
|
|
14
15
|
export * from "./DescribeDomainConfigCommand";
|
|
15
16
|
export * from "./DescribeDomainsCommand";
|
|
@@ -1489,6 +1489,25 @@ export declare namespace AutoTuneOptionsOutput {
|
|
|
1489
1489
|
*/
|
|
1490
1490
|
const filterSensitiveLog: (obj: AutoTuneOptionsOutput) => any;
|
|
1491
1491
|
}
|
|
1492
|
+
/**
|
|
1493
|
+
* <p>Specifies change details of the domain configuration change.</p>
|
|
1494
|
+
*/
|
|
1495
|
+
export interface ChangeProgressDetails {
|
|
1496
|
+
/**
|
|
1497
|
+
* <p>The unique change identifier associated with a specific domain configuration change.</p>
|
|
1498
|
+
*/
|
|
1499
|
+
ChangeId?: string;
|
|
1500
|
+
/**
|
|
1501
|
+
* <p>Contains an optional message associated with the domain configuration change.</p>
|
|
1502
|
+
*/
|
|
1503
|
+
Message?: string;
|
|
1504
|
+
}
|
|
1505
|
+
export declare namespace ChangeProgressDetails {
|
|
1506
|
+
/**
|
|
1507
|
+
* @internal
|
|
1508
|
+
*/
|
|
1509
|
+
const filterSensitiveLog: (obj: ChangeProgressDetails) => any;
|
|
1510
|
+
}
|
|
1492
1511
|
/**
|
|
1493
1512
|
* <p>Options to specify the subnets and security groups for the VPC endpoint. For more information, see <a href="http://docs.aws.amazon.com/opensearch-service/latest/developerguide/vpc.html" target="_blank">
|
|
1494
1513
|
* Launching your Amazon OpenSearch Service domains using a VPC</a>.
|
|
@@ -1648,6 +1667,10 @@ export interface DomainStatus {
|
|
|
1648
1667
|
* <p>The current status of the domain's Auto-Tune options.</p>
|
|
1649
1668
|
*/
|
|
1650
1669
|
AutoTuneOptions?: AutoTuneOptionsOutput;
|
|
1670
|
+
/**
|
|
1671
|
+
* <p>Specifies change details of the domain configuration change.</p>
|
|
1672
|
+
*/
|
|
1673
|
+
ChangeProgressDetails?: ChangeProgressDetails;
|
|
1651
1674
|
}
|
|
1652
1675
|
export declare namespace DomainStatus {
|
|
1653
1676
|
/**
|
|
@@ -2345,6 +2368,119 @@ export declare namespace DescribeDomainAutoTunesResponse {
|
|
|
2345
2368
|
*/
|
|
2346
2369
|
const filterSensitiveLog: (obj: DescribeDomainAutoTunesResponse) => any;
|
|
2347
2370
|
}
|
|
2371
|
+
/**
|
|
2372
|
+
* <p>Container for the parameters to the <code>DescribeDomainChangeProgress</code> operation. Specifies the
|
|
2373
|
+
* domain name and optional change specific identity for which you want progress information.
|
|
2374
|
+
* </p>
|
|
2375
|
+
*/
|
|
2376
|
+
export interface DescribeDomainChangeProgressRequest {
|
|
2377
|
+
/**
|
|
2378
|
+
* <p>The domain you want to get the progress information about.</p>
|
|
2379
|
+
*/
|
|
2380
|
+
DomainName: string | undefined;
|
|
2381
|
+
/**
|
|
2382
|
+
* <p>The specific change ID for which you want to get progress information. This is an optional parameter.
|
|
2383
|
+
* If omitted, the service returns information about the most recent configuration change.
|
|
2384
|
+
* </p>
|
|
2385
|
+
*/
|
|
2386
|
+
ChangeId?: string;
|
|
2387
|
+
}
|
|
2388
|
+
export declare namespace DescribeDomainChangeProgressRequest {
|
|
2389
|
+
/**
|
|
2390
|
+
* @internal
|
|
2391
|
+
*/
|
|
2392
|
+
const filterSensitiveLog: (obj: DescribeDomainChangeProgressRequest) => any;
|
|
2393
|
+
}
|
|
2394
|
+
/**
|
|
2395
|
+
* <p>A progress stage details of a specific domain configuration change.</p>
|
|
2396
|
+
*/
|
|
2397
|
+
export interface ChangeProgressStage {
|
|
2398
|
+
/**
|
|
2399
|
+
* <p>The name of the specific progress stage.</p>
|
|
2400
|
+
*/
|
|
2401
|
+
Name?: string;
|
|
2402
|
+
/**
|
|
2403
|
+
* <p>The overall status of a specific progress stage.</p>
|
|
2404
|
+
*/
|
|
2405
|
+
Status?: string;
|
|
2406
|
+
/**
|
|
2407
|
+
* <p>The description of the progress stage.</p>
|
|
2408
|
+
*/
|
|
2409
|
+
Description?: string;
|
|
2410
|
+
/**
|
|
2411
|
+
* <p>The last updated timestamp of the progress stage.</p>
|
|
2412
|
+
*/
|
|
2413
|
+
LastUpdated?: Date;
|
|
2414
|
+
}
|
|
2415
|
+
export declare namespace ChangeProgressStage {
|
|
2416
|
+
/**
|
|
2417
|
+
* @internal
|
|
2418
|
+
*/
|
|
2419
|
+
const filterSensitiveLog: (obj: ChangeProgressStage) => any;
|
|
2420
|
+
}
|
|
2421
|
+
export declare enum OverallChangeStatus {
|
|
2422
|
+
COMPLETED = "COMPLETED",
|
|
2423
|
+
FAILED = "FAILED",
|
|
2424
|
+
PENDING = "PENDING",
|
|
2425
|
+
PROCESSING = "PROCESSING"
|
|
2426
|
+
}
|
|
2427
|
+
/**
|
|
2428
|
+
* <p>The progress details of a specific domain configuration change.</p>
|
|
2429
|
+
*/
|
|
2430
|
+
export interface ChangeProgressStatusDetails {
|
|
2431
|
+
/**
|
|
2432
|
+
* <p>The unique change identifier associated with a specific domain configuration change.</p>
|
|
2433
|
+
*/
|
|
2434
|
+
ChangeId?: string;
|
|
2435
|
+
/**
|
|
2436
|
+
* <p>The time at which the configuration change is made on the domain.</p>
|
|
2437
|
+
*/
|
|
2438
|
+
StartTime?: Date;
|
|
2439
|
+
/**
|
|
2440
|
+
* <p>The overall status of the domain configuration change. This field can take the following values: <code>PENDING</code>, <code>PROCESSING</code>, <code>COMPLETED</code> and <code>FAILED</code></p>
|
|
2441
|
+
*/
|
|
2442
|
+
Status?: OverallChangeStatus | string;
|
|
2443
|
+
/**
|
|
2444
|
+
* <p>The list of properties involved in the domain configuration change that are still in pending.</p>
|
|
2445
|
+
*/
|
|
2446
|
+
PendingProperties?: string[];
|
|
2447
|
+
/**
|
|
2448
|
+
* <p>The list of properties involved in the domain configuration change that are completed.</p>
|
|
2449
|
+
*/
|
|
2450
|
+
CompletedProperties?: string[];
|
|
2451
|
+
/**
|
|
2452
|
+
* <p>The total number of stages required for the configuration change.</p>
|
|
2453
|
+
*/
|
|
2454
|
+
TotalNumberOfStages?: number;
|
|
2455
|
+
/**
|
|
2456
|
+
* <p>The specific stages that the domain is going through to perform the configuration change.</p>
|
|
2457
|
+
*/
|
|
2458
|
+
ChangeProgressStages?: ChangeProgressStage[];
|
|
2459
|
+
}
|
|
2460
|
+
export declare namespace ChangeProgressStatusDetails {
|
|
2461
|
+
/**
|
|
2462
|
+
* @internal
|
|
2463
|
+
*/
|
|
2464
|
+
const filterSensitiveLog: (obj: ChangeProgressStatusDetails) => any;
|
|
2465
|
+
}
|
|
2466
|
+
/**
|
|
2467
|
+
* <p>The result of a <code>DescribeDomainChangeProgress</code> request. Contains the progress information of
|
|
2468
|
+
* the requested domain change.
|
|
2469
|
+
* </p>
|
|
2470
|
+
*/
|
|
2471
|
+
export interface DescribeDomainChangeProgressResponse {
|
|
2472
|
+
/**
|
|
2473
|
+
* <p>Progress information for the configuration change that is requested in the <code>DescribeDomainChangeProgress</code> request.
|
|
2474
|
+
* </p>
|
|
2475
|
+
*/
|
|
2476
|
+
ChangeProgressStatus?: ChangeProgressStatusDetails;
|
|
2477
|
+
}
|
|
2478
|
+
export declare namespace DescribeDomainChangeProgressResponse {
|
|
2479
|
+
/**
|
|
2480
|
+
* @internal
|
|
2481
|
+
*/
|
|
2482
|
+
const filterSensitiveLog: (obj: DescribeDomainChangeProgressResponse) => any;
|
|
2483
|
+
}
|
|
2348
2484
|
/**
|
|
2349
2485
|
* <p>Container for the parameters to the <code>DescribeDomainConfig</code> operation. Specifies the
|
|
2350
2486
|
* domain name for which you want configuration information.
|
|
@@ -2719,6 +2855,10 @@ export interface DomainConfig {
|
|
|
2719
2855
|
* </p>
|
|
2720
2856
|
*/
|
|
2721
2857
|
AutoTuneOptions?: AutoTuneOptionsStatus;
|
|
2858
|
+
/**
|
|
2859
|
+
* <p>Specifies change details of the domain configuration change.</p>
|
|
2860
|
+
*/
|
|
2861
|
+
ChangeProgressDetails?: ChangeProgressDetails;
|
|
2722
2862
|
}
|
|
2723
2863
|
export declare namespace DomainConfig {
|
|
2724
2864
|
/**
|
|
@@ -4777,6 +4917,10 @@ export interface UpgradeDomainResponse {
|
|
|
4777
4917
|
AdvancedOptions?: {
|
|
4778
4918
|
[key: string]: string;
|
|
4779
4919
|
};
|
|
4920
|
+
/**
|
|
4921
|
+
* <p>Specifies change details of the domain configuration change.</p>
|
|
4922
|
+
*/
|
|
4923
|
+
ChangeProgressDetails?: ChangeProgressDetails;
|
|
4780
4924
|
}
|
|
4781
4925
|
export declare namespace UpgradeDomainResponse {
|
|
4782
4926
|
/**
|
|
@@ -12,6 +12,7 @@ import { DeleteInboundConnectionCommandInput, DeleteInboundConnectionCommandOutp
|
|
|
12
12
|
import { DeleteOutboundConnectionCommandInput, DeleteOutboundConnectionCommandOutput } from "../commands/DeleteOutboundConnectionCommand";
|
|
13
13
|
import { DeletePackageCommandInput, DeletePackageCommandOutput } from "../commands/DeletePackageCommand";
|
|
14
14
|
import { DescribeDomainAutoTunesCommandInput, DescribeDomainAutoTunesCommandOutput } from "../commands/DescribeDomainAutoTunesCommand";
|
|
15
|
+
import { DescribeDomainChangeProgressCommandInput, DescribeDomainChangeProgressCommandOutput } from "../commands/DescribeDomainChangeProgressCommand";
|
|
15
16
|
import { DescribeDomainCommandInput, DescribeDomainCommandOutput } from "../commands/DescribeDomainCommand";
|
|
16
17
|
import { DescribeDomainConfigCommandInput, DescribeDomainConfigCommandOutput } from "../commands/DescribeDomainConfigCommand";
|
|
17
18
|
import { DescribeDomainsCommandInput, DescribeDomainsCommandOutput } from "../commands/DescribeDomainsCommand";
|
|
@@ -52,6 +53,7 @@ export declare const serializeAws_restJson1DeleteOutboundConnectionCommand: (inp
|
|
|
52
53
|
export declare const serializeAws_restJson1DeletePackageCommand: (input: DeletePackageCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
53
54
|
export declare const serializeAws_restJson1DescribeDomainCommand: (input: DescribeDomainCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
54
55
|
export declare const serializeAws_restJson1DescribeDomainAutoTunesCommand: (input: DescribeDomainAutoTunesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
56
|
+
export declare const serializeAws_restJson1DescribeDomainChangeProgressCommand: (input: DescribeDomainChangeProgressCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
55
57
|
export declare const serializeAws_restJson1DescribeDomainConfigCommand: (input: DescribeDomainConfigCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
56
58
|
export declare const serializeAws_restJson1DescribeDomainsCommand: (input: DescribeDomainsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
57
59
|
export declare const serializeAws_restJson1DescribeInboundConnectionsCommand: (input: DescribeInboundConnectionsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
@@ -91,6 +93,7 @@ export declare const deserializeAws_restJson1DeleteOutboundConnectionCommand: (o
|
|
|
91
93
|
export declare const deserializeAws_restJson1DeletePackageCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeletePackageCommandOutput>;
|
|
92
94
|
export declare const deserializeAws_restJson1DescribeDomainCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeDomainCommandOutput>;
|
|
93
95
|
export declare const deserializeAws_restJson1DescribeDomainAutoTunesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeDomainAutoTunesCommandOutput>;
|
|
96
|
+
export declare const deserializeAws_restJson1DescribeDomainChangeProgressCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeDomainChangeProgressCommandOutput>;
|
|
94
97
|
export declare const deserializeAws_restJson1DescribeDomainConfigCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeDomainConfigCommandOutput>;
|
|
95
98
|
export declare const deserializeAws_restJson1DescribeDomainsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeDomainsCommandOutput>;
|
|
96
99
|
export declare const deserializeAws_restJson1DescribeInboundConnectionsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeInboundConnectionsCommandOutput>;
|
|
@@ -11,6 +11,7 @@ import { DeleteInboundConnectionCommandInput, DeleteInboundConnectionCommandOutp
|
|
|
11
11
|
import { DeleteOutboundConnectionCommandInput, DeleteOutboundConnectionCommandOutput } from "./commands/DeleteOutboundConnectionCommand";
|
|
12
12
|
import { DeletePackageCommandInput, DeletePackageCommandOutput } from "./commands/DeletePackageCommand";
|
|
13
13
|
import { DescribeDomainAutoTunesCommandInput, DescribeDomainAutoTunesCommandOutput } from "./commands/DescribeDomainAutoTunesCommand";
|
|
14
|
+
import { DescribeDomainChangeProgressCommandInput, DescribeDomainChangeProgressCommandOutput } from "./commands/DescribeDomainChangeProgressCommand";
|
|
14
15
|
import { DescribeDomainCommandInput, DescribeDomainCommandOutput } from "./commands/DescribeDomainCommand";
|
|
15
16
|
import { DescribeDomainConfigCommandInput, DescribeDomainConfigCommandOutput } from "./commands/DescribeDomainConfigCommand";
|
|
16
17
|
import { DescribeDomainsCommandInput, DescribeDomainsCommandOutput } from "./commands/DescribeDomainsCommand";
|
|
@@ -94,6 +95,10 @@ export declare class OpenSearch extends OpenSearchClient {
|
|
|
94
95
|
describeDomainAutoTunes(args: DescribeDomainAutoTunesCommandInput, cb: (err: any, data?: DescribeDomainAutoTunesCommandOutput) => void): void;
|
|
95
96
|
describeDomainAutoTunes(args: DescribeDomainAutoTunesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeDomainAutoTunesCommandOutput) => void): void;
|
|
96
97
|
|
|
98
|
+
describeDomainChangeProgress(args: DescribeDomainChangeProgressCommandInput, options?: __HttpHandlerOptions): Promise<DescribeDomainChangeProgressCommandOutput>;
|
|
99
|
+
describeDomainChangeProgress(args: DescribeDomainChangeProgressCommandInput, cb: (err: any, data?: DescribeDomainChangeProgressCommandOutput) => void): void;
|
|
100
|
+
describeDomainChangeProgress(args: DescribeDomainChangeProgressCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeDomainChangeProgressCommandOutput) => void): void;
|
|
101
|
+
|
|
97
102
|
describeDomainConfig(args: DescribeDomainConfigCommandInput, options?: __HttpHandlerOptions): Promise<DescribeDomainConfigCommandOutput>;
|
|
98
103
|
describeDomainConfig(args: DescribeDomainConfigCommandInput, cb: (err: any, data?: DescribeDomainConfigCommandOutput) => void): void;
|
|
99
104
|
describeDomainConfig(args: DescribeDomainConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeDomainConfigCommandOutput) => void): void;
|
|
@@ -18,6 +18,7 @@ import { DeleteInboundConnectionCommandInput, DeleteInboundConnectionCommandOutp
|
|
|
18
18
|
import { DeleteOutboundConnectionCommandInput, DeleteOutboundConnectionCommandOutput } from "./commands/DeleteOutboundConnectionCommand";
|
|
19
19
|
import { DeletePackageCommandInput, DeletePackageCommandOutput } from "./commands/DeletePackageCommand";
|
|
20
20
|
import { DescribeDomainAutoTunesCommandInput, DescribeDomainAutoTunesCommandOutput } from "./commands/DescribeDomainAutoTunesCommand";
|
|
21
|
+
import { DescribeDomainChangeProgressCommandInput, DescribeDomainChangeProgressCommandOutput } from "./commands/DescribeDomainChangeProgressCommand";
|
|
21
22
|
import { DescribeDomainCommandInput, DescribeDomainCommandOutput } from "./commands/DescribeDomainCommand";
|
|
22
23
|
import { DescribeDomainConfigCommandInput, DescribeDomainConfigCommandOutput } from "./commands/DescribeDomainConfigCommand";
|
|
23
24
|
import { DescribeDomainsCommandInput, DescribeDomainsCommandOutput } from "./commands/DescribeDomainsCommand";
|
|
@@ -45,8 +46,8 @@ import { StartServiceSoftwareUpdateCommandInput, StartServiceSoftwareUpdateComma
|
|
|
45
46
|
import { UpdateDomainConfigCommandInput, UpdateDomainConfigCommandOutput } from "./commands/UpdateDomainConfigCommand";
|
|
46
47
|
import { UpdatePackageCommandInput, UpdatePackageCommandOutput } from "./commands/UpdatePackageCommand";
|
|
47
48
|
import { UpgradeDomainCommandInput, UpgradeDomainCommandOutput } from "./commands/UpgradeDomainCommand";
|
|
48
|
-
export declare type ServiceInputTypes = AcceptInboundConnectionCommandInput | AddTagsCommandInput | AssociatePackageCommandInput | CancelServiceSoftwareUpdateCommandInput | CreateDomainCommandInput | CreateOutboundConnectionCommandInput | CreatePackageCommandInput | DeleteDomainCommandInput | DeleteInboundConnectionCommandInput | DeleteOutboundConnectionCommandInput | DeletePackageCommandInput | DescribeDomainAutoTunesCommandInput | DescribeDomainCommandInput | DescribeDomainConfigCommandInput | DescribeDomainsCommandInput | DescribeInboundConnectionsCommandInput | DescribeInstanceTypeLimitsCommandInput | DescribeOutboundConnectionsCommandInput | DescribePackagesCommandInput | DescribeReservedInstanceOfferingsCommandInput | DescribeReservedInstancesCommandInput | DissociatePackageCommandInput | GetCompatibleVersionsCommandInput | GetPackageVersionHistoryCommandInput | GetUpgradeHistoryCommandInput | GetUpgradeStatusCommandInput | ListDomainNamesCommandInput | ListDomainsForPackageCommandInput | ListInstanceTypeDetailsCommandInput | ListPackagesForDomainCommandInput | ListTagsCommandInput | ListVersionsCommandInput | PurchaseReservedInstanceOfferingCommandInput | RejectInboundConnectionCommandInput | RemoveTagsCommandInput | StartServiceSoftwareUpdateCommandInput | UpdateDomainConfigCommandInput | UpdatePackageCommandInput | UpgradeDomainCommandInput;
|
|
49
|
-
export declare type ServiceOutputTypes = AcceptInboundConnectionCommandOutput | AddTagsCommandOutput | AssociatePackageCommandOutput | CancelServiceSoftwareUpdateCommandOutput | CreateDomainCommandOutput | CreateOutboundConnectionCommandOutput | CreatePackageCommandOutput | DeleteDomainCommandOutput | DeleteInboundConnectionCommandOutput | DeleteOutboundConnectionCommandOutput | DeletePackageCommandOutput | DescribeDomainAutoTunesCommandOutput | DescribeDomainCommandOutput | DescribeDomainConfigCommandOutput | DescribeDomainsCommandOutput | DescribeInboundConnectionsCommandOutput | DescribeInstanceTypeLimitsCommandOutput | DescribeOutboundConnectionsCommandOutput | DescribePackagesCommandOutput | DescribeReservedInstanceOfferingsCommandOutput | DescribeReservedInstancesCommandOutput | DissociatePackageCommandOutput | GetCompatibleVersionsCommandOutput | GetPackageVersionHistoryCommandOutput | GetUpgradeHistoryCommandOutput | GetUpgradeStatusCommandOutput | ListDomainNamesCommandOutput | ListDomainsForPackageCommandOutput | ListInstanceTypeDetailsCommandOutput | ListPackagesForDomainCommandOutput | ListTagsCommandOutput | ListVersionsCommandOutput | PurchaseReservedInstanceOfferingCommandOutput | RejectInboundConnectionCommandOutput | RemoveTagsCommandOutput | StartServiceSoftwareUpdateCommandOutput | UpdateDomainConfigCommandOutput | UpdatePackageCommandOutput | UpgradeDomainCommandOutput;
|
|
49
|
+
export declare type ServiceInputTypes = AcceptInboundConnectionCommandInput | AddTagsCommandInput | AssociatePackageCommandInput | CancelServiceSoftwareUpdateCommandInput | CreateDomainCommandInput | CreateOutboundConnectionCommandInput | CreatePackageCommandInput | DeleteDomainCommandInput | DeleteInboundConnectionCommandInput | DeleteOutboundConnectionCommandInput | DeletePackageCommandInput | DescribeDomainAutoTunesCommandInput | DescribeDomainChangeProgressCommandInput | DescribeDomainCommandInput | DescribeDomainConfigCommandInput | DescribeDomainsCommandInput | DescribeInboundConnectionsCommandInput | DescribeInstanceTypeLimitsCommandInput | DescribeOutboundConnectionsCommandInput | DescribePackagesCommandInput | DescribeReservedInstanceOfferingsCommandInput | DescribeReservedInstancesCommandInput | DissociatePackageCommandInput | GetCompatibleVersionsCommandInput | GetPackageVersionHistoryCommandInput | GetUpgradeHistoryCommandInput | GetUpgradeStatusCommandInput | ListDomainNamesCommandInput | ListDomainsForPackageCommandInput | ListInstanceTypeDetailsCommandInput | ListPackagesForDomainCommandInput | ListTagsCommandInput | ListVersionsCommandInput | PurchaseReservedInstanceOfferingCommandInput | RejectInboundConnectionCommandInput | RemoveTagsCommandInput | StartServiceSoftwareUpdateCommandInput | UpdateDomainConfigCommandInput | UpdatePackageCommandInput | UpgradeDomainCommandInput;
|
|
50
|
+
export declare type ServiceOutputTypes = AcceptInboundConnectionCommandOutput | AddTagsCommandOutput | AssociatePackageCommandOutput | CancelServiceSoftwareUpdateCommandOutput | CreateDomainCommandOutput | CreateOutboundConnectionCommandOutput | CreatePackageCommandOutput | DeleteDomainCommandOutput | DeleteInboundConnectionCommandOutput | DeleteOutboundConnectionCommandOutput | DeletePackageCommandOutput | DescribeDomainAutoTunesCommandOutput | DescribeDomainChangeProgressCommandOutput | DescribeDomainCommandOutput | DescribeDomainConfigCommandOutput | DescribeDomainsCommandOutput | DescribeInboundConnectionsCommandOutput | DescribeInstanceTypeLimitsCommandOutput | DescribeOutboundConnectionsCommandOutput | DescribePackagesCommandOutput | DescribeReservedInstanceOfferingsCommandOutput | DescribeReservedInstancesCommandOutput | DissociatePackageCommandOutput | GetCompatibleVersionsCommandOutput | GetPackageVersionHistoryCommandOutput | GetUpgradeHistoryCommandOutput | GetUpgradeStatusCommandOutput | ListDomainNamesCommandOutput | ListDomainsForPackageCommandOutput | ListInstanceTypeDetailsCommandOutput | ListPackagesForDomainCommandOutput | ListTagsCommandOutput | ListVersionsCommandOutput | PurchaseReservedInstanceOfferingCommandOutput | RejectInboundConnectionCommandOutput | RemoveTagsCommandOutput | StartServiceSoftwareUpdateCommandOutput | UpdateDomainConfigCommandOutput | UpdatePackageCommandOutput | UpgradeDomainCommandOutput;
|
|
50
51
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
51
52
|
|
|
52
53
|
requestHandler?: __HttpHandler;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { DescribeDomainChangeProgressRequest, DescribeDomainChangeProgressResponse } from "../models/models_0";
|
|
4
|
+
import { OpenSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchClient";
|
|
5
|
+
export interface DescribeDomainChangeProgressCommandInput extends DescribeDomainChangeProgressRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface DescribeDomainChangeProgressCommandOutput extends DescribeDomainChangeProgressResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class DescribeDomainChangeProgressCommand extends $Command<DescribeDomainChangeProgressCommandInput, DescribeDomainChangeProgressCommandOutput, OpenSearchClientResolvedConfig> {
|
|
11
|
+
readonly input: DescribeDomainChangeProgressCommandInput;
|
|
12
|
+
constructor(input: DescribeDomainChangeProgressCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: OpenSearchClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeDomainChangeProgressCommandInput, DescribeDomainChangeProgressCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -10,6 +10,7 @@ export * from "./DeleteInboundConnectionCommand";
|
|
|
10
10
|
export * from "./DeleteOutboundConnectionCommand";
|
|
11
11
|
export * from "./DeletePackageCommand";
|
|
12
12
|
export * from "./DescribeDomainAutoTunesCommand";
|
|
13
|
+
export * from "./DescribeDomainChangeProgressCommand";
|
|
13
14
|
export * from "./DescribeDomainCommand";
|
|
14
15
|
export * from "./DescribeDomainConfigCommand";
|
|
15
16
|
export * from "./DescribeDomainsCommand";
|