@aws-sdk/client-opensearch 3.325.0 → 3.326.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.
- package/README.md +8 -0
- package/dist-cjs/OpenSearch.js +2 -0
- package/dist-cjs/commands/DescribeDomainHealthCommand.js +45 -0
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/models/models_0.js +22 -2
- package/dist-cjs/protocols/Aws_restJson1.js +81 -3
- package/dist-es/OpenSearch.js +2 -0
- package/dist-es/commands/DescribeDomainHealthCommand.js +41 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_0.js +20 -0
- package/dist-es/protocols/Aws_restJson1.js +76 -0
- package/dist-types/OpenSearch.d.ts +7 -0
- package/dist-types/OpenSearchClient.d.ts +3 -2
- package/dist-types/commands/AcceptInboundConnectionCommand.d.ts +29 -2
- package/dist-types/commands/AddTagsCommand.d.ts +4 -0
- package/dist-types/commands/AssociatePackageCommand.d.ts +20 -1
- package/dist-types/commands/AuthorizeVpcEndpointAccessCommand.d.ts +11 -2
- package/dist-types/commands/CancelServiceSoftwareUpdateCommand.d.ts +16 -1
- package/dist-types/commands/CreateDomainCommand.d.ts +138 -1
- package/dist-types/commands/CreateOutboundConnectionCommand.d.ts +30 -1
- package/dist-types/commands/CreatePackageCommand.d.ts +19 -0
- package/dist-types/commands/CreateVpcEndpointCommand.d.ts +25 -1
- package/dist-types/commands/DeleteDomainCommand.d.ts +137 -1
- package/dist-types/commands/DeleteInboundConnectionCommand.d.ts +29 -2
- package/dist-types/commands/DeleteOutboundConnectionCommand.d.ts +33 -2
- package/dist-types/commands/DeletePackageCommand.d.ts +20 -1
- package/dist-types/commands/DeleteVpcEndpointCommand.d.ts +13 -2
- package/dist-types/commands/DescribeDomainAutoTunesCommand.d.ts +20 -1
- package/dist-types/commands/DescribeDomainChangeProgressCommand.d.ts +26 -1
- package/dist-types/commands/DescribeDomainCommand.d.ts +137 -1
- package/dist-types/commands/DescribeDomainConfigCommand.d.ts +211 -1
- package/dist-types/commands/DescribeDomainHealthCommand.d.ts +109 -0
- package/dist-types/commands/DescribeDomainsCommand.d.ts +138 -0
- package/dist-types/commands/DescribeDryRunProgressCommand.d.ts +154 -2
- package/dist-types/commands/DescribeInboundConnectionsCommand.d.ts +32 -2
- package/dist-types/commands/DescribeInstanceTypeLimitsCommand.d.ts +38 -1
- package/dist-types/commands/DescribeOutboundConnectionsCommand.d.ts +36 -2
- package/dist-types/commands/DescribePackagesCommand.d.ts +23 -1
- package/dist-types/commands/DescribeReservedInstanceOfferingsCommand.d.ts +25 -2
- package/dist-types/commands/DescribeReservedInstancesCommand.d.ts +31 -2
- package/dist-types/commands/DescribeVpcEndpointsCommand.d.ts +34 -1
- package/dist-types/commands/DissociatePackageCommand.d.ts +20 -1
- package/dist-types/commands/GetCompatibleVersionsCommand.d.ts +15 -2
- package/dist-types/commands/GetPackageVersionHistoryCommand.d.ts +17 -3
- package/dist-types/commands/GetUpgradeHistoryCommand.d.ts +25 -2
- package/dist-types/commands/GetUpgradeStatusCommand.d.ts +10 -2
- package/dist-types/commands/ListDomainNamesCommand.d.ts +11 -0
- package/dist-types/commands/ListDomainsForPackageCommand.d.ts +23 -1
- package/dist-types/commands/ListInstanceTypeDetailsCommand.d.ts +25 -1
- package/dist-types/commands/ListPackagesForDomainCommand.d.ts +23 -1
- package/dist-types/commands/ListScheduledActionsCommand.d.ts +21 -2
- package/dist-types/commands/ListTagsCommand.d.ts +12 -1
- package/dist-types/commands/ListVersionsCommand.d.ts +10 -1
- package/dist-types/commands/ListVpcEndpointAccessCommand.d.ts +14 -2
- package/dist-types/commands/ListVpcEndpointsCommand.d.ts +15 -1
- package/dist-types/commands/ListVpcEndpointsForDomainCommand.d.ts +16 -2
- package/dist-types/commands/PurchaseReservedInstanceOfferingCommand.d.ts +9 -2
- package/dist-types/commands/RejectInboundConnectionCommand.d.ts +29 -2
- package/dist-types/commands/RemoveTagsCommand.d.ts +4 -0
- package/dist-types/commands/RevokeVpcEndpointAccessCommand.d.ts +6 -2
- package/dist-types/commands/StartServiceSoftwareUpdateCommand.d.ts +16 -1
- package/dist-types/commands/UpdateDomainConfigCommand.d.ts +228 -1
- package/dist-types/commands/UpdatePackageCommand.d.ts +20 -1
- package/dist-types/commands/UpdateScheduledActionCommand.d.ts +17 -1
- package/dist-types/commands/UpdateVpcEndpointCommand.d.ts +26 -2
- package/dist-types/commands/UpgradeDomainCommand.d.ts +18 -2
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +243 -20
- package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
- package/dist-types/ts3.4/OpenSearch.d.ts +17 -0
- package/dist-types/ts3.4/OpenSearchClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/DescribeDomainHealthCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +58 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
- package/package.json +3 -3
|
@@ -38,6 +38,20 @@ export interface UpdateScheduledActionCommandOutput extends UpdateScheduledActio
|
|
|
38
38
|
* };
|
|
39
39
|
* const command = new UpdateScheduledActionCommand(input);
|
|
40
40
|
* const response = await client.send(command);
|
|
41
|
+
* // { // UpdateScheduledActionResponse
|
|
42
|
+
* // ScheduledAction: { // ScheduledAction
|
|
43
|
+
* // Id: "STRING_VALUE", // required
|
|
44
|
+
* // Type: "SERVICE_SOFTWARE_UPDATE" || "JVM_HEAP_SIZE_TUNING" || "JVM_YOUNG_GEN_TUNING", // required
|
|
45
|
+
* // Severity: "HIGH" || "MEDIUM" || "LOW", // required
|
|
46
|
+
* // ScheduledTime: Number("long"), // required
|
|
47
|
+
* // Description: "STRING_VALUE",
|
|
48
|
+
* // ScheduledBy: "CUSTOMER" || "SYSTEM",
|
|
49
|
+
* // Status: "PENDING_UPDATE" || "IN_PROGRESS" || "FAILED" || "COMPLETED" || "NOT_ELIGIBLE" || "ELIGIBLE",
|
|
50
|
+
* // Mandatory: true || false,
|
|
51
|
+
* // Cancellable: true || false,
|
|
52
|
+
* // },
|
|
53
|
+
* // };
|
|
54
|
+
*
|
|
41
55
|
* ```
|
|
42
56
|
*
|
|
43
57
|
* @param UpdateScheduledActionCommandInput - {@link UpdateScheduledActionCommandInput}
|
|
@@ -59,7 +73,7 @@ export interface UpdateScheduledActionCommandOutput extends UpdateScheduledActio
|
|
|
59
73
|
* <p>An exception for trying to create more than the allowed number of resources or sub-resources.</p>
|
|
60
74
|
*
|
|
61
75
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
62
|
-
* <p>An exception for accessing or deleting a resource that
|
|
76
|
+
* <p>An exception for accessing or deleting a resource that doesn't exist.</p>
|
|
63
77
|
*
|
|
64
78
|
* @throws {@link SlotNotAvailableException} (client fault)
|
|
65
79
|
* <p>An exception for attempting to schedule a domain action during an unavailable time slot.</p>
|
|
@@ -67,6 +81,8 @@ export interface UpdateScheduledActionCommandOutput extends UpdateScheduledActio
|
|
|
67
81
|
* @throws {@link ValidationException} (client fault)
|
|
68
82
|
* <p>An exception for accessing or deleting a resource that doesn't exist.</p>
|
|
69
83
|
*
|
|
84
|
+
* @throws {@link OpenSearchServiceException}
|
|
85
|
+
* <p>Base exception class for all service exceptions from OpenSearch service.</p>
|
|
70
86
|
*
|
|
71
87
|
*/
|
|
72
88
|
export declare class UpdateScheduledActionCommand extends $Command<UpdateScheduledActionCommandInput, UpdateScheduledActionCommandOutput, OpenSearchClientResolvedConfig> {
|
|
@@ -39,6 +39,28 @@ export interface UpdateVpcEndpointCommandOutput extends UpdateVpcEndpointRespons
|
|
|
39
39
|
* };
|
|
40
40
|
* const command = new UpdateVpcEndpointCommand(input);
|
|
41
41
|
* const response = await client.send(command);
|
|
42
|
+
* // { // UpdateVpcEndpointResponse
|
|
43
|
+
* // VpcEndpoint: { // VpcEndpoint
|
|
44
|
+
* // VpcEndpointId: "STRING_VALUE",
|
|
45
|
+
* // VpcEndpointOwner: "STRING_VALUE",
|
|
46
|
+
* // DomainArn: "STRING_VALUE",
|
|
47
|
+
* // VpcOptions: { // VPCDerivedInfo
|
|
48
|
+
* // VPCId: "STRING_VALUE",
|
|
49
|
+
* // SubnetIds: [ // StringList
|
|
50
|
+
* // "STRING_VALUE",
|
|
51
|
+
* // ],
|
|
52
|
+
* // AvailabilityZones: [
|
|
53
|
+
* // "STRING_VALUE",
|
|
54
|
+
* // ],
|
|
55
|
+
* // SecurityGroupIds: [
|
|
56
|
+
* // "STRING_VALUE",
|
|
57
|
+
* // ],
|
|
58
|
+
* // },
|
|
59
|
+
* // Status: "CREATING" || "CREATE_FAILED" || "ACTIVE" || "UPDATING" || "UPDATE_FAILED" || "DELETING" || "DELETE_FAILED",
|
|
60
|
+
* // Endpoint: "STRING_VALUE",
|
|
61
|
+
* // },
|
|
62
|
+
* // };
|
|
63
|
+
*
|
|
42
64
|
* ```
|
|
43
65
|
*
|
|
44
66
|
* @param UpdateVpcEndpointCommandInput - {@link UpdateVpcEndpointCommandInput}
|
|
@@ -54,17 +76,19 @@ export interface UpdateVpcEndpointCommandOutput extends UpdateVpcEndpointRespons
|
|
|
54
76
|
* <p>An error occurred because the client attempts to remove a resource that is currently in use.</p>
|
|
55
77
|
*
|
|
56
78
|
* @throws {@link DisabledOperationException} (client fault)
|
|
57
|
-
* <p>An error occured because the client wanted to access
|
|
79
|
+
* <p>An error occured because the client wanted to access an unsupported operation.</p>
|
|
58
80
|
*
|
|
59
81
|
* @throws {@link InternalException} (server fault)
|
|
60
82
|
* <p>Request processing failed because of an unknown error, exception, or internal failure.</p>
|
|
61
83
|
*
|
|
62
84
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
63
|
-
* <p>An exception for accessing or deleting a resource that
|
|
85
|
+
* <p>An exception for accessing or deleting a resource that doesn't exist.</p>
|
|
64
86
|
*
|
|
65
87
|
* @throws {@link ValidationException} (client fault)
|
|
66
88
|
* <p>An exception for accessing or deleting a resource that doesn't exist.</p>
|
|
67
89
|
*
|
|
90
|
+
* @throws {@link OpenSearchServiceException}
|
|
91
|
+
* <p>Base exception class for all service exceptions from OpenSearch service.</p>
|
|
68
92
|
*
|
|
69
93
|
*/
|
|
70
94
|
export declare class UpdateVpcEndpointCommand extends $Command<UpdateVpcEndpointCommandInput, UpdateVpcEndpointCommandOutput, OpenSearchClientResolvedConfig> {
|
|
@@ -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
|
|
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
|
|
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,7 @@ export * from "./DescribeDomainAutoTunesCommand";
|
|
|
16
16
|
export * from "./DescribeDomainChangeProgressCommand";
|
|
17
17
|
export * from "./DescribeDomainCommand";
|
|
18
18
|
export * from "./DescribeDomainConfigCommand";
|
|
19
|
+
export * from "./DescribeDomainHealthCommand";
|
|
19
20
|
export * from "./DescribeDomainsCommand";
|
|
20
21
|
export * from "./DescribeDryRunProgressCommand";
|
|
21
22
|
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
|
|
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
|
|
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>
|
|
712
|
-
*
|
|
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
|
|
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
|
|
1380
|
-
* All domains created after this date have the off-peak window
|
|
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
|
/**
|
|
@@ -1966,7 +1971,7 @@ export interface CreatePackageRequest {
|
|
|
1966
1971
|
*/
|
|
1967
1972
|
PackageName: string | undefined;
|
|
1968
1973
|
/**
|
|
1969
|
-
* <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>
|
|
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>
|
|
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
|
/**
|
|
@@ -2875,6 +2880,219 @@ 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
|
+
}
|
|
2878
3096
|
/**
|
|
2879
3097
|
* @public
|
|
2880
3098
|
* <p>Container for the parameters to the <code>DescribeDomains</code> operation.</p>
|
|
@@ -3065,7 +3283,7 @@ export interface DescribeInboundConnectionsResponse {
|
|
|
3065
3283
|
}
|
|
3066
3284
|
/**
|
|
3067
3285
|
* @public
|
|
3068
|
-
* <p>
|
|
3286
|
+
* <p>Request processing failed because you provided an invalid pagination token.</p>
|
|
3069
3287
|
*/
|
|
3070
3288
|
export declare class InvalidPaginationTokenException extends __BaseException {
|
|
3071
3289
|
readonly name: "InvalidPaginationTokenException";
|
|
@@ -3975,12 +4193,12 @@ export interface ListDomainsForPackageResponse {
|
|
|
3975
4193
|
*/
|
|
3976
4194
|
export interface ListInstanceTypeDetailsRequest {
|
|
3977
4195
|
/**
|
|
3978
|
-
* <p>
|
|
4196
|
+
* <p>The version of OpenSearch or Elasticsearch, in the format Elasticsearch_X.Y or OpenSearch_X.Y.
|
|
3979
4197
|
* Defaults to the latest version of OpenSearch.</p>
|
|
3980
4198
|
*/
|
|
3981
4199
|
EngineVersion: string | undefined;
|
|
3982
4200
|
/**
|
|
3983
|
-
* <p>
|
|
4201
|
+
* <p>The name of the domain.</p>
|
|
3984
4202
|
*/
|
|
3985
4203
|
DomainName?: string;
|
|
3986
4204
|
/**
|
|
@@ -3994,6 +4212,14 @@ export interface ListInstanceTypeDetailsRequest {
|
|
|
3994
4212
|
* <code>ListInstanceTypeDetails</code> operations, which returns results in the next page.</p>
|
|
3995
4213
|
*/
|
|
3996
4214
|
NextToken?: string;
|
|
4215
|
+
/**
|
|
4216
|
+
* <p>An optional parameter that specifies the Availability Zones for the domain.</p>
|
|
4217
|
+
*/
|
|
4218
|
+
RetrieveAZs?: boolean;
|
|
4219
|
+
/**
|
|
4220
|
+
* <p>An optional parameter that lists information for a given instance type.</p>
|
|
4221
|
+
*/
|
|
4222
|
+
InstanceType?: string;
|
|
3997
4223
|
}
|
|
3998
4224
|
/**
|
|
3999
4225
|
* @public
|
|
@@ -4031,6 +4257,10 @@ export interface InstanceTypeDetails {
|
|
|
4031
4257
|
* node.</p>
|
|
4032
4258
|
*/
|
|
4033
4259
|
InstanceRole?: string[];
|
|
4260
|
+
/**
|
|
4261
|
+
* <p>The supported Availability Zones for the instance type.</p>
|
|
4262
|
+
*/
|
|
4263
|
+
AvailabilityZones?: string[];
|
|
4034
4264
|
}
|
|
4035
4265
|
/**
|
|
4036
4266
|
* @public
|
|
@@ -4539,13 +4769,6 @@ export interface UpdateDomainConfigRequest {
|
|
|
4539
4769
|
* query. Default is 1,024. Queries with more than the permitted number of clauses result in a
|
|
4540
4770
|
* <code>TooManyClauses</code> error.</p>
|
|
4541
4771
|
* </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
4772
|
* </ul>
|
|
4550
4773
|
* <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
4774
|
*/
|
|
@@ -18,6 +18,7 @@ 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";
|
|
21
22
|
import { DescribeDomainsCommandInput, DescribeDomainsCommandOutput } from "../commands/DescribeDomainsCommand";
|
|
22
23
|
import { DescribeDryRunProgressCommandInput, DescribeDryRunProgressCommandOutput } from "../commands/DescribeDryRunProgressCommand";
|
|
23
24
|
import { DescribeInboundConnectionsCommandInput, DescribeInboundConnectionsCommandOutput } from "../commands/DescribeInboundConnectionsCommand";
|
|
@@ -124,6 +125,10 @@ export declare const se_DescribeDomainChangeProgressCommand: (input: DescribeDom
|
|
|
124
125
|
* serializeAws_restJson1DescribeDomainConfigCommand
|
|
125
126
|
*/
|
|
126
127
|
export declare const se_DescribeDomainConfigCommand: (input: DescribeDomainConfigCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
128
|
+
/**
|
|
129
|
+
* serializeAws_restJson1DescribeDomainHealthCommand
|
|
130
|
+
*/
|
|
131
|
+
export declare const se_DescribeDomainHealthCommand: (input: DescribeDomainHealthCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
127
132
|
/**
|
|
128
133
|
* serializeAws_restJson1DescribeDomainsCommand
|
|
129
134
|
*/
|
|
@@ -332,6 +337,10 @@ export declare const de_DescribeDomainChangeProgressCommand: (output: __HttpResp
|
|
|
332
337
|
* deserializeAws_restJson1DescribeDomainConfigCommand
|
|
333
338
|
*/
|
|
334
339
|
export declare const de_DescribeDomainConfigCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeDomainConfigCommandOutput>;
|
|
340
|
+
/**
|
|
341
|
+
* deserializeAws_restJson1DescribeDomainHealthCommand
|
|
342
|
+
*/
|
|
343
|
+
export declare const de_DescribeDomainHealthCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeDomainHealthCommandOutput>;
|
|
335
344
|
/**
|
|
336
345
|
* deserializeAws_restJson1DescribeDomainsCommand
|
|
337
346
|
*/
|
|
@@ -71,6 +71,10 @@ import {
|
|
|
71
71
|
DescribeDomainConfigCommandInput,
|
|
72
72
|
DescribeDomainConfigCommandOutput,
|
|
73
73
|
} from "./commands/DescribeDomainConfigCommand";
|
|
74
|
+
import {
|
|
75
|
+
DescribeDomainHealthCommandInput,
|
|
76
|
+
DescribeDomainHealthCommandOutput,
|
|
77
|
+
} from "./commands/DescribeDomainHealthCommand";
|
|
74
78
|
import {
|
|
75
79
|
DescribeDomainsCommandInput,
|
|
76
80
|
DescribeDomainsCommandOutput,
|
|
@@ -443,6 +447,19 @@ export interface OpenSearch {
|
|
|
443
447
|
options: __HttpHandlerOptions,
|
|
444
448
|
cb: (err: any, data?: DescribeDomainConfigCommandOutput) => void
|
|
445
449
|
): void;
|
|
450
|
+
describeDomainHealth(
|
|
451
|
+
args: DescribeDomainHealthCommandInput,
|
|
452
|
+
options?: __HttpHandlerOptions
|
|
453
|
+
): Promise<DescribeDomainHealthCommandOutput>;
|
|
454
|
+
describeDomainHealth(
|
|
455
|
+
args: DescribeDomainHealthCommandInput,
|
|
456
|
+
cb: (err: any, data?: DescribeDomainHealthCommandOutput) => void
|
|
457
|
+
): void;
|
|
458
|
+
describeDomainHealth(
|
|
459
|
+
args: DescribeDomainHealthCommandInput,
|
|
460
|
+
options: __HttpHandlerOptions,
|
|
461
|
+
cb: (err: any, data?: DescribeDomainHealthCommandOutput) => void
|
|
462
|
+
): void;
|
|
446
463
|
describeDomains(
|
|
447
464
|
args: DescribeDomainsCommandInput,
|
|
448
465
|
options?: __HttpHandlerOptions
|
|
@@ -116,6 +116,10 @@ import {
|
|
|
116
116
|
DescribeDomainConfigCommandInput,
|
|
117
117
|
DescribeDomainConfigCommandOutput,
|
|
118
118
|
} from "./commands/DescribeDomainConfigCommand";
|
|
119
|
+
import {
|
|
120
|
+
DescribeDomainHealthCommandInput,
|
|
121
|
+
DescribeDomainHealthCommandOutput,
|
|
122
|
+
} from "./commands/DescribeDomainHealthCommand";
|
|
119
123
|
import {
|
|
120
124
|
DescribeDomainsCommandInput,
|
|
121
125
|
DescribeDomainsCommandOutput,
|
|
@@ -276,6 +280,7 @@ export type ServiceInputTypes =
|
|
|
276
280
|
| DescribeDomainChangeProgressCommandInput
|
|
277
281
|
| DescribeDomainCommandInput
|
|
278
282
|
| DescribeDomainConfigCommandInput
|
|
283
|
+
| DescribeDomainHealthCommandInput
|
|
279
284
|
| DescribeDomainsCommandInput
|
|
280
285
|
| DescribeDryRunProgressCommandInput
|
|
281
286
|
| DescribeInboundConnectionsCommandInput
|
|
@@ -329,6 +334,7 @@ export type ServiceOutputTypes =
|
|
|
329
334
|
| DescribeDomainChangeProgressCommandOutput
|
|
330
335
|
| DescribeDomainCommandOutput
|
|
331
336
|
| DescribeDomainConfigCommandOutput
|
|
337
|
+
| DescribeDomainHealthCommandOutput
|
|
332
338
|
| DescribeDomainsCommandOutput
|
|
333
339
|
| DescribeDryRunProgressCommandOutput
|
|
334
340
|
| DescribeInboundConnectionsCommandOutput
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@aws-sdk/types";
|
|
9
|
+
import {
|
|
10
|
+
DescribeDomainHealthRequest,
|
|
11
|
+
DescribeDomainHealthResponse,
|
|
12
|
+
} from "../models/models_0";
|
|
13
|
+
import {
|
|
14
|
+
OpenSearchClientResolvedConfig,
|
|
15
|
+
ServiceInputTypes,
|
|
16
|
+
ServiceOutputTypes,
|
|
17
|
+
} from "../OpenSearchClient";
|
|
18
|
+
export interface DescribeDomainHealthCommandInput
|
|
19
|
+
extends DescribeDomainHealthRequest {}
|
|
20
|
+
export interface DescribeDomainHealthCommandOutput
|
|
21
|
+
extends DescribeDomainHealthResponse,
|
|
22
|
+
__MetadataBearer {}
|
|
23
|
+
export declare class DescribeDomainHealthCommand extends $Command<
|
|
24
|
+
DescribeDomainHealthCommandInput,
|
|
25
|
+
DescribeDomainHealthCommandOutput,
|
|
26
|
+
OpenSearchClientResolvedConfig
|
|
27
|
+
> {
|
|
28
|
+
readonly input: DescribeDomainHealthCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: DescribeDomainHealthCommandInput);
|
|
31
|
+
resolveMiddleware(
|
|
32
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
33
|
+
configuration: OpenSearchClientResolvedConfig,
|
|
34
|
+
options?: __HttpHandlerOptions
|
|
35
|
+
): Handler<
|
|
36
|
+
DescribeDomainHealthCommandInput,
|
|
37
|
+
DescribeDomainHealthCommandOutput
|
|
38
|
+
>;
|
|
39
|
+
private serialize;
|
|
40
|
+
private deserialize;
|
|
41
|
+
}
|
|
@@ -16,6 +16,7 @@ export * from "./DescribeDomainAutoTunesCommand";
|
|
|
16
16
|
export * from "./DescribeDomainChangeProgressCommand";
|
|
17
17
|
export * from "./DescribeDomainCommand";
|
|
18
18
|
export * from "./DescribeDomainConfigCommand";
|
|
19
|
+
export * from "./DescribeDomainHealthCommand";
|
|
19
20
|
export * from "./DescribeDomainsCommand";
|
|
20
21
|
export * from "./DescribeDryRunProgressCommand";
|
|
21
22
|
export * from "./DescribeInboundConnectionsCommand";
|