@aws-sdk/client-emr 3.427.0 → 3.429.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.
@@ -149,7 +149,7 @@ export interface OnDemandCapacityReservationOptions {
149
149
  * <p>If you do not specify a value, the fleet fulfills the On-Demand capacity according to
150
150
  * the chosen On-Demand allocation strategy.</p>
151
151
  */
152
- UsageStrategy?: OnDemandCapacityReservationUsageStrategy | string;
152
+ UsageStrategy?: OnDemandCapacityReservationUsageStrategy;
153
153
  /**
154
154
  * @public
155
155
  * <p>Indicates the instance's Capacity Reservation preferences. Possible preferences
@@ -167,7 +167,7 @@ export interface OnDemandCapacityReservationOptions {
167
167
  * </li>
168
168
  * </ul>
169
169
  */
170
- CapacityReservationPreference?: OnDemandCapacityReservationPreference | string;
170
+ CapacityReservationPreference?: OnDemandCapacityReservationPreference;
171
171
  /**
172
172
  * @public
173
173
  * <p>The ARN of the Capacity Reservation resource group in which to run the instance.</p>
@@ -191,7 +191,7 @@ export interface OnDemandProvisioningSpecification {
191
191
  * only option is <code>lowest-price</code> (the default), which launches the lowest price
192
192
  * first.</p>
193
193
  */
194
- AllocationStrategy: OnDemandProvisioningAllocationStrategy | string | undefined;
194
+ AllocationStrategy: OnDemandProvisioningAllocationStrategy | undefined;
195
195
  /**
196
196
  * @public
197
197
  * <p>The launch specification for On-Demand instances in the instance fleet, which determines
@@ -259,7 +259,7 @@ export interface SpotProvisioningSpecification {
259
259
  * specifies that if no Spot Instances are available, On-Demand Instances should be
260
260
  * provisioned to fulfill any remaining Spot capacity.</p>
261
261
  */
262
- TimeoutAction: SpotProvisioningTimeoutAction | string | undefined;
262
+ TimeoutAction: SpotProvisioningTimeoutAction | undefined;
263
263
  /**
264
264
  * @public
265
265
  * <p>The defined duration for Spot Instances (also known as Spot blocks) in minutes. When
@@ -283,7 +283,7 @@ export interface SpotProvisioningSpecification {
283
283
  * option is capacity-optimized (the default), which launches instances from Spot Instance
284
284
  * pools with optimal capacity for the number of instances that are launching. </p>
285
285
  */
286
- AllocationStrategy?: SpotProvisioningAllocationStrategy | string;
286
+ AllocationStrategy?: SpotProvisioningAllocationStrategy;
287
287
  }
288
288
  /**
289
289
  * @public
@@ -495,7 +495,7 @@ export interface SimpleScalingPolicyConfiguration {
495
495
  * group with the number of Amazon EC2 instances specified by
496
496
  * <code>ScalingAdjustment</code>, which should be expressed as a positive integer.</p>
497
497
  */
498
- AdjustmentType?: AdjustmentType | string;
498
+ AdjustmentType?: AdjustmentType;
499
499
  /**
500
500
  * @public
501
501
  * <p>The amount by which to scale in or scale out, based on the specified
@@ -525,7 +525,7 @@ export interface ScalingAction {
525
525
  * <p>Not available for instance groups. Instance groups use the market type specified for the
526
526
  * group.</p>
527
527
  */
528
- Market?: MarketType | string;
528
+ Market?: MarketType;
529
529
  /**
530
530
  * @public
531
531
  * <p>The type of adjustment the automatic scaling activity makes when triggered, and the
@@ -631,7 +631,7 @@ export interface CloudWatchAlarmDefinition {
631
631
  * <p>Determines how the metric specified by <code>MetricName</code> is compared to the value
632
632
  * specified by <code>Threshold</code>.</p>
633
633
  */
634
- ComparisonOperator: ComparisonOperator | string | undefined;
634
+ ComparisonOperator: ComparisonOperator | undefined;
635
635
  /**
636
636
  * @public
637
637
  * <p>The number of periods, in five-minute increments, during which the alarm condition must
@@ -663,7 +663,7 @@ export interface CloudWatchAlarmDefinition {
663
663
  * <p>The statistic to apply to the metric associated with the alarm. The default is
664
664
  * <code>AVERAGE</code>.</p>
665
665
  */
666
- Statistic?: Statistic | string;
666
+ Statistic?: Statistic;
667
667
  /**
668
668
  * @public
669
669
  * <p>The value against which the specified statistic is compared.</p>
@@ -675,7 +675,7 @@ export interface CloudWatchAlarmDefinition {
675
675
  * specified for <code>Unit</code> must correspond to the units specified in the CloudWatch
676
676
  * metric.</p>
677
677
  */
678
- Unit?: Unit | string;
678
+ Unit?: Unit;
679
679
  /**
680
680
  * @public
681
681
  * <p>A CloudWatch metric dimension.</p>
@@ -886,7 +886,7 @@ export interface StepConfig {
886
886
  * step that fails with this parameter set to <code>TERMINATE_CLUSTER</code>, the cluster does
887
887
  * not terminate.</p>
888
888
  */
889
- ActionOnFailure?: ActionOnFailure | string;
889
+ ActionOnFailure?: ActionOnFailure;
890
890
  /**
891
891
  * @public
892
892
  * <p>The JAR file used for the step.</p>
@@ -1064,7 +1064,7 @@ export interface AutoScalingPolicyStateChangeReason {
1064
1064
  * <code>PROVISION_FAILURE</code> indicates that the status change was because the policy
1065
1065
  * failed to provision. <code>CLEANUP_FAILURE</code> indicates an error.</p>
1066
1066
  */
1067
- Code?: AutoScalingPolicyStateChangeReasonCode | string;
1067
+ Code?: AutoScalingPolicyStateChangeReasonCode;
1068
1068
  /**
1069
1069
  * @public
1070
1070
  * <p>A friendly, more verbose message that accompanies an automatic scaling policy state
@@ -1082,7 +1082,7 @@ export interface AutoScalingPolicyStatus {
1082
1082
  * @public
1083
1083
  * <p>Indicates the status of the automatic scaling policy.</p>
1084
1084
  */
1085
- State?: AutoScalingPolicyState | string;
1085
+ State?: AutoScalingPolicyState;
1086
1086
  /**
1087
1087
  * @public
1088
1088
  * <p>The reason for a change in status.</p>
@@ -1245,7 +1245,7 @@ export interface CancelStepsInput {
1245
1245
  * <p>The option to choose to cancel <code>RUNNING</code> steps. By default, the value is
1246
1246
  * <code>SEND_INTERRUPT</code>.</p>
1247
1247
  */
1248
- StepCancellationOption?: StepCancellationOption | string;
1248
+ StepCancellationOption?: StepCancellationOption;
1249
1249
  }
1250
1250
  /**
1251
1251
  * @public
@@ -1273,7 +1273,7 @@ export interface CancelStepsInfo {
1273
1273
  * @public
1274
1274
  * <p>The status of a CancelSteps Request. The value may be SUBMITTED or FAILED.</p>
1275
1275
  */
1276
- Status?: CancelStepsRequestStatus | string;
1276
+ Status?: CancelStepsRequestStatus;
1277
1277
  /**
1278
1278
  * @public
1279
1279
  * <p>The reason for the failure if the CancelSteps request fails.</p>
@@ -1458,14 +1458,14 @@ export interface PlacementGroupConfig {
1458
1458
  * <p>Starting with Amazon EMR release 5.23.0, the only supported instance role is
1459
1459
  * <code>MASTER</code>.</p>
1460
1460
  */
1461
- InstanceRole: InstanceRoleType | string | undefined;
1461
+ InstanceRole: InstanceRoleType | undefined;
1462
1462
  /**
1463
1463
  * @public
1464
1464
  * <p>Amazon EC2 Placement Group strategy associated with instance role.</p>
1465
1465
  * <p>Starting with Amazon EMR release 5.23.0, the only supported placement strategy
1466
1466
  * is <code>SPREAD</code> for the <code>MASTER</code> instance role.</p>
1467
1467
  */
1468
- PlacementStrategy?: PlacementGroupStrategy | string;
1468
+ PlacementStrategy?: PlacementGroupStrategy;
1469
1469
  }
