@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
@@ -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.504.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",
@@ -20,9 +20,9 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.504.0",
23
+ "@aws-sdk/client-sts": "3.507.0",
24
24
  "@aws-sdk/core": "3.496.0",
25
- "@aws-sdk/credential-provider-node": "3.504.0",
25
+ "@aws-sdk/credential-provider-node": "3.507.0",
26
26
  "@aws-sdk/middleware-host-header": "3.502.0",
27
27
  "@aws-sdk/middleware-logger": "3.502.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.502.0",