@aws-sdk/client-opensearch 3.325.0 → 3.327.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/README.md +16 -0
- package/dist-cjs/OpenSearch.js +4 -0
- package/dist-cjs/commands/DescribeDomainHealthCommand.js +45 -0
- package/dist-cjs/commands/DescribeDomainNodesCommand.js +45 -0
- package/dist-cjs/commands/index.js +2 -0
- package/dist-cjs/models/models_0.js +45 -2
- package/dist-cjs/protocols/Aws_restJson1.js +161 -3
- package/dist-es/OpenSearch.js +4 -0
- package/dist-es/commands/DescribeDomainHealthCommand.js +41 -0
- package/dist-es/commands/DescribeDomainNodesCommand.js +41 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_0.js +42 -0
- package/dist-es/protocols/Aws_restJson1.js +155 -1
- package/dist-types/OpenSearch.d.ts +14 -0
- package/dist-types/OpenSearchClient.d.ts +4 -2
- package/dist-types/commands/AcceptInboundConnectionCommand.d.ts +29 -2
- package/dist-types/commands/AddTagsCommand.d.ts +4 -0
- package/dist-types/commands/AssociatePackageCommand.d.ts +20 -1
- package/dist-types/commands/AuthorizeVpcEndpointAccessCommand.d.ts +11 -2
- package/dist-types/commands/CancelServiceSoftwareUpdateCommand.d.ts +16 -1
- package/dist-types/commands/CreateDomainCommand.d.ts +138 -1
- package/dist-types/commands/CreateOutboundConnectionCommand.d.ts +30 -1
- package/dist-types/commands/CreatePackageCommand.d.ts +19 -0
- package/dist-types/commands/CreateVpcEndpointCommand.d.ts +25 -1
- package/dist-types/commands/DeleteDomainCommand.d.ts +137 -1
- package/dist-types/commands/DeleteInboundConnectionCommand.d.ts +29 -2
- package/dist-types/commands/DeleteOutboundConnectionCommand.d.ts +33 -2
- package/dist-types/commands/DeletePackageCommand.d.ts +20 -1
- package/dist-types/commands/DeleteVpcEndpointCommand.d.ts +13 -2
- package/dist-types/commands/DescribeDomainAutoTunesCommand.d.ts +20 -1
- package/dist-types/commands/DescribeDomainChangeProgressCommand.d.ts +26 -1
- package/dist-types/commands/DescribeDomainCommand.d.ts +137 -1
- package/dist-types/commands/DescribeDomainConfigCommand.d.ts +211 -1
- package/dist-types/commands/DescribeDomainHealthCommand.d.ts +109 -0
- package/dist-types/commands/DescribeDomainNodesCommand.d.ts +99 -0
- package/dist-types/commands/DescribeDomainsCommand.d.ts +138 -0
- package/dist-types/commands/DescribeDryRunProgressCommand.d.ts +154 -2
- package/dist-types/commands/DescribeInboundConnectionsCommand.d.ts +32 -2
- package/dist-types/commands/DescribeInstanceTypeLimitsCommand.d.ts +38 -1
- package/dist-types/commands/DescribeOutboundConnectionsCommand.d.ts +36 -2
- package/dist-types/commands/DescribePackagesCommand.d.ts +23 -1
- package/dist-types/commands/DescribeReservedInstanceOfferingsCommand.d.ts +25 -2
- package/dist-types/commands/DescribeReservedInstancesCommand.d.ts +31 -2
- package/dist-types/commands/DescribeVpcEndpointsCommand.d.ts +34 -1
- package/dist-types/commands/DissociatePackageCommand.d.ts +20 -1
- package/dist-types/commands/GetCompatibleVersionsCommand.d.ts +15 -2
- package/dist-types/commands/GetPackageVersionHistoryCommand.d.ts +17 -3
- package/dist-types/commands/GetUpgradeHistoryCommand.d.ts +25 -2
- package/dist-types/commands/GetUpgradeStatusCommand.d.ts +10 -2
- package/dist-types/commands/ListDomainNamesCommand.d.ts +11 -0
- package/dist-types/commands/ListDomainsForPackageCommand.d.ts +23 -1
- package/dist-types/commands/ListInstanceTypeDetailsCommand.d.ts +25 -1
- package/dist-types/commands/ListPackagesForDomainCommand.d.ts +23 -1
- package/dist-types/commands/ListScheduledActionsCommand.d.ts +21 -2
- package/dist-types/commands/ListTagsCommand.d.ts +12 -1
- package/dist-types/commands/ListVersionsCommand.d.ts +10 -1
- package/dist-types/commands/ListVpcEndpointAccessCommand.d.ts +14 -2
- package/dist-types/commands/ListVpcEndpointsCommand.d.ts +15 -1
- package/dist-types/commands/ListVpcEndpointsForDomainCommand.d.ts +16 -2
- package/dist-types/commands/PurchaseReservedInstanceOfferingCommand.d.ts +9 -2
- package/dist-types/commands/RejectInboundConnectionCommand.d.ts +29 -2
- package/dist-types/commands/RemoveTagsCommand.d.ts +4 -0
- package/dist-types/commands/RevokeVpcEndpointAccessCommand.d.ts +6 -2
- package/dist-types/commands/StartServiceSoftwareUpdateCommand.d.ts +16 -1
- package/dist-types/commands/UpdateDomainConfigCommand.d.ts +230 -2
- package/dist-types/commands/UpdatePackageCommand.d.ts +20 -1
- package/dist-types/commands/UpdateScheduledActionCommand.d.ts +17 -1
- package/dist-types/commands/UpdateVpcEndpointCommand.d.ts +26 -2
- package/dist-types/commands/UpgradeDomainCommand.d.ts +18 -2
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +345 -23
- package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
- package/dist-types/ts3.4/OpenSearch.d.ts +34 -0
- package/dist-types/ts3.4/OpenSearchClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/DescribeDomainHealthCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/DescribeDomainNodesCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +93 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
- package/package.json +7 -7
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
2
2
|
import { _json, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, limitedParseDouble as __limitedParseDouble, map, parseEpochTimestamp as __parseEpochTimestamp, resolvedPath as __resolvedPath, take, withBaseException, } from "@aws-sdk/smithy-client";
|
|
3
|
-
import { AccessDeniedException, BaseException, ConflictException, DisabledOperationException, InternalException, InvalidPaginationTokenException, InvalidTypeException, LimitExceededException, ResourceAlreadyExistsException, ResourceNotFoundException, SlotNotAvailableException, ValidationException, } from "../models/models_0";
|
|
3
|
+
import { AccessDeniedException, BaseException, ConflictException, DependencyFailureException, DisabledOperationException, InternalException, InvalidPaginationTokenException, InvalidTypeException, LimitExceededException, ResourceAlreadyExistsException, ResourceNotFoundException, SlotNotAvailableException, ValidationException, } from "../models/models_0";
|
|
4
4
|
import { OpenSearchServiceException as __BaseException } from "../models/OpenSearchServiceException";
|
|
5
5
|
export const se_AcceptInboundConnectionCommand = async (input, context) => {
|
|
6
6
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
@@ -369,6 +369,40 @@ export const se_DescribeDomainConfigCommand = async (input, context) => {
|
|
|
369
369
|
body,
|
|
370
370
|
});
|
|
371
371
|
};
|
|
372
|
+
export const se_DescribeDomainHealthCommand = async (input, context) => {
|
|
373
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
374
|
+
const headers = {};
|
|
375
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
376
|
+
"/2021-01-01/opensearch/domain/{DomainName}/health";
|
|
377
|
+
resolvedPath = __resolvedPath(resolvedPath, input, "DomainName", () => input.DomainName, "{DomainName}", false);
|
|
378
|
+
let body;
|
|
379
|
+
return new __HttpRequest({
|
|
380
|
+
protocol,
|
|
381
|
+
hostname,
|
|
382
|
+
port,
|
|
383
|
+
method: "GET",
|
|
384
|
+
headers,
|
|
385
|
+
path: resolvedPath,
|
|
386
|
+
body,
|
|
387
|
+
});
|
|
388
|
+
};
|
|
389
|
+
export const se_DescribeDomainNodesCommand = async (input, context) => {
|
|
390
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
391
|
+
const headers = {};
|
|
392
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
393
|
+
"/2021-01-01/opensearch/domain/{DomainName}/nodes";
|
|
394
|
+
resolvedPath = __resolvedPath(resolvedPath, input, "DomainName", () => input.DomainName, "{DomainName}", false);
|
|
395
|
+
let body;
|
|
396
|
+
return new __HttpRequest({
|
|
397
|
+
protocol,
|
|
398
|
+
hostname,
|
|
399
|
+
port,
|
|
400
|
+
method: "GET",
|
|
401
|
+
headers,
|
|
402
|
+
path: resolvedPath,
|
|
403
|
+
body,
|
|
404
|
+
});
|
|
405
|
+
};
|
|
372
406
|
export const se_DescribeDomainsCommand = async (input, context) => {
|
|
373
407
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
374
408
|
const headers = {
|
|
@@ -712,6 +746,8 @@ export const se_ListInstanceTypeDetailsCommand = async (input, context) => {
|
|
|
712
746
|
domainName: [, input.DomainName],
|
|
713
747
|
maxResults: [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],
|
|
714
748
|
nextToken: [, input.NextToken],
|
|
749
|
+
retrieveAZs: [() => input.RetrieveAZs !== void 0, () => input.RetrieveAZs.toString()],
|
|
750
|
+
instanceType: [, input.InstanceType],
|
|
715
751
|
});
|
|
716
752
|
let body;
|
|
717
753
|
return new __HttpRequest({
|
|
@@ -1891,6 +1927,111 @@ const de_DescribeDomainConfigCommandError = async (output, context) => {
|
|
|
1891
1927
|
});
|
|
1892
1928
|
}
|
|
1893
1929
|
};
|
|
1930
|
+
export const de_DescribeDomainHealthCommand = async (output, context) => {
|
|
1931
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1932
|
+
return de_DescribeDomainHealthCommandError(output, context);
|
|
1933
|
+
}
|
|
1934
|
+
const contents = map({
|
|
1935
|
+
$metadata: deserializeMetadata(output),
|
|
1936
|
+
});
|
|
1937
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1938
|
+
const doc = take(data, {
|
|
1939
|
+
ActiveAvailabilityZoneCount: __expectString,
|
|
1940
|
+
AvailabilityZoneCount: __expectString,
|
|
1941
|
+
ClusterHealth: __expectString,
|
|
1942
|
+
DataNodeCount: __expectString,
|
|
1943
|
+
DedicatedMaster: __expectBoolean,
|
|
1944
|
+
DomainState: __expectString,
|
|
1945
|
+
EnvironmentInformation: _json,
|
|
1946
|
+
MasterEligibleNodeCount: __expectString,
|
|
1947
|
+
MasterNode: __expectString,
|
|
1948
|
+
StandByAvailabilityZoneCount: __expectString,
|
|
1949
|
+
TotalShards: __expectString,
|
|
1950
|
+
TotalUnAssignedShards: __expectString,
|
|
1951
|
+
WarmNodeCount: __expectString,
|
|
1952
|
+
});
|
|
1953
|
+
Object.assign(contents, doc);
|
|
1954
|
+
return contents;
|
|
1955
|
+
};
|
|
1956
|
+
const de_DescribeDomainHealthCommandError = async (output, context) => {
|
|
1957
|
+
const parsedOutput = {
|
|
1958
|
+
...output,
|
|
1959
|
+
body: await parseErrorBody(output.body, context),
|
|
1960
|
+
};
|
|
1961
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1962
|
+
switch (errorCode) {
|
|
1963
|
+
case "BaseException":
|
|
1964
|
+
case "com.amazonaws.opensearch#BaseException":
|
|
1965
|
+
throw await de_BaseExceptionRes(parsedOutput, context);
|
|
1966
|
+
case "DisabledOperationException":
|
|
1967
|
+
case "com.amazonaws.opensearch#DisabledOperationException":
|
|
1968
|
+
throw await de_DisabledOperationExceptionRes(parsedOutput, context);
|
|
1969
|
+
case "InternalException":
|
|
1970
|
+
case "com.amazonaws.opensearch#InternalException":
|
|
1971
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
1972
|
+
case "ResourceNotFoundException":
|
|
1973
|
+
case "com.amazonaws.opensearch#ResourceNotFoundException":
|
|
1974
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1975
|
+
case "ValidationException":
|
|
1976
|
+
case "com.amazonaws.opensearch#ValidationException":
|
|
1977
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1978
|
+
default:
|
|
1979
|
+
const parsedBody = parsedOutput.body;
|
|
1980
|
+
return throwDefaultError({
|
|
1981
|
+
output,
|
|
1982
|
+
parsedBody,
|
|
1983
|
+
errorCode,
|
|
1984
|
+
});
|
|
1985
|
+
}
|
|
1986
|
+
};
|
|
1987
|
+
export const de_DescribeDomainNodesCommand = async (output, context) => {
|
|
1988
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1989
|
+
return de_DescribeDomainNodesCommandError(output, context);
|
|
1990
|
+
}
|
|
1991
|
+
const contents = map({
|
|
1992
|
+
$metadata: deserializeMetadata(output),
|
|
1993
|
+
});
|
|
1994
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1995
|
+
const doc = take(data, {
|
|
1996
|
+
DomainNodesStatusList: _json,
|
|
1997
|
+
});
|
|
1998
|
+
Object.assign(contents, doc);
|
|
1999
|
+
return contents;
|
|
2000
|
+
};
|
|
2001
|
+
const de_DescribeDomainNodesCommandError = async (output, context) => {
|
|
2002
|
+
const parsedOutput = {
|
|
2003
|
+
...output,
|
|
2004
|
+
body: await parseErrorBody(output.body, context),
|
|
2005
|
+
};
|
|
2006
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2007
|
+
switch (errorCode) {
|
|
2008
|
+
case "BaseException":
|
|
2009
|
+
case "com.amazonaws.opensearch#BaseException":
|
|
2010
|
+
throw await de_BaseExceptionRes(parsedOutput, context);
|
|
2011
|
+
case "DependencyFailureException":
|
|
2012
|
+
case "com.amazonaws.opensearch#DependencyFailureException":
|
|
2013
|
+
throw await de_DependencyFailureExceptionRes(parsedOutput, context);
|
|
2014
|
+
case "DisabledOperationException":
|
|
2015
|
+
case "com.amazonaws.opensearch#DisabledOperationException":
|
|
2016
|
+
throw await de_DisabledOperationExceptionRes(parsedOutput, context);
|
|
2017
|
+
case "InternalException":
|
|
2018
|
+
case "com.amazonaws.opensearch#InternalException":
|
|
2019
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
2020
|
+
case "ResourceNotFoundException":
|
|
2021
|
+
case "com.amazonaws.opensearch#ResourceNotFoundException":
|
|
2022
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2023
|
+
case "ValidationException":
|
|
2024
|
+
case "com.amazonaws.opensearch#ValidationException":
|
|
2025
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2026
|
+
default:
|
|
2027
|
+
const parsedBody = parsedOutput.body;
|
|
2028
|
+
return throwDefaultError({
|
|
2029
|
+
output,
|
|
2030
|
+
parsedBody,
|
|
2031
|
+
errorCode,
|
|
2032
|
+
});
|
|
2033
|
+
}
|
|
2034
|
+
};
|
|
1894
2035
|
export const de_DescribeDomainsCommand = async (output, context) => {
|
|
1895
2036
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1896
2037
|
return de_DescribeDomainsCommandError(output, context);
|
|
@@ -3428,6 +3569,19 @@ const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
|
3428
3569
|
});
|
|
3429
3570
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
3430
3571
|
};
|
|
3572
|
+
const de_DependencyFailureExceptionRes = async (parsedOutput, context) => {
|
|
3573
|
+
const contents = map({});
|
|
3574
|
+
const data = parsedOutput.body;
|
|
3575
|
+
const doc = take(data, {
|
|
3576
|
+
message: __expectString,
|
|
3577
|
+
});
|
|
3578
|
+
Object.assign(contents, doc);
|
|
3579
|
+
const exception = new DependencyFailureException({
|
|
3580
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
3581
|
+
...contents,
|
|
3582
|
+
});
|
|
3583
|
+
return __decorateServiceException(exception, parsedOutput.body);
|
|
3584
|
+
};
|
|
3431
3585
|
const de_DisabledOperationExceptionRes = async (parsedOutput, context) => {
|
|
3432
3586
|
const contents = map({});
|
|
3433
3587
|
const data = parsedOutput.body;
|
|
@@ -17,6 +17,8 @@ import { DescribeDomainAutoTunesCommandInput, DescribeDomainAutoTunesCommandOutp
|
|
|
17
17
|
import { DescribeDomainChangeProgressCommandInput, DescribeDomainChangeProgressCommandOutput } from "./commands/DescribeDomainChangeProgressCommand";
|
|
18
18
|
import { DescribeDomainCommandInput, DescribeDomainCommandOutput } from "./commands/DescribeDomainCommand";
|
|
19
19
|
import { DescribeDomainConfigCommandInput, DescribeDomainConfigCommandOutput } from "./commands/DescribeDomainConfigCommand";
|
|
20
|
+
import { DescribeDomainHealthCommandInput, DescribeDomainHealthCommandOutput } from "./commands/DescribeDomainHealthCommand";
|
|
21
|
+
import { DescribeDomainNodesCommandInput, DescribeDomainNodesCommandOutput } from "./commands/DescribeDomainNodesCommand";
|
|
20
22
|
import { DescribeDomainsCommandInput, DescribeDomainsCommandOutput } from "./commands/DescribeDomainsCommand";
|
|
21
23
|
import { DescribeDryRunProgressCommandInput, DescribeDryRunProgressCommandOutput } from "./commands/DescribeDryRunProgressCommand";
|
|
22
24
|
import { DescribeInboundConnectionsCommandInput, DescribeInboundConnectionsCommandOutput } from "./commands/DescribeInboundConnectionsCommand";
|
|
@@ -161,6 +163,18 @@ export interface OpenSearch {
|
|
|
161
163
|
describeDomainConfig(args: DescribeDomainConfigCommandInput, options?: __HttpHandlerOptions): Promise<DescribeDomainConfigCommandOutput>;
|
|
162
164
|
describeDomainConfig(args: DescribeDomainConfigCommandInput, cb: (err: any, data?: DescribeDomainConfigCommandOutput) => void): void;
|
|
163
165
|
describeDomainConfig(args: DescribeDomainConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeDomainConfigCommandOutput) => void): void;
|
|
166
|
+
/**
|
|
167
|
+
* @see {@link DescribeDomainHealthCommand}
|
|
168
|
+
*/
|
|
169
|
+
describeDomainHealth(args: DescribeDomainHealthCommandInput, options?: __HttpHandlerOptions): Promise<DescribeDomainHealthCommandOutput>;
|
|
170
|
+
describeDomainHealth(args: DescribeDomainHealthCommandInput, cb: (err: any, data?: DescribeDomainHealthCommandOutput) => void): void;
|
|
171
|
+
describeDomainHealth(args: DescribeDomainHealthCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeDomainHealthCommandOutput) => void): void;
|
|
172
|
+
/**
|
|
173
|
+
* @see {@link DescribeDomainNodesCommand}
|
|
174
|
+
*/
|
|
175
|
+
describeDomainNodes(args: DescribeDomainNodesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeDomainNodesCommandOutput>;
|
|
176
|
+
describeDomainNodes(args: DescribeDomainNodesCommandInput, cb: (err: any, data?: DescribeDomainNodesCommandOutput) => void): void;
|
|
177
|
+
describeDomainNodes(args: DescribeDomainNodesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeDomainNodesCommandOutput) => void): void;
|
|
164
178
|
/**
|
|
165
179
|
* @see {@link DescribeDomainsCommand}
|
|
166
180
|
*/
|
|
@@ -25,6 +25,8 @@ import { DescribeDomainAutoTunesCommandInput, DescribeDomainAutoTunesCommandOutp
|
|
|
25
25
|
import { DescribeDomainChangeProgressCommandInput, DescribeDomainChangeProgressCommandOutput } from "./commands/DescribeDomainChangeProgressCommand";
|
|
26
26
|
import { DescribeDomainCommandInput, DescribeDomainCommandOutput } from "./commands/DescribeDomainCommand";
|
|
27
27
|
import { DescribeDomainConfigCommandInput, DescribeDomainConfigCommandOutput } from "./commands/DescribeDomainConfigCommand";
|
|
28
|
+
import { DescribeDomainHealthCommandInput, DescribeDomainHealthCommandOutput } from "./commands/DescribeDomainHealthCommand";
|
|
29
|
+
import { DescribeDomainNodesCommandInput, DescribeDomainNodesCommandOutput } from "./commands/DescribeDomainNodesCommand";
|
|
28
30
|
import { DescribeDomainsCommandInput, DescribeDomainsCommandOutput } from "./commands/DescribeDomainsCommand";
|
|
29
31
|
import { DescribeDryRunProgressCommandInput, DescribeDryRunProgressCommandOutput } from "./commands/DescribeDryRunProgressCommand";
|
|
30
32
|
import { DescribeInboundConnectionsCommandInput, DescribeInboundConnectionsCommandOutput } from "./commands/DescribeInboundConnectionsCommand";
|
|
@@ -63,11 +65,11 @@ import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, Endpoi
|
|
|
63
65
|
/**
|
|
64
66
|
* @public
|
|
65
67
|
*/
|
|
66
|
-
export type ServiceInputTypes = AcceptInboundConnectionCommandInput | AddTagsCommandInput | AssociatePackageCommandInput | AuthorizeVpcEndpointAccessCommandInput | CancelServiceSoftwareUpdateCommandInput | CreateDomainCommandInput | CreateOutboundConnectionCommandInput | CreatePackageCommandInput | CreateVpcEndpointCommandInput | DeleteDomainCommandInput | DeleteInboundConnectionCommandInput | DeleteOutboundConnectionCommandInput | DeletePackageCommandInput | DeleteVpcEndpointCommandInput | DescribeDomainAutoTunesCommandInput | DescribeDomainChangeProgressCommandInput | DescribeDomainCommandInput | DescribeDomainConfigCommandInput | DescribeDomainsCommandInput | DescribeDryRunProgressCommandInput | DescribeInboundConnectionsCommandInput | DescribeInstanceTypeLimitsCommandInput | DescribeOutboundConnectionsCommandInput | DescribePackagesCommandInput | DescribeReservedInstanceOfferingsCommandInput | DescribeReservedInstancesCommandInput | DescribeVpcEndpointsCommandInput | DissociatePackageCommandInput | GetCompatibleVersionsCommandInput | GetPackageVersionHistoryCommandInput | GetUpgradeHistoryCommandInput | GetUpgradeStatusCommandInput | ListDomainNamesCommandInput | ListDomainsForPackageCommandInput | ListInstanceTypeDetailsCommandInput | ListPackagesForDomainCommandInput | ListScheduledActionsCommandInput | ListTagsCommandInput | ListVersionsCommandInput | ListVpcEndpointAccessCommandInput | ListVpcEndpointsCommandInput | ListVpcEndpointsForDomainCommandInput | PurchaseReservedInstanceOfferingCommandInput | RejectInboundConnectionCommandInput | RemoveTagsCommandInput | RevokeVpcEndpointAccessCommandInput | StartServiceSoftwareUpdateCommandInput | UpdateDomainConfigCommandInput | UpdatePackageCommandInput | UpdateScheduledActionCommandInput | UpdateVpcEndpointCommandInput | UpgradeDomainCommandInput;
|
|
68
|
+
export type ServiceInputTypes = AcceptInboundConnectionCommandInput | AddTagsCommandInput | AssociatePackageCommandInput | AuthorizeVpcEndpointAccessCommandInput | CancelServiceSoftwareUpdateCommandInput | CreateDomainCommandInput | CreateOutboundConnectionCommandInput | CreatePackageCommandInput | CreateVpcEndpointCommandInput | DeleteDomainCommandInput | DeleteInboundConnectionCommandInput | DeleteOutboundConnectionCommandInput | DeletePackageCommandInput | DeleteVpcEndpointCommandInput | DescribeDomainAutoTunesCommandInput | DescribeDomainChangeProgressCommandInput | DescribeDomainCommandInput | DescribeDomainConfigCommandInput | DescribeDomainHealthCommandInput | DescribeDomainNodesCommandInput | DescribeDomainsCommandInput | DescribeDryRunProgressCommandInput | DescribeInboundConnectionsCommandInput | DescribeInstanceTypeLimitsCommandInput | DescribeOutboundConnectionsCommandInput | DescribePackagesCommandInput | DescribeReservedInstanceOfferingsCommandInput | DescribeReservedInstancesCommandInput | DescribeVpcEndpointsCommandInput | DissociatePackageCommandInput | GetCompatibleVersionsCommandInput | GetPackageVersionHistoryCommandInput | GetUpgradeHistoryCommandInput | GetUpgradeStatusCommandInput | ListDomainNamesCommandInput | ListDomainsForPackageCommandInput | ListInstanceTypeDetailsCommandInput | ListPackagesForDomainCommandInput | ListScheduledActionsCommandInput | ListTagsCommandInput | ListVersionsCommandInput | ListVpcEndpointAccessCommandInput | ListVpcEndpointsCommandInput | ListVpcEndpointsForDomainCommandInput | PurchaseReservedInstanceOfferingCommandInput | RejectInboundConnectionCommandInput | RemoveTagsCommandInput | RevokeVpcEndpointAccessCommandInput | StartServiceSoftwareUpdateCommandInput | UpdateDomainConfigCommandInput | UpdatePackageCommandInput | UpdateScheduledActionCommandInput | UpdateVpcEndpointCommandInput | UpgradeDomainCommandInput;
|
|
67
69
|
/**
|
|
68
70
|
* @public
|
|
69
71
|
*/
|
|
70
|
-
export type ServiceOutputTypes = AcceptInboundConnectionCommandOutput | AddTagsCommandOutput | AssociatePackageCommandOutput | AuthorizeVpcEndpointAccessCommandOutput | CancelServiceSoftwareUpdateCommandOutput | CreateDomainCommandOutput | CreateOutboundConnectionCommandOutput | CreatePackageCommandOutput | CreateVpcEndpointCommandOutput | DeleteDomainCommandOutput | DeleteInboundConnectionCommandOutput | DeleteOutboundConnectionCommandOutput | DeletePackageCommandOutput | DeleteVpcEndpointCommandOutput | DescribeDomainAutoTunesCommandOutput | DescribeDomainChangeProgressCommandOutput | DescribeDomainCommandOutput | DescribeDomainConfigCommandOutput | DescribeDomainsCommandOutput | DescribeDryRunProgressCommandOutput | DescribeInboundConnectionsCommandOutput | DescribeInstanceTypeLimitsCommandOutput | DescribeOutboundConnectionsCommandOutput | DescribePackagesCommandOutput | DescribeReservedInstanceOfferingsCommandOutput | DescribeReservedInstancesCommandOutput | DescribeVpcEndpointsCommandOutput | DissociatePackageCommandOutput | GetCompatibleVersionsCommandOutput | GetPackageVersionHistoryCommandOutput | GetUpgradeHistoryCommandOutput | GetUpgradeStatusCommandOutput | ListDomainNamesCommandOutput | ListDomainsForPackageCommandOutput | ListInstanceTypeDetailsCommandOutput | ListPackagesForDomainCommandOutput | ListScheduledActionsCommandOutput | ListTagsCommandOutput | ListVersionsCommandOutput | ListVpcEndpointAccessCommandOutput | ListVpcEndpointsCommandOutput | ListVpcEndpointsForDomainCommandOutput | PurchaseReservedInstanceOfferingCommandOutput | RejectInboundConnectionCommandOutput | RemoveTagsCommandOutput | RevokeVpcEndpointAccessCommandOutput | StartServiceSoftwareUpdateCommandOutput | UpdateDomainConfigCommandOutput | UpdatePackageCommandOutput | UpdateScheduledActionCommandOutput | UpdateVpcEndpointCommandOutput | UpgradeDomainCommandOutput;
|
|
72
|
+
export type ServiceOutputTypes = AcceptInboundConnectionCommandOutput | AddTagsCommandOutput | AssociatePackageCommandOutput | AuthorizeVpcEndpointAccessCommandOutput | CancelServiceSoftwareUpdateCommandOutput | CreateDomainCommandOutput | CreateOutboundConnectionCommandOutput | CreatePackageCommandOutput | CreateVpcEndpointCommandOutput | DeleteDomainCommandOutput | DeleteInboundConnectionCommandOutput | DeleteOutboundConnectionCommandOutput | DeletePackageCommandOutput | DeleteVpcEndpointCommandOutput | DescribeDomainAutoTunesCommandOutput | DescribeDomainChangeProgressCommandOutput | DescribeDomainCommandOutput | DescribeDomainConfigCommandOutput | DescribeDomainHealthCommandOutput | DescribeDomainNodesCommandOutput | DescribeDomainsCommandOutput | DescribeDryRunProgressCommandOutput | DescribeInboundConnectionsCommandOutput | DescribeInstanceTypeLimitsCommandOutput | DescribeOutboundConnectionsCommandOutput | DescribePackagesCommandOutput | DescribeReservedInstanceOfferingsCommandOutput | DescribeReservedInstancesCommandOutput | DescribeVpcEndpointsCommandOutput | DissociatePackageCommandOutput | GetCompatibleVersionsCommandOutput | GetPackageVersionHistoryCommandOutput | GetUpgradeHistoryCommandOutput | GetUpgradeStatusCommandOutput | ListDomainNamesCommandOutput | ListDomainsForPackageCommandOutput | ListInstanceTypeDetailsCommandOutput | ListPackagesForDomainCommandOutput | ListScheduledActionsCommandOutput | ListTagsCommandOutput | ListVersionsCommandOutput | ListVpcEndpointAccessCommandOutput | ListVpcEndpointsCommandOutput | ListVpcEndpointsForDomainCommandOutput | PurchaseReservedInstanceOfferingCommandOutput | RejectInboundConnectionCommandOutput | RemoveTagsCommandOutput | RevokeVpcEndpointAccessCommandOutput | StartServiceSoftwareUpdateCommandOutput | UpdateDomainConfigCommandOutput | UpdatePackageCommandOutput | UpdateScheduledActionCommandOutput | UpdateVpcEndpointCommandOutput | UpgradeDomainCommandOutput;
|
|
71
73
|
/**
|
|
72
74
|
* @public
|
|
73
75
|
*/
|
|
@@ -33,6 +33,31 @@ export interface AcceptInboundConnectionCommandOutput extends AcceptInboundConne
|
|
|
33
33
|
* };
|
|
34
34
|
* const command = new AcceptInboundConnectionCommand(input);
|
|
35
35
|
* const response = await client.send(command);
|
|
36
|
+
* // { // AcceptInboundConnectionResponse
|
|
37
|
+
* // Connection: { // InboundConnection
|
|
38
|
+
* // LocalDomainInfo: { // DomainInformationContainer
|
|
39
|
+
* // AWSDomainInformation: { // AWSDomainInformation
|
|
40
|
+
* // OwnerId: "STRING_VALUE",
|
|
41
|
+
* // DomainName: "STRING_VALUE", // required
|
|
42
|
+
* // Region: "STRING_VALUE",
|
|
43
|
+
* // },
|
|
44
|
+
* // },
|
|
45
|
+
* // RemoteDomainInfo: {
|
|
46
|
+
* // AWSDomainInformation: {
|
|
47
|
+
* // OwnerId: "STRING_VALUE",
|
|
48
|
+
* // DomainName: "STRING_VALUE", // required
|
|
49
|
+
* // Region: "STRING_VALUE",
|
|
50
|
+
* // },
|
|
51
|
+
* // },
|
|
52
|
+
* // ConnectionId: "STRING_VALUE",
|
|
53
|
+
* // ConnectionStatus: { // InboundConnectionStatus
|
|
54
|
+
* // StatusCode: "PENDING_ACCEPTANCE" || "APPROVED" || "PROVISIONING" || "ACTIVE" || "REJECTING" || "REJECTED" || "DELETING" || "DELETED",
|
|
55
|
+
* // Message: "STRING_VALUE",
|
|
56
|
+
* // },
|
|
57
|
+
* // ConnectionMode: "DIRECT" || "VPC_ENDPOINT",
|
|
58
|
+
* // },
|
|
59
|
+
* // };
|
|
60
|
+
*
|
|
36
61
|
* ```
|
|
37
62
|
*
|
|
38
63
|
* @param AcceptInboundConnectionCommandInput - {@link AcceptInboundConnectionCommandInput}
|
|
@@ -42,14 +67,16 @@ export interface AcceptInboundConnectionCommandOutput extends AcceptInboundConne
|
|
|
42
67
|
* @see {@link OpenSearchClientResolvedConfig | config} for OpenSearchClient's `config` shape.
|
|
43
68
|
*
|
|
44
69
|
* @throws {@link DisabledOperationException} (client fault)
|
|
45
|
-
* <p>An error occured because the client wanted to access
|
|
70
|
+
* <p>An error occured because the client wanted to access an unsupported operation.</p>
|
|
46
71
|
*
|
|
47
72
|
* @throws {@link LimitExceededException} (client fault)
|
|
48
73
|
* <p>An exception for trying to create more than the allowed number of resources or sub-resources.</p>
|
|
49
74
|
*
|
|
50
75
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
51
|
-
* <p>An exception for accessing or deleting a resource that
|
|
76
|
+
* <p>An exception for accessing or deleting a resource that doesn't exist.</p>
|
|
52
77
|
*
|
|
78
|
+
* @throws {@link OpenSearchServiceException}
|
|
79
|
+
* <p>Base exception class for all service exceptions from OpenSearch service.</p>
|
|
53
80
|
*
|
|
54
81
|
*/
|
|
55
82
|
export declare class AcceptInboundConnectionCommand extends $Command<AcceptInboundConnectionCommandInput, AcceptInboundConnectionCommandOutput, OpenSearchClientResolvedConfig> {
|
|
@@ -39,6 +39,8 @@ export interface AddTagsCommandOutput extends __MetadataBearer {
|
|
|
39
39
|
* };
|
|
40
40
|
* const command = new AddTagsCommand(input);
|
|
41
41
|
* const response = await client.send(command);
|
|
42
|
+
* // {};
|
|
43
|
+
*
|
|
42
44
|
* ```
|
|
43
45
|
*
|
|
44
46
|
* @param AddTagsCommandInput - {@link AddTagsCommandInput}
|
|
@@ -59,6 +61,8 @@ export interface AddTagsCommandOutput extends __MetadataBearer {
|
|
|
59
61
|
* @throws {@link ValidationException} (client fault)
|
|
60
62
|
* <p>An exception for accessing or deleting a resource that doesn't exist.</p>
|
|
61
63
|
*
|
|
64
|
+
* @throws {@link OpenSearchServiceException}
|
|
65
|
+
* <p>Base exception class for all service exceptions from OpenSearch service.</p>
|
|
62
66
|
*
|
|
63
67
|
*/
|
|
64
68
|
export declare class AddTagsCommand extends $Command<AddTagsCommandInput, AddTagsCommandOutput, OpenSearchClientResolvedConfig> {
|
|
@@ -34,6 +34,23 @@ export interface AssociatePackageCommandOutput extends AssociatePackageResponse,
|
|
|
34
34
|
* };
|
|
35
35
|
* const command = new AssociatePackageCommand(input);
|
|
36
36
|
* const response = await client.send(command);
|
|
37
|
+
* // { // AssociatePackageResponse
|
|
38
|
+
* // DomainPackageDetails: { // DomainPackageDetails
|
|
39
|
+
* // PackageID: "STRING_VALUE",
|
|
40
|
+
* // PackageName: "STRING_VALUE",
|
|
41
|
+
* // PackageType: "TXT-DICTIONARY",
|
|
42
|
+
* // LastUpdated: new Date("TIMESTAMP"),
|
|
43
|
+
* // DomainName: "STRING_VALUE",
|
|
44
|
+
* // DomainPackageStatus: "ASSOCIATING" || "ASSOCIATION_FAILED" || "ACTIVE" || "DISSOCIATING" || "DISSOCIATION_FAILED",
|
|
45
|
+
* // PackageVersion: "STRING_VALUE",
|
|
46
|
+
* // ReferencePath: "STRING_VALUE",
|
|
47
|
+
* // ErrorDetails: { // ErrorDetails
|
|
48
|
+
* // ErrorType: "STRING_VALUE",
|
|
49
|
+
* // ErrorMessage: "STRING_VALUE",
|
|
50
|
+
* // },
|
|
51
|
+
* // },
|
|
52
|
+
* // };
|
|
53
|
+
*
|
|
37
54
|
* ```
|
|
38
55
|
*
|
|
39
56
|
* @param AssociatePackageCommandInput - {@link AssociatePackageCommandInput}
|
|
@@ -55,11 +72,13 @@ export interface AssociatePackageCommandOutput extends AssociatePackageResponse,
|
|
|
55
72
|
* <p>Request processing failed because of an unknown error, exception, or internal failure.</p>
|
|
56
73
|
*
|
|
57
74
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
58
|
-
* <p>An exception for accessing or deleting a resource that
|
|
75
|
+
* <p>An exception for accessing or deleting a resource that doesn't exist.</p>
|
|
59
76
|
*
|
|
60
77
|
* @throws {@link ValidationException} (client fault)
|
|
61
78
|
* <p>An exception for accessing or deleting a resource that doesn't exist.</p>
|
|
62
79
|
*
|
|
80
|
+
* @throws {@link OpenSearchServiceException}
|
|
81
|
+
* <p>Base exception class for all service exceptions from OpenSearch service.</p>
|
|
63
82
|
*
|
|
64
83
|
*/
|
|
65
84
|
export declare class AssociatePackageCommand extends $Command<AssociatePackageCommandInput, AssociatePackageCommandOutput, OpenSearchClientResolvedConfig> {
|
|
@@ -33,6 +33,13 @@ export interface AuthorizeVpcEndpointAccessCommandOutput extends AuthorizeVpcEnd
|
|
|
33
33
|
* };
|
|
34
34
|
* const command = new AuthorizeVpcEndpointAccessCommand(input);
|
|
35
35
|
* const response = await client.send(command);
|
|
36
|
+
* // { // AuthorizeVpcEndpointAccessResponse
|
|
37
|
+
* // AuthorizedPrincipal: { // AuthorizedPrincipal
|
|
38
|
+
* // PrincipalType: "AWS_ACCOUNT" || "AWS_SERVICE",
|
|
39
|
+
* // Principal: "STRING_VALUE",
|
|
40
|
+
* // },
|
|
41
|
+
* // };
|
|
42
|
+
*
|
|
36
43
|
* ```
|
|
37
44
|
*
|
|
38
45
|
* @param AuthorizeVpcEndpointAccessCommandInput - {@link AuthorizeVpcEndpointAccessCommandInput}
|
|
@@ -45,7 +52,7 @@ export interface AuthorizeVpcEndpointAccessCommandOutput extends AuthorizeVpcEnd
|
|
|
45
52
|
* <p>An error occurred while processing the request.</p>
|
|
46
53
|
*
|
|
47
54
|
* @throws {@link DisabledOperationException} (client fault)
|
|
48
|
-
* <p>An error occured because the client wanted to access
|
|
55
|
+
* <p>An error occured because the client wanted to access an unsupported operation.</p>
|
|
49
56
|
*
|
|
50
57
|
* @throws {@link InternalException} (server fault)
|
|
51
58
|
* <p>Request processing failed because of an unknown error, exception, or internal failure.</p>
|
|
@@ -54,11 +61,13 @@ export interface AuthorizeVpcEndpointAccessCommandOutput extends AuthorizeVpcEnd
|
|
|
54
61
|
* <p>An exception for trying to create more than the allowed number of resources or sub-resources.</p>
|
|
55
62
|
*
|
|
56
63
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
57
|
-
* <p>An exception for accessing or deleting a resource that
|
|
64
|
+
* <p>An exception for accessing or deleting a resource that doesn't exist.</p>
|
|
58
65
|
*
|
|
59
66
|
* @throws {@link ValidationException} (client fault)
|
|
60
67
|
* <p>An exception for accessing or deleting a resource that doesn't exist.</p>
|
|
61
68
|
*
|
|
69
|
+
* @throws {@link OpenSearchServiceException}
|
|
70
|
+
* <p>Base exception class for all service exceptions from OpenSearch service.</p>
|
|
62
71
|
*
|
|
63
72
|
*/
|
|
64
73
|
export declare class AuthorizeVpcEndpointAccessCommand extends $Command<AuthorizeVpcEndpointAccessCommandInput, AuthorizeVpcEndpointAccessCommandOutput, OpenSearchClientResolvedConfig> {
|
|
@@ -33,6 +33,19 @@ export interface CancelServiceSoftwareUpdateCommandOutput extends CancelServiceS
|
|
|
33
33
|
* };
|
|
34
34
|
* const command = new CancelServiceSoftwareUpdateCommand(input);
|
|
35
35
|
* const response = await client.send(command);
|
|
36
|
+
* // { // CancelServiceSoftwareUpdateResponse
|
|
37
|
+
* // ServiceSoftwareOptions: { // ServiceSoftwareOptions
|
|
38
|
+
* // CurrentVersion: "STRING_VALUE",
|
|
39
|
+
* // NewVersion: "STRING_VALUE",
|
|
40
|
+
* // UpdateAvailable: true || false,
|
|
41
|
+
* // Cancellable: true || false,
|
|
42
|
+
* // UpdateStatus: "PENDING_UPDATE" || "IN_PROGRESS" || "COMPLETED" || "NOT_ELIGIBLE" || "ELIGIBLE",
|
|
43
|
+
* // Description: "STRING_VALUE",
|
|
44
|
+
* // AutomatedUpdateDate: new Date("TIMESTAMP"),
|
|
45
|
+
* // OptionalDeployment: true || false,
|
|
46
|
+
* // },
|
|
47
|
+
* // };
|
|
48
|
+
*
|
|
36
49
|
* ```
|
|
37
50
|
*
|
|
38
51
|
* @param CancelServiceSoftwareUpdateCommandInput - {@link CancelServiceSoftwareUpdateCommandInput}
|
|
@@ -48,11 +61,13 @@ export interface CancelServiceSoftwareUpdateCommandOutput extends CancelServiceS
|
|
|
48
61
|
* <p>Request processing failed because of an unknown error, exception, or internal failure.</p>
|
|
49
62
|
*
|
|
50
63
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
51
|
-
* <p>An exception for accessing or deleting a resource that
|
|
64
|
+
* <p>An exception for accessing or deleting a resource that doesn't exist.</p>
|
|
52
65
|
*
|
|
53
66
|
* @throws {@link ValidationException} (client fault)
|
|
54
67
|
* <p>An exception for accessing or deleting a resource that doesn't exist.</p>
|
|
55
68
|
*
|
|
69
|
+
* @throws {@link OpenSearchServiceException}
|
|
70
|
+
* <p>Base exception class for all service exceptions from OpenSearch service.</p>
|
|
56
71
|
*
|
|
57
72
|
*/
|
|
58
73
|
export declare class CancelServiceSoftwareUpdateCommand extends $Command<CancelServiceSoftwareUpdateCommandInput, CancelServiceSoftwareUpdateCommandOutput, OpenSearchClientResolvedConfig> {
|
|
@@ -45,6 +45,7 @@ export interface CreateDomainCommandOutput extends CreateDomainResponse, __Metad
|
|
|
45
45
|
* ColdStorageOptions: { // ColdStorageOptions
|
|
46
46
|
* Enabled: true || false, // required
|
|
47
47
|
* },
|
|
48
|
+
* MultiAZWithStandbyEnabled: true || false,
|
|
48
49
|
* },
|
|
49
50
|
* EBSOptions: { // EBSOptions
|
|
50
51
|
* EBSEnabled: true || false,
|
|
@@ -151,6 +152,140 @@ export interface CreateDomainCommandOutput extends CreateDomainResponse, __Metad
|
|
|
151
152
|
* };
|
|
152
153
|
* const command = new CreateDomainCommand(input);
|
|
153
154
|
* const response = await client.send(command);
|
|
155
|
+
* // { // CreateDomainResponse
|
|
156
|
+
* // DomainStatus: { // DomainStatus
|
|
157
|
+
* // DomainId: "STRING_VALUE", // required
|
|
158
|
+
* // DomainName: "STRING_VALUE", // required
|
|
159
|
+
* // ARN: "STRING_VALUE", // required
|
|
160
|
+
* // Created: true || false,
|
|
161
|
+
* // Deleted: true || false,
|
|
162
|
+
* // Endpoint: "STRING_VALUE",
|
|
163
|
+
* // Endpoints: { // EndpointsMap
|
|
164
|
+
* // "<keys>": "STRING_VALUE",
|
|
165
|
+
* // },
|
|
166
|
+
* // Processing: true || false,
|
|
167
|
+
* // UpgradeProcessing: true || false,
|
|
168
|
+
* // EngineVersion: "STRING_VALUE",
|
|
169
|
+
* // ClusterConfig: { // ClusterConfig
|
|
170
|
+
* // InstanceType: "m3.medium.search" || "m3.large.search" || "m3.xlarge.search" || "m3.2xlarge.search" || "m4.large.search" || "m4.xlarge.search" || "m4.2xlarge.search" || "m4.4xlarge.search" || "m4.10xlarge.search" || "m5.large.search" || "m5.xlarge.search" || "m5.2xlarge.search" || "m5.4xlarge.search" || "m5.12xlarge.search" || "m5.24xlarge.search" || "r5.large.search" || "r5.xlarge.search" || "r5.2xlarge.search" || "r5.4xlarge.search" || "r5.12xlarge.search" || "r5.24xlarge.search" || "c5.large.search" || "c5.xlarge.search" || "c5.2xlarge.search" || "c5.4xlarge.search" || "c5.9xlarge.search" || "c5.18xlarge.search" || "t3.nano.search" || "t3.micro.search" || "t3.small.search" || "t3.medium.search" || "t3.large.search" || "t3.xlarge.search" || "t3.2xlarge.search" || "ultrawarm1.medium.search" || "ultrawarm1.large.search" || "ultrawarm1.xlarge.search" || "t2.micro.search" || "t2.small.search" || "t2.medium.search" || "r3.large.search" || "r3.xlarge.search" || "r3.2xlarge.search" || "r3.4xlarge.search" || "r3.8xlarge.search" || "i2.xlarge.search" || "i2.2xlarge.search" || "d2.xlarge.search" || "d2.2xlarge.search" || "d2.4xlarge.search" || "d2.8xlarge.search" || "c4.large.search" || "c4.xlarge.search" || "c4.2xlarge.search" || "c4.4xlarge.search" || "c4.8xlarge.search" || "r4.large.search" || "r4.xlarge.search" || "r4.2xlarge.search" || "r4.4xlarge.search" || "r4.8xlarge.search" || "r4.16xlarge.search" || "i3.large.search" || "i3.xlarge.search" || "i3.2xlarge.search" || "i3.4xlarge.search" || "i3.8xlarge.search" || "i3.16xlarge.search" || "r6g.large.search" || "r6g.xlarge.search" || "r6g.2xlarge.search" || "r6g.4xlarge.search" || "r6g.8xlarge.search" || "r6g.12xlarge.search" || "m6g.large.search" || "m6g.xlarge.search" || "m6g.2xlarge.search" || "m6g.4xlarge.search" || "m6g.8xlarge.search" || "m6g.12xlarge.search" || "c6g.large.search" || "c6g.xlarge.search" || "c6g.2xlarge.search" || "c6g.4xlarge.search" || "c6g.8xlarge.search" || "c6g.12xlarge.search" || "r6gd.large.search" || "r6gd.xlarge.search" || "r6gd.2xlarge.search" || "r6gd.4xlarge.search" || "r6gd.8xlarge.search" || "r6gd.12xlarge.search" || "r6gd.16xlarge.search" || "t4g.small.search" || "t4g.medium.search",
|
|
171
|
+
* // InstanceCount: Number("int"),
|
|
172
|
+
* // DedicatedMasterEnabled: true || false,
|
|
173
|
+
* // ZoneAwarenessEnabled: true || false,
|
|
174
|
+
* // ZoneAwarenessConfig: { // ZoneAwarenessConfig
|
|
175
|
+
* // AvailabilityZoneCount: Number("int"),
|
|
176
|
+
* // },
|
|
177
|
+
* // DedicatedMasterType: "m3.medium.search" || "m3.large.search" || "m3.xlarge.search" || "m3.2xlarge.search" || "m4.large.search" || "m4.xlarge.search" || "m4.2xlarge.search" || "m4.4xlarge.search" || "m4.10xlarge.search" || "m5.large.search" || "m5.xlarge.search" || "m5.2xlarge.search" || "m5.4xlarge.search" || "m5.12xlarge.search" || "m5.24xlarge.search" || "r5.large.search" || "r5.xlarge.search" || "r5.2xlarge.search" || "r5.4xlarge.search" || "r5.12xlarge.search" || "r5.24xlarge.search" || "c5.large.search" || "c5.xlarge.search" || "c5.2xlarge.search" || "c5.4xlarge.search" || "c5.9xlarge.search" || "c5.18xlarge.search" || "t3.nano.search" || "t3.micro.search" || "t3.small.search" || "t3.medium.search" || "t3.large.search" || "t3.xlarge.search" || "t3.2xlarge.search" || "ultrawarm1.medium.search" || "ultrawarm1.large.search" || "ultrawarm1.xlarge.search" || "t2.micro.search" || "t2.small.search" || "t2.medium.search" || "r3.large.search" || "r3.xlarge.search" || "r3.2xlarge.search" || "r3.4xlarge.search" || "r3.8xlarge.search" || "i2.xlarge.search" || "i2.2xlarge.search" || "d2.xlarge.search" || "d2.2xlarge.search" || "d2.4xlarge.search" || "d2.8xlarge.search" || "c4.large.search" || "c4.xlarge.search" || "c4.2xlarge.search" || "c4.4xlarge.search" || "c4.8xlarge.search" || "r4.large.search" || "r4.xlarge.search" || "r4.2xlarge.search" || "r4.4xlarge.search" || "r4.8xlarge.search" || "r4.16xlarge.search" || "i3.large.search" || "i3.xlarge.search" || "i3.2xlarge.search" || "i3.4xlarge.search" || "i3.8xlarge.search" || "i3.16xlarge.search" || "r6g.large.search" || "r6g.xlarge.search" || "r6g.2xlarge.search" || "r6g.4xlarge.search" || "r6g.8xlarge.search" || "r6g.12xlarge.search" || "m6g.large.search" || "m6g.xlarge.search" || "m6g.2xlarge.search" || "m6g.4xlarge.search" || "m6g.8xlarge.search" || "m6g.12xlarge.search" || "c6g.large.search" || "c6g.xlarge.search" || "c6g.2xlarge.search" || "c6g.4xlarge.search" || "c6g.8xlarge.search" || "c6g.12xlarge.search" || "r6gd.large.search" || "r6gd.xlarge.search" || "r6gd.2xlarge.search" || "r6gd.4xlarge.search" || "r6gd.8xlarge.search" || "r6gd.12xlarge.search" || "r6gd.16xlarge.search" || "t4g.small.search" || "t4g.medium.search",
|
|
178
|
+
* // DedicatedMasterCount: Number("int"),
|
|
179
|
+
* // WarmEnabled: true || false,
|
|
180
|
+
* // WarmType: "ultrawarm1.medium.search" || "ultrawarm1.large.search" || "ultrawarm1.xlarge.search",
|
|
181
|
+
* // WarmCount: Number("int"),
|
|
182
|
+
* // ColdStorageOptions: { // ColdStorageOptions
|
|
183
|
+
* // Enabled: true || false, // required
|
|
184
|
+
* // },
|
|
185
|
+
* // MultiAZWithStandbyEnabled: true || false,
|
|
186
|
+
* // },
|
|
187
|
+
* // EBSOptions: { // EBSOptions
|
|
188
|
+
* // EBSEnabled: true || false,
|
|
189
|
+
* // VolumeType: "standard" || "gp2" || "io1" || "gp3",
|
|
190
|
+
* // VolumeSize: Number("int"),
|
|
191
|
+
* // Iops: Number("int"),
|
|
192
|
+
* // Throughput: Number("int"),
|
|
193
|
+
* // },
|
|
194
|
+
* // AccessPolicies: "STRING_VALUE",
|
|
195
|
+
* // SnapshotOptions: { // SnapshotOptions
|
|
196
|
+
* // AutomatedSnapshotStartHour: Number("int"),
|
|
197
|
+
* // },
|
|
198
|
+
* // VPCOptions: { // VPCDerivedInfo
|
|
199
|
+
* // VPCId: "STRING_VALUE",
|
|
200
|
+
* // SubnetIds: [ // StringList
|
|
201
|
+
* // "STRING_VALUE",
|
|
202
|
+
* // ],
|
|
203
|
+
* // AvailabilityZones: [
|
|
204
|
+
* // "STRING_VALUE",
|
|
205
|
+
* // ],
|
|
206
|
+
* // SecurityGroupIds: [
|
|
207
|
+
* // "STRING_VALUE",
|
|
208
|
+
* // ],
|
|
209
|
+
* // },
|
|
210
|
+
* // CognitoOptions: { // CognitoOptions
|
|
211
|
+
* // Enabled: true || false,
|
|
212
|
+
* // UserPoolId: "STRING_VALUE",
|
|
213
|
+
* // IdentityPoolId: "STRING_VALUE",
|
|
214
|
+
* // RoleArn: "STRING_VALUE",
|
|
215
|
+
* // },
|
|
216
|
+
* // EncryptionAtRestOptions: { // EncryptionAtRestOptions
|
|
217
|
+
* // Enabled: true || false,
|
|
218
|
+
* // KmsKeyId: "STRING_VALUE",
|
|
219
|
+
* // },
|
|
220
|
+
* // NodeToNodeEncryptionOptions: { // NodeToNodeEncryptionOptions
|
|
221
|
+
* // Enabled: true || false,
|
|
222
|
+
* // },
|
|
223
|
+
* // AdvancedOptions: { // AdvancedOptions
|
|
224
|
+
* // "<keys>": "STRING_VALUE",
|
|
225
|
+
* // },
|
|
226
|
+
* // LogPublishingOptions: { // LogPublishingOptions
|
|
227
|
+
* // "<keys>": { // LogPublishingOption
|
|
228
|
+
* // CloudWatchLogsLogGroupArn: "STRING_VALUE",
|
|
229
|
+
* // Enabled: true || false,
|
|
230
|
+
* // },
|
|
231
|
+
* // },
|
|
232
|
+
* // ServiceSoftwareOptions: { // ServiceSoftwareOptions
|
|
233
|
+
* // CurrentVersion: "STRING_VALUE",
|
|
234
|
+
* // NewVersion: "STRING_VALUE",
|
|
235
|
+
* // UpdateAvailable: true || false,
|
|
236
|
+
* // Cancellable: true || false,
|
|
237
|
+
* // UpdateStatus: "PENDING_UPDATE" || "IN_PROGRESS" || "COMPLETED" || "NOT_ELIGIBLE" || "ELIGIBLE",
|
|
238
|
+
* // Description: "STRING_VALUE",
|
|
239
|
+
* // AutomatedUpdateDate: new Date("TIMESTAMP"),
|
|
240
|
+
* // OptionalDeployment: true || false,
|
|
241
|
+
* // },
|
|
242
|
+
* // DomainEndpointOptions: { // DomainEndpointOptions
|
|
243
|
+
* // EnforceHTTPS: true || false,
|
|
244
|
+
* // TLSSecurityPolicy: "Policy-Min-TLS-1-0-2019-07" || "Policy-Min-TLS-1-2-2019-07",
|
|
245
|
+
* // CustomEndpointEnabled: true || false,
|
|
246
|
+
* // CustomEndpoint: "STRING_VALUE",
|
|
247
|
+
* // CustomEndpointCertificateArn: "STRING_VALUE",
|
|
248
|
+
* // },
|
|
249
|
+
* // AdvancedSecurityOptions: { // AdvancedSecurityOptions
|
|
250
|
+
* // Enabled: true || false,
|
|
251
|
+
* // InternalUserDatabaseEnabled: true || false,
|
|
252
|
+
* // SAMLOptions: { // SAMLOptionsOutput
|
|
253
|
+
* // Enabled: true || false,
|
|
254
|
+
* // Idp: { // SAMLIdp
|
|
255
|
+
* // MetadataContent: "STRING_VALUE", // required
|
|
256
|
+
* // EntityId: "STRING_VALUE", // required
|
|
257
|
+
* // },
|
|
258
|
+
* // SubjectKey: "STRING_VALUE",
|
|
259
|
+
* // RolesKey: "STRING_VALUE",
|
|
260
|
+
* // SessionTimeoutMinutes: Number("int"),
|
|
261
|
+
* // },
|
|
262
|
+
* // AnonymousAuthDisableDate: new Date("TIMESTAMP"),
|
|
263
|
+
* // AnonymousAuthEnabled: true || false,
|
|
264
|
+
* // },
|
|
265
|
+
* // AutoTuneOptions: { // AutoTuneOptionsOutput
|
|
266
|
+
* // State: "ENABLED" || "DISABLED" || "ENABLE_IN_PROGRESS" || "DISABLE_IN_PROGRESS" || "DISABLED_AND_ROLLBACK_SCHEDULED" || "DISABLED_AND_ROLLBACK_IN_PROGRESS" || "DISABLED_AND_ROLLBACK_COMPLETE" || "DISABLED_AND_ROLLBACK_ERROR" || "ERROR",
|
|
267
|
+
* // ErrorMessage: "STRING_VALUE",
|
|
268
|
+
* // UseOffPeakWindow: true || false,
|
|
269
|
+
* // },
|
|
270
|
+
* // ChangeProgressDetails: { // ChangeProgressDetails
|
|
271
|
+
* // ChangeId: "STRING_VALUE",
|
|
272
|
+
* // Message: "STRING_VALUE",
|
|
273
|
+
* // },
|
|
274
|
+
* // OffPeakWindowOptions: { // OffPeakWindowOptions
|
|
275
|
+
* // Enabled: true || false,
|
|
276
|
+
* // OffPeakWindow: { // OffPeakWindow
|
|
277
|
+
* // WindowStartTime: { // WindowStartTime
|
|
278
|
+
* // Hours: Number("long"), // required
|
|
279
|
+
* // Minutes: Number("long"), // required
|
|
280
|
+
* // },
|
|
281
|
+
* // },
|
|
282
|
+
* // },
|
|
283
|
+
* // SoftwareUpdateOptions: { // SoftwareUpdateOptions
|
|
284
|
+
* // AutoSoftwareUpdateEnabled: true || false,
|
|
285
|
+
* // },
|
|
286
|
+
* // },
|
|
287
|
+
* // };
|
|
288
|
+
*
|
|
154
289
|
* ```
|
|
155
290
|
*
|
|
156
291
|
* @param CreateDomainCommandInput - {@link CreateDomainCommandInput}
|
|
@@ -163,7 +298,7 @@ export interface CreateDomainCommandOutput extends CreateDomainResponse, __Metad
|
|
|
163
298
|
* <p>An error occurred while processing the request.</p>
|
|
164
299
|
*
|
|
165
300
|
* @throws {@link DisabledOperationException} (client fault)
|
|
166
|
-
* <p>An error occured because the client wanted to access
|
|
301
|
+
* <p>An error occured because the client wanted to access an unsupported operation.</p>
|
|
167
302
|
*
|
|
168
303
|
* @throws {@link InternalException} (server fault)
|
|
169
304
|
* <p>Request processing failed because of an unknown error, exception, or internal failure.</p>
|
|
@@ -180,6 +315,8 @@ export interface CreateDomainCommandOutput extends CreateDomainResponse, __Metad
|
|
|
180
315
|
* @throws {@link ValidationException} (client fault)
|
|
181
316
|
* <p>An exception for accessing or deleting a resource that doesn't exist.</p>
|
|
182
317
|
*
|
|
318
|
+
* @throws {@link OpenSearchServiceException}
|
|
319
|
+
* <p>Base exception class for all service exceptions from OpenSearch service.</p>
|
|
183
320
|
*
|
|
184
321
|
*/
|
|
185
322
|
export declare class CreateDomainCommand extends $Command<CreateDomainCommandInput, CreateDomainCommandOutput, OpenSearchClientResolvedConfig> {
|