@aws-sdk/client-opensearch 3.325.0 → 3.327.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 (80) hide show
  1. package/README.md +16 -0
  2. package/dist-cjs/OpenSearch.js +4 -0
  3. package/dist-cjs/commands/DescribeDomainHealthCommand.js +45 -0
  4. package/dist-cjs/commands/DescribeDomainNodesCommand.js +45 -0
  5. package/dist-cjs/commands/index.js +2 -0
  6. package/dist-cjs/models/models_0.js +45 -2
  7. package/dist-cjs/protocols/Aws_restJson1.js +161 -3
  8. package/dist-es/OpenSearch.js +4 -0
  9. package/dist-es/commands/DescribeDomainHealthCommand.js +41 -0
  10. package/dist-es/commands/DescribeDomainNodesCommand.js +41 -0
  11. package/dist-es/commands/index.js +2 -0
  12. package/dist-es/models/models_0.js +42 -0
  13. package/dist-es/protocols/Aws_restJson1.js +155 -1
  14. package/dist-types/OpenSearch.d.ts +14 -0
  15. package/dist-types/OpenSearchClient.d.ts +4 -2
  16. package/dist-types/commands/AcceptInboundConnectionCommand.d.ts +29 -2
  17. package/dist-types/commands/AddTagsCommand.d.ts +4 -0
  18. package/dist-types/commands/AssociatePackageCommand.d.ts +20 -1
  19. package/dist-types/commands/AuthorizeVpcEndpointAccessCommand.d.ts +11 -2
  20. package/dist-types/commands/CancelServiceSoftwareUpdateCommand.d.ts +16 -1
  21. package/dist-types/commands/CreateDomainCommand.d.ts +138 -1
  22. package/dist-types/commands/CreateOutboundConnectionCommand.d.ts +30 -1
  23. package/dist-types/commands/CreatePackageCommand.d.ts +19 -0
  24. package/dist-types/commands/CreateVpcEndpointCommand.d.ts +25 -1
  25. package/dist-types/commands/DeleteDomainCommand.d.ts +137 -1
  26. package/dist-types/commands/DeleteInboundConnectionCommand.d.ts +29 -2
  27. package/dist-types/commands/DeleteOutboundConnectionCommand.d.ts +33 -2
  28. package/dist-types/commands/DeletePackageCommand.d.ts +20 -1
  29. package/dist-types/commands/DeleteVpcEndpointCommand.d.ts +13 -2
  30. package/dist-types/commands/DescribeDomainAutoTunesCommand.d.ts +20 -1
  31. package/dist-types/commands/DescribeDomainChangeProgressCommand.d.ts +26 -1
  32. package/dist-types/commands/DescribeDomainCommand.d.ts +137 -1
  33. package/dist-types/commands/DescribeDomainConfigCommand.d.ts +211 -1
  34. package/dist-types/commands/DescribeDomainHealthCommand.d.ts +109 -0
  35. package/dist-types/commands/DescribeDomainNodesCommand.d.ts +99 -0
  36. package/dist-types/commands/DescribeDomainsCommand.d.ts +138 -0
  37. package/dist-types/commands/DescribeDryRunProgressCommand.d.ts +154 -2
  38. package/dist-types/commands/DescribeInboundConnectionsCommand.d.ts +32 -2
  39. package/dist-types/commands/DescribeInstanceTypeLimitsCommand.d.ts +38 -1
  40. package/dist-types/commands/DescribeOutboundConnectionsCommand.d.ts +36 -2
  41. package/dist-types/commands/DescribePackagesCommand.d.ts +23 -1
  42. package/dist-types/commands/DescribeReservedInstanceOfferingsCommand.d.ts +25 -2
  43. package/dist-types/commands/DescribeReservedInstancesCommand.d.ts +31 -2
  44. package/dist-types/commands/DescribeVpcEndpointsCommand.d.ts +34 -1
  45. package/dist-types/commands/DissociatePackageCommand.d.ts +20 -1
  46. package/dist-types/commands/GetCompatibleVersionsCommand.d.ts +15 -2
  47. package/dist-types/commands/GetPackageVersionHistoryCommand.d.ts +17 -3
  48. package/dist-types/commands/GetUpgradeHistoryCommand.d.ts +25 -2
  49. package/dist-types/commands/GetUpgradeStatusCommand.d.ts +10 -2
  50. package/dist-types/commands/ListDomainNamesCommand.d.ts +11 -0
  51. package/dist-types/commands/ListDomainsForPackageCommand.d.ts +23 -1
  52. package/dist-types/commands/ListInstanceTypeDetailsCommand.d.ts +25 -1
  53. package/dist-types/commands/ListPackagesForDomainCommand.d.ts +23 -1
  54. package/dist-types/commands/ListScheduledActionsCommand.d.ts +21 -2
  55. package/dist-types/commands/ListTagsCommand.d.ts +12 -1
  56. package/dist-types/commands/ListVersionsCommand.d.ts +10 -1
  57. package/dist-types/commands/ListVpcEndpointAccessCommand.d.ts +14 -2
  58. package/dist-types/commands/ListVpcEndpointsCommand.d.ts +15 -1
  59. package/dist-types/commands/ListVpcEndpointsForDomainCommand.d.ts +16 -2
  60. package/dist-types/commands/PurchaseReservedInstanceOfferingCommand.d.ts +9 -2
  61. package/dist-types/commands/RejectInboundConnectionCommand.d.ts +29 -2
  62. package/dist-types/commands/RemoveTagsCommand.d.ts +4 -0
  63. package/dist-types/commands/RevokeVpcEndpointAccessCommand.d.ts +6 -2
  64. package/dist-types/commands/StartServiceSoftwareUpdateCommand.d.ts +16 -1
  65. package/dist-types/commands/UpdateDomainConfigCommand.d.ts +230 -2
  66. package/dist-types/commands/UpdatePackageCommand.d.ts +20 -1
  67. package/dist-types/commands/UpdateScheduledActionCommand.d.ts +17 -1
  68. package/dist-types/commands/UpdateVpcEndpointCommand.d.ts +26 -2
  69. package/dist-types/commands/UpgradeDomainCommand.d.ts +18 -2
  70. package/dist-types/commands/index.d.ts +2 -0
  71. package/dist-types/models/models_0.d.ts +345 -23
  72. package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
  73. package/dist-types/ts3.4/OpenSearch.d.ts +34 -0
  74. package/dist-types/ts3.4/OpenSearchClient.d.ts +12 -0
  75. package/dist-types/ts3.4/commands/DescribeDomainHealthCommand.d.ts +41 -0
  76. package/dist-types/ts3.4/commands/DescribeDomainNodesCommand.d.ts +38 -0
  77. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  78. package/dist-types/ts3.4/models/models_0.d.ts +93 -0
  79. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
  80. package/package.json +7 -7
