@aws-sdk/client-emr 3.934.0 → 3.936.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,32 +1,4 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { EMRServiceException as __BaseException } from "./EMRServiceException";
3
- /**
4
- * @public
5
- * @enum
6
- */
7
- export declare const ActionOnFailure: {
8
- readonly CANCEL_AND_WAIT: "CANCEL_AND_WAIT";
9
- readonly CONTINUE: "CONTINUE";
10
- readonly TERMINATE_CLUSTER: "TERMINATE_CLUSTER";
11
- readonly TERMINATE_JOB_FLOW: "TERMINATE_JOB_FLOW";
12
- };
13
- /**
14
- * @public
15
- */
16
- export type ActionOnFailure = (typeof ActionOnFailure)[keyof typeof ActionOnFailure];
17
- /**
18
- * @public
19
- * @enum
20
- */
21
- export declare const InstanceFleetType: {
22
- readonly CORE: "CORE";
23
- readonly MASTER: "MASTER";
24
- readonly TASK: "TASK";
25
- };
26
- /**
27
- * @public
28
- */
29
- export type InstanceFleetType = (typeof InstanceFleetType)[keyof typeof InstanceFleetType];
1
+ import { ActionOnFailure, AdjustmentType, AuthMode, AutoScalingPolicyState, AutoScalingPolicyStateChangeReasonCode, CancelStepsRequestStatus, ClusterState, ClusterStateChangeReasonCode, ComparisonOperator, ComputeLimitsUnitType, ExecutionEngineType, IdcUserAssignment, IdentityType, InstanceCollectionType, InstanceFleetState, InstanceFleetStateChangeReasonCode, InstanceFleetType, InstanceGroupState, InstanceGroupStateChangeReasonCode, InstanceGroupType, InstanceRoleType, InstanceState, InstanceStateChangeReasonCode, JobFlowExecutionState, MarketType, NotebookExecutionStatus, OnClusterAppUIType, OnDemandCapacityReservationPreference, OnDemandCapacityReservationUsageStrategy, OnDemandProvisioningAllocationStrategy, OutputNotebookFormat, PersistentAppUIType, PlacementGroupStrategy, ProfilerType, ReconfigurationType, RepoUpgradeOnBoot, ScaleDownBehavior, ScalingStrategy, SpotProvisioningAllocationStrategy, SpotProvisioningTimeoutAction, Statistic, StepCancellationOption, StepExecutionState, StepState, StepStateChangeReasonCode, Unit } from "./enums";
30
2
  /**
31
3
  * <p>EBS volume specifications such as volume type, IOPS, size (GiB) and throughput (MiB/s)
32
4
  * that are requested for the EBS volume attached to an Amazon EC2 instance in the
@@ -96,41 +68,6 @@ export interface EbsConfiguration {
96
68
  */
97
69
  EbsOptimized?: boolean | undefined;
98
70
  }
99
- /**
100
- * @public
101
- * @enum
102
- */
103
- export declare const OnDemandProvisioningAllocationStrategy: {
104
- readonly LOWEST_PRICE: "lowest-price";
105
- readonly PRIORITIZED: "prioritized";
106
- };
107
- /**
108
- * @public
109
- */
110
- export type OnDemandProvisioningAllocationStrategy = (typeof OnDemandProvisioningAllocationStrategy)[keyof typeof OnDemandProvisioningAllocationStrategy];
111
- /**
112
- * @public
113
- * @enum
114
- */
115
- export declare const OnDemandCapacityReservationPreference: {
116
- readonly NONE: "none";
117
- readonly OPEN: "open";
118
- };
119
- /**
120
- * @public
121
- */
122
- export type OnDemandCapacityReservationPreference = (typeof OnDemandCapacityReservationPreference)[keyof typeof OnDemandCapacityReservationPreference];
123
- /**
124
- * @public
125
- * @enum
126
- */
127
- export declare const OnDemandCapacityReservationUsageStrategy: {
128
- readonly USE_CAPACITY_RESERVATIONS_FIRST: "use-capacity-reservations-first";
129
- };
130
- /**
131
- * @public
132
- */
133
- export type OnDemandCapacityReservationUsageStrategy = (typeof OnDemandCapacityReservationUsageStrategy)[keyof typeof OnDemandCapacityReservationUsageStrategy];
134
71
  /**
135
72
  * <p>Describes the strategy for using unused Capacity Reservations for fulfilling On-Demand
136
73
  * capacity.</p>
@@ -203,33 +140,6 @@ export interface OnDemandProvisioningSpecification {
203
140
  */
204
141
  CapacityReservationOptions?: OnDemandCapacityReservationOptions | undefined;
205
142
  }
206
- /**
207
- * @public
208
- * @enum
209
- */
210
- export declare const SpotProvisioningAllocationStrategy: {
211
- readonly CAPACITY_OPTIMIZED: "capacity-optimized";
212
- readonly CAPACITY_OPTIMIZED_PRIORITIZED: "capacity-optimized-prioritized";
213
- readonly DIVERSIFIED: "diversified";
214
- readonly LOWEST_PRICE: "lowest-price";
215
- readonly PRICE_CAPACITY_OPTIMIZED: "price-capacity-optimized";
216
- };
217
- /**
218
- * @public
219
- */
220
- export type SpotProvisioningAllocationStrategy = (typeof SpotProvisioningAllocationStrategy)[keyof typeof SpotProvisioningAllocationStrategy];
221
- /**
222
- * @public
223
- * @enum
224
- */
225
- export declare const SpotProvisioningTimeoutAction: {
226
- readonly SWITCH_TO_ON_DEMAND: "SWITCH_TO_ON_DEMAND";
227
- readonly TERMINATE_CLUSTER: "TERMINATE_CLUSTER";
228
- };
229
- /**
230
- * @public
231
- */
232
- export type SpotProvisioningTimeoutAction = (typeof SpotProvisioningTimeoutAction)[keyof typeof SpotProvisioningTimeoutAction];
233
143
  /**
234
144
  * <p>The launch specification for Spot Instances in the instance fleet, which determines the
235
145
  * defined duration, provisioning timeout behavior, and allocation strategy.</p>
@@ -411,46 +321,6 @@ export interface AddInstanceFleetOutput {
411
321
  */
