@aws-sdk/client-elasticsearch-service 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.
Files changed (29) hide show
  1. package/README.md +8 -0
  2. package/dist-cjs/commands/CancelDomainConfigChangeCommand.js +1 -0
  3. package/dist-cjs/index.js +195 -1500
  4. package/dist-es/ElasticsearchService.js +2 -0
  5. package/dist-es/commands/CancelDomainConfigChangeCommand.js +24 -0
  6. package/dist-es/commands/index.js +1 -0
  7. package/dist-es/models/models_0.js +27 -0
  8. package/dist-es/protocols/Aws_restJson1.js +139 -1501
  9. package/dist-types/ElasticsearchService.d.ts +7 -0
  10. package/dist-types/ElasticsearchServiceClient.d.ts +3 -2
  11. package/dist-types/commands/CancelDomainConfigChangeCommand.d.ts +84 -0
  12. package/dist-types/commands/CreateElasticsearchDomainCommand.d.ts +13 -0
  13. package/dist-types/commands/DeleteElasticsearchDomainCommand.d.ts +13 -0
  14. package/dist-types/commands/DescribeDomainChangeProgressCommand.d.ts +3 -0
  15. package/dist-types/commands/DescribeElasticsearchDomainCommand.d.ts +13 -0
  16. package/dist-types/commands/DescribeElasticsearchDomainConfigCommand.d.ts +12 -0
  17. package/dist-types/commands/DescribeElasticsearchDomainsCommand.d.ts +13 -0
  18. package/dist-types/commands/UpdateElasticsearchDomainConfigCommand.d.ts +12 -0
  19. package/dist-types/commands/UpgradeElasticsearchDomainCommand.d.ts +4 -0
  20. package/dist-types/commands/index.d.ts +1 -0
  21. package/dist-types/models/models_0.d.ts +197 -0
  22. package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
  23. package/dist-types/ts3.4/ElasticsearchService.d.ts +17 -0
  24. package/dist-types/ts3.4/ElasticsearchServiceClient.d.ts +6 -0
  25. package/dist-types/ts3.4/commands/CancelDomainConfigChangeCommand.d.ts +30 -0
  26. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  27. package/dist-types/ts3.4/models/models_0.d.ts +64 -0
  28. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
  29. package/package.json +3 -3
@@ -3,6 +3,7 @@ import { AcceptInboundCrossClusterSearchConnectionCommand, } from "./commands/Ac
3
3
  import { AddTagsCommand } from "./commands/AddTagsCommand";
4
4
  import { AssociatePackageCommand, } from "./commands/AssociatePackageCommand";
5
5
  import { AuthorizeVpcEndpointAccessCommand, } from "./commands/AuthorizeVpcEndpointAccessCommand";
6
+ import { CancelDomainConfigChangeCommand, } from "./commands/CancelDomainConfigChangeCommand";
6
7
  import { CancelElasticsearchServiceSoftwareUpdateCommand, } from "./commands/CancelElasticsearchServiceSoftwareUpdateCommand";
7
8
  import { CreateElasticsearchDomainCommand, } from "./commands/CreateElasticsearchDomainCommand";
8
9
  import { CreateOutboundCrossClusterSearchConnectionCommand, } from "./commands/CreateOutboundCrossClusterSearchConnectionCommand";
@@ -55,6 +56,7 @@ const commands = {
55
56
  AddTagsCommand,
56
57
  AssociatePackageCommand,
57
58
  AuthorizeVpcEndpointAccessCommand,
59
+ CancelDomainConfigChangeCommand,
58
60
  CancelElasticsearchServiceSoftwareUpdateCommand,
59
61
  CreateElasticsearchDomainCommand,
60
62
  CreateOutboundCrossClusterSearchConnectionCommand,
@@ -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("AmazonElasticsearchService2015", "CancelDomainConfigChange", {})
19
+ .n("ElasticsearchServiceClient", "CancelDomainConfigChangeCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_CancelDomainConfigChangeCommand)
22
+ .de(de_CancelDomainConfigChangeCommand)
23
+ .build() {
24
+ }
@@ -2,6 +2,7 @@ export * from "./AcceptInboundCrossClusterSearchConnectionCommand";
2
2
  export * from "./AddTagsCommand";
3
3
  export * from "./AssociatePackageCommand";
4
4
  export * from "./AuthorizeVpcEndpointAccessCommand";
5
+ export * from "./CancelDomainConfigChangeCommand";
5
6
  export * from "./CancelElasticsearchServiceSoftwareUpdateCommand";
6
7
  export * from "./CreateElasticsearchDomainCommand";
7
8
  export * from "./CreateOutboundCrossClusterSearchConnectionCommand";
@@ -229,6 +229,33 @@ export const AutoTuneState = {
229
229
  ENABLE_IN_PROGRESS: "ENABLE_IN_PROGRESS",
230
230
  ERROR: "ERROR",
231
231
  };
232
+ export const ConfigChangeStatus = {
233
+ APPLYING_CHANGES: "ApplyingChanges",
234
+ CANCELLED: "Cancelled",
235
+ COMPLETED: "Completed",
236
+ INITIALIZING: "Initializing",
237
+ PENDING: "Pending",
238
+ PENDING_USER_INPUT: "PendingUserInput",
239
+ VALIDATING: "Validating",
240
+ VALIDATION_FAILED: "ValidationFailed",
241
+ };
242
+ export const InitiatedBy = {
243
+ CUSTOMER: "CUSTOMER",
244
+ SERVICE: "SERVICE",
245
+ };
246
+ export const DomainProcessingStatusType = {
247
+ ACTIVE: "Active",
248
+ CREATING: "Creating",
249
+ DELETING: "Deleting",
250
+ ISOLATED: "Isolated",
251
+ MODIFYING: "Modifying",
252
+ UPDATING: "UpdatingServiceSoftware",
253
+ UPGRADING: "UpgradingEngineVersion",
254
+ };
255
+ export const PropertyValueType = {
256
+ PLAIN_TEXT: "PLAIN_TEXT",
257
+ STRINGIFIED_JSON: "STRINGIFIED_JSON",
258
+ };
232
259
  export class InvalidTypeException extends __BaseException {
233
260
  constructor(opts) {
234
261
  super({