@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
@@ -60,6 +60,9 @@ declare const DescribeDomainChangeProgressCommand_base: {
60
60
  * // LastUpdated: new Date("TIMESTAMP"),
61
61
  * // },
62
62
  * // ],
63
+ * // ConfigChangeStatus: "Pending" || "Initializing" || "Validating" || "ValidationFailed" || "ApplyingChanges" || "Completed" || "PendingUserInput" || "Cancelled",
64
+ * // LastUpdatedTime: new Date("TIMESTAMP"),
65
+ * // InitiatedBy: "CUSTOMER" || "SERVICE",
63
66
  * // },
64
67
  * // };
65
68
  *
@@ -154,7 +154,20 @@ declare const DescribeElasticsearchDomainCommand_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
  *
@@ -222,7 +222,19 @@ declare const DescribeElasticsearchDomainConfigCommand_base: {
222
222
  * // ChangeProgressDetails: { // ChangeProgressDetails
223
223
  * // ChangeId: "STRING_VALUE",
224
224
  * // Message: "STRING_VALUE",
225
+ * // ConfigChangeStatus: "Pending" || "Initializing" || "Validating" || "ValidationFailed" || "ApplyingChanges" || "Completed" || "PendingUserInput" || "Cancelled",
226
+ * // StartTime: new Date("TIMESTAMP"),
227
+ * // LastUpdatedTime: new Date("TIMESTAMP"),
228
+ * // InitiatedBy: "CUSTOMER" || "SERVICE",
225
229
  * // },
230
+ * // ModifyingProperties: [ // ModifyingPropertiesList
231
+ * // { // ModifyingProperties
232
+ * // Name: "STRING_VALUE",
233
+ * // ActiveValue: "STRING_VALUE",
234
+ * // PendingValue: "STRING_VALUE",
235
+ * // ValueType: "PLAIN_TEXT" || "STRINGIFIED_JSON",
236
+ * // },
237
+ * // ],
226
238
  * // },
227
239
  * // };
228
240
  *
@@ -157,7 +157,20 @@ declare const DescribeElasticsearchDomainsCommand_base: {
157
157
  * // ChangeProgressDetails: { // ChangeProgressDetails
158
158
  * // ChangeId: "STRING_VALUE",
159
159
  * // Message: "STRING_VALUE",
160
+ * // ConfigChangeStatus: "Pending" || "Initializing" || "Validating" || "ValidationFailed" || "ApplyingChanges" || "Completed" || "PendingUserInput" || "Cancelled",
161
+ * // StartTime: new Date("TIMESTAMP"),
162
+ * // LastUpdatedTime: new Date("TIMESTAMP"),
163
+ * // InitiatedBy: "CUSTOMER" || "SERVICE",
160
164
  * // },
165
+ * // DomainProcessingStatus: "Creating" || "Active" || "Modifying" || "UpgradingEngineVersion" || "UpdatingServiceSoftware" || "Isolated" || "Deleting",
166
+ * // ModifyingProperties: [ // ModifyingPropertiesList
167
+ * // { // ModifyingProperties
168
+ * // Name: "STRING_VALUE",
169
+ * // ActiveValue: "STRING_VALUE",
170
+ * // PendingValue: "STRING_VALUE",
171
+ * // ValueType: "PLAIN_TEXT" || "STRINGIFIED_JSON",
172
+ * // },
173
+ * // ],
161
174
  * // },
162
175
  * // ],
163
176
  * // };
@@ -324,7 +324,19 @@ declare const UpdateElasticsearchDomainConfigCommand_base: {
324
324
  * // ChangeProgressDetails: { // ChangeProgressDetails
325
325
  * // ChangeId: "STRING_VALUE",
326
326
  * // Message: "STRING_VALUE",
327
+ * // ConfigChangeStatus: "Pending" || "Initializing" || "Validating" || "ValidationFailed" || "ApplyingChanges" || "Completed" || "PendingUserInput" || "Cancelled",
328
+ * // StartTime: new Date("TIMESTAMP"),
329
+ * // LastUpdatedTime: new Date("TIMESTAMP"),
330
+ * // InitiatedBy: "CUSTOMER" || "SERVICE",
327
331
  * // },
332
+ * // ModifyingProperties: [ // ModifyingPropertiesList
333
+ * // { // ModifyingProperties
334
+ * // Name: "STRING_VALUE",
335
+ * // ActiveValue: "STRING_VALUE",
336
+ * // PendingValue: "STRING_VALUE",
337
+ * // ValueType: "PLAIN_TEXT" || "STRINGIFIED_JSON",
338
+ * // },
339
+ * // ],
328
340
  * // },
329
341
  * // DryRunResults: { // DryRunResults
330
342
  * // DeploymentType: "STRING_VALUE",
@@ -47,6 +47,10 @@ declare const UpgradeElasticsearchDomainCommand_base: {
47
47
  * // ChangeProgressDetails: { // ChangeProgressDetails
48
48
  * // ChangeId: "STRING_VALUE",
49
49
  * // Message: "STRING_VALUE",
50
+ * // ConfigChangeStatus: "Pending" || "Initializing" || "Validating" || "ValidationFailed" || "ApplyingChanges" || "Completed" || "PendingUserInput" || "Cancelled",
51
+ * // StartTime: new Date("TIMESTAMP"),
52
+ * // LastUpdatedTime: new Date("TIMESTAMP"),
53
+ * // InitiatedBy: "CUSTOMER" || "SERVICE",
50
54
  * // },
51
55
  * // };
52
56
  *
@@ -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";
@@ -730,6 +730,64 @@ export interface AuthorizeVpcEndpointAccessResponse {
730
730
  */
731
731
  AuthorizedPrincipal: AuthorizedPrincipal | undefined;
732
732
  }
733
+ /**
734
+ * @public
735
+ * <p>Container for parameters of the <code>CancelDomainConfigChange</code> operation.</p>
736
+ */
737
+ export interface CancelDomainConfigChangeRequest {
738
+ /**
739
+ * @public
740
+ * <p>Name of the OpenSearch Service domain configuration request to cancel.</p>
741
+ */
742
+ DomainName: string | undefined;
743
+ /**
744
+ * @public
745
+ * <p>When set to <b>True</b>, returns the list of change IDs and properties that will be cancelled without actually cancelling the change.</p>
746
+ */
747
+ DryRun?: boolean;
748
+ }
749
+ /**
750
+ * @public
751
+ * <p>A property change that was cancelled for an Amazon OpenSearch Service domain.</p>
752
+ */
753
+ export interface CancelledChangeProperty {
754
+ /**
755
+ * @public
756
+ * <p>The name of the property whose change was cancelled.</p>
757
+ */
758
+ PropertyName?: string;
759
+ /**
760
+ * @public
761
+ * <p>The pending value of the property that was cancelled. This would have been the eventual value of the property if the chance had not been cancelled.</p>
762
+ */
763
+ CancelledValue?: string;
764
+ /**
765
+ * @public
766
+ * <p>The current value of the property, after the change was cancelled.</p>
767
+ */
768
+ ActiveValue?: string;
769
+ }
770
+ /**
771
+ * @public
772
+ * <p>Contains the details of the cancelled domain config change.</p>
773
+ */
774
+ export interface CancelDomainConfigChangeResponse {
775
+ /**
776
+ * @public
777
+ * <p>Whether or not the request was a dry run. If <b>True</b>, the changes were not actually cancelled.</p>
778
+ */
779
+ DryRun?: boolean;
780
+ /**
781
+ * @public
782
+ * <p>The unique identifiers of the changes that were cancelled.</p>
783
+ */
784
+ CancelledChangeIds?: string[];
785
+ /**
786
+ * @public
787
+ * <p>The domain change properties that were cancelled.</p>
788
+ */
789
+ CancelledChangeProperties?: CancelledChangeProperty[];
790
+ }
733
791
  /**
734
792
  * @public
735
793
  * <p>Container for the parameters to the <code><a>CancelElasticsearchServiceSoftwareUpdate</a></code> operation. Specifies the name of the Elasticsearch domain that you wish to cancel a service software update on.</p>
@@ -1386,6 +1444,36 @@ export interface AutoTuneOptionsOutput {
1386
1444
  */
1387
1445
  ErrorMessage?: string;
1388
1446
  }
1447
+ /**
1448
+ * @public
1449
+ * @enum
1450
+ */
1451
+ export declare const ConfigChangeStatus: {
1452
+ readonly APPLYING_CHANGES: "ApplyingChanges";
1453
+ readonly CANCELLED: "Cancelled";
1454
+ readonly COMPLETED: "Completed";
1455
+ readonly INITIALIZING: "Initializing";
1456
+ readonly PENDING: "Pending";
1457
+ readonly PENDING_USER_INPUT: "PendingUserInput";
1458
+ readonly VALIDATING: "Validating";
1459
+ readonly VALIDATION_FAILED: "ValidationFailed";
1460
+ };
1461
+ /**
1462
+ * @public
1463
+ */
1464
+ export type ConfigChangeStatus = (typeof ConfigChangeStatus)[keyof typeof ConfigChangeStatus];
1465
+ /**
1466
+ * @public
1467
+ * @enum
1468
+ */
1469
+ export declare const InitiatedBy: {
1470
+ readonly CUSTOMER: "CUSTOMER";
1471
+ readonly SERVICE: "SERVICE";
1472
+ };
1473
+ /**
1474
+ * @public
1475
+ */
1476
+ export type InitiatedBy = (typeof InitiatedBy)[keyof typeof InitiatedBy];
1389
1477
  /**
1390
1478
  * @public
1391
1479
  * <p>Specifies change details of the domain configuration change.</p>
@@ -1401,6 +1489,85 @@ export interface ChangeProgressDetails {
1401
1489
  * <p>Contains an optional message associated with the domain configuration change.</p>
1402
1490
  */
1403
1491
  Message?: string;
1492
+ /**
1493
+ * @public
1494
+ * <p>The current status of the configuration change.</p>
1495
+ */
1496
+ ConfigChangeStatus?: ConfigChangeStatus;
1497
+ /**
1498
+ * @public
1499
+ * <p>The time that the configuration change was initiated, in Universal Coordinated Time (UTC).</p>
1500
+ */
1501
+ StartTime?: Date;
1502
+ /**
1503
+ * @public
1504
+ * <p>The last time that the configuration change was updated.</p>
1505
+ */
1506
+ LastUpdatedTime?: Date;
1507
+ /**
1508
+ * @public
1509
+ * <p>The IAM principal who initiated the configuration change.</p>
1510
+ */
1511
+ InitiatedBy?: InitiatedBy;
1512
+ }
1513
+ /**
1514
+ * @public
1515
+ * @enum
1516
+ */
1517
+ export declare const DomainProcessingStatusType: {
1518
+ readonly ACTIVE: "Active";
1519
+ readonly CREATING: "Creating";
1520
+ readonly DELETING: "Deleting";
1521
+ readonly ISOLATED: "Isolated";
1522
+ readonly MODIFYING: "Modifying";
1523
+ readonly UPDATING: "UpdatingServiceSoftware";
1524
+ readonly UPGRADING: "UpgradingEngineVersion";
1525
+ };
1526
+ /**
1527
+ * @public
1528
+ */
1529
+ export type DomainProcessingStatusType = (typeof DomainProcessingStatusType)[keyof typeof DomainProcessingStatusType];
1530
+ /**
1531
+ * @public
1532
+ * @enum
1533
+ */
1534
+ export declare const PropertyValueType: {
1535
+ readonly PLAIN_TEXT: "PLAIN_TEXT";
1536
+ readonly STRINGIFIED_JSON: "STRINGIFIED_JSON";
1537
+ };
1538
+ /**
1539
+ * @public
1540
+ */
1541
+ export type PropertyValueType = (typeof PropertyValueType)[keyof typeof PropertyValueType];
1542
+ /**
1543
+ * @public
1544
+ * <p>Information about the domain properties that are currently being modified.</p>
1545
+ */
1546
+ export interface ModifyingProperties {
1547
+ /**
1548
+ * @public
1549
+ * <p>The name of the property that is currently being modified.</p>
1550
+ */
1551
+ Name?: string;
1552
+ /**
1553
+ * @public
1554
+ * <p>The current value of the domain property that is being modified.</p>
1555
+ */
1556
+ ActiveValue?: string;
1557
+ /**
1558
+ * @public
1559
+ * <p>The value that the property that is currently being modified will eventually have.</p>
1560
+ */
1561
+ PendingValue?: string;
1562
+ /**
1563
+ * @public
1564
+ * <p>The type of value that is currently being modified. Properties can have two types:</p>
1565
+ * <ul>
1566
+ * <li><b>PLAIN_TEXT</b>: Contain direct values such as "1", "True", or "c5.large.search".</li>
1567
+ * <li><b>STRINGIFIED_JSON</b>: Contain content in JSON format, such as \{"Enabled":"True"\}".</li>
1568
+ * </ul>
1569
+ */
1570
+ ValueType?: PropertyValueType;
1404
1571
  }
1405
1572
  /**
1406
1573
  * @public
@@ -1554,6 +1721,16 @@ export interface ElasticsearchDomainStatus {
1554
1721
  * <p>Specifies change details of the domain configuration change.</p>
1555
1722
  */
1556
1723
  ChangeProgressDetails?: ChangeProgressDetails;
1724
+ /**
1725
+ * @public
1726
+ * <p>The status of any changes that are currently in progress for the domain.</p>
1727
+ */
1728
+ DomainProcessingStatus?: DomainProcessingStatusType;
1729
+ /**
1730
+ * @public
1731
+ * <p>Information about the domain properties that are currently being modified.</p>
1732
+ */
1733
+ ModifyingProperties?: ModifyingProperties[];
1557
1734
  }
1558
1735
  /**
1559
1736
  * @public
@@ -2305,6 +2482,21 @@ export interface ChangeProgressStatusDetails {
2305
2482
  * <p>The specific stages that the domain is going through to perform the configuration change.</p>
2306
2483
  */
2307
2484
  ChangeProgressStages?: ChangeProgressStage[];
2485
+ /**
2486
+ * @public
2487
+ * <p>The current status of the configuration change.</p>
2488
+ */
2489
+ ConfigChangeStatus?: ConfigChangeStatus;
2490
+ /**
2491
+ * @public
2492
+ * <p>The last time that the status of the configuration change was updated.</p>
2493
+ */
2494
+ LastUpdatedTime?: Date;
2495
+ /**
2496
+ * @public
2497
+ * <p>The IAM principal who initiated the configuration change.</p>
2498
+ */
2499
+ InitiatedBy?: InitiatedBy;
2308
2500
  }
2309
2501
  /**
2310
2502
  * @public
@@ -2678,6 +2870,11 @@ export interface ElasticsearchDomainConfig {
2678
2870
  * <p>Specifies change details of the domain configuration change.</p>
2679
2871
  */
2680
2872
  ChangeProgressDetails?: ChangeProgressDetails;
2873
+ /**
2874
+ * @public
2875
+ * <p>Information about the domain properties that are currently being modified.</p>
2876
+ */
2877
+ ModifyingProperties?: ModifyingProperties[];
2681
2878
  }