412
322
  ClusterArn?: string | undefined;
413
323
  }
414
- /**
415
- * <p>This exception occurs when there is an internal failure in the Amazon EMR
416
- * service.</p>
417
- * @public
418
- */
419
- export declare class InternalServerException extends __BaseException {
420
- readonly name: "InternalServerException";
421
- readonly $fault: "server";
422
- /**
423
- * <p>The message associated with the exception.</p>
424
- * @public
425
- */
426
- Message?: string | undefined;
427
- /**
428
- * @internal
429
- */
430
- constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
431
- }
432
- /**
433
- * <p>This exception occurs when there is something wrong with user input.</p>
434
- * @public
435
- */
436
- export declare class InvalidRequestException extends __BaseException {
437
- readonly name: "InvalidRequestException";
438
- readonly $fault: "client";
439
- /**
440
- * <p>The error code associated with the exception.</p>
441
- * @public
442
- */
443
- ErrorCode?: string | undefined;
444
- /**
445
- * <p>The message associated with the exception.</p>
446
- * @public
447
- */
448
- Message?: string | undefined;
449
- /**
450
- * @internal
451
- */
452
- constructor(opts: __ExceptionOptionType<InvalidRequestException, __BaseException>);
453
- }
454
324
  /**
455
325
  * <p>The upper and lower Amazon EC2 instance limits for an automatic scaling policy.
456
326
  * Automatic scaling activities triggered by automatic scaling rules will not cause an
@@ -473,31 +343,6 @@ export interface ScalingConstraints {
473
343
  */
474
344
  MaxCapacity: number | undefined;
475
345
  }
476
- /**
477
- * @public
478
- * @enum
479
- */
480
- export declare const MarketType: {
481
- readonly ON_DEMAND: "ON_DEMAND";
482
- readonly SPOT: "SPOT";
483
- };
484
- /**
485
- * @public
486
- */
487
- export type MarketType = (typeof MarketType)[keyof typeof MarketType];
488
- /**
489
- * @public
490
- * @enum
491
- */
492
- export declare const AdjustmentType: {
493
- readonly CHANGE_IN_CAPACITY: "CHANGE_IN_CAPACITY";
494
- readonly EXACT_CAPACITY: "EXACT_CAPACITY";
495
- readonly PERCENT_CHANGE_IN_CAPACITY: "PERCENT_CHANGE_IN_CAPACITY";
496
- };
497
- /**
498
- * @public
499
- */
500
- export type AdjustmentType = (typeof AdjustmentType)[keyof typeof AdjustmentType];
501
346
  /**
502
347
  * <p>An automatic scaling configuration, which describes how the policy adds or removes
503
348
  * instances, the cooldown period, and the number of Amazon EC2 instances that will be
@@ -558,20 +403,6 @@ export interface ScalingAction {
558
403
  */
559
404
  SimpleScalingPolicyConfiguration: SimpleScalingPolicyConfiguration | undefined;
560
405
  }
561
- /**
562
- * @public
563
- * @enum
564
- */
565
- export declare const ComparisonOperator: {
566
- readonly GREATER_THAN: "GREATER_THAN";
567
- readonly GREATER_THAN_OR_EQUAL: "GREATER_THAN_OR_EQUAL";
568
- readonly LESS_THAN: "LESS_THAN";
569
- readonly LESS_THAN_OR_EQUAL: "LESS_THAN_OR_EQUAL";
570
- };
571
- /**
572
- * @public
573
- */
574
- export type ComparisonOperator = (typeof ComparisonOperator)[keyof typeof ComparisonOperator];
575
406
  /**
576
407
  * <p>A CloudWatch dimension, which is specified using a <code>Key</code> (known as a
577
408
  * <code>Name</code> in CloudWatch), <code>Value</code> pair. By default, Amazon EMR uses one dimension whose <code>Key</code> is <code>JobFlowID</code> and
@@ -592,58 +423,6 @@ export interface MetricDimension {
592
423
  */
593
424
  Value?: string | undefined;
594
425
  }
595
- /**
596
- * @public
597
- * @enum
598
- */
599
- export declare const Statistic: {
600
- readonly AVERAGE: "AVERAGE";
601
- readonly MAXIMUM: "MAXIMUM";
602
- readonly MINIMUM: "MINIMUM";
603
- readonly SAMPLE_COUNT: "SAMPLE_COUNT";
604
- readonly SUM: "SUM";
605
- };
606
- /**
607
- * @public
608
- */
609
- export type Statistic = (typeof Statistic)[keyof typeof Statistic];
610
- /**
611
- * @public
612
- * @enum
613
- */
614
- export declare const Unit: {
615
- readonly BITS: "BITS";
616
- readonly BITS_PER_SECOND: "BITS_PER_SECOND";
617
- readonly BYTES: "BYTES";
618
- readonly BYTES_PER_SECOND: "BYTES_PER_SECOND";
619
- readonly COUNT: "COUNT";
620
- readonly COUNT_PER_SECOND: "COUNT_PER_SECOND";
621
- readonly GIGA_BITS: "GIGA_BITS";
622
- readonly GIGA_BITS_PER_SECOND: "GIGA_BITS_PER_SECOND";
623
- readonly GIGA_BYTES: "GIGA_BYTES";
624
- readonly GIGA_BYTES_PER_SECOND: "GIGA_BYTES_PER_SECOND";
625
- readonly KILO_BITS: "KILO_BITS";
626
- readonly KILO_BITS_PER_SECOND: "KILO_BITS_PER_SECOND";
627
- readonly KILO_BYTES: "KILO_BYTES";
628
- readonly KILO_BYTES_PER_SECOND: "KILO_BYTES_PER_SECOND";
629
- readonly MEGA_BITS: "MEGA_BITS";
630
- readonly MEGA_BITS_PER_SECOND: "MEGA_BITS_PER_SECOND";
631
- readonly MEGA_BYTES: "MEGA_BYTES";
632
- readonly MEGA_BYTES_PER_SECOND: "MEGA_BYTES_PER_SECOND";
633
- readonly MICRO_SECONDS: "MICRO_SECONDS";
634
- readonly MILLI_SECONDS: "MILLI_SECONDS";
635
- readonly NONE: "NONE";
636
- readonly PERCENT: "PERCENT";
637
- readonly SECONDS: "SECONDS";
638
- readonly TERA_BITS: "TERA_BITS";
639
- readonly TERA_BITS_PER_SECOND: "TERA_BITS_PER_SECOND";
640
- readonly TERA_BYTES: "TERA_BYTES";
641
- readonly TERA_BYTES_PER_SECOND: "TERA_BYTES_PER_SECOND";
642
- };
643
- /**
644
- * @public
645
- */
646
- export type Unit = (typeof Unit)[keyof typeof Unit];
647
426
  /**
648
427
  * <p>The definition of a CloudWatch metric alarm, which determines when an automatic scaling
649
428
  * activity is triggered. When the defined alarm conditions are satisfied, scaling activity
@@ -771,19 +550,6 @@ export interface AutoScalingPolicy {
771
550
  */
