@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
|
@@ -0,0 +1,661 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @public
|
|
3
|
+
* @enum
|
|
4
|
+
*/
|
|
5
|
+
export declare const ActionOnFailure: {
|
|
6
|
+
readonly CANCEL_AND_WAIT: "CANCEL_AND_WAIT";
|
|
7
|
+
readonly CONTINUE: "CONTINUE";
|
|
8
|
+
readonly TERMINATE_CLUSTER: "TERMINATE_CLUSTER";
|
|
9
|
+
readonly TERMINATE_JOB_FLOW: "TERMINATE_JOB_FLOW";
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* @public
|
|
13
|
+
*/
|
|
14
|
+
export type ActionOnFailure = (typeof ActionOnFailure)[keyof typeof ActionOnFailure];
|
|
15
|
+
/**
|
|
16
|
+
* @public
|
|
17
|
+
* @enum
|
|
18
|
+
*/
|
|
19
|
+
export declare const InstanceFleetType: {
|
|
20
|
+
readonly CORE: "CORE";
|
|
21
|
+
readonly MASTER: "MASTER";
|
|
22
|
+
readonly TASK: "TASK";
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
*/
|
|
27
|
+
export type InstanceFleetType = (typeof InstanceFleetType)[keyof typeof InstanceFleetType];
|
|
28
|
+
/**
|
|
29
|
+
* @public
|
|
30
|
+
* @enum
|
|
31
|
+
*/
|
|
32
|
+
export declare const OnDemandProvisioningAllocationStrategy: {
|
|
33
|
+
readonly LOWEST_PRICE: "lowest-price";
|
|
34
|
+
readonly PRIORITIZED: "prioritized";
|
|
35
|
+
};
|
|
36
|
+
/**
|
|
37
|
+
* @public
|
|
38
|
+
*/
|
|
39
|
+
export type OnDemandProvisioningAllocationStrategy = (typeof OnDemandProvisioningAllocationStrategy)[keyof typeof OnDemandProvisioningAllocationStrategy];
|
|
40
|
+
/**
|
|
41
|
+
* @public
|
|
42
|
+
* @enum
|
|
43
|
+
*/
|
|
44
|
+
export declare const OnDemandCapacityReservationPreference: {
|
|
45
|
+
readonly NONE: "none";
|
|
46
|
+
readonly OPEN: "open";
|
|
47
|
+
};
|
|
48
|
+
/**
|
|
49
|
+
* @public
|
|
50
|
+
*/
|
|
51
|
+
export type OnDemandCapacityReservationPreference = (typeof OnDemandCapacityReservationPreference)[keyof typeof OnDemandCapacityReservationPreference];
|
|
52
|
+
/**
|
|
53
|
+
* @public
|
|
54
|
+
* @enum
|
|
55
|
+
*/
|
|
56
|
+
export declare const OnDemandCapacityReservationUsageStrategy: {
|
|
57
|
+
readonly USE_CAPACITY_RESERVATIONS_FIRST: "use-capacity-reservations-first";
|
|
58
|
+
};
|
|
59
|
+
/**
|
|
60
|
+
* @public
|
|
61
|
+
*/
|
|
62
|
+
export type OnDemandCapacityReservationUsageStrategy = (typeof OnDemandCapacityReservationUsageStrategy)[keyof typeof OnDemandCapacityReservationUsageStrategy];
|
|
63
|
+
/**
|
|
64
|
+
* @public
|
|
65
|
+
* @enum
|
|
66
|
+
*/
|
|
67
|
+
export declare const SpotProvisioningAllocationStrategy: {
|
|
68
|
+
readonly CAPACITY_OPTIMIZED: "capacity-optimized";
|
|
69
|
+
readonly CAPACITY_OPTIMIZED_PRIORITIZED: "capacity-optimized-prioritized";
|
|
70
|
+
readonly DIVERSIFIED: "diversified";
|
|
71
|
+
readonly LOWEST_PRICE: "lowest-price";
|
|
72
|
+
readonly PRICE_CAPACITY_OPTIMIZED: "price-capacity-optimized";
|
|
73
|
+
};
|
|
74
|
+
/**
|
|
75
|
+
* @public
|
|
76
|
+
*/
|
|
77
|
+
export type SpotProvisioningAllocationStrategy = (typeof SpotProvisioningAllocationStrategy)[keyof typeof SpotProvisioningAllocationStrategy];
|
|
78
|
+
/**
|
|
79
|
+
* @public
|
|
80
|
+
* @enum
|
|
81
|
+
*/
|
|
82
|
+
export declare const SpotProvisioningTimeoutAction: {
|
|
83
|
+
readonly SWITCH_TO_ON_DEMAND: "SWITCH_TO_ON_DEMAND";
|
|
84
|
+
readonly TERMINATE_CLUSTER: "TERMINATE_CLUSTER";
|
|
85
|
+
};
|
|
86
|
+
/**
|
|
87
|
+
* @public
|
|
88
|
+
*/
|
|
89
|
+
export type SpotProvisioningTimeoutAction = (typeof SpotProvisioningTimeoutAction)[keyof typeof SpotProvisioningTimeoutAction];
|
|
90
|
+
/**
|
|
91
|
+
* @public
|
|
92
|
+
* @enum
|
|
93
|
+
*/
|
|
94
|
+
export declare const MarketType: {
|
|
95
|
+
readonly ON_DEMAND: "ON_DEMAND";
|
|
96
|
+
readonly SPOT: "SPOT";
|
|
97
|
+
};
|
|
98
|
+
/**
|
|
99
|
+
* @public
|
|
100
|
+
*/
|
|
101
|
+
export type MarketType = (typeof MarketType)[keyof typeof MarketType];
|
|
102
|
+
/**
|
|
103
|
+
* @public
|
|
104
|
+
* @enum
|
|
105
|
+
*/
|
|
106
|
+
export declare const AdjustmentType: {
|
|
107
|
+
readonly CHANGE_IN_CAPACITY: "CHANGE_IN_CAPACITY";
|
|
108
|
+
readonly EXACT_CAPACITY: "EXACT_CAPACITY";
|
|
109
|
+
readonly PERCENT_CHANGE_IN_CAPACITY: "PERCENT_CHANGE_IN_CAPACITY";
|
|
110
|
+
};
|
|
111
|
+
/**
|
|
112
|
+
* @public
|
|
113
|
+
*/
|
|
114
|
+
export type AdjustmentType = (typeof AdjustmentType)[keyof typeof AdjustmentType];
|
|
115
|
+
/**
|
|
116
|
+
* @public
|
|
117
|
+
* @enum
|
|
118
|
+
*/
|
|
119
|
+
export declare const ComparisonOperator: {
|
|
120
|
+
readonly GREATER_THAN: "GREATER_THAN";
|
|
121
|
+
readonly GREATER_THAN_OR_EQUAL: "GREATER_THAN_OR_EQUAL";
|
|
122
|
+
readonly LESS_THAN: "LESS_THAN";
|
|
123
|
+
readonly LESS_THAN_OR_EQUAL: "LESS_THAN_OR_EQUAL";
|
|
124
|
+
};
|
|
125
|
+
/**
|
|
126
|
+
* @public
|
|
127
|
+
*/
|
|
128
|
+
export type ComparisonOperator = (typeof ComparisonOperator)[keyof typeof ComparisonOperator];
|
|
129
|
+
/**
|
|
130
|
+
* @public
|
|
131
|
+
* @enum
|
|
132
|
+
*/
|
|
133
|
+
export declare const Statistic: {
|
|
134
|
+
readonly AVERAGE: "AVERAGE";
|
|
135
|
+
readonly MAXIMUM: "MAXIMUM";
|
|
136
|
+
readonly MINIMUM: "MINIMUM";
|
|
137
|
+
readonly SAMPLE_COUNT: "SAMPLE_COUNT";
|
|
138
|
+
readonly SUM: "SUM";
|
|
139
|
+
};
|
|
140
|
+
/**
|
|
141
|
+
* @public
|
|
142
|
+
*/
|
|
143
|
+
export type Statistic = (typeof Statistic)[keyof typeof Statistic];
|
|
144
|
+
/**
|
|
145
|
+
* @public
|
|
146
|
+
* @enum
|
|
147
|
+
*/
|
|
148
|
+
export declare const Unit: {
|
|
149
|
+
readonly BITS: "BITS";
|
|
150
|
+
readonly BITS_PER_SECOND: "BITS_PER_SECOND";
|
|
151
|
+
readonly BYTES: "BYTES";
|
|
152
|
+
readonly BYTES_PER_SECOND: "BYTES_PER_SECOND";
|
|
153
|
+
readonly COUNT: "COUNT";
|
|
154
|
+
readonly COUNT_PER_SECOND: "COUNT_PER_SECOND";
|
|
155
|
+
readonly GIGA_BITS: "GIGA_BITS";
|
|
156
|
+
readonly GIGA_BITS_PER_SECOND: "GIGA_BITS_PER_SECOND";
|
|
157
|
+
readonly GIGA_BYTES: "GIGA_BYTES";
|
|
158
|
+
readonly GIGA_BYTES_PER_SECOND: "GIGA_BYTES_PER_SECOND";
|
|
159
|
+
readonly KILO_BITS: "KILO_BITS";
|
|
160
|
+
readonly KILO_BITS_PER_SECOND: "KILO_BITS_PER_SECOND";
|
|
161
|
+
readonly KILO_BYTES: "KILO_BYTES";
|
|
162
|
+
readonly KILO_BYTES_PER_SECOND: "KILO_BYTES_PER_SECOND";
|
|
163
|
+
readonly MEGA_BITS: "MEGA_BITS";
|
|
164
|
+
readonly MEGA_BITS_PER_SECOND: "MEGA_BITS_PER_SECOND";
|
|
165
|
+
readonly MEGA_BYTES: "MEGA_BYTES";
|
|
166
|
+
readonly MEGA_BYTES_PER_SECOND: "MEGA_BYTES_PER_SECOND";
|
|
167
|
+
readonly MICRO_SECONDS: "MICRO_SECONDS";
|
|
168
|
+
readonly MILLI_SECONDS: "MILLI_SECONDS";
|
|
169
|
+
readonly NONE: "NONE";
|
|
170
|
+
readonly PERCENT: "PERCENT";
|
|
171
|
+
readonly SECONDS: "SECONDS";
|
|
172
|
+
readonly TERA_BITS: "TERA_BITS";
|
|
173
|
+
readonly TERA_BITS_PER_SECOND: "TERA_BITS_PER_SECOND";
|
|
174
|
+
readonly TERA_BYTES: "TERA_BYTES";
|
|
175
|
+
readonly TERA_BYTES_PER_SECOND: "TERA_BYTES_PER_SECOND";
|
|
176
|
+
};
|
|
177
|
+
/**
|
|
178
|
+
* @public
|
|
179
|
+
*/
|
|
180
|
+
export type Unit = (typeof Unit)[keyof typeof Unit];
|
|
181
|
+
/**
|
|
182
|
+
* @public
|
|
183
|
+
* @enum
|
|
184
|
+
*/
|
|
185
|
+
export declare const InstanceRoleType: {
|
|
186
|
+
readonly CORE: "CORE";
|
|
187
|
+
readonly MASTER: "MASTER";
|
|
188
|
+
readonly TASK: "TASK";
|
|
189
|
+
};
|
|
190
|
+
/**
|
|
191
|
+
* @public
|
|
192
|
+
*/
|
|
193
|
+
export type InstanceRoleType = (typeof InstanceRoleType)[keyof typeof InstanceRoleType];
|
|
194
|
+
/**
|
|
195
|
+
* @public
|
|
196
|
+
* @enum
|
|
197
|
+
*/
|
|
198
|
+
export declare const AuthMode: {
|
|
199
|
+
readonly IAM: "IAM";
|
|
200
|
+
readonly SSO: "SSO";
|
|
201
|
+
};
|
|
202
|
+
/**
|
|
203
|
+
* @public
|
|
204
|
+
*/
|
|
205
|
+
export type AuthMode = (typeof AuthMode)[keyof typeof AuthMode];
|
|
206
|
+
/**
|
|
207
|
+
* @public
|
|
208
|
+
* @enum
|
|
209
|
+
*/
|
|
210
|
+
export declare const AutoScalingPolicyState: {
|
|
211
|
+
readonly ATTACHED: "ATTACHED";
|
|
212
|
+
readonly ATTACHING: "ATTACHING";
|
|
213
|
+
readonly DETACHED: "DETACHED";
|
|
214
|
+
readonly DETACHING: "DETACHING";
|
|
215
|
+
readonly FAILED: "FAILED";
|
|
216
|
+
readonly PENDING: "PENDING";
|
|
217
|
+
};
|
|
218
|
+
/**
|
|
219
|
+
* @public
|
|
220
|
+
*/
|
|
221
|
+
export type AutoScalingPolicyState = (typeof AutoScalingPolicyState)[keyof typeof AutoScalingPolicyState];
|
|
222
|
+
/**
|
|
223
|
+
* @public
|
|
224
|
+
* @enum
|
|
225
|
+
*/
|
|
226
|
+
export declare const AutoScalingPolicyStateChangeReasonCode: {
|
|
227
|
+
readonly CLEANUP_FAILURE: "CLEANUP_FAILURE";
|
|
228
|
+
readonly PROVISION_FAILURE: "PROVISION_FAILURE";
|
|
229
|
+
readonly USER_REQUEST: "USER_REQUEST";
|
|
230
|
+
};
|
|
231
|
+
/**
|
|
232
|
+
* @public
|
|
233
|
+
*/
|
|
234
|
+
export type AutoScalingPolicyStateChangeReasonCode = (typeof AutoScalingPolicyStateChangeReasonCode)[keyof typeof AutoScalingPolicyStateChangeReasonCode];
|
|
235
|
+
/**
|
|
236
|
+
* @public
|
|
237
|
+
* @enum
|
|
238
|
+
*/
|
|
239
|
+
export declare const StepCancellationOption: {
|
|
240
|
+
readonly SEND_INTERRUPT: "SEND_INTERRUPT";
|
|
241
|
+
readonly TERMINATE_PROCESS: "TERMINATE_PROCESS";
|
|
242
|
+
};
|
|
243
|
+
/**
|
|
244
|
+
* @public
|
|
245
|
+
*/
|
|
246
|
+
export type StepCancellationOption = (typeof StepCancellationOption)[keyof typeof StepCancellationOption];
|
|
247
|
+
/**
|
|
248
|
+
* @public
|
|
249
|
+
* @enum
|
|
250
|
+
*/
|
|
251
|
+
export declare const CancelStepsRequestStatus: {
|
|
252
|
+
readonly FAILED: "FAILED";
|
|
253
|
+
readonly SUBMITTED: "SUBMITTED";
|
|
254
|
+
};
|
|
255
|
+
/**
|
|
256
|
+
* @public
|
|
257
|
+
*/
|
|
258
|
+
export type CancelStepsRequestStatus = (typeof CancelStepsRequestStatus)[keyof typeof CancelStepsRequestStatus];
|
|
259
|
+
/**
|
|
260
|
+
* @public
|
|
261
|
+
* @enum
|
|
262
|
+
*/
|
|
263
|
+
export declare const InstanceCollectionType: {
|
|
264
|
+
readonly INSTANCE_FLEET: "INSTANCE_FLEET";
|
|
265
|
+
readonly INSTANCE_GROUP: "INSTANCE_GROUP";
|
|
266
|
+
};
|
|
267
|
+
/**
|
|
268
|
+
* @public
|
|
269
|
+
*/
|
|
270
|
+
export type InstanceCollectionType = (typeof InstanceCollectionType)[keyof typeof InstanceCollectionType];
|
|
271
|
+
/**
|
|
272
|
+
* @public
|
|
273
|
+
* @enum
|
|
274
|
+
*/
|
|
275
|
+
export declare const PlacementGroupStrategy: {
|
|
276
|
+
readonly CLUSTER: "CLUSTER";
|
|
277
|
+
readonly NONE: "NONE";
|
|
278
|
+
readonly PARTITION: "PARTITION";
|
|
279
|
+
readonly SPREAD: "SPREAD";
|
|
280
|
+
};
|
|
281
|
+
/**
|
|
282
|
+
* @public
|
|
283
|
+
*/
|
|
284
|
+
export type PlacementGroupStrategy = (typeof PlacementGroupStrategy)[keyof typeof PlacementGroupStrategy];
|
|
285
|
+
/**
|
|
286
|
+
* @public
|
|
287
|
+
* @enum
|
|
288
|
+
*/
|
|
289
|
+
export declare const RepoUpgradeOnBoot: {
|
|
290
|
+
readonly NONE: "NONE";
|
|
291
|
+
readonly SECURITY: "SECURITY";
|
|
292
|
+
};
|
|
293
|
+
/**
|
|
294
|
+
* @public
|
|
295
|
+
*/
|
|
296
|
+
export type RepoUpgradeOnBoot = (typeof RepoUpgradeOnBoot)[keyof typeof RepoUpgradeOnBoot];
|
|
297
|
+
/**
|
|
298
|
+
* @public
|
|
299
|
+
* @enum
|
|
300
|
+
*/
|
|
301
|
+
export declare const ScaleDownBehavior: {
|
|
302
|
+
readonly TERMINATE_AT_INSTANCE_HOUR: "TERMINATE_AT_INSTANCE_HOUR";
|
|
303
|
+
readonly TERMINATE_AT_TASK_COMPLETION: "TERMINATE_AT_TASK_COMPLETION";
|
|
304
|
+
};
|
|
305
|
+
/**
|
|
306
|
+
* @public
|
|
307
|
+
*/
|
|
308
|
+
export type ScaleDownBehavior = (typeof ScaleDownBehavior)[keyof typeof ScaleDownBehavior];
|
|
309
|
+
/**
|
|
310
|
+
* @public
|
|
311
|
+
* @enum
|
|
312
|
+
*/
|
|
313
|
+
export declare const ClusterState: {
|
|
314
|
+
readonly BOOTSTRAPPING: "BOOTSTRAPPING";
|
|
315
|
+
readonly RUNNING: "RUNNING";
|
|
316
|
+
readonly STARTING: "STARTING";
|
|
317
|
+
readonly TERMINATED: "TERMINATED";
|
|
318
|
+
readonly TERMINATED_WITH_ERRORS: "TERMINATED_WITH_ERRORS";
|
|
319
|
+
readonly TERMINATING: "TERMINATING";
|
|
320
|
+
readonly WAITING: "WAITING";
|
|
321
|
+
};
|
|
322
|
+
/**
|
|
323
|
+
* @public
|
|
324
|
+
*/
|
|
325
|
+
export type ClusterState = (typeof ClusterState)[keyof typeof ClusterState];
|
|
326
|
+
/**
|
|
327
|
+
* @public
|
|
328
|
+
* @enum
|
|
329
|
+
*/
|
|
330
|
+
export declare const ClusterStateChangeReasonCode: {
|
|
331
|
+
readonly ALL_STEPS_COMPLETED: "ALL_STEPS_COMPLETED";
|
|
332
|
+
readonly BOOTSTRAP_FAILURE: "BOOTSTRAP_FAILURE";
|
|
333
|
+
readonly INSTANCE_FAILURE: "INSTANCE_FAILURE";
|
|
334
|
+
readonly INSTANCE_FLEET_TIMEOUT: "INSTANCE_FLEET_TIMEOUT";
|
|
335
|
+
readonly INTERNAL_ERROR: "INTERNAL_ERROR";
|
|
336
|
+
readonly STEP_FAILURE: "STEP_FAILURE";
|
|
337
|
+
readonly USER_REQUEST: "USER_REQUEST";
|
|
338
|
+
readonly VALIDATION_ERROR: "VALIDATION_ERROR";
|
|
339
|
+
};
|
|
340
|
+
/**
|
|
341
|
+
* @public
|
|
342
|
+
*/
|
|
343
|
+
export type ClusterStateChangeReasonCode = (typeof ClusterStateChangeReasonCode)[keyof typeof ClusterStateChangeReasonCode];
|
|
344
|
+
/**
|
|
345
|
+
* @public
|
|
346
|
+
* @enum
|
|
347
|
+
*/
|
|
348
|
+
export declare const ComputeLimitsUnitType: {
|
|
349
|
+
readonly InstanceFleetUnits: "InstanceFleetUnits";
|
|
350
|
+
readonly Instances: "Instances";
|
|
351
|
+
readonly VCPU: "VCPU";
|
|
352
|
+
};
|
|
353
|
+
/**
|
|
354
|
+
* @public
|
|
355
|
+
*/
|
|
356
|
+
export type ComputeLimitsUnitType = (typeof ComputeLimitsUnitType)[keyof typeof ComputeLimitsUnitType];
|
|
357
|
+
/**
|
|
358
|
+
* @public
|
|
359
|
+
* @enum
|
|
360
|
+
*/
|
|
361
|
+
export declare const ProfilerType: {
|
|
362
|
+
readonly SHS: "SHS";
|
|
363
|
+
readonly TEZUI: "TEZUI";
|
|
364
|
+
readonly YTS: "YTS";
|
|
365
|
+
};
|
|
366
|
+
/**
|
|
367
|
+
* @public
|
|
368
|
+
*/
|
|
369
|
+
export type ProfilerType = (typeof ProfilerType)[keyof typeof ProfilerType];
|
|
370
|
+
/**
|
|
371
|
+
* @public
|
|
372
|
+
* @enum
|
|
373
|
+
*/
|
|
374
|
+
export declare const IdcUserAssignment: {
|
|
375
|
+
readonly OPTIONAL: "OPTIONAL";
|
|
376
|
+
readonly REQUIRED: "REQUIRED";
|
|
377
|
+
};
|
|
378
|
+
/**
|
|
379
|
+
* @public
|
|
380
|
+
*/
|
|
381
|
+
export type IdcUserAssignment = (typeof IdcUserAssignment)[keyof typeof IdcUserAssignment];
|
|
382
|
+
/**
|
|
383
|
+
* @public
|
|
384
|
+
* @enum
|
|
385
|
+
*/
|
|
386
|
+
export declare const IdentityType: {
|
|
387
|
+
readonly GROUP: "GROUP";
|
|
388
|
+
readonly USER: "USER";
|
|
389
|
+
};
|
|
390
|
+
/**
|
|
391
|
+
* @public
|
|
392
|
+
*/
|
|
393
|
+
export type IdentityType = (typeof IdentityType)[keyof typeof IdentityType];
|
|
394
|
+
/**
|
|
395
|
+
* @public
|
|
396
|
+
* @enum
|
|
397
|
+
*/
|
|
398
|
+
export declare const JobFlowExecutionState: {
|
|
399
|
+
readonly BOOTSTRAPPING: "BOOTSTRAPPING";
|
|
400
|
+
readonly COMPLETED: "COMPLETED";
|
|
401
|
+
readonly FAILED: "FAILED";
|
|
402
|
+
readonly RUNNING: "RUNNING";
|
|
403
|
+
readonly SHUTTING_DOWN: "SHUTTING_DOWN";
|
|
404
|
+
readonly STARTING: "STARTING";
|
|
405
|
+
readonly TERMINATED: "TERMINATED";
|
|
406
|
+
readonly WAITING: "WAITING";
|
|
407
|
+
};
|
|
408
|
+
/**
|
|
409
|
+
* @public
|
|
410
|
+
*/
|
|
411
|
+
export type JobFlowExecutionState = (typeof JobFlowExecutionState)[keyof typeof JobFlowExecutionState];
|
|
412
|
+
/**
|
|
413
|
+
* @public
|
|
414
|
+
* @enum
|
|
415
|
+
*/
|
|
416
|
+
export declare const InstanceGroupState: {
|
|
417
|
+
readonly ARRESTED: "ARRESTED";
|
|
418
|
+
readonly BOOTSTRAPPING: "BOOTSTRAPPING";
|
|
419
|
+
readonly ENDED: "ENDED";
|
|
420
|
+
readonly PROVISIONING: "PROVISIONING";
|
|
421
|
+
readonly RECONFIGURING: "RECONFIGURING";
|
|
422
|
+
readonly RESIZING: "RESIZING";
|
|
423
|
+
readonly RUNNING: "RUNNING";
|
|
424
|
+
readonly SHUTTING_DOWN: "SHUTTING_DOWN";
|
|
425
|
+
readonly SUSPENDED: "SUSPENDED";
|
|
426
|
+
readonly TERMINATED: "TERMINATED";
|
|
427
|
+
readonly TERMINATING: "TERMINATING";
|
|
428
|
+
};
|
|
429
|
+
/**
|
|
430
|
+
* @public
|
|
431
|
+
*/
|
|
432
|
+
export type InstanceGroupState = (typeof InstanceGroupState)[keyof typeof InstanceGroupState];
|
|
433
|
+
/**
|
|
434
|
+
* @public
|
|
435
|
+
* @enum
|
|
436
|
+
*/
|
|
437
|
+
export declare const StepExecutionState: {
|
|
438
|
+
readonly CANCELLED: "CANCELLED";
|
|
439
|
+
readonly COMPLETED: "COMPLETED";
|
|
440
|
+
readonly CONTINUE: "CONTINUE";
|
|
441
|
+
readonly FAILED: "FAILED";
|
|
442
|
+
readonly INTERRUPTED: "INTERRUPTED";
|
|
443
|
+
readonly PENDING: "PENDING";
|
|
444
|
+
readonly RUNNING: "RUNNING";
|
|
445
|
+
};
|
|
446
|
+
/**
|
|
447
|
+
* @public
|
|
448
|
+
*/
|
|
449
|
+
export type StepExecutionState = (typeof StepExecutionState)[keyof typeof StepExecutionState];
|
|
450
|
+
/**
|
|
451
|
+
* @public
|
|
452
|
+
* @enum
|
|
453
|
+
*/
|
|
454
|
+
export declare const ExecutionEngineType: {
|
|
455
|
+
readonly EMR: "EMR";
|
|
456
|
+
};
|
|
457
|
+
/**
|
|
458
|
+
* @public
|
|
459
|
+
*/
|
|
460
|
+
export type ExecutionEngineType = (typeof ExecutionEngineType)[keyof typeof ExecutionEngineType];
|
|
461
|
+
/**
|
|
462
|
+
* @public
|
|
463
|
+
* @enum
|
|
464
|
+
*/
|
|
465
|
+
export declare const OutputNotebookFormat: {
|
|
466
|
+
readonly HTML: "HTML";
|
|
467
|
+
};
|
|
468
|
+
/**
|
|
469
|
+
* @public
|
|
470
|
+
*/
|
|
471
|
+
export type OutputNotebookFormat = (typeof OutputNotebookFormat)[keyof typeof OutputNotebookFormat];
|
|
472
|
+
/**
|
|
473
|
+
* @public
|
|
474
|
+
* @enum
|
|
475
|
+
*/
|
|
476
|
+
export declare const NotebookExecutionStatus: {
|
|
477
|
+
readonly FAILED: "FAILED";
|
|
478
|
+
readonly FAILING: "FAILING";
|
|
479
|
+
readonly FINISHED: "FINISHED";
|
|
480
|
+
readonly FINISHING: "FINISHING";
|
|
481
|
+
readonly RUNNING: "RUNNING";
|
|
482
|
+
readonly STARTING: "STARTING";
|
|
483
|
+
readonly START_PENDING: "START_PENDING";
|
|
484
|
+
readonly STOPPED: "STOPPED";
|
|
485
|
+
readonly STOPPING: "STOPPING";
|
|
486
|
+
readonly STOP_PENDING: "STOP_PENDING";
|
|
487
|
+
};
|
|
488
|
+
/**
|
|
489
|
+
* @public
|
|
490
|
+
*/
|
|
491
|
+
export type NotebookExecutionStatus = (typeof NotebookExecutionStatus)[keyof typeof NotebookExecutionStatus];
|
|
492
|
+
/**
|
|
493
|
+
* @public
|
|
494
|
+
* @enum
|
|
495
|
+
*/
|
|
496
|
+
export declare const PersistentAppUIType: {
|
|
497
|
+
readonly SHS: "SHS";
|
|
498
|
+
readonly TEZ: "TEZ";
|
|
499
|
+
readonly YTS: "YTS";
|
|
500
|
+
};
|
|
501
|
+
/**
|
|
502
|
+
* @public
|
|
503
|
+
*/
|
|
504
|
+
export type PersistentAppUIType = (typeof PersistentAppUIType)[keyof typeof PersistentAppUIType];
|
|
505
|
+
/**
|
|
506
|
+
* @public
|
|
507
|
+
* @enum
|
|
508
|
+
*/
|
|
509
|
+
export declare const StepState: {
|
|
510
|
+
readonly CANCELLED: "CANCELLED";
|
|
511
|
+
readonly CANCEL_PENDING: "CANCEL_PENDING";
|
|
512
|
+
readonly COMPLETED: "COMPLETED";
|
|
513
|
+
readonly FAILED: "FAILED";
|
|
514
|
+
readonly INTERRUPTED: "INTERRUPTED";
|
|
515
|
+
readonly PENDING: "PENDING";
|
|
516
|
+
readonly RUNNING: "RUNNING";
|
|
517
|
+
};
|
|
518
|
+
/**
|
|
519
|
+
* @public
|
|
520
|
+
*/
|
|
521
|
+
export type StepState = (typeof StepState)[keyof typeof StepState];
|
|
522
|
+
/**
|
|
523
|
+
* @public
|
|
524
|
+
* @enum
|
|
525
|
+
*/
|
|
526
|
+
export declare const StepStateChangeReasonCode: {
|
|
527
|
+
readonly NONE: "NONE";
|
|
528
|
+
};
|
|
529
|
+
/**
|
|
530
|
+
* @public
|
|
531
|
+
*/
|
|
532
|
+
export type StepStateChangeReasonCode = (typeof StepStateChangeReasonCode)[keyof typeof StepStateChangeReasonCode];
|
|
533
|
+
/**
|
|
534
|
+
* @public
|
|
535
|
+
* @enum
|
|
536
|
+
*/
|
|
537
|
+
export declare const ScalingStrategy: {
|
|
538
|
+
readonly ADVANCED: "ADVANCED";
|
|
539
|
+
readonly DEFAULT: "DEFAULT";
|
|
540
|
+
};
|
|
541
|
+
/**
|
|
542
|
+
* @public
|
|
543
|
+
*/
|
|
544
|
+
export type ScalingStrategy = (typeof ScalingStrategy)[keyof typeof ScalingStrategy];
|
|
545
|
+
/**
|
|
546
|
+
* @public
|
|
547
|
+
* @enum
|
|
548
|
+
*/
|
|
549
|
+
export declare const OnClusterAppUIType: {
|
|
550
|
+
readonly ApplicationMaster: "ApplicationMaster";
|
|
551
|
+
readonly JobHistoryServer: "JobHistoryServer";
|
|
552
|
+
readonly ResourceManager: "ResourceManager";
|
|
553
|
+
readonly SparkHistoryServer: "SparkHistoryServer";
|
|
554
|
+
readonly TezUI: "TezUI";
|
|
555
|
+
readonly YarnTimelineService: "YarnTimelineService";
|
|
556
|
+
};
|
|
557
|
+
/**
|
|
558
|
+
* @public
|
|
559
|
+
*/
|
|
560
|
+
export type OnClusterAppUIType = (typeof OnClusterAppUIType)[keyof typeof OnClusterAppUIType];
|
|
561
|
+
/**
|
|
562
|
+
* @public
|
|
563
|
+
* @enum
|
|
564
|
+
*/
|
|
565
|
+
export declare const InstanceFleetState: {
|
|
566
|
+
readonly BOOTSTRAPPING: "BOOTSTRAPPING";
|
|
567
|
+
readonly PROVISIONING: "PROVISIONING";
|
|
568
|
+
readonly RECONFIGURING: "RECONFIGURING";
|
|
569
|
+
readonly RESIZING: "RESIZING";
|
|
570
|
+
readonly RUNNING: "RUNNING";
|
|
571
|
+
readonly SUSPENDED: "SUSPENDED";
|
|
572
|
+
readonly TERMINATED: "TERMINATED";
|
|
573
|
+
readonly TERMINATING: "TERMINATING";
|
|
574
|
+
};
|
|
575
|
+
/**
|
|
576
|
+
* @public
|
|
577
|
+
*/
|
|
578
|
+
export type InstanceFleetState = (typeof InstanceFleetState)[keyof typeof InstanceFleetState];
|
|
579
|
+
/**
|
|
580
|
+
* @public
|
|
581
|
+
* @enum
|
|
582
|
+
*/
|
|
583
|
+
export declare const InstanceFleetStateChangeReasonCode: {
|
|
584
|
+
readonly CLUSTER_TERMINATED: "CLUSTER_TERMINATED";
|
|
585
|
+
readonly INSTANCE_FAILURE: "INSTANCE_FAILURE";
|
|
586
|
+
readonly INTERNAL_ERROR: "INTERNAL_ERROR";
|
|
587
|
+
readonly VALIDATION_ERROR: "VALIDATION_ERROR";
|
|
588
|
+
};
|
|
589
|
+
/**
|
|
590
|
+
* @public
|
|
591
|
+
*/
|
|
592
|
+
export type InstanceFleetStateChangeReasonCode = (typeof InstanceFleetStateChangeReasonCode)[keyof typeof InstanceFleetStateChangeReasonCode];
|
|
593
|
+
/**
|
|
594
|
+
* @public
|
|
595
|
+
* @enum
|
|
596
|
+
*/
|
|
597
|
+
export declare const InstanceGroupType: {
|
|
598
|
+
readonly CORE: "CORE";
|
|
599
|
+
readonly MASTER: "MASTER";
|
|
600
|
+
readonly TASK: "TASK";
|
|
601
|
+
};
|
|
602
|
+
/**
|
|
603
|
+
* @public
|
|
604
|
+
*/
|
|
605
|
+
export type InstanceGroupType = (typeof InstanceGroupType)[keyof typeof InstanceGroupType];
|
|
606
|
+
/**
|
|
607
|
+
* @public
|
|
608
|
+
* @enum
|
|
609
|
+
*/
|
|
610
|
+
export declare const InstanceGroupStateChangeReasonCode: {
|
|
611
|
+
readonly CLUSTER_TERMINATED: "CLUSTER_TERMINATED";
|
|
612
|
+
readonly INSTANCE_FAILURE: "INSTANCE_FAILURE";
|
|
613
|
+
readonly INTERNAL_ERROR: "INTERNAL_ERROR";
|
|
614
|
+
readonly VALIDATION_ERROR: "VALIDATION_ERROR";
|
|
615
|
+
};
|
|
616
|
+
/**
|
|
617
|
+
* @public
|
|
618
|
+
*/
|
|
619
|
+
export type InstanceGroupStateChangeReasonCode = (typeof InstanceGroupStateChangeReasonCode)[keyof typeof InstanceGroupStateChangeReasonCode];
|
|
620
|
+
/**
|
|
621
|
+
* @public
|
|
622
|
+
* @enum
|
|
623
|
+
*/
|
|
624
|
+
export declare const InstanceState: {
|
|
625
|
+
readonly AWAITING_FULFILLMENT: "AWAITING_FULFILLMENT";
|
|
626
|
+
readonly BOOTSTRAPPING: "BOOTSTRAPPING";
|
|
627
|
+
readonly PROVISIONING: "PROVISIONING";
|
|
628
|
+
readonly RUNNING: "RUNNING";
|
|
629
|
+
readonly TERMINATED: "TERMINATED";
|
|
630
|
+
};
|
|
631
|
+
/**
|
|
632
|
+
* @public
|
|
633
|
+
*/
|
|
634
|
+
export type InstanceState = (typeof InstanceState)[keyof typeof InstanceState];
|
|
635
|
+
/**
|
|
636
|
+
* @public
|
|
637
|
+
* @enum
|
|
638
|
+
*/
|
|
639
|
+
export declare const InstanceStateChangeReasonCode: {
|
|
640
|
+
readonly BOOTSTRAP_FAILURE: "BOOTSTRAP_FAILURE";
|
|
641
|
+
readonly CLUSTER_TERMINATED: "CLUSTER_TERMINATED";
|
|
642
|
+
readonly INSTANCE_FAILURE: "INSTANCE_FAILURE";
|
|
643
|
+
readonly INTERNAL_ERROR: "INTERNAL_ERROR";
|
|
644
|
+
readonly VALIDATION_ERROR: "VALIDATION_ERROR";
|
|
645
|
+
};
|
|
646
|
+
/**
|
|
647
|
+
* @public
|
|
648
|
+
*/
|
|
649
|
+
export type InstanceStateChangeReasonCode = (typeof InstanceStateChangeReasonCode)[keyof typeof InstanceStateChangeReasonCode];
|
|
650
|
+
/**
|
|
651
|
+
* @public
|
|
652
|
+
* @enum
|
|
653
|
+
*/
|
|
654
|
+
export declare const ReconfigurationType: {
|
|
655
|
+
readonly MERGE: "MERGE";
|
|
656
|
+
readonly OVERWRITE: "OVERWRITE";
|
|
657
|
+
};
|
|
658
|
+
/**
|
|
659
|
+
* @public
|
|
660
|
+
*/
|
|
661
|
+
export type ReconfigurationType = (typeof ReconfigurationType)[keyof typeof ReconfigurationType];
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { EMRServiceException as __BaseException } from "./EMRServiceException";
|
|
3
|
+
/**
|
|
4
|
+
* <p>This exception occurs when there is an internal failure in the Amazon EMR
|
|
5
|
+
* service.</p>
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export declare class InternalServerException extends __BaseException {
|
|
9
|
+
readonly name: "InternalServerException";
|
|
10
|
+
readonly $fault: "server";
|
|
11
|
+
/**
|
|
12
|
+
* <p>The message associated with the exception.</p>
|
|
13
|
+
* @public
|
|
14
|
+
*/
|
|
15
|
+
Message?: string | undefined;
|
|
16
|
+
/**
|
|
17
|
+
* @internal
|
|
18
|
+
*/
|
|
19
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* <p>This exception occurs when there is something wrong with user input.</p>
|
|
23
|
+
* @public
|
|
24
|
+
*/
|
|
25
|
+
export declare class InvalidRequestException extends __BaseException {
|
|
26
|
+
readonly name: "InvalidRequestException";
|
|
27
|
+
readonly $fault: "client";
|
|
28
|
+
/**
|
|
29
|
+
* <p>The error code associated with the exception.</p>
|
|
30
|
+
* @public
|
|
31
|
+
*/
|
|
32
|
+
ErrorCode?: string | undefined;
|
|
33
|
+
/**
|
|
34
|
+
* <p>The message associated with the exception.</p>
|
|
35
|
+
* @public
|
|
36
|
+
*/
|
|
37
|
+
Message?: string | undefined;
|
|
38
|
+
/**
|
|
39
|
+
* @internal
|
|
40
|
+
*/
|
|
41
|
+
constructor(opts: __ExceptionOptionType<InvalidRequestException, __BaseException>);
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* <p>Indicates that an error occurred while processing the request and that the request was
|
|
45
|
+
* not completed.</p>
|
|
46
|
+
* @public
|
|
47
|
+
*/
|
|
48
|
+
export declare class InternalServerError extends __BaseException {
|
|
49
|
+
readonly name: "InternalServerError";
|
|
50
|
+
readonly $fault: "server";
|
|
51
|
+
/**
|
|
52
|
+
* @internal
|
|
53
|
+
*/
|
|
54
|
+
constructor(opts: __ExceptionOptionType<InternalServerError, __BaseException>);
|
|
55
|
+
}
|