1470
1470
  /**
1471
1471
  * @public
@@ -1558,7 +1558,7 @@ export interface ClusterStateChangeReason {
1558
1558
  * @public
1559
1559
  * <p>The programmatic code for the state change reason.</p>
1560
1560
  */
1561
- Code?: ClusterStateChangeReasonCode | string;
1561
+ Code?: ClusterStateChangeReasonCode;
1562
1562
  /**
1563
1563
  * @public
1564
1564
  * <p>The descriptive message for the state change reason.</p>
@@ -1595,7 +1595,7 @@ export interface ClusterStatus {
1595
1595
  * @public
1596
1596
  * <p>The current state of the cluster.</p>
1597
1597
  */
1598
- State?: ClusterState | string;
1598
+ State?: ClusterState;
1599
1599
  /**
1600
1600
  * @public
1601
1601
  * <p>The reason for the cluster status change.</p>
@@ -1700,7 +1700,7 @@ export interface ComputeLimits {
1700
1700
  * @public
1701
1701
  * <p> The unit type used for specifying a managed scaling policy. </p>
1702
1702
  */
1703
- UnitType: ComputeLimitsUnitType | string | undefined;
1703
+ UnitType: ComputeLimitsUnitType | undefined;
1704
1704
  /**
1705
1705
  * @public
1706
1706
  * <p> The lower boundary of Amazon EC2 units. It is measured through vCPU cores or
@@ -1785,7 +1785,7 @@ export interface CreateStudioInput {
1785
1785
  * @public
1786
1786
  * <p>Specifies whether the Studio authenticates users using IAM or IAM Identity Center.</p>
1787
1787
  */
1788
- AuthMode: AuthMode | string | undefined;
1788
+ AuthMode: AuthMode | undefined;
1789
1789
  /**
1790
1790
  * @public
1791
1791
  * <p>The ID of the Amazon Virtual Private Cloud (Amazon VPC) to associate with the
@@ -1915,7 +1915,7 @@ export interface CreateStudioSessionMappingInput {
1915
1915
  * <p>Specifies whether the identity to map to the Amazon EMR Studio is a user or a
1916
1916
  * group.</p>
1917
1917
  */
1918
- IdentityType: IdentityType | string | undefined;
1918
+ IdentityType: IdentityType | undefined;
1919
1919
  /**
1920
1920
  * @public
1921
1921
  * <p>The Amazon Resource Name (ARN) for the session policy that will be applied to the user
@@ -2027,7 +2027,7 @@ export interface DeleteStudioSessionMappingInput {
2027
2027
  * <p>Specifies whether the identity to delete from the Amazon EMR Studio is a user or
2028
2028
  * a group.</p>
2029
2029
  */
2030
- IdentityType: IdentityType | string | undefined;
2030
+ IdentityType: IdentityType | undefined;
2031
2031
  }
2032
2032
  /**
2033
2033
  * @public
@@ -2082,7 +2082,7 @@ export interface DescribeJobFlowsInput {
2082
2082
  * @public
2083
2083
  * <p>Return only job flows whose state is contained in this list.</p>
2084
2084
  */
2085
- JobFlowStates?: (JobFlowExecutionState | string)[];
2085
+ JobFlowStates?: JobFlowExecutionState[];
2086
2086
  }
2087
2087
  /**
2088
2088
  * @public
@@ -2093,7 +2093,7 @@ export interface JobFlowExecutionStatusDetail {
2093
2093
  * @public
2094
2094
  * <p>The state of the job flow.</p>
2095
2095
  */
2096
- State: JobFlowExecutionState | string | undefined;
2096
+ State: JobFlowExecutionState | undefined;
2097
2097
  /**
2098
2098
  * @public
2099
2099
  * <p>The creation date and time of the job flow.</p>
@@ -2160,12 +2160,12 @@ export interface InstanceGroupDetail {
2160
2160
  * @public
2161
2161
  * <p>Market type of the Amazon EC2 instances used to create a cluster node.</p>
2162
2162
  */
2163
- Market: MarketType | string | undefined;
2163
+ Market: MarketType | undefined;
2164
2164
  /**
2165
2165
  * @public
2166
2166
  * <p>Instance group role in the cluster</p>
2167
2167
  */
2168
- InstanceRole: InstanceRoleType | string | undefined;
2168
+ InstanceRole: InstanceRoleType | undefined;
2169
2169
  /**
2170
2170
  * @public
2171
2171
  * <p>If specified, indicates that the instance group uses Spot Instances. This is the maximum
@@ -2193,7 +2193,7 @@ export interface InstanceGroupDetail {
2193
2193
  * <p>State of instance group. The following values are no longer supported: STARTING,
2194
2194
  * TERMINATED, and FAILED.</p>
2195
2195
  */
2196
- State: InstanceGroupState | string | undefined;
2196
+ State: InstanceGroupState | undefined;
2197
2197
  /**
2198
2198
  * @public
2199
2199
  * <p>Details regarding the state of the instance group.</p>
@@ -2359,7 +2359,7 @@ export interface StepExecutionStatusDetail {
2359
2359
  * @public
2360
2360
  * <p>The state of the step.</p>
2361
2361
  */
2362
- State: StepExecutionState | string | undefined;
2362
+ State: StepExecutionState | undefined;
2363
2363
  /**
2364
2364
  * @public
2365
2365
  * <p>The creation date and time of the step.</p>
@@ -2501,7 +2501,7 @@ export interface JobFlowDetail {
2501
2501
  * instances, regardless of the instance-hour boundary. With either behavior, Amazon EMR removes the least active nodes first and blocks instance termination if it could lead to
2502
2502
  * HDFS corruption. <code>TERMINATE_AT_TASK_COMPLETION</code> available only in Amazon EMR releases 4.1.0 and later, and is the default for releases of Amazon EMR earlier than 5.1.0.</p>
2503
2503
  */
2504
- ScaleDownBehavior?: ScaleDownBehavior | string;
2504
+ ScaleDownBehavior?: ScaleDownBehavior;
2505
2505
  }
2506
2506
  /**
2507
2507
  * @public
@@ -2551,7 +2551,7 @@ export interface ExecutionEngineConfig {
2551
2551
  * @public
2552
2552
  * <p>The type of execution engine. A value of <code>EMR</code> specifies an Amazon EMR cluster.</p>
2553
2553
  */
2554
- Type?: ExecutionEngineType | string;
2554
+ Type?: ExecutionEngineType;
2555
2555
  /**
2556
2556
  * @public
2557
2557
  * <p>An optional unique ID of an Amazon EC2 security group to associate with the
@@ -2720,7 +2720,7 @@ export interface NotebookExecution {
2720
2720
  * </li>
2721
2721
  * </ul>
2722
2722
  */
2723
- Status?: NotebookExecutionStatus | string;
2723
+ Status?: NotebookExecutionStatus;
2724
2724
  /**
2725
2725
  * @public
2726
2726
  * <p>The timestamp when notebook execution started.</p>
@@ -2775,7 +2775,7 @@ export interface NotebookExecution {
2775
2775
  * @public
2776
2776
  * <p>The output format for the notebook execution.</p>
2777
2777
  */
2778
- OutputNotebookFormat?: OutputNotebookFormat | string;
2778
+ OutputNotebookFormat?: OutputNotebookFormat;
2779
2779
  /**
2780
2780
  * @public
2781
2781
  * <p>The environment variables associated with the notebook execution.</p>
@@ -3015,7 +3015,7 @@ export interface StepStateChangeReason {
3015
3015
  * <p>The programmable code for the state change reason. Note: Currently, the service provides
3016
3016
  * no code for the state change.</p>
3017
3017
  */
3018
- Code?: StepStateChangeReasonCode | string;
3018
+ Code?: StepStateChangeReasonCode;
3019
3019
  /**
3020
3020
  * @public
3021
3021
  * <p>The descriptive message for the state change reason.</p>
@@ -3052,7 +3052,7 @@ export interface StepStatus {
3052
3052
  * @public
3053
3053
  * <p>The execution state of the cluster step.</p>
3054
3054
  */
3055
- State?: StepState | string;
3055
+ State?: StepState;
3056
3056
  /**
3057
3057
  * @public
3058
3058
  * <p>The reason for the step execution status change.</p>
@@ -3108,7 +3108,7 @@ export interface Step {
3108
3108
  * step that fails with this parameter set to <code>TERMINATE_CLUSTER</code>, the cluster does
3109
3109
  * not terminate.</p>
3110
3110
  */