772
551
  Rules: ScalingRule[] | undefined;
773
552
  }
774
- /**
775
- * @public
776
- * @enum
777
- */
778
- export declare const InstanceRoleType: {
779
- readonly CORE: "CORE";
780
- readonly MASTER: "MASTER";
781
- readonly TASK: "TASK";
782
- };
783
- /**
784
- * @public
785
- */
786
- export type InstanceRoleType = (typeof InstanceRoleType)[keyof typeof InstanceRoleType];
787
553
  /**
788
554
  * <p>Output from an AddInstanceGroups call.</p>
789
555
  * @public
@@ -805,19 +571,6 @@ export interface AddInstanceGroupsOutput {
805
571
  */
806
572
  ClusterArn?: string | undefined;
807
573
  }
808
- /**
809
- * <p>Indicates that an error occurred while processing the request and that the request was
810
- * not completed.</p>
811
- * @public
812
- */
813
- export declare class InternalServerError extends __BaseException {
814
- readonly name: "InternalServerError";
815
- readonly $fault: "server";
816
- /**
817
- * @internal
818
- */
819
- constructor(opts: __ExceptionOptionType<InternalServerError, __BaseException>);
820
- }
821
574
  /**
822
575
  * <p>A key-value pair.</p>
823
576
  * @public
@@ -1036,47 +789,6 @@ export interface Application {
1036
789
  */
1037
790
  AdditionalInfo?: Record<string, string> | undefined;
1038
791
  }
1039
- /**
1040
- * @public
1041
- * @enum
1042
- */
1043
- export declare const AuthMode: {
1044
- readonly IAM: "IAM";
1045
- readonly SSO: "SSO";
1046
- };
1047
- /**
1048
- * @public
1049
- */
1050
- export type AuthMode = (typeof AuthMode)[keyof typeof AuthMode];
1051
- /**
1052
- * @public
1053
- * @enum
1054
- */
1055
- export declare const AutoScalingPolicyState: {
1056
- readonly ATTACHED: "ATTACHED";
1057
- readonly ATTACHING: "ATTACHING";
1058
- readonly DETACHED: "DETACHED";
1059
- readonly DETACHING: "DETACHING";
1060
- readonly FAILED: "FAILED";
1061
- readonly PENDING: "PENDING";
1062
- };
1063
- /**
1064
- * @public
1065
- */
1066
- export type AutoScalingPolicyState = (typeof AutoScalingPolicyState)[keyof typeof AutoScalingPolicyState];
1067
- /**
1068
- * @public
1069
- * @enum
1070
- */
1071
- export declare const AutoScalingPolicyStateChangeReasonCode: {
1072
- readonly CLEANUP_FAILURE: "CLEANUP_FAILURE";
1073
- readonly PROVISION_FAILURE: "PROVISION_FAILURE";
1074
- readonly USER_REQUEST: "USER_REQUEST";
1075
- };
1076
- /**
1077
- * @public
1078
- */
1079
- export type AutoScalingPolicyStateChangeReasonCode = (typeof AutoScalingPolicyStateChangeReasonCode)[keyof typeof AutoScalingPolicyStateChangeReasonCode];
1080
792
  /**
1081
793
  * <p>The reason for an <a>AutoScalingPolicyStatus</a> change.</p>
1082
794
  * @public
@@ -1237,18 +949,6 @@ export interface BootstrapActionDetail {
1237
949
  */
1238
950
  BootstrapActionConfig?: BootstrapActionConfig | undefined;
1239
951
  }
1240
- /**
1241
- * @public
1242
- * @enum
1243
- */
1244
- export declare const StepCancellationOption: {
1245
- readonly SEND_INTERRUPT: "SEND_INTERRUPT";
1246
- readonly TERMINATE_PROCESS: "TERMINATE_PROCESS";
1247
- };
1248
- /**
1249
- * @public
1250
- */
1251
- export type StepCancellationOption = (typeof StepCancellationOption)[keyof typeof StepCancellationOption];
1252
952
  /**
1253
953
  * <p>The input argument to the <a>CancelSteps</a> operation.</p>
1254
954
  * @public
@@ -1272,18 +972,6 @@ export interface CancelStepsInput {
1272
972
  */
1273
973
  StepCancellationOption?: StepCancellationOption | undefined;
1274
974
  }
1275
- /**
1276
- * @public
1277
- * @enum
1278
- */
1279
- export declare const CancelStepsRequestStatus: {
1280
- readonly FAILED: "FAILED";
1281
- readonly SUBMITTED: "SUBMITTED";
1282
- };
1283
- /**
1284
- * @public
1285
- */
1286
- export type CancelStepsRequestStatus = (typeof CancelStepsRequestStatus)[keyof typeof CancelStepsRequestStatus];
1287
975
  /**
1288
976
  * <p>Specification of the status of a CancelSteps request. Available only in Amazon EMR version 4.8.0 and later, excluding version 5.0.0.</p>
1289
977
  * @public
@@ -1317,6 +1005,37 @@ export interface CancelStepsOutput {
1317
1005
  */
1318
1006
  CancelStepsInfoList?: CancelStepsInfo[] | undefined;
1319
1007
  }
