@aws-sdk/client-opensearch 3.507.0 → 3.509.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 (30) 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/OpenSearch.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/OpenSearch.d.ts +7 -0
  10. package/dist-types/OpenSearchClient.d.ts +3 -2
  11. package/dist-types/commands/CancelDomainConfigChangeCommand.d.ts +84 -0
  12. package/dist-types/commands/CreateDomainCommand.d.ts +13 -0
  13. package/dist-types/commands/DeleteDomainCommand.d.ts +13 -0
  14. package/dist-types/commands/DescribeDomainChangeProgressCommand.d.ts +3 -0
  15. package/dist-types/commands/DescribeDomainCommand.d.ts +13 -0
  16. package/dist-types/commands/DescribeDomainConfigCommand.d.ts +12 -0
  17. package/dist-types/commands/DescribeDomainsCommand.d.ts +13 -0
  18. package/dist-types/commands/DescribeDryRunProgressCommand.d.ts +13 -0
  19. package/dist-types/commands/UpdateDomainConfigCommand.d.ts +12 -0
  20. package/dist-types/commands/UpgradeDomainCommand.d.ts +4 -0
  21. package/dist-types/commands/index.d.ts +1 -0
  22. package/dist-types/models/models_0.d.ts +205 -2
  23. package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
  24. package/dist-types/ts3.4/OpenSearch.d.ts +17 -0
  25. package/dist-types/ts3.4/OpenSearchClient.d.ts +6 -0
  26. package/dist-types/ts3.4/commands/CancelDomainConfigChangeCommand.d.ts +30 -0
  27. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  28. package/dist-types/ts3.4/models/models_0.d.ts +64 -0
  29. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
  30. package/package.json +2 -2
