@aws-sdk/client-elasticsearch-service 3.428.0 → 3.430.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.
@@ -44,7 +44,7 @@ export interface InboundCrossClusterSearchConnectionStatus {
44
44
  * <li>DELETED: Inbound connection is deleted and cannot be used further.</li>
45
45
  * </ul>
46
46
  */
47
- StatusCode?: InboundCrossClusterSearchConnectionStatusCode | string;
47
+ StatusCode?: InboundCrossClusterSearchConnectionStatusCode;
48
48
  /**
49
49
  * @public
50
50
  * <p>Specifies verbose information for the inbound connection status.</p>
@@ -185,7 +185,7 @@ export interface OptionStatus {
185
185
  * @public
186
186
  * <p>Provides the <code>OptionState</code> for the Elasticsearch domain.</p>
187
187
  */
188
- State: OptionState | string | undefined;
188
+ State: OptionState | undefined;
189
189
  /**
190
190
  * @public
191
191
  * <p>Indicates whether the Elasticsearch domain is being deleted.</p>
@@ -614,7 +614,7 @@ export interface DomainPackageDetails {
614
614
  * @public
615
615
  * <p>Currently supports only TXT-DICTIONARY.</p>
616
616
  */
617
- PackageType?: PackageType | string;
617
+ PackageType?: PackageType;
618
618
  /**
619
619
  * @public
620
620
  * <p>Timestamp of the most-recent update to the association status.</p>
@@ -629,7 +629,7 @@ export interface DomainPackageDetails {
629
629
  * @public
630
630
  * <p>State of the association. Values are ASSOCIATING/ASSOCIATION_FAILED/ACTIVE/DISSOCIATING/DISSOCIATION_FAILED.</p>
631
631
  */
632
- DomainPackageStatus?: DomainPackageStatus | string;
632
+ DomainPackageStatus?: DomainPackageStatus;
633
633
  PackageVersion?: string;
634
634
  /**
635
635
  * @public
@@ -710,7 +710,7 @@ export interface AuthorizedPrincipal {
710
710
  * @public
711
711
  * <p>The type of principal.</p>
712
712
  */
713
- PrincipalType?: PrincipalType | string;
713
+ PrincipalType?: PrincipalType;
714
714
  /**
715
715
  * @public
716
716
  * <p>The IAM principal that is allowed access to the domain.</p>
@@ -785,7 +785,7 @@ export interface ServiceSoftwareOptions {
785
785
  * @public
786
786
  * <p>The status of your service software update. This field can take the following values: <code>ELIGIBLE</code>, <code>PENDING_UPDATE</code>, <code>IN_PROGRESS</code>, <code>COMPLETED</code>, and <code>NOT_ELIGIBLE</code>.</p>
787
787
  */
788
- UpdateStatus?: DeploymentStatus | string;
788
+ UpdateStatus?: DeploymentStatus;
789
789
  /**
790
790
  * @public
791
791
  * <p>The description of the <code>UpdateStatus</code>.</p>
@@ -850,7 +850,7 @@ export interface Duration {
850
850
  * @public
851
851
  * <p>Specifies the unit of a maintenance schedule duration. Valid value is HOURS. See the <a href="https://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/auto-tune.html" target="_blank">Developer Guide</a> for more information.</p>
852
852
  */
853
- Unit?: TimeUnit | string;
853
+ Unit?: TimeUnit;
854
854
  }
855
855
  /**
856
856
  * @public
@@ -882,7 +882,7 @@ export interface AutoTuneOptionsInput {
882
882
  * @public
883
883
  * <p>Specifies the Auto-Tune desired state. Valid values are ENABLED, DISABLED. </p>
884
884
  */
885
- DesiredState?: AutoTuneDesiredState | string;
885
+ DesiredState?: AutoTuneDesiredState;
886
886
  /**
887
887
  * @public
888
888
  * <p>Specifies list of maitenance schedules. See the <a href="https://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/auto-tune.html" target="_blank">Developer Guide</a> for more information.</p>
@@ -947,7 +947,7 @@ export interface DomainEndpointOptions {
947
947
  * </ul>
948
948
  * </p>
949
949
  */
950
- TLSSecurityPolicy?: TLSSecurityPolicy | string;
950
+ TLSSecurityPolicy?: TLSSecurityPolicy;
951
951
  /**
952
952
  * @public
953
953
  * <p>Specify if custom endpoint should be enabled for the Elasticsearch domain.</p>
@@ -992,7 +992,7 @@ export interface EBSOptions {
992
992
  * @public
993
993
  * <p> Specifies the volume type for EBS-based storage.</p>
994
994
  */
995
- VolumeType?: VolumeType | string;
995
+ VolumeType?: VolumeType;
996
996
  /**
997
997
  * @public
998
998
  * <p> Integer to specify the size of an EBS volume.</p>
@@ -1120,7 +1120,7 @@ export interface ElasticsearchClusterConfig {
1120
1120
  * @public
1121
1121
  * <p>The instance type for an Elasticsearch cluster. UltraWarm instance types are not supported for data instances.</p>
1122
1122
  */
1123
- InstanceType?: ESPartitionInstanceType | string;
1123
+ InstanceType?: ESPartitionInstanceType;
1124
1124
  /**
1125
1125
  * @public
1126
1126
  * <p>The number of instances in the specified domain cluster.</p>
@@ -1145,7 +1145,7 @@ export interface ElasticsearchClusterConfig {
1145
1145
  * @public
1146
1146
  * <p>The instance type for a dedicated master node.</p>
1147
1147
  */