1008
+ /**
1009
+ * <p>Holds CloudWatch log configuration settings and metadata that specify settings like log files to monitor and where to send them.</p>
1010
+ * @public
1011
+ */
1012
+ export interface CloudWatchLogConfiguration {
1013
+ /**
1014
+ * <p>Specifies if CloudWatch logging is enabled.</p>
1015
+ * @public
1016
+ */
1017
+ Enabled: boolean | undefined;
1018
+ /**
1019
+ * <p>The name of the CloudWatch log group where logs are published.</p>
1020
+ * @public
1021
+ */
1022
+ LogGroupName?: string | undefined;
1023
+ /**
1024
+ * <p>The prefix of the log stream name.</p>
1025
+ * @public
1026
+ */
1027
+ LogStreamNamePrefix?: string | undefined;
1028
+ /**
1029
+ * <p>The ARN of the encryption key used to encrypt the logs.</p>
1030
+ * @public
1031
+ */
1032
+ EncryptionKeyArn?: string | undefined;
1033
+ /**
1034
+ * <p>A map of log types to file names for publishing logs to the standard output or standard error streams for CloudWatch. Valid log types include STEP_LOGS, SPARK_DRIVER, and SPARK_EXECUTOR. Valid file names for each type include STDOUT and STDERR.</p>
1035
+ * @public
1036
+ */
1037
+ LogTypes?: Record<string, string[]> | undefined;
1038
+ }
1320
1039
  /**
1321
1040
  * <p>Provides information about the Amazon EC2 instances in a cluster grouped by
1322
1041
  * category. For example, key name, subnet ID, IAM instance profile, and so
@@ -1404,18 +1123,6 @@ export interface Ec2InstanceAttributes {
1404
1123
  */
1405
1124
  AdditionalSlaveSecurityGroups?: string[] | undefined;
1406
1125
  }
1407
- /**
1408
- * @public
1409
- * @enum
1410
- */
1411
- export declare const InstanceCollectionType: {
1412
- readonly INSTANCE_FLEET: "INSTANCE_FLEET";
1413
- readonly INSTANCE_GROUP: "INSTANCE_GROUP";
1414
- };
1415
- /**
1416
- * @public
1417
- */
1418
- export type InstanceCollectionType = (typeof InstanceCollectionType)[keyof typeof InstanceCollectionType];
1419
1126
  /**
1420
1127
  * <p>Attributes for Kerberos configuration when Kerberos authentication is enabled using a
1421
1128
  * security configuration. For more information see <a href="https://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-kerberos.html">Use Kerberos Authentication</a>
@@ -1455,19 +1162,16 @@ export interface KerberosAttributes {
1455
1162
  ADDomainJoinPassword?: string | undefined;
1456
1163
  }
1457
1164
  /**
1165
+ * <p>Contains CloudWatch log configuration metadata and settings.</p>
1458
1166
  * @public
1459
- * @enum
1460
1167
  */
1461
- export declare const PlacementGroupStrategy: {
1462
- readonly CLUSTER: "CLUSTER";
1463
- readonly NONE: "NONE";
1464
- readonly PARTITION: "PARTITION";
1465
- readonly SPREAD: "SPREAD";
1466
- };
1467
- /**
1468
- * @public
1469
- */
1470
- export type PlacementGroupStrategy = (typeof PlacementGroupStrategy)[keyof typeof PlacementGroupStrategy];
1168
+ export interface MonitoringConfiguration {
1169
+ /**
1170
+ * <p>CloudWatch log configuration settings and metadata that specify settings like log files to monitor and where to send them.</p>
1171
+ * @public
1172
+ */
1173
+ CloudWatchLogConfiguration?: CloudWatchLogConfiguration | undefined;
1174
+ }
1471
1175
  /**
1472
1176
  * <p>Placement group configuration for an Amazon EMR cluster. The configuration
1473
1177
  * specifies the placement strategy that can be applied to instance roles during cluster
@@ -1492,30 +1196,6 @@ export interface PlacementGroupConfig {
1492
1196
  */
1493
1197
  PlacementStrategy?: PlacementGroupStrategy | undefined;
1494
1198
  }
1495
- /**
1496
- * @public
1497
- * @enum
1498
- */
1499
- export declare const RepoUpgradeOnBoot: {
1500
- readonly NONE: "NONE";
1501
- readonly SECURITY: "SECURITY";
1502
- };
1503
- /**
1504
- * @public
1505
- */
1506
- export type RepoUpgradeOnBoot = (typeof RepoUpgradeOnBoot)[keyof typeof RepoUpgradeOnBoot];
1507
- /**
1508
- * @public
1509
- * @enum
1510
- */
1511
- export declare const ScaleDownBehavior: {
1512
- readonly TERMINATE_AT_INSTANCE_HOUR: "TERMINATE_AT_INSTANCE_HOUR";
1513
- readonly TERMINATE_AT_TASK_COMPLETION: "TERMINATE_AT_TASK_COMPLETION";
1514
- };
1515
- /**
1516
- * @public
1517
- */
1518
- export type ScaleDownBehavior = (typeof ScaleDownBehavior)[keyof typeof ScaleDownBehavior];
1519
1199
  /**
1520
1200
  * <p>A tuple that provides information about an error that caused a cluster to
1521
1201
  * terminate.</p>
@@ -1539,41 +1219,6 @@ export interface ErrorDetail {
1539
1219
  */
1540
1220
  ErrorMessage?: string | undefined;
1541
1221
  }
1542
- /**
1543
- * @public
1544
- * @enum
1545
- */
1546
- export declare const ClusterState: {
1547
- readonly BOOTSTRAPPING: "BOOTSTRAPPING";
1548
- readonly RUNNING: "RUNNING";
1549
- readonly STARTING: "STARTING";
1550
- readonly TERMINATED: "TERMINATED";
1551
- readonly TERMINATED_WITH_ERRORS: "TERMINATED_WITH_ERRORS";
1552
- readonly TERMINATING: "TERMINATING";
1553
- readonly WAITING: "WAITING";
1554
- };
1555
- /**
1556
- * @public
1557
- */
1558
- export type ClusterState = (typeof ClusterState)[keyof typeof ClusterState];
1559
- /**
1560
- * @public
1561
- * @enum
1562
- */
1563
- export declare const ClusterStateChangeReasonCode: {
1564
- readonly ALL_STEPS_COMPLETED: "ALL_STEPS_COMPLETED";
1565
- readonly BOOTSTRAP_FAILURE: "BOOTSTRAP_FAILURE";
1566
- readonly INSTANCE_FAILURE: "INSTANCE_FAILURE";
1567
- readonly INSTANCE_FLEET_TIMEOUT: "INSTANCE_FLEET_TIMEOUT";
1568
- readonly INTERNAL_ERROR: "INTERNAL_ERROR";
1569
- readonly STEP_FAILURE: "STEP_FAILURE";
1570
- readonly USER_REQUEST: "USER_REQUEST";
1571
- readonly VALIDATION_ERROR: "VALIDATION_ERROR";
1572
- };
1573
- /**
1574
- * @public
1575
- */
1576
- export type ClusterStateChangeReasonCode = (typeof ClusterStateChangeReasonCode)[keyof typeof ClusterStateChangeReasonCode];
1577
1222
  /**
1578
1223
  * <p>The reason that the cluster changed to its current state.</p>
1579
1224
  * @public
@@ -1701,19 +1346,6 @@ export interface Command {
1701
1346
  */
