@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.
- package/README.md +16 -0
- package/dist-cjs/OpenSearch.js +4 -0
- package/dist-cjs/commands/DescribeDomainHealthCommand.js +45 -0
- package/dist-cjs/commands/DescribeDomainNodesCommand.js +45 -0
- package/dist-cjs/commands/index.js +2 -0
- package/dist-cjs/models/models_0.js +45 -2
- package/dist-cjs/protocols/Aws_restJson1.js +161 -3
- package/dist-es/OpenSearch.js +4 -0
- package/dist-es/commands/DescribeDomainHealthCommand.js +41 -0
- package/dist-es/commands/DescribeDomainNodesCommand.js +41 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_0.js +42 -0
- package/dist-es/protocols/Aws_restJson1.js +155 -1
- package/dist-types/OpenSearch.d.ts +14 -0
- package/dist-types/OpenSearchClient.d.ts +4 -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/DescribeDomainNodesCommand.d.ts +99 -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 +230 -2
- 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 +2 -0
- package/dist-types/models/models_0.d.ts +345 -23
- package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
- package/dist-types/ts3.4/OpenSearch.d.ts +34 -0
- package/dist-types/ts3.4/OpenSearchClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/DescribeDomainHealthCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/DescribeDomainNodesCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +93 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
- package/package.json +7 -7
|
@@ -32,6 +32,140 @@ export interface DescribeDomainCommandOutput extends DescribeDomainResponse, __M
|
|
|
32
32
|
* };
|
|
33
33
|
* const command = new DescribeDomainCommand(input);
|
|
34
34
|
* const response = await client.send(command);
|
|
35
|
+
* // { // DescribeDomainResponse
|
|
36
|
+
* // DomainStatus: { // DomainStatus
|
|
37
|
+
* // DomainId: "STRING_VALUE", // required
|
|
38
|
+
* // DomainName: "STRING_VALUE", // required
|
|
39
|
+
* // ARN: "STRING_VALUE", // required
|
|
40
|
+
* // Created: true || false,
|
|
41
|
+
* // Deleted: true || false,
|
|
42
|
+
* // Endpoint: "STRING_VALUE",
|
|
43
|
+
* // Endpoints: { // EndpointsMap
|
|
44
|
+
* // "<keys>": "STRING_VALUE",
|
|
45
|
+
* // },
|
|
46
|
+
* // Processing: true || false,
|
|
47
|
+
* // UpgradeProcessing: true || false,
|
|
48
|
+
* // EngineVersion: "STRING_VALUE",
|
|
49
|
+
* // ClusterConfig: { // ClusterConfig
|
|
50
|
+
* // InstanceType: "m3.medium.search" || "m3.large.search" || "m3.xlarge.search" || "m3.2xlarge.search" || "m4.large.search" || "m4.xlarge.search" || "m4.2xlarge.search" || "m4.4xlarge.search" || "m4.10xlarge.search" || "m5.large.search" || "m5.xlarge.search" || "m5.2xlarge.search" || "m5.4xlarge.search" || "m5.12xlarge.search" || "m5.24xlarge.search" || "r5.large.search" || "r5.xlarge.search" || "r5.2xlarge.search" || "r5.4xlarge.search" || "r5.12xlarge.search" || "r5.24xlarge.search" || "c5.large.search" || "c5.xlarge.search" || "c5.2xlarge.search" || "c5.4xlarge.search" || "c5.9xlarge.search" || "c5.18xlarge.search" || "t3.nano.search" || "t3.micro.search" || "t3.small.search" || "t3.medium.search" || "t3.large.search" || "t3.xlarge.search" || "t3.2xlarge.search" || "ultrawarm1.medium.search" || "ultrawarm1.large.search" || "ultrawarm1.xlarge.search" || "t2.micro.search" || "t2.small.search" || "t2.medium.search" || "r3.large.search" || "r3.xlarge.search" || "r3.2xlarge.search" || "r3.4xlarge.search" || "r3.8xlarge.search" || "i2.xlarge.search" || "i2.2xlarge.search" || "d2.xlarge.search" || "d2.2xlarge.search" || "d2.4xlarge.search" || "d2.8xlarge.search" || "c4.large.search" || "c4.xlarge.search" || "c4.2xlarge.search" || "c4.4xlarge.search" || "c4.8xlarge.search" || "r4.large.search" || "r4.xlarge.search" || "r4.2xlarge.search" || "r4.4xlarge.search" || "r4.8xlarge.search" || "r4.16xlarge.search" || "i3.large.search" || "i3.xlarge.search" || "i3.2xlarge.search" || "i3.4xlarge.search" || "i3.8xlarge.search" || "i3.16xlarge.search" || "r6g.large.search" || "r6g.xlarge.search" || "r6g.2xlarge.search" || "r6g.4xlarge.search" || "r6g.8xlarge.search" || "r6g.12xlarge.search" || "m6g.large.search" || "m6g.xlarge.search" || "m6g.2xlarge.search" || "m6g.4xlarge.search" || "m6g.8xlarge.search" || "m6g.12xlarge.search" || "c6g.large.search" || "c6g.xlarge.search" || "c6g.2xlarge.search" || "c6g.4xlarge.search" || "c6g.8xlarge.search" || "c6g.12xlarge.search" || "r6gd.large.search" || "r6gd.xlarge.search" || "r6gd.2xlarge.search" || "r6gd.4xlarge.search" || "r6gd.8xlarge.search" || "r6gd.12xlarge.search" || "r6gd.16xlarge.search" || "t4g.small.search" || "t4g.medium.search",
|
|
51
|
+
* // InstanceCount: Number("int"),
|
|
52
|
+
* // DedicatedMasterEnabled: true || false,
|
|
53
|
+
* // ZoneAwarenessEnabled: true || false,
|
|
54
|
+
* // ZoneAwarenessConfig: { // ZoneAwarenessConfig
|
|
55
|
+
* // AvailabilityZoneCount: Number("int"),
|
|
56
|
+
* // },
|
|
57
|
+
* // DedicatedMasterType: "m3.medium.search" || "m3.large.search" || "m3.xlarge.search" || "m3.2xlarge.search" || "m4.large.search" || "m4.xlarge.search" || "m4.2xlarge.search" || "m4.4xlarge.search" || "m4.10xlarge.search" || "m5.large.search" || "m5.xlarge.search" || "m5.2xlarge.search" || "m5.4xlarge.search" || "m5.12xlarge.search" || "m5.24xlarge.search" || "r5.large.search" || "r5.xlarge.search" || "r5.2xlarge.search" || "r5.4xlarge.search" || "r5.12xlarge.search" || "r5.24xlarge.search" || "c5.large.search" || "c5.xlarge.search" || "c5.2xlarge.search" || "c5.4xlarge.search" || "c5.9xlarge.search" || "c5.18xlarge.search" || "t3.nano.search" || "t3.micro.search" || "t3.small.search" || "t3.medium.search" || "t3.large.search" || "t3.xlarge.search" || "t3.2xlarge.search" || "ultrawarm1.medium.search" || "ultrawarm1.large.search" || "ultrawarm1.xlarge.search" || "t2.micro.search" || "t2.small.search" || "t2.medium.search" || "r3.large.search" || "r3.xlarge.search" || "r3.2xlarge.search" || "r3.4xlarge.search" || "r3.8xlarge.search" || "i2.xlarge.search" || "i2.2xlarge.search" || "d2.xlarge.search" || "d2.2xlarge.search" || "d2.4xlarge.search" || "d2.8xlarge.search" || "c4.large.search" || "c4.xlarge.search" || "c4.2xlarge.search" || "c4.4xlarge.search" || "c4.8xlarge.search" || "r4.large.search" || "r4.xlarge.search" || "r4.2xlarge.search" || "r4.4xlarge.search" || "r4.8xlarge.search" || "r4.16xlarge.search" || "i3.large.search" || "i3.xlarge.search" || "i3.2xlarge.search" || "i3.4xlarge.search" || "i3.8xlarge.search" || "i3.16xlarge.search" || "r6g.large.search" || "r6g.xlarge.search" || "r6g.2xlarge.search" || "r6g.4xlarge.search" || "r6g.8xlarge.search" || "r6g.12xlarge.search" || "m6g.large.search" || "m6g.xlarge.search" || "m6g.2xlarge.search" || "m6g.4xlarge.search" || "m6g.8xlarge.search" || "m6g.12xlarge.search" || "c6g.large.search" || "c6g.xlarge.search" || "c6g.2xlarge.search" || "c6g.4xlarge.search" || "c6g.8xlarge.search" || "c6g.12xlarge.search" || "r6gd.large.search" || "r6gd.xlarge.search" || "r6gd.2xlarge.search" || "r6gd.4xlarge.search" || "r6gd.8xlarge.search" || "r6gd.12xlarge.search" || "r6gd.16xlarge.search" || "t4g.small.search" || "t4g.medium.search",
|
|
58
|
+
* // DedicatedMasterCount: Number("int"),
|
|
59
|
+
* // WarmEnabled: true || false,
|
|
60
|
+
* // WarmType: "ultrawarm1.medium.search" || "ultrawarm1.large.search" || "ultrawarm1.xlarge.search",
|
|
61
|
+
* // WarmCount: Number("int"),
|
|
62
|
+
* // ColdStorageOptions: { // ColdStorageOptions
|
|
63
|
+
* // Enabled: true || false, // required
|
|
64
|
+
* // },
|
|
65
|
+
* // MultiAZWithStandbyEnabled: true || false,
|
|
66
|
+
* // },
|
|
67
|
+
* // EBSOptions: { // EBSOptions
|
|
68
|
+
* // EBSEnabled: true || false,
|
|
69
|
+
* // VolumeType: "standard" || "gp2" || "io1" || "gp3",
|
|
70
|
+
* // VolumeSize: Number("int"),
|
|
71
|
+
* // Iops: Number("int"),
|
|
72
|
+
* // Throughput: Number("int"),
|
|
73
|
+
* // },
|
|
74
|
+
* // AccessPolicies: "STRING_VALUE",
|
|
75
|
+
* // SnapshotOptions: { // SnapshotOptions
|
|
76
|
+
* // AutomatedSnapshotStartHour: Number("int"),
|
|
77
|
+
* // },
|
|
78
|
+
* // VPCOptions: { // VPCDerivedInfo
|
|
79
|
+
* // VPCId: "STRING_VALUE",
|
|
80
|
+
* // SubnetIds: [ // StringList
|
|
81
|
+
* // "STRING_VALUE",
|
|
82
|
+
* // ],
|
|
83
|
+
* // AvailabilityZones: [
|
|
84
|
+
* // "STRING_VALUE",
|
|
85
|
+
* // ],
|
|
86
|
+
* // SecurityGroupIds: [
|
|
87
|
+
* // "STRING_VALUE",
|
|
88
|
+
* // ],
|
|
89
|
+
* // },
|
|
90
|
+
* // CognitoOptions: { // CognitoOptions
|
|
91
|
+
* // Enabled: true || false,
|
|
92
|
+
* // UserPoolId: "STRING_VALUE",
|
|
93
|
+
* // IdentityPoolId: "STRING_VALUE",
|
|
94
|
+
* // RoleArn: "STRING_VALUE",
|
|
95
|
+
* // },
|
|
96
|
+
* // EncryptionAtRestOptions: { // EncryptionAtRestOptions
|
|
97
|
+
* // Enabled: true || false,
|
|
98
|
+
* // KmsKeyId: "STRING_VALUE",
|
|
99
|
+
* // },
|
|
100
|
+
* // NodeToNodeEncryptionOptions: { // NodeToNodeEncryptionOptions
|
|
101
|
+
* // Enabled: true || false,
|
|
102
|
+
* // },
|
|
103
|
+
* // AdvancedOptions: { // AdvancedOptions
|
|
104
|
+
* // "<keys>": "STRING_VALUE",
|
|
105
|
+
* // },
|
|
106
|
+
* // LogPublishingOptions: { // LogPublishingOptions
|
|
107
|
+
* // "<keys>": { // LogPublishingOption
|
|
108
|
+
* // CloudWatchLogsLogGroupArn: "STRING_VALUE",
|
|
109
|
+
* // Enabled: true || false,
|
|
110
|
+
* // },
|
|
111
|
+
* // },
|
|
112
|
+
* // ServiceSoftwareOptions: { // ServiceSoftwareOptions
|
|
113
|
+
* // CurrentVersion: "STRING_VALUE",
|
|
114
|
+
* // NewVersion: "STRING_VALUE",
|
|
115
|
+
* // UpdateAvailable: true || false,
|
|
116
|
+
* // Cancellable: true || false,
|
|
117
|
+
* // UpdateStatus: "PENDING_UPDATE" || "IN_PROGRESS" || "COMPLETED" || "NOT_ELIGIBLE" || "ELIGIBLE",
|
|
118
|
+
* // Description: "STRING_VALUE",
|
|
119
|
+
* // AutomatedUpdateDate: new Date("TIMESTAMP"),
|
|
120
|
+
* // OptionalDeployment: true || false,
|
|
121
|
+
* // },
|
|
122
|
+
* // DomainEndpointOptions: { // DomainEndpointOptions
|
|
123
|
+
* // EnforceHTTPS: true || false,
|
|
124
|
+
* // TLSSecurityPolicy: "Policy-Min-TLS-1-0-2019-07" || "Policy-Min-TLS-1-2-2019-07",
|
|
125
|
+
* // CustomEndpointEnabled: true || false,
|
|
126
|
+
* // CustomEndpoint: "STRING_VALUE",
|
|
127
|
+
* // CustomEndpointCertificateArn: "STRING_VALUE",
|
|
128
|
+
* // },
|
|
129
|
+
* // AdvancedSecurityOptions: { // AdvancedSecurityOptions
|
|
130
|
+
* // Enabled: true || false,
|
|
131
|
+
* // InternalUserDatabaseEnabled: true || false,
|
|
132
|
+
* // SAMLOptions: { // SAMLOptionsOutput
|
|
133
|
+
* // Enabled: true || false,
|
|
134
|
+
* // Idp: { // SAMLIdp
|
|
135
|
+
* // MetadataContent: "STRING_VALUE", // required
|
|
136
|
+
* // EntityId: "STRING_VALUE", // required
|
|
137
|
+
* // },
|
|
138
|
+
* // SubjectKey: "STRING_VALUE",
|
|
139
|
+
* // RolesKey: "STRING_VALUE",
|
|
140
|
+
* // SessionTimeoutMinutes: Number("int"),
|
|
141
|
+
* // },
|
|
142
|
+
* // AnonymousAuthDisableDate: new Date("TIMESTAMP"),
|
|
143
|
+
* // AnonymousAuthEnabled: true || false,
|
|
144
|
+
* // },
|
|
145
|
+
* // AutoTuneOptions: { // AutoTuneOptionsOutput
|
|
146
|
+
* // State: "ENABLED" || "DISABLED" || "ENABLE_IN_PROGRESS" || "DISABLE_IN_PROGRESS" || "DISABLED_AND_ROLLBACK_SCHEDULED" || "DISABLED_AND_ROLLBACK_IN_PROGRESS" || "DISABLED_AND_ROLLBACK_COMPLETE" || "DISABLED_AND_ROLLBACK_ERROR" || "ERROR",
|
|
147
|
+
* // ErrorMessage: "STRING_VALUE",
|
|
148
|
+
* // UseOffPeakWindow: true || false,
|
|
149
|
+
* // },
|
|
150
|
+
* // ChangeProgressDetails: { // ChangeProgressDetails
|
|
151
|
+
* // ChangeId: "STRING_VALUE",
|
|
152
|
+
* // Message: "STRING_VALUE",
|
|
153
|
+
* // },
|
|
154
|
+
* // OffPeakWindowOptions: { // OffPeakWindowOptions
|
|
155
|
+
* // Enabled: true || false,
|
|
156
|
+
* // OffPeakWindow: { // OffPeakWindow
|
|
157
|
+
* // WindowStartTime: { // WindowStartTime
|
|
158
|
+
* // Hours: Number("long"), // required
|
|
159
|
+
* // Minutes: Number("long"), // required
|
|
160
|
+
* // },
|
|
161
|
+
* // },
|
|
162
|
+
* // },
|
|
163
|
+
* // SoftwareUpdateOptions: { // SoftwareUpdateOptions
|
|
164
|
+
* // AutoSoftwareUpdateEnabled: true || false,
|
|
165
|
+
* // },
|
|
166
|
+
* // },
|
|
167
|
+
* // };
|
|
168
|
+
*
|
|
35
169
|
* ```
|
|
36
170
|
*
|
|
37
171
|
* @param DescribeDomainCommandInput - {@link DescribeDomainCommandInput}
|
|
@@ -47,11 +181,13 @@ export interface DescribeDomainCommandOutput extends DescribeDomainResponse, __M
|
|
|
47
181
|
* <p>Request processing failed because of an unknown error, exception, or internal failure.</p>
|
|
48
182
|
*
|
|
49
183
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
50
|
-
* <p>An exception for accessing or deleting a resource that
|
|
184
|
+
* <p>An exception for accessing or deleting a resource that doesn't exist.</p>
|
|
51
185
|
*
|
|
52
186
|
* @throws {@link ValidationException} (client fault)
|
|
53
187
|
* <p>An exception for accessing or deleting a resource that doesn't exist.</p>
|
|
54
188
|
*
|
|
189
|
+
* @throws {@link OpenSearchServiceException}
|
|
190
|
+
* <p>Base exception class for all service exceptions from OpenSearch service.</p>
|
|
55
191
|
*
|
|
56
192
|
*/
|
|
57
193
|
export declare class DescribeDomainCommand extends $Command<DescribeDomainCommandInput, DescribeDomainCommandOutput, OpenSearchClientResolvedConfig> {
|
|
@@ -31,6 +31,214 @@ export interface DescribeDomainConfigCommandOutput extends DescribeDomainConfigR
|
|
|
31
31
|
* };
|
|
32
32
|
* const command = new DescribeDomainConfigCommand(input);
|
|
33
33
|
* const response = await client.send(command);
|
|
34
|
+
* // { // DescribeDomainConfigResponse
|
|
35
|
+
* // DomainConfig: { // DomainConfig
|
|
36
|
+
* // EngineVersion: { // VersionStatus
|
|
37
|
+
* // Options: "STRING_VALUE", // required
|
|
38
|
+
* // Status: { // OptionStatus
|
|
39
|
+
* // CreationDate: new Date("TIMESTAMP"), // required
|
|
40
|
+
* // UpdateDate: new Date("TIMESTAMP"), // required
|
|
41
|
+
* // UpdateVersion: Number("int"),
|
|
42
|
+
* // State: "RequiresIndexDocuments" || "Processing" || "Active", // required
|
|
43
|
+
* // PendingDeletion: true || false,
|
|
44
|
+
* // },
|
|
45
|
+
* // },
|
|
46
|
+
* // ClusterConfig: { // ClusterConfigStatus
|
|
47
|
+
* // Options: { // ClusterConfig
|
|
48
|
+
* // InstanceType: "m3.medium.search" || "m3.large.search" || "m3.xlarge.search" || "m3.2xlarge.search" || "m4.large.search" || "m4.xlarge.search" || "m4.2xlarge.search" || "m4.4xlarge.search" || "m4.10xlarge.search" || "m5.large.search" || "m5.xlarge.search" || "m5.2xlarge.search" || "m5.4xlarge.search" || "m5.12xlarge.search" || "m5.24xlarge.search" || "r5.large.search" || "r5.xlarge.search" || "r5.2xlarge.search" || "r5.4xlarge.search" || "r5.12xlarge.search" || "r5.24xlarge.search" || "c5.large.search" || "c5.xlarge.search" || "c5.2xlarge.search" || "c5.4xlarge.search" || "c5.9xlarge.search" || "c5.18xlarge.search" || "t3.nano.search" || "t3.micro.search" || "t3.small.search" || "t3.medium.search" || "t3.large.search" || "t3.xlarge.search" || "t3.2xlarge.search" || "ultrawarm1.medium.search" || "ultrawarm1.large.search" || "ultrawarm1.xlarge.search" || "t2.micro.search" || "t2.small.search" || "t2.medium.search" || "r3.large.search" || "r3.xlarge.search" || "r3.2xlarge.search" || "r3.4xlarge.search" || "r3.8xlarge.search" || "i2.xlarge.search" || "i2.2xlarge.search" || "d2.xlarge.search" || "d2.2xlarge.search" || "d2.4xlarge.search" || "d2.8xlarge.search" || "c4.large.search" || "c4.xlarge.search" || "c4.2xlarge.search" || "c4.4xlarge.search" || "c4.8xlarge.search" || "r4.large.search" || "r4.xlarge.search" || "r4.2xlarge.search" || "r4.4xlarge.search" || "r4.8xlarge.search" || "r4.16xlarge.search" || "i3.large.search" || "i3.xlarge.search" || "i3.2xlarge.search" || "i3.4xlarge.search" || "i3.8xlarge.search" || "i3.16xlarge.search" || "r6g.large.search" || "r6g.xlarge.search" || "r6g.2xlarge.search" || "r6g.4xlarge.search" || "r6g.8xlarge.search" || "r6g.12xlarge.search" || "m6g.large.search" || "m6g.xlarge.search" || "m6g.2xlarge.search" || "m6g.4xlarge.search" || "m6g.8xlarge.search" || "m6g.12xlarge.search" || "c6g.large.search" || "c6g.xlarge.search" || "c6g.2xlarge.search" || "c6g.4xlarge.search" || "c6g.8xlarge.search" || "c6g.12xlarge.search" || "r6gd.large.search" || "r6gd.xlarge.search" || "r6gd.2xlarge.search" || "r6gd.4xlarge.search" || "r6gd.8xlarge.search" || "r6gd.12xlarge.search" || "r6gd.16xlarge.search" || "t4g.small.search" || "t4g.medium.search",
|
|
49
|
+
* // InstanceCount: Number("int"),
|
|
50
|
+
* // DedicatedMasterEnabled: true || false,
|
|
51
|
+
* // ZoneAwarenessEnabled: true || false,
|
|
52
|
+
* // ZoneAwarenessConfig: { // ZoneAwarenessConfig
|
|
53
|
+
* // AvailabilityZoneCount: Number("int"),
|
|
54
|
+
* // },
|
|
55
|
+
* // DedicatedMasterType: "m3.medium.search" || "m3.large.search" || "m3.xlarge.search" || "m3.2xlarge.search" || "m4.large.search" || "m4.xlarge.search" || "m4.2xlarge.search" || "m4.4xlarge.search" || "m4.10xlarge.search" || "m5.large.search" || "m5.xlarge.search" || "m5.2xlarge.search" || "m5.4xlarge.search" || "m5.12xlarge.search" || "m5.24xlarge.search" || "r5.large.search" || "r5.xlarge.search" || "r5.2xlarge.search" || "r5.4xlarge.search" || "r5.12xlarge.search" || "r5.24xlarge.search" || "c5.large.search" || "c5.xlarge.search" || "c5.2xlarge.search" || "c5.4xlarge.search" || "c5.9xlarge.search" || "c5.18xlarge.search" || "t3.nano.search" || "t3.micro.search" || "t3.small.search" || "t3.medium.search" || "t3.large.search" || "t3.xlarge.search" || "t3.2xlarge.search" || "ultrawarm1.medium.search" || "ultrawarm1.large.search" || "ultrawarm1.xlarge.search" || "t2.micro.search" || "t2.small.search" || "t2.medium.search" || "r3.large.search" || "r3.xlarge.search" || "r3.2xlarge.search" || "r3.4xlarge.search" || "r3.8xlarge.search" || "i2.xlarge.search" || "i2.2xlarge.search" || "d2.xlarge.search" || "d2.2xlarge.search" || "d2.4xlarge.search" || "d2.8xlarge.search" || "c4.large.search" || "c4.xlarge.search" || "c4.2xlarge.search" || "c4.4xlarge.search" || "c4.8xlarge.search" || "r4.large.search" || "r4.xlarge.search" || "r4.2xlarge.search" || "r4.4xlarge.search" || "r4.8xlarge.search" || "r4.16xlarge.search" || "i3.large.search" || "i3.xlarge.search" || "i3.2xlarge.search" || "i3.4xlarge.search" || "i3.8xlarge.search" || "i3.16xlarge.search" || "r6g.large.search" || "r6g.xlarge.search" || "r6g.2xlarge.search" || "r6g.4xlarge.search" || "r6g.8xlarge.search" || "r6g.12xlarge.search" || "m6g.large.search" || "m6g.xlarge.search" || "m6g.2xlarge.search" || "m6g.4xlarge.search" || "m6g.8xlarge.search" || "m6g.12xlarge.search" || "c6g.large.search" || "c6g.xlarge.search" || "c6g.2xlarge.search" || "c6g.4xlarge.search" || "c6g.8xlarge.search" || "c6g.12xlarge.search" || "r6gd.large.search" || "r6gd.xlarge.search" || "r6gd.2xlarge.search" || "r6gd.4xlarge.search" || "r6gd.8xlarge.search" || "r6gd.12xlarge.search" || "r6gd.16xlarge.search" || "t4g.small.search" || "t4g.medium.search",
|
|
56
|
+
* // DedicatedMasterCount: Number("int"),
|
|
57
|
+
* // WarmEnabled: true || false,
|
|
58
|
+
* // WarmType: "ultrawarm1.medium.search" || "ultrawarm1.large.search" || "ultrawarm1.xlarge.search",
|
|
59
|
+
* // WarmCount: Number("int"),
|
|
60
|
+
* // ColdStorageOptions: { // ColdStorageOptions
|
|
61
|
+
* // Enabled: true || false, // required
|
|
62
|
+
* // },
|
|
63
|
+
* // MultiAZWithStandbyEnabled: true || false,
|
|
64
|
+
* // },
|
|
65
|
+
* // Status: {
|
|
66
|
+
* // CreationDate: new Date("TIMESTAMP"), // required
|
|
67
|
+
* // UpdateDate: new Date("TIMESTAMP"), // required
|
|
68
|
+
* // UpdateVersion: Number("int"),
|
|
69
|
+
* // State: "RequiresIndexDocuments" || "Processing" || "Active", // required
|
|
70
|
+
* // PendingDeletion: true || false,
|
|
71
|
+
* // },
|
|
72
|
+
* // },
|
|
73
|
+
* // EBSOptions: { // EBSOptionsStatus
|
|
74
|
+
* // Options: { // EBSOptions
|
|
75
|
+
* // EBSEnabled: true || false,
|
|
76
|
+
* // VolumeType: "standard" || "gp2" || "io1" || "gp3",
|
|
77
|
+
* // VolumeSize: Number("int"),
|
|
78
|
+
* // Iops: Number("int"),
|
|
79
|
+
* // Throughput: Number("int"),
|
|
80
|
+
* // },
|
|
81
|
+
* // Status: {
|
|
82
|
+
* // CreationDate: new Date("TIMESTAMP"), // required
|
|
83
|
+
* // UpdateDate: new Date("TIMESTAMP"), // required
|
|
84
|
+
* // UpdateVersion: Number("int"),
|
|
85
|
+
* // State: "RequiresIndexDocuments" || "Processing" || "Active", // required
|
|
86
|
+
* // PendingDeletion: true || false,
|
|
87
|
+
* // },
|
|
88
|
+
* // },
|
|
89
|
+
* // AccessPolicies: { // AccessPoliciesStatus
|
|
90
|
+
* // Options: "STRING_VALUE", // required
|
|
91
|
+
* // Status: {
|
|
92
|
+
* // CreationDate: new Date("TIMESTAMP"), // required
|
|
93
|
+
* // UpdateDate: new Date("TIMESTAMP"), // required
|
|
94
|
+
* // UpdateVersion: Number("int"),
|
|
95
|
+
* // State: "RequiresIndexDocuments" || "Processing" || "Active", // required
|
|
96
|
+
* // PendingDeletion: true || false,
|
|
97
|
+
* // },
|
|
98
|
+
* // },
|
|
99
|
+
* // SnapshotOptions: { // SnapshotOptionsStatus
|
|
100
|
+
* // Options: { // SnapshotOptions
|
|
101
|
+
* // AutomatedSnapshotStartHour: Number("int"),
|
|
102
|
+
* // },
|
|
103
|
+
* // Status: {
|
|
104
|
+
* // CreationDate: new Date("TIMESTAMP"), // required
|
|
105
|
+
* // UpdateDate: new Date("TIMESTAMP"), // required
|
|
106
|
+
* // UpdateVersion: Number("int"),
|
|
107
|
+
* // State: "RequiresIndexDocuments" || "Processing" || "Active", // required
|
|
108
|
+
* // PendingDeletion: true || false,
|
|
109
|
+
* // },
|
|
110
|
+
* // },
|
|
111
|
+
* // VPCOptions: { // VPCDerivedInfoStatus
|
|
112
|
+
* // Options: { // VPCDerivedInfo
|
|
113
|
+
* // VPCId: "STRING_VALUE",
|
|
114
|
+
* // SubnetIds: [ // StringList
|
|
115
|
+
* // "STRING_VALUE",
|
|
116
|
+
* // ],
|
|
117
|
+
* // AvailabilityZones: [
|
|
118
|
+
* // "STRING_VALUE",
|
|
119
|
+
* // ],
|
|
120
|
+
* // SecurityGroupIds: [
|
|
121
|
+
* // "STRING_VALUE",
|
|
122
|
+
* // ],
|
|
123
|
+
* // },
|
|
124
|
+
* // Status: "<OptionStatus>", // required
|
|
125
|
+
* // },
|
|
126
|
+
* // CognitoOptions: { // CognitoOptionsStatus
|
|
127
|
+
* // Options: { // CognitoOptions
|
|
128
|
+
* // Enabled: true || false,
|
|
129
|
+
* // UserPoolId: "STRING_VALUE",
|
|
130
|
+
* // IdentityPoolId: "STRING_VALUE",
|
|
131
|
+
* // RoleArn: "STRING_VALUE",
|
|
132
|
+
* // },
|
|
133
|
+
* // Status: "<OptionStatus>", // required
|
|
134
|
+
* // },
|
|
135
|
+
* // EncryptionAtRestOptions: { // EncryptionAtRestOptionsStatus
|
|
136
|
+
* // Options: { // EncryptionAtRestOptions
|
|
137
|
+
* // Enabled: true || false,
|
|
138
|
+
* // KmsKeyId: "STRING_VALUE",
|
|
139
|
+
* // },
|
|
140
|
+
* // Status: "<OptionStatus>", // required
|
|
141
|
+
* // },
|
|
142
|
+
* // NodeToNodeEncryptionOptions: { // NodeToNodeEncryptionOptionsStatus
|
|
143
|
+
* // Options: { // NodeToNodeEncryptionOptions
|
|
144
|
+
* // Enabled: true || false,
|
|
145
|
+
* // },
|
|
146
|
+
* // Status: "<OptionStatus>", // required
|
|
147
|
+
* // },
|
|
148
|
+
* // AdvancedOptions: { // AdvancedOptionsStatus
|
|
149
|
+
* // Options: { // AdvancedOptions // required
|
|
150
|
+
* // "<keys>": "STRING_VALUE",
|
|
151
|
+
* // },
|
|
152
|
+
* // Status: "<OptionStatus>", // required
|
|
153
|
+
* // },
|
|
154
|
+
* // LogPublishingOptions: { // LogPublishingOptionsStatus
|
|
155
|
+
* // Options: { // LogPublishingOptions
|
|
156
|
+
* // "<keys>": { // LogPublishingOption
|
|
157
|
+
* // CloudWatchLogsLogGroupArn: "STRING_VALUE",
|
|
158
|
+
* // Enabled: true || false,
|
|
159
|
+
* // },
|
|
160
|
+
* // },
|
|
161
|
+
* // Status: "<OptionStatus>",
|
|
162
|
+
* // },
|
|
163
|
+
* // DomainEndpointOptions: { // DomainEndpointOptionsStatus
|
|
164
|
+
* // Options: { // DomainEndpointOptions
|
|
165
|
+
* // EnforceHTTPS: true || false,
|
|
166
|
+
* // TLSSecurityPolicy: "Policy-Min-TLS-1-0-2019-07" || "Policy-Min-TLS-1-2-2019-07",
|
|
167
|
+
* // CustomEndpointEnabled: true || false,
|
|
168
|
+
* // CustomEndpoint: "STRING_VALUE",
|
|
169
|
+
* // CustomEndpointCertificateArn: "STRING_VALUE",
|
|
170
|
+
* // },
|
|
171
|
+
* // Status: "<OptionStatus>", // required
|
|
172
|
+
* // },
|
|
173
|
+
* // AdvancedSecurityOptions: { // AdvancedSecurityOptionsStatus
|
|
174
|
+
* // Options: { // AdvancedSecurityOptions
|
|
175
|
+
* // Enabled: true || false,
|
|
176
|
+
* // InternalUserDatabaseEnabled: true || false,
|
|
177
|
+
* // SAMLOptions: { // SAMLOptionsOutput
|
|
178
|
+
* // Enabled: true || false,
|
|
179
|
+
* // Idp: { // SAMLIdp
|
|
180
|
+
* // MetadataContent: "STRING_VALUE", // required
|
|
181
|
+
* // EntityId: "STRING_VALUE", // required
|
|
182
|
+
* // },
|
|
183
|
+
* // SubjectKey: "STRING_VALUE",
|
|
184
|
+
* // RolesKey: "STRING_VALUE",
|
|
185
|
+
* // SessionTimeoutMinutes: Number("int"),
|
|
186
|
+
* // },
|
|
187
|
+
* // AnonymousAuthDisableDate: new Date("TIMESTAMP"),
|
|
188
|
+
* // AnonymousAuthEnabled: true || false,
|
|
189
|
+
* // },
|
|
190
|
+
* // Status: "<OptionStatus>", // required
|
|
191
|
+
* // },
|
|
192
|
+
* // AutoTuneOptions: { // AutoTuneOptionsStatus
|
|
193
|
+
* // Options: { // AutoTuneOptions
|
|
194
|
+
* // DesiredState: "ENABLED" || "DISABLED",
|
|
195
|
+
* // RollbackOnDisable: "NO_ROLLBACK" || "DEFAULT_ROLLBACK",
|
|
196
|
+
* // MaintenanceSchedules: [ // AutoTuneMaintenanceScheduleList
|
|
197
|
+
* // { // AutoTuneMaintenanceSchedule
|
|
198
|
+
* // StartAt: new Date("TIMESTAMP"),
|
|
199
|
+
* // Duration: { // Duration
|
|
200
|
+
* // Value: Number("long"),
|
|
201
|
+
* // Unit: "HOURS",
|
|
202
|
+
* // },
|
|
203
|
+
* // CronExpressionForRecurrence: "STRING_VALUE",
|
|
204
|
+
* // },
|
|
205
|
+
* // ],
|
|
206
|
+
* // UseOffPeakWindow: true || false,
|
|
207
|
+
* // },
|
|
208
|
+
* // Status: { // AutoTuneStatus
|
|
209
|
+
* // CreationDate: new Date("TIMESTAMP"), // required
|
|
210
|
+
* // UpdateDate: new Date("TIMESTAMP"), // required
|
|
211
|
+
* // UpdateVersion: Number("int"),
|
|
212
|
+
* // State: "ENABLED" || "DISABLED" || "ENABLE_IN_PROGRESS" || "DISABLE_IN_PROGRESS" || "DISABLED_AND_ROLLBACK_SCHEDULED" || "DISABLED_AND_ROLLBACK_IN_PROGRESS" || "DISABLED_AND_ROLLBACK_COMPLETE" || "DISABLED_AND_ROLLBACK_ERROR" || "ERROR", // required
|
|
213
|
+
* // ErrorMessage: "STRING_VALUE",
|
|
214
|
+
* // PendingDeletion: true || false,
|
|
215
|
+
* // },
|
|
216
|
+
* // },
|
|
217
|
+
* // ChangeProgressDetails: { // ChangeProgressDetails
|
|
218
|
+
* // ChangeId: "STRING_VALUE",
|
|
219
|
+
* // Message: "STRING_VALUE",
|
|
220
|
+
* // },
|
|
221
|
+
* // OffPeakWindowOptions: { // OffPeakWindowOptionsStatus
|
|
222
|
+
* // Options: { // OffPeakWindowOptions
|
|
223
|
+
* // Enabled: true || false,
|
|
224
|
+
* // OffPeakWindow: { // OffPeakWindow
|
|
225
|
+
* // WindowStartTime: { // WindowStartTime
|
|
226
|
+
* // Hours: Number("long"), // required
|
|
227
|
+
* // Minutes: Number("long"), // required
|
|
228
|
+
* // },
|
|
229
|
+
* // },
|
|
230
|
+
* // },
|
|
231
|
+
* // Status: "<OptionStatus>",
|
|
232
|
+
* // },
|
|
233
|
+
* // SoftwareUpdateOptions: { // SoftwareUpdateOptionsStatus
|
|
234
|
+
* // Options: { // SoftwareUpdateOptions
|
|
235
|
+
* // AutoSoftwareUpdateEnabled: true || false,
|
|
236
|
+
* // },
|
|
237
|
+
* // Status: "<OptionStatus>",
|
|
238
|
+
* // },
|
|
239
|
+
* // },
|
|
240
|
+
* // };
|
|
241
|
+
*
|
|
34
242
|
* ```
|
|
35
243
|
*
|
|
36
244
|
* @param DescribeDomainConfigCommandInput - {@link DescribeDomainConfigCommandInput}
|
|
@@ -46,11 +254,13 @@ export interface DescribeDomainConfigCommandOutput extends DescribeDomainConfigR
|
|
|
46
254
|
* <p>Request processing failed because of an unknown error, exception, or internal failure.</p>
|
|
47
255
|
*
|
|
48
256
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
49
|
-
* <p>An exception for accessing or deleting a resource that
|
|
257
|
+
* <p>An exception for accessing or deleting a resource that doesn't exist.</p>
|
|
50
258
|
*
|
|
51
259
|
* @throws {@link ValidationException} (client fault)
|
|
52
260
|
* <p>An exception for accessing or deleting a resource that doesn't exist.</p>
|
|
53
261
|
*
|
|
262
|
+
* @throws {@link OpenSearchServiceException}
|
|
263
|
+
* <p>Base exception class for all service exceptions from OpenSearch service.</p>
|
|
54
264
|
*
|
|
55
265
|
*/
|
|
56
266
|
export declare class DescribeDomainConfigCommand extends $Command<DescribeDomainConfigCommandInput, DescribeDomainConfigCommandOutput, OpenSearchClientResolvedConfig> {
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { DescribeDomainHealthRequest, DescribeDomainHealthResponse } from "../models/models_0";
|
|
5
|
+
import { OpenSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
9
|
+
* The input for {@link DescribeDomainHealthCommand}.
|
|
10
|
+
*/
|
|
11
|
+
export interface DescribeDomainHealthCommandInput extends DescribeDomainHealthRequest {
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
16
|
+
* The output of {@link DescribeDomainHealthCommand}.
|
|
17
|
+
*/
|
|
18
|
+
export interface DescribeDomainHealthCommandOutput extends DescribeDomainHealthResponse, __MetadataBearer {
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* @public
|
|
22
|
+
* <p>Returns information about domain and node health, the standby Availability Zone, number of nodes per Availability Zone, and shard count per node.</p>
|
|
23
|
+
* @example
|
|
24
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
25
|
+
* ```javascript
|
|
26
|
+
* import { OpenSearchClient, DescribeDomainHealthCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
27
|
+
* // const { OpenSearchClient, DescribeDomainHealthCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
28
|
+
* const client = new OpenSearchClient(config);
|
|
29
|
+
* const input = { // DescribeDomainHealthRequest
|
|
30
|
+
* DomainName: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
32
|
+
* const command = new DescribeDomainHealthCommand(input);
|
|
33
|
+
* const response = await client.send(command);
|
|
34
|
+
* // { // DescribeDomainHealthResponse
|
|
35
|
+
* // DomainState: "Active" || "Processing" || "NotAvailable",
|
|
36
|
+
* // AvailabilityZoneCount: "STRING_VALUE",
|
|
37
|
+
* // ActiveAvailabilityZoneCount: "STRING_VALUE",
|
|
38
|
+
* // StandByAvailabilityZoneCount: "STRING_VALUE",
|
|
39
|
+
* // DataNodeCount: "STRING_VALUE",
|
|
40
|
+
* // DedicatedMaster: true || false,
|
|
41
|
+
* // MasterEligibleNodeCount: "STRING_VALUE",
|
|
42
|
+
* // WarmNodeCount: "STRING_VALUE",
|
|
43
|
+
* // MasterNode: "Available" || "UnAvailable",
|
|
44
|
+
* // ClusterHealth: "Red" || "Yellow" || "Green" || "NotAvailable",
|
|
45
|
+
* // TotalShards: "STRING_VALUE",
|
|
46
|
+
* // TotalUnAssignedShards: "STRING_VALUE",
|
|
47
|
+
* // EnvironmentInformation: [ // EnvironmentInfoList
|
|
48
|
+
* // { // EnvironmentInfo
|
|
49
|
+
* // AvailabilityZoneInformation: [ // AvailabilityZoneInfoList
|
|
50
|
+
* // { // AvailabilityZoneInfo
|
|
51
|
+
* // AvailabilityZoneName: "STRING_VALUE",
|
|
52
|
+
* // ZoneStatus: "Active" || "StandBy" || "NotAvailable",
|
|
53
|
+
* // ConfiguredDataNodeCount: "STRING_VALUE",
|
|
54
|
+
* // AvailableDataNodeCount: "STRING_VALUE",
|
|
55
|
+
* // TotalShards: "STRING_VALUE",
|
|
56
|
+
* // TotalUnAssignedShards: "STRING_VALUE",
|
|
57
|
+
* // },
|
|
58
|
+
* // ],
|
|
59
|
+
* // },
|
|
60
|
+
* // ],
|
|
61
|
+
* // };
|
|
62
|
+
*
|
|
63
|
+
* ```
|
|
64
|
+
*
|
|
65
|
+
* @param DescribeDomainHealthCommandInput - {@link DescribeDomainHealthCommandInput}
|
|
66
|
+
* @returns {@link DescribeDomainHealthCommandOutput}
|
|
67
|
+
* @see {@link DescribeDomainHealthCommandInput} for command's `input` shape.
|
|
68
|
+
* @see {@link DescribeDomainHealthCommandOutput} for command's `response` shape.
|
|
69
|
+
* @see {@link OpenSearchClientResolvedConfig | config} for OpenSearchClient's `config` shape.
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link BaseException} (client fault)
|
|
72
|
+
* <p>An error occurred while processing the request.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link DisabledOperationException} (client fault)
|
|
75
|
+
* <p>An error occured because the client wanted to access an unsupported operation.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link InternalException} (server fault)
|
|
78
|
+
* <p>Request processing failed because of an unknown error, exception, or internal failure.</p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
81
|
+
* <p>An exception for accessing or deleting a resource that doesn't exist.</p>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link ValidationException} (client fault)
|
|
84
|
+
* <p>An exception for accessing or deleting a resource that doesn't exist.</p>
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link OpenSearchServiceException}
|
|
87
|
+
* <p>Base exception class for all service exceptions from OpenSearch service.</p>
|
|
88
|
+
*
|
|
89
|
+
*/
|
|
90
|
+
export declare class DescribeDomainHealthCommand extends $Command<DescribeDomainHealthCommandInput, DescribeDomainHealthCommandOutput, OpenSearchClientResolvedConfig> {
|
|
91
|
+
readonly input: DescribeDomainHealthCommandInput;
|
|
92
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
93
|
+
/**
|
|
94
|
+
* @public
|
|
95
|
+
*/
|
|
96
|
+
constructor(input: DescribeDomainHealthCommandInput);
|
|
97
|
+
/**
|
|
98
|
+
* @internal
|
|
99
|
+
*/
|
|
100
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: OpenSearchClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeDomainHealthCommandInput, DescribeDomainHealthCommandOutput>;
|
|
101
|
+
/**
|
|
102
|
+
* @internal
|
|
103
|
+
*/
|
|
104
|
+
private serialize;
|
|
105
|
+
/**
|
|
106
|
+
* @internal
|
|
107
|
+
*/
|
|
108
|
+
private deserialize;
|
|
109
|
+
}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { DescribeDomainNodesRequest, DescribeDomainNodesResponse } from "../models/models_0";
|
|
5
|
+
import { OpenSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
9
|
+
* The input for {@link DescribeDomainNodesCommand}.
|
|
10
|
+
*/
|
|
11
|
+
export interface DescribeDomainNodesCommandInput extends DescribeDomainNodesRequest {
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
16
|
+
* The output of {@link DescribeDomainNodesCommand}.
|
|
17
|
+
*/
|
|
18
|
+
export interface DescribeDomainNodesCommandOutput extends DescribeDomainNodesResponse, __MetadataBearer {
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* @public
|
|
22
|
+
* <p>Returns information about domain and nodes, including data nodes, master nodes, ultrawarm
|
|
23
|
+
* nodes, Availability Zone(s), standby nodes, node configurations, and node states.</p>
|
|
24
|
+
* @example
|
|
25
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
26
|
+
* ```javascript
|
|
27
|
+
* import { OpenSearchClient, DescribeDomainNodesCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
28
|
+
* // const { OpenSearchClient, DescribeDomainNodesCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
29
|
+
* const client = new OpenSearchClient(config);
|
|
30
|
+
* const input = { // DescribeDomainNodesRequest
|
|
31
|
+
* DomainName: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
33
|
+
* const command = new DescribeDomainNodesCommand(input);
|
|
34
|
+
* const response = await client.send(command);
|
|
35
|
+
* // { // DescribeDomainNodesResponse
|
|
36
|
+
* // DomainNodesStatusList: [ // DomainNodesStatusList
|
|
37
|
+
* // { // DomainNodesStatus
|
|
38
|
+
* // NodeId: "STRING_VALUE",
|
|
39
|
+
* // NodeType: "Data" || "Ultrawarm" || "Master",
|
|
40
|
+
* // AvailabilityZone: "STRING_VALUE",
|
|
41
|
+
* // InstanceType: "m3.medium.search" || "m3.large.search" || "m3.xlarge.search" || "m3.2xlarge.search" || "m4.large.search" || "m4.xlarge.search" || "m4.2xlarge.search" || "m4.4xlarge.search" || "m4.10xlarge.search" || "m5.large.search" || "m5.xlarge.search" || "m5.2xlarge.search" || "m5.4xlarge.search" || "m5.12xlarge.search" || "m5.24xlarge.search" || "r5.large.search" || "r5.xlarge.search" || "r5.2xlarge.search" || "r5.4xlarge.search" || "r5.12xlarge.search" || "r5.24xlarge.search" || "c5.large.search" || "c5.xlarge.search" || "c5.2xlarge.search" || "c5.4xlarge.search" || "c5.9xlarge.search" || "c5.18xlarge.search" || "t3.nano.search" || "t3.micro.search" || "t3.small.search" || "t3.medium.search" || "t3.large.search" || "t3.xlarge.search" || "t3.2xlarge.search" || "ultrawarm1.medium.search" || "ultrawarm1.large.search" || "ultrawarm1.xlarge.search" || "t2.micro.search" || "t2.small.search" || "t2.medium.search" || "r3.large.search" || "r3.xlarge.search" || "r3.2xlarge.search" || "r3.4xlarge.search" || "r3.8xlarge.search" || "i2.xlarge.search" || "i2.2xlarge.search" || "d2.xlarge.search" || "d2.2xlarge.search" || "d2.4xlarge.search" || "d2.8xlarge.search" || "c4.large.search" || "c4.xlarge.search" || "c4.2xlarge.search" || "c4.4xlarge.search" || "c4.8xlarge.search" || "r4.large.search" || "r4.xlarge.search" || "r4.2xlarge.search" || "r4.4xlarge.search" || "r4.8xlarge.search" || "r4.16xlarge.search" || "i3.large.search" || "i3.xlarge.search" || "i3.2xlarge.search" || "i3.4xlarge.search" || "i3.8xlarge.search" || "i3.16xlarge.search" || "r6g.large.search" || "r6g.xlarge.search" || "r6g.2xlarge.search" || "r6g.4xlarge.search" || "r6g.8xlarge.search" || "r6g.12xlarge.search" || "m6g.large.search" || "m6g.xlarge.search" || "m6g.2xlarge.search" || "m6g.4xlarge.search" || "m6g.8xlarge.search" || "m6g.12xlarge.search" || "c6g.large.search" || "c6g.xlarge.search" || "c6g.2xlarge.search" || "c6g.4xlarge.search" || "c6g.8xlarge.search" || "c6g.12xlarge.search" || "r6gd.large.search" || "r6gd.xlarge.search" || "r6gd.2xlarge.search" || "r6gd.4xlarge.search" || "r6gd.8xlarge.search" || "r6gd.12xlarge.search" || "r6gd.16xlarge.search" || "t4g.small.search" || "t4g.medium.search",
|
|
42
|
+
* // NodeStatus: "Active" || "StandBy" || "NotAvailable",
|
|
43
|
+
* // StorageType: "STRING_VALUE",
|
|
44
|
+
* // StorageVolumeType: "standard" || "gp2" || "io1" || "gp3",
|
|
45
|
+
* // StorageSize: "STRING_VALUE",
|
|
46
|
+
* // },
|
|
47
|
+
* // ],
|
|
48
|
+
* // };
|
|
49
|
+
*
|
|
50
|
+
* ```
|
|
51
|
+
*
|
|
52
|
+
* @param DescribeDomainNodesCommandInput - {@link DescribeDomainNodesCommandInput}
|
|
53
|
+
* @returns {@link DescribeDomainNodesCommandOutput}
|
|
54
|
+
* @see {@link DescribeDomainNodesCommandInput} for command's `input` shape.
|
|
55
|
+
* @see {@link DescribeDomainNodesCommandOutput} for command's `response` shape.
|
|
56
|
+
* @see {@link OpenSearchClientResolvedConfig | config} for OpenSearchClient's `config` shape.
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link BaseException} (client fault)
|
|
59
|
+
* <p>An error occurred while processing the request.</p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link DependencyFailureException} (client fault)
|
|
62
|
+
* <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>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link DisabledOperationException} (client fault)
|
|
65
|
+
* <p>An error occured because the client wanted to access an unsupported operation.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link InternalException} (server fault)
|
|
68
|
+
* <p>Request processing failed because of an unknown error, exception, or internal failure.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
71
|
+
* <p>An exception for accessing or deleting a resource that doesn't exist.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link ValidationException} (client fault)
|
|
74
|
+
* <p>An exception for accessing or deleting a resource that doesn't exist.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link OpenSearchServiceException}
|
|
77
|
+
* <p>Base exception class for all service exceptions from OpenSearch service.</p>
|
|
78
|
+
*
|
|
79
|
+
*/
|
|
80
|
+
export declare class DescribeDomainNodesCommand extends $Command<DescribeDomainNodesCommandInput, DescribeDomainNodesCommandOutput, OpenSearchClientResolvedConfig> {
|
|
81
|
+
readonly input: DescribeDomainNodesCommandInput;
|
|
82
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
83
|
+
/**
|
|
84
|
+
* @public
|
|
85
|
+
*/
|
|
86
|
+
constructor(input: DescribeDomainNodesCommandInput);
|
|
87
|
+
/**
|
|
88
|
+
* @internal
|
|
89
|
+
*/
|
|
90
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: OpenSearchClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeDomainNodesCommandInput, DescribeDomainNodesCommandOutput>;
|
|
91
|
+
/**
|
|
92
|
+
* @internal
|
|
93
|
+
*/
|
|
94
|
+
private serialize;
|
|
95
|
+
/**
|
|
96
|
+
* @internal
|
|
97
|
+
*/
|
|
98
|
+
private deserialize;
|
|
99
|
+
}
|