@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.
@@ -3,14 +3,16 @@ import { ElasticsearchServiceServiceException as __BaseException } from "./Elast
3
3
  export interface AcceptInboundCrossClusterSearchConnectionRequest {
4
4
  CrossClusterSearchConnectionId: string | undefined;
5
5
  }
6
- export declare enum InboundCrossClusterSearchConnectionStatusCode {
7
- APPROVED = "APPROVED",
8
- DELETED = "DELETED",
9
- DELETING = "DELETING",
10
- PENDING_ACCEPTANCE = "PENDING_ACCEPTANCE",
11
- REJECTED = "REJECTED",
12
- REJECTING = "REJECTING",
13
- }
6
+ export declare const InboundCrossClusterSearchConnectionStatusCode: {
7
+ readonly APPROVED: "APPROVED";
8
+ readonly DELETED: "DELETED";
9
+ readonly DELETING: "DELETING";
10
+ readonly PENDING_ACCEPTANCE: "PENDING_ACCEPTANCE";
11
+ readonly REJECTED: "REJECTED";
12
+ readonly REJECTING: "REJECTING";
13
+ };
14
+ export type InboundCrossClusterSearchConnectionStatusCode =
15
+ (typeof InboundCrossClusterSearchConnectionStatusCode)[keyof typeof InboundCrossClusterSearchConnectionStatusCode];
14
16
  export interface InboundCrossClusterSearchConnectionStatus {
15
17
  StatusCode?: InboundCrossClusterSearchConnectionStatusCode | string;
16
18
  Message?: string;
@@ -57,11 +59,12 @@ export declare class AccessDeniedException extends __BaseException {
57
59
  opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
58
60
  );
59
61
  }
