@aws-sdk/client-opensearch 3.301.0 → 3.306.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.
@@ -4,22 +4,20 @@ exports.AdvancedSecurityOptionsInputFilterSensitiveLog = exports.SAMLOptionsInpu
4
4
  exports.UpdateDomainConfigRequestFilterSensitiveLog = exports.CreateDomainRequestFilterSensitiveLog = void 0;
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const OpenSearchServiceException_1 = require("./OpenSearchServiceException");
7
- var ConnectionMode;
8
- (function (ConnectionMode) {
9
- ConnectionMode["DIRECT"] = "DIRECT";
10
- ConnectionMode["VPC_ENDPOINT"] = "VPC_ENDPOINT";
11
- })(ConnectionMode = exports.ConnectionMode || (exports.ConnectionMode = {}));
12
- var InboundConnectionStatusCode;
13
- (function (InboundConnectionStatusCode) {
14
- InboundConnectionStatusCode["ACTIVE"] = "ACTIVE";
15
- InboundConnectionStatusCode["APPROVED"] = "APPROVED";
16
- InboundConnectionStatusCode["DELETED"] = "DELETED";
17
- InboundConnectionStatusCode["DELETING"] = "DELETING";
18
- InboundConnectionStatusCode["PENDING_ACCEPTANCE"] = "PENDING_ACCEPTANCE";
19
- InboundConnectionStatusCode["PROVISIONING"] = "PROVISIONING";
20
- InboundConnectionStatusCode["REJECTED"] = "REJECTED";
21
- InboundConnectionStatusCode["REJECTING"] = "REJECTING";
22
- })(InboundConnectionStatusCode = exports.InboundConnectionStatusCode || (exports.InboundConnectionStatusCode = {}));
7
+ exports.ConnectionMode = {
8
+ DIRECT: "DIRECT",
9
+ VPC_ENDPOINT: "VPC_ENDPOINT",
10
+ };
11
+ exports.InboundConnectionStatusCode = {
12
+ ACTIVE: "ACTIVE",
13
+ APPROVED: "APPROVED",
14
+ DELETED: "DELETED",
15
+ DELETING: "DELETING",
16
+ PENDING_ACCEPTANCE: "PENDING_ACCEPTANCE",
17
+ PROVISIONING: "PROVISIONING",
18
+ REJECTED: "REJECTED",
19
+ REJECTING: "REJECTING",
20
+ };
23
21
  class DisabledOperationException extends OpenSearchServiceException_1.OpenSearchServiceException {
24
22
  constructor(opts) {
25
23
  super({
@@ -72,33 +70,29 @@ class AccessDeniedException extends OpenSearchServiceException_1.OpenSearchServi
72
70
  }
73
71
  }
74
72
  exports.AccessDeniedException = AccessDeniedException;
75
- var OptionState;
76
- (function (OptionState) {
77
- OptionState["Active"] = "Active";
78
- OptionState["Processing"] = "Processing";
79
- OptionState["RequiresIndexDocuments"] = "RequiresIndexDocuments";
80
- })(OptionState = exports.OptionState || (exports.OptionState = {}));
81
- var ActionSeverity;
82
- (function (ActionSeverity) {
83
- ActionSeverity["HIGH"] = "HIGH";
84
- ActionSeverity["LOW"] = "LOW";
85
- ActionSeverity["MEDIUM"] = "MEDIUM";
86
- })(ActionSeverity = exports.ActionSeverity || (exports.ActionSeverity = {}));
87
- var ActionStatus;
88
- (function (ActionStatus) {
89
- ActionStatus["COMPLETED"] = "COMPLETED";
90
- ActionStatus["ELIGIBLE"] = "ELIGIBLE";
91
- ActionStatus["FAILED"] = "FAILED";
92
- ActionStatus["IN_PROGRESS"] = "IN_PROGRESS";
93
- ActionStatus["NOT_ELIGIBLE"] = "NOT_ELIGIBLE";
94
- ActionStatus["PENDING_UPDATE"] = "PENDING_UPDATE";
95
- })(ActionStatus = exports.ActionStatus || (exports.ActionStatus = {}));
96
- var ActionType;
97
- (function (ActionType) {
98
- ActionType["JVM_HEAP_SIZE_TUNING"] = "JVM_HEAP_SIZE_TUNING";
99
- ActionType["JVM_YOUNG_GEN_TUNING"] = "JVM_YOUNG_GEN_TUNING";
100
- ActionType["SERVICE_SOFTWARE_UPDATE"] = "SERVICE_SOFTWARE_UPDATE";
101
- })(ActionType = exports.ActionType || (exports.ActionType = {}));
73
+ exports.OptionState = {
74
+ Active: "Active",
75
+ Processing: "Processing",
76
+ RequiresIndexDocuments: "RequiresIndexDocuments",
77
+ };
78
+ exports.ActionSeverity = {
79
+ HIGH: "HIGH",
80
+ LOW: "LOW",
81
+ MEDIUM: "MEDIUM",
82
+ };
83
+ exports.ActionStatus = {
84
+ COMPLETED: "COMPLETED",
85
+ ELIGIBLE: "ELIGIBLE",
86
+ FAILED: "FAILED",
87
+ IN_PROGRESS: "IN_PROGRESS",
88
+ NOT_ELIGIBLE: "NOT_ELIGIBLE",
89
+ PENDING_UPDATE: "PENDING_UPDATE",
90
+ };
91
+ exports.ActionType = {
92
+ JVM_HEAP_SIZE_TUNING: "JVM_HEAP_SIZE_TUNING",
93
+ JVM_YOUNG_GEN_TUNING: "JVM_YOUNG_GEN_TUNING",
94
+ SERVICE_SOFTWARE_UPDATE: "SERVICE_SOFTWARE_UPDATE",
95
+ };
102
96
  class BaseException extends OpenSearchServiceException_1.OpenSearchServiceException {
103
97
  constructor(opts) {
104
98
  super({
@@ -138,18 +132,16 @@ class ValidationException extends OpenSearchServiceException_1.OpenSearchService
138
132
  }
139
133
  }
140
134
  exports.ValidationException = ValidationException;
141
- var DomainPackageStatus;
142
- (function (DomainPackageStatus) {
143
- DomainPackageStatus["ACTIVE"] = "ACTIVE";
144
- DomainPackageStatus["ASSOCIATING"] = "ASSOCIATING";
145
- DomainPackageStatus["ASSOCIATION_FAILED"] = "ASSOCIATION_FAILED";
146
- DomainPackageStatus["DISSOCIATING"] = "DISSOCIATING";
147
- DomainPackageStatus["DISSOCIATION_FAILED"] = "DISSOCIATION_FAILED";
148
- })(DomainPackageStatus = exports.DomainPackageStatus || (exports.DomainPackageStatus = {}));
149
- var PackageType;
150
- (function (PackageType) {
151
- PackageType["TXT_DICTIONARY"] = "TXT-DICTIONARY";
152
- })(PackageType = exports.PackageType || (exports.PackageType = {}));
135
+ exports.DomainPackageStatus = {
136
+ ACTIVE: "ACTIVE",
137
+ ASSOCIATING: "ASSOCIATING",
138
+ ASSOCIATION_FAILED: "ASSOCIATION_FAILED",
139
+ DISSOCIATING: "DISSOCIATING",
140
+ DISSOCIATION_FAILED: "DISSOCIATION_FAILED",
141
+ };
142
+ exports.PackageType = {
143
+ TXT_DICTIONARY: "TXT-DICTIONARY",
144
+ };
153
145
  class ConflictException extends OpenSearchServiceException_1.OpenSearchServiceException {
154
146
  constructor(opts) {
155
147
  super({
@@ -163,163 +155,153 @@ class ConflictException extends OpenSearchServiceException_1.OpenSearchServiceEx
163
155
  }
164
156
  }
165
157
  exports.ConflictException = ConflictException;
166
- var PrincipalType;
167
- (function (PrincipalType) {
168
- PrincipalType["AWS_ACCOUNT"] = "AWS_ACCOUNT";
169
- PrincipalType["AWS_SERVICE"] = "AWS_SERVICE";
170
- })(PrincipalType = exports.PrincipalType || (exports.PrincipalType = {}));
171
- var DeploymentStatus;
172
- (function (DeploymentStatus) {
173
- DeploymentStatus["COMPLETED"] = "COMPLETED";
174
- DeploymentStatus["ELIGIBLE"] = "ELIGIBLE";
175
- DeploymentStatus["IN_PROGRESS"] = "IN_PROGRESS";
176
- DeploymentStatus["NOT_ELIGIBLE"] = "NOT_ELIGIBLE";
177
- DeploymentStatus["PENDING_UPDATE"] = "PENDING_UPDATE";
178
- })(DeploymentStatus = exports.DeploymentStatus || (exports.DeploymentStatus = {}));
179
- var AutoTuneDesiredState;
180
- (function (AutoTuneDesiredState) {
181
- AutoTuneDesiredState["DISABLED"] = "DISABLED";
182
- AutoTuneDesiredState["ENABLED"] = "ENABLED";
183
- })(AutoTuneDesiredState = exports.AutoTuneDesiredState || (exports.AutoTuneDesiredState = {}));
184
- var TimeUnit;
185
- (function (TimeUnit) {
186
- TimeUnit["HOURS"] = "HOURS";
187
- })(TimeUnit = exports.TimeUnit || (exports.TimeUnit = {}));
188
- var OpenSearchPartitionInstanceType;
189
- (function (OpenSearchPartitionInstanceType) {
190
- OpenSearchPartitionInstanceType["c4_2xlarge_search"] = "c4.2xlarge.search";
191
- OpenSearchPartitionInstanceType["c4_4xlarge_search"] = "c4.4xlarge.search";
192
- OpenSearchPartitionInstanceType["c4_8xlarge_search"] = "c4.8xlarge.search";
193
- OpenSearchPartitionInstanceType["c4_large_search"] = "c4.large.search";
194
- OpenSearchPartitionInstanceType["c4_xlarge_search"] = "c4.xlarge.search";
195
- OpenSearchPartitionInstanceType["c5_18xlarge_search"] = "c5.18xlarge.search";
196
- OpenSearchPartitionInstanceType["c5_2xlarge_search"] = "c5.2xlarge.search";
197
- OpenSearchPartitionInstanceType["c5_4xlarge_search"] = "c5.4xlarge.search";
198
- OpenSearchPartitionInstanceType["c5_9xlarge_search"] = "c5.9xlarge.search";
199
- OpenSearchPartitionInstanceType["c5_large_search"] = "c5.large.search";
200
- OpenSearchPartitionInstanceType["c5_xlarge_search"] = "c5.xlarge.search";
201
- OpenSearchPartitionInstanceType["c6g_12xlarge_search"] = "c6g.12xlarge.search";
202
- OpenSearchPartitionInstanceType["c6g_2xlarge_search"] = "c6g.2xlarge.search";
203
- OpenSearchPartitionInstanceType["c6g_4xlarge_search"] = "c6g.4xlarge.search";
204
- OpenSearchPartitionInstanceType["c6g_8xlarge_search"] = "c6g.8xlarge.search";
205
- OpenSearchPartitionInstanceType["c6g_large_search"] = "c6g.large.search";
206
- OpenSearchPartitionInstanceType["c6g_xlarge_search"] = "c6g.xlarge.search";
207
- OpenSearchPartitionInstanceType["d2_2xlarge_search"] = "d2.2xlarge.search";
208
- OpenSearchPartitionInstanceType["d2_4xlarge_search"] = "d2.4xlarge.search";
209
- OpenSearchPartitionInstanceType["d2_8xlarge_search"] = "d2.8xlarge.search";
210
- OpenSearchPartitionInstanceType["d2_xlarge_search"] = "d2.xlarge.search";
211
- OpenSearchPartitionInstanceType["i2_2xlarge_search"] = "i2.2xlarge.search";
212
- OpenSearchPartitionInstanceType["i2_xlarge_search"] = "i2.xlarge.search";
213
- OpenSearchPartitionInstanceType["i3_16xlarge_search"] = "i3.16xlarge.search";
214
- OpenSearchPartitionInstanceType["i3_2xlarge_search"] = "i3.2xlarge.search";
215
- OpenSearchPartitionInstanceType["i3_4xlarge_search"] = "i3.4xlarge.search";
216
- OpenSearchPartitionInstanceType["i3_8xlarge_search"] = "i3.8xlarge.search";
217
- OpenSearchPartitionInstanceType["i3_large_search"] = "i3.large.search";
218
- OpenSearchPartitionInstanceType["i3_xlarge_search"] = "i3.xlarge.search";
219
- OpenSearchPartitionInstanceType["m3_2xlarge_search"] = "m3.2xlarge.search";
220
- OpenSearchPartitionInstanceType["m3_large_search"] = "m3.large.search";
221
- OpenSearchPartitionInstanceType["m3_medium_search"] = "m3.medium.search";
222
- OpenSearchPartitionInstanceType["m3_xlarge_search"] = "m3.xlarge.search";
223
- OpenSearchPartitionInstanceType["m4_10xlarge_search"] = "m4.10xlarge.search";
224
- OpenSearchPartitionInstanceType["m4_2xlarge_search"] = "m4.2xlarge.search";
225
- OpenSearchPartitionInstanceType["m4_4xlarge_search"] = "m4.4xlarge.search";
226
- OpenSearchPartitionInstanceType["m4_large_search"] = "m4.large.search";
227
- OpenSearchPartitionInstanceType["m4_xlarge_search"] = "m4.xlarge.search";
228
- OpenSearchPartitionInstanceType["m5_12xlarge_search"] = "m5.12xlarge.search";
229
- OpenSearchPartitionInstanceType["m5_24xlarge_search"] = "m5.24xlarge.search";
230
- OpenSearchPartitionInstanceType["m5_2xlarge_search"] = "m5.2xlarge.search";
231
- OpenSearchPartitionInstanceType["m5_4xlarge_search"] = "m5.4xlarge.search";
232
- OpenSearchPartitionInstanceType["m5_large_search"] = "m5.large.search";
233
- OpenSearchPartitionInstanceType["m5_xlarge_search"] = "m5.xlarge.search";
234
- OpenSearchPartitionInstanceType["m6g_12xlarge_search"] = "m6g.12xlarge.search";
235
- OpenSearchPartitionInstanceType["m6g_2xlarge_search"] = "m6g.2xlarge.search";
236
- OpenSearchPartitionInstanceType["m6g_4xlarge_search"] = "m6g.4xlarge.search";
237
- OpenSearchPartitionInstanceType["m6g_8xlarge_search"] = "m6g.8xlarge.search";
238
- OpenSearchPartitionInstanceType["m6g_large_search"] = "m6g.large.search";
239
- OpenSearchPartitionInstanceType["m6g_xlarge_search"] = "m6g.xlarge.search";
240
- OpenSearchPartitionInstanceType["r3_2xlarge_search"] = "r3.2xlarge.search";
241
- OpenSearchPartitionInstanceType["r3_4xlarge_search"] = "r3.4xlarge.search";
242
- OpenSearchPartitionInstanceType["r3_8xlarge_search"] = "r3.8xlarge.search";
243
- OpenSearchPartitionInstanceType["r3_large_search"] = "r3.large.search";
244
- OpenSearchPartitionInstanceType["r3_xlarge_search"] = "r3.xlarge.search";
245
- OpenSearchPartitionInstanceType["r4_16xlarge_search"] = "r4.16xlarge.search";
246
- OpenSearchPartitionInstanceType["r4_2xlarge_search"] = "r4.2xlarge.search";
247
- OpenSearchPartitionInstanceType["r4_4xlarge_search"] = "r4.4xlarge.search";
248
- OpenSearchPartitionInstanceType["r4_8xlarge_search"] = "r4.8xlarge.search";
249
- OpenSearchPartitionInstanceType["r4_large_search"] = "r4.large.search";
250
- OpenSearchPartitionInstanceType["r4_xlarge_search"] = "r4.xlarge.search";
251
- OpenSearchPartitionInstanceType["r5_12xlarge_search"] = "r5.12xlarge.search";
252
- OpenSearchPartitionInstanceType["r5_24xlarge_search"] = "r5.24xlarge.search";
253
- OpenSearchPartitionInstanceType["r5_2xlarge_search"] = "r5.2xlarge.search";
254
- OpenSearchPartitionInstanceType["r5_4xlarge_search"] = "r5.4xlarge.search";
255
- OpenSearchPartitionInstanceType["r5_large_search"] = "r5.large.search";
256
- OpenSearchPartitionInstanceType["r5_xlarge_search"] = "r5.xlarge.search";
257
- OpenSearchPartitionInstanceType["r6g_12xlarge_search"] = "r6g.12xlarge.search";
258
- OpenSearchPartitionInstanceType["r6g_2xlarge_search"] = "r6g.2xlarge.search";
259
- OpenSearchPartitionInstanceType["r6g_4xlarge_search"] = "r6g.4xlarge.search";
260
- OpenSearchPartitionInstanceType["r6g_8xlarge_search"] = "r6g.8xlarge.search";
261
- OpenSearchPartitionInstanceType["r6g_large_search"] = "r6g.large.search";
262
- OpenSearchPartitionInstanceType["r6g_xlarge_search"] = "r6g.xlarge.search";
263
- OpenSearchPartitionInstanceType["r6gd_12xlarge_search"] = "r6gd.12xlarge.search";
264
- OpenSearchPartitionInstanceType["r6gd_16xlarge_search"] = "r6gd.16xlarge.search";
265
- OpenSearchPartitionInstanceType["r6gd_2xlarge_search"] = "r6gd.2xlarge.search";
266
- OpenSearchPartitionInstanceType["r6gd_4xlarge_search"] = "r6gd.4xlarge.search";
267
- OpenSearchPartitionInstanceType["r6gd_8xlarge_search"] = "r6gd.8xlarge.search";
268
- OpenSearchPartitionInstanceType["r6gd_large_search"] = "r6gd.large.search";
269
- OpenSearchPartitionInstanceType["r6gd_xlarge_search"] = "r6gd.xlarge.search";
270
- OpenSearchPartitionInstanceType["t2_medium_search"] = "t2.medium.search";
271
- OpenSearchPartitionInstanceType["t2_micro_search"] = "t2.micro.search";
272
- OpenSearchPartitionInstanceType["t2_small_search"] = "t2.small.search";
273
- OpenSearchPartitionInstanceType["t3_2xlarge_search"] = "t3.2xlarge.search";
274
- OpenSearchPartitionInstanceType["t3_large_search"] = "t3.large.search";
275
- OpenSearchPartitionInstanceType["t3_medium_search"] = "t3.medium.search";
276
- OpenSearchPartitionInstanceType["t3_micro_search"] = "t3.micro.search";
277
- OpenSearchPartitionInstanceType["t3_nano_search"] = "t3.nano.search";
278
- OpenSearchPartitionInstanceType["t3_small_search"] = "t3.small.search";
279
- OpenSearchPartitionInstanceType["t3_xlarge_search"] = "t3.xlarge.search";
280
- OpenSearchPartitionInstanceType["t4g_medium_search"] = "t4g.medium.search";
281
- OpenSearchPartitionInstanceType["t4g_small_search"] = "t4g.small.search";
282
- OpenSearchPartitionInstanceType["ultrawarm1_large_search"] = "ultrawarm1.large.search";
283
- OpenSearchPartitionInstanceType["ultrawarm1_medium_search"] = "ultrawarm1.medium.search";
284
- OpenSearchPartitionInstanceType["ultrawarm1_xlarge_search"] = "ultrawarm1.xlarge.search";
285
- })(OpenSearchPartitionInstanceType = exports.OpenSearchPartitionInstanceType || (exports.OpenSearchPartitionInstanceType = {}));
286
- var OpenSearchWarmPartitionInstanceType;
287
- (function (OpenSearchWarmPartitionInstanceType) {
288
- OpenSearchWarmPartitionInstanceType["ultrawarm1_large_search"] = "ultrawarm1.large.search";
289
- OpenSearchWarmPartitionInstanceType["ultrawarm1_medium_search"] = "ultrawarm1.medium.search";
290
- OpenSearchWarmPartitionInstanceType["ultrawarm1_xlarge_search"] = "ultrawarm1.xlarge.search";
291
- })(OpenSearchWarmPartitionInstanceType = exports.OpenSearchWarmPartitionInstanceType || (exports.OpenSearchWarmPartitionInstanceType = {}));
292
- var TLSSecurityPolicy;
293
- (function (TLSSecurityPolicy) {
294
- TLSSecurityPolicy["POLICY_MIN_TLS_1_0_2019_07"] = "Policy-Min-TLS-1-0-2019-07";
295
- TLSSecurityPolicy["POLICY_MIN_TLS_1_2_2019_07"] = "Policy-Min-TLS-1-2-2019-07";
296
- })(TLSSecurityPolicy = exports.TLSSecurityPolicy || (exports.TLSSecurityPolicy = {}));
297
- var VolumeType;
298
- (function (VolumeType) {
299
- VolumeType["gp2"] = "gp2";
300
- VolumeType["gp3"] = "gp3";
301
- VolumeType["io1"] = "io1";
302
- VolumeType["standard"] = "standard";
303
- })(VolumeType = exports.VolumeType || (exports.VolumeType = {}));
304
- var LogType;
305
- (function (LogType) {
306
- LogType["AUDIT_LOGS"] = "AUDIT_LOGS";
307
- LogType["ES_APPLICATION_LOGS"] = "ES_APPLICATION_LOGS";
308
- LogType["INDEX_SLOW_LOGS"] = "INDEX_SLOW_LOGS";
309
- LogType["SEARCH_SLOW_LOGS"] = "SEARCH_SLOW_LOGS";
310
- })(LogType = exports.LogType || (exports.LogType = {}));
311
- var AutoTuneState;
312
- (function (AutoTuneState) {
313
- AutoTuneState["DISABLED"] = "DISABLED";
314
- AutoTuneState["DISABLED_AND_ROLLBACK_COMPLETE"] = "DISABLED_AND_ROLLBACK_COMPLETE";
315
- AutoTuneState["DISABLED_AND_ROLLBACK_ERROR"] = "DISABLED_AND_ROLLBACK_ERROR";
316
- AutoTuneState["DISABLED_AND_ROLLBACK_IN_PROGRESS"] = "DISABLED_AND_ROLLBACK_IN_PROGRESS";
317
- AutoTuneState["DISABLED_AND_ROLLBACK_SCHEDULED"] = "DISABLED_AND_ROLLBACK_SCHEDULED";
318
- AutoTuneState["DISABLE_IN_PROGRESS"] = "DISABLE_IN_PROGRESS";
319
- AutoTuneState["ENABLED"] = "ENABLED";
320
- AutoTuneState["ENABLE_IN_PROGRESS"] = "ENABLE_IN_PROGRESS";
321
- AutoTuneState["ERROR"] = "ERROR";
322
- })(AutoTuneState = exports.AutoTuneState || (exports.AutoTuneState = {}));
158
+ exports.PrincipalType = {
159
+ AWS_ACCOUNT: "AWS_ACCOUNT",
160
+ AWS_SERVICE: "AWS_SERVICE",
161
+ };
162
+ exports.DeploymentStatus = {
163
+ COMPLETED: "COMPLETED",
164
+ ELIGIBLE: "ELIGIBLE",
165
+ IN_PROGRESS: "IN_PROGRESS",
166
+ NOT_ELIGIBLE: "NOT_ELIGIBLE",
167
+ PENDING_UPDATE: "PENDING_UPDATE",
168
+ };
169
+ exports.AutoTuneDesiredState = {
170
+ DISABLED: "DISABLED",
171
+ ENABLED: "ENABLED",
172
+ };
173
+ exports.TimeUnit = {
174
+ HOURS: "HOURS",
175
+ };
176
+ exports.OpenSearchPartitionInstanceType = {
177
+ c4_2xlarge_search: "c4.2xlarge.search",
178
+ c4_4xlarge_search: "c4.4xlarge.search",
179
+ c4_8xlarge_search: "c4.8xlarge.search",
180
+ c4_large_search: "c4.large.search",
181
+ c4_xlarge_search: "c4.xlarge.search",
182
+ c5_18xlarge_search: "c5.18xlarge.search",
183
+ c5_2xlarge_search: "c5.2xlarge.search",
184
+ c5_4xlarge_search: "c5.4xlarge.search",
185
+ c5_9xlarge_search: "c5.9xlarge.search",
186
+ c5_large_search: "c5.large.search",
187
+ c5_xlarge_search: "c5.xlarge.search",
188
+ c6g_12xlarge_search: "c6g.12xlarge.search",
189
+ c6g_2xlarge_search: "c6g.2xlarge.search",
190
+ c6g_4xlarge_search: "c6g.4xlarge.search",
191
+ c6g_8xlarge_search: "c6g.8xlarge.search",
192
+ c6g_large_search: "c6g.large.search",
193
+ c6g_xlarge_search: "c6g.xlarge.search",
194
+ d2_2xlarge_search: "d2.2xlarge.search",
195
+ d2_4xlarge_search: "d2.4xlarge.search",
196
+ d2_8xlarge_search: "d2.8xlarge.search",
197
+ d2_xlarge_search: "d2.xlarge.search",
198
+ i2_2xlarge_search: "i2.2xlarge.search",
199
+ i2_xlarge_search: "i2.xlarge.search",
200
+ i3_16xlarge_search: "i3.16xlarge.search",
201
+ i3_2xlarge_search: "i3.2xlarge.search",
202
+ i3_4xlarge_search: "i3.4xlarge.search",
203
+ i3_8xlarge_search: "i3.8xlarge.search",
204
+ i3_large_search: "i3.large.search",
205
+ i3_xlarge_search: "i3.xlarge.search",
206
+ m3_2xlarge_search: "m3.2xlarge.search",
207
+ m3_large_search: "m3.large.search",
208
+ m3_medium_search: "m3.medium.search",
209
+ m3_xlarge_search: "m3.xlarge.search",
210
+ m4_10xlarge_search: "m4.10xlarge.search",
211
+ m4_2xlarge_search: "m4.2xlarge.search",
212
+ m4_4xlarge_search: "m4.4xlarge.search",
213
+ m4_large_search: "m4.large.search",
214
+ m4_xlarge_search: "m4.xlarge.search",
215
+ m5_12xlarge_search: "m5.12xlarge.search",
216
+ m5_24xlarge_search: "m5.24xlarge.search",
217
+ m5_2xlarge_search: "m5.2xlarge.search",
218
+ m5_4xlarge_search: "m5.4xlarge.search",
219
+ m5_large_search: "m5.large.search",
220
+ m5_xlarge_search: "m5.xlarge.search",
221
+ m6g_12xlarge_search: "m6g.12xlarge.search",
222
+ m6g_2xlarge_search: "m6g.2xlarge.search",
223
+ m6g_4xlarge_search: "m6g.4xlarge.search",
224
+ m6g_8xlarge_search: "m6g.8xlarge.search",
225
+ m6g_large_search: "m6g.large.search",
226
+ m6g_xlarge_search: "m6g.xlarge.search",
227
+ r3_2xlarge_search: "r3.2xlarge.search",
228
+ r3_4xlarge_search: "r3.4xlarge.search",
229
+ r3_8xlarge_search: "r3.8xlarge.search",
230
+ r3_large_search: "r3.large.search",
231
+ r3_xlarge_search: "r3.xlarge.search",
232
+ r4_16xlarge_search: "r4.16xlarge.search",
233
+ r4_2xlarge_search: "r4.2xlarge.search",
234
+ r4_4xlarge_search: "r4.4xlarge.search",
235
+ r4_8xlarge_search: "r4.8xlarge.search",
236
+ r4_large_search: "r4.large.search",
237
+ r4_xlarge_search: "r4.xlarge.search",
238
+ r5_12xlarge_search: "r5.12xlarge.search",
239
+ r5_24xlarge_search: "r5.24xlarge.search",
240
+ r5_2xlarge_search: "r5.2xlarge.search",
241
+ r5_4xlarge_search: "r5.4xlarge.search",
242
+ r5_large_search: "r5.large.search",
243
+ r5_xlarge_search: "r5.xlarge.search",
244
+ r6g_12xlarge_search: "r6g.12xlarge.search",
245
+ r6g_2xlarge_search: "r6g.2xlarge.search",
246
+ r6g_4xlarge_search: "r6g.4xlarge.search",
247
+ r6g_8xlarge_search: "r6g.8xlarge.search",
248
+ r6g_large_search: "r6g.large.search",
249
+ r6g_xlarge_search: "r6g.xlarge.search",
250
+ r6gd_12xlarge_search: "r6gd.12xlarge.search",
251
+ r6gd_16xlarge_search: "r6gd.16xlarge.search",
252
+ r6gd_2xlarge_search: "r6gd.2xlarge.search",
253
+ r6gd_4xlarge_search: "r6gd.4xlarge.search",
254
+ r6gd_8xlarge_search: "r6gd.8xlarge.search",
255
+ r6gd_large_search: "r6gd.large.search",
256
+ r6gd_xlarge_search: "r6gd.xlarge.search",
257
+ t2_medium_search: "t2.medium.search",
258
+ t2_micro_search: "t2.micro.search",
259
+ t2_small_search: "t2.small.search",
260
+ t3_2xlarge_search: "t3.2xlarge.search",
261
+ t3_large_search: "t3.large.search",
262
+ t3_medium_search: "t3.medium.search",
263
+ t3_micro_search: "t3.micro.search",
264
+ t3_nano_search: "t3.nano.search",
265
+ t3_small_search: "t3.small.search",
266
+ t3_xlarge_search: "t3.xlarge.search",
267
+ t4g_medium_search: "t4g.medium.search",
268
+ t4g_small_search: "t4g.small.search",
269
+ ultrawarm1_large_search: "ultrawarm1.large.search",
270
+ ultrawarm1_medium_search: "ultrawarm1.medium.search",
271
+ ultrawarm1_xlarge_search: "ultrawarm1.xlarge.search",
272
+ };
273
+ exports.OpenSearchWarmPartitionInstanceType = {
274
+ ultrawarm1_large_search: "ultrawarm1.large.search",
275
+ ultrawarm1_medium_search: "ultrawarm1.medium.search",
276
+ ultrawarm1_xlarge_search: "ultrawarm1.xlarge.search",
277
+ };
278
+ exports.TLSSecurityPolicy = {
279
+ POLICY_MIN_TLS_1_0_2019_07: "Policy-Min-TLS-1-0-2019-07",
280
+ POLICY_MIN_TLS_1_2_2019_07: "Policy-Min-TLS-1-2-2019-07",
281
+ };
282
+ exports.VolumeType = {
283
+ gp2: "gp2",
284
+ gp3: "gp3",
285
+ io1: "io1",
286
+ standard: "standard",
287
+ };
288
+ exports.LogType = {
289
+ AUDIT_LOGS: "AUDIT_LOGS",
290
+ ES_APPLICATION_LOGS: "ES_APPLICATION_LOGS",
291
+ INDEX_SLOW_LOGS: "INDEX_SLOW_LOGS",
292
+ SEARCH_SLOW_LOGS: "SEARCH_SLOW_LOGS",
293
+ };
294
+ exports.AutoTuneState = {
295
+ DISABLED: "DISABLED",
296
+ DISABLED_AND_ROLLBACK_COMPLETE: "DISABLED_AND_ROLLBACK_COMPLETE",
297
+ DISABLED_AND_ROLLBACK_ERROR: "DISABLED_AND_ROLLBACK_ERROR",
298
+ DISABLED_AND_ROLLBACK_IN_PROGRESS: "DISABLED_AND_ROLLBACK_IN_PROGRESS",
299
+ DISABLED_AND_ROLLBACK_SCHEDULED: "DISABLED_AND_ROLLBACK_SCHEDULED",
300
+ DISABLE_IN_PROGRESS: "DISABLE_IN_PROGRESS",
301
+ ENABLED: "ENABLED",
302
+ ENABLE_IN_PROGRESS: "ENABLE_IN_PROGRESS",
303
+ ERROR: "ERROR",
304
+ };
323
305
  class InvalidTypeException extends OpenSearchServiceException_1.OpenSearchServiceException {
324
306
  constructor(opts) {
325
307
  super({
@@ -346,67 +328,59 @@ class ResourceAlreadyExistsException extends OpenSearchServiceException_1.OpenSe
346
328
  }
347
329
  }
348
330
  exports.ResourceAlreadyExistsException = ResourceAlreadyExistsException;
349
- var OutboundConnectionStatusCode;
350
- (function (OutboundConnectionStatusCode) {
351
- OutboundConnectionStatusCode["ACTIVE"] = "ACTIVE";
352
- OutboundConnectionStatusCode["APPROVED"] = "APPROVED";
353
- OutboundConnectionStatusCode["DELETED"] = "DELETED";
354
- OutboundConnectionStatusCode["DELETING"] = "DELETING";
355
- OutboundConnectionStatusCode["PENDING_ACCEPTANCE"] = "PENDING_ACCEPTANCE";
356
- OutboundConnectionStatusCode["PROVISIONING"] = "PROVISIONING";
357
- OutboundConnectionStatusCode["REJECTED"] = "REJECTED";
358
- OutboundConnectionStatusCode["REJECTING"] = "REJECTING";
359
- OutboundConnectionStatusCode["VALIDATING"] = "VALIDATING";
360
- OutboundConnectionStatusCode["VALIDATION_FAILED"] = "VALIDATION_FAILED";
361
- })(OutboundConnectionStatusCode = exports.OutboundConnectionStatusCode || (exports.OutboundConnectionStatusCode = {}));
362
- var PackageStatus;
363
- (function (PackageStatus) {
364
- PackageStatus["AVAILABLE"] = "AVAILABLE";
365
- PackageStatus["COPYING"] = "COPYING";
366
- PackageStatus["COPY_FAILED"] = "COPY_FAILED";
367
- PackageStatus["DELETED"] = "DELETED";
368
- PackageStatus["DELETE_FAILED"] = "DELETE_FAILED";
369
- PackageStatus["DELETING"] = "DELETING";
370
- PackageStatus["VALIDATING"] = "VALIDATING";
371
- PackageStatus["VALIDATION_FAILED"] = "VALIDATION_FAILED";
372
- })(PackageStatus = exports.PackageStatus || (exports.PackageStatus = {}));
373
- var VpcEndpointStatus;
374
- (function (VpcEndpointStatus) {
375
- VpcEndpointStatus["ACTIVE"] = "ACTIVE";
376
- VpcEndpointStatus["CREATE_FAILED"] = "CREATE_FAILED";
377
- VpcEndpointStatus["CREATING"] = "CREATING";
378
- VpcEndpointStatus["DELETE_FAILED"] = "DELETE_FAILED";
379
- VpcEndpointStatus["DELETING"] = "DELETING";
380
- VpcEndpointStatus["UPDATE_FAILED"] = "UPDATE_FAILED";
381
- VpcEndpointStatus["UPDATING"] = "UPDATING";
382
- })(VpcEndpointStatus = exports.VpcEndpointStatus || (exports.VpcEndpointStatus = {}));
383
- var ScheduledAutoTuneActionType;
384
- (function (ScheduledAutoTuneActionType) {
385
- ScheduledAutoTuneActionType["JVM_HEAP_SIZE_TUNING"] = "JVM_HEAP_SIZE_TUNING";
386
- ScheduledAutoTuneActionType["JVM_YOUNG_GEN_TUNING"] = "JVM_YOUNG_GEN_TUNING";
387
- })(ScheduledAutoTuneActionType = exports.ScheduledAutoTuneActionType || (exports.ScheduledAutoTuneActionType = {}));
388
- var ScheduledAutoTuneSeverityType;
389
- (function (ScheduledAutoTuneSeverityType) {
390
- ScheduledAutoTuneSeverityType["HIGH"] = "HIGH";
391
- ScheduledAutoTuneSeverityType["LOW"] = "LOW";
392
- ScheduledAutoTuneSeverityType["MEDIUM"] = "MEDIUM";
393
- })(ScheduledAutoTuneSeverityType = exports.ScheduledAutoTuneSeverityType || (exports.ScheduledAutoTuneSeverityType = {}));
394
- var AutoTuneType;
395
- (function (AutoTuneType) {
396
- AutoTuneType["SCHEDULED_ACTION"] = "SCHEDULED_ACTION";
397
- })(AutoTuneType = exports.AutoTuneType || (exports.AutoTuneType = {}));
398
- var OverallChangeStatus;
399
- (function (OverallChangeStatus) {
400
- OverallChangeStatus["COMPLETED"] = "COMPLETED";
401
- OverallChangeStatus["FAILED"] = "FAILED";
402
- OverallChangeStatus["PENDING"] = "PENDING";
403
- OverallChangeStatus["PROCESSING"] = "PROCESSING";
404
- })(OverallChangeStatus = exports.OverallChangeStatus || (exports.OverallChangeStatus = {}));
405
- var RollbackOnDisable;
406
- (function (RollbackOnDisable) {
407
- RollbackOnDisable["DEFAULT_ROLLBACK"] = "DEFAULT_ROLLBACK";
408
- RollbackOnDisable["NO_ROLLBACK"] = "NO_ROLLBACK";
409
- })(RollbackOnDisable = exports.RollbackOnDisable || (exports.RollbackOnDisable = {}));
331
+ exports.OutboundConnectionStatusCode = {
332
+ ACTIVE: "ACTIVE",
333
+ APPROVED: "APPROVED",
334
+ DELETED: "DELETED",
335
+ DELETING: "DELETING",
336
+ PENDING_ACCEPTANCE: "PENDING_ACCEPTANCE",
337
+ PROVISIONING: "PROVISIONING",
338
+ REJECTED: "REJECTED",
339
+ REJECTING: "REJECTING",
340
+ VALIDATING: "VALIDATING",
341
+ VALIDATION_FAILED: "VALIDATION_FAILED",
342
+ };
343
+ exports.PackageStatus = {
344
+ AVAILABLE: "AVAILABLE",
345
+ COPYING: "COPYING",
346
+ COPY_FAILED: "COPY_FAILED",
347
+ DELETED: "DELETED",
348
+ DELETE_FAILED: "DELETE_FAILED",
349
+ DELETING: "DELETING",
350
+ VALIDATING: "VALIDATING",
351
+ VALIDATION_FAILED: "VALIDATION_FAILED",
352
+ };
353
+ exports.VpcEndpointStatus = {
354
+ ACTIVE: "ACTIVE",
355
+ CREATE_FAILED: "CREATE_FAILED",
356
+ CREATING: "CREATING",
357
+ DELETE_FAILED: "DELETE_FAILED",
358
+ DELETING: "DELETING",
359
+ UPDATE_FAILED: "UPDATE_FAILED",
360
+ UPDATING: "UPDATING",
361
+ };
362
+ exports.ScheduledAutoTuneActionType = {
363
+ JVM_HEAP_SIZE_TUNING: "JVM_HEAP_SIZE_TUNING",
364
+ JVM_YOUNG_GEN_TUNING: "JVM_YOUNG_GEN_TUNING",
365
+ };
366
+ exports.ScheduledAutoTuneSeverityType = {
367
+ HIGH: "HIGH",
368
+ LOW: "LOW",
369
+ MEDIUM: "MEDIUM",
370
+ };
371
+ exports.AutoTuneType = {
372
+ SCHEDULED_ACTION: "SCHEDULED_ACTION",
373
+ };
374
+ exports.OverallChangeStatus = {
375
+ COMPLETED: "COMPLETED",
376
+ FAILED: "FAILED",
377
+ PENDING: "PENDING",
378
+ PROCESSING: "PROCESSING",
379
+ };
380
+ exports.RollbackOnDisable = {
381
+ DEFAULT_ROLLBACK: "DEFAULT_ROLLBACK",
382
+ NO_ROLLBACK: "NO_ROLLBACK",
383
+ };
410
384
  class InvalidPaginationTokenException extends OpenSearchServiceException_1.OpenSearchServiceException {
411
385
  constructor(opts) {
412
386
  super({
@@ -420,57 +394,48 @@ class InvalidPaginationTokenException extends OpenSearchServiceException_1.OpenS
420
394
  }
421
395
  }
422
396
  exports.InvalidPaginationTokenException = InvalidPaginationTokenException;
423
- var DescribePackagesFilterName;
424
- (function (DescribePackagesFilterName) {
425
- DescribePackagesFilterName["PackageID"] = "PackageID";
426
- DescribePackagesFilterName["PackageName"] = "PackageName";
427
- DescribePackagesFilterName["PackageStatus"] = "PackageStatus";
428
- })(DescribePackagesFilterName = exports.DescribePackagesFilterName || (exports.DescribePackagesFilterName = {}));
429
- var ReservedInstancePaymentOption;
430
- (function (ReservedInstancePaymentOption) {
431
- ReservedInstancePaymentOption["ALL_UPFRONT"] = "ALL_UPFRONT";
432
- ReservedInstancePaymentOption["NO_UPFRONT"] = "NO_UPFRONT";
433
- ReservedInstancePaymentOption["PARTIAL_UPFRONT"] = "PARTIAL_UPFRONT";
434
- })(ReservedInstancePaymentOption = exports.ReservedInstancePaymentOption || (exports.ReservedInstancePaymentOption = {}));
435
- var VpcEndpointErrorCode;
436
- (function (VpcEndpointErrorCode) {
437
- VpcEndpointErrorCode["ENDPOINT_NOT_FOUND"] = "ENDPOINT_NOT_FOUND";
438
- VpcEndpointErrorCode["SERVER_ERROR"] = "SERVER_ERROR";
439
- })(VpcEndpointErrorCode = exports.VpcEndpointErrorCode || (exports.VpcEndpointErrorCode = {}));
440
- var UpgradeStep;
441
- (function (UpgradeStep) {
442
- UpgradeStep["PRE_UPGRADE_CHECK"] = "PRE_UPGRADE_CHECK";
443
- UpgradeStep["SNAPSHOT"] = "SNAPSHOT";
444
- UpgradeStep["UPGRADE"] = "UPGRADE";
445
- })(UpgradeStep = exports.UpgradeStep || (exports.UpgradeStep = {}));
446
- var UpgradeStatus;
447
- (function (UpgradeStatus) {
448
- UpgradeStatus["FAILED"] = "FAILED";
449
- UpgradeStatus["IN_PROGRESS"] = "IN_PROGRESS";
450
- UpgradeStatus["SUCCEEDED"] = "SUCCEEDED";
451
- UpgradeStatus["SUCCEEDED_WITH_ISSUES"] = "SUCCEEDED_WITH_ISSUES";
452
- })(UpgradeStatus = exports.UpgradeStatus || (exports.UpgradeStatus = {}));
453
- var EngineType;
454
- (function (EngineType) {
455
- EngineType["Elasticsearch"] = "Elasticsearch";
456
- EngineType["OpenSearch"] = "OpenSearch";
457
- })(EngineType = exports.EngineType || (exports.EngineType = {}));
458
- var ScheduledBy;
459
- (function (ScheduledBy) {
460
- ScheduledBy["CUSTOMER"] = "CUSTOMER";
461
- ScheduledBy["SYSTEM"] = "SYSTEM";
462
- })(ScheduledBy = exports.ScheduledBy || (exports.ScheduledBy = {}));
463
- var ScheduleAt;
464
- (function (ScheduleAt) {
465
- ScheduleAt["NOW"] = "NOW";
466
- ScheduleAt["OFF_PEAK_WINDOW"] = "OFF_PEAK_WINDOW";
467
- ScheduleAt["TIMESTAMP"] = "TIMESTAMP";
468
- })(ScheduleAt = exports.ScheduleAt || (exports.ScheduleAt = {}));
469
- var DryRunMode;
470
- (function (DryRunMode) {
471
- DryRunMode["Basic"] = "Basic";
472
- DryRunMode["Verbose"] = "Verbose";
473
- })(DryRunMode = exports.DryRunMode || (exports.DryRunMode = {}));
397
+ exports.DescribePackagesFilterName = {
398
+ PackageID: "PackageID",
399
+ PackageName: "PackageName",
400
+ PackageStatus: "PackageStatus",
401
+ };
402
+ exports.ReservedInstancePaymentOption = {
403
+ ALL_UPFRONT: "ALL_UPFRONT",
404
+ NO_UPFRONT: "NO_UPFRONT",
405
+ PARTIAL_UPFRONT: "PARTIAL_UPFRONT",
406
+ };
407
+ exports.VpcEndpointErrorCode = {
408
+ ENDPOINT_NOT_FOUND: "ENDPOINT_NOT_FOUND",
409
+ SERVER_ERROR: "SERVER_ERROR",
410
+ };
411
+ exports.UpgradeStep = {
412
+ PRE_UPGRADE_CHECK: "PRE_UPGRADE_CHECK",
413
+ SNAPSHOT: "SNAPSHOT",
414
+ UPGRADE: "UPGRADE",
415
+ };
416
+ exports.UpgradeStatus = {
417
+ FAILED: "FAILED",
418
+ IN_PROGRESS: "IN_PROGRESS",
419
+ SUCCEEDED: "SUCCEEDED",
420
+ SUCCEEDED_WITH_ISSUES: "SUCCEEDED_WITH_ISSUES",
421
+ };
422
+ exports.EngineType = {
423
+ Elasticsearch: "Elasticsearch",
424
+ OpenSearch: "OpenSearch",
425
+ };
426
+ exports.ScheduledBy = {
427
+ CUSTOMER: "CUSTOMER",
428
+ SYSTEM: "SYSTEM",
429
+ };
430
+ exports.ScheduleAt = {
431
+ NOW: "NOW",
432
+ OFF_PEAK_WINDOW: "OFF_PEAK_WINDOW",
433
+ TIMESTAMP: "TIMESTAMP",
434
+ };
435
+ exports.DryRunMode = {
436
+ Basic: "Basic",
437
+ Verbose: "Verbose",
438
+ };
474
439
  class SlotNotAvailableException extends OpenSearchServiceException_1.OpenSearchServiceException {
475
440
  constructor(opts) {
476
441
  super({