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