@aws-sdk/client-elasticsearch-service 3.507.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 +106 -3
  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 +49 -3
  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 +1 -1
package/README.md CHANGED
@@ -241,6 +241,14 @@ AuthorizeVpcEndpointAccess
241
241
 
242
242
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/elasticsearch-service/command/AuthorizeVpcEndpointAccessCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-elasticsearch-service/Interface/AuthorizeVpcEndpointAccessCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-elasticsearch-service/Interface/AuthorizeVpcEndpointAccessCommandOutput/)
243
243
 
244
+ </details>
245
+ <details>
246
+ <summary>
247
+ CancelDomainConfigChange
248
+ </summary>
249
+
250
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/elasticsearch-service/command/CancelDomainConfigChangeCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-elasticsearch-service/Interface/CancelDomainConfigChangeCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-elasticsearch-service/Interface/CancelDomainConfigChangeCommandOutput/)
251
+
244
252
  </details>
245
253
  <details>
246
254
  <summary>
@@ -0,0 +1 @@
1
+ module.exports = require("../index.js");
package/dist-cjs/index.js CHANGED
@@ -31,7 +31,9 @@ __export(src_exports, {
31
31
  AutoTuneState: () => AutoTuneState,
32
32
  AutoTuneType: () => AutoTuneType,
33
33
  BaseException: () => BaseException,
34
+ CancelDomainConfigChangeCommand: () => CancelDomainConfigChangeCommand,
34
35
  CancelElasticsearchServiceSoftwareUpdateCommand: () => CancelElasticsearchServiceSoftwareUpdateCommand,
36
+ ConfigChangeStatus: () => ConfigChangeStatus,
35
37
  ConflictException: () => ConflictException,
36
38
  CreateElasticsearchDomainCommand: () => CreateElasticsearchDomainCommand,
37
39
  CreateElasticsearchDomainRequestFilterSensitiveLog: () => CreateElasticsearchDomainRequestFilterSensitiveLog,
@@ -61,6 +63,7 @@ __export(src_exports, {
61
63
  DisabledOperationException: () => DisabledOperationException,
62
64
  DissociatePackageCommand: () => DissociatePackageCommand,
63
65
  DomainPackageStatus: () => DomainPackageStatus,
66
+ DomainProcessingStatusType: () => DomainProcessingStatusType,
64
67
  ESPartitionInstanceType: () => ESPartitionInstanceType,
65
68
  ESWarmPartitionInstanceType: () => ESWarmPartitionInstanceType,
66
69
  ElasticsearchService: () => ElasticsearchService,
@@ -72,6 +75,7 @@ __export(src_exports, {
72
75
  GetUpgradeHistoryCommand: () => GetUpgradeHistoryCommand,
73
76
  GetUpgradeStatusCommand: () => GetUpgradeStatusCommand,
74
77
  InboundCrossClusterSearchConnectionStatusCode: () => InboundCrossClusterSearchConnectionStatusCode,
78
+ InitiatedBy: () => InitiatedBy,
75
79
  InternalException: () => InternalException,
76
80
  InvalidPaginationTokenException: () => InvalidPaginationTokenException,
77
81
  InvalidTypeException: () => InvalidTypeException,
@@ -93,6 +97,7 @@ __export(src_exports, {
93
97
  PackageStatus: () => PackageStatus,
94
98
  PackageType: () => PackageType,
95
99
  PrincipalType: () => PrincipalType,
100
+ PropertyValueType: () => PropertyValueType,
96
101
  PurchaseReservedElasticsearchInstanceOfferingCommand: () => PurchaseReservedElasticsearchInstanceOfferingCommand,
97
102
  RejectInboundCrossClusterSearchConnectionCommand: () => RejectInboundCrossClusterSearchConnectionCommand,
98
103
  RemoveTagsCommand: () => RemoveTagsCommand,
@@ -517,6 +522,33 @@ var AutoTuneState = {
517
522
  ENABLE_IN_PROGRESS: "ENABLE_IN_PROGRESS",
518
523
  ERROR: "ERROR"
519
524
  };
525
+ var ConfigChangeStatus = {
526
+ APPLYING_CHANGES: "ApplyingChanges",
527
+ CANCELLED: "Cancelled",
528
+ COMPLETED: "Completed",
529
+ INITIALIZING: "Initializing",
530
+ PENDING: "Pending",
531
+ PENDING_USER_INPUT: "PendingUserInput",
532
+ VALIDATING: "Validating",
533
+ VALIDATION_FAILED: "ValidationFailed"
534
+ };
535
+ var InitiatedBy = {
536
+ CUSTOMER: "CUSTOMER",
537
+ SERVICE: "SERVICE"
538
+ };
539
+ var DomainProcessingStatusType = {
540
+ ACTIVE: "Active",
541
+ CREATING: "Creating",
542
+ DELETING: "Deleting",
543
+ ISOLATED: "Isolated",
544
+ MODIFYING: "Modifying",
545
+ UPDATING: "UpdatingServiceSoftware",
546
+ UPGRADING: "UpgradingEngineVersion"
547
+ };
548
+ var PropertyValueType = {
549
+ PLAIN_TEXT: "PLAIN_TEXT",
550
+ STRINGIFIED_JSON: "STRINGIFIED_JSON"
551
+ };
520
552
  var _InvalidTypeException = class _InvalidTypeException extends ElasticsearchServiceServiceException {
521
553
  /**
522
554
  * @internal
@@ -732,6 +764,22 @@ var se_AuthorizeVpcEndpointAccessCommand = /* @__PURE__ */ __name(async (input,
732
764
  b.m("POST").h(headers).b(body);
733
765
  return b.build();
734
766
  }, "se_AuthorizeVpcEndpointAccessCommand");
767
+ var se_CancelDomainConfigChangeCommand = /* @__PURE__ */ __name(async (input, context) => {
768
+ const b = (0, import_core.requestBuilder)(input, context);
769
+ const headers = {
770
+ "content-type": "application/json"
771
+ };
772
+ b.bp("/2015-01-01/es/domain/{DomainName}/config/cancel");
773
+ b.p("DomainName", () => input.DomainName, "{DomainName}", false);
774
+ let body;
775
+ body = JSON.stringify(
776
+ (0, import_smithy_client.take)(input, {
777
+ DryRun: []
778
+ })
779
+ );
780
+ b.m("POST").h(headers).b(body);
781
+ return b.build();
782
+ }, "se_CancelDomainConfigChangeCommand");
735
783
  var se_CancelElasticsearchServiceSoftwareUpdateCommand = /* @__PURE__ */ __name(async (input, context) => {
736
784
  const b = (0, import_core.requestBuilder)(input, context);
737
785
  const headers = {
@@ -1437,6 +1485,22 @@ var de_AuthorizeVpcEndpointAccessCommand = /* @__PURE__ */ __name(async (output,
1437
1485
  Object.assign(contents, doc);
1438
1486
  return contents;
1439
1487
  }, "de_AuthorizeVpcEndpointAccessCommand");
1488
+ var de_CancelDomainConfigChangeCommand = /* @__PURE__ */ __name(async (output, context) => {
1489
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1490
+ return de_CommandError(output, context);
1491
+ }
1492
+ const contents = (0, import_smithy_client.map)({
1493
+ $metadata: deserializeMetadata(output)
1494
+ });
1495
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
1496
+ const doc = (0, import_smithy_client.take)(data, {
1497
+ CancelledChangeIds: import_smithy_client._json,
1498
+ CancelledChangeProperties: import_smithy_client._json,
1499
+ DryRun: import_smithy_client.expectBoolean
1500
+ });
1501
+ Object.assign(contents, doc);
1502
+ return contents;
1503
+ }, "de_CancelDomainConfigChangeCommand");
1440
1504
  var de_CancelElasticsearchServiceSoftwareUpdateCommand = /* @__PURE__ */ __name(async (output, context) => {
1441
1505
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1442
1506
  return de_CommandError(output, context);
@@ -2089,7 +2153,7 @@ var de_UpgradeElasticsearchDomainCommand = /* @__PURE__ */ __name(async (output,
2089
2153
  });
2090
2154
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
2091
2155
  const doc = (0, import_smithy_client.take)(data, {
2092
- ChangeProgressDetails: import_smithy_client._json,
2156
+ ChangeProgressDetails: (_) => de_ChangeProgressDetails(_, context),
2093
2157
  DomainName: import_smithy_client.expectString,
2094
2158
  PerformCheckOnly: import_smithy_client.expectBoolean,
2095
2159
  TargetVersion: import_smithy_client.expectString
@@ -2395,6 +2459,16 @@ var de_AutoTuneStatus = /* @__PURE__ */ __name((output, context) => {
2395
2459
  UpdateVersion: import_smithy_client.expectInt32
2396
2460
  });
2397
2461
  }, "de_AutoTuneStatus");
2462
+ var de_ChangeProgressDetails = /* @__PURE__ */ __name((output, context) => {
2463
+ return (0, import_smithy_client.take)(output, {
2464
+ ChangeId: import_smithy_client.expectString,
2465
+ ConfigChangeStatus: import_smithy_client.expectString,
2466
+ InitiatedBy: import_smithy_client.expectString,
2467
+ LastUpdatedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2468
+ Message: import_smithy_client.expectString,
2469
+ StartTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
2470
+ });
2471
+ }, "de_ChangeProgressDetails");
2398
2472
  var de_ChangeProgressStage = /* @__PURE__ */ __name((output, context) => {
2399
2473
  return (0, import_smithy_client.take)(output, {
2400
2474
  Description: import_smithy_client.expectString,
@@ -2414,6 +2488,9 @@ var de_ChangeProgressStatusDetails = /* @__PURE__ */ __name((output, context) =>
2414
2488
  ChangeId: import_smithy_client.expectString,
2415
2489
  ChangeProgressStages: (_) => de_ChangeProgressStageList(_, context),
2416
2490
  CompletedProperties: import_smithy_client._json,
2491
+ ConfigChangeStatus: import_smithy_client.expectString,
2492
+ InitiatedBy: import_smithy_client.expectString,
2493
+ LastUpdatedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2417
2494
  PendingProperties: import_smithy_client._json,
2418
2495
  StartTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2419
2496
  Status: import_smithy_client.expectString,
@@ -2469,7 +2546,7 @@ var de_ElasticsearchDomainConfig = /* @__PURE__ */ __name((output, context) => {
2469
2546
  AdvancedOptions: (_) => de_AdvancedOptionsStatus(_, context),
2470
2547
  AdvancedSecurityOptions: (_) => de_AdvancedSecurityOptionsStatus(_, context),
2471
2548
  AutoTuneOptions: (_) => de_AutoTuneOptionsStatus(_, context),
2472
- ChangeProgressDetails: import_smithy_client._json,
2549
+ ChangeProgressDetails: (_) => de_ChangeProgressDetails(_, context),
2473
2550
  CognitoOptions: (_) => de_CognitoOptionsStatus(_, context),
2474
2551
  DomainEndpointOptions: (_) => de_DomainEndpointOptionsStatus(_, context),
2475
2552
  EBSOptions: (_) => de_EBSOptionsStatus(_, context),
@@ -2477,6 +2554,7 @@ var de_ElasticsearchDomainConfig = /* @__PURE__ */ __name((output, context) => {
2477
2554
  ElasticsearchVersion: (_) => de_ElasticsearchVersionStatus(_, context),
2478
2555
  EncryptionAtRestOptions: (_) => de_EncryptionAtRestOptionsStatus(_, context),
2479
2556
  LogPublishingOptions: (_) => de_LogPublishingOptionsStatus(_, context),
2557
+ ModifyingProperties: import_smithy_client._json,
2480
2558
  NodeToNodeEncryptionOptions: (_) => de_NodeToNodeEncryptionOptionsStatus(_, context),
2481
2559
  SnapshotOptions: (_) => de_SnapshotOptionsStatus(_, context),
2482
2560
  VPCOptions: (_) => de_VPCDerivedInfoStatus(_, context)
@@ -2489,13 +2567,14 @@ var de_ElasticsearchDomainStatus = /* @__PURE__ */ __name((output, context) => {
2489
2567
  AdvancedOptions: import_smithy_client._json,
2490
2568
  AdvancedSecurityOptions: (_) => de_AdvancedSecurityOptions(_, context),
2491
2569
  AutoTuneOptions: import_smithy_client._json,
2492
- ChangeProgressDetails: import_smithy_client._json,
2570
+ ChangeProgressDetails: (_) => de_ChangeProgressDetails(_, context),
2493
2571
  CognitoOptions: import_smithy_client._json,
2494
2572
  Created: import_smithy_client.expectBoolean,
2495
2573
  Deleted: import_smithy_client.expectBoolean,
2496
2574
  DomainEndpointOptions: import_smithy_client._json,
2497
2575
  DomainId: import_smithy_client.expectString,
2498
2576
  DomainName: import_smithy_client.expectString,
2577
+ DomainProcessingStatus: import_smithy_client.expectString,
2499
2578
  EBSOptions: import_smithy_client._json,
2500
2579
  ElasticsearchClusterConfig: import_smithy_client._json,
2501
2580
  ElasticsearchVersion: import_smithy_client.expectString,
@@ -2503,6 +2582,7 @@ var de_ElasticsearchDomainStatus = /* @__PURE__ */ __name((output, context) => {
2503
2582
  Endpoint: import_smithy_client.expectString,
2504
2583
  Endpoints: import_smithy_client._json,
2505
2584
  LogPublishingOptions: import_smithy_client._json,
2585
+ ModifyingProperties: import_smithy_client._json,
2506
2586
  NodeToNodeEncryptionOptions: import_smithy_client._json,
2507
2587
  Processing: import_smithy_client.expectBoolean,
2508
2588
  ServiceSoftwareOptions: (_) => de_ServiceSoftwareOptions(_, context),
@@ -2823,6 +2903,23 @@ var _AuthorizeVpcEndpointAccessCommand = class _AuthorizeVpcEndpointAccessComman
2823
2903
  __name(_AuthorizeVpcEndpointAccessCommand, "AuthorizeVpcEndpointAccessCommand");
2824
2904
  var AuthorizeVpcEndpointAccessCommand = _AuthorizeVpcEndpointAccessCommand;
2825
2905
 
2906
+ // src/commands/CancelDomainConfigChangeCommand.ts
2907
+
2908
+
2909
+
2910
+
2911
+ var _CancelDomainConfigChangeCommand = class _CancelDomainConfigChangeCommand extends import_smithy_client.Command.classBuilder().ep({
2912
+ ...commonParams
2913
+ }).m(function(Command, cs, config, o) {
2914
+ return [
2915
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2916
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2917
+ ];
2918
+ }).s("AmazonElasticsearchService2015", "CancelDomainConfigChange", {}).n("ElasticsearchServiceClient", "CancelDomainConfigChangeCommand").f(void 0, void 0).ser(se_CancelDomainConfigChangeCommand).de(de_CancelDomainConfigChangeCommand).build() {
2919
+ };
2920
+ __name(_CancelDomainConfigChangeCommand, "CancelDomainConfigChangeCommand");
2921
+ var CancelDomainConfigChangeCommand = _CancelDomainConfigChangeCommand;
2922
+
2826
2923
  // src/commands/CancelElasticsearchServiceSoftwareUpdateCommand.ts
2827
2924
 
2828
2925
 
@@ -3611,6 +3708,7 @@ var commands = {
3611
3708
  AddTagsCommand,
3612
3709
  AssociatePackageCommand,
3613
3710
  AuthorizeVpcEndpointAccessCommand,
3711
+ CancelDomainConfigChangeCommand,
3614
3712
  CancelElasticsearchServiceSoftwareUpdateCommand,
3615
3713
  CreateElasticsearchDomainCommand,
3616
3714
  CreateOutboundCrossClusterSearchConnectionCommand,
@@ -3744,6 +3842,7 @@ var import_util_endpoints = require("@aws-sdk/util-endpoints");
3744
3842
  AddTagsCommand,
3745
3843
  AssociatePackageCommand,
3746
3844
  AuthorizeVpcEndpointAccessCommand,
3845
+ CancelDomainConfigChangeCommand,
3747
3846
  CancelElasticsearchServiceSoftwareUpdateCommand,
3748
3847
  CreateElasticsearchDomainCommand,
3749
3848
  CreateOutboundCrossClusterSearchConnectionCommand,
@@ -3824,6 +3923,10 @@ var import_util_endpoints = require("@aws-sdk/util-endpoints");
3824
3923
  ESWarmPartitionInstanceType,
3825
3924
  LogType,
3826
3925
  AutoTuneState,
3926
+ ConfigChangeStatus,
3927
+ InitiatedBy,
3928
+ DomainProcessingStatusType,
3929
+ PropertyValueType,
3827
3930
  InvalidTypeException,
3828
3931
  ResourceAlreadyExistsException,
3829
3932
  OutboundCrossClusterSearchConnectionStatusCode,
@@ -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({
@@ -49,6 +49,20 @@ export const se_AuthorizeVpcEndpointAccessCommand = async (input, context) => {
49
49
  b.m("POST").h(headers).b(body);
50
50
  return b.build();
51
51
  };
52
+ export const se_CancelDomainConfigChangeCommand = async (input, context) => {
53
+ const b = rb(input, context);
54
+ const headers = {
55
+ "content-type": "application/json",
56
+ };
57
+ b.bp("/2015-01-01/es/domain/{DomainName}/config/cancel");
58
+ b.p("DomainName", () => input.DomainName, "{DomainName}", false);
59
+ let body;
60
+ body = JSON.stringify(take(input, {
61
+ DryRun: [],
62
+ }));
63
+ b.m("POST").h(headers).b(body);
64
+ return b.build();
65
+ };
52
66
  export const se_CancelElasticsearchServiceSoftwareUpdateCommand = async (input, context) => {
53
67
  const b = rb(input, context);
54
68
  const headers = {
@@ -701,6 +715,22 @@ export const de_AuthorizeVpcEndpointAccessCommand = async (output, context) => {
701
715
  Object.assign(contents, doc);
702
716
  return contents;
703
717
  };
718
+ export const de_CancelDomainConfigChangeCommand = async (output, context) => {
719
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
720
+ return de_CommandError(output, context);
721
+ }
722
+ const contents = map({
723
+ $metadata: deserializeMetadata(output),
724
+ });
725
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
726
+ const doc = take(data, {
727
+ CancelledChangeIds: _json,
728
+ CancelledChangeProperties: _json,
729
+ DryRun: __expectBoolean,
730
+ });
731
+ Object.assign(contents, doc);
732
+ return contents;
733
+ };
704
734
  export const de_CancelElasticsearchServiceSoftwareUpdateCommand = async (output, context) => {
705
735
  if (output.statusCode !== 200 && output.statusCode >= 300) {
706
736
  return de_CommandError(output, context);
@@ -1353,7 +1383,7 @@ export const de_UpgradeElasticsearchDomainCommand = async (output, context) => {
1353
1383
  });
1354
1384
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1355
1385
  const doc = take(data, {
1356
- ChangeProgressDetails: _json,
1386
+ ChangeProgressDetails: (_) => de_ChangeProgressDetails(_, context),
1357
1387
  DomainName: __expectString,
1358
1388
  PerformCheckOnly: __expectBoolean,
1359
1389
  TargetVersion: __expectString,
@@ -1665,6 +1695,16 @@ const de_AutoTuneStatus = (output, context) => {
1665
1695
  UpdateVersion: __expectInt32,
1666
1696
  });
1667
1697
  };
1698
+ const de_ChangeProgressDetails = (output, context) => {
1699
+ return take(output, {
1700
+ ChangeId: __expectString,
1701
+ ConfigChangeStatus: __expectString,
1702
+ InitiatedBy: __expectString,
1703
+ LastUpdatedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
1704
+ Message: __expectString,
1705
+ StartTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
1706
+ });
1707
+ };
1668
1708
  const de_ChangeProgressStage = (output, context) => {
1669
1709
  return take(output, {
1670
1710
  Description: __expectString,
@@ -1686,6 +1726,9 @@ const de_ChangeProgressStatusDetails = (output, context) => {
1686
1726
  ChangeId: __expectString,
1687
1727
  ChangeProgressStages: (_) => de_ChangeProgressStageList(_, context),
1688
1728
  CompletedProperties: _json,
1729
+ ConfigChangeStatus: __expectString,
1730
+ InitiatedBy: __expectString,
1731
+ LastUpdatedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
1689
1732
  PendingProperties: _json,
1690
1733
  StartTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
1691
1734
  Status: __expectString,
@@ -1743,7 +1786,7 @@ const de_ElasticsearchDomainConfig = (output, context) => {
1743
1786
  AdvancedOptions: (_) => de_AdvancedOptionsStatus(_, context),
1744
1787
  AdvancedSecurityOptions: (_) => de_AdvancedSecurityOptionsStatus(_, context),
1745
1788
  AutoTuneOptions: (_) => de_AutoTuneOptionsStatus(_, context),
1746
- ChangeProgressDetails: _json,
1789
+ ChangeProgressDetails: (_) => de_ChangeProgressDetails(_, context),
1747
1790
  CognitoOptions: (_) => de_CognitoOptionsStatus(_, context),
1748
1791
  DomainEndpointOptions: (_) => de_DomainEndpointOptionsStatus(_, context),
1749
1792
  EBSOptions: (_) => de_EBSOptionsStatus(_, context),
@@ -1751,6 +1794,7 @@ const de_ElasticsearchDomainConfig = (output, context) => {
1751
1794
  ElasticsearchVersion: (_) => de_ElasticsearchVersionStatus(_, context),
1752
1795
  EncryptionAtRestOptions: (_) => de_EncryptionAtRestOptionsStatus(_, context),
1753
1796
  LogPublishingOptions: (_) => de_LogPublishingOptionsStatus(_, context),
1797
+ ModifyingProperties: _json,
1754
1798
  NodeToNodeEncryptionOptions: (_) => de_NodeToNodeEncryptionOptionsStatus(_, context),
1755
1799
  SnapshotOptions: (_) => de_SnapshotOptionsStatus(_, context),
1756
1800
  VPCOptions: (_) => de_VPCDerivedInfoStatus(_, context),
@@ -1763,13 +1807,14 @@ const de_ElasticsearchDomainStatus = (output, context) => {
1763
1807
  AdvancedOptions: _json,
1764
1808
  AdvancedSecurityOptions: (_) => de_AdvancedSecurityOptions(_, context),
1765
1809
  AutoTuneOptions: _json,
1766
- ChangeProgressDetails: _json,
1810
+ ChangeProgressDetails: (_) => de_ChangeProgressDetails(_, context),
1767
1811
  CognitoOptions: _json,
1768
1812
  Created: __expectBoolean,
1769
1813
  Deleted: __expectBoolean,
1770
1814
  DomainEndpointOptions: _json,
1771
1815
  DomainId: __expectString,
1772
1816
  DomainName: __expectString,
1817
+ DomainProcessingStatus: __expectString,
1773
1818
  EBSOptions: _json,
1774
1819
  ElasticsearchClusterConfig: _json,
1775
1820
  ElasticsearchVersion: __expectString,
@@ -1777,6 +1822,7 @@ const de_ElasticsearchDomainStatus = (output, context) => {
1777
1822
  Endpoint: __expectString,
1778
1823
  Endpoints: _json,
1779
1824
  LogPublishingOptions: _json,
1825
+ ModifyingProperties: _json,
1780
1826
  NodeToNodeEncryptionOptions: _json,
1781
1827
  Processing: __expectBoolean,
1782
1828
  ServiceSoftwareOptions: (_) => de_ServiceSoftwareOptions(_, context),
@@ -3,6 +3,7 @@ import { AcceptInboundCrossClusterSearchConnectionCommandInput, AcceptInboundCro
3
3
  import { AddTagsCommandInput, AddTagsCommandOutput } from "./commands/AddTagsCommand";
4
4
  import { AssociatePackageCommandInput, AssociatePackageCommandOutput } from "./commands/AssociatePackageCommand";
5
5
  import { AuthorizeVpcEndpointAccessCommandInput, AuthorizeVpcEndpointAccessCommandOutput } from "./commands/AuthorizeVpcEndpointAccessCommand";
6
+ import { CancelDomainConfigChangeCommandInput, CancelDomainConfigChangeCommandOutput } from "./commands/CancelDomainConfigChangeCommand";
6
7
  import { CancelElasticsearchServiceSoftwareUpdateCommandInput, CancelElasticsearchServiceSoftwareUpdateCommandOutput } from "./commands/CancelElasticsearchServiceSoftwareUpdateCommand";
7
8
  import { CreateElasticsearchDomainCommandInput, CreateElasticsearchDomainCommandOutput } from "./commands/CreateElasticsearchDomainCommand";
8
9
  import { CreateOutboundCrossClusterSearchConnectionCommandInput, CreateOutboundCrossClusterSearchConnectionCommandOutput } from "./commands/CreateOutboundCrossClusterSearchConnectionCommand";
@@ -75,6 +76,12 @@ export interface ElasticsearchService {
75
76
  authorizeVpcEndpointAccess(args: AuthorizeVpcEndpointAccessCommandInput, options?: __HttpHandlerOptions): Promise<AuthorizeVpcEndpointAccessCommandOutput>;
76
77
  authorizeVpcEndpointAccess(args: AuthorizeVpcEndpointAccessCommandInput, cb: (err: any, data?: AuthorizeVpcEndpointAccessCommandOutput) => void): void;
77
78
  authorizeVpcEndpointAccess(args: AuthorizeVpcEndpointAccessCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AuthorizeVpcEndpointAccessCommandOutput) => void): void;
79
+ /**
80
+ * @see {@link CancelDomainConfigChangeCommand}
81
+ */
82
+ cancelDomainConfigChange(args: CancelDomainConfigChangeCommandInput, options?: __HttpHandlerOptions): Promise<CancelDomainConfigChangeCommandOutput>;
83
+ cancelDomainConfigChange(args: CancelDomainConfigChangeCommandInput, cb: (err: any, data?: CancelDomainConfigChangeCommandOutput) => void): void;
84
+ cancelDomainConfigChange(args: CancelDomainConfigChangeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CancelDomainConfigChangeCommandOutput) => void): void;
78
85
  /**
79
86
  * @see {@link CancelElasticsearchServiceSoftwareUpdateCommand}
80
87
  */
@@ -12,6 +12,7 @@ import { AcceptInboundCrossClusterSearchConnectionCommandInput, AcceptInboundCro
12
12
  import { AddTagsCommandInput, AddTagsCommandOutput } from "./commands/AddTagsCommand";
13
13
  import { AssociatePackageCommandInput, AssociatePackageCommandOutput } from "./commands/AssociatePackageCommand";
14
14
  import { AuthorizeVpcEndpointAccessCommandInput, AuthorizeVpcEndpointAccessCommandOutput } from "./commands/AuthorizeVpcEndpointAccessCommand";
15
+ import { CancelDomainConfigChangeCommandInput, CancelDomainConfigChangeCommandOutput } from "./commands/CancelDomainConfigChangeCommand";
15
16
  import { CancelElasticsearchServiceSoftwareUpdateCommandInput, CancelElasticsearchServiceSoftwareUpdateCommandOutput } from "./commands/CancelElasticsearchServiceSoftwareUpdateCommand";
16
17
  import { CreateElasticsearchDomainCommandInput, CreateElasticsearchDomainCommandOutput } from "./commands/CreateElasticsearchDomainCommand";
17
18
  import { CreateOutboundCrossClusterSearchConnectionCommandInput, CreateOutboundCrossClusterSearchConnectionCommandOutput } from "./commands/CreateOutboundCrossClusterSearchConnectionCommand";
@@ -64,11 +65,11 @@ export { __Client };
64
65
  /**
65
66
  * @public
66
67
  */
67
- export type ServiceInputTypes = AcceptInboundCrossClusterSearchConnectionCommandInput | AddTagsCommandInput | AssociatePackageCommandInput | AuthorizeVpcEndpointAccessCommandInput | CancelElasticsearchServiceSoftwareUpdateCommandInput | CreateElasticsearchDomainCommandInput | CreateOutboundCrossClusterSearchConnectionCommandInput | CreatePackageCommandInput | CreateVpcEndpointCommandInput | DeleteElasticsearchDomainCommandInput | DeleteElasticsearchServiceRoleCommandInput | DeleteInboundCrossClusterSearchConnectionCommandInput | DeleteOutboundCrossClusterSearchConnectionCommandInput | DeletePackageCommandInput | DeleteVpcEndpointCommandInput | DescribeDomainAutoTunesCommandInput | DescribeDomainChangeProgressCommandInput | DescribeElasticsearchDomainCommandInput | DescribeElasticsearchDomainConfigCommandInput | DescribeElasticsearchDomainsCommandInput | DescribeElasticsearchInstanceTypeLimitsCommandInput | DescribeInboundCrossClusterSearchConnectionsCommandInput | DescribeOutboundCrossClusterSearchConnectionsCommandInput | DescribePackagesCommandInput | DescribeReservedElasticsearchInstanceOfferingsCommandInput | DescribeReservedElasticsearchInstancesCommandInput | DescribeVpcEndpointsCommandInput | DissociatePackageCommandInput | GetCompatibleElasticsearchVersionsCommandInput | GetPackageVersionHistoryCommandInput | GetUpgradeHistoryCommandInput | GetUpgradeStatusCommandInput | ListDomainNamesCommandInput | ListDomainsForPackageCommandInput | ListElasticsearchInstanceTypesCommandInput | ListElasticsearchVersionsCommandInput | ListPackagesForDomainCommandInput | ListTagsCommandInput | ListVpcEndpointAccessCommandInput | ListVpcEndpointsCommandInput | ListVpcEndpointsForDomainCommandInput | PurchaseReservedElasticsearchInstanceOfferingCommandInput | RejectInboundCrossClusterSearchConnectionCommandInput | RemoveTagsCommandInput | RevokeVpcEndpointAccessCommandInput | StartElasticsearchServiceSoftwareUpdateCommandInput | UpdateElasticsearchDomainConfigCommandInput | UpdatePackageCommandInput | UpdateVpcEndpointCommandInput | UpgradeElasticsearchDomainCommandInput;
68
+ export type ServiceInputTypes = AcceptInboundCrossClusterSearchConnectionCommandInput | AddTagsCommandInput | AssociatePackageCommandInput | AuthorizeVpcEndpointAccessCommandInput | CancelDomainConfigChangeCommandInput | CancelElasticsearchServiceSoftwareUpdateCommandInput | CreateElasticsearchDomainCommandInput | CreateOutboundCrossClusterSearchConnectionCommandInput | CreatePackageCommandInput | CreateVpcEndpointCommandInput | DeleteElasticsearchDomainCommandInput | DeleteElasticsearchServiceRoleCommandInput | DeleteInboundCrossClusterSearchConnectionCommandInput | DeleteOutboundCrossClusterSearchConnectionCommandInput | DeletePackageCommandInput | DeleteVpcEndpointCommandInput | DescribeDomainAutoTunesCommandInput | DescribeDomainChangeProgressCommandInput | DescribeElasticsearchDomainCommandInput | DescribeElasticsearchDomainConfigCommandInput | DescribeElasticsearchDomainsCommandInput | DescribeElasticsearchInstanceTypeLimitsCommandInput | DescribeInboundCrossClusterSearchConnectionsCommandInput | DescribeOutboundCrossClusterSearchConnectionsCommandInput | DescribePackagesCommandInput | DescribeReservedElasticsearchInstanceOfferingsCommandInput | DescribeReservedElasticsearchInstancesCommandInput | DescribeVpcEndpointsCommandInput | DissociatePackageCommandInput | GetCompatibleElasticsearchVersionsCommandInput | GetPackageVersionHistoryCommandInput | GetUpgradeHistoryCommandInput | GetUpgradeStatusCommandInput | ListDomainNamesCommandInput | ListDomainsForPackageCommandInput | ListElasticsearchInstanceTypesCommandInput | ListElasticsearchVersionsCommandInput | ListPackagesForDomainCommandInput | ListTagsCommandInput | ListVpcEndpointAccessCommandInput | ListVpcEndpointsCommandInput | ListVpcEndpointsForDomainCommandInput | PurchaseReservedElasticsearchInstanceOfferingCommandInput | RejectInboundCrossClusterSearchConnectionCommandInput | RemoveTagsCommandInput | RevokeVpcEndpointAccessCommandInput | StartElasticsearchServiceSoftwareUpdateCommandInput | UpdateElasticsearchDomainConfigCommandInput | UpdatePackageCommandInput | UpdateVpcEndpointCommandInput | UpgradeElasticsearchDomainCommandInput;
68
69
  /**
69
70
  * @public
70
71
  */
71
- export type ServiceOutputTypes = AcceptInboundCrossClusterSearchConnectionCommandOutput | AddTagsCommandOutput | AssociatePackageCommandOutput | AuthorizeVpcEndpointAccessCommandOutput | CancelElasticsearchServiceSoftwareUpdateCommandOutput | CreateElasticsearchDomainCommandOutput | CreateOutboundCrossClusterSearchConnectionCommandOutput | CreatePackageCommandOutput | CreateVpcEndpointCommandOutput | DeleteElasticsearchDomainCommandOutput | DeleteElasticsearchServiceRoleCommandOutput | DeleteInboundCrossClusterSearchConnectionCommandOutput | DeleteOutboundCrossClusterSearchConnectionCommandOutput | DeletePackageCommandOutput | DeleteVpcEndpointCommandOutput | DescribeDomainAutoTunesCommandOutput | DescribeDomainChangeProgressCommandOutput | DescribeElasticsearchDomainCommandOutput | DescribeElasticsearchDomainConfigCommandOutput | DescribeElasticsearchDomainsCommandOutput | DescribeElasticsearchInstanceTypeLimitsCommandOutput | DescribeInboundCrossClusterSearchConnectionsCommandOutput | DescribeOutboundCrossClusterSearchConnectionsCommandOutput | DescribePackagesCommandOutput | DescribeReservedElasticsearchInstanceOfferingsCommandOutput | DescribeReservedElasticsearchInstancesCommandOutput | DescribeVpcEndpointsCommandOutput | DissociatePackageCommandOutput | GetCompatibleElasticsearchVersionsCommandOutput | GetPackageVersionHistoryCommandOutput | GetUpgradeHistoryCommandOutput | GetUpgradeStatusCommandOutput | ListDomainNamesCommandOutput | ListDomainsForPackageCommandOutput | ListElasticsearchInstanceTypesCommandOutput | ListElasticsearchVersionsCommandOutput | ListPackagesForDomainCommandOutput | ListTagsCommandOutput | ListVpcEndpointAccessCommandOutput | ListVpcEndpointsCommandOutput | ListVpcEndpointsForDomainCommandOutput | PurchaseReservedElasticsearchInstanceOfferingCommandOutput | RejectInboundCrossClusterSearchConnectionCommandOutput | RemoveTagsCommandOutput | RevokeVpcEndpointAccessCommandOutput | StartElasticsearchServiceSoftwareUpdateCommandOutput | UpdateElasticsearchDomainConfigCommandOutput | UpdatePackageCommandOutput | UpdateVpcEndpointCommandOutput | UpgradeElasticsearchDomainCommandOutput;
72
+ export type ServiceOutputTypes = AcceptInboundCrossClusterSearchConnectionCommandOutput | AddTagsCommandOutput | AssociatePackageCommandOutput | AuthorizeVpcEndpointAccessCommandOutput | CancelDomainConfigChangeCommandOutput | CancelElasticsearchServiceSoftwareUpdateCommandOutput | CreateElasticsearchDomainCommandOutput | CreateOutboundCrossClusterSearchConnectionCommandOutput | CreatePackageCommandOutput | CreateVpcEndpointCommandOutput | DeleteElasticsearchDomainCommandOutput | DeleteElasticsearchServiceRoleCommandOutput | DeleteInboundCrossClusterSearchConnectionCommandOutput | DeleteOutboundCrossClusterSearchConnectionCommandOutput | DeletePackageCommandOutput | DeleteVpcEndpointCommandOutput | DescribeDomainAutoTunesCommandOutput | DescribeDomainChangeProgressCommandOutput | DescribeElasticsearchDomainCommandOutput | DescribeElasticsearchDomainConfigCommandOutput | DescribeElasticsearchDomainsCommandOutput | DescribeElasticsearchInstanceTypeLimitsCommandOutput | DescribeInboundCrossClusterSearchConnectionsCommandOutput | DescribeOutboundCrossClusterSearchConnectionsCommandOutput | DescribePackagesCommandOutput | DescribeReservedElasticsearchInstanceOfferingsCommandOutput | DescribeReservedElasticsearchInstancesCommandOutput | DescribeVpcEndpointsCommandOutput | DissociatePackageCommandOutput | GetCompatibleElasticsearchVersionsCommandOutput | GetPackageVersionHistoryCommandOutput | GetUpgradeHistoryCommandOutput | GetUpgradeStatusCommandOutput | ListDomainNamesCommandOutput | ListDomainsForPackageCommandOutput | ListElasticsearchInstanceTypesCommandOutput | ListElasticsearchVersionsCommandOutput | ListPackagesForDomainCommandOutput | ListTagsCommandOutput | ListVpcEndpointAccessCommandOutput | ListVpcEndpointsCommandOutput | ListVpcEndpointsForDomainCommandOutput | PurchaseReservedElasticsearchInstanceOfferingCommandOutput | RejectInboundCrossClusterSearchConnectionCommandOutput | RemoveTagsCommandOutput | RevokeVpcEndpointAccessCommandOutput | StartElasticsearchServiceSoftwareUpdateCommandOutput | UpdateElasticsearchDomainConfigCommandOutput | UpdatePackageCommandOutput | UpdateVpcEndpointCommandOutput | UpgradeElasticsearchDomainCommandOutput;
72
73
  /**
73
74
  * @public
74
75
  */
@@ -0,0 +1,84 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { ElasticsearchServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ElasticsearchServiceClient";
4
+ import { CancelDomainConfigChangeRequest, CancelDomainConfigChangeResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export { __MetadataBearer, $Command };
9
+ /**
10
+ * @public
11
+ *
12
+ * The input for {@link CancelDomainConfigChangeCommand}.
13
+ */
14
+ export interface CancelDomainConfigChangeCommandInput extends CancelDomainConfigChangeRequest {
15
+ }
16
+ /**
17
+ * @public
18
+ *
19
+ * The output of {@link CancelDomainConfigChangeCommand}.
20
+ */
21
+ export interface CancelDomainConfigChangeCommandOutput extends CancelDomainConfigChangeResponse, __MetadataBearer {
22
+ }
23
+ declare const CancelDomainConfigChangeCommand_base: {
24
+ new (input: CancelDomainConfigChangeCommandInput): import("@smithy/smithy-client").CommandImpl<CancelDomainConfigChangeCommandInput, CancelDomainConfigChangeCommandOutput, ElasticsearchServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
27
+ /**
28
+ * @public
29
+ * <p>Cancels a pending configuration change on an Amazon OpenSearch Service domain.</p>
30
+ * @example
31
+ * Use a bare-bones client and the command you need to make an API call.
32
+ * ```javascript
33
+ * import { ElasticsearchServiceClient, CancelDomainConfigChangeCommand } from "@aws-sdk/client-elasticsearch-service"; // ES Modules import
34
+ * // const { ElasticsearchServiceClient, CancelDomainConfigChangeCommand } = require("@aws-sdk/client-elasticsearch-service"); // CommonJS import
35
+ * const client = new ElasticsearchServiceClient(config);
36
+ * const input = { // CancelDomainConfigChangeRequest
37
+ * DomainName: "STRING_VALUE", // required
38
+ * DryRun: true || false,
39
+ * };
40
+ * const command = new CancelDomainConfigChangeCommand(input);
41
+ * const response = await client.send(command);
42
+ * // { // CancelDomainConfigChangeResponse
43
+ * // DryRun: true || false,
44
+ * // CancelledChangeIds: [ // GUIDList
45
+ * // "STRING_VALUE",
46
+ * // ],
47
+ * // CancelledChangeProperties: [ // CancelledChangePropertyList
48
+ * // { // CancelledChangeProperty
49
+ * // PropertyName: "STRING_VALUE",
50
+ * // CancelledValue: "STRING_VALUE",
51
+ * // ActiveValue: "STRING_VALUE",
52
+ * // },
53
+ * // ],
54
+ * // };
55
+ *
56
+ * ```
57
+ *
58
+ * @param CancelDomainConfigChangeCommandInput - {@link CancelDomainConfigChangeCommandInput}
59
+ * @returns {@link CancelDomainConfigChangeCommandOutput}
60
+ * @see {@link CancelDomainConfigChangeCommandInput} for command's `input` shape.
61
+ * @see {@link CancelDomainConfigChangeCommandOutput} for command's `response` shape.
62
+ * @see {@link ElasticsearchServiceClientResolvedConfig | config} for ElasticsearchServiceClient's `config` shape.
63
+ *
64
+ * @throws {@link BaseException} (client fault)
65
+ * <p>An error occurred while processing the request.</p>
66
+ *
67
+ * @throws {@link DisabledOperationException} (client fault)
68
+ * <p>An error occured because the client wanted to access a not supported operation. Gives http status code of 409.</p>
69
+ *
70
+ * @throws {@link InternalException} (server fault)
71
+ * <p>The request processing has failed because of an unknown error, exception or failure (the failure is internal to the service) . Gives http status code of 500.</p>
72
+ *
73
+ * @throws {@link ResourceNotFoundException} (client fault)
74
+ * <p>An exception for accessing or deleting a resource that does not exist. Gives http status code of 400.</p>
75
+ *
76
+ * @throws {@link ValidationException} (client fault)
77
+ * <p>An exception for missing / invalid input fields. Gives http status code of 400.</p>
78
+ *
79
+ * @throws {@link ElasticsearchServiceServiceException}
80
+ * <p>Base exception class for all service exceptions from ElasticsearchService service.</p>
81
+ *
82
+ */
83
+ export declare class CancelDomainConfigChangeCommand extends CancelDomainConfigChangeCommand_base {
84
+ }
@@ -262,7 +262,20 @@ declare const CreateElasticsearchDomainCommand_base: {
262
262
  * // ChangeProgressDetails: { // ChangeProgressDetails
263
263
  * // ChangeId: "STRING_VALUE",
264
264
  * // Message: "STRING_VALUE",
265
+ * // ConfigChangeStatus: "Pending" || "Initializing" || "Validating" || "ValidationFailed" || "ApplyingChanges" || "Completed" || "PendingUserInput" || "Cancelled",
266
+ * // StartTime: new Date("TIMESTAMP"),
267
+ * // LastUpdatedTime: new Date("TIMESTAMP"),
268
+ * // InitiatedBy: "CUSTOMER" || "SERVICE",
265
269
  * // },
270
+ * // DomainProcessingStatus: "Creating" || "Active" || "Modifying" || "UpgradingEngineVersion" || "UpdatingServiceSoftware" || "Isolated" || "Deleting",
271
+ * // ModifyingProperties: [ // ModifyingPropertiesList
272
+ * // { // ModifyingProperties
273
+ * // Name: "STRING_VALUE",
274
+ * // ActiveValue: "STRING_VALUE",
275
+ * // PendingValue: "STRING_VALUE",
276
+ * // ValueType: "PLAIN_TEXT" || "STRINGIFIED_JSON",
277
+ * // },
278
+ * // ],
266
279
  * // },
267
280
  * // };
268
281
  *
@@ -154,7 +154,20 @@ declare const DeleteElasticsearchDomainCommand_base: {
154
154
  * // ChangeProgressDetails: { // ChangeProgressDetails
155
155
  * // ChangeId: "STRING_VALUE",
156
156
  * // Message: "STRING_VALUE",
157
+ * // ConfigChangeStatus: "Pending" || "Initializing" || "Validating" || "ValidationFailed" || "ApplyingChanges" || "Completed" || "PendingUserInput" || "Cancelled",
158
+ * // StartTime: new Date("TIMESTAMP"),
159
+ * // LastUpdatedTime: new Date("TIMESTAMP"),
160
+ * // InitiatedBy: "CUSTOMER" || "SERVICE",
157
161
  * // },
162
+ * // DomainProcessingStatus: "Creating" || "Active" || "Modifying" || "UpgradingEngineVersion" || "UpdatingServiceSoftware" || "Isolated" || "Deleting",
163
+ * // ModifyingProperties: [ // ModifyingPropertiesList
164
+ * // { // ModifyingProperties
165
+ * // Name: "STRING_VALUE",
166
+ * // ActiveValue: "STRING_VALUE",
167
+ * // PendingValue: "STRING_VALUE",
168
+ * // ValueType: "PLAIN_TEXT" || "STRINGIFIED_JSON",
169
+ * // },
170
+ * // ],
158
171
  * // },
159
172
  * // };
160
173
  *