@@ -280,6 +280,20 @@ export interface AuthorizedPrincipal {
280
280
  export interface AuthorizeVpcEndpointAccessResponse {
281
281
  AuthorizedPrincipal: AuthorizedPrincipal | undefined;
282
282
  }
283
+ export interface CancelDomainConfigChangeRequest {
284
+ DomainName: string | undefined;
285
+ DryRun?: boolean;
286
+ }
287
+ export interface CancelledChangeProperty {
288
+ PropertyName?: string;
289
+ CancelledValue?: string;
290
+ ActiveValue?: string;
291
+ }
292
+ export interface CancelDomainConfigChangeResponse {
293
+ CancelledChangeIds?: string[];
294
+ CancelledChangeProperties?: CancelledChangeProperty[];
295
+ DryRun?: boolean;
296
+ }
283
297
  export interface CancelServiceSoftwareUpdateRequest {
284
298
  DomainName: string | undefined;
285
299
  }
@@ -571,9 +585,53 @@ export interface AutoTuneOptionsOutput {
571
585
  ErrorMessage?: string;
572
586
  UseOffPeakWindow?: boolean;
573
587
  }
588
+ export declare const ConfigChangeStatus: {
589
+ readonly APPLYING_CHANGES: "ApplyingChanges";
590
+ readonly CANCELLED: "Cancelled";
591
+ readonly COMPLETED: "Completed";
592
+ readonly INITIALIZING: "Initializing";
593
+ readonly PENDING: "Pending";
594
+ readonly PENDING_USER_INPUT: "PendingUserInput";
595
+ readonly VALIDATING: "Validating";
596
+ readonly VALIDATION_FAILED: "ValidationFailed";
597
+ };
598
+ export type ConfigChangeStatus =
599
+ (typeof ConfigChangeStatus)[keyof typeof ConfigChangeStatus];
600
+ export declare const InitiatedBy: {
601
+ readonly CUSTOMER: "CUSTOMER";
602
+ readonly SERVICE: "SERVICE";
603
+ };
604
+ export type InitiatedBy = (typeof InitiatedBy)[keyof typeof InitiatedBy];
574
605
  export interface ChangeProgressDetails {
575
606
  ChangeId?: string;
576
607
  Message?: string;
608
+ ConfigChangeStatus?: ConfigChangeStatus;
609
+ InitiatedBy?: InitiatedBy;
610
+ StartTime?: Date;
611
+ LastUpdatedTime?: Date;
612
+ }
613
+ export declare const DomainProcessingStatusType: {
614
+ readonly ACTIVE: "Active";
615
+ readonly CREATING: "Creating";
616
+ readonly DELETING: "Deleting";
617
+ readonly ISOLATED: "Isolated";
618
+ readonly MODIFYING: "Modifying";
619
+ readonly UPDATING: "UpdatingServiceSoftware";
620
+ readonly UPGRADING: "UpgradingEngineVersion";
621
+ };
622
+ export type DomainProcessingStatusType =
623
+ (typeof DomainProcessingStatusType)[keyof typeof DomainProcessingStatusType];
624
+ export declare const PropertyValueType: {
625
+ readonly PLAIN_TEXT: "PLAIN_TEXT";
626
+ readonly STRINGIFIED_JSON: "STRINGIFIED_JSON";
627
+ };
628
+ export type PropertyValueType =
629
+ (typeof PropertyValueType)[keyof typeof PropertyValueType];
630
+ export interface ModifyingProperties {
631
+ Name?: string;
632
+ ActiveValue?: string;
633
+ PendingValue?: string;
634
+ ValueType?: PropertyValueType;
577
635
  }
578
636
  export interface VPCDerivedInfo {
579
637
  VPCId?: string;
@@ -611,6 +669,8 @@ export interface DomainStatus {
611
669
  ChangeProgressDetails?: ChangeProgressDetails;
612
670
  OffPeakWindowOptions?: OffPeakWindowOptions;
613
671
  SoftwareUpdateOptions?: SoftwareUpdateOptions;
672
+ DomainProcessingStatus?: DomainProcessingStatusType;
673
+ ModifyingProperties?: ModifyingProperties[];
614
674
  }
615
675
  export interface CreateDomainResponse {
616
676
  DomainStatus?: DomainStatus;
@@ -870,6 +930,9 @@ export interface ChangeProgressStatusDetails {
870
930
  CompletedProperties?: string[];
871
931
  TotalNumberOfStages?: number;
872
932
  ChangeProgressStages?: ChangeProgressStage[];
933
+ LastUpdatedTime?: Date;
934
+ ConfigChangeStatus?: ConfigChangeStatus;
935
+ InitiatedBy?: InitiatedBy;
873
936
  }
874
937
  export interface DescribeDomainChangeProgressResponse {
875
938
  ChangeProgressStatus?: ChangeProgressStatusDetails;
@@ -972,6 +1035,7 @@ export interface DomainConfig {
972
1035
  ChangeProgressDetails?: ChangeProgressDetails;
973
1036
  OffPeakWindowOptions?: OffPeakWindowOptionsStatus;
974
1037
  SoftwareUpdateOptions?: SoftwareUpdateOptionsStatus;
1038
+ ModifyingProperties?: ModifyingProperties[];
975
1039
  }
976
1040
  export interface DescribeDomainConfigResponse {
977
1041
  DomainConfig: DomainConfig | undefined;
@@ -23,6 +23,10 @@ import {
23
23
  AuthorizeVpcEndpointAccessCommandInput,
24
24
  AuthorizeVpcEndpointAccessCommandOutput,
25
25
  } from "../commands/AuthorizeVpcEndpointAccessCommand";
26
+ import {
27
+ CancelDomainConfigChangeCommandInput,
28
+ CancelDomainConfigChangeCommandOutput,
29
+ } from "../commands/CancelDomainConfigChangeCommand";
26
30
  import {
27
31
  CancelServiceSoftwareUpdateCommandInput,
28
32
  CancelServiceSoftwareUpdateCommandOutput,
@@ -271,6 +275,10 @@ export declare const se_AuthorizeVpcEndpointAccessCommand: (
271
275
  input: AuthorizeVpcEndpointAccessCommandInput,
272
276
  context: __SerdeContext
273
277
  ) => Promise<__HttpRequest>;
278
+ export declare const se_CancelDomainConfigChangeCommand: (
279
+ input: CancelDomainConfigChangeCommandInput,
280
+ context: __SerdeContext
281
+ ) => Promise<__HttpRequest>;
274
282
  export declare const se_CancelServiceSoftwareUpdateCommand: (
275
283
  input: CancelServiceSoftwareUpdateCommandInput,
276
284
  context: __SerdeContext
@@ -519,6 +527,10 @@ export declare const de_AuthorizeVpcEndpointAccessCommand: (
519
527
  output: __HttpResponse,
520
528
  context: __SerdeContext
521
529
  ) => Promise<AuthorizeVpcEndpointAccessCommandOutput>;
530
+ export declare const de_CancelDomainConfigChangeCommand: (
531
+ output: __HttpResponse,
532
+ context: __SerdeContext
533
+ ) => Promise<CancelDomainConfigChangeCommandOutput>;
522
534
  export declare const de_CancelServiceSoftwareUpdateCommand: (
523
535
  output: __HttpResponse,
524
536
  context: __SerdeContext
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-opensearch",
3
3
  "description": "AWS SDK for JavaScript Opensearch Client for Node.js, Browser and React Native",
4
- "version": "3.507.0",
4
+ "version": "3.509.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-opensearch",
@@ -22,7 +22,7 @@
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
23
  "@aws-sdk/client-sts": "3.507.0",
24
24
  "@aws-sdk/core": "3.496.0",
25
- "@aws-sdk/credential-provider-node": "3.507.0",
25
+ "@aws-sdk/credential-provider-node": "3.509.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",