@aws-sdk/client-opensearch 3.321.1 → 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 +16 -16
|
@@ -415,6 +415,7 @@ export interface ClusterConfig {
|
|
|
415
415
|
WarmType?: OpenSearchWarmPartitionInstanceType | string;
|
|
416
416
|
WarmCount?: number;
|
|
417
417
|
ColdStorageOptions?: ColdStorageOptions;
|
|
418
|
+
MultiAZWithStandbyEnabled?: boolean;
|
|
418
419
|
}
|
|
419
420
|
export interface CognitoOptions {
|
|
420
421
|
Enabled?: boolean;
|
|
@@ -896,6 +897,60 @@ export interface DomainConfig {
|
|
|
896
897
|
export interface DescribeDomainConfigResponse {
|
|
897
898
|
DomainConfig: DomainConfig | undefined;
|
|
898
899
|
}
|
|
900
|
+
export interface DescribeDomainHealthRequest {
|
|
901
|
+
DomainName: string | undefined;
|
|
902
|
+
}
|
|
903
|
+
export declare const DomainHealth: {
|
|
904
|
+
readonly Green: "Green";
|
|
905
|
+
readonly NotAvailable: "NotAvailable";
|
|
906
|
+
readonly Red: "Red";
|
|
907
|
+
readonly Yellow: "Yellow";
|
|
908
|
+
};
|
|
909
|
+
export type DomainHealth = (typeof DomainHealth)[keyof typeof DomainHealth];
|
|
910
|
+
export declare const DomainState: {
|
|
911
|
+
readonly Active: "Active";
|
|
912
|
+
readonly NotAvailable: "NotAvailable";
|
|
913
|
+
readonly Processing: "Processing";
|
|
914
|
+
};
|
|
915
|
+
export type DomainState = (typeof DomainState)[keyof typeof DomainState];
|
|
916
|
+
export declare const ZoneStatus: {
|
|
917
|
+
readonly Active: "Active";
|
|
918
|
+
readonly NotAvailable: "NotAvailable";
|
|
919
|
+
readonly StandBy: "StandBy";
|
|
920
|
+
};
|
|
921
|
+
export type ZoneStatus = (typeof ZoneStatus)[keyof typeof ZoneStatus];
|
|
922
|
+
export interface AvailabilityZoneInfo {
|
|
923
|
+
AvailabilityZoneName?: string;
|
|
924
|
+
ZoneStatus?: ZoneStatus | string;
|
|
925
|
+
ConfiguredDataNodeCount?: string;
|
|
926
|
+
AvailableDataNodeCount?: string;
|
|
927
|
+
TotalShards?: string;
|
|
928
|
+
TotalUnAssignedShards?: string;
|
|
929
|
+
}
|
|
930
|
+
export interface EnvironmentInfo {
|
|
931
|
+
AvailabilityZoneInformation?: AvailabilityZoneInfo[];
|
|
932
|
+
}
|
|
933
|
+
export declare const MasterNodeStatus: {
|
|
934
|
+
readonly Available: "Available";
|
|
935
|
+
readonly UnAvailable: "UnAvailable";
|
|
936
|
+
};
|
|
937
|
+
export type MasterNodeStatus =
|
|
938
|
+
(typeof MasterNodeStatus)[keyof typeof MasterNodeStatus];
|
|
939
|
+
export interface DescribeDomainHealthResponse {
|
|
940
|
+
DomainState?: DomainState | string;
|
|
941
|
+
AvailabilityZoneCount?: string;
|
|
942
|
+
ActiveAvailabilityZoneCount?: string;
|
|
943
|
+
StandByAvailabilityZoneCount?: string;
|
|
944
|
+
DataNodeCount?: string;
|
|
945
|
+
DedicatedMaster?: boolean;
|
|
946
|
+
MasterEligibleNodeCount?: string;
|
|
947
|
+
WarmNodeCount?: string;
|
|
948
|
+
MasterNode?: MasterNodeStatus | string;
|
|
949
|
+
ClusterHealth?: DomainHealth | string;
|
|
950
|
+
TotalShards?: string;
|
|
951
|
+
TotalUnAssignedShards?: string;
|
|
952
|
+
EnvironmentInformation?: EnvironmentInfo[];
|
|
953
|
+
}
|
|
899
954
|
export interface DescribeDomainsRequest {
|
|
900
955
|
DomainNames: string[] | undefined;
|
|
901
956
|
}
|
|
@@ -1184,6 +1239,8 @@ export interface ListInstanceTypeDetailsRequest {
|
|
|
1184
1239
|
DomainName?: string;
|
|
1185
1240
|
MaxResults?: number;
|
|
1186
1241
|
NextToken?: string;
|
|
1242
|
+
RetrieveAZs?: boolean;
|
|
1243
|
+
InstanceType?: string;
|
|
1187
1244
|
}
|
|
1188
1245
|
export interface InstanceTypeDetails {
|
|
1189
1246
|
InstanceType?: OpenSearchPartitionInstanceType | string;
|
|
@@ -1193,6 +1250,7 @@ export interface InstanceTypeDetails {
|
|
|
1193
1250
|
AdvancedSecurityEnabled?: boolean;
|
|
1194
1251
|
WarmEnabled?: boolean;
|
|
1195
1252
|
InstanceRole?: string[];
|
|
1253
|
+
AvailabilityZones?: string[];
|
|
1196
1254
|
}
|
|
1197
1255
|
export interface ListInstanceTypeDetailsResponse {
|
|
1198
1256
|
InstanceTypeDetails?: InstanceTypeDetails[];
|
|
@@ -75,6 +75,10 @@ import {
|
|
|
75
75
|
DescribeDomainConfigCommandInput,
|
|
76
76
|
DescribeDomainConfigCommandOutput,
|
|
77
77
|
} from "../commands/DescribeDomainConfigCommand";
|
|
78
|
+
import {
|
|
79
|
+
DescribeDomainHealthCommandInput,
|
|
80
|
+
DescribeDomainHealthCommandOutput,
|
|
81
|
+
} from "../commands/DescribeDomainHealthCommand";
|
|
78
82
|
import {
|
|
79
83
|
DescribeDomainsCommandInput,
|
|
80
84
|
DescribeDomainsCommandOutput,
|
|
@@ -283,6 +287,10 @@ export declare const se_DescribeDomainConfigCommand: (
|
|
|
283
287
|
input: DescribeDomainConfigCommandInput,
|
|
284
288
|
context: __SerdeContext
|
|
285
289
|
) => Promise<__HttpRequest>;
|
|
290
|
+
export declare const se_DescribeDomainHealthCommand: (
|
|
291
|
+
input: DescribeDomainHealthCommandInput,
|
|
292
|
+
context: __SerdeContext
|
|
293
|
+
) => Promise<__HttpRequest>;
|
|
286
294
|
export declare const se_DescribeDomainsCommand: (
|
|
287
295
|
input: DescribeDomainsCommandInput,
|
|
288
296
|
context: __SerdeContext
|
|
@@ -491,6 +499,10 @@ export declare const de_DescribeDomainConfigCommand: (
|
|
|
491
499
|
output: __HttpResponse,
|
|
492
500
|
context: __SerdeContext
|
|
493
501
|
) => Promise<DescribeDomainConfigCommandOutput>;
|
|
502
|
+
export declare const de_DescribeDomainHealthCommand: (
|
|
503
|
+
output: __HttpResponse,
|
|
504
|
+
context: __SerdeContext
|
|
505
|
+
) => Promise<DescribeDomainHealthCommandOutput>;
|
|
494
506
|
export declare const de_DescribeDomainsCommand: (
|
|
495
507
|
output: __HttpResponse,
|
|
496
508
|
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.
|
|
4
|
+
"version": "3.326.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,33 +21,33 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.326.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.310.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.326.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.310.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.310.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.310.0",
|
|
30
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
31
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
32
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
33
|
-
"@aws-sdk/middleware-logger": "3.
|
|
34
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
36
|
-
"@aws-sdk/middleware-serde": "3.
|
|
37
|
-
"@aws-sdk/middleware-signing": "3.
|
|
38
|
-
"@aws-sdk/middleware-stack": "3.
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
+
"@aws-sdk/middleware-content-length": "3.325.0",
|
|
31
|
+
"@aws-sdk/middleware-endpoint": "3.325.0",
|
|
32
|
+
"@aws-sdk/middleware-host-header": "3.325.0",
|
|
33
|
+
"@aws-sdk/middleware-logger": "3.325.0",
|
|
34
|
+
"@aws-sdk/middleware-recursion-detection": "3.325.0",
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.325.0",
|
|
36
|
+
"@aws-sdk/middleware-serde": "3.325.0",
|
|
37
|
+
"@aws-sdk/middleware-signing": "3.325.0",
|
|
38
|
+
"@aws-sdk/middleware-stack": "3.325.0",
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.325.0",
|
|
40
40
|
"@aws-sdk/node-config-provider": "3.310.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.321.1",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.310.0",
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
+
"@aws-sdk/smithy-client": "3.325.0",
|
|
44
44
|
"@aws-sdk/types": "3.310.0",
|
|
45
45
|
"@aws-sdk/url-parser": "3.310.0",
|
|
46
46
|
"@aws-sdk/util-base64": "3.310.0",
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.310.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.325.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.325.0",
|
|
51
51
|
"@aws-sdk/util-endpoints": "3.319.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.310.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.310.0",
|