2682
2879
  /**
2683
2880
  * @public
@@ -4,6 +4,7 @@ import { AcceptInboundCrossClusterSearchConnectionCommandInput, AcceptInboundCro
4
4
  import { AddTagsCommandInput, AddTagsCommandOutput } from "../commands/AddTagsCommand";
5
5
  import { AssociatePackageCommandInput, AssociatePackageCommandOutput } from "../commands/AssociatePackageCommand";
6
6
  import { AuthorizeVpcEndpointAccessCommandInput, AuthorizeVpcEndpointAccessCommandOutput } from "../commands/AuthorizeVpcEndpointAccessCommand";
7
+ import { CancelDomainConfigChangeCommandInput, CancelDomainConfigChangeCommandOutput } from "../commands/CancelDomainConfigChangeCommand";
7
8
  import { CancelElasticsearchServiceSoftwareUpdateCommandInput, CancelElasticsearchServiceSoftwareUpdateCommandOutput } from "../commands/CancelElasticsearchServiceSoftwareUpdateCommand";
8
9
  import { CreateElasticsearchDomainCommandInput, CreateElasticsearchDomainCommandOutput } from "../commands/CreateElasticsearchDomainCommand";
9
10
  import { CreateOutboundCrossClusterSearchConnectionCommandInput, CreateOutboundCrossClusterSearchConnectionCommandOutput } from "../commands/CreateOutboundCrossClusterSearchConnectionCommand";
@@ -66,6 +67,10 @@ export declare const se_AssociatePackageCommand: (input: AssociatePackageCommand
66
67
  * serializeAws_restJson1AuthorizeVpcEndpointAccessCommand
67
68
  */