3111
- ActionOnFailure?: ActionOnFailure | string;
3111
+ ActionOnFailure?: ActionOnFailure;
3112
3112
  /**
3113
3113
  * @public
3114
3114
  * <p>The current execution status details of the cluster step.</p>
@@ -3176,7 +3176,7 @@ export interface Studio {
3176
3176
  * @public
3177
3177
  * <p>Specifies whether the Amazon EMR Studio authenticates users with IAM or IAM Identity Center.</p>
3178
3178
  */
3179
- AuthMode?: AuthMode | string;
3179
+ AuthMode?: AuthMode;
3180
3180
  /**
3181
3181
  * @public
3182
3182
  * <p>The ID of the VPC associated with the Amazon EMR Studio.</p>
@@ -3418,7 +3418,7 @@ export interface GetStudioSessionMappingInput {
3418
3418
  * @public
3419
3419
  * <p>Specifies whether the identity to fetch is a user or a group.</p>
3420
3420
  */
3421
- IdentityType: IdentityType | string | undefined;
3421
+ IdentityType: IdentityType | undefined;
3422
3422
  }
3423
3423
  /**
3424
3424
  * @public
@@ -3447,7 +3447,7 @@ export interface SessionMappingDetail {
3447
3447
  * <p>Specifies whether the identity mapped to the Amazon EMR Studio is a user or a
3448
3448
  * group.</p>
3449
3449
  */
3450
- IdentityType?: IdentityType | string;
3450
+ IdentityType?: IdentityType;
3451
3451
  /**
3452
3452
  * @public
3453
3453
  * <p>The Amazon Resource Name (ARN) of the session policy associated with the user or
@@ -3529,7 +3529,7 @@ export interface ListClustersInput {
3529
3529
  * <p>The cluster state filters to apply when listing clusters. Clusters that change state
3530
3530
  * while this action runs may be not be returned as expected in the list of clusters.</p>
3531
3531
  */
3532
- ClusterStates?: (ClusterState | string)[];
3532
+ ClusterStates?: ClusterState[];
3533
3533
  /**
3534
3534
  * @public
3535
3535
  * <p>The pagination token that indicates the next set of results to retrieve.</p>
@@ -3612,7 +3612,7 @@ export interface InstanceFleetStateChangeReason {
3612
3612
  * @public
3613
3613
  * <p>A code corresponding to the reason the state change occurred.</p>
3614
3614
  */
3615
- Code?: InstanceFleetStateChangeReasonCode | string;
3615
+ Code?: InstanceFleetStateChangeReasonCode;
3616
3616
  /**
3617
3617
  * @public
3618
3618
  * <p>An explanatory message.</p>
@@ -3694,7 +3694,7 @@ export interface InstanceFleetStatus {
3694
3694
  * </li>
3695
3695
  * </ul>
3696
3696
  */
3697
- State?: InstanceFleetState | string;
3697
+ State?: InstanceFleetState;
3698
3698
  /**
3699
3699
  * @public
3700
3700
  * <p>Provides status change reason details for the instance fleet.</p>
@@ -3801,7 +3801,7 @@ export interface InstanceGroupStateChangeReason {
3801
3801
  * @public
3802
3802
  * <p>The programmable code for the state change reason.</p>
3803
3803
  */
3804
- Code?: InstanceGroupStateChangeReasonCode | string;
3804
+ Code?: InstanceGroupStateChangeReasonCode;
3805
3805
  /**
3806
3806
  * @public
3807
3807
  * <p>The status change reason description.</p>
@@ -3838,7 +3838,7 @@ export interface InstanceGroupStatus {
3838
3838
  * @public
3839
3839
  * <p>The current state of the instance group.</p>
3840
3840
  */
3841
- State?: InstanceGroupState | string;
3841
+ State?: InstanceGroupState;
3842
3842
  /**
3843
3843
  * @public
3844
3844
  * <p>The status change reason details for the instance group.</p>
@@ -3884,7 +3884,7 @@ export interface ListInstancesInput {
3884
3884
  * @public
3885
3885
  * <p>The type of instance group for which to list the instances.</p>
3886
3886
  */
3887
- InstanceGroupTypes?: (InstanceGroupType | string)[];
3887
+ InstanceGroupTypes?: InstanceGroupType[];
3888
3888
  /**
3889
3889
  * @public
3890
3890
  * <p>The unique identifier of the instance fleet.</p>
@@ -3894,13 +3894,13 @@ export interface ListInstancesInput {
3894
3894
  * @public
3895
3895
  * <p>The node type of the instance fleet. For example MASTER, CORE, or TASK.</p>
3896
3896
  */
3897
- InstanceFleetType?: InstanceFleetType | string;
3897
+ InstanceFleetType?: InstanceFleetType;
3898
3898
  /**
3899
3899
  * @public
3900
3900
  * <p>A list of instance states that will filter the instances returned with this
3901
3901
  * request.</p>
3902
3902
  */
3903
- InstanceStates?: (InstanceState | string)[];
3903
+ InstanceStates?: InstanceState[];
3904
3904
  /**
3905
3905
  * @public
3906
3906
  * <p>The pagination token that indicates the next set of results to retrieve.</p>
@@ -3931,7 +3931,7 @@ export interface InstanceStateChangeReason {
3931
3931
  * @public
3932
3932
  * <p>The programmable code for the state change reason.</p>
3933
3933
  */
3934
- Code?: InstanceStateChangeReasonCode | string;
3934
+ Code?: InstanceStateChangeReasonCode;
3935
3935
  /**
3936
3936
  * @public
3937
3937
  * <p>The status change reason description.</p>
@@ -3968,7 +3968,7 @@ export interface InstanceStatus {
3968
3968
  * @public
3969
3969
  * <p>The current state of the instance.</p>
3970
3970
  */
3971
- State?: InstanceState | string;
3971
+ State?: InstanceState;
3972
3972
  /**
3973
3973
  * @public
3974
3974
  * <p>The details of the status change reason for the instance.</p>
@@ -4036,7 +4036,7 @@ export interface Instance {
4036
4036
  * <p>The instance purchasing option. Valid values are <code>ON_DEMAND</code> or
4037
4037
  * <code>SPOT</code>. </p>
4038
4038
  */
4039
- Market?: MarketType | string;
4039
+ Market?: MarketType;
4040
4040
  /**
4041
4041
  * @public
4042
4042
  * <p>The Amazon EC2 instance type, for example <code>m3.xlarge</code>.</p>
@@ -4128,7 +4128,7 @@ export interface ListNotebookExecutionsInput {
4128
4128
  * </li>
4129
4129
  * </ul>
4130
4130
  */
4131
- Status?: NotebookExecutionStatus | string;
4131
+ Status?: NotebookExecutionStatus;
4132
4132
  /**
4133
4133
  * @public
4134
4134
  * <p>The beginning of time range filter for listing notebook executions. The default is the
@@ -4230,7 +4230,7 @@ export interface NotebookExecutionSummary {
4230
4230
  * </li>
4231
4231
  * </ul>
4232
4232
  */
4233
- Status?: NotebookExecutionStatus | string;
4233
+ Status?: NotebookExecutionStatus;
4234
4234
  /**
4235
4235
  * @public
4236
4236
  * <p>The timestamp when notebook execution started.</p>
@@ -4385,7 +4385,7 @@ export interface ListStepsInput {
4385
4385
  * @public
4386
4386
  * <p>The filter to limit the step list based on certain states.</p>
4387
4387
  */
4388
- StepStates?: (StepState | string)[];
4388
+ StepStates?: StepState[];
4389
4389
  /**
4390
4390
  * @public
4391
4391
  * <p>The filter to limit the step list based on the identifier of the steps. You can specify
@@ -4428,7 +4428,7 @@ export interface StepSummary {
4428
4428
  * CANCEL_AND_WAIT, and CONTINUE. TERMINATE_JOB_FLOW is available for backward
4429
4429
  * compatibility.</p>
4430
4430
  */
4431
- ActionOnFailure?: ActionOnFailure | string;
4431
+ ActionOnFailure?: ActionOnFailure;
4432
4432
  /**
4433
4433
  * @public
4434
4434
  * <p>The current execution status details of the cluster step.</p>
@@ -4501,7 +4501,7 @@ export interface StudioSummary {
4501
4501
  * @public
4502
4502
  * <p>Specifies whether the Studio authenticates users using IAM or IAM Identity Center.</p>
4503
4503
  */