1702
1347
  Args?: string[] | undefined;
1703
1348
  }
1704
- /**
1705
- * @public
1706
- * @enum
1707
- */
1708
- export declare const ComputeLimitsUnitType: {
1709
- readonly InstanceFleetUnits: "InstanceFleetUnits";
1710
- readonly Instances: "Instances";
1711
- readonly VCPU: "VCPU";
1712
- };
1713
- /**
1714
- * @public
1715
- */
1716
- export type ComputeLimitsUnitType = (typeof ComputeLimitsUnitType)[keyof typeof ComputeLimitsUnitType];
1717
1349
  /**
1718
1350
  * <p> The Amazon EC2 unit limits for a managed scaling policy. The managed scaling
1719
1351
  * activity of a cluster can not be above or below these limits. The limit only applies to the
@@ -1770,19 +1402,6 @@ export interface EMRContainersConfig {
1770
1402
  */
1771
1403
  JobRunId?: string | undefined;
1772
1404
  }
1773
- /**
1774
- * @public
1775
- * @enum
1776
- */
1777
- export declare const ProfilerType: {
1778
- readonly SHS: "SHS";
1779
- readonly TEZUI: "TEZUI";
1780
- readonly YTS: "YTS";
1781
- };
1782
- /**
1783
- * @public
1784
- */
1785
- export type ProfilerType = (typeof ProfilerType)[keyof typeof ProfilerType];
1786
1405
  /**
1787
1406
  * @public
1788
1407
  */
@@ -1862,18 +1481,6 @@ export interface CreateSecurityConfigurationOutput {
1862
1481
  */
1863
1482
  CreationDateTime: Date | undefined;
1864
1483
  }
1865
- /**
1866
- * @public
1867
- * @enum
1868
- */
1869
- export declare const IdcUserAssignment: {
1870
- readonly OPTIONAL: "OPTIONAL";
1871
- readonly REQUIRED: "REQUIRED";
1872
- };
1873
- /**
1874
- * @public
1875
- */
1876
- export type IdcUserAssignment = (typeof IdcUserAssignment)[keyof typeof IdcUserAssignment];
1877
1484
  /**
1878
1485
  * @public
1879
1486
  */
@@ -2006,18 +1613,6 @@ export interface CreateStudioOutput {
2006
1613
  */
2007
1614
  Url?: string | undefined;
2008
1615
  }
2009
- /**
2010
- * @public
2011
- * @enum
2012
- */
2013
- export declare const IdentityType: {
2014
- readonly GROUP: "GROUP";
2015
- readonly USER: "USER";
2016
- };
2017
- /**
2018
- * @public
2019
- */
2020
- export type IdentityType = (typeof IdentityType)[keyof typeof IdentityType];
2021
1616
  /**
2022
1617
  * @public
2023
1618
  */
@@ -2176,24 +1771,6 @@ export interface DescribeClusterInput {
2176
1771
  */
2177
1772
  ClusterId: string | undefined;
2178
1773
  }
2179
- /**
2180
- * @public
2181
- * @enum
2182
- */
2183
- export declare const JobFlowExecutionState: {
2184
- readonly BOOTSTRAPPING: "BOOTSTRAPPING";
2185
- readonly COMPLETED: "COMPLETED";
2186
- readonly FAILED: "FAILED";
2187
- readonly RUNNING: "RUNNING";
2188
- readonly SHUTTING_DOWN: "SHUTTING_DOWN";
2189
- readonly STARTING: "STARTING";
2190
- readonly TERMINATED: "TERMINATED";
2191
- readonly WAITING: "WAITING";
2192
- };
2193
- /**
2194
- * @public
2195
- */
2196
- export type JobFlowExecutionState = (typeof JobFlowExecutionState)[keyof typeof JobFlowExecutionState];
2197
1774
  /**
2198
1775
  * <p> The input for the <a>DescribeJobFlows</a> operation. </p>
2199
1776
  * @public
@@ -2256,27 +1833,6 @@ export interface JobFlowExecutionStatusDetail {
2256
1833
  */
2257
1834
  LastStateChangeReason?: string | undefined;
2258
1835
  }
2259
- /**
2260
- * @public
2261
- * @enum
2262
- */
2263
- export declare const InstanceGroupState: {
2264
- readonly ARRESTED: "ARRESTED";
2265
- readonly BOOTSTRAPPING: "BOOTSTRAPPING";
2266
- readonly ENDED: "ENDED";
2267
- readonly PROVISIONING: "PROVISIONING";
2268
- readonly RECONFIGURING: "RECONFIGURING";
2269
- readonly RESIZING: "RESIZING";
2270
- readonly RUNNING: "RUNNING";
2271
- readonly SHUTTING_DOWN: "SHUTTING_DOWN";
2272
- readonly SUSPENDED: "SUSPENDED";
2273
- readonly TERMINATED: "TERMINATED";
2274
- readonly TERMINATING: "TERMINATING";
2275
- };
2276
- /**
2277
- * @public
2278
- */
2279
- export type InstanceGroupState = (typeof InstanceGroupState)[keyof typeof InstanceGroupState];
2280
1836
  /**
2281
1837
  * <p>Detailed information about an instance group.</p>
2282
1838
  * @public
@@ -2303,9 +1859,10 @@ export interface InstanceGroupDetail {
2303
1859
  */