60
- export declare enum OptionState {
61
- Active = "Active",
62
- Processing = "Processing",
63
- RequiresIndexDocuments = "RequiresIndexDocuments",
64
- }
62
+ export declare const OptionState: {
63
+ readonly Active: "Active";
64
+ readonly Processing: "Processing";
65
+ readonly RequiresIndexDocuments: "RequiresIndexDocuments";
66
+ };
67
+ export type OptionState = (typeof OptionState)[keyof typeof OptionState];
65
68
  export interface OptionStatus {
66
69
  CreationDate: Date | undefined;
67
70
  UpdateDate: Date | undefined;
@@ -153,20 +156,23 @@ export interface AssociatePackageRequest {
153
156
  PackageID: string | undefined;
154
157
  DomainName: string | undefined;
155
158
  }
156
- export declare enum DomainPackageStatus {
157
- ACTIVE = "ACTIVE",
158
- ASSOCIATING = "ASSOCIATING",
159
- ASSOCIATION_FAILED = "ASSOCIATION_FAILED",
160
- DISSOCIATING = "DISSOCIATING",
161
- DISSOCIATION_FAILED = "DISSOCIATION_FAILED",
162
- }
159
+ export declare const DomainPackageStatus: {
160
+ readonly ACTIVE: "ACTIVE";
161
+ readonly ASSOCIATING: "ASSOCIATING";
162
+ readonly ASSOCIATION_FAILED: "ASSOCIATION_FAILED";
163
+ readonly DISSOCIATING: "DISSOCIATING";
164
+ readonly DISSOCIATION_FAILED: "DISSOCIATION_FAILED";
165
+ };
166
+ export type DomainPackageStatus =
167
+ (typeof DomainPackageStatus)[keyof typeof DomainPackageStatus];
163
168
  export interface ErrorDetails {
164
169
  ErrorType?: string;
165
170
  ErrorMessage?: string;
166
171
  }
167
- export declare enum PackageType {
168
- TXT_DICTIONARY = "TXT-DICTIONARY",
169
- }
172
+ export declare const PackageType: {
173
+ readonly TXT_DICTIONARY: "TXT-DICTIONARY";
174
+ };
175
+ export type PackageType = (typeof PackageType)[keyof typeof PackageType];
170
176
  export interface DomainPackageDetails {
171
177
  PackageID?: string;
172
178
  PackageName?: string;
@@ -190,10 +196,11 @@ export interface AuthorizeVpcEndpointAccessRequest {
190
196
  DomainName: string | undefined;
191
197
  Account: string | undefined;
192
198
  }
193
- export declare enum PrincipalType {
194
- AWS_ACCOUNT = "AWS_ACCOUNT",
195
- AWS_SERVICE = "AWS_SERVICE",
196
- }
199
+ export declare const PrincipalType: {
200
+ readonly AWS_ACCOUNT: "AWS_ACCOUNT";
201
+ readonly AWS_SERVICE: "AWS_SERVICE";
202
+ };
203
+ export type PrincipalType = (typeof PrincipalType)[keyof typeof PrincipalType];
197
204
  export interface AuthorizedPrincipal {
198
205
  PrincipalType?: PrincipalType | string;
199
206
  Principal?: string;
@@ -204,13 +211,15 @@ export interface AuthorizeVpcEndpointAccessResponse {
204
211
  export interface CancelElasticsearchServiceSoftwareUpdateRequest {
205
212
  DomainName: string | undefined;
206
213
  }
207
- export declare enum DeploymentStatus {
208
- COMPLETED = "COMPLETED",
209
- ELIGIBLE = "ELIGIBLE",
210
- IN_PROGRESS = "IN_PROGRESS",
211
- NOT_ELIGIBLE = "NOT_ELIGIBLE",
212
- PENDING_UPDATE = "PENDING_UPDATE",
213
- }
214
+ export declare const DeploymentStatus: {
215
+ readonly COMPLETED: "COMPLETED";
216
+ readonly ELIGIBLE: "ELIGIBLE";
217
+ readonly IN_PROGRESS: "IN_PROGRESS";
218
+ readonly NOT_ELIGIBLE: "NOT_ELIGIBLE";
219
+ readonly PENDING_UPDATE: "PENDING_UPDATE";
220
+ };
221
+ export type DeploymentStatus =
222
+ (typeof DeploymentStatus)[keyof typeof DeploymentStatus];
214
223
  export interface ServiceSoftwareOptions {
215
224
  CurrentVersion?: string;
216
225
  NewVersion?: string;
@@ -224,13 +233,16 @@ export interface ServiceSoftwareOptions {
224
233
  export interface CancelElasticsearchServiceSoftwareUpdateResponse {
225
234
  ServiceSoftwareOptions?: ServiceSoftwareOptions;
226
235
  }
227
- export declare enum AutoTuneDesiredState {
228
- DISABLED = "DISABLED",
229
- ENABLED = "ENABLED",
230
- }
231
- export declare enum TimeUnit {
232
- HOURS = "HOURS",
233
- }
236
+ export declare const AutoTuneDesiredState: {
237
+ readonly DISABLED: "DISABLED";
238
+ readonly ENABLED: "ENABLED";
239
+ };
240
+ export type AutoTuneDesiredState =
241
+ (typeof AutoTuneDesiredState)[keyof typeof AutoTuneDesiredState];
242
+ export declare const TimeUnit: {
243
+ readonly HOURS: "HOURS";
244
+ };
245
+ export type TimeUnit = (typeof TimeUnit)[keyof typeof TimeUnit];
234
246
  export interface Duration {
235
247
  Value?: number;
236
248
  Unit?: TimeUnit | string;
@@ -250,10 +262,12 @@ export interface CognitoOptions {
250
262
  IdentityPoolId?: string;
251
263
  RoleArn?: string;
252
264
  }
253
- export declare enum TLSSecurityPolicy {
254
- POLICY_MIN_TLS_1_0_2019_07 = "Policy-Min-TLS-1-0-2019-07",
255
- POLICY_MIN_TLS_1_2_2019_07 = "Policy-Min-TLS-1-2-2019-07",
256
- }
265
+ export declare const TLSSecurityPolicy: {
266
+ readonly POLICY_MIN_TLS_1_0_2019_07: "Policy-Min-TLS-1-0-2019-07";
267
+ readonly POLICY_MIN_TLS_1_2_2019_07: "Policy-Min-TLS-1-2-2019-07";
268
+ };
269
+ export type TLSSecurityPolicy =
270
+ (typeof TLSSecurityPolicy)[keyof typeof TLSSecurityPolicy];
257
271
  export interface DomainEndpointOptions {
258
272
  EnforceHTTPS?: boolean;
259
273
  TLSSecurityPolicy?: TLSSecurityPolicy | string;
@@ -261,12 +275,13 @@ export interface DomainEndpointOptions {
261
275
  CustomEndpoint?: string;
262
276
  CustomEndpointCertificateArn?: string;
263
277
  }
264
- export declare enum VolumeType {
265
- gp2 = "gp2",
266
- gp3 = "gp3",
267
- io1 = "io1",
268
- standard = "standard",
269
- }
278
+ export declare const VolumeType: {
279
+ readonly gp2: "gp2";
280
+ readonly gp3: "gp3";
281
+ readonly io1: "io1";
282
+ readonly standard: "standard";
283
+ };
284
+ export type VolumeType = (typeof VolumeType)[keyof typeof VolumeType];
270
285
  export interface EBSOptions {
271
286
  EBSEnabled?: boolean;
272
287
  VolumeType?: VolumeType | string;
@@ -277,70 +292,74 @@ export interface EBSOptions {
277
292
  export interface ColdStorageOptions {
278
293
  Enabled: boolean | undefined;
279
294
  }
280
- export declare enum ESPartitionInstanceType {
281
- c4_2xlarge_elasticsearch = "c4.2xlarge.elasticsearch",
282
- c4_4xlarge_elasticsearch = "c4.4xlarge.elasticsearch",
283
- c4_8xlarge_elasticsearch = "c4.8xlarge.elasticsearch",
284
- c4_large_elasticsearch = "c4.large.elasticsearch",
285
- c4_xlarge_elasticsearch = "c4.xlarge.elasticsearch",
286
- c5_18xlarge_elasticsearch = "c5.18xlarge.elasticsearch",
287
- c5_2xlarge_elasticsearch = "c5.2xlarge.elasticsearch",
288
- c5_4xlarge_elasticsearch = "c5.4xlarge.elasticsearch",
289
- c5_9xlarge_elasticsearch = "c5.9xlarge.elasticsearch",
290
- c5_large_elasticsearch = "c5.large.elasticsearch",
291
- c5_xlarge_elasticsearch = "c5.xlarge.elasticsearch",
292
- d2_2xlarge_elasticsearch = "d2.2xlarge.elasticsearch",
293
- d2_4xlarge_elasticsearch = "d2.4xlarge.elasticsearch",
294
- d2_8xlarge_elasticsearch = "d2.8xlarge.elasticsearch",
295
- d2_xlarge_elasticsearch = "d2.xlarge.elasticsearch",
296
- i2_2xlarge_elasticsearch = "i2.2xlarge.elasticsearch",
297
- i2_xlarge_elasticsearch = "i2.xlarge.elasticsearch",
298
- i3_16xlarge_elasticsearch = "i3.16xlarge.elasticsearch",
299
- i3_2xlarge_elasticsearch = "i3.2xlarge.elasticsearch",
300
- i3_4xlarge_elasticsearch = "i3.4xlarge.elasticsearch",
301
- i3_8xlarge_elasticsearch = "i3.8xlarge.elasticsearch",
302
- i3_large_elasticsearch = "i3.large.elasticsearch",
303
- i3_xlarge_elasticsearch = "i3.xlarge.elasticsearch",
304
- m3_2xlarge_elasticsearch = "m3.2xlarge.elasticsearch",
305
- m3_large_elasticsearch = "m3.large.elasticsearch",
306
- m3_medium_elasticsearch = "m3.medium.elasticsearch",
307
- m3_xlarge_elasticsearch = "m3.xlarge.elasticsearch",
308
- m4_10xlarge_elasticsearch = "m4.10xlarge.elasticsearch",
309
- m4_2xlarge_elasticsearch = "m4.2xlarge.elasticsearch",
310
- m4_4xlarge_elasticsearch = "m4.4xlarge.elasticsearch",
311
- m4_large_elasticsearch = "m4.large.elasticsearch",
312
- m4_xlarge_elasticsearch = "m4.xlarge.elasticsearch",
313
- m5_12xlarge_elasticsearch = "m5.12xlarge.elasticsearch",
314
- m5_2xlarge_elasticsearch = "m5.2xlarge.elasticsearch",
315
- m5_4xlarge_elasticsearch = "m5.4xlarge.elasticsearch",
316
- m5_large_elasticsearch = "m5.large.elasticsearch",
317
- m5_xlarge_elasticsearch = "m5.xlarge.elasticsearch",
318
- r3_2xlarge_elasticsearch = "r3.2xlarge.elasticsearch",
319
- r3_4xlarge_elasticsearch = "r3.4xlarge.elasticsearch",
320
- r3_8xlarge_elasticsearch = "r3.8xlarge.elasticsearch",
321
- r3_large_elasticsearch = "r3.large.elasticsearch",
322
- r3_xlarge_elasticsearch = "r3.xlarge.elasticsearch",
323
- r4_16xlarge_elasticsearch = "r4.16xlarge.elasticsearch",
324
- r4_2xlarge_elasticsearch = "r4.2xlarge.elasticsearch",
325
- r4_4xlarge_elasticsearch = "r4.4xlarge.elasticsearch",
326
- r4_8xlarge_elasticsearch = "r4.8xlarge.elasticsearch",
327
- r4_large_elasticsearch = "r4.large.elasticsearch",
328
- r4_xlarge_elasticsearch = "r4.xlarge.elasticsearch",
329
- r5_12xlarge_elasticsearch = "r5.12xlarge.elasticsearch",
330
- r5_2xlarge_elasticsearch = "r5.2xlarge.elasticsearch",
331
- r5_4xlarge_elasticsearch = "r5.4xlarge.elasticsearch",
332
- r5_large_elasticsearch = "r5.large.elasticsearch",
333
- r5_xlarge_elasticsearch = "r5.xlarge.elasticsearch",
334
- t2_medium_elasticsearch = "t2.medium.elasticsearch",
335
- t2_micro_elasticsearch = "t2.micro.elasticsearch",
336
- t2_small_elasticsearch = "t2.small.elasticsearch",
337
- ultrawarm1_large_elasticsearch = "ultrawarm1.large.elasticsearch",
338
- ultrawarm1_medium_elasticsearch = "ultrawarm1.medium.elasticsearch",
339
- }
340
- export declare enum ESWarmPartitionInstanceType {
341
- ultrawarm1_large_elasticsearch = "ultrawarm1.large.elasticsearch",
342
- ultrawarm1_medium_elasticsearch = "ultrawarm1.medium.elasticsearch",
343
- }
295
+ export declare const ESPartitionInstanceType: {
296
+ readonly c4_2xlarge_elasticsearch: "c4.2xlarge.elasticsearch";
297
+ readonly c4_4xlarge_elasticsearch: "c4.4xlarge.elasticsearch";
298
+ readonly c4_8xlarge_elasticsearch: "c4.8xlarge.elasticsearch";
299
+ readonly c4_large_elasticsearch: "c4.large.elasticsearch";
300
+ readonly c4_xlarge_elasticsearch: "c4.xlarge.elasticsearch";
301
+ readonly c5_18xlarge_elasticsearch: "c5.18xlarge.elasticsearch";
302
+ readonly c5_2xlarge_elasticsearch: "c5.2xlarge.elasticsearch";
303
+ readonly c5_4xlarge_elasticsearch: "c5.4xlarge.elasticsearch";
304
+ readonly c5_9xlarge_elasticsearch: "c5.9xlarge.elasticsearch";
305
+ readonly c5_large_elasticsearch: "c5.large.elasticsearch";
306
+ readonly c5_xlarge_elasticsearch: "c5.xlarge.elasticsearch";
307
+ readonly d2_2xlarge_elasticsearch: "d2.2xlarge.elasticsearch";
308
+ readonly d2_4xlarge_elasticsearch: "d2.4xlarge.elasticsearch";
309
+ readonly d2_8xlarge_elasticsearch: "d2.8xlarge.elasticsearch";
310
+ readonly d2_xlarge_elasticsearch: "d2.xlarge.elasticsearch";
311
+ readonly i2_2xlarge_elasticsearch: "i2.2xlarge.elasticsearch";
312
+ readonly i2_xlarge_elasticsearch: "i2.xlarge.elasticsearch";
313
+ readonly i3_16xlarge_elasticsearch: "i3.16xlarge.elasticsearch";
314
+ readonly i3_2xlarge_elasticsearch: "i3.2xlarge.elasticsearch";
315
+ readonly i3_4xlarge_elasticsearch: "i3.4xlarge.elasticsearch";
316
+ readonly i3_8xlarge_elasticsearch: "i3.8xlarge.elasticsearch";
317
+ readonly i3_large_elasticsearch: "i3.large.elasticsearch";
318
+ readonly i3_xlarge_elasticsearch: "i3.xlarge.elasticsearch";
319
+ readonly m3_2xlarge_elasticsearch: "m3.2xlarge.elasticsearch";
320
+ readonly m3_large_elasticsearch: "m3.large.elasticsearch";
321
+ readonly m3_medium_elasticsearch: "m3.medium.elasticsearch";
322
+ readonly m3_xlarge_elasticsearch: "m3.xlarge.elasticsearch";
323
+ readonly m4_10xlarge_elasticsearch: "m4.10xlarge.elasticsearch";
324
+ readonly m4_2xlarge_elasticsearch: "m4.2xlarge.elasticsearch";
325
+ readonly m4_4xlarge_elasticsearch: "m4.4xlarge.elasticsearch";
326
+ readonly m4_large_elasticsearch: "m4.large.elasticsearch";
327
+ readonly m4_xlarge_elasticsearch: "m4.xlarge.elasticsearch";
328
+ readonly m5_12xlarge_elasticsearch: "m5.12xlarge.elasticsearch";
329
+ readonly m5_2xlarge_elasticsearch: "m5.2xlarge.elasticsearch";
330
+ readonly m5_4xlarge_elasticsearch: "m5.4xlarge.elasticsearch";
331
+ readonly m5_large_elasticsearch: "m5.large.elasticsearch";
332
+ readonly m5_xlarge_elasticsearch: "m5.xlarge.elasticsearch";
333
+ readonly r3_2xlarge_elasticsearch: "r3.2xlarge.elasticsearch";
334
+ readonly r3_4xlarge_elasticsearch: "r3.4xlarge.elasticsearch";
335
+ readonly r3_8xlarge_elasticsearch: "r3.8xlarge.elasticsearch";
336
+ readonly r3_large_elasticsearch: "r3.large.elasticsearch";
337
+ readonly r3_xlarge_elasticsearch: "r3.xlarge.elasticsearch";
338
+ readonly r4_16xlarge_elasticsearch: "r4.16xlarge.elasticsearch";
339
+ readonly r4_2xlarge_elasticsearch: "r4.2xlarge.elasticsearch";
340
+ readonly r4_4xlarge_elasticsearch: "r4.4xlarge.elasticsearch";
341
+ readonly r4_8xlarge_elasticsearch: "r4.8xlarge.elasticsearch";
342
+ readonly r4_large_elasticsearch: "r4.large.elasticsearch";
343
+ readonly r4_xlarge_elasticsearch: "r4.xlarge.elasticsearch";
344
+ readonly r5_12xlarge_elasticsearch: "r5.12xlarge.elasticsearch";
345
+ readonly r5_2xlarge_elasticsearch: "r5.2xlarge.elasticsearch";
346
+ readonly r5_4xlarge_elasticsearch: "r5.4xlarge.elasticsearch";
347
+ readonly r5_large_elasticsearch: "r5.large.elasticsearch";
348
+ readonly r5_xlarge_elasticsearch: "r5.xlarge.elasticsearch";
349
+ readonly t2_medium_elasticsearch: "t2.medium.elasticsearch";
350
+ readonly t2_micro_elasticsearch: "t2.micro.elasticsearch";
351
+ readonly t2_small_elasticsearch: "t2.small.elasticsearch";
352
+ readonly ultrawarm1_large_elasticsearch: "ultrawarm1.large.elasticsearch";
353
+ readonly ultrawarm1_medium_elasticsearch: "ultrawarm1.medium.elasticsearch";
354
+ };
355
+ export type ESPartitionInstanceType =
356
+ (typeof ESPartitionInstanceType)[keyof typeof ESPartitionInstanceType];
357
+ export declare const ESWarmPartitionInstanceType: {
358
+ readonly ultrawarm1_large_elasticsearch: "ultrawarm1.large.elasticsearch";
359
+ readonly ultrawarm1_medium_elasticsearch: "ultrawarm1.medium.elasticsearch";
360
+ };
361
+ export type ESWarmPartitionInstanceType =
362
+ (typeof ESWarmPartitionInstanceType)[keyof typeof ESWarmPartitionInstanceType];
344
363
  export interface ZoneAwarenessConfig {
345
364
  AvailabilityZoneCount?: number;
346
365
  }
@@ -361,12 +380,13 @@ export interface EncryptionAtRestOptions {
361
380
  Enabled?: boolean;
362
381
  KmsKeyId?: string;
363
382
  }
364
- export declare enum LogType {
365
- AUDIT_LOGS = "AUDIT_LOGS",
366
- ES_APPLICATION_LOGS = "ES_APPLICATION_LOGS",
367
- INDEX_SLOW_LOGS = "INDEX_SLOW_LOGS",
368
- SEARCH_SLOW_LOGS = "SEARCH_SLOW_LOGS",
369
- }
383
+ export declare const LogType: {
384
+ readonly AUDIT_LOGS: "AUDIT_LOGS";
385
+ readonly ES_APPLICATION_LOGS: "ES_APPLICATION_LOGS";
386
+ readonly INDEX_SLOW_LOGS: "INDEX_SLOW_LOGS";
387
+ readonly SEARCH_SLOW_LOGS: "SEARCH_SLOW_LOGS";
388
+ };
389
+ export type LogType = (typeof LogType)[keyof typeof LogType];
370
390
  export interface LogPublishingOption {
371
391
  CloudWatchLogsLogGroupArn?: string;
372
392
  Enabled?: boolean;
@@ -399,17 +419,18 @@ export interface CreateElasticsearchDomainRequest {
399
419
  AutoTuneOptions?: AutoTuneOptionsInput;
400
420
  TagList?: Tag[];
401
421
  }
402
- export declare enum AutoTuneState {
403
- DISABLED = "DISABLED",
404
- DISABLED_AND_ROLLBACK_COMPLETE = "DISABLED_AND_ROLLBACK_COMPLETE",
405
- DISABLED_AND_ROLLBACK_ERROR = "DISABLED_AND_ROLLBACK_ERROR",
406
- DISABLED_AND_ROLLBACK_IN_PROGRESS = "DISABLED_AND_ROLLBACK_IN_PROGRESS",
407
- DISABLED_AND_ROLLBACK_SCHEDULED = "DISABLED_AND_ROLLBACK_SCHEDULED",
408
- DISABLE_IN_PROGRESS = "DISABLE_IN_PROGRESS",
409
- ENABLED = "ENABLED",
410
- ENABLE_IN_PROGRESS = "ENABLE_IN_PROGRESS",
411
- ERROR = "ERROR",
412
- }
422
+ export declare const AutoTuneState: {
423
+ readonly DISABLED: "DISABLED";
424
+ readonly DISABLED_AND_ROLLBACK_COMPLETE: "DISABLED_AND_ROLLBACK_COMPLETE";
425
+ readonly DISABLED_AND_ROLLBACK_ERROR: "DISABLED_AND_ROLLBACK_ERROR";
426
+ readonly DISABLED_AND_ROLLBACK_IN_PROGRESS: "DISABLED_AND_ROLLBACK_IN_PROGRESS";
427
+ readonly DISABLED_AND_ROLLBACK_SCHEDULED: "DISABLED_AND_ROLLBACK_SCHEDULED";
428
+ readonly DISABLE_IN_PROGRESS: "DISABLE_IN_PROGRESS";
429
+ readonly ENABLED: "ENABLED";
430
+ readonly ENABLE_IN_PROGRESS: "ENABLE_IN_PROGRESS";
431
+ readonly ERROR: "ERROR";
432
+ };
433
+ export type AutoTuneState = (typeof AutoTuneState)[keyof typeof AutoTuneState];
413
434
  export interface AutoTuneOptionsOutput {
414
435
  State?: AutoTuneState | string;
415
436
  ErrorMessage?: string;
@@ -473,16 +494,18 @@ export interface CreateOutboundCrossClusterSearchConnectionRequest {
473
494
  DestinationDomainInfo: DomainInformation | undefined;
474
495
  ConnectionAlias: string | undefined;
475
496
  }
476
- export declare enum OutboundCrossClusterSearchConnectionStatusCode {
477
- ACTIVE = "ACTIVE",
478
- DELETED = "DELETED",
479
- DELETING = "DELETING",
480
- PENDING_ACCEPTANCE = "PENDING_ACCEPTANCE",
481
- PROVISIONING = "PROVISIONING",
482
- REJECTED = "REJECTED",
483
- VALIDATING = "VALIDATING",
484
- VALIDATION_FAILED = "VALIDATION_FAILED",
485
- }
497
+ export declare const OutboundCrossClusterSearchConnectionStatusCode: {
498
+ readonly ACTIVE: "ACTIVE";
499
+ readonly DELETED: "DELETED";
500
+ readonly DELETING: "DELETING";
501
+ readonly PENDING_ACCEPTANCE: "PENDING_ACCEPTANCE";
502
+ readonly PROVISIONING: "PROVISIONING";
503
+ readonly REJECTED: "REJECTED";
504
+ readonly VALIDATING: "VALIDATING";
505
+ readonly VALIDATION_FAILED: "VALIDATION_FAILED";
506
+ };
507
+ export type OutboundCrossClusterSearchConnectionStatusCode =
508
+ (typeof OutboundCrossClusterSearchConnectionStatusCode)[keyof typeof OutboundCrossClusterSearchConnectionStatusCode];
486
509
  export interface OutboundCrossClusterSearchConnectionStatus {
487
510
  StatusCode?: OutboundCrossClusterSearchConnectionStatusCode | string;
488
511
  Message?: string;
@@ -504,16 +527,17 @@ export interface CreatePackageRequest {
504
527
  PackageDescription?: string;
505
528
  PackageSource: PackageSource | undefined;
506
529
  }
507
- export declare enum PackageStatus {
508
- AVAILABLE = "AVAILABLE",
509
- COPYING = "COPYING",
510
- COPY_FAILED = "COPY_FAILED",
511
- DELETED = "DELETED",
512
- DELETE_FAILED = "DELETE_FAILED",
513
- DELETING = "DELETING",
514
- VALIDATING = "VALIDATING",
515
- VALIDATION_FAILED = "VALIDATION_FAILED",
516
- }
530
+ export declare const PackageStatus: {
531
+ readonly AVAILABLE: "AVAILABLE";
532
+ readonly COPYING: "COPYING";
533
+ readonly COPY_FAILED: "COPY_FAILED";
534
+ readonly DELETED: "DELETED";
535
+ readonly DELETE_FAILED: "DELETE_FAILED";
536
+ readonly DELETING: "DELETING";
537
+ readonly VALIDATING: "VALIDATING";
538
+ readonly VALIDATION_FAILED: "VALIDATION_FAILED";
539
+ };
540
+ export type PackageStatus = (typeof PackageStatus)[keyof typeof PackageStatus];
517
541
  export interface PackageDetails {
518
542
  PackageID?: string;
519
543
  PackageName?: string;
@@ -533,15 +557,17 @@ export interface CreateVpcEndpointRequest {
533
557
  VpcOptions: VPCOptions | undefined;
534
558
  ClientToken?: string;
535
559
  }
536
- export declare enum VpcEndpointStatus {
537
- ACTIVE = "ACTIVE",
538
- CREATE_FAILED = "CREATE_FAILED",
539
- CREATING = "CREATING",
540
- DELETE_FAILED = "DELETE_FAILED",
541
- DELETING = "DELETING",
542
- UPDATE_FAILED = "UPDATE_FAILED",
543
- UPDATING = "UPDATING",
544
- }
560
+ export declare const VpcEndpointStatus: {
561
+ readonly ACTIVE: "ACTIVE";
562
+ readonly CREATE_FAILED: "CREATE_FAILED";
563
+ readonly CREATING: "CREATING";
564
+ readonly DELETE_FAILED: "DELETE_FAILED";
565
+ readonly DELETING: "DELETING";
566
+ readonly UPDATE_FAILED: "UPDATE_FAILED";
567
+ readonly UPDATING: "UPDATING";
568
+ };
569
+ export type VpcEndpointStatus =
570
+ (typeof VpcEndpointStatus)[keyof typeof VpcEndpointStatus];
545
571
  export interface VpcEndpoint {
546
572
  VpcEndpointId?: string;
547
573
  VpcEndpointOwner?: string;
@@ -601,15 +627,19 @@ export interface DescribeDomainAutoTunesRequest {
601
627
  MaxResults?: number;
602
628
  NextToken?: string;
603
629
  }
604
- export declare enum ScheduledAutoTuneActionType {
605
- JVM_HEAP_SIZE_TUNING = "JVM_HEAP_SIZE_TUNING",
606
- JVM_YOUNG_GEN_TUNING = "JVM_YOUNG_GEN_TUNING",
607
- }
608
- export declare enum ScheduledAutoTuneSeverityType {
609
- HIGH = "HIGH",
610
- LOW = "LOW",
611
- MEDIUM = "MEDIUM",
612
- }
630
+ export declare const ScheduledAutoTuneActionType: {
631
+ readonly JVM_HEAP_SIZE_TUNING: "JVM_HEAP_SIZE_TUNING";
632
+ readonly JVM_YOUNG_GEN_TUNING: "JVM_YOUNG_GEN_TUNING";
633
+ };
634
+ export type ScheduledAutoTuneActionType =
635
+ (typeof ScheduledAutoTuneActionType)[keyof typeof ScheduledAutoTuneActionType];
636
+ export declare const ScheduledAutoTuneSeverityType: {
637
+ readonly HIGH: "HIGH";
638
+ readonly LOW: "LOW";
639
+ readonly MEDIUM: "MEDIUM";
640
+ };
641
+ export type ScheduledAutoTuneSeverityType =
642
+ (typeof ScheduledAutoTuneSeverityType)[keyof typeof ScheduledAutoTuneSeverityType];
613
643
  export interface ScheduledAutoTuneDetails {
614
644
  Date?: Date;
615
645
  ActionType?: ScheduledAutoTuneActionType | string;
@@ -619,9 +649,10 @@ export interface ScheduledAutoTuneDetails {
619
649
  export interface AutoTuneDetails {
620
650
  ScheduledAutoTuneDetails?: ScheduledAutoTuneDetails;
621
651
  }
622
- export declare enum AutoTuneType {
623
- SCHEDULED_ACTION = "SCHEDULED_ACTION",
624
- }
652
+ export declare const AutoTuneType: {
653
+ readonly SCHEDULED_ACTION: "SCHEDULED_ACTION";
654
+ };
655
+ export type AutoTuneType = (typeof AutoTuneType)[keyof typeof AutoTuneType];
625
656
  export interface AutoTune {
626
657
  AutoTuneType?: AutoTuneType | string;
627
658
  AutoTuneDetails?: AutoTuneDetails;
@@ -640,12 +671,14 @@ export interface ChangeProgressStage {
640
671
  Description?: string;
641
672
  LastUpdated?: Date;
642
673
  }
643
- export declare enum OverallChangeStatus {
644
- COMPLETED = "COMPLETED",
645
- FAILED = "FAILED",
646
- PENDING = "PENDING",
647
- PROCESSING = "PROCESSING",
648
- }
674
+ export declare const OverallChangeStatus: {
675
+ readonly COMPLETED: "COMPLETED";
676
+ readonly FAILED: "FAILED";
677
+ readonly PENDING: "PENDING";
678
+ readonly PROCESSING: "PROCESSING";
679
+ };
680
+ export type OverallChangeStatus =
681
+ (typeof OverallChangeStatus)[keyof typeof OverallChangeStatus];
649
682
  export interface ChangeProgressStatusDetails {
650
683
  ChangeId?: string;
651
684
  StartTime?: Date;
@@ -667,10 +700,12 @@ export interface DescribeElasticsearchDomainResponse {
667
700
  export interface DescribeElasticsearchDomainConfigRequest {
668
701
  DomainName: string | undefined;
669
702
  }
670
- export declare enum RollbackOnDisable {
671
- DEFAULT_ROLLBACK = "DEFAULT_ROLLBACK",
672
- NO_ROLLBACK = "NO_ROLLBACK",
673
- }
703
+ export declare const RollbackOnDisable: {
704
+ readonly DEFAULT_ROLLBACK: "DEFAULT_ROLLBACK";
705
+ readonly NO_ROLLBACK: "NO_ROLLBACK";
706
+ };
707
+ export type RollbackOnDisable =
708
+ (typeof RollbackOnDisable)[keyof typeof RollbackOnDisable];
674
709
  export interface AutoTuneOptions {
675
710
  DesiredState?: AutoTuneDesiredState | string;
676
711
  RollbackOnDisable?: RollbackOnDisable | string;
@@ -815,11 +850,13 @@ export interface DescribeOutboundCrossClusterSearchConnectionsResponse {
815
850
  CrossClusterSearchConnections?: OutboundCrossClusterSearchConnection[];
816
851
  NextToken?: string;
817
852
  }
818
- export declare enum DescribePackagesFilterName {
819
- PackageID = "PackageID",
820
- PackageName = "PackageName",
821
- PackageStatus = "PackageStatus",
822
- }
853
+ export declare const DescribePackagesFilterName: {
854
+ readonly PackageID: "PackageID";
855
+ readonly PackageName: "PackageName";
856
+ readonly PackageStatus: "PackageStatus";
857
+ };
858
+ export type DescribePackagesFilterName =
859
+ (typeof DescribePackagesFilterName)[keyof typeof DescribePackagesFilterName];
823
860
  export interface DescribePackagesFilter {
824
861
  Name?: DescribePackagesFilterName | string;
825
862
  Value?: string[];
@@ -838,11 +875,13 @@ export interface DescribeReservedElasticsearchInstanceOfferingsRequest {
838
875
  MaxResults?: number;
839
876
  NextToken?: string;
840
877
  }
841
- export declare enum ReservedElasticsearchInstancePaymentOption {
842
- ALL_UPFRONT = "ALL_UPFRONT",
843
- NO_UPFRONT = "NO_UPFRONT",
844
- PARTIAL_UPFRONT = "PARTIAL_UPFRONT",
845
- }
878
+ export declare const ReservedElasticsearchInstancePaymentOption: {
879
+ readonly ALL_UPFRONT: "ALL_UPFRONT";
880
+ readonly NO_UPFRONT: "NO_UPFRONT";
881
+ readonly PARTIAL_UPFRONT: "PARTIAL_UPFRONT";
882
+ };
883
+ export type ReservedElasticsearchInstancePaymentOption =
884
+ (typeof ReservedElasticsearchInstancePaymentOption)[keyof typeof ReservedElasticsearchInstancePaymentOption];
846
885
  export interface RecurringCharge {
847
886
  RecurringChargeAmount?: number;
848
887
  RecurringChargeFrequency?: string;
@@ -888,10 +927,12 @@ export interface DescribeReservedElasticsearchInstancesResponse {
888
927
  export interface DescribeVpcEndpointsRequest {
889
928
  VpcEndpointIds: string[] | undefined;
890
929
  }
891
- export declare enum VpcEndpointErrorCode {
892
- ENDPOINT_NOT_FOUND = "ENDPOINT_NOT_FOUND",
893
- SERVER_ERROR = "SERVER_ERROR",
894
- }
930
+ export declare const VpcEndpointErrorCode: {
931
+ readonly ENDPOINT_NOT_FOUND: "ENDPOINT_NOT_FOUND";
932
+ readonly SERVER_ERROR: "SERVER_ERROR";
933
+ };
934
+ export type VpcEndpointErrorCode =
935
+ (typeof VpcEndpointErrorCode)[keyof typeof VpcEndpointErrorCode];
895
936
  export interface VpcEndpointError {
896
937
  VpcEndpointId?: string;
897
938
  ErrorCode?: VpcEndpointErrorCode | string;
@@ -938,17 +979,19 @@ export interface GetUpgradeHistoryRequest {
938
979
  MaxResults?: number;
939
980
  NextToken?: string;
940
981
  }
941
- export declare enum UpgradeStep {
942
- PRE_UPGRADE_CHECK = "PRE_UPGRADE_CHECK",
943
- SNAPSHOT = "SNAPSHOT",
944
- UPGRADE = "UPGRADE",
945
- }
946
- export declare enum UpgradeStatus {
947
- FAILED = "FAILED",
948
- IN_PROGRESS = "IN_PROGRESS",
949
- SUCCEEDED = "SUCCEEDED",
950
- SUCCEEDED_WITH_ISSUES = "SUCCEEDED_WITH_ISSUES",
951
- }
982
+ export declare const UpgradeStep: {
983
+ readonly PRE_UPGRADE_CHECK: "PRE_UPGRADE_CHECK";
984
+ readonly SNAPSHOT: "SNAPSHOT";
985
+ readonly UPGRADE: "UPGRADE";
986
+ };
987
+ export type UpgradeStep = (typeof UpgradeStep)[keyof typeof UpgradeStep];
988
+ export declare const UpgradeStatus: {
989
+ readonly FAILED: "FAILED";
990
+ readonly IN_PROGRESS: "IN_PROGRESS";
991
+ readonly SUCCEEDED: "SUCCEEDED";
992
+ readonly SUCCEEDED_WITH_ISSUES: "SUCCEEDED_WITH_ISSUES";
993
+ };
994
+ export type UpgradeStatus = (typeof UpgradeStatus)[keyof typeof UpgradeStatus];
952
995
  export interface UpgradeStepItem {
953
996
  UpgradeStep?: UpgradeStep | string;
954
997
  UpgradeStepStatus?: UpgradeStatus | string;
@@ -973,10 +1016,11 @@ export interface GetUpgradeStatusResponse {
973
1016
  StepStatus?: UpgradeStatus | string;
974
1017
  UpgradeName?: string;
975
1018
  }
976
- export declare enum EngineType {
977
- Elasticsearch = "Elasticsearch",
978
- OpenSearch = "OpenSearch",
979
- }
1019
+ export declare const EngineType: {
1020
+ readonly Elasticsearch: "Elasticsearch";
1021
+ readonly OpenSearch: "OpenSearch";
1022
+ };
1023
+ export type EngineType = (typeof EngineType)[keyof typeof EngineType];
980
1024
  export interface ListDomainNamesRequest {
981
1025
  EngineType?: EngineType | string;
982
1026
  }