68
69
  export declare const se_AuthorizeVpcEndpointAccessCommand: (input: AuthorizeVpcEndpointAccessCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
70
+ /**
71
+ * serializeAws_restJson1CancelDomainConfigChangeCommand
72
+ */
73
+ export declare const se_CancelDomainConfigChangeCommand: (input: CancelDomainConfigChangeCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
69
74
  /**
70
75
  * serializeAws_restJson1CancelElasticsearchServiceSoftwareUpdateCommand
71
76
  */
@@ -266,6 +271,10 @@ export declare const de_AssociatePackageCommand: (output: __HttpResponse, contex
266
271
  * deserializeAws_restJson1AuthorizeVpcEndpointAccessCommand
267
272
  */
268
273
  export declare const de_AuthorizeVpcEndpointAccessCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<AuthorizeVpcEndpointAccessCommandOutput>;
274
+ /**
275
+ * deserializeAws_restJson1CancelDomainConfigChangeCommand
276
+ */
277
+ export declare const de_CancelDomainConfigChangeCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CancelDomainConfigChangeCommandOutput>;
269
278
  /**
270
279
  * deserializeAws_restJson1CancelElasticsearchServiceSoftwareUpdateCommand
271
280
  */
@@ -15,6 +15,10 @@ import {
15
15
  AuthorizeVpcEndpointAccessCommandInput,
16
16
  AuthorizeVpcEndpointAccessCommandOutput,
17
17
  } from "./commands/AuthorizeVpcEndpointAccessCommand";
18
+ import {
19
+ CancelDomainConfigChangeCommandInput,
20
+ CancelDomainConfigChangeCommandOutput,
21
+ } from "./commands/CancelDomainConfigChangeCommand";
18
22
  import {
19
23
  CancelElasticsearchServiceSoftwareUpdateCommandInput,
20
24
  CancelElasticsearchServiceSoftwareUpdateCommandOutput,
@@ -259,6 +263,19 @@ export interface ElasticsearchService {
259
263
  options: __HttpHandlerOptions,
260
264
  cb: (err: any, data?: AuthorizeVpcEndpointAccessCommandOutput) => void
261
265
  ): void;
266
+ cancelDomainConfigChange(
267
+ args: CancelDomainConfigChangeCommandInput,
268
+ options?: __HttpHandlerOptions
269
+ ): Promise<CancelDomainConfigChangeCommandOutput>;
270
+ cancelDomainConfigChange(
271
+ args: CancelDomainConfigChangeCommandInput,
272
+ cb: (err: any, data?: CancelDomainConfigChangeCommandOutput) => void
273
+ ): void;
274
+ cancelDomainConfigChange(
275
+ args: CancelDomainConfigChangeCommandInput,
276
+ options: __HttpHandlerOptions,
277
+ cb: (err: any, data?: CancelDomainConfigChangeCommandOutput) => void
278
+ ): void;
262
279
  cancelElasticsearchServiceSoftwareUpdate(
263
280
  args: CancelElasticsearchServiceSoftwareUpdateCommandInput,
264
281
  options?: __HttpHandlerOptions
@@ -61,6 +61,10 @@ import {
61
61
  AuthorizeVpcEndpointAccessCommandInput,
62
62
  AuthorizeVpcEndpointAccessCommandOutput,
63
63
  } from "./commands/AuthorizeVpcEndpointAccessCommand";
64
+ import {
65
+ CancelDomainConfigChangeCommandInput,
66
+ CancelDomainConfigChangeCommandOutput,
67
+ } from "./commands/CancelDomainConfigChangeCommand";
64
68
  import {
65
69
  CancelElasticsearchServiceSoftwareUpdateCommandInput,
66
70
  CancelElasticsearchServiceSoftwareUpdateCommandOutput,
@@ -257,6 +261,7 @@ export type ServiceInputTypes =
257
261
  | AddTagsCommandInput
258
262
  | AssociatePackageCommandInput
259
263
  | AuthorizeVpcEndpointAccessCommandInput
264
+ | CancelDomainConfigChangeCommandInput
260
265
  | CancelElasticsearchServiceSoftwareUpdateCommandInput
261
266
  | CreateElasticsearchDomainCommandInput
262
267
  | CreateOutboundCrossClusterSearchConnectionCommandInput
@@ -308,6 +313,7 @@ export type ServiceOutputTypes =
308
313
  | AddTagsCommandOutput
309
314
  | AssociatePackageCommandOutput
310
315
  | AuthorizeVpcEndpointAccessCommandOutput
316
+ | CancelDomainConfigChangeCommandOutput
311
317
  | CancelElasticsearchServiceSoftwareUpdateCommandOutput
312
318
  | CreateElasticsearchDomainCommandOutput
313
319
  | CreateOutboundCrossClusterSearchConnectionCommandOutput
@@ -0,0 +1,30 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ ElasticsearchServiceClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../ElasticsearchServiceClient";
8
+ import {
9
+ CancelDomainConfigChangeRequest,
10
+ CancelDomainConfigChangeResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer, $Command };
13
+ export interface CancelDomainConfigChangeCommandInput
14
+ extends CancelDomainConfigChangeRequest {}
15
+ export interface CancelDomainConfigChangeCommandOutput
16
+ extends CancelDomainConfigChangeResponse,
17
+ __MetadataBearer {}
18
+ declare const CancelDomainConfigChangeCommand_base: {
19
+ new (
20
+ input: CancelDomainConfigChangeCommandInput
21
+ ): import("@smithy/smithy-client").CommandImpl<
22
+ CancelDomainConfigChangeCommandInput,
23
+ CancelDomainConfigChangeCommandOutput,
24
+ ElasticsearchServiceClientResolvedConfig,
25
+ ServiceInputTypes,
26
+ ServiceOutputTypes
27
+ >;
28
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
29
+ };
30
+ export declare class CancelDomainConfigChangeCommand extends CancelDomainConfigChangeCommand_base {}
@@ -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";
@@ -208,6 +208,20 @@ export interface AuthorizedPrincipal {
208
208
  export interface AuthorizeVpcEndpointAccessResponse {
209
209
  AuthorizedPrincipal: AuthorizedPrincipal | undefined;
210
210
  }
211
+ export interface CancelDomainConfigChangeRequest {
212
+ DomainName: string | undefined;
213
+ DryRun?: boolean;
214
+ }
215
+ export interface CancelledChangeProperty {
216
+ PropertyName?: string;
217
+ CancelledValue?: string;
218
+ ActiveValue?: string;
219
+ }
220
+ export interface CancelDomainConfigChangeResponse {
221
+ DryRun?: boolean;
222
+ CancelledChangeIds?: string[];
223
+ CancelledChangeProperties?: CancelledChangeProperty[];
224
+ }
211
225
  export interface CancelElasticsearchServiceSoftwareUpdateRequest {
212
226
  DomainName: string | undefined;
213
227
  }
@@ -436,9 +450,53 @@ export interface AutoTuneOptionsOutput {
436
450
  State?: AutoTuneState;
437
451
  ErrorMessage?: string;
438
452
  }
453
+ export declare const ConfigChangeStatus: {
454
+ readonly APPLYING_CHANGES: "ApplyingChanges";
455
+ readonly CANCELLED: "Cancelled";
456
+ readonly COMPLETED: "Completed";
457
+ readonly INITIALIZING: "Initializing";
458
+ readonly PENDING: "Pending";
459
+ readonly PENDING_USER_INPUT: "PendingUserInput";
460
+ readonly VALIDATING: "Validating";
461
+ readonly VALIDATION_FAILED: "ValidationFailed";
462
+ };
463
+ export type ConfigChangeStatus =
464
+ (typeof ConfigChangeStatus)[keyof typeof ConfigChangeStatus];
465
+ export declare const InitiatedBy: {
466
+ readonly CUSTOMER: "CUSTOMER";
467
+ readonly SERVICE: "SERVICE";
468
+ };
469
+ export type InitiatedBy = (typeof InitiatedBy)[keyof typeof InitiatedBy];
439
470
  export interface ChangeProgressDetails {
440
471
  ChangeId?: string;
441
472
  Message?: string;
473
+ ConfigChangeStatus?: ConfigChangeStatus;
474
+ StartTime?: Date;
475
+ LastUpdatedTime?: Date;
476
+ InitiatedBy?: InitiatedBy;
477
+ }
478
+ export declare const DomainProcessingStatusType: {
479
+ readonly ACTIVE: "Active";
480
+ readonly CREATING: "Creating";
481
+ readonly DELETING: "Deleting";
482
+ readonly ISOLATED: "Isolated";
483
+ readonly MODIFYING: "Modifying";
484
+ readonly UPDATING: "UpdatingServiceSoftware";
485
+ readonly UPGRADING: "UpgradingEngineVersion";
486
+ };
487
+ export type DomainProcessingStatusType =
488
+ (typeof DomainProcessingStatusType)[keyof typeof DomainProcessingStatusType];
489
+ export declare const PropertyValueType: {
490
+ readonly PLAIN_TEXT: "PLAIN_TEXT";
491
+ readonly STRINGIFIED_JSON: "STRINGIFIED_JSON";
492
+ };
493
+ export type PropertyValueType =
494
+ (typeof PropertyValueType)[keyof typeof PropertyValueType];
495
+ export interface ModifyingProperties {
496
+ Name?: string;
497
+ ActiveValue?: string;
498
+ PendingValue?: string;
499
+ ValueType?: PropertyValueType;
442
500
  }
443
501
  export interface VPCDerivedInfo {
444
502
  VPCId?: string;
@@ -472,6 +530,8 @@ export interface ElasticsearchDomainStatus {
472
530
  AdvancedSecurityOptions?: AdvancedSecurityOptions;
473
531
  AutoTuneOptions?: AutoTuneOptionsOutput;
474
532
  ChangeProgressDetails?: ChangeProgressDetails;
533
+ DomainProcessingStatus?: DomainProcessingStatusType;
534
+ ModifyingProperties?: ModifyingProperties[];
475
535
  }
476
536
  export interface CreateElasticsearchDomainResponse {
477
537
  DomainStatus?: ElasticsearchDomainStatus;
@@ -688,6 +748,9 @@ export interface ChangeProgressStatusDetails {
688
748
  CompletedProperties?: string[];
689
749
  TotalNumberOfStages?: number;
690
750
  ChangeProgressStages?: ChangeProgressStage[];
751
+ ConfigChangeStatus?: ConfigChangeStatus;
752
+ LastUpdatedTime?: Date;
753
+ InitiatedBy?: InitiatedBy;
691
754
  }
692
755
  export interface DescribeDomainChangeProgressResponse {
693
756
  ChangeProgressStatus?: ChangeProgressStatusDetails;
@@ -780,6 +843,7 @@ export interface ElasticsearchDomainConfig {
780
843
  AdvancedSecurityOptions?: AdvancedSecurityOptionsStatus;
781
844
  AutoTuneOptions?: AutoTuneOptionsStatus;
782
845
  ChangeProgressDetails?: ChangeProgressDetails;
846
+ ModifyingProperties?: ModifyingProperties[];
783
847
  }
784
848
  export interface DescribeElasticsearchDomainConfigResponse {
785
849
  DomainConfig: ElasticsearchDomainConfig | undefined;
@@ -19,6 +19,10 @@ import {
19
19
  AuthorizeVpcEndpointAccessCommandInput,
20
20
  AuthorizeVpcEndpointAccessCommandOutput,
21
21
  } from "../commands/AuthorizeVpcEndpointAccessCommand";
22
+ import {
23
+ CancelDomainConfigChangeCommandInput,
24
+ CancelDomainConfigChangeCommandOutput,
25
+ } from "../commands/CancelDomainConfigChangeCommand";
22
26
  import {
23
27
  CancelElasticsearchServiceSoftwareUpdateCommandInput,
24
28
  CancelElasticsearchServiceSoftwareUpdateCommandOutput,
@@ -219,6 +223,10 @@ export declare const se_AuthorizeVpcEndpointAccessCommand: (
219
223
  input: AuthorizeVpcEndpointAccessCommandInput,
220
224
  context: __SerdeContext
221
225
  ) => Promise<__HttpRequest>;
226
+ export declare const se_CancelDomainConfigChangeCommand: (
227
+ input: CancelDomainConfigChangeCommandInput,
228
+ context: __SerdeContext
229
+ ) => Promise<__HttpRequest>;
222
230
  export declare const se_CancelElasticsearchServiceSoftwareUpdateCommand: (
223
231
  input: CancelElasticsearchServiceSoftwareUpdateCommandInput,
224
232
  context: __SerdeContext
@@ -419,6 +427,10 @@ export declare const de_AuthorizeVpcEndpointAccessCommand: (
419
427
  output: __HttpResponse,
420
428
  context: __SerdeContext
421
429
  ) => Promise<AuthorizeVpcEndpointAccessCommandOutput>;
430
+ export declare const de_CancelDomainConfigChangeCommand: (
431
+ output: __HttpResponse,
432
+ context: __SerdeContext
433
+ ) => Promise<CancelDomainConfigChangeCommandOutput>;
422
434
  export declare const de_CancelElasticsearchServiceSoftwareUpdateCommand: (
423
435
  output: __HttpResponse,
424
436
  context: __SerdeContext
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-elasticsearch-service",
3
3
  "description": "AWS SDK for JavaScript Elasticsearch Service Client for Node.js, Browser and React Native",
4
- "version": "3.507.0",
4
+ "version": "3.508.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-elasticsearch-service",