2304
1860
  InstanceRole: InstanceRoleType | undefined;
2305
1861
  /**
2306
- * <p>If specified, indicates that the instance group uses Spot Instances. This is the maximum
2307
- * price you are willing to pay for Spot Instances. Specify <code>OnDemandPrice</code> to set
2308
- * the amount equal to the On-Demand price, or specify an amount in USD.</p>
1862
+ * <p>The bid price for each Amazon EC2 Spot Instance type as defined by
1863
+ * <code>InstanceType</code>. Expressed in USD. If neither <code>BidPrice</code> nor
1864
+ * <code>BidPriceAsPercentageOfOnDemandPrice</code> is provided,
1865
+ * <code>BidPriceAsPercentageOfOnDemandPrice</code> defaults to 100%.</p>
2309
1866
  * @public
2310
1867
  */
2311
1868
  BidPrice?: string | undefined;
@@ -2475,23 +2032,6 @@ export interface JobFlowInstancesDetail {
2475
2032
  */
2476
2033
  HadoopVersion?: string | undefined;
2477
2034
  }
2478
- /**
2479
- * @public
2480
- * @enum
2481
- */
2482
- export declare const StepExecutionState: {
2483
- readonly CANCELLED: "CANCELLED";
2484
- readonly COMPLETED: "COMPLETED";
2485
- readonly CONTINUE: "CONTINUE";
2486
- readonly FAILED: "FAILED";
2487
- readonly INTERRUPTED: "INTERRUPTED";
2488
- readonly PENDING: "PENDING";
2489
- readonly RUNNING: "RUNNING";
2490
- };
2491
- /**
2492
- * @public
2493
- */
2494
- export type StepExecutionState = (typeof StepExecutionState)[keyof typeof StepExecutionState];
2495
2035
  /**
2496
2036
  * <p>The execution state of a step.</p>
2497
2037
  * @public
@@ -2666,17 +2206,6 @@ export interface DescribeNotebookExecutionInput {
2666
2206
  */
2667
2207
  NotebookExecutionId: string | undefined;
2668
2208
  }
2669
- /**
2670
- * @public
2671
- * @enum
2672
- */
2673
- export declare const ExecutionEngineType: {
2674
- readonly EMR: "EMR";
2675
- };
2676
- /**
2677
- * @public
2678
- */
2679
- export type ExecutionEngineType = (typeof ExecutionEngineType)[keyof typeof ExecutionEngineType];
2680
2209
  /**
2681
2210
  * <p>Specifies the execution engine (cluster) to run the notebook and perform the notebook
2682
2211
  * execution, for example, an Amazon EMR cluster.</p>
@@ -2726,17 +2255,6 @@ export interface NotebookS3LocationForOutput {
2726
2255
  */
2727
2256
  Key?: string | undefined;
2728
2257
  }
2729
- /**
2730
- * @public
2731
- * @enum
2732
- */
2733
- export declare const OutputNotebookFormat: {
2734
- readonly HTML: "HTML";
2735
- };
2736
- /**
2737
- * @public
2738
- */
2739
- export type OutputNotebookFormat = (typeof OutputNotebookFormat)[keyof typeof OutputNotebookFormat];
2740
2258
  /**
2741
2259
  * <p>The Amazon S3 location that stores the notebook execution output.</p>
2742
2260
  * @public
@@ -2754,26 +2272,6 @@ export interface OutputNotebookS3LocationForOutput {
2754
2272
  */
2755
2273
  Key?: string | undefined;
2756
2274
  }
2757
- /**
2758
- * @public
2759
- * @enum
2760
- */
2761
- export declare const NotebookExecutionStatus: {
2762
- readonly FAILED: "FAILED";
2763
- readonly FAILING: "FAILING";
2764
- readonly FINISHED: "FINISHED";
2765
- readonly FINISHING: "FINISHING";
2766
- readonly RUNNING: "RUNNING";
2767
- readonly STARTING: "STARTING";
2768
- readonly START_PENDING: "START_PENDING";
2769
- readonly STOPPED: "STOPPED";
2770
- readonly STOPPING: "STOPPING";
2771
- readonly STOP_PENDING: "STOP_PENDING";
2772
- };
2773
- /**
2774
- * @public
2775
- */
2776
- export type NotebookExecutionStatus = (typeof NotebookExecutionStatus)[keyof typeof NotebookExecutionStatus];
2777
2275
  /**
2778
2276
  * <p>A notebook execution. An execution is a specific instance that an Amazon EMR
2779
2277
  * Notebook is run using the <code>StartNotebookExecution</code> action.</p>
@@ -2944,19 +2442,6 @@ export interface DescribePersistentAppUIInput {
2944
2442
  */
2945
2443
  PersistentAppUIId: string | undefined;
2946
2444
  }
2947
- /**
2948
- * @public
2949
- * @enum
2950
- */
2951
- export declare const PersistentAppUIType: {
2952
- readonly SHS: "SHS";
2953
- readonly TEZ: "TEZ";
2954
- readonly YTS: "YTS";
2955
- };
2956
- /**
2957
- * @public
2958
- */
2959
- export type PersistentAppUIType = (typeof PersistentAppUIType)[keyof typeof PersistentAppUIType];
2960
2445
  /**
2961
2446
  * <p>Holds persistent application user interface information. Applications installed on the Amazon EMR cluster publish user interfaces as
2962
2447
  * web sites to monitor cluster activity.</p>
@@ -3200,34 +2685,6 @@ export interface FailureDetails {
3200
2685
  */
3201
2686
  LogFile?: string | undefined;
3202
2687
  }