1148
- DedicatedMasterType?: ESPartitionInstanceType | string;
1148
+ DedicatedMasterType?: ESPartitionInstanceType;
1149
1149
  /**
1150
1150
  * @public
1151
1151
  * <p>Total number of dedicated master nodes, active and on standby, for the cluster.</p>
@@ -1160,7 +1160,7 @@ export interface ElasticsearchClusterConfig {
1160
1160
  * @public
1161
1161
  * <p>The instance type for the Elasticsearch cluster's warm nodes.</p>
1162
1162
  */
1163
- WarmType?: ESWarmPartitionInstanceType | string;
1163
+ WarmType?: ESWarmPartitionInstanceType;
1164
1164
  /**
1165
1165
  * @public
1166
1166
  * <p>The number of warm nodes in the cluster.</p>
@@ -1327,7 +1327,7 @@ export interface CreateElasticsearchDomainRequest {
1327
1327
  * @public
1328
1328
  * <p>Map of <code>LogType</code> and <code>LogPublishingOption</code>, each containing options to publish a given type of Elasticsearch log.</p>
1329
1329
  */
1330
- LogPublishingOptions?: Record<string, LogPublishingOption>;
1330
+ LogPublishingOptions?: Record<LogType, LogPublishingOption>;
1331
1331
  /**
1332
1332
  * @public
1333
1333
  * <p>Options to specify configuration that will be applied to the domain endpoint.</p>
@@ -1377,7 +1377,7 @@ export interface AutoTuneOptionsOutput {
1377
1377
  * @public
1378
1378
  * <p>Specifies the <code>AutoTuneState</code> for the Elasticsearch domain.</p>
1379
1379
  */
1380
- State?: AutoTuneState | string;
1380
+ State?: AutoTuneState;
1381
1381
  /**
1382
1382
  * @public
1383
1383
  * <p>Specifies the error message while enabling or disabling the Auto-Tune.</p>
@@ -1526,7 +1526,7 @@ export interface ElasticsearchDomainStatus {
1526
1526
  * @public
1527
1527
  * <p>Log publishing options for the given domain.</p>
1528
1528
  */
1529
- LogPublishingOptions?: Record<string, LogPublishingOption>;
1529
+ LogPublishingOptions?: Record<LogType, LogPublishingOption>;
1530
1530
  /**
1531
1531
  * @public
1532
1532
  * <p>The current status of the Elasticsearch domain's service software.</p>
@@ -1646,7 +1646,7 @@ export interface OutboundCrossClusterSearchConnectionStatus {
1646
1646
  * <li>DELETED: Outbound connection is deleted and cannot be used further.</li>
1647
1647
  * </ul>
1648
1648
  */
1649
- StatusCode?: OutboundCrossClusterSearchConnectionStatusCode | string;
1649
+ StatusCode?: OutboundCrossClusterSearchConnectionStatusCode;
1650
1650
  /**
1651
1651
  * @public
1652
1652
  * <p>Specifies verbose information for the outbound connection status.</p>
@@ -1720,7 +1720,7 @@ export interface CreatePackageRequest {
1720
1720
  * @public
1721
1721
  * <p>Type of package. Currently supports only TXT-DICTIONARY.</p>
1722
1722
  */
1723
- PackageType: PackageType | string | undefined;
1723
+ PackageType: PackageType | undefined;
1724
1724
  /**
1725
1725
  * @public
1726
1726
  * <p>Description of the package.</p>
@@ -1769,7 +1769,7 @@ export interface PackageDetails {
1769
1769
  * @public
1770
1770
  * <p>Currently supports only TXT-DICTIONARY.</p>
1771
1771
  */
1772
- PackageType?: PackageType | string;
1772
+ PackageType?: PackageType;
1773
1773
  /**
1774
1774
  * @public
1775
1775
  * <p>User-specified description of the package.</p>
@@ -1779,7 +1779,7 @@ export interface PackageDetails {
1779
1779
  * @public
1780
1780
  * <p>Current state of the package. Values are COPYING/COPY_FAILED/AVAILABLE/DELETING/DELETE_FAILED</p>
1781
1781
  */
1782
- PackageStatus?: PackageStatus | string;
1782
+ PackageStatus?: PackageStatus;
1783
1783
  /**
1784
1784
  * @public
1785
1785
  * <p>Timestamp which tells creation date of the package.</p>
@@ -1879,7 +1879,7 @@ export interface VpcEndpoint {
1879
1879
  * @public
1880
1880
  * <p>The current status of the endpoint.</p>
1881
1881
  */
1882
- Status?: VpcEndpointStatus | string;
1882
+ Status?: VpcEndpointStatus;
1883
1883
  /**
1884
1884
  * @public
1885
1885
  * <p>The connection endpoint ID for connecting to the domain.</p>
@@ -2063,7 +2063,7 @@ export interface VpcEndpointSummary {
2063
2063
  * @public
2064
2064
  * <p>The current status of the endpoint.</p>
2065
2065
  */
2066
- Status?: VpcEndpointStatus | string;
2066
+ Status?: VpcEndpointStatus;
2067
2067
  }
2068
2068
  /**
2069
2069
  * @public
@@ -2137,7 +2137,7 @@ export interface ScheduledAutoTuneDetails {
2137
2137
  * @public
2138
2138
  * <p>Specifies Auto-Tune action type. Valid values are JVM_HEAP_SIZE_TUNING and JVM_YOUNG_GEN_TUNING. </p>
2139
2139
  */
2140
- ActionType?: ScheduledAutoTuneActionType | string;
2140
+ ActionType?: ScheduledAutoTuneActionType;
2141
2141
  /**
2142
2142
  * @public
2143
2143
  * <p>Specifies Auto-Tune action description. </p>
@@ -2147,7 +2147,7 @@ export interface ScheduledAutoTuneDetails {
2147
2147
  * @public
2148
2148
  * <p>Specifies Auto-Tune action severity. Valid values are LOW, MEDIUM and HIGH. </p>
2149
2149
  */