@@ -37,6 +37,20 @@ export interface UpgradeDomainCommandOutput extends UpgradeDomainResponse, __Met
37
37
  * };
38
38
  * const command = new UpgradeDomainCommand(input);
39
39
  * const response = await client.send(command);
40
+ * // { // UpgradeDomainResponse
41
+ * // UpgradeId: "STRING_VALUE",
42
+ * // DomainName: "STRING_VALUE",
43
+ * // TargetVersion: "STRING_VALUE",
44
+ * // PerformCheckOnly: true || false,
45
+ * // AdvancedOptions: { // AdvancedOptions
46
+ * // "<keys>": "STRING_VALUE",
47
+ * // },
48
+ * // ChangeProgressDetails: { // ChangeProgressDetails
49
+ * // ChangeId: "STRING_VALUE",
50
+ * // Message: "STRING_VALUE",
51
+ * // },
52
+ * // };
53
+ *
40
54
  * ```
41
55
  *
42
56
  * @param UpgradeDomainCommandInput - {@link UpgradeDomainCommandInput}
@@ -49,7 +63,7 @@ export interface UpgradeDomainCommandOutput extends UpgradeDomainResponse, __Met
49
63
  * <p>An error occurred while processing the request.</p>
50
64
  *
51
65
  * @throws {@link DisabledOperationException} (client fault)
52
- * <p>An error occured because the client wanted to access a not supported operation.</p>
66
+ * <p>An error occured because the client wanted to access an unsupported operation.</p>
53
67
  *
54
68
  * @throws {@link InternalException} (server fault)
55
69
  * <p>Request processing failed because of an unknown error, exception, or internal failure.</p>
@@ -58,11 +72,13 @@ export interface UpgradeDomainCommandOutput extends UpgradeDomainResponse, __Met
58
72
  * <p>An exception for creating a resource that already exists.</p>
59
73
  *
60
74
  * @throws {@link ResourceNotFoundException} (client fault)
61
- * <p>An exception for accessing or deleting a resource that does not exist..</p>
75
+ * <p>An exception for accessing or deleting a resource that doesn't exist.</p>
62
76
  *
63
77
  * @throws {@link ValidationException} (client fault)
64
78
  * <p>An exception for accessing or deleting a resource that doesn't exist.</p>
65
79
  *
80
+ * @throws {@link OpenSearchServiceException}
81
+ * <p>Base exception class for all service exceptions from OpenSearch service.</p>
66
82
  *
67
83
  */
68
84
  export declare class UpgradeDomainCommand extends $Command<UpgradeDomainCommandInput, UpgradeDomainCommandOutput, OpenSearchClientResolvedConfig> {
@@ -16,6 +16,8 @@ export * from "./DescribeDomainAutoTunesCommand";
16
16
  export * from "./DescribeDomainChangeProgressCommand";
17
17
  export * from "./DescribeDomainCommand";
18
18
  export * from "./DescribeDomainConfigCommand";
19
+ export * from "./DescribeDomainHealthCommand";
20
+ export * from "./DescribeDomainNodesCommand";
19
21
  export * from "./DescribeDomainsCommand";
20
22
  export * from "./DescribeDryRunProgressCommand";
21
23
  export * from "./DescribeInboundConnectionsCommand";
@@ -163,7 +163,7 @@ export interface AcceptInboundConnectionResponse {
163
163
  }
164
164
  /**
165
165
  * @public
166
- * <p>An error occured because the client wanted to access a not supported operation.</p>
166
+ * <p>An error occured because the client wanted to access an unsupported operation.</p>
167
167
  */
168
168
  export declare class DisabledOperationException extends __BaseException {
169
169
  readonly name: "DisabledOperationException";
@@ -187,7 +187,7 @@ export declare class LimitExceededException extends __BaseException {
187
187
  }
188
188
  /**
189
189
  * @public
190
- * <p>An exception for accessing or deleting a resource that does not exist..</p>
190
+ * <p>An exception for accessing or deleting a resource that doesn't exist.</p>
191
191
  */
192
192
  export declare class ResourceNotFoundException extends __BaseException {
193
193
  readonly name: "ResourceNotFoundException";
@@ -708,8 +708,8 @@ export interface DomainPackageDetails {
708
708
  */
709
709
  PackageVersion?: string;
710
710
  /**
711
- * <p>Denotes the location of the package on the OpenSearch Service cluster nodes. It's the same
712
- * as <code>synonym_path</code> for dictionary files.</p>
711
+ * <p>The relative path of the package on the OpenSearch Service cluster nodes. This is <code>synonym_path</code>
712
+ * when the package is for synonym files.</p>
713
713
  */
714
714
  ReferencePath?: string;
715
715
  /**
@@ -1131,7 +1131,7 @@ export interface ClusterConfig {
1131
1131
  */
1132
1132
  DedicatedMasterType?: OpenSearchPartitionInstanceType | string;
1133
1133
  /**
1134
- * <p>Number of dedicated master nodes in the cluster. This number must be greater than 1,
1134
+ * <p>Number of dedicated master nodes in the cluster. This number must be greater than 2 and not 4,
1135
1135
  * otherwise you receive a validation exception.</p>
1136
1136
  */
1137
1137
  DedicatedMasterCount?: number;
@@ -1151,6 +1151,10 @@ export interface ClusterConfig {
1151
1151
  * <p>Container for cold storage configuration options.</p>
1152
1152
  */
1153
1153
  ColdStorageOptions?: ColdStorageOptions;
1154
+ /**
1155
+ * <p>A boolean that indicates whether a multi-AZ domain is turned on with a standby AZ. For more information, see <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/managedomains-multiaz.html">Configuring a multi-AZ domain in Amazon OpenSearch Service</a>. </p>
1156
+ */
1157
+ MultiAZWithStandbyEnabled?: boolean;
1154
1158
  }
1155
1159
  /**
1156
1160
  * @public
@@ -1376,8 +1380,9 @@ export interface OffPeakWindow {
1376
1380
  export interface OffPeakWindowOptions {
1377
1381
  /**
1378
1382
  * <p>Whether to enable an off-peak window.</p>
1379
- * <p>This option is only available when modifying a domain created prior to February 13, 2023, not when creating a new domain.
1380
- * All domains created after this date have the off-peak window enabled by default. You can't disable the off-peak window after it's enabled for a domain.</p>
1383
+ * <p>This option is only available when modifying a domain created prior to February 16, 2023,
1384
+ * not when creating a new domain. All domains created after this date have the off-peak window
1385
+ * enabled by default. You can't disable the off-peak window after it's enabled for a domain.</p>
1381
1386
  */
1382
1387
  Enabled?: boolean;
1383
1388
  /**
@@ -1517,7 +1522,7 @@ export interface CreateDomainRequest {
1517
1522
  */
1518
1523
  AdvancedOptions?: Record<string, string>;
1519
1524
  /**
1520
- * <p>Key-value pairs to configure slow log publishing.</p>
1525
+ * <p>Key-value pairs to configure log publishing.</p>
1521
1526
  */
1522
1527
  LogPublishingOptions?: Record<string, LogPublishingOption>;
1523
1528
  /**
@@ -1966,7 +1971,7 @@ export interface CreatePackageRequest {
1966
1971
  */
1967
1972
  PackageName: string | undefined;
1968
1973
  /**
1969
- * <p>Type of package.</p>
1974
+ * <p>The type of package.</p>
1970
1975
  */
1971
1976
  PackageType: PackageType | string | undefined;
1972
1977
  /**
@@ -2006,7 +2011,7 @@ export interface PackageDetails {
2006
2011
  */
2007
2012
  PackageID?: string;
2008
2013
  /**
2009
- * <p>User-specified name of the package.</p>
2014
+ * <p>The user-specified name of the package.</p>
2010
2015
  */
2011
2016
  PackageName?: string;
2012
2017
  /**
@@ -2018,7 +2023,7 @@ export interface PackageDetails {
2018
2023
  */
2019
2024
  PackageDescription?: string;
2020
2025
  /**
2021
- * <p>Current status of the package.</p>
2026
+ * <p>The current status of the package. The available options are <code>AVAILABLE</code>, <code>COPYING</code>, <code>COPY_FAILED</code>, <code>VALIDATNG</code>, <code>VALIDATION_FAILED</code>, <code>DELETING</code>, and <code>DELETE_FAILED</code>.</p>
2022
2027
  */
2023
2028
  PackageStatus?: PackageStatus | string;
2024
2029
  /**
@@ -2836,7 +2841,7 @@ export interface DomainConfig {
2836
2841
  */
2837
2842
  AdvancedOptions?: AdvancedOptionsStatus;
2838
2843
  /**
2839
- * <p>Key-value pairs to configure slow log publishing.</p>
2844
+ * <p>Key-value pairs to configure log publishing.</p>
2840
2845
  */
2841
2846
  LogPublishingOptions?: LogPublishingOptionsStatus;
2842
2847
  /**
@@ -2875,6 +2880,318 @@ export interface DescribeDomainConfigResponse {
2875
2880
  */
2876
2881
  DomainConfig: DomainConfig | undefined;
2877
2882
  }
2883
+ /**
2884
+ * @public
2885
+ * <p>Container for the parameters to the <code>DescribeDomainHealth</code> operation.</p>
2886
+ */
2887
+ export interface DescribeDomainHealthRequest {
2888
+ /**
2889
+ * <p>The name of the domain.</p>
2890
+ */
2891
+ DomainName: string | undefined;
2892
+ }
2893
+ /**
2894
+ * @public
2895
+ * @enum
2896
+ */
2897
+ export declare const DomainHealth: {
2898
+ readonly Green: "Green";
2899
+ readonly NotAvailable: "NotAvailable";
2900
+ readonly Red: "Red";
2901
+ readonly Yellow: "Yellow";
2902
+ };
2903
+ /**
2904
+ * @public
2905
+ */
2906
+ export type DomainHealth = (typeof DomainHealth)[keyof typeof DomainHealth];
2907
+ /**
2908
+ * @public
2909
+ * @enum
2910
+ */
2911
+ export declare const DomainState: {
2912
+ readonly Active: "Active";
2913
+ readonly NotAvailable: "NotAvailable";
2914
+ readonly Processing: "Processing";
2915
+ };
2916
+ /**
2917
+ * @public
2918
+ */
2919
+ export type DomainState = (typeof DomainState)[keyof typeof DomainState];
2920
+ /**
2921
+ * @public
2922
+ * @enum
2923
+ */
2924
+ export declare const ZoneStatus: {
2925
+ readonly Active: "Active";
2926
+ readonly NotAvailable: "NotAvailable";
2927
+ readonly StandBy: "StandBy";
2928
+ };
2929
+ /**
2930
+ * @public
2931
+ */
2932
+ export type ZoneStatus = (typeof ZoneStatus)[keyof typeof ZoneStatus];
2933
+ /**
2934
+ * @public
2935
+ * <p>Information about an Availability Zone on a domain.</p>
2936
+ */
2937
+ export interface AvailabilityZoneInfo {
2938
+ /**
2939
+ * <p>The name of the Availability Zone.</p>
2940
+ */
2941
+ AvailabilityZoneName?: string;
2942
+ /**
2943
+ * <p>The current state of the Availability Zone. Current options are <code>Active</code> and <code>StandBy</code>.</p>
2944
+ * <ul>
2945
+ * <li>
2946
+ * <p>
2947
+ * <code>Active</code> - Data nodes in the Availability Zone are in use.</p>
2948
+ * </li>
2949
+ * <li>
2950
+ * <p>
2951
+ * <code>StandBy</code> - Data nodes in the Availability Zone are in a standby state.</p>
2952
+ * </li>
2953
+ * <li>
2954
+ * <p>
2955
+ * <code>NotAvailable</code> - Unable to retrieve information.</p>
2956
+ * </li>
2957
+ * </ul>
2958
+ */
2959
+ ZoneStatus?: ZoneStatus | string;
2960
+ /**
2961
+ * <p>The total number of data nodes configured in the Availability Zone.</p>
2962
+ */
2963
+ ConfiguredDataNodeCount?: string;
2964
+ /**
2965
+ * <p>The number of data nodes active in the Availability Zone.</p>
2966
+ */
2967
+ AvailableDataNodeCount?: string;
2968
+ /**
2969
+ * <p>The total number of primary and replica shards in the Availability Zone.</p>
2970
+ */
2971
+ TotalShards?: string;
2972
+ /**
2973
+ * <p>The total number of primary and replica shards that aren't allocated to any of the nodes in the Availability Zone.</p>
2974
+ */
2975
+ TotalUnAssignedShards?: string;
2976
+ }
2977
+ /**
2978
+ * @public
2979
+ * <p>Information about the active domain environment.</p>
2980
+ */
2981
+ export interface EnvironmentInfo {
2982
+ /**
2983
+ * <p> A list of <code>AvailabilityZoneInfo</code> for the domain.</p>
2984
+ */
2985
+ AvailabilityZoneInformation?: AvailabilityZoneInfo[];
2986
+ }
2987
+ /**
2988
+ * @public
2989
+ * @enum
2990
+ */
2991
+ export declare const MasterNodeStatus: {
2992
+ readonly Available: "Available";
2993
+ readonly UnAvailable: "UnAvailable";
2994
+ };
2995
+ /**
2996
+ * @public
2997
+ */
2998
+ export type MasterNodeStatus = (typeof MasterNodeStatus)[keyof typeof MasterNodeStatus];
2999
+ /**
3000
+ * @public
3001
+ * <p>The result of a <code>DescribeDomainHealth</code> request. Contains health information for the requested domain.</p>
3002
+ */
3003
+ export interface DescribeDomainHealthResponse {
3004
+ /**
3005
+ * <p>The current state of the domain.</p>
3006
+ * <ul>
3007
+ * <li>
3008
+ * <p>
3009
+ * <code>Processing</code> - The domain has updates in progress.</p>
3010
+ * </li>
3011
+ * <li>
3012
+ * <p>
3013
+ * <code>Active</code> - Requested changes have been processed and deployed to the domain.</p>
3014
+ * </li>
3015
+ * </ul>
3016
+ */
3017
+ DomainState?: DomainState | string;
3018
+ /**
3019
+ * <p>The number of Availability Zones configured for the domain. If the service is unable to fetch this information, it will return <code>NotAvailable</code>.</p>
3020
+ */
3021
+ AvailabilityZoneCount?: string;
3022
+ /**
3023
+ * <p>The number of active Availability Zones configured for the domain. If the service is unable to fetch this information, it will return <code>NotAvailable</code>.</p>
3024
+ */
3025
+ ActiveAvailabilityZoneCount?: string;
3026
+ /**
3027
+ * <p>The number of standby Availability Zones configured for the domain. If the service is unable to fetch this information, it will return <code>NotAvailable</code>.</p>
3028
+ */
3029
+ StandByAvailabilityZoneCount?: string;
3030
+ /**
3031
+ * <p>The number of data nodes configured for the domain. If the service is unable to fetch this information, it will return <code>NotAvailable</code>.</p>
3032
+ */
3033
+ DataNodeCount?: string;
3034
+ /**
3035
+ * <p>A boolean that indicates if dedicated master nodes are activated for the domain.</p>
3036
+ */
3037
+ DedicatedMaster?: boolean;
3038
+ /**
3039
+ * <p>The number of nodes that can be elected as a master node. If dedicated master nodes is turned on, this value is the number of dedicated master nodes configured for the domain.
3040
+ * If the service is unable to fetch this information, it will return <code>NotAvailable</code>.</p>
3041
+ */
3042
+ MasterEligibleNodeCount?: string;
3043
+ /**
3044
+ * <p>The number of warm nodes configured for the domain.</p>
3045
+ */
3046
+ WarmNodeCount?: string;
3047
+ /**
3048
+ * <p>Indicates whether the domain has an elected master node.</p>
3049
+ * <ul>
3050
+ * <li>
3051
+ * <p>
3052
+ * <b>Available</b> - The domain has an elected master node.</p>
3053
+ * </li>
3054
+ * <li>
3055
+ * <p>
3056
+ * <b>UnAvailable</b> - The master node hasn't yet been elected, and a quorum to elect a new master node hasn't been reached.</p>
3057
+ * </li>
3058
+ * </ul>
3059
+ */
3060
+ MasterNode?: MasterNodeStatus | string;
3061
+ /**
3062
+ * <p>The current health status of your cluster.</p>
3063
+ * <ul>
3064
+ * <li>
3065
+ * <p>
3066
+ * <code>Red</code> - At least one primary shard is not allocated to any node.</p>
3067
+ * </li>
3068
+ * <li>
3069
+ * <p>
3070
+ * <code>Yellow</code> - All primary shards are allocated to nodes, but some replicas aren’t.</p>
3071
+ * </li>
3072
+ * <li>
3073
+ * <p>
3074
+ * <code>Green</code> - All primary shards and their replicas are allocated to nodes.</p>
3075
+ * </li>
3076
+ * <li>
3077
+ * <p>
3078
+ * <code>NotAvailable</code> - Unable to retrieve cluster health.</p>
3079
+ * </li>
3080
+ * </ul>
3081
+ */
3082
+ ClusterHealth?: DomainHealth | string;
3083
+ /**
3084
+ * <p>The total number of primary and replica shards for the domain.</p>
3085
+ */
3086
+ TotalShards?: string;
3087
+ /**
3088
+ * <p>The total number of primary and replica shards not allocated to any of the nodes for the cluster.</p>
3089
+ */
3090
+ TotalUnAssignedShards?: string;
3091
+ /**
3092
+ * <p>A list of <code>EnvironmentInfo</code> for the domain. </p>
3093
+ */
3094
+ EnvironmentInformation?: EnvironmentInfo[];
3095
+ }
3096
+ /**
3097
+ * @public
3098
+ * <p>An exception for when a failure in one of the dependencies results in the service being unable to fetch details about the resource.</p>
3099
+ */
3100
+ export declare class DependencyFailureException extends __BaseException {
3101
+ readonly name: "DependencyFailureException";
3102
+ readonly $fault: "client";
3103
+ /**
3104
+ * @internal
3105
+ */
3106
+ constructor(opts: __ExceptionOptionType<DependencyFailureException, __BaseException>);
3107
+ }
3108
+ /**
3109
+ * @public
3110
+ * <p>Container for the parameters to the <code>DescribeDomainNodes</code>
3111
+ * operation.</p>
3112
+ */
3113
+ export interface DescribeDomainNodesRequest {
3114
+ /**
3115
+ * <p>The name of the domain.</p>
3116
+ */
3117
+ DomainName: string | undefined;
3118
+ }
3119
+ /**
3120
+ * @public
3121
+ * @enum
3122
+ */
3123
+ export declare const NodeStatus: {
3124
+ readonly Active: "Active";
3125
+ readonly NotAvailable: "NotAvailable";
3126
+ readonly StandBy: "StandBy";
3127
+ };
3128
+ /**
3129
+ * @public
3130
+ */
3131
+ export type NodeStatus = (typeof NodeStatus)[keyof typeof NodeStatus];
3132
+ /**
3133
+ * @public
3134
+ * @enum
3135
+ */
3136
+ export declare const NodeType: {
3137
+ readonly Data: "Data";
3138
+ readonly Master: "Master";
3139
+ readonly Ultrawarm: "Ultrawarm";
3140
+ };
3141
+ /**
3142
+ * @public
3143
+ */
3144
+ export type NodeType = (typeof NodeType)[keyof typeof NodeType];
3145
+ /**
3146
+ * @public
3147
+ * <p>Container for information about nodes on the domain.</p>
3148
+ */
3149
+ export interface DomainNodesStatus {
3150
+ /**
3151
+ * <p>The ID of the node.</p>
3152
+ */
3153
+ NodeId?: string;
3154
+ /**
3155
+ * <p>Indicates whether the nodes is a data, master, or ultrawarm node.</p>
3156
+ */
3157
+ NodeType?: NodeType | string;
3158
+ /**
3159
+ * <p>The Availability Zone of the node.</p>
3160
+ */
3161
+ AvailabilityZone?: string;
3162
+ /**
3163
+ * <p>The instance type information of the node.</p>
3164
+ */
3165
+ InstanceType?: OpenSearchPartitionInstanceType | string;
3166
+ /**
3167
+ * <p>Indicates if the node is active or in standby.</p>
3168
+ */
3169
+ NodeStatus?: NodeStatus | string;
3170
+ /**
3171
+ * <p>Indicates if the node has EBS or instance storage. </p>
3172
+ */
3173
+ StorageType?: string;
3174
+ /**
3175
+ * <p>If the nodes has EBS storage, indicates if the volume type is GP2 or GP3. Only applicable
3176
+ * for data nodes. </p>
3177
+ */
3178
+ StorageVolumeType?: VolumeType | string;
3179
+ /**
3180
+ * <p>The storage size of the node, in GiB.</p>
3181
+ */
3182
+ StorageSize?: string;
3183
+ }
3184
+ /**
3185
+ * @public
3186
+ * <p>The result of a <code>DescribeDomainNodes</code> request. Contains information about the nodes on the requested domain. </p>
3187
+ */
3188
+ export interface DescribeDomainNodesResponse {
3189
+ /**
3190
+ * <p>Contains nodes information list <code>DomainNodesStatusList</code> with
3191
+ * details about the all nodes on the requested domain.</p>
3192
+ */
3193
+ DomainNodesStatusList?: DomainNodesStatus[];
3194
+ }
2878
3195
  /**
2879
3196
  * @public
2880
3197
  * <p>Container for the parameters to the <code>DescribeDomains</code> operation.</p>
@@ -3065,7 +3382,7 @@ export interface DescribeInboundConnectionsResponse {
3065
3382
  }
3066
3383
  /**
3067
3384
  * @public
3068
- * <p>The request processing has failed because you provided an invalid pagination token.</p>
3385
+ * <p>Request processing failed because you provided an invalid pagination token.</p>
3069
3386
  */
3070
3387
  export declare class InvalidPaginationTokenException extends __BaseException {
3071
3388
  readonly name: "InvalidPaginationTokenException";
@@ -3277,7 +3594,7 @@ export interface DescribePackagesFilter {
3277
3594
  */
3278
3595
  Name?: DescribePackagesFilterName | string;
3279
3596
  /**
3280
- * <p>A list of values for the specified filter field.</p>
3597
+ * <p>A non-empty list of values for the specified filter field.</p>
3281
3598
  */
3282
3599
  Value?: string[];
3283
3600
  }
@@ -3975,12 +4292,12 @@ export interface ListDomainsForPackageResponse {
3975
4292
  */
3976
4293
  export interface ListInstanceTypeDetailsRequest {
3977
4294
  /**
3978
- * <p>Version of OpenSearch or Elasticsearch, in the format Elasticsearch_X.Y or OpenSearch_X.Y.
4295
+ * <p>The version of OpenSearch or Elasticsearch, in the format Elasticsearch_X.Y or OpenSearch_X.Y.
3979
4296
  * Defaults to the latest version of OpenSearch.</p>
3980
4297
  */
3981
4298
  EngineVersion: string | undefined;
3982
4299
  /**
3983
- * <p>Name of the domain to list instance type details for.</p>
4300
+ * <p>The name of the domain.</p>
3984
4301
  */
3985
4302
  DomainName?: string;
3986
4303
  /**
@@ -3994,6 +4311,14 @@ export interface ListInstanceTypeDetailsRequest {
3994
4311
  * <code>ListInstanceTypeDetails</code> operations, which returns results in the next page.</p>
3995
4312
  */
3996
4313
  NextToken?: string;
4314
+ /**
4315
+ * <p>An optional parameter that specifies the Availability Zones for the domain.</p>
4316
+ */
4317
+ RetrieveAZs?: boolean;
4318
+ /**
4319
+ * <p>An optional parameter that lists information for a given instance type.</p>
4320
+ */
4321
+ InstanceType?: string;
3997
4322
  }
3998
4323
  /**
3999
4324
  * @public
@@ -4031,6 +4356,10 @@ export interface InstanceTypeDetails {
4031
4356
  * node.</p>
4032
4357
  */
4033
4358
  InstanceRole?: string[];
4359
+ /**
4360
+ * <p>The supported Availability Zones for the instance type.</p>
4361
+ */
4362
+ AvailabilityZones?: string[];
4034
4363
  }
4035
4364
  /**
4036
4365
  * @public
@@ -4539,13 +4868,6 @@ export interface UpdateDomainConfigRequest {
4539
4868
  * query. Default is 1,024. Queries with more than the permitted number of clauses result in a
4540
4869
  * <code>TooManyClauses</code> error.</p>
4541
4870
  * </li>
4542
- * <li>
4543
- * <p>
4544
- * <code>"override_main_response_version": "true" | "false"</code> - Note the use of a string
4545
- * rather than a boolean. Specifies whether the domain reports its version as 7.10 to allow
4546
- * Elasticsearch OSS clients and plugins to continue working with it. Default is false when
4547
- * creating a domain and true when upgrading a domain.</p>
4548
- * </li>
4549
4871
  * </ul>
4550
4872
  * <p>For more information, see <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/createupdatedomains.html#createdomain-configure-advanced-options">Advanced cluster parameters</a>.</p>
4551
4873
  */
@@ -18,6 +18,8 @@ import { DescribeDomainAutoTunesCommandInput, DescribeDomainAutoTunesCommandOutp
18
18
  import { DescribeDomainChangeProgressCommandInput, DescribeDomainChangeProgressCommandOutput } from "../commands/DescribeDomainChangeProgressCommand";
19
19
  import { DescribeDomainCommandInput, DescribeDomainCommandOutput } from "../commands/DescribeDomainCommand";
20
20
  import { DescribeDomainConfigCommandInput, DescribeDomainConfigCommandOutput } from "../commands/DescribeDomainConfigCommand";
21
+ import { DescribeDomainHealthCommandInput, DescribeDomainHealthCommandOutput } from "../commands/DescribeDomainHealthCommand";
22
+ import { DescribeDomainNodesCommandInput, DescribeDomainNodesCommandOutput } from "../commands/DescribeDomainNodesCommand";
21
23
  import { DescribeDomainsCommandInput, DescribeDomainsCommandOutput } from "../commands/DescribeDomainsCommand";
22
24
  import { DescribeDryRunProgressCommandInput, DescribeDryRunProgressCommandOutput } from "../commands/DescribeDryRunProgressCommand";
23
25
  import { DescribeInboundConnectionsCommandInput, DescribeInboundConnectionsCommandOutput } from "../commands/DescribeInboundConnectionsCommand";
@@ -124,6 +126,14 @@ export declare const se_DescribeDomainChangeProgressCommand: (input: DescribeDom
124
126
  * serializeAws_restJson1DescribeDomainConfigCommand
125
127
  */
126
128
  export declare const se_DescribeDomainConfigCommand: (input: DescribeDomainConfigCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
129
+ /**
130
+ * serializeAws_restJson1DescribeDomainHealthCommand
131
+ */
132
+ export declare const se_DescribeDomainHealthCommand: (input: DescribeDomainHealthCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
133
+ /**
134
+ * serializeAws_restJson1DescribeDomainNodesCommand
135
+ */
136
+ export declare const se_DescribeDomainNodesCommand: (input: DescribeDomainNodesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
127
137
  /**
128
138
  * serializeAws_restJson1DescribeDomainsCommand
129
139
  */
@@ -332,6 +342,14 @@ export declare const de_DescribeDomainChangeProgressCommand: (output: __HttpResp
332
342
  * deserializeAws_restJson1DescribeDomainConfigCommand
333
343
  */
334
344
  export declare const de_DescribeDomainConfigCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeDomainConfigCommandOutput>;
345
+ /**
346
+ * deserializeAws_restJson1DescribeDomainHealthCommand
347
+ */
348
+ export declare const de_DescribeDomainHealthCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeDomainHealthCommandOutput>;
349
+ /**
350
+ * deserializeAws_restJson1DescribeDomainNodesCommand
351
+ */
352
+ export declare const de_DescribeDomainNodesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeDomainNodesCommandOutput>;
335
353
  /**
336
354
  * deserializeAws_restJson1DescribeDomainsCommand
337
355
  */
@@ -71,6 +71,14 @@ import {
71
71
  DescribeDomainConfigCommandInput,
72
72
  DescribeDomainConfigCommandOutput,
73
73
  } from "./commands/DescribeDomainConfigCommand";
74
+ import {
75
+ DescribeDomainHealthCommandInput,
76
+ DescribeDomainHealthCommandOutput,
77
+ } from "./commands/DescribeDomainHealthCommand";
78
+ import {
79
+ DescribeDomainNodesCommandInput,
80
+ DescribeDomainNodesCommandOutput,
81
+ } from "./commands/DescribeDomainNodesCommand";
74
82
  import {
75
83
  DescribeDomainsCommandInput,
76
84
  DescribeDomainsCommandOutput,
@@ -443,6 +451,32 @@ export interface OpenSearch {
443
451
  options: __HttpHandlerOptions,
444
452
  cb: (err: any, data?: DescribeDomainConfigCommandOutput) => void
445
453
  ): void;
454
+ describeDomainHealth(
455
+ args: DescribeDomainHealthCommandInput,
456
+ options?: __HttpHandlerOptions
457
+ ): Promise<DescribeDomainHealthCommandOutput>;
458
+ describeDomainHealth(
459
+ args: DescribeDomainHealthCommandInput,
460
+ cb: (err: any, data?: DescribeDomainHealthCommandOutput) => void
461
+ ): void;
462
+ describeDomainHealth(
463
+ args: DescribeDomainHealthCommandInput,
464
+ options: __HttpHandlerOptions,
465
+ cb: (err: any, data?: DescribeDomainHealthCommandOutput) => void
466
+ ): void;
467
+ describeDomainNodes(
468
+ args: DescribeDomainNodesCommandInput,
469
+ options?: __HttpHandlerOptions
470
+ ): Promise<DescribeDomainNodesCommandOutput>;
471
+ describeDomainNodes(
472
+ args: DescribeDomainNodesCommandInput,
473
+ cb: (err: any, data?: DescribeDomainNodesCommandOutput) => void
474
+ ): void;
475
+ describeDomainNodes(
476
+ args: DescribeDomainNodesCommandInput,
477
+ options: __HttpHandlerOptions,
478
+ cb: (err: any, data?: DescribeDomainNodesCommandOutput) => void
479
+ ): void;
446
480
  describeDomains(
447
481
  args: DescribeDomainsCommandInput,
448
482
  options?: __HttpHandlerOptions
@@ -116,6 +116,14 @@ import {
116
116
  DescribeDomainConfigCommandInput,
117
117
  DescribeDomainConfigCommandOutput,
118
118
  } from "./commands/DescribeDomainConfigCommand";
119
+ import {
120
+ DescribeDomainHealthCommandInput,
121
+ DescribeDomainHealthCommandOutput,
122
+ } from "./commands/DescribeDomainHealthCommand";
123
+ import {
124
+ DescribeDomainNodesCommandInput,
125
+ DescribeDomainNodesCommandOutput,
126
+ } from "./commands/DescribeDomainNodesCommand";
119
127
  import {
120
128
  DescribeDomainsCommandInput,
121
129
  DescribeDomainsCommandOutput,
@@ -276,6 +284,8 @@ export type ServiceInputTypes =
276
284
  | DescribeDomainChangeProgressCommandInput
277
285
  | DescribeDomainCommandInput
278
286
  | DescribeDomainConfigCommandInput
287
+ | DescribeDomainHealthCommandInput
288
+ | DescribeDomainNodesCommandInput
279
289
  | DescribeDomainsCommandInput
280
290
  | DescribeDryRunProgressCommandInput
281
291
  | DescribeInboundConnectionsCommandInput
@@ -329,6 +339,8 @@ export type ServiceOutputTypes =
329
339
  | DescribeDomainChangeProgressCommandOutput
330
340
  | DescribeDomainCommandOutput
331
341
  | DescribeDomainConfigCommandOutput
342
+ | DescribeDomainHealthCommandOutput
343
+ | DescribeDomainNodesCommandOutput
332
344
  | DescribeDomainsCommandOutput
333
345
  | DescribeDryRunProgressCommandOutput
334
346
  | DescribeInboundConnectionsCommandOutput