3203
- /**
3204
- * @public
3205
- * @enum
3206
- */
3207
- export declare const StepState: {
3208
- readonly CANCELLED: "CANCELLED";
3209
- readonly CANCEL_PENDING: "CANCEL_PENDING";
3210
- readonly COMPLETED: "COMPLETED";
3211
- readonly FAILED: "FAILED";
3212
- readonly INTERRUPTED: "INTERRUPTED";
3213
- readonly PENDING: "PENDING";
3214
- readonly RUNNING: "RUNNING";
3215
- };
3216
- /**
3217
- * @public
3218
- */
3219
- export type StepState = (typeof StepState)[keyof typeof StepState];
3220
- /**
3221
- * @public
3222
- * @enum
3223
- */
3224
- export declare const StepStateChangeReasonCode: {
3225
- readonly NONE: "NONE";
3226
- };
3227
- /**
3228
- * @public
3229
- */
3230
- export type StepStateChangeReasonCode = (typeof StepStateChangeReasonCode)[keyof typeof StepStateChangeReasonCode];
3231
2688
  /**
3232
2689
  * <p>The details of the step state change reason.</p>
3233
2690
  * @public
@@ -3611,18 +3068,6 @@ export interface GetManagedScalingPolicyInput {
3611
3068
  */
3612
3069
  ClusterId: string | undefined;
3613
3070
  }
3614
- /**
3615
- * @public
3616
- * @enum
3617
- */
3618
- export declare const ScalingStrategy: {
3619
- readonly ADVANCED: "ADVANCED";
3620
- readonly DEFAULT: "DEFAULT";
3621
- };
3622
- /**
3623
- * @public
3624
- */
3625
- export type ScalingStrategy = (typeof ScalingStrategy)[keyof typeof ScalingStrategy];
3626
3071
  /**
3627
3072
  * <p> Managed scaling policy for an Amazon EMR cluster. The policy specifies the
3628
3073
  * limits for resources that can be added or terminated from a cluster. The policy only
@@ -3662,22 +3107,6 @@ export interface GetManagedScalingPolicyOutput {
3662
3107
  */
3663
3108
  ManagedScalingPolicy?: ManagedScalingPolicy | undefined;
3664
3109
  }
3665
- /**
3666
- * @public
3667
- * @enum
3668
- */
3669
- export declare const OnClusterAppUIType: {
3670
- readonly ApplicationMaster: "ApplicationMaster";
3671
- readonly JobHistoryServer: "JobHistoryServer";
3672
- readonly ResourceManager: "ResourceManager";
3673
- readonly SparkHistoryServer: "SparkHistoryServer";
3674
- readonly TezUI: "TezUI";
3675
- readonly YarnTimelineService: "YarnTimelineService";
3676
- };
3677
- /**
3678
- * @public
3679
- */
3680
- export type OnClusterAppUIType = (typeof OnClusterAppUIType)[keyof typeof OnClusterAppUIType];
3681
3110
  /**
3682
3111
  * @public
3683
3112
  */
@@ -3947,38 +3376,6 @@ export interface ListInstanceFleetsInput {
3947
3376
  */
3948
3377
  Marker?: string | undefined;
3949
3378
  }
3950
- /**
3951
- * @public
3952
- * @enum
3953
- */
3954
- export declare const InstanceFleetState: {
3955
- readonly BOOTSTRAPPING: "BOOTSTRAPPING";
3956
- readonly PROVISIONING: "PROVISIONING";
3957
- readonly RECONFIGURING: "RECONFIGURING";
3958
- readonly RESIZING: "RESIZING";
3959
- readonly RUNNING: "RUNNING";
3960
- readonly SUSPENDED: "SUSPENDED";
3961
- readonly TERMINATED: "TERMINATED";
3962
- readonly TERMINATING: "TERMINATING";
3963
- };
3964
- /**
3965
- * @public
3966
- */
3967
- export type InstanceFleetState = (typeof InstanceFleetState)[keyof typeof InstanceFleetState];
3968
- /**
3969
- * @public
3970
- * @enum
3971
- */
3972
- export declare const InstanceFleetStateChangeReasonCode: {
3973
- readonly CLUSTER_TERMINATED: "CLUSTER_TERMINATED";
3974
- readonly INSTANCE_FAILURE: "INSTANCE_FAILURE";
3975
- readonly INTERNAL_ERROR: "INTERNAL_ERROR";
3976
- readonly VALIDATION_ERROR: "VALIDATION_ERROR";
3977
- };
3978
- /**
3979
- * @public
3980
- */
3981
- export type InstanceFleetStateChangeReasonCode = (typeof InstanceFleetStateChangeReasonCode)[keyof typeof InstanceFleetStateChangeReasonCode];
3982
3379
  /**
3983
3380
  * <p>Provides status change reason details for the instance fleet.</p>
3984
3381
  * <note>
@@ -4103,19 +3500,6 @@ export interface ListInstanceGroupsInput {
4103
3500
  */
4104
3501
  Marker?: string | undefined;
4105
3502
  }
4106
- /**
4107
- * @public
4108
- * @enum
4109
- */
4110
- export declare const InstanceGroupType: {
4111
- readonly CORE: "CORE";
4112
- readonly MASTER: "MASTER";
4113
- readonly TASK: "TASK";
4114
- };
4115
- /**
4116
- * @public
4117
- */
4118
- export type InstanceGroupType = (typeof InstanceGroupType)[keyof typeof InstanceGroupType];
4119
3503
  /**
4120
3504
  * <p>Custom policy for requesting termination protection or termination of specific instances
4121
3505
  * when shrinking an instance group.</p>
@@ -4158,20 +3542,6 @@ export interface ShrinkPolicy {
4158
3542
  */
4159
3543
  InstanceResizePolicy?: InstanceResizePolicy | undefined;
4160
3544
  }
4161
- /**
4162
- * @public
4163
- * @enum
4164
- */
4165
- export declare const InstanceGroupStateChangeReasonCode: {
4166
- readonly CLUSTER_TERMINATED: "CLUSTER_TERMINATED";
4167
- readonly INSTANCE_FAILURE: "INSTANCE_FAILURE";
4168
- readonly INTERNAL_ERROR: "INTERNAL_ERROR";
4169
- readonly VALIDATION_ERROR: "VALIDATION_ERROR";
4170
- };
4171
- /**
4172
- * @public
4173
- */
4174
- export type InstanceGroupStateChangeReasonCode = (typeof InstanceGroupStateChangeReasonCode)[keyof typeof InstanceGroupStateChangeReasonCode];
4175
3545
  /**
4176
3546
  * <p>The status change reason details for the instance group.</p>
4177
3547
  * @public
@@ -4230,21 +3600,6 @@ export interface InstanceGroupStatus {
4230
3600
  */
4231
3601
  Timeline?: InstanceGroupTimeline | undefined;