2150
- Severity?: ScheduledAutoTuneSeverityType | string;
2150
+ Severity?: ScheduledAutoTuneSeverityType;
2151
2151
  }
2152
2152
  /**
2153
2153
  * @public
@@ -2180,7 +2180,7 @@ export interface AutoTune {
2180
2180
  * @public
2181
2181
  * <p>Specifies Auto-Tune type. Valid value is SCHEDULED_ACTION. </p>
2182
2182
  */
2183
- AutoTuneType?: AutoTuneType | string;
2183
+ AutoTuneType?: AutoTuneType;
2184
2184
  /**
2185
2185
  * @public
2186
2186
  * <p>Specifies details of the Auto-Tune action. See the <a href="https://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/auto-tune.html" target="_blank">Developer Guide</a> for more information. </p>
@@ -2282,7 +2282,7 @@ export interface ChangeProgressStatusDetails {
2282
2282
  * @public
2283
2283
  * <p>The overall status of the domain configuration change. This field can take the following values: <code>PENDING</code>, <code>PROCESSING</code>, <code>COMPLETED</code> and <code>FAILED</code></p>
2284
2284
  */
2285
- Status?: OverallChangeStatus | string;
2285
+ Status?: OverallChangeStatus;
2286
2286
  /**
2287
2287
  * @public
2288
2288
  * <p>The list of properties involved in the domain configuration change that are still in pending.</p>
@@ -2372,12 +2372,12 @@ export interface AutoTuneOptions {
2372
2372
  * @public
2373
2373
  * <p>Specifies the Auto-Tune desired state. Valid values are ENABLED, DISABLED. </p>
2374
2374
  */
2375
- DesiredState?: AutoTuneDesiredState | string;
2375
+ DesiredState?: AutoTuneDesiredState;
2376
2376
  /**
2377
2377
  * @public
2378
2378
  * <p>Specifies the rollback state while disabling Auto-Tune for the domain. Valid values are NO_ROLLBACK, DEFAULT_ROLLBACK. </p>
2379
2379
  */
2380
- RollbackOnDisable?: RollbackOnDisable | string;
2380
+ RollbackOnDisable?: RollbackOnDisable;
2381
2381
  /**
2382
2382
  * @public
2383
2383
  * <p>Specifies list of maitenance schedules. See the <a href="https://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/auto-tune.html" target="_blank">Developer Guide</a> for more information.</p>
@@ -2408,7 +2408,7 @@ export interface AutoTuneStatus {
2408
2408
  * @public
2409
2409
  * <p>Specifies the <code>AutoTuneState</code> for the Elasticsearch domain.</p>
2410
2410
  */
2411
- State: AutoTuneState | string | undefined;
2411
+ State: AutoTuneState | undefined;
2412
2412
  /**
2413
2413
  * @public
2414
2414
  * <p>Specifies the error message while enabling or disabling the Auto-Tune options.</p>
@@ -2541,7 +2541,7 @@ export interface LogPublishingOptionsStatus {
2541
2541
  * @public
2542
2542
  * <p>The log publishing options configured for the Elasticsearch domain.</p>
2543
2543
  */
2544
- Options?: Record<string, LogPublishingOption>;
2544
+ Options?: Record<LogType, LogPublishingOption>;
2545
2545
  /**
2546
2546
  * @public
2547
2547
  * <p>The status of the log publishing options for the Elasticsearch domain. See <code>OptionStatus</code> for the status information that's included. </p>
@@ -2744,7 +2744,7 @@ export interface DescribeElasticsearchInstanceTypeLimitsRequest {
2744
2744
  * are needed.
2745
2745
  * </p>
2746
2746
  */
2747
- InstanceType: ESPartitionInstanceType | string | undefined;
2747
+ InstanceType: ESPartitionInstanceType | undefined;
2748
2748
  /**
2749
2749
  * @public
2750
2750
  * <p>
@@ -3107,7 +3107,7 @@ export interface DescribePackagesFilter {
3107
3107
  * @public
3108
3108
  * <p>Any field from <code>PackageDetails</code>.</p>
3109
3109
  */
3110
- Name?: DescribePackagesFilterName | string;
3110
+ Name?: DescribePackagesFilterName;
3111
3111
  /**
3112
3112
  * @public
3113
3113
  * <p>A non-empty list of values for the specified field.</p>
@@ -3224,7 +3224,7 @@ export interface ReservedElasticsearchInstanceOffering {
3224
3224
  * @public
3225
3225
  * <p>The Elasticsearch instance type offered by the reserved instance offering.</p>
3226
3226
  */
3227
- ElasticsearchInstanceType?: ESPartitionInstanceType | string;
3227
+ ElasticsearchInstanceType?: ESPartitionInstanceType;
3228
3228
  /**
3229
3229
  * @public
3230
3230
  * <p>The duration, in seconds, for which the offering will reserve the Elasticsearch instance.</p>
@@ -3249,7 +3249,7 @@ export interface ReservedElasticsearchInstanceOffering {
3249
3249
  * @public
3250
3250
  * <p>Payment option for the reserved Elasticsearch instance offering</p>
3251
3251
  */
3252
- PaymentOption?: ReservedElasticsearchInstancePaymentOption | string;
3252
+ PaymentOption?: ReservedElasticsearchInstancePaymentOption;
3253
3253
  /**
3254
3254
  * @public
3255
3255
  * <p>The charge to your account regardless of whether you are creating any domains using the instance offering.</p>
@@ -3318,7 +3318,7 @@ export interface ReservedElasticsearchInstance {
3318
3318
  * @public
3319
3319
  * <p>The Elasticsearch instance type offered by the reserved instance offering.</p>
3320
3320
  */
