@aws-sdk/client-opensearch 3.504.0 → 3.508.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 +8 -0
- package/dist-cjs/commands/CancelDomainConfigChangeCommand.js +1 -0
- package/dist-cjs/index.js +212 -1916
- package/dist-es/OpenSearch.js +2 -0
- package/dist-es/commands/CancelDomainConfigChangeCommand.js +24 -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 +156 -1917
- package/dist-types/OpenSearch.d.ts +7 -0
- package/dist-types/OpenSearchClient.d.ts +3 -2
- package/dist-types/commands/CancelDomainConfigChangeCommand.d.ts +84 -0
- package/dist-types/commands/CreateDomainCommand.d.ts +13 -0
- package/dist-types/commands/DeleteDomainCommand.d.ts +13 -0
- package/dist-types/commands/DescribeDomainChangeProgressCommand.d.ts +3 -0
- package/dist-types/commands/DescribeDomainCommand.d.ts +13 -0
- package/dist-types/commands/DescribeDomainConfigCommand.d.ts +12 -0
- package/dist-types/commands/DescribeDomainsCommand.d.ts +13 -0
- package/dist-types/commands/DescribeDryRunProgressCommand.d.ts +13 -0
- package/dist-types/commands/UpdateDomainConfigCommand.d.ts +12 -0
- package/dist-types/commands/UpgradeDomainCommand.d.ts +4 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +205 -2
- package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
- package/dist-types/ts3.4/OpenSearch.d.ts +17 -0
- package/dist-types/ts3.4/OpenSearchClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/CancelDomainConfigChangeCommand.d.ts +30 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +64 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
- package/package.json +3 -3
package/dist-es/OpenSearch.js
CHANGED
|
@@ -4,6 +4,7 @@ import { AddDataSourceCommand, } from "./commands/AddDataSourceCommand";
|
|
|
4
4
|
import { AddTagsCommand } from "./commands/AddTagsCommand";
|
|
5
5
|
import { AssociatePackageCommand, } from "./commands/AssociatePackageCommand";
|
|
6
6
|
import { AuthorizeVpcEndpointAccessCommand, } from "./commands/AuthorizeVpcEndpointAccessCommand";
|
|
7
|
+
import { CancelDomainConfigChangeCommand, } from "./commands/CancelDomainConfigChangeCommand";
|
|
7
8
|
import { CancelServiceSoftwareUpdateCommand, } from "./commands/CancelServiceSoftwareUpdateCommand";
|
|
8
9
|
import { CreateDomainCommand, } from "./commands/CreateDomainCommand";
|
|
9
10
|
import { CreateOutboundConnectionCommand, } from "./commands/CreateOutboundConnectionCommand";
|
|
@@ -68,6 +69,7 @@ const commands = {
|
|
|
68
69
|
AddTagsCommand,
|
|
69
70
|
AssociatePackageCommand,
|
|
70
71
|
AuthorizeVpcEndpointAccessCommand,
|
|
72
|
+
CancelDomainConfigChangeCommand,
|
|
71
73
|
CancelServiceSoftwareUpdateCommand,
|
|
72
74
|
CreateDomainCommand,
|
|
73
75
|
CreateOutboundConnectionCommand,
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_CancelDomainConfigChangeCommand, se_CancelDomainConfigChangeCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class CancelDomainConfigChangeCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AmazonOpenSearchService", "CancelDomainConfigChange", {})
|
|
19
|
+
.n("OpenSearchClient", "CancelDomainConfigChangeCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_CancelDomainConfigChangeCommand)
|
|
22
|
+
.de(de_CancelDomainConfigChangeCommand)
|
|
23
|
+
.build() {
|
|
24
|
+
}
|
|
@@ -3,6 +3,7 @@ export * from "./AddDataSourceCommand";
|
|
|
3
3
|
export * from "./AddTagsCommand";
|
|
4
4
|
export * from "./AssociatePackageCommand";
|
|
5
5
|
export * from "./AuthorizeVpcEndpointAccessCommand";
|
|
6
|
+
export * from "./CancelDomainConfigChangeCommand";
|
|
6
7
|
export * from "./CancelServiceSoftwareUpdateCommand";
|
|
7
8
|
export * from "./CreateDomainCommand";
|
|
8
9
|
export * from "./CreateOutboundConnectionCommand";
|
|
@@ -316,6 +316,33 @@ export const AutoTuneState = {
|
|
|
316
316
|
ENABLE_IN_PROGRESS: "ENABLE_IN_PROGRESS",
|
|
317
317
|
ERROR: "ERROR",
|
|
318
318
|
};
|
|
319
|
+
export const ConfigChangeStatus = {
|
|
320
|
+
APPLYING_CHANGES: "ApplyingChanges",
|
|
321
|
+
CANCELLED: "Cancelled",
|
|
322
|
+
COMPLETED: "Completed",
|
|
323
|
+
INITIALIZING: "Initializing",
|
|
324
|
+
PENDING: "Pending",
|
|
325
|
+
PENDING_USER_INPUT: "PendingUserInput",
|
|
326
|
+
VALIDATING: "Validating",
|
|
327
|
+
VALIDATION_FAILED: "ValidationFailed",
|
|
328
|
+
};
|
|
329
|
+
export const InitiatedBy = {
|
|
330
|
+
CUSTOMER: "CUSTOMER",
|
|
331
|
+
SERVICE: "SERVICE",
|
|
332
|
+
};
|
|
333
|
+
export const DomainProcessingStatusType = {
|
|
334
|
+
ACTIVE: "Active",
|
|
335
|
+
CREATING: "Creating",
|
|
336
|
+
DELETING: "Deleting",
|
|
337
|
+
ISOLATED: "Isolated",
|
|
338
|
+
MODIFYING: "Modifying",
|
|
339
|
+
UPDATING: "UpdatingServiceSoftware",
|
|
340
|
+
UPGRADING: "UpgradingEngineVersion",
|
|
341
|
+
};
|
|
342
|
+
export const PropertyValueType = {
|
|
343
|
+
PLAIN_TEXT: "PLAIN_TEXT",
|
|
344
|
+
STRINGIFIED_JSON: "STRINGIFIED_JSON",
|
|
345
|
+
};
|
|
319
346
|
export class InvalidTypeException extends __BaseException {
|
|
320
347
|
constructor(opts) {
|
|
321
348
|
super({
|