4232
3602
  }
4233
- /**
4234
- * @public
4235
- * @enum
4236
- */
4237
- export declare const InstanceState: {
4238
- readonly AWAITING_FULFILLMENT: "AWAITING_FULFILLMENT";
4239
- readonly BOOTSTRAPPING: "BOOTSTRAPPING";
4240
- readonly PROVISIONING: "PROVISIONING";
4241
- readonly RUNNING: "RUNNING";
4242
- readonly TERMINATED: "TERMINATED";
4243
- };
4244
- /**
4245
- * @public
4246
- */
4247
- export type InstanceState = (typeof InstanceState)[keyof typeof InstanceState];
4248
3603
  /**
4249
3604
  * <p>This input determines which instances to list.</p>
4250
3605
  * @public
@@ -4287,21 +3642,6 @@ export interface ListInstancesInput {
4287
3642
  */
4288
3643
  Marker?: string | undefined;
4289
3644
  }
4290
- /**
4291
- * @public
4292
- * @enum
4293
- */
4294
- export declare const InstanceStateChangeReasonCode: {
4295
- readonly BOOTSTRAP_FAILURE: "BOOTSTRAP_FAILURE";
4296
- readonly CLUSTER_TERMINATED: "CLUSTER_TERMINATED";
4297
- readonly INSTANCE_FAILURE: "INSTANCE_FAILURE";
4298
- readonly INTERNAL_ERROR: "INTERNAL_ERROR";
4299
- readonly VALIDATION_ERROR: "VALIDATION_ERROR";
4300
- };
4301
- /**
4302
- * @public
4303
- */
4304
- export type InstanceStateChangeReasonCode = (typeof InstanceStateChangeReasonCode)[keyof typeof InstanceStateChangeReasonCode];
4305
3645
  /**
4306
3646
  * <p>The details of the status change reason for the instance.</p>
4307
3647
  * @public
@@ -5128,18 +4468,6 @@ export interface ModifyClusterOutput {
5128
4468
  */
5129
4469
  ExtendedSupport?: boolean | undefined;
5130
4470
  }
5131
- /**
5132
- * @public
5133
- * @enum
5134
- */
5135
- export declare const ReconfigurationType: {
5136
- readonly MERGE: "MERGE";
5137
- readonly OVERWRITE: "OVERWRITE";
5138
- };
5139
- /**
5140
- * @public
5141
- */
5142
- export type ReconfigurationType = (typeof ReconfigurationType)[keyof typeof ReconfigurationType];
5143
4471
  /**
5144
4472
  * @public
5145
4473
  */
@@ -5943,6 +5271,11 @@ export interface Cluster {
5943
5271
  * @public
5944
5272
  */
5945
5273
  ExtendedSupport?: boolean | undefined;
5274
+ /**
5275
+ * <p>Contains Cloudwatch log configuration metadata and settings.</p>
5276
+ * @public
5277
+ */
5278
+ MonitoringConfiguration?: MonitoringConfiguration | undefined;
5946
5279
  }
5947
5280
  /**
5948
5281
  * <p>Configuration defining a new instance group.</p>
@@ -5965,9 +5298,10 @@ export interface InstanceGroupConfig {
5965
5298
  */
5966
5299
  InstanceRole: InstanceRoleType | undefined;
5967
5300
  /**
5968
- * <p>If specified, indicates that the instance group uses Spot Instances. This is the maximum
5969
- * price you are willing to pay for Spot Instances. Specify <code>OnDemandPrice</code> to set
5970
- * the amount equal to the On-Demand price, or specify an amount in USD.</p>
5301
+ * <p>The bid price for each Amazon EC2 Spot Instance type as defined by
5302
+ * <code>InstanceType</code>. Expressed in USD. If neither <code>BidPrice</code> nor
5303
+ * <code>BidPriceAsPercentageOfOnDemandPrice</code> is provided,
5304
+ * <code>BidPriceAsPercentageOfOnDemandPrice</code> defaults to 100%.</p>
5971
5305
  * @public
5972
5306
  */
5973
5307
  BidPrice?: string | undefined;
@@ -6141,7 +5475,9 @@ export interface InstanceTypeSpecification {
6141
5475
  WeightedCapacity?: number | undefined;
6142
5476
  /**
6143
5477
  * <p>The bid price for each Amazon EC2 Spot Instance type as defined by
6144
- * <code>InstanceType</code>. Expressed in USD.</p>
5478
+ * <code>InstanceType</code>. Expressed in USD. If neither <code>BidPrice</code> nor
5479
+ * <code>BidPriceAsPercentageOfOnDemandPrice</code> is provided,
5480
+ * <code>BidPriceAsPercentageOfOnDemandPrice</code> defaults to 100%.</p>
6145
5481
  * @public
6146
5482
  */
6147
5483
  BidPrice?: string | undefined;
@@ -6567,9 +5903,10 @@ export interface InstanceGroup {
6567
5903
  */
6568
5904
  InstanceGroupType?: InstanceGroupType | undefined;
6569
5905
  /**
6570
- * <p>If specified, indicates that the instance group uses Spot Instances. This is the maximum
6571
- * price you are willing to pay for Spot Instances. Specify <code>OnDemandPrice</code> to set
6572
- * the amount equal to the On-Demand price, or specify an amount in USD.</p>
5906
+ * <p>The bid price for each Amazon EC2 Spot Instance type as defined by
5907
+ * <code>InstanceType</code>. Expressed in USD. If neither <code>BidPrice</code> nor
5908
+ * <code>BidPriceAsPercentageOfOnDemandPrice</code> is provided,
5909
+ * <code>BidPriceAsPercentageOfOnDemandPrice</code> defaults to 100%.</p>
6573
5910
  * @public
6574
5911
  */
6575
5912
  BidPrice?: string | undefined;
@@ -7112,4 +6449,9 @@ export interface RunJobFlowInput {
7112
6449
  * @public
7113
6450
  */
7114
6451
  ExtendedSupport?: boolean | undefined;
6452
+ /**
6453
+ * <p>Contains CloudWatch log configuration metadata and settings.</p>
6454
+ * @public
6455
+ */
6456
+ MonitoringConfiguration?: MonitoringConfiguration | undefined;
7115
6457
  }