3321
- ElasticsearchInstanceType?: ESPartitionInstanceType | string;
3321
+ ElasticsearchInstanceType?: ESPartitionInstanceType;
3322
3322
  /**
3323
3323
  * @public
3324
3324
  * <p>The time the reservation started.</p>
@@ -3358,7 +3358,7 @@ export interface ReservedElasticsearchInstance {
3358
3358
  * @public
3359
3359
  * <p>The payment option as defined in the reserved Elasticsearch instance offering.</p>
3360
3360
  */
3361
- PaymentOption?: ReservedElasticsearchInstancePaymentOption | string;
3361
+ PaymentOption?: ReservedElasticsearchInstancePaymentOption;
3362
3362
  /**
3363
3363
  * @public
3364
3364
  * <p>The charge to your account regardless of whether you are creating any domains using the instance offering.</p>
@@ -3419,7 +3419,7 @@ export interface VpcEndpointError {
3419
3419
  * @public
3420
3420
  * <p>The code associated with the error.</p>
3421
3421
  */
3422
- ErrorCode?: VpcEndpointErrorCode | string;
3422
+ ErrorCode?: VpcEndpointErrorCode;
3423
3423
  /**
3424
3424
  * @public
3425
3425
  * <p>A message describing the error.</p>
@@ -3691,7 +3691,7 @@ export interface UpgradeStepItem {
3691
3691
  * </ul>
3692
3692
  * </p>
3693
3693
  */
3694
- UpgradeStep?: UpgradeStep | string;
3694
+ UpgradeStep?: UpgradeStep;
3695
3695
  /**
3696
3696
  * @public
3697
3697
  * <p>
@@ -3704,7 +3704,7 @@ export interface UpgradeStepItem {
3704
3704
  * </ul>
3705
3705
  * </p>
3706
3706
  */
3707
- UpgradeStepStatus?: UpgradeStatus | string;
3707
+ UpgradeStepStatus?: UpgradeStatus;
3708
3708
  /**
3709
3709
  * @public
3710
3710
  * <p>A list of strings containing detailed information about the errors encountered in a particular step.</p>
@@ -3743,7 +3743,7 @@ export interface UpgradeHistory {
3743
3743
  * </ul>
3744
3744
  * </p>
3745
3745
  */
3746
- UpgradeStatus?: UpgradeStatus | string;
3746
+ UpgradeStatus?: UpgradeStatus;
3747
3747
  /**
3748
3748
  * @public
3749
3749
  * <p>
@@ -3827,7 +3827,7 @@ export interface GetUpgradeStatusResponse {
3827
3827
  * </ul>
3828
3828
  * </p>
3829
3829
  */
3830
- UpgradeStep?: UpgradeStep | string;
3830
+ UpgradeStep?: UpgradeStep;
3831
3831
  /**
3832
3832
  * @public
3833
3833
  * <p>
@@ -3844,7 +3844,7 @@ export interface GetUpgradeStatusResponse {
3844
3844
  * </ul>
3845
3845
  * </p>
3846
3846
  */
3847
- StepStatus?: UpgradeStatus | string;
3847
+ StepStatus?: UpgradeStatus;
3848
3848
  /**
3849
3849
  * @public
3850
3850
  * <p>A string that describes the update briefly</p>
@@ -3872,7 +3872,7 @@ export interface ListDomainNamesRequest {
3872
3872
  * @public
3873
3873
  * <p> Optional parameter to filter the output by domain engine type. Acceptable values are 'Elasticsearch' and 'OpenSearch'. </p>
3874
3874
  */
3875
- EngineType?: EngineType | string;
3875
+ EngineType?: EngineType;
3876
3876
  }
3877
3877
  /**
3878
3878
  * @public
@@ -3887,7 +3887,7 @@ export interface DomainInfo {
3887
3887
  * @public
3888
3888
  * <p> Specifies the <code>EngineType</code> of the domain.</p>
3889
3889
  */
3890
- EngineType?: EngineType | string;
3890
+ EngineType?: EngineType;
3891
3891
  }
3892
3892
  /**
3893
3893
  * @public
@@ -4007,7 +4007,7 @@ export interface ListElasticsearchInstanceTypesResponse {
4007
4007
  * </code>
4008
4008
  * </p>
4009
4009
  */
4010
- ElasticsearchInstanceTypes?: (ESPartitionInstanceType | string)[];
4010
+ ElasticsearchInstanceTypes?: ESPartitionInstanceType[];
4011
4011
  /**
4012
4012
  * @public
4013
4013
  * <p>In case if there are more results available NextToken would be
@@ -4421,7 +4421,7 @@ export interface UpdateElasticsearchDomainConfigRequest {
4421
4421
  * @public
4422
4422
  * <p>Map of <code>LogType</code> and <code>LogPublishingOption</code>, each containing options to publish a given type of Elasticsearch log.</p>
4423
4423
  */
