@aws-sdk/client-emr 3.934.0 → 3.935.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.
- package/dist-cjs/index.js +326 -298
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +293 -0
- package/dist-es/models/errors.js +43 -0
- package/dist-es/models/models_0.js +1 -336
- package/dist-es/schemas/schemas_0.js +34 -6
- package/dist-types/commands/DescribeClusterCommand.d.ts +13 -0
- package/dist-types/commands/RunJobFlowCommand.d.ts +13 -0
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +661 -0
- package/dist-types/models/errors.d.ts +55 -0
- package/dist-types/models/models_0.d.ts +65 -723
- package/dist-types/schemas/schemas_0.d.ts +4 -1
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +376 -0
- package/dist-types/ts3.4/models/errors.d.ts +26 -0
- package/dist-types/ts3.4/models/models_0.d.ts +60 -402
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +4 -0
- package/package.json +12 -12
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
|
@@ -1,20 +1,51 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
1
|
+
import {
|
|
2
|
+
ActionOnFailure,
|
|
3
|
+
AdjustmentType,
|
|
4
|
+
AuthMode,
|
|
5
|
+
AutoScalingPolicyState,
|
|
6
|
+
AutoScalingPolicyStateChangeReasonCode,
|
|
7
|
+
CancelStepsRequestStatus,
|
|
8
|
+
ClusterState,
|
|
9
|
+
ClusterStateChangeReasonCode,
|
|
10
|
+
ComparisonOperator,
|
|
11
|
+
ComputeLimitsUnitType,
|
|
12
|
+
ExecutionEngineType,
|
|
13
|
+
IdcUserAssignment,
|
|
14
|
+
IdentityType,
|
|
15
|
+
InstanceCollectionType,
|
|
16
|
+
InstanceFleetState,
|
|
17
|
+
InstanceFleetStateChangeReasonCode,
|
|
18
|
+
InstanceFleetType,
|
|
19
|
+
InstanceGroupState,
|
|
20
|
+
InstanceGroupStateChangeReasonCode,
|
|
21
|
+
InstanceGroupType,
|
|
22
|
+
InstanceRoleType,
|
|
23
|
+
InstanceState,
|
|
24
|
+
InstanceStateChangeReasonCode,
|
|
25
|
+
JobFlowExecutionState,
|
|
26
|
+
MarketType,
|
|
27
|
+
NotebookExecutionStatus,
|
|
28
|
+
OnClusterAppUIType,
|
|
29
|
+
OnDemandCapacityReservationPreference,
|
|
30
|
+
OnDemandCapacityReservationUsageStrategy,
|
|
31
|
+
OnDemandProvisioningAllocationStrategy,
|
|
32
|
+
OutputNotebookFormat,
|
|
33
|
+
PersistentAppUIType,
|
|
34
|
+
PlacementGroupStrategy,
|
|
35
|
+
ProfilerType,
|
|
36
|
+
ReconfigurationType,
|
|
37
|
+
RepoUpgradeOnBoot,
|
|
38
|
+
ScaleDownBehavior,
|
|
39
|
+
ScalingStrategy,
|
|
40
|
+
SpotProvisioningAllocationStrategy,
|
|
41
|
+
SpotProvisioningTimeoutAction,
|
|
42
|
+
Statistic,
|
|
43
|
+
StepCancellationOption,
|
|
44
|
+
StepExecutionState,
|
|
45
|
+
StepState,
|
|
46
|
+
StepStateChangeReasonCode,
|
|
47
|
+
Unit,
|
|
48
|
+
} from "./enums";
|
|
18
49
|
export interface VolumeSpecification {
|
|
19
50
|
VolumeType: string | undefined;
|
|
20
51
|
Iops?: number | undefined;
|
|
@@ -29,23 +60,6 @@ export interface EbsConfiguration {
|
|
|
29
60
|
EbsBlockDeviceConfigs?: EbsBlockDeviceConfig[] | undefined;
|
|
30
61
|
EbsOptimized?: boolean | undefined;
|
|
31
62
|
}
|
|
32
|
-
export declare const OnDemandProvisioningAllocationStrategy: {
|
|
33
|
-
readonly LOWEST_PRICE: "lowest-price";
|
|
34
|
-
readonly PRIORITIZED: "prioritized";
|
|
35
|
-
};
|
|
36
|
-
export type OnDemandProvisioningAllocationStrategy =
|
|
37
|
-
(typeof OnDemandProvisioningAllocationStrategy)[keyof typeof OnDemandProvisioningAllocationStrategy];
|
|
38
|
-
export declare const OnDemandCapacityReservationPreference: {
|
|
39
|
-
readonly NONE: "none";
|
|
40
|
-
readonly OPEN: "open";
|
|
41
|
-
};
|
|
42
|
-
export type OnDemandCapacityReservationPreference =
|
|
43
|
-
(typeof OnDemandCapacityReservationPreference)[keyof typeof OnDemandCapacityReservationPreference];
|
|
44
|
-
export declare const OnDemandCapacityReservationUsageStrategy: {
|
|
45
|
-
readonly USE_CAPACITY_RESERVATIONS_FIRST: "use-capacity-reservations-first";
|
|
46
|
-
};
|
|
47
|
-
export type OnDemandCapacityReservationUsageStrategy =
|
|
48
|
-
(typeof OnDemandCapacityReservationUsageStrategy)[keyof typeof OnDemandCapacityReservationUsageStrategy];
|
|
49
63
|
export interface OnDemandCapacityReservationOptions {
|
|
50
64
|
UsageStrategy?: OnDemandCapacityReservationUsageStrategy | undefined;
|
|
51
65
|
CapacityReservationPreference?:
|
|
@@ -57,21 +71,6 @@ export interface OnDemandProvisioningSpecification {
|
|
|
57
71
|
AllocationStrategy: OnDemandProvisioningAllocationStrategy | undefined;
|
|
58
72
|
CapacityReservationOptions?: OnDemandCapacityReservationOptions | undefined;
|
|
59
73
|
}
|
|
60
|
-
export declare const SpotProvisioningAllocationStrategy: {
|
|
61
|
-
readonly CAPACITY_OPTIMIZED: "capacity-optimized";
|
|
62
|
-
readonly CAPACITY_OPTIMIZED_PRIORITIZED: "capacity-optimized-prioritized";
|
|
63
|
-
readonly DIVERSIFIED: "diversified";
|
|
64
|
-
readonly LOWEST_PRICE: "lowest-price";
|
|
65
|
-
readonly PRICE_CAPACITY_OPTIMIZED: "price-capacity-optimized";
|
|
66
|
-
};
|
|
67
|
-
export type SpotProvisioningAllocationStrategy =
|
|
68
|
-
(typeof SpotProvisioningAllocationStrategy)[keyof typeof SpotProvisioningAllocationStrategy];
|
|
69
|
-
export declare const SpotProvisioningTimeoutAction: {
|
|
70
|
-
readonly SWITCH_TO_ON_DEMAND: "SWITCH_TO_ON_DEMAND";
|
|
71
|
-
readonly TERMINATE_CLUSTER: "TERMINATE_CLUSTER";
|
|
72
|
-
};
|
|
73
|
-
export type SpotProvisioningTimeoutAction =
|
|
74
|
-
(typeof SpotProvisioningTimeoutAction)[keyof typeof SpotProvisioningTimeoutAction];
|
|
75
74
|
export interface SpotProvisioningSpecification {
|
|
76
75
|
TimeoutDurationMinutes: number | undefined;
|
|
77
76
|
TimeoutAction: SpotProvisioningTimeoutAction | undefined;
|
|
@@ -100,39 +99,10 @@ export interface AddInstanceFleetOutput {
|
|
|
100
99
|
InstanceFleetId?: string | undefined;
|
|
101
100
|
ClusterArn?: string | undefined;
|
|
102
101
|
}
|
|
103
|
-
export declare class InternalServerException extends __BaseException {
|
|
104
|
-
readonly name: "InternalServerException";
|
|
105
|
-
readonly $fault: "server";
|
|
106
|
-
Message?: string | undefined;
|
|
107
|
-
constructor(
|
|
108
|
-
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
109
|
-
);
|
|
110
|
-
}
|
|
111
|
-
export declare class InvalidRequestException extends __BaseException {
|
|
112
|
-
readonly name: "InvalidRequestException";
|
|
113
|
-
readonly $fault: "client";
|
|
114
|
-
ErrorCode?: string | undefined;
|
|
115
|
-
Message?: string | undefined;
|
|
116
|
-
constructor(
|
|
117
|
-
opts: __ExceptionOptionType<InvalidRequestException, __BaseException>
|
|
118
|
-
);
|
|
119
|
-
}
|
|
120
102
|
export interface ScalingConstraints {
|
|
121
103
|
MinCapacity: number | undefined;
|
|
122
104
|
MaxCapacity: number | undefined;
|
|
123
105
|
}
|
|
124
|
-
export declare const MarketType: {
|
|
125
|
-
readonly ON_DEMAND: "ON_DEMAND";
|
|
126
|
-
readonly SPOT: "SPOT";
|
|
127
|
-
};
|
|
128
|
-
export type MarketType = (typeof MarketType)[keyof typeof MarketType];
|
|
129
|
-
export declare const AdjustmentType: {
|
|
130
|
-
readonly CHANGE_IN_CAPACITY: "CHANGE_IN_CAPACITY";
|
|
131
|
-
readonly EXACT_CAPACITY: "EXACT_CAPACITY";
|
|
132
|
-
readonly PERCENT_CHANGE_IN_CAPACITY: "PERCENT_CHANGE_IN_CAPACITY";
|
|
133
|
-
};
|
|
134
|
-
export type AdjustmentType =
|
|
135
|
-
(typeof AdjustmentType)[keyof typeof AdjustmentType];
|
|
136
106
|
export interface SimpleScalingPolicyConfiguration {
|
|
137
107
|
AdjustmentType?: AdjustmentType | undefined;
|
|
138
108
|
ScalingAdjustment: number | undefined;
|
|
@@ -144,56 +114,10 @@ export interface ScalingAction {
|
|
|
144
114
|
| SimpleScalingPolicyConfiguration
|
|
145
115
|
| undefined;
|
|
146
116
|
}
|
|
147
|
-
export declare const ComparisonOperator: {
|
|
148
|
-
readonly GREATER_THAN: "GREATER_THAN";
|
|
149
|
-
readonly GREATER_THAN_OR_EQUAL: "GREATER_THAN_OR_EQUAL";
|
|
150
|
-
readonly LESS_THAN: "LESS_THAN";
|
|
151
|
-
readonly LESS_THAN_OR_EQUAL: "LESS_THAN_OR_EQUAL";
|
|
152
|
-
};
|
|
153
|
-
export type ComparisonOperator =
|
|
154
|
-
(typeof ComparisonOperator)[keyof typeof ComparisonOperator];
|
|
155
117
|
export interface MetricDimension {
|
|
156
118
|
Key?: string | undefined;
|
|
157
119
|
Value?: string | undefined;
|
|
158
120
|
}
|
|
159
|
-
export declare const Statistic: {
|
|
160
|
-
readonly AVERAGE: "AVERAGE";
|
|
161
|
-
readonly MAXIMUM: "MAXIMUM";
|
|
162
|
-
readonly MINIMUM: "MINIMUM";
|
|
163
|
-
readonly SAMPLE_COUNT: "SAMPLE_COUNT";
|
|
164
|
-
readonly SUM: "SUM";
|
|
165
|
-
};
|
|
166
|
-
export type Statistic = (typeof Statistic)[keyof typeof Statistic];
|
|
167
|
-
export declare const Unit: {
|
|
168
|
-
readonly BITS: "BITS";
|
|
169
|
-
readonly BITS_PER_SECOND: "BITS_PER_SECOND";
|
|
170
|
-
readonly BYTES: "BYTES";
|
|
171
|
-
readonly BYTES_PER_SECOND: "BYTES_PER_SECOND";
|
|
172
|
-
readonly COUNT: "COUNT";
|
|
173
|
-
readonly COUNT_PER_SECOND: "COUNT_PER_SECOND";
|
|
174
|
-
readonly GIGA_BITS: "GIGA_BITS";
|
|
175
|
-
readonly GIGA_BITS_PER_SECOND: "GIGA_BITS_PER_SECOND";
|
|
176
|
-
readonly GIGA_BYTES: "GIGA_BYTES";
|
|
177
|
-
readonly GIGA_BYTES_PER_SECOND: "GIGA_BYTES_PER_SECOND";
|
|
178
|
-
readonly KILO_BITS: "KILO_BITS";
|
|
179
|
-
readonly KILO_BITS_PER_SECOND: "KILO_BITS_PER_SECOND";
|
|
180
|
-
readonly KILO_BYTES: "KILO_BYTES";
|
|
181
|
-
readonly KILO_BYTES_PER_SECOND: "KILO_BYTES_PER_SECOND";
|
|
182
|
-
readonly MEGA_BITS: "MEGA_BITS";
|
|
183
|
-
readonly MEGA_BITS_PER_SECOND: "MEGA_BITS_PER_SECOND";
|
|
184
|
-
readonly MEGA_BYTES: "MEGA_BYTES";
|
|
185
|
-
readonly MEGA_BYTES_PER_SECOND: "MEGA_BYTES_PER_SECOND";
|
|
186
|
-
readonly MICRO_SECONDS: "MICRO_SECONDS";
|
|
187
|
-
readonly MILLI_SECONDS: "MILLI_SECONDS";
|
|
188
|
-
readonly NONE: "NONE";
|
|
189
|
-
readonly PERCENT: "PERCENT";
|
|
190
|
-
readonly SECONDS: "SECONDS";
|
|
191
|
-
readonly TERA_BITS: "TERA_BITS";
|
|
192
|
-
readonly TERA_BITS_PER_SECOND: "TERA_BITS_PER_SECOND";
|
|
193
|
-
readonly TERA_BYTES: "TERA_BYTES";
|
|
194
|
-
readonly TERA_BYTES_PER_SECOND: "TERA_BYTES_PER_SECOND";
|
|
195
|
-
};
|
|
196
|
-
export type Unit = (typeof Unit)[keyof typeof Unit];
|
|
197
121
|
export interface CloudWatchAlarmDefinition {
|
|
198
122
|
ComparisonOperator: ComparisonOperator | undefined;
|
|
199
123
|
EvaluationPeriods?: number | undefined;
|
|
@@ -218,25 +142,11 @@ export interface AutoScalingPolicy {
|
|
|
218
142
|
Constraints: ScalingConstraints | undefined;
|
|
219
143
|
Rules: ScalingRule[] | undefined;
|
|
220
144
|
}
|
|
221
|
-
export declare const InstanceRoleType: {
|
|
222
|
-
readonly CORE: "CORE";
|
|
223
|
-
readonly MASTER: "MASTER";
|
|
224
|
-
readonly TASK: "TASK";
|
|
225
|
-
};
|
|
226
|
-
export type InstanceRoleType =
|
|
227
|
-
(typeof InstanceRoleType)[keyof typeof InstanceRoleType];
|
|
228
145
|
export interface AddInstanceGroupsOutput {
|
|
229
146
|
JobFlowId?: string | undefined;
|
|
230
147
|
InstanceGroupIds?: string[] | undefined;
|
|
231
148
|
ClusterArn?: string | undefined;
|
|
232
149
|
}
|
|
233
|
-
export declare class InternalServerError extends __BaseException {
|
|
234
|
-
readonly name: "InternalServerError";
|
|
235
|
-
readonly $fault: "server";
|
|
236
|
-
constructor(
|
|
237
|
-
opts: __ExceptionOptionType<InternalServerError, __BaseException>
|
|
238
|
-
);
|
|
239
|
-
}
|
|
240
150
|
export interface KeyValue {
|
|
241
151
|
Key?: string | undefined;
|
|
242
152
|
Value?: string | undefined;
|
|
@@ -275,28 +185,6 @@ export interface Application {
|
|
|
275
185
|
Args?: string[] | undefined;
|
|
276
186
|
AdditionalInfo?: Record<string, string> | undefined;
|
|
277
187
|
}
|
|
278
|
-
export declare const AuthMode: {
|
|
279
|
-
readonly IAM: "IAM";
|
|
280
|
-
readonly SSO: "SSO";
|
|
281
|
-
};
|
|
282
|
-
export type AuthMode = (typeof AuthMode)[keyof typeof AuthMode];
|
|
283
|
-
export declare const AutoScalingPolicyState: {
|
|
284
|
-
readonly ATTACHED: "ATTACHED";
|
|
285
|
-
readonly ATTACHING: "ATTACHING";
|
|
286
|
-
readonly DETACHED: "DETACHED";
|
|
287
|
-
readonly DETACHING: "DETACHING";
|
|
288
|
-
readonly FAILED: "FAILED";
|
|
289
|
-
readonly PENDING: "PENDING";
|
|
290
|
-
};
|
|
291
|
-
export type AutoScalingPolicyState =
|
|
292
|
-
(typeof AutoScalingPolicyState)[keyof typeof AutoScalingPolicyState];
|
|
293
|
-
export declare const AutoScalingPolicyStateChangeReasonCode: {
|
|
294
|
-
readonly CLEANUP_FAILURE: "CLEANUP_FAILURE";
|
|
295
|
-
readonly PROVISION_FAILURE: "PROVISION_FAILURE";
|
|
296
|
-
readonly USER_REQUEST: "USER_REQUEST";
|
|
297
|
-
};
|
|
298
|
-
export type AutoScalingPolicyStateChangeReasonCode =
|
|
299
|
-
(typeof AutoScalingPolicyStateChangeReasonCode)[keyof typeof AutoScalingPolicyStateChangeReasonCode];
|
|
300
188
|
export interface AutoScalingPolicyStateChangeReason {
|
|
301
189
|
Code?: AutoScalingPolicyStateChangeReasonCode | undefined;
|
|
302
190
|
Message?: string | undefined;
|
|
@@ -332,23 +220,11 @@ export interface BootstrapActionConfig {
|
|
|
332
220
|
export interface BootstrapActionDetail {
|
|
333
221
|
BootstrapActionConfig?: BootstrapActionConfig | undefined;
|
|
334
222
|
}
|
|
335
|
-
export declare const StepCancellationOption: {
|
|
336
|
-
readonly SEND_INTERRUPT: "SEND_INTERRUPT";
|
|
337
|
-
readonly TERMINATE_PROCESS: "TERMINATE_PROCESS";
|
|
338
|
-
};
|
|
339
|
-
export type StepCancellationOption =
|
|
340
|
-
(typeof StepCancellationOption)[keyof typeof StepCancellationOption];
|
|
341
223
|
export interface CancelStepsInput {
|
|
342
224
|
ClusterId: string | undefined;
|
|
343
225
|
StepIds: string[] | undefined;
|
|
344
226
|
StepCancellationOption?: StepCancellationOption | undefined;
|
|
345
227
|
}
|
|
346
|
-
export declare const CancelStepsRequestStatus: {
|
|
347
|
-
readonly FAILED: "FAILED";
|
|
348
|
-
readonly SUBMITTED: "SUBMITTED";
|
|
349
|
-
};
|
|
350
|
-
export type CancelStepsRequestStatus =
|
|
351
|
-
(typeof CancelStepsRequestStatus)[keyof typeof CancelStepsRequestStatus];
|
|
352
228
|
export interface CancelStepsInfo {
|
|
353
229
|
StepId?: string | undefined;
|
|
354
230
|
Status?: CancelStepsRequestStatus | undefined;
|
|
@@ -357,6 +233,13 @@ export interface CancelStepsInfo {
|
|
|
357
233
|
export interface CancelStepsOutput {
|
|
358
234
|
CancelStepsInfoList?: CancelStepsInfo[] | undefined;
|
|
359
235
|
}
|
|
236
|
+
export interface CloudWatchLogConfiguration {
|
|
237
|
+
Enabled: boolean | undefined;
|
|
238
|
+
LogGroupName?: string | undefined;
|
|
239
|
+
LogStreamNamePrefix?: string | undefined;
|
|
240
|
+
EncryptionKeyArn?: string | undefined;
|
|
241
|
+
LogTypes?: Record<string, string[]> | undefined;
|
|
242
|
+
}
|
|
360
243
|
export interface Ec2InstanceAttributes {
|
|
361
244
|
Ec2KeyName?: string | undefined;
|
|
362
245
|
Ec2SubnetId?: string | undefined;
|
|
@@ -370,12 +253,6 @@ export interface Ec2InstanceAttributes {
|
|
|
370
253
|
AdditionalMasterSecurityGroups?: string[] | undefined;
|
|
371
254
|
AdditionalSlaveSecurityGroups?: string[] | undefined;
|
|
372
255
|
}
|
|
373
|
-
export declare const InstanceCollectionType: {
|
|
374
|
-
readonly INSTANCE_FLEET: "INSTANCE_FLEET";
|
|
375
|
-
readonly INSTANCE_GROUP: "INSTANCE_GROUP";
|
|
376
|
-
};
|
|
377
|
-
export type InstanceCollectionType =
|
|
378
|
-
(typeof InstanceCollectionType)[keyof typeof InstanceCollectionType];
|
|
379
256
|
export interface KerberosAttributes {
|
|
380
257
|
Realm: string | undefined;
|
|
381
258
|
KdcAdminPassword: string | undefined;
|
|
@@ -383,57 +260,18 @@ export interface KerberosAttributes {
|
|
|
383
260
|
ADDomainJoinUser?: string | undefined;
|
|
384
261
|
ADDomainJoinPassword?: string | undefined;
|
|
385
262
|
}
|
|
386
|
-
export
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
readonly PARTITION: "PARTITION";
|
|
390
|
-
readonly SPREAD: "SPREAD";
|
|
391
|
-
};
|
|
392
|
-
export type PlacementGroupStrategy =
|
|
393
|
-
(typeof PlacementGroupStrategy)[keyof typeof PlacementGroupStrategy];
|
|
263
|
+
export interface MonitoringConfiguration {
|
|
264
|
+
CloudWatchLogConfiguration?: CloudWatchLogConfiguration | undefined;
|
|
265
|
+
}
|
|
394
266
|
export interface PlacementGroupConfig {
|
|
395
267
|
InstanceRole: InstanceRoleType | undefined;
|
|
396
268
|
PlacementStrategy?: PlacementGroupStrategy | undefined;
|
|
397
269
|
}
|
|
398
|
-
export declare const RepoUpgradeOnBoot: {
|
|
399
|
-
readonly NONE: "NONE";
|
|
400
|
-
readonly SECURITY: "SECURITY";
|
|
401
|
-
};
|
|
402
|
-
export type RepoUpgradeOnBoot =
|
|
403
|
-
(typeof RepoUpgradeOnBoot)[keyof typeof RepoUpgradeOnBoot];
|
|
404
|
-
export declare const ScaleDownBehavior: {
|
|
405
|
-
readonly TERMINATE_AT_INSTANCE_HOUR: "TERMINATE_AT_INSTANCE_HOUR";
|
|
406
|
-
readonly TERMINATE_AT_TASK_COMPLETION: "TERMINATE_AT_TASK_COMPLETION";
|
|
407
|
-
};
|
|
408
|
-
export type ScaleDownBehavior =
|
|
409
|
-
(typeof ScaleDownBehavior)[keyof typeof ScaleDownBehavior];
|
|
410
270
|
export interface ErrorDetail {
|
|
411
271
|
ErrorCode?: string | undefined;
|
|
412
272
|
ErrorData?: Record<string, string>[] | undefined;
|
|
413
273
|
ErrorMessage?: string | undefined;
|
|
414
274
|
}
|
|
415
|
-
export declare const ClusterState: {
|
|
416
|
-
readonly BOOTSTRAPPING: "BOOTSTRAPPING";
|
|
417
|
-
readonly RUNNING: "RUNNING";
|
|
418
|
-
readonly STARTING: "STARTING";
|
|
419
|
-
readonly TERMINATED: "TERMINATED";
|
|
420
|
-
readonly TERMINATED_WITH_ERRORS: "TERMINATED_WITH_ERRORS";
|
|
421
|
-
readonly TERMINATING: "TERMINATING";
|
|
422
|
-
readonly WAITING: "WAITING";
|
|
423
|
-
};
|
|
424
|
-
export type ClusterState = (typeof ClusterState)[keyof typeof ClusterState];
|
|
425
|
-
export declare const ClusterStateChangeReasonCode: {
|
|
426
|
-
readonly ALL_STEPS_COMPLETED: "ALL_STEPS_COMPLETED";
|
|
427
|
-
readonly BOOTSTRAP_FAILURE: "BOOTSTRAP_FAILURE";
|
|
428
|
-
readonly INSTANCE_FAILURE: "INSTANCE_FAILURE";
|
|
429
|
-
readonly INSTANCE_FLEET_TIMEOUT: "INSTANCE_FLEET_TIMEOUT";
|
|
430
|
-
readonly INTERNAL_ERROR: "INTERNAL_ERROR";
|
|
431
|
-
readonly STEP_FAILURE: "STEP_FAILURE";
|
|
432
|
-
readonly USER_REQUEST: "USER_REQUEST";
|
|
433
|
-
readonly VALIDATION_ERROR: "VALIDATION_ERROR";
|
|
434
|
-
};
|
|
435
|
-
export type ClusterStateChangeReasonCode =
|
|
436
|
-
(typeof ClusterStateChangeReasonCode)[keyof typeof ClusterStateChangeReasonCode];
|
|
437
275
|
export interface ClusterStateChangeReason {
|
|
438
276
|
Code?: ClusterStateChangeReasonCode | undefined;
|
|
439
277
|
Message?: string | undefined;
|
|
@@ -462,13 +300,6 @@ export interface Command {
|
|
|
462
300
|
ScriptPath?: string | undefined;
|
|
463
301
|
Args?: string[] | undefined;
|
|
464
302
|
}
|
|
465
|
-
export declare const ComputeLimitsUnitType: {
|
|
466
|
-
readonly InstanceFleetUnits: "InstanceFleetUnits";
|
|
467
|
-
readonly Instances: "Instances";
|
|
468
|
-
readonly VCPU: "VCPU";
|
|
469
|
-
};
|
|
470
|
-
export type ComputeLimitsUnitType =
|
|
471
|
-
(typeof ComputeLimitsUnitType)[keyof typeof ComputeLimitsUnitType];
|
|
472
303
|
export interface ComputeLimits {
|
|
473
304
|
UnitType: ComputeLimitsUnitType | undefined;
|
|
474
305
|
MinimumCapacityUnits: number | undefined;
|
|
@@ -479,12 +310,6 @@ export interface ComputeLimits {
|
|
|
479
310
|
export interface EMRContainersConfig {
|
|
480
311
|
JobRunId?: string | undefined;
|
|
481
312
|
}
|
|
482
|
-
export declare const ProfilerType: {
|
|
483
|
-
readonly SHS: "SHS";
|
|
484
|
-
readonly TEZUI: "TEZUI";
|
|
485
|
-
readonly YTS: "YTS";
|
|
486
|
-
};
|
|
487
|
-
export type ProfilerType = (typeof ProfilerType)[keyof typeof ProfilerType];
|
|
488
313
|
export interface CreatePersistentAppUIInput {
|
|
489
314
|
TargetResourceArn: string | undefined;
|
|
490
315
|
EMRContainersConfig?: EMRContainersConfig | undefined;
|
|
@@ -504,12 +329,6 @@ export interface CreateSecurityConfigurationOutput {
|
|
|
504
329
|
Name: string | undefined;
|
|
505
330
|
CreationDateTime: Date | undefined;
|
|
506
331
|
}
|
|
507
|
-
export declare const IdcUserAssignment: {
|
|
508
|
-
readonly OPTIONAL: "OPTIONAL";
|
|
509
|
-
readonly REQUIRED: "REQUIRED";
|
|
510
|
-
};
|
|
511
|
-
export type IdcUserAssignment =
|
|
512
|
-
(typeof IdcUserAssignment)[keyof typeof IdcUserAssignment];
|
|
513
332
|
export interface CreateStudioInput {
|
|
514
333
|
Name: string | undefined;
|
|
515
334
|
Description?: string | undefined;
|
|
@@ -533,11 +352,6 @@ export interface CreateStudioOutput {
|
|
|
533
352
|
StudioId?: string | undefined;
|
|
534
353
|
Url?: string | undefined;
|
|
535
354
|
}
|
|
536
|
-
export declare const IdentityType: {
|
|
537
|
-
readonly GROUP: "GROUP";
|
|
538
|
-
readonly USER: "USER";
|
|
539
|
-
};
|
|
540
|
-
export type IdentityType = (typeof IdentityType)[keyof typeof IdentityType];
|
|
541
355
|
export interface CreateStudioSessionMappingInput {
|
|
542
356
|
StudioId: string | undefined;
|
|
543
357
|
IdentityId?: string | undefined;
|
|
@@ -582,18 +396,6 @@ export interface DeleteStudioSessionMappingInput {
|
|
|
582
396
|
export interface DescribeClusterInput {
|
|
583
397
|
ClusterId: string | undefined;
|
|
584
398
|
}
|
|
585
|
-
export declare const JobFlowExecutionState: {
|
|
586
|
-
readonly BOOTSTRAPPING: "BOOTSTRAPPING";
|
|
587
|
-
readonly COMPLETED: "COMPLETED";
|
|
588
|
-
readonly FAILED: "FAILED";
|
|
589
|
-
readonly RUNNING: "RUNNING";
|
|
590
|
-
readonly SHUTTING_DOWN: "SHUTTING_DOWN";
|
|
591
|
-
readonly STARTING: "STARTING";
|
|
592
|
-
readonly TERMINATED: "TERMINATED";
|
|
593
|
-
readonly WAITING: "WAITING";
|
|
594
|
-
};
|
|
595
|
-
export type JobFlowExecutionState =
|
|
596
|
-
(typeof JobFlowExecutionState)[keyof typeof JobFlowExecutionState];
|
|
597
399
|
export interface DescribeJobFlowsInput {
|
|
598
400
|
CreatedAfter?: Date | undefined;
|
|
599
401
|
CreatedBefore?: Date | undefined;
|
|
@@ -608,21 +410,6 @@ export interface JobFlowExecutionStatusDetail {
|
|
|
608
410
|
EndDateTime?: Date | undefined;
|
|
609
411
|
LastStateChangeReason?: string | undefined;
|
|
610
412
|
}
|
|
611
|
-
export declare const InstanceGroupState: {
|
|
612
|
-
readonly ARRESTED: "ARRESTED";
|
|
613
|
-
readonly BOOTSTRAPPING: "BOOTSTRAPPING";
|
|
614
|
-
readonly ENDED: "ENDED";
|
|
615
|
-
readonly PROVISIONING: "PROVISIONING";
|
|
616
|
-
readonly RECONFIGURING: "RECONFIGURING";
|
|
617
|
-
readonly RESIZING: "RESIZING";
|
|
618
|
-
readonly RUNNING: "RUNNING";
|
|
619
|
-
readonly SHUTTING_DOWN: "SHUTTING_DOWN";
|
|
620
|
-
readonly SUSPENDED: "SUSPENDED";
|
|
621
|
-
readonly TERMINATED: "TERMINATED";
|
|
622
|
-
readonly TERMINATING: "TERMINATING";
|
|
623
|
-
};
|
|
624
|
-
export type InstanceGroupState =
|
|
625
|
-
(typeof InstanceGroupState)[keyof typeof InstanceGroupState];
|
|
626
413
|
export interface InstanceGroupDetail {
|
|
627
414
|
InstanceGroupId?: string | undefined;
|
|
628
415
|
Name?: string | undefined;
|
|
@@ -660,17 +447,6 @@ export interface JobFlowInstancesDetail {
|
|
|
660
447
|
UnhealthyNodeReplacement?: boolean | undefined;
|
|
661
448
|
HadoopVersion?: string | undefined;
|
|
662
449
|
}
|
|
663
|
-
export declare const StepExecutionState: {
|
|
664
|
-
readonly CANCELLED: "CANCELLED";
|
|
665
|
-
readonly COMPLETED: "COMPLETED";
|
|
666
|
-
readonly CONTINUE: "CONTINUE";
|
|
667
|
-
readonly FAILED: "FAILED";
|
|
668
|
-
readonly INTERRUPTED: "INTERRUPTED";
|
|
669
|
-
readonly PENDING: "PENDING";
|
|
670
|
-
readonly RUNNING: "RUNNING";
|
|
671
|
-
};
|
|
672
|
-
export type StepExecutionState =
|
|
673
|
-
(typeof StepExecutionState)[keyof typeof StepExecutionState];
|
|
674
450
|
export interface StepExecutionStatusDetail {
|
|
675
451
|
State: StepExecutionState | undefined;
|
|
676
452
|
CreationDateTime: Date | undefined;
|
|
@@ -705,11 +481,6 @@ export interface DescribeJobFlowsOutput {
|
|
|
705
481
|
export interface DescribeNotebookExecutionInput {
|
|
706
482
|
NotebookExecutionId: string | undefined;
|
|
707
483
|
}
|
|
708
|
-
export declare const ExecutionEngineType: {
|
|
709
|
-
readonly EMR: "EMR";
|
|
710
|
-
};
|
|
711
|
-
export type ExecutionEngineType =
|
|
712
|
-
(typeof ExecutionEngineType)[keyof typeof ExecutionEngineType];
|
|
713
484
|
export interface ExecutionEngineConfig {
|
|
714
485
|
Id: string | undefined;
|
|
715
486
|
Type?: ExecutionEngineType | undefined;
|
|
@@ -720,29 +491,10 @@ export interface NotebookS3LocationForOutput {
|
|
|
720
491
|
Bucket?: string | undefined;
|
|
721
492
|
Key?: string | undefined;
|
|
722
493
|
}
|
|
723
|
-
export declare const OutputNotebookFormat: {
|
|
724
|
-
readonly HTML: "HTML";
|
|
725
|
-
};
|
|
726
|
-
export type OutputNotebookFormat =
|
|
727
|
-
(typeof OutputNotebookFormat)[keyof typeof OutputNotebookFormat];
|
|
728
494
|
export interface OutputNotebookS3LocationForOutput {
|
|
729
495
|
Bucket?: string | undefined;
|
|
730
496
|
Key?: string | undefined;
|
|
731
497
|
}
|
|
732
|
-
export declare const NotebookExecutionStatus: {
|
|
733
|
-
readonly FAILED: "FAILED";
|
|
734
|
-
readonly FAILING: "FAILING";
|
|
735
|
-
readonly FINISHED: "FINISHED";
|
|
736
|
-
readonly FINISHING: "FINISHING";
|
|
737
|
-
readonly RUNNING: "RUNNING";
|
|
738
|
-
readonly STARTING: "STARTING";
|
|
739
|
-
readonly START_PENDING: "START_PENDING";
|
|
740
|
-
readonly STOPPED: "STOPPED";
|
|
741
|
-
readonly STOPPING: "STOPPING";
|
|
742
|
-
readonly STOP_PENDING: "STOP_PENDING";
|
|
743
|
-
};
|
|
744
|
-
export type NotebookExecutionStatus =
|
|
745
|
-
(typeof NotebookExecutionStatus)[keyof typeof NotebookExecutionStatus];
|
|
746
498
|
export interface NotebookExecution {
|
|
747
499
|
NotebookExecutionId?: string | undefined;
|
|
748
500
|
EditorId?: string | undefined;
|
|
@@ -768,13 +520,6 @@ export interface DescribeNotebookExecutionOutput {
|
|
|
768
520
|
export interface DescribePersistentAppUIInput {
|
|
769
521
|
PersistentAppUIId: string | undefined;
|
|
770
522
|
}
|
|
771
|
-
export declare const PersistentAppUIType: {
|
|
772
|
-
readonly SHS: "SHS";
|
|
773
|
-
readonly TEZ: "TEZ";
|
|
774
|
-
readonly YTS: "YTS";
|
|
775
|
-
};
|
|
776
|
-
export type PersistentAppUIType =
|
|
777
|
-
(typeof PersistentAppUIType)[keyof typeof PersistentAppUIType];
|
|
778
523
|
export interface PersistentAppUI {
|
|
779
524
|
PersistentAppUIId?: string | undefined;
|
|
780
525
|
PersistentAppUITypeList?: PersistentAppUIType[] | undefined;
|
|
@@ -829,21 +574,6 @@ export interface FailureDetails {
|
|
|
829
574
|
Message?: string | undefined;
|
|
830
575
|
LogFile?: string | undefined;
|
|
831
576
|
}
|
|
832
|
-
export declare const StepState: {
|
|
833
|
-
readonly CANCELLED: "CANCELLED";
|
|
834
|
-
readonly CANCEL_PENDING: "CANCEL_PENDING";
|
|
835
|
-
readonly COMPLETED: "COMPLETED";
|
|
836
|
-
readonly FAILED: "FAILED";
|
|
837
|
-
readonly INTERRUPTED: "INTERRUPTED";
|
|
838
|
-
readonly PENDING: "PENDING";
|
|
839
|
-
readonly RUNNING: "RUNNING";
|
|
840
|
-
};
|
|
841
|
-
export type StepState = (typeof StepState)[keyof typeof StepState];
|
|
842
|
-
export declare const StepStateChangeReasonCode: {
|
|
843
|
-
readonly NONE: "NONE";
|
|
844
|
-
};
|
|
845
|
-
export type StepStateChangeReasonCode =
|
|
846
|
-
(typeof StepStateChangeReasonCode)[keyof typeof StepStateChangeReasonCode];
|
|
847
577
|
export interface StepStateChangeReason {
|
|
848
578
|
Code?: StepStateChangeReasonCode | undefined;
|
|
849
579
|
Message?: string | undefined;
|
|
@@ -925,12 +655,6 @@ export interface GetClusterSessionCredentialsOutput {
|
|
|
925
655
|
export interface GetManagedScalingPolicyInput {
|
|
926
656
|
ClusterId: string | undefined;
|
|
927
657
|
}
|
|
928
|
-
export declare const ScalingStrategy: {
|
|
929
|
-
readonly ADVANCED: "ADVANCED";
|
|
930
|
-
readonly DEFAULT: "DEFAULT";
|
|
931
|
-
};
|
|
932
|
-
export type ScalingStrategy =
|
|
933
|
-
(typeof ScalingStrategy)[keyof typeof ScalingStrategy];
|
|
934
658
|
export interface ManagedScalingPolicy {
|
|
935
659
|
ComputeLimits?: ComputeLimits | undefined;
|
|
936
660
|
UtilizationPerformanceIndex?: number | undefined;
|
|
@@ -939,16 +663,6 @@ export interface ManagedScalingPolicy {
|
|
|
939
663
|
export interface GetManagedScalingPolicyOutput {
|
|
940
664
|
ManagedScalingPolicy?: ManagedScalingPolicy | undefined;
|
|
941
665
|
}
|
|
942
|
-
export declare const OnClusterAppUIType: {
|
|
943
|
-
readonly ApplicationMaster: "ApplicationMaster";
|
|
944
|
-
readonly JobHistoryServer: "JobHistoryServer";
|
|
945
|
-
readonly ResourceManager: "ResourceManager";
|
|
946
|
-
readonly SparkHistoryServer: "SparkHistoryServer";
|
|
947
|
-
readonly TezUI: "TezUI";
|
|
948
|
-
readonly YarnTimelineService: "YarnTimelineService";
|
|
949
|
-
};
|
|
950
|
-
export type OnClusterAppUIType =
|
|
951
|
-
(typeof OnClusterAppUIType)[keyof typeof OnClusterAppUIType];
|
|
952
666
|
export interface GetOnClusterAppUIPresignedURLInput {
|
|
953
667
|
ClusterId: string | undefined;
|
|
954
668
|
OnClusterAppUIType?: OnClusterAppUIType | undefined;
|
|
@@ -1011,26 +725,6 @@ export interface ListInstanceFleetsInput {
|
|
|
1011
725
|
ClusterId: string | undefined;
|
|
1012
726
|
Marker?: string | undefined;
|
|
1013
727
|
}
|
|
1014
|
-
export declare const InstanceFleetState: {
|
|
1015
|
-
readonly BOOTSTRAPPING: "BOOTSTRAPPING";
|
|
1016
|
-
readonly PROVISIONING: "PROVISIONING";
|
|
1017
|
-
readonly RECONFIGURING: "RECONFIGURING";
|
|
1018
|
-
readonly RESIZING: "RESIZING";
|
|
1019
|
-
readonly RUNNING: "RUNNING";
|
|
1020
|
-
readonly SUSPENDED: "SUSPENDED";
|
|
1021
|
-
readonly TERMINATED: "TERMINATED";
|
|
1022
|
-
readonly TERMINATING: "TERMINATING";
|
|
1023
|
-
};
|
|
1024
|
-
export type InstanceFleetState =
|
|
1025
|
-
(typeof InstanceFleetState)[keyof typeof InstanceFleetState];
|
|
1026
|
-
export declare const InstanceFleetStateChangeReasonCode: {
|
|
1027
|
-
readonly CLUSTER_TERMINATED: "CLUSTER_TERMINATED";
|
|
1028
|
-
readonly INSTANCE_FAILURE: "INSTANCE_FAILURE";
|
|
1029
|
-
readonly INTERNAL_ERROR: "INTERNAL_ERROR";
|
|
1030
|
-
readonly VALIDATION_ERROR: "VALIDATION_ERROR";
|
|
1031
|
-
};
|
|
1032
|
-
export type InstanceFleetStateChangeReasonCode =
|
|
1033
|
-
(typeof InstanceFleetStateChangeReasonCode)[keyof typeof InstanceFleetStateChangeReasonCode];
|
|
1034
728
|
export interface InstanceFleetStateChangeReason {
|
|
1035
729
|
Code?: InstanceFleetStateChangeReasonCode | undefined;
|
|
1036
730
|
Message?: string | undefined;
|
|
@@ -1049,13 +743,6 @@ export interface ListInstanceGroupsInput {
|
|
|
1049
743
|
ClusterId: string | undefined;
|
|
1050
744
|
Marker?: string | undefined;
|
|
1051
745
|
}
|
|
1052
|
-
export declare const InstanceGroupType: {
|
|
1053
|
-
readonly CORE: "CORE";
|
|
1054
|
-
readonly MASTER: "MASTER";
|
|
1055
|
-
readonly TASK: "TASK";
|
|
1056
|
-
};
|
|
1057
|
-
export type InstanceGroupType =
|
|
1058
|
-
(typeof InstanceGroupType)[keyof typeof InstanceGroupType];
|
|
1059
746
|
export interface InstanceResizePolicy {
|
|
1060
747
|
InstancesToTerminate?: string[] | undefined;
|
|
1061
748
|
InstancesToProtect?: string[] | undefined;
|
|
@@ -1065,14 +752,6 @@ export interface ShrinkPolicy {
|
|
|
1065
752
|
DecommissionTimeout?: number | undefined;
|
|
1066
753
|
InstanceResizePolicy?: InstanceResizePolicy | undefined;
|
|
1067
754
|
}
|
|
1068
|
-
export declare const InstanceGroupStateChangeReasonCode: {
|
|
1069
|
-
readonly CLUSTER_TERMINATED: "CLUSTER_TERMINATED";
|
|
1070
|
-
readonly INSTANCE_FAILURE: "INSTANCE_FAILURE";
|
|
1071
|
-
readonly INTERNAL_ERROR: "INTERNAL_ERROR";
|
|
1072
|
-
readonly VALIDATION_ERROR: "VALIDATION_ERROR";
|
|
1073
|
-
};
|
|
1074
|
-
export type InstanceGroupStateChangeReasonCode =
|
|
1075
|
-
(typeof InstanceGroupStateChangeReasonCode)[keyof typeof InstanceGroupStateChangeReasonCode];
|
|
1076
755
|
export interface InstanceGroupStateChangeReason {
|
|
1077
756
|
Code?: InstanceGroupStateChangeReasonCode | undefined;
|
|
1078
757
|
Message?: string | undefined;
|
|
@@ -1087,14 +766,6 @@ export interface InstanceGroupStatus {
|
|
|
1087
766
|
StateChangeReason?: InstanceGroupStateChangeReason | undefined;
|
|
1088
767
|
Timeline?: InstanceGroupTimeline | undefined;
|
|
1089
768
|
}
|
|
1090
|
-
export declare const InstanceState: {
|
|
1091
|
-
readonly AWAITING_FULFILLMENT: "AWAITING_FULFILLMENT";
|
|
1092
|
-
readonly BOOTSTRAPPING: "BOOTSTRAPPING";
|
|
1093
|
-
readonly PROVISIONING: "PROVISIONING";
|
|
1094
|
-
readonly RUNNING: "RUNNING";
|
|
1095
|
-
readonly TERMINATED: "TERMINATED";
|
|
1096
|
-
};
|
|
1097
|
-
export type InstanceState = (typeof InstanceState)[keyof typeof InstanceState];
|
|
1098
769
|
export interface ListInstancesInput {
|
|
1099
770
|
ClusterId: string | undefined;
|
|
1100
771
|
InstanceGroupId?: string | undefined;
|
|
@@ -1104,15 +775,6 @@ export interface ListInstancesInput {
|
|
|
1104
775
|
InstanceStates?: InstanceState[] | undefined;
|
|
1105
776
|
Marker?: string | undefined;
|
|
1106
777
|
}
|
|
1107
|
-
export declare const InstanceStateChangeReasonCode: {
|
|
1108
|
-
readonly BOOTSTRAP_FAILURE: "BOOTSTRAP_FAILURE";
|
|
1109
|
-
readonly CLUSTER_TERMINATED: "CLUSTER_TERMINATED";
|
|
1110
|
-
readonly INSTANCE_FAILURE: "INSTANCE_FAILURE";
|
|
1111
|
-
readonly INTERNAL_ERROR: "INTERNAL_ERROR";
|
|
1112
|
-
readonly VALIDATION_ERROR: "VALIDATION_ERROR";
|
|
1113
|
-
};
|
|
1114
|
-
export type InstanceStateChangeReasonCode =
|
|
1115
|
-
(typeof InstanceStateChangeReasonCode)[keyof typeof InstanceStateChangeReasonCode];
|
|
1116
778
|
export interface InstanceStateChangeReason {
|
|
1117
779
|
Code?: InstanceStateChangeReasonCode | undefined;
|
|
1118
780
|
Message?: string | undefined;
|
|
@@ -1271,12 +933,6 @@ export interface ModifyClusterOutput {
|
|
|
1271
933
|
StepConcurrencyLevel?: number | undefined;
|
|
1272
934
|
ExtendedSupport?: boolean | undefined;
|
|
1273
935
|
}
|
|
1274
|
-
export declare const ReconfigurationType: {
|
|
1275
|
-
readonly MERGE: "MERGE";
|
|
1276
|
-
readonly OVERWRITE: "OVERWRITE";
|
|
1277
|
-
};
|
|
1278
|
-
export type ReconfigurationType =
|
|
1279
|
-
(typeof ReconfigurationType)[keyof typeof ReconfigurationType];
|
|
1280
936
|
export interface PutAutoScalingPolicyInput {
|
|
1281
937
|
ClusterId: string | undefined;
|
|
1282
938
|
InstanceGroupId: string | undefined;
|
|
@@ -1435,6 +1091,7 @@ export interface Cluster {
|
|
|
1435
1091
|
EbsRootVolumeIops?: number | undefined;
|
|
1436
1092
|
EbsRootVolumeThroughput?: number | undefined;
|
|
1437
1093
|
ExtendedSupport?: boolean | undefined;
|
|
1094
|
+
MonitoringConfiguration?: MonitoringConfiguration | undefined;
|
|
1438
1095
|
}
|
|
1439
1096
|
export interface InstanceGroupConfig {
|
|
1440
1097
|
Name?: string | undefined;
|
|
@@ -1618,4 +1275,5 @@ export interface RunJobFlowInput {
|
|
|
1618
1275
|
EbsRootVolumeIops?: number | undefined;
|
|
1619
1276
|
EbsRootVolumeThroughput?: number | undefined;
|
|
1620
1277
|
ExtendedSupport?: boolean | undefined;
|
|
1278
|
+
MonitoringConfiguration?: MonitoringConfiguration | undefined;
|
|
1621
1279
|
}
|