4504
- AuthMode?: AuthMode | string;
4504
+ AuthMode?: AuthMode;
4505
4505
  /**
4506
4506
  * @public
4507
4507
  * <p>The time when the Amazon EMR Studio was created.</p>
@@ -4537,7 +4537,7 @@ export interface ListStudioSessionMappingsInput {
4537
4537
  * <p>Specifies whether to return session mappings for users or groups. If not specified, the
4538
4538
  * results include session mapping details for both users and groups.</p>
4539
4539
  */
4540
- IdentityType?: IdentityType | string;
4540
+ IdentityType?: IdentityType;
4541
4541
  /**
4542
4542
  * @public
4543
4543
  * <p>The pagination token that indicates the set of results to retrieve.</p>
@@ -4572,7 +4572,7 @@ export interface SessionMappingSummary {
4572
4572
  * <p>Specifies whether the identity mapped to the Amazon EMR Studio is a user or a
4573
4573
  * group.</p>
4574
4574
  */
4575
- IdentityType?: IdentityType | string;
4575
+ IdentityType?: IdentityType;
4576
4576
  /**
4577
4577
  * @public
4578
4578
  * <p>The Amazon Resource Name (ARN) of the session policy associated with the user or
@@ -5147,7 +5147,7 @@ export interface StartNotebookExecutionInput {
5147
5147
  * @public
5148
5148
  * <p>The output format for the notebook execution.</p>
5149
5149
  */
5150
- OutputNotebookFormat?: OutputNotebookFormat | string;
5150
+ OutputNotebookFormat?: OutputNotebookFormat;
5151
5151
  /**
5152
5152
  * @public
5153
5153
  * <p>The environment variables associated with the notebook execution.</p>
@@ -5246,7 +5246,7 @@ export interface UpdateStudioSessionMappingInput {
5246
5246
  * @public
5247
5247
  * <p>Specifies whether the identity to update is a user or a group.</p>
5248
5248
  */
5249
- IdentityType: IdentityType | string | undefined;
5249
+ IdentityType: IdentityType | undefined;
5250
5250
  /**
5251
5251
  * @public
5252
5252
  * <p>The Amazon Resource Name (ARN) of the session policy to associate with the specified
@@ -5363,7 +5363,7 @@ export interface Cluster {
5363
5363
  * indicates a uniform instance group configuration. A value of <code>INSTANCE_FLEET</code>
5364
5364
  * indicates an instance fleets configuration.</p>
5365
5365
  */
5366
- InstanceCollectionType?: InstanceCollectionType | string;
5366
+ InstanceCollectionType?: InstanceCollectionType;
5367
5367
  /**
5368
5368
  * @public
5369
5369
  * <p>The path to the Amazon S3 location where logs for this cluster are
@@ -5482,7 +5482,7 @@ export interface Cluster {
5482
5482
  * instances, regardless of the instance-hour boundary. With either behavior, Amazon EMR removes the least active nodes first and blocks instance termination if it could lead to
5483
5483
  * HDFS corruption. <code>TERMINATE_AT_TASK_COMPLETION</code> is available only in Amazon EMR releases 4.1.0 and later, and is the default for versions of Amazon EMR earlier than 5.1.0.</p>
5484
5484
  */
5485
- ScaleDownBehavior?: ScaleDownBehavior | string;
5485
+ ScaleDownBehavior?: ScaleDownBehavior;
5486
5486
  /**
5487
5487
  * @public
5488
5488
  * <p>Available only in Amazon EMR releases 5.7.0 and later. The ID of a custom Amazon
@@ -5502,7 +5502,7 @@ export interface Cluster {
5502
5502
  * the Amazon Linux AMI package repositories apply when an instance boots using the
5503
5503
  * AMI.</p>
5504
5504
  */
5505
- RepoUpgradeOnBoot?: RepoUpgradeOnBoot | string;
5505
+ RepoUpgradeOnBoot?: RepoUpgradeOnBoot;
5506
5506
  /**
5507
5507
  * @public
5508
5508
  * <p>Attributes for Kerberos configuration when Kerberos authentication is enabled using a
@@ -5552,12 +5552,12 @@ export interface InstanceGroupConfig {
5552
5552
  * @public
5553
5553
  * <p>Market type of the Amazon EC2 instances used to create a cluster node.</p>
5554
5554
  */
5555
- Market?: MarketType | string;
5555
+ Market?: MarketType;
5556
5556
  /**
5557
5557
  * @public
5558
5558
  * <p>The role of the instance group in the cluster.</p>
5559
5559
  */
5560
- InstanceRole: InstanceRoleType | string | undefined;
5560
+ InstanceRole: InstanceRoleType | undefined;
5561
5561
  /**
5562
5562
  * @public
5563
5563
  * <p>If specified, indicates that the instance group uses Spot Instances. This is the maximum
@@ -5635,7 +5635,7 @@ export interface InstanceGroupModifyConfig {
5635
5635
  * @public
5636
5636
  * <p>Type of reconfiguration requested. Valid values are MERGE and OVERWRITE.</p>
5637
5637
  */
5638
- ReconfigurationType?: ReconfigurationType | string;
5638
+ ReconfigurationType?: ReconfigurationType;
5639
5639
  /**
5640
5640
  * @public
5641
5641
  * <p>A list of new or modified configurations to apply for an instance group.</p>
@@ -5882,7 +5882,7 @@ export interface InstanceFleet {
5882
5882
  * <p>The node type that the instance fleet hosts. Valid values are MASTER, CORE, or TASK.
5883
5883
  * </p>
5884
5884
  */
5885
- InstanceFleetType?: InstanceFleetType | string;
5885
+ InstanceFleetType?: InstanceFleetType;
5886
5886
  /**
5887
5887
  * @public
5888
5888
  * <p>The target capacity of On-Demand units for the instance fleet, which determines how many
@@ -5977,7 +5977,7 @@ export interface InstanceFleetConfig {
5977
5977
  * <p>The node type that the instance fleet hosts. Valid values are MASTER, CORE, and
5978
5978
  * TASK.</p>
5979
5979
  */
5980
- InstanceFleetType: InstanceFleetType | string | undefined;
5980
+ InstanceFleetType: InstanceFleetType | undefined;
5981
5981
  /**
5982
5982
  * @public
5983
5983
  * <p>The target capacity of On-Demand units for the instance fleet, which determines how many
@@ -6089,12 +6089,12 @@ export interface InstanceGroup {
6089
6089
  * <p>The marketplace to provision instances for this group. Valid values are ON_DEMAND or
6090
6090
  * SPOT.</p>
6091
6091
  */
6092
- Market?: MarketType | string;
6092
+ Market?: MarketType;
6093
6093
  /**
6094
6094
  * @public
6095
6095
  * <p>The type of the instance group. Valid values are MASTER, CORE or TASK.</p>
6096
6096
  */
6097
- InstanceGroupType?: InstanceGroupType | string;
6097
+ InstanceGroupType?: InstanceGroupType;
6098
6098
  /**
6099
6099
  * @public
6100
6100
  * <p>If specified, indicates that the instance group uses Spot Instances. This is the maximum
@@ -6533,7 +6533,7 @@ export interface RunJobFlowInput {
6533
6533
  * instances, regardless of the instance-hour boundary. With either behavior, Amazon EMR removes the least active nodes first and blocks instance termination if it could lead to
6534
6534
  * HDFS corruption. <code>TERMINATE_AT_TASK_COMPLETION</code> available only in Amazon EMR releases 4.1.0 and later, and is the default for releases of Amazon EMR earlier than 5.1.0.</p>
6535
6535
  */
6536
- ScaleDownBehavior?: ScaleDownBehavior | string;
6536
+ ScaleDownBehavior?: ScaleDownBehavior;
6537
6537
  /**
6538
6538
  * @public
6539
6539
  * <p>Available only in Amazon EMR releases 5.7.0 and later. The ID of a custom Amazon
@@ -6562,7 +6562,7 @@ export interface RunJobFlowInput {
6562
6562
  * security updates are applied. If <code>NONE</code> is specified, no updates are applied,
6563
6563
  * and all updates must be applied manually.</p>
6564
6564
  */
