@aws-sdk/client-elasticsearch-service 3.301.0 → 3.303.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,14 +1,13 @@
1
1
  import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
2
2
  import { ElasticsearchServiceServiceException as __BaseException } from "./ElasticsearchServiceServiceException";
3
- export var InboundCrossClusterSearchConnectionStatusCode;
4
- (function (InboundCrossClusterSearchConnectionStatusCode) {
5
- InboundCrossClusterSearchConnectionStatusCode["APPROVED"] = "APPROVED";
6
- InboundCrossClusterSearchConnectionStatusCode["DELETED"] = "DELETED";
7
- InboundCrossClusterSearchConnectionStatusCode["DELETING"] = "DELETING";
8
- InboundCrossClusterSearchConnectionStatusCode["PENDING_ACCEPTANCE"] = "PENDING_ACCEPTANCE";
9
- InboundCrossClusterSearchConnectionStatusCode["REJECTED"] = "REJECTED";
10
- InboundCrossClusterSearchConnectionStatusCode["REJECTING"] = "REJECTING";
11
- })(InboundCrossClusterSearchConnectionStatusCode || (InboundCrossClusterSearchConnectionStatusCode = {}));
3
+ export const InboundCrossClusterSearchConnectionStatusCode = {
4
+ APPROVED: "APPROVED",
5
+ DELETED: "DELETED",
6
+ DELETING: "DELETING",
7
+ PENDING_ACCEPTANCE: "PENDING_ACCEPTANCE",
8
+ REJECTED: "REJECTED",
9
+ REJECTING: "REJECTING",
10
+ };
12
11
  export class DisabledOperationException extends __BaseException {
13
12
  constructor(opts) {
14
13
  super({
@@ -57,12 +56,11 @@ export class AccessDeniedException extends __BaseException {
57
56
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
58
57
  }
59
58
  }
60
- export var OptionState;
61
- (function (OptionState) {
62
- OptionState["Active"] = "Active";
63
- OptionState["Processing"] = "Processing";
64
- OptionState["RequiresIndexDocuments"] = "RequiresIndexDocuments";
65
- })(OptionState || (OptionState = {}));
59
+ export const OptionState = {
60
+ Active: "Active",
61
+ Processing: "Processing",
62
+ RequiresIndexDocuments: "RequiresIndexDocuments",
63
+ };
66
64
  export class BaseException extends __BaseException {
67
65
  constructor(opts) {
68
66
  super({
@@ -99,18 +97,16 @@ export class ValidationException extends __BaseException {
99
97
  Object.setPrototypeOf(this, ValidationException.prototype);
100
98
  }
101
99
  }
102
- export var DomainPackageStatus;
103
- (function (DomainPackageStatus) {
104
- DomainPackageStatus["ACTIVE"] = "ACTIVE";
105
- DomainPackageStatus["ASSOCIATING"] = "ASSOCIATING";
106
- DomainPackageStatus["ASSOCIATION_FAILED"] = "ASSOCIATION_FAILED";
107
- DomainPackageStatus["DISSOCIATING"] = "DISSOCIATING";
108
- DomainPackageStatus["DISSOCIATION_FAILED"] = "DISSOCIATION_FAILED";
109
- })(DomainPackageStatus || (DomainPackageStatus = {}));
110
- export var PackageType;
111
- (function (PackageType) {
112
- PackageType["TXT_DICTIONARY"] = "TXT-DICTIONARY";
113
- })(PackageType || (PackageType = {}));
100
+ export const DomainPackageStatus = {
101
+ ACTIVE: "ACTIVE",
102
+ ASSOCIATING: "ASSOCIATING",
103
+ ASSOCIATION_FAILED: "ASSOCIATION_FAILED",
104
+ DISSOCIATING: "DISSOCIATING",
105
+ DISSOCIATION_FAILED: "DISSOCIATION_FAILED",
106
+ };
107
+ export const PackageType = {
108
+ TXT_DICTIONARY: "TXT-DICTIONARY",
109
+ };
114
110
  export class ConflictException extends __BaseException {
115
111
  constructor(opts) {
116
112
  super({
@@ -123,125 +119,115 @@ export class ConflictException extends __BaseException {
123
119
  Object.setPrototypeOf(this, ConflictException.prototype);
124
120
  }
125
121
  }
126
- export var PrincipalType;
127
- (function (PrincipalType) {
128
- PrincipalType["AWS_ACCOUNT"] = "AWS_ACCOUNT";
129
- PrincipalType["AWS_SERVICE"] = "AWS_SERVICE";
130
- })(PrincipalType || (PrincipalType = {}));
131
- export var DeploymentStatus;
132
- (function (DeploymentStatus) {
133
- DeploymentStatus["COMPLETED"] = "COMPLETED";
134
- DeploymentStatus["ELIGIBLE"] = "ELIGIBLE";
135
- DeploymentStatus["IN_PROGRESS"] = "IN_PROGRESS";
136
- DeploymentStatus["NOT_ELIGIBLE"] = "NOT_ELIGIBLE";
137
- DeploymentStatus["PENDING_UPDATE"] = "PENDING_UPDATE";
138
- })(DeploymentStatus || (DeploymentStatus = {}));
139
- export var AutoTuneDesiredState;
140
- (function (AutoTuneDesiredState) {
141
- AutoTuneDesiredState["DISABLED"] = "DISABLED";
142
- AutoTuneDesiredState["ENABLED"] = "ENABLED";
143
- })(AutoTuneDesiredState || (AutoTuneDesiredState = {}));
144
- export var TimeUnit;
145
- (function (TimeUnit) {
146
- TimeUnit["HOURS"] = "HOURS";
147
- })(TimeUnit || (TimeUnit = {}));
148
- export var TLSSecurityPolicy;
149
- (function (TLSSecurityPolicy) {
150
- TLSSecurityPolicy["POLICY_MIN_TLS_1_0_2019_07"] = "Policy-Min-TLS-1-0-2019-07";
151
- TLSSecurityPolicy["POLICY_MIN_TLS_1_2_2019_07"] = "Policy-Min-TLS-1-2-2019-07";
152
- })(TLSSecurityPolicy || (TLSSecurityPolicy = {}));
153
- export var VolumeType;
154
- (function (VolumeType) {
155
- VolumeType["gp2"] = "gp2";
156
- VolumeType["gp3"] = "gp3";
157
- VolumeType["io1"] = "io1";
158
- VolumeType["standard"] = "standard";
159
- })(VolumeType || (VolumeType = {}));
160
- export var ESPartitionInstanceType;
161
- (function (ESPartitionInstanceType) {
162
- ESPartitionInstanceType["c4_2xlarge_elasticsearch"] = "c4.2xlarge.elasticsearch";
163
- ESPartitionInstanceType["c4_4xlarge_elasticsearch"] = "c4.4xlarge.elasticsearch";
164
- ESPartitionInstanceType["c4_8xlarge_elasticsearch"] = "c4.8xlarge.elasticsearch";
165
- ESPartitionInstanceType["c4_large_elasticsearch"] = "c4.large.elasticsearch";
166
- ESPartitionInstanceType["c4_xlarge_elasticsearch"] = "c4.xlarge.elasticsearch";
167
- ESPartitionInstanceType["c5_18xlarge_elasticsearch"] = "c5.18xlarge.elasticsearch";
168
- ESPartitionInstanceType["c5_2xlarge_elasticsearch"] = "c5.2xlarge.elasticsearch";
169
- ESPartitionInstanceType["c5_4xlarge_elasticsearch"] = "c5.4xlarge.elasticsearch";
170
- ESPartitionInstanceType["c5_9xlarge_elasticsearch"] = "c5.9xlarge.elasticsearch";
171
- ESPartitionInstanceType["c5_large_elasticsearch"] = "c5.large.elasticsearch";
172
- ESPartitionInstanceType["c5_xlarge_elasticsearch"] = "c5.xlarge.elasticsearch";
173
- ESPartitionInstanceType["d2_2xlarge_elasticsearch"] = "d2.2xlarge.elasticsearch";
174
- ESPartitionInstanceType["d2_4xlarge_elasticsearch"] = "d2.4xlarge.elasticsearch";
175
- ESPartitionInstanceType["d2_8xlarge_elasticsearch"] = "d2.8xlarge.elasticsearch";
176
- ESPartitionInstanceType["d2_xlarge_elasticsearch"] = "d2.xlarge.elasticsearch";
177
- ESPartitionInstanceType["i2_2xlarge_elasticsearch"] = "i2.2xlarge.elasticsearch";
178
- ESPartitionInstanceType["i2_xlarge_elasticsearch"] = "i2.xlarge.elasticsearch";
179
- ESPartitionInstanceType["i3_16xlarge_elasticsearch"] = "i3.16xlarge.elasticsearch";
180
- ESPartitionInstanceType["i3_2xlarge_elasticsearch"] = "i3.2xlarge.elasticsearch";
181
- ESPartitionInstanceType["i3_4xlarge_elasticsearch"] = "i3.4xlarge.elasticsearch";
182
- ESPartitionInstanceType["i3_8xlarge_elasticsearch"] = "i3.8xlarge.elasticsearch";
183
- ESPartitionInstanceType["i3_large_elasticsearch"] = "i3.large.elasticsearch";
184
- ESPartitionInstanceType["i3_xlarge_elasticsearch"] = "i3.xlarge.elasticsearch";
185
- ESPartitionInstanceType["m3_2xlarge_elasticsearch"] = "m3.2xlarge.elasticsearch";
186
- ESPartitionInstanceType["m3_large_elasticsearch"] = "m3.large.elasticsearch";
187
- ESPartitionInstanceType["m3_medium_elasticsearch"] = "m3.medium.elasticsearch";
188
- ESPartitionInstanceType["m3_xlarge_elasticsearch"] = "m3.xlarge.elasticsearch";
189
- ESPartitionInstanceType["m4_10xlarge_elasticsearch"] = "m4.10xlarge.elasticsearch";
190
- ESPartitionInstanceType["m4_2xlarge_elasticsearch"] = "m4.2xlarge.elasticsearch";
191
- ESPartitionInstanceType["m4_4xlarge_elasticsearch"] = "m4.4xlarge.elasticsearch";
192
- ESPartitionInstanceType["m4_large_elasticsearch"] = "m4.large.elasticsearch";
193
- ESPartitionInstanceType["m4_xlarge_elasticsearch"] = "m4.xlarge.elasticsearch";
194
- ESPartitionInstanceType["m5_12xlarge_elasticsearch"] = "m5.12xlarge.elasticsearch";
195
- ESPartitionInstanceType["m5_2xlarge_elasticsearch"] = "m5.2xlarge.elasticsearch";
196
- ESPartitionInstanceType["m5_4xlarge_elasticsearch"] = "m5.4xlarge.elasticsearch";
197
- ESPartitionInstanceType["m5_large_elasticsearch"] = "m5.large.elasticsearch";
198
- ESPartitionInstanceType["m5_xlarge_elasticsearch"] = "m5.xlarge.elasticsearch";
199
- ESPartitionInstanceType["r3_2xlarge_elasticsearch"] = "r3.2xlarge.elasticsearch";
200
- ESPartitionInstanceType["r3_4xlarge_elasticsearch"] = "r3.4xlarge.elasticsearch";
201
- ESPartitionInstanceType["r3_8xlarge_elasticsearch"] = "r3.8xlarge.elasticsearch";
202
- ESPartitionInstanceType["r3_large_elasticsearch"] = "r3.large.elasticsearch";
203
- ESPartitionInstanceType["r3_xlarge_elasticsearch"] = "r3.xlarge.elasticsearch";
204
- ESPartitionInstanceType["r4_16xlarge_elasticsearch"] = "r4.16xlarge.elasticsearch";
205
- ESPartitionInstanceType["r4_2xlarge_elasticsearch"] = "r4.2xlarge.elasticsearch";
206
- ESPartitionInstanceType["r4_4xlarge_elasticsearch"] = "r4.4xlarge.elasticsearch";
207
- ESPartitionInstanceType["r4_8xlarge_elasticsearch"] = "r4.8xlarge.elasticsearch";
208
- ESPartitionInstanceType["r4_large_elasticsearch"] = "r4.large.elasticsearch";
209
- ESPartitionInstanceType["r4_xlarge_elasticsearch"] = "r4.xlarge.elasticsearch";
210
- ESPartitionInstanceType["r5_12xlarge_elasticsearch"] = "r5.12xlarge.elasticsearch";
211
- ESPartitionInstanceType["r5_2xlarge_elasticsearch"] = "r5.2xlarge.elasticsearch";
212
- ESPartitionInstanceType["r5_4xlarge_elasticsearch"] = "r5.4xlarge.elasticsearch";
213
- ESPartitionInstanceType["r5_large_elasticsearch"] = "r5.large.elasticsearch";
214
- ESPartitionInstanceType["r5_xlarge_elasticsearch"] = "r5.xlarge.elasticsearch";
215
- ESPartitionInstanceType["t2_medium_elasticsearch"] = "t2.medium.elasticsearch";
216
- ESPartitionInstanceType["t2_micro_elasticsearch"] = "t2.micro.elasticsearch";
217
- ESPartitionInstanceType["t2_small_elasticsearch"] = "t2.small.elasticsearch";
218
- ESPartitionInstanceType["ultrawarm1_large_elasticsearch"] = "ultrawarm1.large.elasticsearch";
219
- ESPartitionInstanceType["ultrawarm1_medium_elasticsearch"] = "ultrawarm1.medium.elasticsearch";
220
- })(ESPartitionInstanceType || (ESPartitionInstanceType = {}));
221
- export var ESWarmPartitionInstanceType;
222
- (function (ESWarmPartitionInstanceType) {
223
- ESWarmPartitionInstanceType["ultrawarm1_large_elasticsearch"] = "ultrawarm1.large.elasticsearch";
224
- ESWarmPartitionInstanceType["ultrawarm1_medium_elasticsearch"] = "ultrawarm1.medium.elasticsearch";
225
- })(ESWarmPartitionInstanceType || (ESWarmPartitionInstanceType = {}));
226
- export var LogType;
227
- (function (LogType) {
228
- LogType["AUDIT_LOGS"] = "AUDIT_LOGS";
229
- LogType["ES_APPLICATION_LOGS"] = "ES_APPLICATION_LOGS";
230
- LogType["INDEX_SLOW_LOGS"] = "INDEX_SLOW_LOGS";
231
- LogType["SEARCH_SLOW_LOGS"] = "SEARCH_SLOW_LOGS";
232
- })(LogType || (LogType = {}));
233
- export var AutoTuneState;
234
- (function (AutoTuneState) {
235
- AutoTuneState["DISABLED"] = "DISABLED";
236
- AutoTuneState["DISABLED_AND_ROLLBACK_COMPLETE"] = "DISABLED_AND_ROLLBACK_COMPLETE";
237
- AutoTuneState["DISABLED_AND_ROLLBACK_ERROR"] = "DISABLED_AND_ROLLBACK_ERROR";
238
- AutoTuneState["DISABLED_AND_ROLLBACK_IN_PROGRESS"] = "DISABLED_AND_ROLLBACK_IN_PROGRESS";
239
- AutoTuneState["DISABLED_AND_ROLLBACK_SCHEDULED"] = "DISABLED_AND_ROLLBACK_SCHEDULED";
240
- AutoTuneState["DISABLE_IN_PROGRESS"] = "DISABLE_IN_PROGRESS";
241
- AutoTuneState["ENABLED"] = "ENABLED";
242
- AutoTuneState["ENABLE_IN_PROGRESS"] = "ENABLE_IN_PROGRESS";
243
- AutoTuneState["ERROR"] = "ERROR";
244
- })(AutoTuneState || (AutoTuneState = {}));
122
+ export const PrincipalType = {
123
+ AWS_ACCOUNT: "AWS_ACCOUNT",
124
+ AWS_SERVICE: "AWS_SERVICE",
125
+ };
126
+ export const DeploymentStatus = {
127
+ COMPLETED: "COMPLETED",
128
+ ELIGIBLE: "ELIGIBLE",
129
+ IN_PROGRESS: "IN_PROGRESS",
130
+ NOT_ELIGIBLE: "NOT_ELIGIBLE",
131
+ PENDING_UPDATE: "PENDING_UPDATE",
132
+ };
133
+ export const AutoTuneDesiredState = {
134
+ DISABLED: "DISABLED",
135
+ ENABLED: "ENABLED",
136
+ };
137
+ export const TimeUnit = {
138
+ HOURS: "HOURS",
139
+ };
140
+ export const TLSSecurityPolicy = {
141
+ POLICY_MIN_TLS_1_0_2019_07: "Policy-Min-TLS-1-0-2019-07",
142
+ POLICY_MIN_TLS_1_2_2019_07: "Policy-Min-TLS-1-2-2019-07",
143
+ };
144
+ export const VolumeType = {
145
+ gp2: "gp2",
146
+ gp3: "gp3",
147
+ io1: "io1",
148
+ standard: "standard",
149
+ };
150
+ export const ESPartitionInstanceType = {
151
+ c4_2xlarge_elasticsearch: "c4.2xlarge.elasticsearch",
152
+ c4_4xlarge_elasticsearch: "c4.4xlarge.elasticsearch",
153
+ c4_8xlarge_elasticsearch: "c4.8xlarge.elasticsearch",
154
+ c4_large_elasticsearch: "c4.large.elasticsearch",
155
+ c4_xlarge_elasticsearch: "c4.xlarge.elasticsearch",
156
+ c5_18xlarge_elasticsearch: "c5.18xlarge.elasticsearch",
157
+ c5_2xlarge_elasticsearch: "c5.2xlarge.elasticsearch",
158
+ c5_4xlarge_elasticsearch: "c5.4xlarge.elasticsearch",
159
+ c5_9xlarge_elasticsearch: "c5.9xlarge.elasticsearch",
160
+ c5_large_elasticsearch: "c5.large.elasticsearch",
161
+ c5_xlarge_elasticsearch: "c5.xlarge.elasticsearch",
162
+ d2_2xlarge_elasticsearch: "d2.2xlarge.elasticsearch",
163
+ d2_4xlarge_elasticsearch: "d2.4xlarge.elasticsearch",
164
+ d2_8xlarge_elasticsearch: "d2.8xlarge.elasticsearch",
165
+ d2_xlarge_elasticsearch: "d2.xlarge.elasticsearch",
166
+ i2_2xlarge_elasticsearch: "i2.2xlarge.elasticsearch",
167
+ i2_xlarge_elasticsearch: "i2.xlarge.elasticsearch",
168
+ i3_16xlarge_elasticsearch: "i3.16xlarge.elasticsearch",
169
+ i3_2xlarge_elasticsearch: "i3.2xlarge.elasticsearch",
170
+ i3_4xlarge_elasticsearch: "i3.4xlarge.elasticsearch",
171
+ i3_8xlarge_elasticsearch: "i3.8xlarge.elasticsearch",
172
+ i3_large_elasticsearch: "i3.large.elasticsearch",
173
+ i3_xlarge_elasticsearch: "i3.xlarge.elasticsearch",
174
+ m3_2xlarge_elasticsearch: "m3.2xlarge.elasticsearch",
175
+ m3_large_elasticsearch: "m3.large.elasticsearch",
176
+ m3_medium_elasticsearch: "m3.medium.elasticsearch",
177
+ m3_xlarge_elasticsearch: "m3.xlarge.elasticsearch",
178
+ m4_10xlarge_elasticsearch: "m4.10xlarge.elasticsearch",
179
+ m4_2xlarge_elasticsearch: "m4.2xlarge.elasticsearch",
180
+ m4_4xlarge_elasticsearch: "m4.4xlarge.elasticsearch",
181
+ m4_large_elasticsearch: "m4.large.elasticsearch",
182
+ m4_xlarge_elasticsearch: "m4.xlarge.elasticsearch",
183
+ m5_12xlarge_elasticsearch: "m5.12xlarge.elasticsearch",
184
+ m5_2xlarge_elasticsearch: "m5.2xlarge.elasticsearch",
185
+ m5_4xlarge_elasticsearch: "m5.4xlarge.elasticsearch",
186
+ m5_large_elasticsearch: "m5.large.elasticsearch",
187
+ m5_xlarge_elasticsearch: "m5.xlarge.elasticsearch",
188
+ r3_2xlarge_elasticsearch: "r3.2xlarge.elasticsearch",
189
+ r3_4xlarge_elasticsearch: "r3.4xlarge.elasticsearch",
190
+ r3_8xlarge_elasticsearch: "r3.8xlarge.elasticsearch",
191
+ r3_large_elasticsearch: "r3.large.elasticsearch",
192
+ r3_xlarge_elasticsearch: "r3.xlarge.elasticsearch",
193
+ r4_16xlarge_elasticsearch: "r4.16xlarge.elasticsearch",
194
+ r4_2xlarge_elasticsearch: "r4.2xlarge.elasticsearch",
195
+ r4_4xlarge_elasticsearch: "r4.4xlarge.elasticsearch",
196
+ r4_8xlarge_elasticsearch: "r4.8xlarge.elasticsearch",
197
+ r4_large_elasticsearch: "r4.large.elasticsearch",
198
+ r4_xlarge_elasticsearch: "r4.xlarge.elasticsearch",
199
+ r5_12xlarge_elasticsearch: "r5.12xlarge.elasticsearch",
200
+ r5_2xlarge_elasticsearch: "r5.2xlarge.elasticsearch",
201
+ r5_4xlarge_elasticsearch: "r5.4xlarge.elasticsearch",
202
+ r5_large_elasticsearch: "r5.large.elasticsearch",
203
+ r5_xlarge_elasticsearch: "r5.xlarge.elasticsearch",
204
+ t2_medium_elasticsearch: "t2.medium.elasticsearch",
205
+ t2_micro_elasticsearch: "t2.micro.elasticsearch",
206
+ t2_small_elasticsearch: "t2.small.elasticsearch",
207
+ ultrawarm1_large_elasticsearch: "ultrawarm1.large.elasticsearch",
208
+ ultrawarm1_medium_elasticsearch: "ultrawarm1.medium.elasticsearch",
209
+ };
210
+ export const ESWarmPartitionInstanceType = {
211
+ ultrawarm1_large_elasticsearch: "ultrawarm1.large.elasticsearch",
212
+ ultrawarm1_medium_elasticsearch: "ultrawarm1.medium.elasticsearch",
213
+ };
214
+ export const LogType = {
215
+ AUDIT_LOGS: "AUDIT_LOGS",
216
+ ES_APPLICATION_LOGS: "ES_APPLICATION_LOGS",
217
+ INDEX_SLOW_LOGS: "INDEX_SLOW_LOGS",
218
+ SEARCH_SLOW_LOGS: "SEARCH_SLOW_LOGS",
219
+ };
220
+ export const AutoTuneState = {
221
+ DISABLED: "DISABLED",
222
+ DISABLED_AND_ROLLBACK_COMPLETE: "DISABLED_AND_ROLLBACK_COMPLETE",
223
+ DISABLED_AND_ROLLBACK_ERROR: "DISABLED_AND_ROLLBACK_ERROR",
224
+ DISABLED_AND_ROLLBACK_IN_PROGRESS: "DISABLED_AND_ROLLBACK_IN_PROGRESS",
225
+ DISABLED_AND_ROLLBACK_SCHEDULED: "DISABLED_AND_ROLLBACK_SCHEDULED",
226
+ DISABLE_IN_PROGRESS: "DISABLE_IN_PROGRESS",
227
+ ENABLED: "ENABLED",
228
+ ENABLE_IN_PROGRESS: "ENABLE_IN_PROGRESS",
229
+ ERROR: "ERROR",
230
+ };
245
231
  export class InvalidTypeException extends __BaseException {
246
232
  constructor(opts) {
247
233
  super({
@@ -266,65 +252,57 @@ export class ResourceAlreadyExistsException extends __BaseException {
266
252
  Object.setPrototypeOf(this, ResourceAlreadyExistsException.prototype);
267
253
  }
268
254
  }
269
- export var OutboundCrossClusterSearchConnectionStatusCode;
270
- (function (OutboundCrossClusterSearchConnectionStatusCode) {
271
- OutboundCrossClusterSearchConnectionStatusCode["ACTIVE"] = "ACTIVE";
272
- OutboundCrossClusterSearchConnectionStatusCode["DELETED"] = "DELETED";
273
- OutboundCrossClusterSearchConnectionStatusCode["DELETING"] = "DELETING";
274
- OutboundCrossClusterSearchConnectionStatusCode["PENDING_ACCEPTANCE"] = "PENDING_ACCEPTANCE";
275
- OutboundCrossClusterSearchConnectionStatusCode["PROVISIONING"] = "PROVISIONING";
276
- OutboundCrossClusterSearchConnectionStatusCode["REJECTED"] = "REJECTED";
277
- OutboundCrossClusterSearchConnectionStatusCode["VALIDATING"] = "VALIDATING";
278
- OutboundCrossClusterSearchConnectionStatusCode["VALIDATION_FAILED"] = "VALIDATION_FAILED";
279
- })(OutboundCrossClusterSearchConnectionStatusCode || (OutboundCrossClusterSearchConnectionStatusCode = {}));
280
- export var PackageStatus;
281
- (function (PackageStatus) {
282
- PackageStatus["AVAILABLE"] = "AVAILABLE";
283
- PackageStatus["COPYING"] = "COPYING";
284
- PackageStatus["COPY_FAILED"] = "COPY_FAILED";
285
- PackageStatus["DELETED"] = "DELETED";
286
- PackageStatus["DELETE_FAILED"] = "DELETE_FAILED";
287
- PackageStatus["DELETING"] = "DELETING";
288
- PackageStatus["VALIDATING"] = "VALIDATING";
289
- PackageStatus["VALIDATION_FAILED"] = "VALIDATION_FAILED";
290
- })(PackageStatus || (PackageStatus = {}));
291
- export var VpcEndpointStatus;
292
- (function (VpcEndpointStatus) {
293
- VpcEndpointStatus["ACTIVE"] = "ACTIVE";
294
- VpcEndpointStatus["CREATE_FAILED"] = "CREATE_FAILED";
295
- VpcEndpointStatus["CREATING"] = "CREATING";
296
- VpcEndpointStatus["DELETE_FAILED"] = "DELETE_FAILED";
297
- VpcEndpointStatus["DELETING"] = "DELETING";
298
- VpcEndpointStatus["UPDATE_FAILED"] = "UPDATE_FAILED";
299
- VpcEndpointStatus["UPDATING"] = "UPDATING";
300
- })(VpcEndpointStatus || (VpcEndpointStatus = {}));
301
- export var ScheduledAutoTuneActionType;
302
- (function (ScheduledAutoTuneActionType) {
303
- ScheduledAutoTuneActionType["JVM_HEAP_SIZE_TUNING"] = "JVM_HEAP_SIZE_TUNING";
304
- ScheduledAutoTuneActionType["JVM_YOUNG_GEN_TUNING"] = "JVM_YOUNG_GEN_TUNING";
305
- })(ScheduledAutoTuneActionType || (ScheduledAutoTuneActionType = {}));
306
- export var ScheduledAutoTuneSeverityType;
307
- (function (ScheduledAutoTuneSeverityType) {
308
- ScheduledAutoTuneSeverityType["HIGH"] = "HIGH";
309
- ScheduledAutoTuneSeverityType["LOW"] = "LOW";
310
- ScheduledAutoTuneSeverityType["MEDIUM"] = "MEDIUM";
311
- })(ScheduledAutoTuneSeverityType || (ScheduledAutoTuneSeverityType = {}));
312
- export var AutoTuneType;
313
- (function (AutoTuneType) {
314
- AutoTuneType["SCHEDULED_ACTION"] = "SCHEDULED_ACTION";
315
- })(AutoTuneType || (AutoTuneType = {}));
316
- export var OverallChangeStatus;
317
- (function (OverallChangeStatus) {
318
- OverallChangeStatus["COMPLETED"] = "COMPLETED";
319
- OverallChangeStatus["FAILED"] = "FAILED";
320
- OverallChangeStatus["PENDING"] = "PENDING";
321
- OverallChangeStatus["PROCESSING"] = "PROCESSING";
322
- })(OverallChangeStatus || (OverallChangeStatus = {}));
323
- export var RollbackOnDisable;
324
- (function (RollbackOnDisable) {
325
- RollbackOnDisable["DEFAULT_ROLLBACK"] = "DEFAULT_ROLLBACK";
326
- RollbackOnDisable["NO_ROLLBACK"] = "NO_ROLLBACK";
327
- })(RollbackOnDisable || (RollbackOnDisable = {}));
255
+ export const OutboundCrossClusterSearchConnectionStatusCode = {
256
+ ACTIVE: "ACTIVE",
257
+ DELETED: "DELETED",
258
+ DELETING: "DELETING",
259
+ PENDING_ACCEPTANCE: "PENDING_ACCEPTANCE",
260
+ PROVISIONING: "PROVISIONING",
261
+ REJECTED: "REJECTED",
262
+ VALIDATING: "VALIDATING",
263
+ VALIDATION_FAILED: "VALIDATION_FAILED",
264
+ };
265
+ export const PackageStatus = {
266
+ AVAILABLE: "AVAILABLE",
267
+ COPYING: "COPYING",
268
+ COPY_FAILED: "COPY_FAILED",
269
+ DELETED: "DELETED",
270
+ DELETE_FAILED: "DELETE_FAILED",
271
+ DELETING: "DELETING",
272
+ VALIDATING: "VALIDATING",
273
+ VALIDATION_FAILED: "VALIDATION_FAILED",
274
+ };
275
+ export const VpcEndpointStatus = {
276
+ ACTIVE: "ACTIVE",
277
+ CREATE_FAILED: "CREATE_FAILED",
278
+ CREATING: "CREATING",
279
+ DELETE_FAILED: "DELETE_FAILED",
280
+ DELETING: "DELETING",
281
+ UPDATE_FAILED: "UPDATE_FAILED",
282
+ UPDATING: "UPDATING",
283
+ };
284
+ export const ScheduledAutoTuneActionType = {
285
+ JVM_HEAP_SIZE_TUNING: "JVM_HEAP_SIZE_TUNING",
286
+ JVM_YOUNG_GEN_TUNING: "JVM_YOUNG_GEN_TUNING",
287
+ };
288
+ export const ScheduledAutoTuneSeverityType = {
289
+ HIGH: "HIGH",
290
+ LOW: "LOW",
291
+ MEDIUM: "MEDIUM",
292
+ };
293
+ export const AutoTuneType = {
294
+ SCHEDULED_ACTION: "SCHEDULED_ACTION",
295
+ };
296
+ export const OverallChangeStatus = {
297
+ COMPLETED: "COMPLETED",
298
+ FAILED: "FAILED",
299
+ PENDING: "PENDING",
300
+ PROCESSING: "PROCESSING",
301
+ };
302
+ export const RollbackOnDisable = {
303
+ DEFAULT_ROLLBACK: "DEFAULT_ROLLBACK",
304
+ NO_ROLLBACK: "NO_ROLLBACK",
305
+ };
328
306
  export class InvalidPaginationTokenException extends __BaseException {
329
307
  constructor(opts) {
330
308
  super({
@@ -337,41 +315,35 @@ export class InvalidPaginationTokenException extends __BaseException {
337
315
  Object.setPrototypeOf(this, InvalidPaginationTokenException.prototype);
338
316
  }
339
317
  }
340
- export var DescribePackagesFilterName;
341
- (function (DescribePackagesFilterName) {
342
- DescribePackagesFilterName["PackageID"] = "PackageID";
343
- DescribePackagesFilterName["PackageName"] = "PackageName";
344
- DescribePackagesFilterName["PackageStatus"] = "PackageStatus";
345
- })(DescribePackagesFilterName || (DescribePackagesFilterName = {}));
346
- export var ReservedElasticsearchInstancePaymentOption;
347
- (function (ReservedElasticsearchInstancePaymentOption) {
348
- ReservedElasticsearchInstancePaymentOption["ALL_UPFRONT"] = "ALL_UPFRONT";
349
- ReservedElasticsearchInstancePaymentOption["NO_UPFRONT"] = "NO_UPFRONT";
350
- ReservedElasticsearchInstancePaymentOption["PARTIAL_UPFRONT"] = "PARTIAL_UPFRONT";
351
- })(ReservedElasticsearchInstancePaymentOption || (ReservedElasticsearchInstancePaymentOption = {}));
352
- export var VpcEndpointErrorCode;
353
- (function (VpcEndpointErrorCode) {
354
- VpcEndpointErrorCode["ENDPOINT_NOT_FOUND"] = "ENDPOINT_NOT_FOUND";
355
- VpcEndpointErrorCode["SERVER_ERROR"] = "SERVER_ERROR";
356
- })(VpcEndpointErrorCode || (VpcEndpointErrorCode = {}));
357
- export var UpgradeStep;
358
- (function (UpgradeStep) {
359
- UpgradeStep["PRE_UPGRADE_CHECK"] = "PRE_UPGRADE_CHECK";
360
- UpgradeStep["SNAPSHOT"] = "SNAPSHOT";
361
- UpgradeStep["UPGRADE"] = "UPGRADE";
362
- })(UpgradeStep || (UpgradeStep = {}));
363
- export var UpgradeStatus;
364
- (function (UpgradeStatus) {
365
- UpgradeStatus["FAILED"] = "FAILED";
366
- UpgradeStatus["IN_PROGRESS"] = "IN_PROGRESS";
367
- UpgradeStatus["SUCCEEDED"] = "SUCCEEDED";
368
- UpgradeStatus["SUCCEEDED_WITH_ISSUES"] = "SUCCEEDED_WITH_ISSUES";
369
- })(UpgradeStatus || (UpgradeStatus = {}));
370
- export var EngineType;
371
- (function (EngineType) {
372
- EngineType["Elasticsearch"] = "Elasticsearch";
373
- EngineType["OpenSearch"] = "OpenSearch";
374
- })(EngineType || (EngineType = {}));
318
+ export const DescribePackagesFilterName = {
319
+ PackageID: "PackageID",
320
+ PackageName: "PackageName",
321
+ PackageStatus: "PackageStatus",
322
+ };
323
+ export const ReservedElasticsearchInstancePaymentOption = {
324
+ ALL_UPFRONT: "ALL_UPFRONT",
325
+ NO_UPFRONT: "NO_UPFRONT",
326
+ PARTIAL_UPFRONT: "PARTIAL_UPFRONT",
327
+ };
328
+ export const VpcEndpointErrorCode = {
329
+ ENDPOINT_NOT_FOUND: "ENDPOINT_NOT_FOUND",
330
+ SERVER_ERROR: "SERVER_ERROR",
331
+ };
332
+ export const UpgradeStep = {
333
+ PRE_UPGRADE_CHECK: "PRE_UPGRADE_CHECK",
334
+ SNAPSHOT: "SNAPSHOT",
335
+ UPGRADE: "UPGRADE",
336
+ };
337
+ export const UpgradeStatus = {
338
+ FAILED: "FAILED",
339
+ IN_PROGRESS: "IN_PROGRESS",
340
+ SUCCEEDED: "SUCCEEDED",
341
+ SUCCEEDED_WITH_ISSUES: "SUCCEEDED_WITH_ISSUES",
342
+ };
343
+ export const EngineType = {
344
+ Elasticsearch: "Elasticsearch",
345
+ OpenSearch: "OpenSearch",
346
+ };
375
347
  export const MasterUserOptionsFilterSensitiveLog = (obj) => ({
376
348
  ...obj,
377
349
  ...(obj.MasterUserName && { MasterUserName: SENSITIVE_STRING }),