4424
- LogPublishingOptions?: Record<string, LogPublishingOption>;
4424
+ LogPublishingOptions?: Record<LogType, LogPublishingOption>;
4425
4425
  /**
4426
4426
  * @public
4427
4427
  * <p>Options to specify configuration that will be applied to the domain endpoint.</p>
@@ -14,7 +14,7 @@ export declare const InboundCrossClusterSearchConnectionStatusCode: {
14
14
  export type InboundCrossClusterSearchConnectionStatusCode =
15
15
  (typeof InboundCrossClusterSearchConnectionStatusCode)[keyof typeof InboundCrossClusterSearchConnectionStatusCode];
16
16
  export interface InboundCrossClusterSearchConnectionStatus {
17
- StatusCode?: InboundCrossClusterSearchConnectionStatusCode | string;
17
+ StatusCode?: InboundCrossClusterSearchConnectionStatusCode;
18
18
  Message?: string;
19
19
  }
20
20
  export interface DomainInformation {
@@ -69,7 +69,7 @@ export interface OptionStatus {
69
69
  CreationDate: Date | undefined;
70
70
  UpdateDate: Date | undefined;
71
71
  UpdateVersion?: number;
72
- State: OptionState | string | undefined;
72
+ State: OptionState | undefined;
73
73
  PendingDeletion?: boolean;
74
74
  }
75
75
  export interface AccessPoliciesStatus {
@@ -176,10 +176,10 @@ export type PackageType = (typeof PackageType)[keyof typeof PackageType];
176
176
  export interface DomainPackageDetails {
177
177
  PackageID?: string;
178
178
  PackageName?: string;
179
- PackageType?: PackageType | string;
179
+ PackageType?: PackageType;
180
180
  LastUpdated?: Date;
181
181
  DomainName?: string;
182
- DomainPackageStatus?: DomainPackageStatus | string;
182
+ DomainPackageStatus?: DomainPackageStatus;
183
183
  PackageVersion?: string;
184
184
  ReferencePath?: string;
185
185
  ErrorDetails?: ErrorDetails;
@@ -202,7 +202,7 @@ export declare const PrincipalType: {
202
202
  };
203
203
  export type PrincipalType = (typeof PrincipalType)[keyof typeof PrincipalType];
204
204
  export interface AuthorizedPrincipal {
205
- PrincipalType?: PrincipalType | string;
205
+ PrincipalType?: PrincipalType;
206
206
  Principal?: string;
207
207
  }
208
208
  export interface AuthorizeVpcEndpointAccessResponse {
@@ -225,7 +225,7 @@ export interface ServiceSoftwareOptions {
225
225
  NewVersion?: string;
226
226
  UpdateAvailable?: boolean;
227
227
  Cancellable?: boolean;
228
- UpdateStatus?: DeploymentStatus | string;
228
+ UpdateStatus?: DeploymentStatus;
229
229
  Description?: string;
230
230
  AutomatedUpdateDate?: Date;
231
231
  OptionalDeployment?: boolean;
@@ -245,7 +245,7 @@ export declare const TimeUnit: {
245
245
  export type TimeUnit = (typeof TimeUnit)[keyof typeof TimeUnit];
246
246
  export interface Duration {
247
247
  Value?: number;
248
- Unit?: TimeUnit | string;
248
+ Unit?: TimeUnit;
249
249
  }
250
250
  export interface AutoTuneMaintenanceSchedule {
251
251
  StartAt?: Date;
@@ -253,7 +253,7 @@ export interface AutoTuneMaintenanceSchedule {
253
253
  CronExpressionForRecurrence?: string;
254
254
  }
255
255
  export interface AutoTuneOptionsInput {
256
- DesiredState?: AutoTuneDesiredState | string;
256
+ DesiredState?: AutoTuneDesiredState;
257
257
  MaintenanceSchedules?: AutoTuneMaintenanceSchedule[];
258
258
  }
259
259
  export interface CognitoOptions {
@@ -270,7 +270,7 @@ export type TLSSecurityPolicy =
270
270
  (typeof TLSSecurityPolicy)[keyof typeof TLSSecurityPolicy];
271
271
  export interface DomainEndpointOptions {
272
272
  EnforceHTTPS?: boolean;
273
- TLSSecurityPolicy?: TLSSecurityPolicy | string;
273
+ TLSSecurityPolicy?: TLSSecurityPolicy;
274
274
  CustomEndpointEnabled?: boolean;
275
275
  CustomEndpoint?: string;
276
276
  CustomEndpointCertificateArn?: string;
@@ -284,7 +284,7 @@ export declare const VolumeType: {
284
284
  export type VolumeType = (typeof VolumeType)[keyof typeof VolumeType];
285
285
  export interface EBSOptions {
286
286
  EBSEnabled?: boolean;
287
- VolumeType?: VolumeType | string;
287
+ VolumeType?: VolumeType;
288
288
  VolumeSize?: number;
289
289
  Iops?: number;
290
290
  Throughput?: number;
@@ -364,15 +364,15 @@ export interface ZoneAwarenessConfig {
364
364
  AvailabilityZoneCount?: number;
365
365
  }
366
366
  export interface ElasticsearchClusterConfig {
367
- InstanceType?: ESPartitionInstanceType | string;
367
+ InstanceType?: ESPartitionInstanceType;
368
368
  InstanceCount?: number;
369
369
  DedicatedMasterEnabled?: boolean;
370
370
  ZoneAwarenessEnabled?: boolean;
371
371
  ZoneAwarenessConfig?: ZoneAwarenessConfig;
372
- DedicatedMasterType?: ESPartitionInstanceType | string;
372
+ DedicatedMasterType?: ESPartitionInstanceType;
373
373
  DedicatedMasterCount?: number;
374
374
  WarmEnabled?: boolean;
375
- WarmType?: ESWarmPartitionInstanceType | string;
375
+ WarmType?: ESWarmPartitionInstanceType;
376
376
  WarmCount?: number;
377
377
  ColdStorageOptions?: ColdStorageOptions;
378
378
  }
@@ -413,7 +413,7 @@ export interface CreateElasticsearchDomainRequest {
413
413
  EncryptionAtRestOptions?: EncryptionAtRestOptions;
414
414
  NodeToNodeEncryptionOptions?: NodeToNodeEncryptionOptions;
415
415
  AdvancedOptions?: Record<string, string>;
416
- LogPublishingOptions?: Record<string, LogPublishingOption>;
416
+ LogPublishingOptions?: Record<LogType, LogPublishingOption>;
417
417
  DomainEndpointOptions?: DomainEndpointOptions;
418
418
  AdvancedSecurityOptions?: AdvancedSecurityOptionsInput;
419
419
  AutoTuneOptions?: AutoTuneOptionsInput;
@@ -432,7 +432,7 @@ export declare const AutoTuneState: {
432
432
  };
433
433
  export type AutoTuneState = (typeof AutoTuneState)[keyof typeof AutoTuneState];
434
434
  export interface AutoTuneOptionsOutput {
435
- State?: AutoTuneState | string;
435
+ State?: AutoTuneState;
436
436
  ErrorMessage?: string;
437
437
  }
438
438
  export interface ChangeProgressDetails {
@@ -465,7 +465,7 @@ export interface ElasticsearchDomainStatus {
465
465
  EncryptionAtRestOptions?: EncryptionAtRestOptions;
466
466
  NodeToNodeEncryptionOptions?: NodeToNodeEncryptionOptions;
467
467
  AdvancedOptions?: Record<string, string>;
468
- LogPublishingOptions?: Record<string, LogPublishingOption>;
468
+ LogPublishingOptions?: Record<LogType, LogPublishingOption>;
469
469
  ServiceSoftwareOptions?: ServiceSoftwareOptions;
470
470
  DomainEndpointOptions?: DomainEndpointOptions;
471
471
  AdvancedSecurityOptions?: AdvancedSecurityOptions;
@@ -507,7 +507,7 @@ export declare const OutboundCrossClusterSearchConnectionStatusCode: {
507
507
  export type OutboundCrossClusterSearchConnectionStatusCode =
508
508
  (typeof OutboundCrossClusterSearchConnectionStatusCode)[keyof typeof OutboundCrossClusterSearchConnectionStatusCode];
509
509
  export interface OutboundCrossClusterSearchConnectionStatus {
510
- StatusCode?: OutboundCrossClusterSearchConnectionStatusCode | string;
510
+ StatusCode?: OutboundCrossClusterSearchConnectionStatusCode;
511
511
  Message?: string;
512
512
  }
513
513
  export interface CreateOutboundCrossClusterSearchConnectionResponse {
@@ -523,7 +523,7 @@ export interface PackageSource {
523
523
  }
524
524
  export interface CreatePackageRequest {
525
525
  PackageName: string | undefined;
526
- PackageType: PackageType | string | undefined;
526
+ PackageType: PackageType | undefined;
527
527
  PackageDescription?: string;
528
528
  PackageSource: PackageSource | undefined;
529
529
  }
@@ -541,9 +541,9 @@ export type PackageStatus = (typeof PackageStatus)[keyof typeof PackageStatus];
541
541
  export interface PackageDetails {
542
542
  PackageID?: string;
543
543
  PackageName?: string;
544
- PackageType?: PackageType | string;
544
+ PackageType?: PackageType;
545
545
  PackageDescription?: string;
546
- PackageStatus?: PackageStatus | string;
546
+ PackageStatus?: PackageStatus;
547
547
  CreatedAt?: Date;
548
548
  LastUpdatedAt?: Date;
549
549
  AvailablePackageVersion?: string;
@@ -573,7 +573,7 @@ export interface VpcEndpoint {
573
573
  VpcEndpointOwner?: string;
574
574
  DomainArn?: string;
575
575
  VpcOptions?: VPCDerivedInfo;
576
- Status?: VpcEndpointStatus | string;
576
+ Status?: VpcEndpointStatus;
577
577
  Endpoint?: string;
578
578
  }
579
579
  export interface CreateVpcEndpointResponse {
@@ -617,7 +617,7 @@ export interface VpcEndpointSummary {
617
617
  VpcEndpointId?: string;
618
618
  VpcEndpointOwner?: string;
619
619
  DomainArn?: string;
620
- Status?: VpcEndpointStatus | string;
620
+ Status?: VpcEndpointStatus;
621
621
  }
622
622
  export interface DeleteVpcEndpointResponse {
623
623
  VpcEndpointSummary: VpcEndpointSummary | undefined;
@@ -642,9 +642,9 @@ export type ScheduledAutoTuneSeverityType =
642
642
  (typeof ScheduledAutoTuneSeverityType)[keyof typeof ScheduledAutoTuneSeverityType];
643
643
  export interface ScheduledAutoTuneDetails {
644
644
  Date?: Date;
645
- ActionType?: ScheduledAutoTuneActionType | string;
645
+ ActionType?: ScheduledAutoTuneActionType;
646
646
  Action?: string;
647
- Severity?: ScheduledAutoTuneSeverityType | string;
647
+ Severity?: ScheduledAutoTuneSeverityType;
648
648
  }
649
649
  export interface AutoTuneDetails {
650
650
  ScheduledAutoTuneDetails?: ScheduledAutoTuneDetails;
@@ -654,7 +654,7 @@ export declare const AutoTuneType: {
654
654
  };
655
655
  export type AutoTuneType = (typeof AutoTuneType)[keyof typeof AutoTuneType];
656
656
  export interface AutoTune {
657
- AutoTuneType?: AutoTuneType | string;
657
+ AutoTuneType?: AutoTuneType;
658
658
  AutoTuneDetails?: AutoTuneDetails;
659
659
  }
660
660
  export interface DescribeDomainAutoTunesResponse {
@@ -682,7 +682,7 @@ export type OverallChangeStatus =
682
682
  export interface ChangeProgressStatusDetails {
683
683
  ChangeId?: string;
684
684
  StartTime?: Date;
685
- Status?: OverallChangeStatus | string;
685
+ Status?: OverallChangeStatus;
686
686
  PendingProperties?: string[];
687
687
  CompletedProperties?: string[];
688
688
  TotalNumberOfStages?: number;
@@ -707,15 +707,15 @@ export declare const RollbackOnDisable: {
707
707
  export type RollbackOnDisable =
708
708
  (typeof RollbackOnDisable)[keyof typeof RollbackOnDisable];
709
709
  export interface AutoTuneOptions {
710
- DesiredState?: AutoTuneDesiredState | string;
711
- RollbackOnDisable?: RollbackOnDisable | string;
710
+ DesiredState?: AutoTuneDesiredState;
711
+ RollbackOnDisable?: RollbackOnDisable;
712
712
  MaintenanceSchedules?: AutoTuneMaintenanceSchedule[];
713
713
  }
714
714
  export interface AutoTuneStatus {
715
715
  CreationDate: Date | undefined;
716
716
  UpdateDate: Date | undefined;
717
717
  UpdateVersion?: number;
718
- State: AutoTuneState | string | undefined;
718
+ State: AutoTuneState | undefined;
719
719
  ErrorMessage?: string;
720
720
  PendingDeletion?: boolean;
721
721
  }
@@ -748,7 +748,7 @@ export interface EncryptionAtRestOptionsStatus {
748
748
  Status: OptionStatus | undefined;
749
749
  }
750
750
  export interface LogPublishingOptionsStatus {
751
- Options?: Record<string, LogPublishingOption>;
751
+ Options?: Record<LogType, LogPublishingOption>;
752
752
  Status?: OptionStatus;
753
753
  }
754
754
  export interface NodeToNodeEncryptionOptionsStatus {
@@ -791,7 +791,7 @@ export interface DescribeElasticsearchDomainsResponse {
791
791
  }
792
792
  export interface DescribeElasticsearchInstanceTypeLimitsRequest {
793
793
  DomainName?: string;
794
- InstanceType: ESPartitionInstanceType | string | undefined;
794
+ InstanceType: ESPartitionInstanceType | undefined;
795
795
  ElasticsearchVersion: string | undefined;
796
796
  }
797
797
  export interface InstanceCountLimits {
@@ -858,7 +858,7 @@ export declare const DescribePackagesFilterName: {
858
858
  export type DescribePackagesFilterName =
859
859
  (typeof DescribePackagesFilterName)[keyof typeof DescribePackagesFilterName];
860
860
  export interface DescribePackagesFilter {
861
- Name?: DescribePackagesFilterName | string;
861
+ Name?: DescribePackagesFilterName;
862
862
  Value?: string[];
863
863
  }
864
864
  export interface DescribePackagesRequest {
@@ -888,12 +888,12 @@ export interface RecurringCharge {
888
888
  }
889
889
  export interface ReservedElasticsearchInstanceOffering {
890
890
  ReservedElasticsearchInstanceOfferingId?: string;
891
- ElasticsearchInstanceType?: ESPartitionInstanceType | string;
891
+ ElasticsearchInstanceType?: ESPartitionInstanceType;
892
892
  Duration?: number;
893
893
  FixedPrice?: number;
894
894
  UsagePrice?: number;
895
895
  CurrencyCode?: string;
896
- PaymentOption?: ReservedElasticsearchInstancePaymentOption | string;
896
+ PaymentOption?: ReservedElasticsearchInstancePaymentOption;
897
897
  RecurringCharges?: RecurringCharge[];
898
898
  }
899
899
  export interface DescribeReservedElasticsearchInstanceOfferingsResponse {
@@ -909,7 +909,7 @@ export interface ReservedElasticsearchInstance {
909
909
  ReservationName?: string;
910
910
  ReservedElasticsearchInstanceId?: string;
911
911
  ReservedElasticsearchInstanceOfferingId?: string;
912
- ElasticsearchInstanceType?: ESPartitionInstanceType | string;
912
+ ElasticsearchInstanceType?: ESPartitionInstanceType;
913
913
  StartTime?: Date;
914
914
  Duration?: number;
915
915
  FixedPrice?: number;
@@ -917,7 +917,7 @@ export interface ReservedElasticsearchInstance {
917
917
  CurrencyCode?: string;
918
918
  ElasticsearchInstanceCount?: number;
919
919
  State?: string;
920
- PaymentOption?: ReservedElasticsearchInstancePaymentOption | string;
920
+ PaymentOption?: ReservedElasticsearchInstancePaymentOption;
921
921
  RecurringCharges?: RecurringCharge[];
922
922
  }
923
923
  export interface DescribeReservedElasticsearchInstancesResponse {
@@ -935,7 +935,7 @@ export type VpcEndpointErrorCode =
935
935
  (typeof VpcEndpointErrorCode)[keyof typeof VpcEndpointErrorCode];
936
936
  export interface VpcEndpointError {
937
937
  VpcEndpointId?: string;
938
- ErrorCode?: VpcEndpointErrorCode | string;
938
+ ErrorCode?: VpcEndpointErrorCode;
939
939
  ErrorMessage?: string;
940
940
  }
941
941
  export interface DescribeVpcEndpointsResponse {
@@ -993,15 +993,15 @@ export declare const UpgradeStatus: {
993
993
  };
994
994
  export type UpgradeStatus = (typeof UpgradeStatus)[keyof typeof UpgradeStatus];
995
995
  export interface UpgradeStepItem {
996
- UpgradeStep?: UpgradeStep | string;
997
- UpgradeStepStatus?: UpgradeStatus | string;
996
+ UpgradeStep?: UpgradeStep;
997
+ UpgradeStepStatus?: UpgradeStatus;
998
998
  Issues?: string[];
999
999
  ProgressPercent?: number;
1000
1000
  }
1001
1001
  export interface UpgradeHistory {
1002
1002
  UpgradeName?: string;
1003
1003
  StartTimestamp?: Date;
1004
- UpgradeStatus?: UpgradeStatus | string;
1004
+ UpgradeStatus?: UpgradeStatus;
1005
1005
  StepsList?: UpgradeStepItem[];
1006
1006
  }
1007
1007
  export interface GetUpgradeHistoryResponse {
@@ -1012,8 +1012,8 @@ export interface GetUpgradeStatusRequest {
1012
1012
  DomainName: string | undefined;
1013
1013
  }
1014
1014
  export interface GetUpgradeStatusResponse {
1015
- UpgradeStep?: UpgradeStep | string;
1016
- StepStatus?: UpgradeStatus | string;
1015
+ UpgradeStep?: UpgradeStep;
1016
+ StepStatus?: UpgradeStatus;
1017
1017
  UpgradeName?: string;
1018
1018
  }
1019
1019
  export declare const EngineType: {
@@ -1022,11 +1022,11 @@ export declare const EngineType: {
1022
1022
  };
1023
1023
  export type EngineType = (typeof EngineType)[keyof typeof EngineType];
1024
1024
  export interface ListDomainNamesRequest {
1025
- EngineType?: EngineType | string;
1025
+ EngineType?: EngineType;
1026
1026
  }
1027
1027
  export interface DomainInfo {
1028
1028
  DomainName?: string;
1029
- EngineType?: EngineType | string;
1029
+ EngineType?: EngineType;
1030
1030
  }
1031
1031
  export interface ListDomainNamesResponse {
1032
1032
  DomainNames?: DomainInfo[];
@@ -1047,7 +1047,7 @@ export interface ListElasticsearchInstanceTypesRequest {
1047
1047
  NextToken?: string;
1048
1048
  }
1049
1049
  export interface ListElasticsearchInstanceTypesResponse {
1050
- ElasticsearchInstanceTypes?: (ESPartitionInstanceType | string)[];
1050
+ ElasticsearchInstanceTypes?: ESPartitionInstanceType[];
1051
1051
  NextToken?: string;
1052
1052
  }
1053
1053
  export interface ListElasticsearchVersionsRequest {
@@ -1135,7 +1135,7 @@ export interface UpdateElasticsearchDomainConfigRequest {
1135
1135
  CognitoOptions?: CognitoOptions;
1136
1136
  AdvancedOptions?: Record<string, string>;
1137
1137
  AccessPolicies?: string;
1138
- LogPublishingOptions?: Record<string, LogPublishingOption>;
1138
+ LogPublishingOptions?: Record<LogType, LogPublishingOption>;
1139
1139
  DomainEndpointOptions?: DomainEndpointOptions;
1140
1140
  AdvancedSecurityOptions?: AdvancedSecurityOptionsInput;
1141
1141
  NodeToNodeEncryptionOptions?: NodeToNodeEncryptionOptions;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-elasticsearch-service",
3
3
  "description": "AWS SDK for JavaScript Elasticsearch Service Client for Node.js, Browser and React Native",
4
- "version": "3.428.0",
4
+ "version": "3.430.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,28 +21,28 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.428.0",
25
- "@aws-sdk/credential-provider-node": "3.428.0",
26
- "@aws-sdk/middleware-host-header": "3.428.0",
24
+ "@aws-sdk/client-sts": "3.430.0",
25
+ "@aws-sdk/credential-provider-node": "3.430.0",
26
+ "@aws-sdk/middleware-host-header": "3.429.0",
27
27
  "@aws-sdk/middleware-logger": "3.428.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.428.0",
29
29
  "@aws-sdk/middleware-signing": "3.428.0",
30
30
  "@aws-sdk/middleware-user-agent": "3.428.0",
31
- "@aws-sdk/region-config-resolver": "3.428.0",
31
+ "@aws-sdk/region-config-resolver": "3.430.0",
32
32
  "@aws-sdk/types": "3.428.0",
33
33
  "@aws-sdk/util-endpoints": "3.428.0",
34
34
  "@aws-sdk/util-user-agent-browser": "3.428.0",
35
- "@aws-sdk/util-user-agent-node": "3.428.0",
36
- "@smithy/config-resolver": "^2.0.14",
35
+ "@aws-sdk/util-user-agent-node": "3.430.0",
36
+ "@smithy/config-resolver": "^2.0.15",
37
37
  "@smithy/fetch-http-handler": "^2.2.3",
38
38
  "@smithy/hash-node": "^2.0.11",
39
39
  "@smithy/invalid-dependency": "^2.0.11",
40
40
  "@smithy/middleware-content-length": "^2.0.13",
41
- "@smithy/middleware-endpoint": "^2.1.0",
42
- "@smithy/middleware-retry": "^2.0.16",
41
+ "@smithy/middleware-endpoint": "^2.1.2",
42
+ "@smithy/middleware-retry": "^2.0.17",
43
43
  "@smithy/middleware-serde": "^2.0.11",
44
44
  "@smithy/middleware-stack": "^2.0.5",
45
- "@smithy/node-config-provider": "^2.1.1",
45
+ "@smithy/node-config-provider": "^2.1.2",
46
46
  "@smithy/node-http-handler": "^2.1.7",
47
47
  "@smithy/protocol-http": "^3.0.7",
48
48
  "@smithy/smithy-client": "^2.1.11",
@@ -52,7 +52,7 @@
52
52
  "@smithy/util-body-length-browser": "^2.0.0",
53
53
  "@smithy/util-body-length-node": "^2.1.0",
54
54
  "@smithy/util-defaults-mode-browser": "^2.0.15",
55
- "@smithy/util-defaults-mode-node": "^2.0.19",
55
+ "@smithy/util-defaults-mode-node": "^2.0.20",
56
56
  "@smithy/util-retry": "^2.0.4",
57
57
  "@smithy/util-utf8": "^2.0.0",
58
58
  "tslib": "^2.5.0"