6565
- RepoUpgradeOnBoot?: RepoUpgradeOnBoot | string;
6565
+ RepoUpgradeOnBoot?: RepoUpgradeOnBoot;
6566
6566
  /**
6567
6567
  * @public
6568
6568
  * <p>Attributes for Kerberos configuration when Kerberos authentication is enabled using a
@@ -46,17 +46,12 @@ export declare const OnDemandCapacityReservationUsageStrategy: {
46
46
  export type OnDemandCapacityReservationUsageStrategy =
47
47
  (typeof OnDemandCapacityReservationUsageStrategy)[keyof typeof OnDemandCapacityReservationUsageStrategy];
48
48
  export interface OnDemandCapacityReservationOptions {
49
- UsageStrategy?: OnDemandCapacityReservationUsageStrategy | string;
50
- CapacityReservationPreference?:
51
- | OnDemandCapacityReservationPreference
52
- | string;
49
+ UsageStrategy?: OnDemandCapacityReservationUsageStrategy;
50
+ CapacityReservationPreference?: OnDemandCapacityReservationPreference;
53
51
  CapacityReservationResourceGroupArn?: string;
54
52
  }
55
53
  export interface OnDemandProvisioningSpecification {
56
- AllocationStrategy:
57
- | OnDemandProvisioningAllocationStrategy
58
- | string
59
- | undefined;
54
+ AllocationStrategy: OnDemandProvisioningAllocationStrategy | undefined;
60
55
  CapacityReservationOptions?: OnDemandCapacityReservationOptions;
61
56
  }
62
57
  export declare const SpotProvisioningAllocationStrategy: {
@@ -75,9 +70,9 @@ export type SpotProvisioningTimeoutAction =
75
70
  (typeof SpotProvisioningTimeoutAction)[keyof typeof SpotProvisioningTimeoutAction];
76
71
  export interface SpotProvisioningSpecification {
77
72
  TimeoutDurationMinutes: number | undefined;
78
- TimeoutAction: SpotProvisioningTimeoutAction | string | undefined;
73
+ TimeoutAction: SpotProvisioningTimeoutAction | undefined;
79
74
  BlockDurationMinutes?: number;
80
- AllocationStrategy?: SpotProvisioningAllocationStrategy | string;
75
+ AllocationStrategy?: SpotProvisioningAllocationStrategy;
81
76
  }
82
77
  export interface InstanceFleetProvisioningSpecifications {
83
78
  SpotSpecification?: SpotProvisioningSpecification;
@@ -132,12 +127,12 @@ export declare const AdjustmentType: {
132
127
  export type AdjustmentType =
133
128
  (typeof AdjustmentType)[keyof typeof AdjustmentType];
134
129
  export interface SimpleScalingPolicyConfiguration {
135
- AdjustmentType?: AdjustmentType | string;
130
+ AdjustmentType?: AdjustmentType;
136
131
  ScalingAdjustment: number | undefined;
137
132
  CoolDown?: number;
138
133
  }
139
134
  export interface ScalingAction {
140
- Market?: MarketType | string;
135
+ Market?: MarketType;
141
136
  SimpleScalingPolicyConfiguration:
142
137
  | SimpleScalingPolicyConfiguration
143
138
  | undefined;
@@ -193,14 +188,14 @@ export declare const Unit: {
193
188
  };
194
189
  export type Unit = (typeof Unit)[keyof typeof Unit];
195
190
  export interface CloudWatchAlarmDefinition {
196
- ComparisonOperator: ComparisonOperator | string | undefined;
191
+ ComparisonOperator: ComparisonOperator | undefined;
197
192
  EvaluationPeriods?: number;
198
193
  MetricName: string | undefined;
199
194
  Namespace?: string;
200
195
  Period: number | undefined;
201
- Statistic?: Statistic | string;
196
+ Statistic?: Statistic;
202
197
  Threshold: number | undefined;
203
- Unit?: Unit | string;
198
+ Unit?: Unit;
204
199
  Dimensions?: MetricDimension[];
205
200
  }
206
201
  export interface ScalingTrigger {
@@ -247,7 +242,7 @@ export interface HadoopJarStepConfig {
247
242
  }
248
243
  export interface StepConfig {
249
244
  Name: string | undefined;
250
- ActionOnFailure?: ActionOnFailure | string;
245
+ ActionOnFailure?: ActionOnFailure;
251
246
  HadoopJarStep: HadoopJarStepConfig | undefined;
252
247
  }
253
248
  export interface AddJobFlowStepsInput {
@@ -296,11 +291,11 @@ export declare const AutoScalingPolicyStateChangeReasonCode: {
296
291
  export type AutoScalingPolicyStateChangeReasonCode =
297
292
  (typeof AutoScalingPolicyStateChangeReasonCode)[keyof typeof AutoScalingPolicyStateChangeReasonCode];
298
293
  export interface AutoScalingPolicyStateChangeReason {
299
- Code?: AutoScalingPolicyStateChangeReasonCode | string;
294
+ Code?: AutoScalingPolicyStateChangeReasonCode;
300
295
  Message?: string;
301
296
  }
302
297
  export interface AutoScalingPolicyStatus {
303
- State?: AutoScalingPolicyState | string;
298
+ State?: AutoScalingPolicyState;
304
299
  StateChangeReason?: AutoScalingPolicyStateChangeReason;
305
300
  }
306
301
  export interface AutoScalingPolicyDescription {
@@ -339,7 +334,7 @@ export type StepCancellationOption =
339
334
  export interface CancelStepsInput {
340
335
  ClusterId: string | undefined;
341
336
  StepIds: string[] | undefined;
342
- StepCancellationOption?: StepCancellationOption | string;
337
+ StepCancellationOption?: StepCancellationOption;
343
338
  }
344
339
  export declare const CancelStepsRequestStatus: {
345
340
  readonly FAILED: "FAILED";
@@ -349,7 +344,7 @@ export type CancelStepsRequestStatus =
349
344
  (typeof CancelStepsRequestStatus)[keyof typeof CancelStepsRequestStatus];
350
345
  export interface CancelStepsInfo {
351
346
  StepId?: string;
352
- Status?: CancelStepsRequestStatus | string;
347
+ Status?: CancelStepsRequestStatus;
353
348
  Reason?: string;
354
349
  }
355
350
  export interface CancelStepsOutput {
@@ -390,8 +385,8 @@ export declare const PlacementGroupStrategy: {
390
385
  export type PlacementGroupStrategy =
391
386
  (typeof PlacementGroupStrategy)[keyof typeof PlacementGroupStrategy];
392
387
  export interface PlacementGroupConfig {
393
- InstanceRole: InstanceRoleType | string | undefined;
394
- PlacementStrategy?: PlacementGroupStrategy | string;
388
+ InstanceRole: InstanceRoleType | undefined;
389
+ PlacementStrategy?: PlacementGroupStrategy;
395
390
  }
396
391
  export declare const RepoUpgradeOnBoot: {
397
392
  readonly NONE: "NONE";
@@ -433,7 +428,7 @@ export declare const ClusterStateChangeReasonCode: {
433
428
  export type ClusterStateChangeReasonCode =
434
429
  (typeof ClusterStateChangeReasonCode)[keyof typeof ClusterStateChangeReasonCode];
435
430
  export interface ClusterStateChangeReason {
436
- Code?: ClusterStateChangeReasonCode | string;
431
+ Code?: ClusterStateChangeReasonCode;
437
432
  Message?: string;
438
433
  }
439
434
  export interface ClusterTimeline {
@@ -442,7 +437,7 @@ export interface ClusterTimeline {
442
437
  EndDateTime?: Date;
443
438
  }
444
439
  export interface ClusterStatus {
445
- State?: ClusterState | string;
440
+ State?: ClusterState;
446
441
  StateChangeReason?: ClusterStateChangeReason;
447
442
  Timeline?: ClusterTimeline;
448
443
  ErrorDetails?: ErrorDetail[];
@@ -468,7 +463,7 @@ export declare const ComputeLimitsUnitType: {
468
463
  export type ComputeLimitsUnitType =
469
464
  (typeof ComputeLimitsUnitType)[keyof typeof ComputeLimitsUnitType];
470
465
  export interface ComputeLimits {
471
- UnitType: ComputeLimitsUnitType | string | undefined;
466
+ UnitType: ComputeLimitsUnitType | undefined;
472
467
  MinimumCapacityUnits: number | undefined;
473
468
  MaximumCapacityUnits: number | undefined;
474
469
  MaximumOnDemandCapacityUnits?: number;
@@ -485,7 +480,7 @@ export interface CreateSecurityConfigurationOutput {
485
480
  export interface CreateStudioInput {
486
481
  Name: string | undefined;
487
482
  Description?: string;
488
- AuthMode: AuthMode | string | undefined;
483
+ AuthMode: AuthMode | undefined;
489
484
  VpcId: string | undefined;
490
485
  SubnetIds: string[] | undefined;
491
486
  ServiceRole: string | undefined;
@@ -510,7 +505,7 @@ export interface CreateStudioSessionMappingInput {
510
505
  StudioId: string | undefined;
511
506
  IdentityId?: string;
512
507
  IdentityName?: string;
513
- IdentityType: IdentityType | string | undefined;
508
+ IdentityType: IdentityType | undefined;
514
509
  SessionPolicyArn: string | undefined;
515
510
  }
516
511
  export interface UsernamePassword {
@@ -546,7 +541,7 @@ export interface DeleteStudioSessionMappingInput {
546
541
  StudioId: string | undefined;
547
542
  IdentityId?: string;
548
543
  IdentityName?: string;
549
- IdentityType: IdentityType | string | undefined;
544
+ IdentityType: IdentityType | undefined;
550
545
  }
551
546
  export interface DescribeClusterInput {
552
547
  ClusterId: string | undefined;
@@ -567,10 +562,10 @@ export interface DescribeJobFlowsInput {
567
562
  CreatedAfter?: Date;
568
563
  CreatedBefore?: Date;
569
564
  JobFlowIds?: string[];
570
- JobFlowStates?: (JobFlowExecutionState | string)[];
565
+ JobFlowStates?: JobFlowExecutionState[];
571
566
  }
572
567
  export interface JobFlowExecutionStatusDetail {
573
- State: JobFlowExecutionState | string | undefined;
568
+ State: JobFlowExecutionState | undefined;
574
569
  CreationDateTime: Date | undefined;
575
570
  StartDateTime?: Date;
576
571
  ReadyDateTime?: Date;
@@ -595,13 +590,13 @@ export type InstanceGroupState =
595
590
  export interface InstanceGroupDetail {
596
591
  InstanceGroupId?: string;
597
592
  Name?: string;
598
- Market: MarketType | string | undefined;
599
- InstanceRole: InstanceRoleType | string | undefined;
593
+ Market: MarketType | undefined;
594
+ InstanceRole: InstanceRoleType | undefined;
600
595
  BidPrice?: string;
601
596
  InstanceType: string | undefined;
602
597
  InstanceRequestCount: number | undefined;
603
598
  InstanceRunningCount: number | undefined;
604
- State: InstanceGroupState | string | undefined;
599
+ State: InstanceGroupState | undefined;
605
600
  LastStateChangeReason?: string;
606
601
  CreationDateTime: Date | undefined;
607
602
  StartDateTime?: Date;
@@ -640,7 +635,7 @@ export declare const StepExecutionState: {
640
635
  export type StepExecutionState =
641
636
  (typeof StepExecutionState)[keyof typeof StepExecutionState];
642
637
  export interface StepExecutionStatusDetail {
643
- State: StepExecutionState | string | undefined;
638
+ State: StepExecutionState | undefined;
644
639
  CreationDateTime: Date | undefined;
645
640
  StartDateTime?: Date;
646
641
  EndDateTime?: Date;
@@ -665,7 +660,7 @@ export interface JobFlowDetail {
665
660
  JobFlowRole?: string;
666
661
  ServiceRole?: string;
667
662
  AutoScalingRole?: string;
668
- ScaleDownBehavior?: ScaleDownBehavior | string;
663
+ ScaleDownBehavior?: ScaleDownBehavior;
669
664
  }
670
665
  export interface DescribeJobFlowsOutput {
671
666
  JobFlows?: JobFlowDetail[];
@@ -680,7 +675,7 @@ export type ExecutionEngineType =
680
675
  (typeof ExecutionEngineType)[keyof typeof ExecutionEngineType];
681
676
  export interface ExecutionEngineConfig {
682
677
  Id: string | undefined;
683
- Type?: ExecutionEngineType | string;
678
+ Type?: ExecutionEngineType;
684
679
  MasterInstanceSecurityGroupId?: string;
685
680
  ExecutionRoleArn?: string;
686
681
  }
@@ -717,7 +712,7 @@ export interface NotebookExecution {
717
712
  ExecutionEngine?: ExecutionEngineConfig;
718
713
  NotebookExecutionName?: string;
719
714
  NotebookParams?: string;
720
- Status?: NotebookExecutionStatus | string;
715
+ Status?: NotebookExecutionStatus;
721
716
  StartTime?: Date;
722
717
  EndTime?: Date;
723
718
  Arn?: string;
@@ -727,7 +722,7 @@ export interface NotebookExecution {
727
722
  Tags?: Tag[];
728
723
  NotebookS3Location?: NotebookS3LocationForOutput;
729
724
  OutputNotebookS3Location?: OutputNotebookS3LocationForOutput;
730
- OutputNotebookFormat?: OutputNotebookFormat | string;
725
+ OutputNotebookFormat?: OutputNotebookFormat;
731
726
  EnvironmentVariables?: Record<string, string>;
732
727
  }
733
728
  export interface DescribeNotebookExecutionOutput {
@@ -790,7 +785,7 @@ export declare const StepStateChangeReasonCode: {
790
785
  export type StepStateChangeReasonCode =
791
786
  (typeof StepStateChangeReasonCode)[keyof typeof StepStateChangeReasonCode];
792
787
  export interface StepStateChangeReason {
793
- Code?: StepStateChangeReasonCode | string;
788
+ Code?: StepStateChangeReasonCode;
794
789
  Message?: string;
795
790
  }
796
791
  export interface StepTimeline {
@@ -799,7 +794,7 @@ export interface StepTimeline {
799
794
  EndDateTime?: Date;
800
795
  }
801
796
  export interface StepStatus {
802
- State?: StepState | string;
797
+ State?: StepState;
803
798
  StateChangeReason?: StepStateChangeReason;
804
799
  FailureDetails?: FailureDetails;
805
800
  Timeline?: StepTimeline;
@@ -808,7 +803,7 @@ export interface Step {
808
803
  Id?: string;
809
804
  Name?: string;
810
805
  Config?: HadoopStepConfig;
811
- ActionOnFailure?: ActionOnFailure | string;
806
+ ActionOnFailure?: ActionOnFailure;
812
807
  Status?: StepStatus;
813
808
  ExecutionRoleArn?: string;
814
809
  }
@@ -823,7 +818,7 @@ export interface Studio {
823
818
  StudioArn?: string;
824
819
  Name?: string;
825
820
  Description?: string;
826
- AuthMode?: AuthMode | string;
821
+ AuthMode?: AuthMode;
827
822
  VpcId?: string;
828
823
  SubnetIds?: string[];
829
824
  ServiceRole?: string;
@@ -876,13 +871,13 @@ export interface GetStudioSessionMappingInput {
876
871
  StudioId: string | undefined;
877
872
  IdentityId?: string;
878
873
  IdentityName?: string;
879
- IdentityType: IdentityType | string | undefined;
874
+ IdentityType: IdentityType | undefined;
880
875
  }
881
876
  export interface SessionMappingDetail {
882
877
  StudioId?: string;
883
878
  IdentityId?: string;
884
879
  IdentityName?: string;
885
- IdentityType?: IdentityType | string;
880
+ IdentityType?: IdentityType;
886
881
  SessionPolicyArn?: string;
887
882
  CreationTime?: Date;
888
883
  LastModifiedTime?: Date;
@@ -901,7 +896,7 @@ export interface ListBootstrapActionsOutput {
901
896
  export interface ListClustersInput {
902
897
  CreatedAfter?: Date;
903
898
  CreatedBefore?: Date;
904
- ClusterStates?: (ClusterState | string)[];
899
+ ClusterStates?: ClusterState[];
905
900
  Marker?: string;
906
901
  }
907
902
  export interface ListClustersOutput {
@@ -932,7 +927,7 @@ export declare const InstanceFleetStateChangeReasonCode: {
932
927
  export type InstanceFleetStateChangeReasonCode =
933
928
  (typeof InstanceFleetStateChangeReasonCode)[keyof typeof InstanceFleetStateChangeReasonCode];
934
929
  export interface InstanceFleetStateChangeReason {
935
- Code?: InstanceFleetStateChangeReasonCode | string;
930
+ Code?: InstanceFleetStateChangeReasonCode;
936
931
  Message?: string;
937
932
  }
938
933
  export interface InstanceFleetTimeline {
@@ -941,7 +936,7 @@ export interface InstanceFleetTimeline {
941
936
  EndDateTime?: Date;
942
937
  }
943
938
  export interface InstanceFleetStatus {
944
- State?: InstanceFleetState | string;
939
+ State?: InstanceFleetState;
945
940
  StateChangeReason?: InstanceFleetStateChangeReason;
946
941
  Timeline?: InstanceFleetTimeline;
947
942
  }
@@ -974,7 +969,7 @@ export declare const InstanceGroupStateChangeReasonCode: {
974
969
  export type InstanceGroupStateChangeReasonCode =
975
970
  (typeof InstanceGroupStateChangeReasonCode)[keyof typeof InstanceGroupStateChangeReasonCode];
976
971
  export interface InstanceGroupStateChangeReason {
977
- Code?: InstanceGroupStateChangeReasonCode | string;
972
+ Code?: InstanceGroupStateChangeReasonCode;
978
973
  Message?: string;
979
974
  }
980
975
  export interface InstanceGroupTimeline {
@@ -983,7 +978,7 @@ export interface InstanceGroupTimeline {
983
978
  EndDateTime?: Date;
984
979
  }
985
980
  export interface InstanceGroupStatus {
986
- State?: InstanceGroupState | string;
981
+ State?: InstanceGroupState;
987
982
  StateChangeReason?: InstanceGroupStateChangeReason;
988
983
  Timeline?: InstanceGroupTimeline;
989
984
  }
@@ -998,10 +993,10 @@ export type InstanceState = (typeof InstanceState)[keyof typeof InstanceState];
998
993
  export interface ListInstancesInput {
999
994
  ClusterId: string | undefined;
1000
995
  InstanceGroupId?: string;
1001
- InstanceGroupTypes?: (InstanceGroupType | string)[];
996
+ InstanceGroupTypes?: InstanceGroupType[];
1002
997
  InstanceFleetId?: string;
1003
- InstanceFleetType?: InstanceFleetType | string;
1004
- InstanceStates?: (InstanceState | string)[];
998
+ InstanceFleetType?: InstanceFleetType;
999
+ InstanceStates?: InstanceState[];
1005
1000
  Marker?: string;
1006
1001
  }
1007
1002
  export declare const InstanceStateChangeReasonCode: {
@@ -1014,7 +1009,7 @@ export declare const InstanceStateChangeReasonCode: {
1014
1009
  export type InstanceStateChangeReasonCode =
1015
1010
  (typeof InstanceStateChangeReasonCode)[keyof typeof InstanceStateChangeReasonCode];
1016
1011
  export interface InstanceStateChangeReason {
1017
- Code?: InstanceStateChangeReasonCode | string;
1012
+ Code?: InstanceStateChangeReasonCode;
1018
1013
  Message?: string;
1019
1014
  }
1020
1015
  export interface InstanceTimeline {
@@ -1023,7 +1018,7 @@ export interface InstanceTimeline {
1023
1018
  EndDateTime?: Date;
1024
1019
  }
1025
1020
  export interface InstanceStatus {
1026
- State?: InstanceState | string;
1021
+ State?: InstanceState;
1027
1022
  StateChangeReason?: InstanceStateChangeReason;
1028
1023
  Timeline?: InstanceTimeline;
1029
1024
  }
@@ -1037,7 +1032,7 @@ export interface Instance {
1037
1032
  Status?: InstanceStatus;
1038
1033
  InstanceGroupId?: string;
1039
1034
  InstanceFleetId?: string;
1040
- Market?: MarketType | string;
1035
+ Market?: MarketType;
1041
1036
  InstanceType?: string;
1042
1037
  EbsVolumes?: EbsVolume[];
1043
1038
  }
@@ -1047,7 +1042,7 @@ export interface ListInstancesOutput {
1047
1042
  }
1048
1043
  export interface ListNotebookExecutionsInput {
1049
1044
  EditorId?: string;
1050
- Status?: NotebookExecutionStatus | string;
1045
+ Status?: NotebookExecutionStatus;
1051
1046
  From?: Date;
1052
1047
  To?: Date;
1053
1048
  Marker?: string;
@@ -1057,7 +1052,7 @@ export interface NotebookExecutionSummary {
1057
1052
  NotebookExecutionId?: string;
1058
1053
  EditorId?: string;
1059
1054
  NotebookExecutionName?: string;
1060
- Status?: NotebookExecutionStatus | string;
1055
+ Status?: NotebookExecutionStatus;
1061
1056
  StartTime?: Date;
1062
1057
  EndTime?: Date;
1063
1058
  NotebookS3Location?: NotebookS3LocationForOutput;
@@ -1093,7 +1088,7 @@ export interface ListSecurityConfigurationsOutput {
1093
1088
  }
1094
1089
  export interface ListStepsInput {
1095
1090
  ClusterId: string | undefined;
1096
- StepStates?: (StepState | string)[];
1091
+ StepStates?: StepState[];
1097
1092
  StepIds?: string[];
1098
1093
  Marker?: string;
1099
1094
  }
@@ -1101,7 +1096,7 @@ export interface StepSummary {
1101
1096
  Id?: string;
1102
1097
  Name?: string;
1103
1098
  Config?: HadoopStepConfig;
1104
- ActionOnFailure?: ActionOnFailure | string;
1099
+ ActionOnFailure?: ActionOnFailure;
1105
1100
  Status?: StepStatus;
1106
1101
  }
1107
1102
  export interface ListStepsOutput {
@@ -1117,7 +1112,7 @@ export interface StudioSummary {
1117
1112
  VpcId?: string;
1118
1113
  Description?: string;
1119
1114
  Url?: string;
1120
- AuthMode?: AuthMode | string;
1115
+ AuthMode?: AuthMode;
1121
1116
  CreationTime?: Date;
1122
1117
  }
1123
1118
  export interface ListStudiosOutput {
@@ -1126,14 +1121,14 @@ export interface ListStudiosOutput {
1126
1121
  }
1127
1122
  export interface ListStudioSessionMappingsInput {
1128
1123
  StudioId?: string;
1129
- IdentityType?: IdentityType | string;
1124
+ IdentityType?: IdentityType;
1130
1125
  Marker?: string;
1131
1126
  }
1132
1127
  export interface SessionMappingSummary {
1133
1128
  StudioId?: string;
1134
1129
  IdentityId?: string;
1135
1130
  IdentityName?: string;
1136
- IdentityType?: IdentityType | string;
1131
+ IdentityType?: IdentityType;
1137
1132
  SessionPolicyArn?: string;
1138
1133
  CreationTime?: Date;
1139
1134
  }
@@ -1260,7 +1255,7 @@ export interface StartNotebookExecutionInput {
1260
1255
  Tags?: Tag[];
1261
1256
  NotebookS3Location?: NotebookS3LocationFromInput;
1262
1257
  OutputNotebookS3Location?: OutputNotebookS3LocationFromInput;
1263
- OutputNotebookFormat?: OutputNotebookFormat | string;
1258
+ OutputNotebookFormat?: OutputNotebookFormat;
1264
1259
  EnvironmentVariables?: Record<string, string>;
1265
1260
  }
1266
1261
  export interface StartNotebookExecutionOutput {
@@ -1283,7 +1278,7 @@ export interface UpdateStudioSessionMappingInput {
1283
1278
  StudioId: string | undefined;
1284
1279
  IdentityId?: string;
1285
1280
  IdentityName?: string;
1286
- IdentityType: IdentityType | string | undefined;
1281
+ IdentityType: IdentityType | undefined;
1287
1282
  SessionPolicyArn: string | undefined;
1288
1283
  }
1289
1284
  export interface Configuration {
@@ -1303,7 +1298,7 @@ export interface Cluster {
1303
1298
  Name?: string;
1304
1299
  Status?: ClusterStatus;
1305
1300
  Ec2InstanceAttributes?: Ec2InstanceAttributes;
1306
- InstanceCollectionType?: InstanceCollectionType | string;
1301
+ InstanceCollectionType?: InstanceCollectionType;
1307
1302
  LogUri?: string;
1308
1303
  LogEncryptionKmsKeyId?: string;
1309
1304
  RequestedAmiVersion?: string;
@@ -1320,10 +1315,10 @@ export interface Cluster {
1320
1315
  Configurations?: Configuration[];
1321
1316
  SecurityConfiguration?: string;
1322
1317
  AutoScalingRole?: string;
1323
- ScaleDownBehavior?: ScaleDownBehavior | string;
1318
+ ScaleDownBehavior?: ScaleDownBehavior;
1324
1319
  CustomAmiId?: string;
1325
1320
  EbsRootVolumeSize?: number;
1326
- RepoUpgradeOnBoot?: RepoUpgradeOnBoot | string;
1321
+ RepoUpgradeOnBoot?: RepoUpgradeOnBoot;
1327
1322
  KerberosAttributes?: KerberosAttributes;
1328
1323
  ClusterArn?: string;
1329
1324
  OutpostArn?: string;
@@ -1333,8 +1328,8 @@ export interface Cluster {
1333
1328
  }
1334
1329
  export interface InstanceGroupConfig {
1335
1330
  Name?: string;
1336
- Market?: MarketType | string;
1337
- InstanceRole: InstanceRoleType | string | undefined;
1331
+ Market?: MarketType;
1332
+ InstanceRole: InstanceRoleType | undefined;
1338
1333
  BidPrice?: string;
1339
1334
  InstanceType: string | undefined;
1340
1335
  InstanceCount: number | undefined;
@@ -1348,7 +1343,7 @@ export interface InstanceGroupModifyConfig {
1348
1343
  InstanceCount?: number;
1349
1344
  EC2InstanceIdsToTerminate?: string[];
1350
1345
  ShrinkPolicy?: ShrinkPolicy;
1351
- ReconfigurationType?: ReconfigurationType | string;
1346
+ ReconfigurationType?: ReconfigurationType;
1352
1347
  Configurations?: Configuration[];
1353
1348
  }
1354
1349
  export interface InstanceTypeConfig {
@@ -1390,7 +1385,7 @@ export interface InstanceFleet {
1390
1385
  Id?: string;
1391
1386
  Name?: string;
1392
1387
  Status?: InstanceFleetStatus;
1393
- InstanceFleetType?: InstanceFleetType | string;
1388
+ InstanceFleetType?: InstanceFleetType;
1394
1389
  TargetOnDemandCapacity?: number;
1395
1390
  TargetSpotCapacity?: number;
1396
1391
  ProvisionedOnDemandCapacity?: number;
@@ -1401,7 +1396,7 @@ export interface InstanceFleet {
1401
1396
  }
1402
1397
  export interface InstanceFleetConfig {
1403
1398
  Name?: string;
1404
- InstanceFleetType: InstanceFleetType | string | undefined;
1399
+ InstanceFleetType: InstanceFleetType | undefined;
1405
1400
  TargetOnDemandCapacity?: number;
1406
1401
  TargetSpotCapacity?: number;
1407
1402
  InstanceTypeConfigs?: InstanceTypeConfig[];
@@ -1419,8 +1414,8 @@ export interface AddInstanceFleetInput {
1419
1414
  export interface InstanceGroup {
1420
1415
  Id?: string;
1421
1416
  Name?: string;
1422
- Market?: MarketType | string;
1423
- InstanceGroupType?: InstanceGroupType | string;
1417
+ Market?: MarketType;
1418
+ InstanceGroupType?: InstanceGroupType;
1424
1419
  BidPrice?: string;
1425
1420
  InstanceType?: string;
1426
1421
  RequestedInstanceCount?: number;
@@ -1483,10 +1478,10 @@ export interface RunJobFlowInput {
1483
1478
  Tags?: Tag[];
1484
1479
  SecurityConfiguration?: string;
1485
1480
  AutoScalingRole?: string;
1486
- ScaleDownBehavior?: ScaleDownBehavior | string;
1481
+ ScaleDownBehavior?: ScaleDownBehavior;
1487
1482
  CustomAmiId?: string;
1488
1483
  EbsRootVolumeSize?: number;
1489
- RepoUpgradeOnBoot?: RepoUpgradeOnBoot | string;
1484
+ RepoUpgradeOnBoot?: RepoUpgradeOnBoot;
1490
1485
  KerberosAttributes?: KerberosAttributes;
1491
1486
  StepConcurrencyLevel?: number;
1492
1487
  ManagedScalingPolicy?: ManagedScalingPolicy;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-emr",
3
3
  "description": "AWS SDK for JavaScript Emr Client for Node.js, Browser and React Native",
4
- "version": "3.427.0",
4
+ "version": "3.429.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,41 +21,41 @@
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.427.0",
25
- "@aws-sdk/credential-provider-node": "3.427.0",
26
- "@aws-sdk/middleware-host-header": "3.425.0",
27
- "@aws-sdk/middleware-logger": "3.425.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.425.0",
29
- "@aws-sdk/middleware-signing": "3.425.0",
30
- "@aws-sdk/middleware-user-agent": "3.427.0",
31
- "@aws-sdk/region-config-resolver": "3.425.0",
32
- "@aws-sdk/types": "3.425.0",
33
- "@aws-sdk/util-endpoints": "3.427.0",
34
- "@aws-sdk/util-user-agent-browser": "3.425.0",
35
- "@aws-sdk/util-user-agent-node": "3.425.0",
36
- "@smithy/config-resolver": "^2.0.11",
37
- "@smithy/fetch-http-handler": "^2.2.1",
38
- "@smithy/hash-node": "^2.0.10",
39
- "@smithy/invalid-dependency": "^2.0.10",
40
- "@smithy/middleware-content-length": "^2.0.12",
41
- "@smithy/middleware-endpoint": "^2.0.10",
42
- "@smithy/middleware-retry": "^2.0.13",
43
- "@smithy/middleware-serde": "^2.0.10",
44
- "@smithy/middleware-stack": "^2.0.4",
45
- "@smithy/node-config-provider": "^2.0.13",
46
- "@smithy/node-http-handler": "^2.1.6",
47
- "@smithy/protocol-http": "^3.0.6",
48
- "@smithy/smithy-client": "^2.1.9",
49
- "@smithy/types": "^2.3.4",
50
- "@smithy/url-parser": "^2.0.10",
24
+ "@aws-sdk/client-sts": "3.429.0",
25
+ "@aws-sdk/credential-provider-node": "3.429.0",
26
+ "@aws-sdk/middleware-host-header": "3.429.0",
27
+ "@aws-sdk/middleware-logger": "3.428.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.428.0",
29
+ "@aws-sdk/middleware-signing": "3.428.0",
30
+ "@aws-sdk/middleware-user-agent": "3.428.0",
31
+ "@aws-sdk/region-config-resolver": "3.428.0",
32
+ "@aws-sdk/types": "3.428.0",
33
+ "@aws-sdk/util-endpoints": "3.428.0",
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",
37
+ "@smithy/fetch-http-handler": "^2.2.3",
38
+ "@smithy/hash-node": "^2.0.11",
39
+ "@smithy/invalid-dependency": "^2.0.11",
40
+ "@smithy/middleware-content-length": "^2.0.13",
41
+ "@smithy/middleware-endpoint": "^2.1.1",
42
+ "@smithy/middleware-retry": "^2.0.16",
43
+ "@smithy/middleware-serde": "^2.0.11",
44
+ "@smithy/middleware-stack": "^2.0.5",
45
+ "@smithy/node-config-provider": "^2.1.1",
46
+ "@smithy/node-http-handler": "^2.1.7",
47
+ "@smithy/protocol-http": "^3.0.7",
48
+ "@smithy/smithy-client": "^2.1.11",
49
+ "@smithy/types": "^2.3.5",
50
+ "@smithy/url-parser": "^2.0.11",
51
51
  "@smithy/util-base64": "^2.0.0",
52
52
  "@smithy/util-body-length-browser": "^2.0.0",
53
53
  "@smithy/util-body-length-node": "^2.1.0",
54
- "@smithy/util-defaults-mode-browser": "^2.0.13",
55
- "@smithy/util-defaults-mode-node": "^2.0.15",
56
- "@smithy/util-retry": "^2.0.3",
54
+ "@smithy/util-defaults-mode-browser": "^2.0.15",
55
+ "@smithy/util-defaults-mode-node": "^2.0.19",
56
+ "@smithy/util-retry": "^2.0.4",
57
57
  "@smithy/util-utf8": "^2.0.0",
58
- "@smithy/util-waiter": "^2.0.10",
58
+ "@smithy/util-waiter": "^2.0.11",
59
59
  "tslib": "^2.5.0"
60
60
  },
61
61
  "devDependencies": {