@aws-sdk/client-emr-serverless 3.533.0 → 3.535.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-types/EMRServerless.d.ts +2 -1
- package/dist-types/EMRServerlessClient.d.ts +1 -1
- package/dist-types/commands/CancelJobRunCommand.d.ts +2 -1
- package/dist-types/commands/CreateApplicationCommand.d.ts +2 -1
- package/dist-types/commands/DeleteApplicationCommand.d.ts +2 -1
- package/dist-types/commands/GetApplicationCommand.d.ts +2 -1
- package/dist-types/commands/GetDashboardForJobRunCommand.d.ts +2 -1
- package/dist-types/commands/GetJobRunCommand.d.ts +2 -1
- package/dist-types/commands/ListApplicationsCommand.d.ts +2 -1
- package/dist-types/commands/ListJobRunsCommand.d.ts +2 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -1
- package/dist-types/commands/StartApplicationCommand.d.ts +2 -1
- package/dist-types/commands/StartJobRunCommand.d.ts +2 -1
- package/dist-types/commands/StopApplicationCommand.d.ts +2 -1
- package/dist-types/commands/TagResourceCommand.d.ts +2 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -1
- package/dist-types/commands/UpdateApplicationCommand.d.ts +2 -1
- package/dist-types/models/models_0.d.ts +217 -217
- package/dist-types/ts3.4/EMRServerless.d.ts +1 -0
- package/dist-types/ts3.4/commands/CancelJobRunCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/CreateApplicationCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteApplicationCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetApplicationCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetDashboardForJobRunCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetJobRunCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListApplicationsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListJobRunsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/StartApplicationCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/StartJobRunCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/StopApplicationCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UpdateApplicationCommand.d.ts +9 -0
- package/package.json +40 -40
|
@@ -13,142 +13,141 @@ export declare const Architecture: {
|
|
|
13
13
|
*/
|
|
14
14
|
export type Architecture = (typeof Architecture)[keyof typeof Architecture];
|
|
15
15
|
/**
|
|
16
|
-
* @public
|
|
17
16
|
* <p>The configuration for an application to automatically start on job submission.</p>
|
|
17
|
+
* @public
|
|
18
18
|
*/
|
|
19
19
|
export interface AutoStartConfig {
|
|
20
20
|
/**
|
|
21
|
-
* @public
|
|
22
21
|
* <p>Enables the application to automatically start on job submission. Defaults to
|
|
23
22
|
* true.</p>
|
|
23
|
+
* @public
|
|
24
24
|
*/
|
|
25
25
|
enabled?: boolean;
|
|
26
26
|
}
|
|
27
27
|
/**
|
|
28
|
-
* @public
|
|
29
28
|
* <p>The configuration for an application to automatically stop after a certain amount of
|
|
30
29
|
* time being idle.</p>
|
|
30
|
+
* @public
|
|
31
31
|
*/
|
|
32
32
|
export interface AutoStopConfig {
|
|
33
33
|
/**
|
|
34
|
-
* @public
|
|
35
34
|
* <p>Enables the application to automatically stop after a certain amount of time being idle.
|
|
36
35
|
* Defaults to true.</p>
|
|
36
|
+
* @public
|
|
37
37
|
*/
|
|
38
38
|
enabled?: boolean;
|
|
39
39
|
/**
|
|
40
|
-
* @public
|
|
41
40
|
* <p>The amount of idle time in minutes after which your application will automatically stop.
|
|
42
41
|
* Defaults to 15 minutes.</p>
|
|
42
|
+
* @public
|
|
43
43
|
*/
|
|
44
44
|
idleTimeoutMinutes?: number;
|
|
45
45
|
}
|
|
46
46
|
/**
|
|
47
|
-
* @public
|
|
48
47
|
* <p>The applied image configuration.</p>
|
|
48
|
+
* @public
|
|
49
49
|
*/
|
|
50
50
|
export interface ImageConfiguration {
|
|
51
51
|
/**
|
|
52
|
-
* @public
|
|
53
52
|
* <p>The image URI.</p>
|
|
53
|
+
* @public
|
|
54
54
|
*/
|
|
55
55
|
imageUri: string | undefined;
|
|
56
56
|
/**
|
|
57
|
-
* @public
|
|
58
57
|
* <p>The SHA256 digest of the image URI. This indicates which specific image the application
|
|
59
58
|
* is configured for. The image digest doesn't exist until an application has started.</p>
|
|
59
|
+
* @public
|
|
60
60
|
*/
|
|
61
61
|
resolvedImageDigest?: string;
|
|
62
62
|
}
|
|
63
63
|
/**
|
|
64
|
-
* @public
|
|
65
64
|
* <p>The cumulative configuration requirements for every worker instance of the worker
|
|
66
65
|
* type.</p>
|
|
66
|
+
* @public
|
|
67
67
|
*/
|
|
68
68
|
export interface WorkerResourceConfig {
|
|
69
69
|
/**
|
|
70
|
-
* @public
|
|
71
70
|
* <p>The CPU requirements for every worker instance of the worker type.</p>
|
|
71
|
+
* @public
|
|
72
72
|
*/
|
|
73
73
|
cpu: string | undefined;
|
|
74
74
|
/**
|
|
75
|
-
* @public
|
|
76
75
|
* <p>The memory requirements for every worker instance of the worker type.</p>
|
|
76
|
+
* @public
|
|
77
77
|
*/
|
|
78
78
|
memory: string | undefined;
|
|
79
79
|
/**
|
|
80
|
-
* @public
|
|
81
80
|
* <p>The disk requirements for every worker instance of the worker type.</p>
|
|
81
|
+
* @public
|
|
82
82
|
*/
|
|
83
83
|
disk?: string;
|
|
84
84
|
}
|
|
85
85
|
/**
|
|
86
|
-
* @public
|
|
87
86
|
* <p>The initial capacity configuration per worker.</p>
|
|
87
|
+
* @public
|
|
88
88
|
*/
|
|
89
89
|
export interface InitialCapacityConfig {
|
|
90
90
|
/**
|
|
91
|
-
* @public
|
|
92
91
|
* <p>The number of workers in the initial capacity configuration.</p>
|
|
92
|
+
* @public
|
|
93
93
|
*/
|
|
94
94
|
workerCount: number | undefined;
|
|
95
95
|
/**
|
|
96
|
-
* @public
|
|
97
96
|
* <p>The resource configuration of the initial capacity configuration.</p>
|
|
97
|
+
* @public
|
|
98
98
|
*/
|
|
99
99
|
workerConfiguration?: WorkerResourceConfig;
|
|
100
100
|
}
|
|
101
101
|
/**
|
|
102
|
-
* @public
|
|
103
102
|
* <p>The maximum allowed cumulative resources for an application. No new resources will be
|
|
104
103
|
* created once the limit is hit.</p>
|
|
104
|
+
* @public
|
|
105
105
|
*/
|
|
106
106
|
export interface MaximumAllowedResources {
|
|
107
107
|
/**
|
|
108
|
-
* @public
|
|
109
108
|
* <p>The maximum allowed CPU for an application.</p>
|
|
109
|
+
* @public
|
|
110
110
|
*/
|
|
111
111
|
cpu: string | undefined;
|
|
112
112
|
/**
|
|
113
|
-
* @public
|
|
114
113
|
* <p>The maximum allowed resources for an application.</p>
|
|
114
|
+
* @public
|
|
115
115
|
*/
|
|
116
116
|
memory: string | undefined;
|
|
117
117
|
/**
|
|
118
|
-
* @public
|
|
119
118
|
* <p>The maximum allowed disk for an application.</p>
|
|
119
|
+
* @public
|
|
120
120
|
*/
|
|
121
121
|
disk?: string;
|
|
122
122
|
}
|
|
123
123
|
/**
|
|
124
|
-
* @public
|
|
125
124
|
* <p>The Amazon CloudWatch configuration for monitoring logs. You can configure your jobs
|
|
126
125
|
* to send log information to CloudWatch.</p>
|
|
126
|
+
* @public
|
|
127
127
|
*/
|
|
128
128
|
export interface CloudWatchLoggingConfiguration {
|
|
129
129
|
/**
|
|
130
|
-
* @public
|
|
131
130
|
* <p>Enables CloudWatch logging.</p>
|
|
131
|
+
* @public
|
|
132
132
|
*/
|
|
133
133
|
enabled: boolean | undefined;
|
|
134
134
|
/**
|
|
135
|
-
* @public
|
|
136
135
|
* <p>The name of the log group in Amazon CloudWatch Logs where you want to publish your
|
|
137
136
|
* logs.</p>
|
|
137
|
+
* @public
|
|
138
138
|
*/
|
|
139
139
|
logGroupName?: string;
|
|
140
140
|
/**
|
|
141
|
-
* @public
|
|
142
141
|
* <p>Prefix for the CloudWatch log stream name.</p>
|
|
142
|
+
* @public
|
|
143
143
|
*/
|
|
144
144
|
logStreamNamePrefix?: string;
|
|
145
145
|
/**
|
|
146
|
-
* @public
|
|
147
146
|
* <p>The Key Management Service (KMS) key ARN to encrypt the logs that you store in CloudWatch Logs.</p>
|
|
147
|
+
* @public
|
|
148
148
|
*/
|
|
149
149
|
encryptionKeyArn?: string;
|
|
150
150
|
/**
|
|
151
|
-
* @public
|
|
152
151
|
* <p>The types of logs that you want to publish to CloudWatch. If you don't specify
|
|
153
152
|
* any log types, driver STDOUT and STDERR logs will be published to CloudWatch Logs by
|
|
154
153
|
* default. For more information including the supported worker types for Hive and Spark, see
|
|
@@ -170,78 +169,79 @@ export interface CloudWatchLoggingConfiguration {
|
|
|
170
169
|
* </p>
|
|
171
170
|
* </li>
|
|
172
171
|
* </ul>
|
|
172
|
+
* @public
|
|
173
173
|
*/
|
|
174
174
|
logTypes?: Record<string, string[]>;
|
|
175
175
|
}
|
|
176
176
|
/**
|
|
177
|
-
* @public
|
|
178
177
|
* <p>The managed log persistence configuration for a job run.</p>
|
|
178
|
+
* @public
|
|
179
179
|
*/
|
|
180
180
|
export interface ManagedPersistenceMonitoringConfiguration {
|
|
181
181
|
/**
|
|
182
|
-
* @public
|
|
183
182
|
* <p>Enables managed logging and defaults to true. If set to false, managed logging will be
|
|
184
183
|
* turned off.</p>
|
|
184
|
+
* @public
|
|
185
185
|
*/
|
|
186
186
|
enabled?: boolean;
|
|
187
187
|
/**
|
|
188
|
-
* @public
|
|
189
188
|
* <p>The KMS key ARN to encrypt the logs stored in managed log persistence.</p>
|
|
189
|
+
* @public
|
|
190
190
|
*/
|
|
191
191
|
encryptionKeyArn?: string;
|
|
192
192
|
}
|
|
193
193
|
/**
|
|
194
|
-
* @public
|
|
195
194
|
* <p>The Amazon S3 configuration for monitoring log publishing. You can configure your jobs
|
|
196
195
|
* to send log information to Amazon S3.</p>
|
|
196
|
+
* @public
|
|
197
197
|
*/
|
|
198
198
|
export interface S3MonitoringConfiguration {
|
|
199
199
|
/**
|
|
200
|
-
* @public
|
|
201
200
|
* <p>The Amazon S3 destination URI for log publishing.</p>
|
|
201
|
+
* @public
|
|
202
202
|
*/
|
|
203
203
|
logUri?: string;
|
|
204
204
|
/**
|
|
205
|
-
* @public
|
|
206
205
|
* <p>The KMS key ARN to encrypt the logs published to the given Amazon S3 destination.</p>
|
|
206
|
+
* @public
|
|
207
207
|
*/
|
|
208
208
|
encryptionKeyArn?: string;
|
|
209
209
|
}
|
|
210
210
|
/**
|
|
211
|
-
* @public
|
|
212
211
|
* <p>The configuration setting for monitoring.</p>
|
|
212
|
+
* @public
|
|
213
213
|
*/
|
|
214
214
|
export interface MonitoringConfiguration {
|
|
215
215
|
/**
|
|
216
|
-
* @public
|
|
217
216
|
* <p>The Amazon S3 configuration for monitoring log publishing.</p>
|
|
217
|
+
* @public
|
|
218
218
|
*/
|
|
219
219
|
s3MonitoringConfiguration?: S3MonitoringConfiguration;
|
|
220
220
|
/**
|
|
221
|
-
* @public
|
|
222
221
|
* <p>The managed log persistence configuration for a job run.</p>
|
|
222
|
+
* @public
|
|
223
223
|
*/
|
|
224
224
|
managedPersistenceMonitoringConfiguration?: ManagedPersistenceMonitoringConfiguration;
|
|
225
225
|
/**
|
|
226
|
-
* @public
|
|
227
226
|
* <p>The Amazon CloudWatch configuration for monitoring logs. You can configure your jobs
|
|
228
227
|
* to send log information to CloudWatch.</p>
|
|
228
|
+
* @public
|
|
229
229
|
*/
|
|
230
230
|
cloudWatchLoggingConfiguration?: CloudWatchLoggingConfiguration;
|
|
231
231
|
}
|
|
232
232
|
/**
|
|
233
|
-
* @public
|
|
234
233
|
* <p>The network configuration for customer VPC connectivity.</p>
|
|
234
|
+
* @public
|
|
235
235
|
*/
|
|
236
236
|
export interface NetworkConfiguration {
|
|
237
237
|
/**
|
|
238
|
-
* @public
|
|
239
238
|
* <p>The array of subnet Ids for customer VPC connectivity.</p>
|
|
239
|
+
* @public
|
|
240
240
|
*/
|
|
241
241
|
subnetIds?: string[];
|
|
242
242
|
/**
|
|
243
|
-
* @public
|
|
244
243
|
* <p>The array of security group Ids for customer VPC connectivity.</p>
|
|
244
|
+
* @public
|
|
245
245
|
*/
|
|
246
246
|
securityGroupIds?: string[];
|
|
247
247
|
}
|
|
@@ -263,76 +263,76 @@ export declare const ApplicationState: {
|
|
|
263
263
|
*/
|
|
264
264
|
export type ApplicationState = (typeof ApplicationState)[keyof typeof ApplicationState];
|
|
265
265
|
/**
|
|
266
|
-
* @public
|
|
267
266
|
* <p>The specifications for a worker type.</p>
|
|
267
|
+
* @public
|
|
268
268
|
*/
|
|
269
269
|
export interface WorkerTypeSpecification {
|
|
270
270
|
/**
|
|
271
|
-
* @public
|
|
272
271
|
* <p>The image configuration for a worker type.</p>
|
|
272
|
+
* @public
|
|
273
273
|
*/
|
|
274
274
|
imageConfiguration?: ImageConfiguration;
|
|
275
275
|
}
|
|
276
276
|
/**
|
|
277
|
-
* @public
|
|
278
277
|
* <p>The summary of attributes associated with an application.</p>
|
|
278
|
+
* @public
|
|
279
279
|
*/
|
|
280
280
|
export interface ApplicationSummary {
|
|
281
281
|
/**
|
|
282
|
-
* @public
|
|
283
282
|
* <p>The ID of the application.</p>
|
|
283
|
+
* @public
|
|
284
284
|
*/
|
|
285
285
|
id: string | undefined;
|
|
286
286
|
/**
|
|
287
|
-
* @public
|
|
288
287
|
* <p>The name of the application.</p>
|
|
288
|
+
* @public
|
|
289
289
|
*/
|
|
290
290
|
name?: string;
|
|
291
291
|
/**
|
|
292
|
-
* @public
|
|
293
292
|
* <p>The ARN of the application.</p>
|
|
293
|
+
* @public
|
|
294
294
|
*/
|
|
295
295
|
arn: string | undefined;
|
|
296
296
|
/**
|
|
297
|
-
* @public
|
|
298
297
|
* <p>The Amazon EMR release associated with the application.</p>
|
|
298
|
+
* @public
|
|
299
299
|
*/
|
|
300
300
|
releaseLabel: string | undefined;
|
|
301
301
|
/**
|
|
302
|
-
* @public
|
|
303
302
|
* <p>The type of application, such as Spark or Hive.</p>
|
|
303
|
+
* @public
|
|
304
304
|
*/
|
|
305
305
|
type: string | undefined;
|
|
306
306
|
/**
|
|
307
|
-
* @public
|
|
308
307
|
* <p>The state of the application.</p>
|
|
308
|
+
* @public
|
|
309
309
|
*/
|
|
310
310
|
state: ApplicationState | undefined;
|
|
311
311
|
/**
|
|
312
|
-
* @public
|
|
313
312
|
* <p>The state details of the application.</p>
|
|
313
|
+
* @public
|
|
314
314
|
*/
|
|
315
315
|
stateDetails?: string;
|
|
316
316
|
/**
|
|
317
|
-
* @public
|
|
318
317
|
* <p>The date and time when the application was created.</p>
|
|
318
|
+
* @public
|
|
319
319
|
*/
|
|
320
320
|
createdAt: Date | undefined;
|
|
321
321
|
/**
|
|
322
|
-
* @public
|
|
323
322
|
* <p>The date and time when the application was last updated.</p>
|
|
323
|
+
* @public
|
|
324
324
|
*/
|
|
325
325
|
updatedAt: Date | undefined;
|
|
326
326
|
/**
|
|
327
|
-
* @public
|
|
328
327
|
* <p>The CPU architecture of an application.</p>
|
|
328
|
+
* @public
|
|
329
329
|
*/
|
|
330
330
|
architecture?: Architecture;
|
|
331
331
|
}
|
|
332
332
|
/**
|
|
333
|
-
* @public
|
|
334
333
|
* <p>The request could not be processed because of conflict in the current state of the
|
|
335
334
|
* resource.</p>
|
|
335
|
+
* @public
|
|
336
336
|
*/
|
|
337
337
|
export declare class ConflictException extends __BaseException {
|
|
338
338
|
readonly name: "ConflictException";
|
|
@@ -343,26 +343,26 @@ export declare class ConflictException extends __BaseException {
|
|
|
343
343
|
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
344
344
|
}
|
|
345
345
|
/**
|
|
346
|
-
* @public
|
|
347
346
|
* <p>The image configuration.</p>
|
|
347
|
+
* @public
|
|
348
348
|
*/
|
|
349
349
|
export interface ImageConfigurationInput {
|
|
350
350
|
/**
|
|
351
|
-
* @public
|
|
352
351
|
* <p>The URI of an image in the Amazon ECR registry. This field is required when you create a
|
|
353
352
|
* new application. If you leave this field blank in an update, Amazon EMR will remove
|
|
354
353
|
* the image configuration.</p>
|
|
354
|
+
* @public
|
|
355
355
|
*/
|
|
356
356
|
imageUri?: string;
|
|
357
357
|
}
|
|
358
358
|
/**
|
|
359
|
-
* @public
|
|
360
359
|
* <p>The specifications for a worker type.</p>
|
|
360
|
+
* @public
|
|
361
361
|
*/
|
|
362
362
|
export interface WorkerTypeSpecificationInput {
|
|
363
363
|
/**
|
|
364
|
-
* @public
|
|
365
364
|
* <p>The image configuration for a worker type.</p>
|
|
365
|
+
* @public
|
|
366
366
|
*/
|
|
367
367
|
imageConfiguration?: ImageConfigurationInput;
|
|
368
368
|
}
|
|
@@ -371,24 +371,24 @@ export interface WorkerTypeSpecificationInput {
|
|
|
371
371
|
*/
|
|
372
372
|
export interface CreateApplicationResponse {
|
|
373
373
|
/**
|
|
374
|
-
* @public
|
|
375
374
|
* <p>The output contains the application ID.</p>
|
|
375
|
+
* @public
|
|
376
376
|
*/
|
|
377
377
|
applicationId: string | undefined;
|
|
378
378
|
/**
|
|
379
|
-
* @public
|
|
380
379
|
* <p>The output contains the name of the application.</p>
|
|
380
|
+
* @public
|
|
381
381
|
*/
|
|
382
382
|
name?: string;
|
|
383
383
|
/**
|
|
384
|
-
* @public
|
|
385
384
|
* <p>The output contains the ARN of the application.</p>
|
|
385
|
+
* @public
|
|
386
386
|
*/
|
|
387
387
|
arn: string | undefined;
|
|
388
388
|
}
|
|
389
389
|
/**
|
|
390
|
-
* @public
|
|
391
390
|
* <p>Request processing failed because of an error or failure with the service.</p>
|
|
391
|
+
* @public
|
|
392
392
|
*/
|
|
393
393
|
export declare class InternalServerException extends __BaseException {
|
|
394
394
|
readonly name: "InternalServerException";
|
|
@@ -399,8 +399,8 @@ export declare class InternalServerException extends __BaseException {
|
|
|
399
399
|
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
400
400
|
}
|
|
401
401
|
/**
|
|
402
|
-
* @public
|
|
403
402
|
* <p>The specified resource was not found.</p>
|
|
403
|
+
* @public
|
|
404
404
|
*/
|
|
405
405
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
406
406
|
readonly name: "ResourceNotFoundException";
|
|
@@ -411,9 +411,9 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
411
411
|
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
412
412
|
}
|
|
413
413
|
/**
|
|
414
|
-
* @public
|
|
415
414
|
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services
|
|
416
415
|
* service.</p>
|
|
416
|
+
* @public
|
|
417
417
|
*/
|
|
418
418
|
export declare class ValidationException extends __BaseException {
|
|
419
419
|
readonly name: "ValidationException";
|
|
@@ -428,8 +428,8 @@ export declare class ValidationException extends __BaseException {
|
|
|
428
428
|
*/
|
|
429
429
|
export interface DeleteApplicationRequest {
|
|
430
430
|
/**
|
|
431
|
-
* @public
|
|
432
431
|
* <p>The ID of the application that will be deleted.</p>
|
|
432
|
+
* @public
|
|
433
433
|
*/
|
|
434
434
|
applicationId: string | undefined;
|
|
435
435
|
}
|
|
@@ -443,8 +443,8 @@ export interface DeleteApplicationResponse {
|
|
|
443
443
|
*/
|
|
444
444
|
export interface GetApplicationRequest {
|
|
445
445
|
/**
|
|
446
|
-
* @public
|
|
447
446
|
* <p>The ID of the application that will be described.</p>
|
|
447
|
+
* @public
|
|
448
448
|
*/
|
|
449
449
|
applicationId: string | undefined;
|
|
450
450
|
}
|
|
@@ -453,19 +453,19 @@ export interface GetApplicationRequest {
|
|
|
453
453
|
*/
|
|
454
454
|
export interface ListApplicationsRequest {
|
|
455
455
|
/**
|
|
456
|
-
* @public
|
|
457
456
|
* <p>The token for the next set of application results.</p>
|
|
457
|
+
* @public
|
|
458
458
|
*/
|
|
459
459
|
nextToken?: string;
|
|
460
460
|
/**
|
|
461
|
-
* @public
|
|
462
461
|
* <p>The maximum number of applications that can be listed.</p>
|
|
462
|
+
* @public
|
|
463
463
|
*/
|
|
464
464
|
maxResults?: number;
|
|
465
465
|
/**
|
|
466
|
-
* @public
|
|
467
466
|
* <p>An optional filter for application states. Note that if this filter contains multiple
|
|
468
467
|
* states, the resulting list will be grouped by the state.</p>
|
|
468
|
+
* @public
|
|
469
469
|
*/
|
|
470
470
|
states?: ApplicationState[];
|
|
471
471
|
}
|
|
@@ -474,20 +474,20 @@ export interface ListApplicationsRequest {
|
|
|
474
474
|
*/
|
|
475
475
|
export interface ListApplicationsResponse {
|
|
476
476
|
/**
|
|
477
|
-
* @public
|
|
478
477
|
* <p>The output lists the specified applications.</p>
|
|
478
|
+
* @public
|
|
479
479
|
*/
|
|
480
480
|
applications: ApplicationSummary[] | undefined;
|
|
481
481
|
/**
|
|
482
|
-
* @public
|
|
483
482
|
* <p>The output displays the token for the next set of application results. This is required
|
|
484
483
|
* for pagination and is available as a response of the previous request.</p>
|
|
484
|
+
* @public
|
|
485
485
|
*/
|
|
486
486
|
nextToken?: string;
|
|
487
487
|
}
|
|
488
488
|
/**
|
|
489
|
-
* @public
|
|
490
489
|
* <p>The maximum number of resources per account has been reached.</p>
|
|
490
|
+
* @public
|
|
491
491
|
*/
|
|
492
492
|
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
493
493
|
readonly name: "ServiceQuotaExceededException";
|
|
@@ -502,8 +502,8 @@ export declare class ServiceQuotaExceededException extends __BaseException {
|
|
|
502
502
|
*/
|
|
503
503
|
export interface StartApplicationRequest {
|
|
504
504
|
/**
|
|
505
|
-
* @public
|
|
506
505
|
* <p>The ID of the application to start.</p>
|
|
506
|
+
* @public
|
|
507
507
|
*/
|
|
508
508
|
applicationId: string | undefined;
|
|
509
509
|
}
|
|
@@ -517,8 +517,8 @@ export interface StartApplicationResponse {
|
|
|
517
517
|
*/
|
|
518
518
|
export interface StopApplicationRequest {
|
|
519
519
|
/**
|
|
520
|
-
* @public
|
|
521
520
|
* <p>The ID of the application to stop.</p>
|
|
521
|
+
* @public
|
|
522
522
|
*/
|
|
523
523
|
applicationId: string | undefined;
|
|
524
524
|
}
|
|
@@ -532,13 +532,13 @@ export interface StopApplicationResponse {
|
|
|
532
532
|
*/
|
|
533
533
|
export interface CancelJobRunRequest {
|
|
534
534
|
/**
|
|
535
|
-
* @public
|
|
536
535
|
* <p>The ID of the application on which the job run will be canceled.</p>
|
|
536
|
+
* @public
|
|
537
537
|
*/
|
|
538
538
|
applicationId: string | undefined;
|
|
539
539
|
/**
|
|
540
|
-
* @public
|
|
541
540
|
* <p>The ID of the job run to cancel.</p>
|
|
541
|
+
* @public
|
|
542
542
|
*/
|
|
543
543
|
jobRunId: string | undefined;
|
|
544
544
|
}
|
|
@@ -547,13 +547,13 @@ export interface CancelJobRunRequest {
|
|
|
547
547
|
*/
|
|
548
548
|
export interface CancelJobRunResponse {
|
|
549
549
|
/**
|
|
550
|
-
* @public
|
|
551
550
|
* <p>The output contains the application ID on which the job run is cancelled.</p>
|
|
551
|
+
* @public
|
|
552
552
|
*/
|
|
553
553
|
applicationId: string | undefined;
|
|
554
554
|
/**
|
|
555
|
-
* @public
|
|
556
555
|
* <p>The output contains the ID of the cancelled job run.</p>
|
|
556
|
+
* @public
|
|
557
557
|
*/
|
|
558
558
|
jobRunId: string | undefined;
|
|
559
559
|
}
|
|
@@ -562,13 +562,13 @@ export interface CancelJobRunResponse {
|
|
|
562
562
|
*/
|
|
563
563
|
export interface GetDashboardForJobRunRequest {
|
|
564
564
|
/**
|
|
565
|
-
* @public
|
|
566
565
|
* <p>The ID of the application.</p>
|
|
566
|
+
* @public
|
|
567
567
|
*/
|
|
568
568
|
applicationId: string | undefined;
|
|
569
569
|
/**
|
|
570
|
-
* @public
|
|
571
570
|
* <p>The ID of the job run.</p>
|
|
571
|
+
* @public
|
|
572
572
|
*/
|
|
573
573
|
jobRunId: string | undefined;
|
|
574
574
|
}
|
|
@@ -577,8 +577,8 @@ export interface GetDashboardForJobRunRequest {
|
|
|
577
577
|
*/
|
|
578
578
|
export interface GetDashboardForJobRunResponse {
|
|
579
579
|
/**
|
|
580
|
-
* @public
|
|
581
580
|
* <p>The URL to view job run's dashboard.</p>
|
|
581
|
+
* @public
|
|
582
582
|
*/
|
|
583
583
|
url?: string;
|
|
584
584
|
}
|
|
@@ -587,85 +587,85 @@ export interface GetDashboardForJobRunResponse {
|
|
|
587
587
|
*/
|
|
588
588
|
export interface GetJobRunRequest {
|
|
589
589
|
/**
|
|
590
|
-
* @public
|
|
591
590
|
* <p>The ID of the application on which the job run is submitted.</p>
|
|
591
|
+
* @public
|
|
592
592
|
*/
|
|
593
593
|
applicationId: string | undefined;
|
|
594
594
|
/**
|
|
595
|
-
* @public
|
|
596
595
|
* <p>The ID of the job run.</p>
|
|
596
|
+
* @public
|
|
597
597
|
*/
|
|
598
598
|
jobRunId: string | undefined;
|
|
599
599
|
}
|
|
600
600
|
/**
|
|
601
|
-
* @public
|
|
602
601
|
* <p>The resource utilization for memory, storage, and vCPU for jobs.</p>
|
|
602
|
+
* @public
|
|
603
603
|
*/
|
|
604
604
|
export interface ResourceUtilization {
|
|
605
605
|
/**
|
|
606
|
-
* @public
|
|
607
606
|
* <p>The aggregated vCPU used per hour from the time the job starts executing until the job
|
|
608
607
|
* is terminated.</p>
|
|
608
|
+
* @public
|
|
609
609
|
*/
|
|
610
610
|
vCPUHour?: number;
|
|
611
611
|
/**
|
|
612
|
-
* @public
|
|
613
612
|
* <p>The aggregated memory used per hour from the time the job starts executing until the job
|
|
614
613
|
* is terminated.</p>
|
|
614
|
+
* @public
|
|
615
615
|
*/
|
|
616
616
|
memoryGBHour?: number;
|
|
617
617
|
/**
|
|
618
|
-
* @public
|
|
619
618
|
* <p>The aggregated storage used per hour from the time the job starts executing until the
|
|
620
619
|
* job is terminated.</p>
|
|
620
|
+
* @public
|
|
621
621
|
*/
|
|
622
622
|
storageGBHour?: number;
|
|
623
623
|
}
|
|
624
624
|
/**
|
|
625
|
-
* @public
|
|
626
625
|
* <p>The configurations for the Hive job driver.</p>
|
|
626
|
+
* @public
|
|
627
627
|
*/
|
|
628
628
|
export interface Hive {
|
|
629
629
|
/**
|
|
630
|
-
* @public
|
|
631
630
|
* <p>The query for the Hive job run.</p>
|
|
631
|
+
* @public
|
|
632
632
|
*/
|
|
633
633
|
query: string | undefined;
|
|
634
634
|
/**
|
|
635
|
-
* @public
|
|
636
635
|
* <p>The query file for the Hive job run.</p>
|
|
636
|
+
* @public
|
|
637
637
|
*/
|
|
638
638
|
initQueryFile?: string;
|
|
639
639
|
/**
|
|
640
|
-
* @public
|
|
641
640
|
* <p>The parameters for the Hive job run.</p>
|
|
641
|
+
* @public
|
|
642
642
|
*/
|
|
643
643
|
parameters?: string;
|
|
644
644
|
}
|
|
645
645
|
/**
|
|
646
|
-
* @public
|
|
647
646
|
* <p>The configurations for the Spark submit job driver.</p>
|
|
647
|
+
* @public
|
|
648
648
|
*/
|
|
649
649
|
export interface SparkSubmit {
|
|
650
650
|
/**
|
|
651
|
-
* @public
|
|
652
651
|
* <p>The entry point for the Spark submit job run.</p>
|
|
652
|
+
* @public
|
|
653
653
|
*/
|
|
654
654
|
entryPoint: string | undefined;
|
|
655
655
|
/**
|
|
656
|
-
* @public
|
|
657
656
|
* <p>The arguments for the Spark submit job run.</p>
|
|
657
|
+
* @public
|
|
658
658
|
*/
|
|
659
659
|
entryPointArguments?: string[];
|
|
660
660
|
/**
|
|
661
|
-
* @public
|
|
662
661
|
* <p>The parameters for the Spark submit job run.</p>
|
|
662
|
+
* @public
|
|
663
663
|
*/
|
|
664
664
|
sparkSubmitParameters?: string;
|
|
665
665
|
}
|
|
666
666
|
/**
|
|
667
|
-
* @public
|
|
668
667
|
* <p>The driver that the job runs on.</p>
|
|
668
|
+
* @public
|
|
669
669
|
*/
|
|
670
670
|
export type JobDriver = JobDriver.HiveMember | JobDriver.SparkSubmitMember | JobDriver.$UnknownMember;
|
|
671
671
|
/**
|
|
@@ -673,8 +673,8 @@ export type JobDriver = JobDriver.HiveMember | JobDriver.SparkSubmitMember | Job
|
|
|
673
673
|
*/
|
|
674
674
|
export declare namespace JobDriver {
|
|
675
675
|
/**
|
|
676
|
-
* @public
|
|
677
676
|
* <p>The job driver parameters specified for Spark.</p>
|
|
677
|
+
* @public
|
|
678
678
|
*/
|
|
679
679
|
interface SparkSubmitMember {
|
|
680
680
|
sparkSubmit: SparkSubmit;
|
|
@@ -682,8 +682,8 @@ export declare namespace JobDriver {
|
|
|
682
682
|
$unknown?: never;
|
|
683
683
|
}
|
|
684
684
|
/**
|
|
685
|
-
* @public
|
|
686
685
|
* <p>The job driver parameters specified for Hive.</p>
|
|
686
|
+
* @public
|
|
687
687
|
*/
|
|
688
688
|
interface HiveMember {
|
|
689
689
|
sparkSubmit?: never;
|
|
@@ -724,27 +724,27 @@ export declare const JobRunState: {
|
|
|
724
724
|
*/
|
|
725
725
|
export type JobRunState = (typeof JobRunState)[keyof typeof JobRunState];
|
|
726
726
|
/**
|
|
727
|
-
* @public
|
|
728
727
|
* <p>The aggregate vCPU, memory, and storage resources used from the time job start executing
|
|
729
728
|
* till the time job is terminated, rounded up to the nearest second.</p>
|
|
729
|
+
* @public
|
|
730
730
|
*/
|
|
731
731
|
export interface TotalResourceUtilization {
|
|
732
732
|
/**
|
|
733
|
-
* @public
|
|
734
733
|
* <p>The aggregated vCPU used per hour from the time job start executing till the time job is
|
|
735
734
|
* terminated.</p>
|
|
735
|
+
* @public
|
|
736
736
|
*/
|
|
737
737
|
vCPUHour?: number;
|
|
738
738
|
/**
|
|
739
|
-
* @public
|
|
740
739
|
* <p>The aggregated memory used per hour from the time job start executing till the time job
|
|
741
740
|
* is terminated.</p>
|
|
741
|
+
* @public
|
|
742
742
|
*/
|
|
743
743
|
memoryGBHour?: number;
|
|
744
744
|
/**
|
|
745
|
-
* @public
|
|
746
745
|
* <p>The aggregated storage used per hour from the time job start executing till the time job
|
|
747
746
|
* is terminated.</p>
|
|
747
|
+
* @public
|
|
748
748
|
*/
|
|
749
749
|
storageGBHour?: number;
|
|
750
750
|
}
|
|
@@ -753,101 +753,101 @@ export interface TotalResourceUtilization {
|
|
|
753
753
|
*/
|
|
754
754
|
export interface ListJobRunsRequest {
|
|
755
755
|
/**
|
|
756
|
-
* @public
|
|
757
756
|
* <p>The ID of the application for which to list the job run.</p>
|
|
757
|
+
* @public
|
|
758
758
|
*/
|
|
759
759
|
applicationId: string | undefined;
|
|
760
760
|
/**
|
|
761
|
-
* @public
|
|
762
761
|
* <p>The token for the next set of job run results.</p>
|
|
762
|
+
* @public
|
|
763
763
|
*/
|
|
764
764
|
nextToken?: string;
|
|
765
765
|
/**
|
|
766
|
-
* @public
|
|
767
766
|
* <p>The maximum number of job runs that can be listed.</p>
|
|
767
|
+
* @public
|
|
768
768
|
*/
|
|
769
769
|
maxResults?: number;
|
|
770
770
|
/**
|
|
771
|
-
* @public
|
|
772
771
|
* <p>The lower bound of the option to filter by creation date and time.</p>
|
|
772
|
+
* @public
|
|
773
773
|
*/
|
|
774
774
|
createdAtAfter?: Date;
|
|
775
775
|
/**
|
|
776
|
-
* @public
|
|
777
776
|
* <p>The upper bound of the option to filter by creation date and time.</p>
|
|
777
|
+
* @public
|
|
778
778
|
*/
|
|
779
779
|
createdAtBefore?: Date;
|
|
780
780
|
/**
|
|
781
|
-
* @public
|
|
782
781
|
* <p>An optional filter for job run states. Note that if this filter contains multiple
|
|
783
782
|
* states, the resulting list will be grouped by the state.</p>
|
|
783
|
+
* @public
|
|
784
784
|
*/
|
|
785
785
|
states?: JobRunState[];
|
|
786
786
|
}
|
|
787
787
|
/**
|
|
788
|
-
* @public
|
|
789
788
|
* <p>The summary of attributes associated with a job run.</p>
|
|
789
|
+
* @public
|
|
790
790
|
*/
|
|
791
791
|
export interface JobRunSummary {
|
|
792
792
|
/**
|
|
793
|
-
* @public
|
|
794
793
|
* <p>The ID of the application the job is running on.</p>
|
|
794
|
+
* @public
|
|
795
795
|
*/
|
|
796
796
|
applicationId: string | undefined;
|
|
797
797
|
/**
|
|
798
|
-
* @public
|
|
799
798
|
* <p>The ID of the job run.</p>
|
|
799
|
+
* @public
|
|
800
800
|
*/
|
|
801
801
|
id: string | undefined;
|
|
802
802
|
/**
|
|
803
|
-
* @public
|
|
804
803
|
* <p>The optional job run name. This doesn't have to be unique.</p>
|
|
804
|
+
* @public
|
|
805
805
|
*/
|
|
806
806
|
name?: string;
|
|
807
807
|
/**
|
|
808
|
-
* @public
|
|
809
808
|
* <p>The ARN of the job run.</p>
|
|
809
|
+
* @public
|
|
810
810
|
*/
|
|
811
811
|
arn: string | undefined;
|
|
812
812
|
/**
|
|
813
|
-
* @public
|
|
814
813
|
* <p>The user who created the job run.</p>
|
|
814
|
+
* @public
|
|
815
815
|
*/
|
|
816
816
|
createdBy: string | undefined;
|
|
817
817
|
/**
|
|
818
|
-
* @public
|
|
819
818
|
* <p>The date and time when the job run was created.</p>
|
|
819
|
+
* @public
|
|
820
820
|
*/
|
|
821
821
|
createdAt: Date | undefined;
|
|
822
822
|
/**
|
|
823
|
-
* @public
|
|
824
823
|
* <p>The date and time when the job run was last updated.</p>
|
|
824
|
+
* @public
|
|
825
825
|
*/
|
|
826
826
|
updatedAt: Date | undefined;
|
|
827
827
|
/**
|
|
828
|
-
* @public
|
|
829
828
|
* <p>The execution role ARN of the job run.</p>
|
|
829
|
+
* @public
|
|
830
830
|
*/
|
|
831
831
|
executionRole: string | undefined;
|
|
832
832
|
/**
|
|
833
|
-
* @public
|
|
834
833
|
* <p>The state of the job run.</p>
|
|
834
|
+
* @public
|
|
835
835
|
*/
|
|
836
836
|
state: JobRunState | undefined;
|
|
837
837
|
/**
|
|
838
|
-
* @public
|
|
839
838
|
* <p>The state details of the job run.</p>
|
|
839
|
+
* @public
|
|
840
840
|
*/
|
|
841
841
|
stateDetails: string | undefined;
|
|
842
842
|
/**
|
|
843
|
-
* @public
|
|
844
843
|
* <p>The Amazon EMR release associated with the application your job is running
|
|
845
844
|
* on.</p>
|
|
845
|
+
* @public
|
|
846
846
|
*/
|
|
847
847
|
releaseLabel: string | undefined;
|
|
848
848
|
/**
|
|
849
|
-
* @public
|
|
850
849
|
* <p>The type of job run, such as Spark or Hive.</p>
|
|
850
|
+
* @public
|
|
851
851
|
*/
|
|
852
852
|
type?: string;
|
|
853
853
|
}
|
|
@@ -856,14 +856,14 @@ export interface JobRunSummary {
|
|
|
856
856
|
*/
|
|
857
857
|
export interface ListJobRunsResponse {
|
|
858
858
|
/**
|
|
859
|
-
* @public
|
|
860
859
|
* <p>The output lists information about the specified job runs.</p>
|
|
860
|
+
* @public
|
|
861
861
|
*/
|
|
862
862
|
jobRuns: JobRunSummary[] | undefined;
|
|
863
863
|
/**
|
|
864
|
-
* @public
|
|
865
864
|
* <p>The output displays the token for the next set of job run results. This is required for
|
|
866
865
|
* pagination and is available as a response of the previous request.</p>
|
|
866
|
+
* @public
|
|
867
867
|
*/
|
|
868
868
|
nextToken?: string;
|
|
869
869
|
}
|
|
@@ -872,18 +872,18 @@ export interface ListJobRunsResponse {
|
|
|
872
872
|
*/
|
|
873
873
|
export interface StartJobRunResponse {
|
|
874
874
|
/**
|
|
875
|
-
* @public
|
|
876
875
|
* <p>This output displays the application ID on which the job run was submitted.</p>
|
|
876
|
+
* @public
|
|
877
877
|
*/
|
|
878
878
|
applicationId: string | undefined;
|
|
879
879
|
/**
|
|
880
|
-
* @public
|
|
881
880
|
* <p>The output contains the ID of the started job run.</p>
|
|
881
|
+
* @public
|
|
882
882
|
*/
|
|
883
883
|
jobRunId: string | undefined;
|
|
884
884
|
/**
|
|
885
|
-
* @public
|
|
886
885
|
* <p>This output displays the ARN of the job run..</p>
|
|
886
|
+
* @public
|
|
887
887
|
*/
|
|
888
888
|
arn: string | undefined;
|
|
889
889
|
}
|
|
@@ -892,10 +892,10 @@ export interface StartJobRunResponse {
|
|
|
892
892
|
*/
|
|
893
893
|
export interface ListTagsForResourceRequest {
|
|
894
894
|
/**
|
|
895
|
-
* @public
|
|
896
895
|
* <p>The Amazon Resource Name (ARN) that identifies the resource to list the tags for.
|
|
897
896
|
* Currently, the supported resources are Amazon EMR Serverless applications and job
|
|
898
897
|
* runs.</p>
|
|
898
|
+
* @public
|
|
899
899
|
*/
|
|
900
900
|
resourceArn: string | undefined;
|
|
901
901
|
}
|
|
@@ -904,8 +904,8 @@ export interface ListTagsForResourceRequest {
|
|
|
904
904
|
*/
|
|
905
905
|
export interface ListTagsForResourceResponse {
|
|
906
906
|
/**
|
|
907
|
-
* @public
|
|
908
907
|
* <p>The tags for the resource.</p>
|
|
908
|
+
* @public
|
|
909
909
|
*/
|
|
910
910
|
tags?: Record<string, string>;
|
|
911
911
|
}
|
|
@@ -914,15 +914,15 @@ export interface ListTagsForResourceResponse {
|
|
|
914
914
|
*/
|
|
915
915
|
export interface TagResourceRequest {
|
|
916
916
|
/**
|
|
917
|
-
* @public
|
|
918
917
|
* <p>The Amazon Resource Name (ARN) that identifies the resource to list the tags for.
|
|
919
918
|
* Currently, the supported resources are Amazon EMR Serverless applications and job
|
|
920
919
|
* runs.</p>
|
|
920
|
+
* @public
|
|
921
921
|
*/
|
|
922
922
|
resourceArn: string | undefined;
|
|
923
923
|
/**
|
|
924
|
-
* @public
|
|
925
924
|
* <p>The tags to add to the resource. A tag is an array of key-value pairs.</p>
|
|
925
|
+
* @public
|
|
926
926
|
*/
|
|
927
927
|
tags: Record<string, string> | undefined;
|
|
928
928
|
}
|
|
@@ -936,15 +936,15 @@ export interface TagResourceResponse {
|
|
|
936
936
|
*/
|
|
937
937
|
export interface UntagResourceRequest {
|
|
938
938
|
/**
|
|
939
|
-
* @public
|
|
940
939
|
* <p>The Amazon Resource Name (ARN) that identifies the resource to list the tags for.
|
|
941
940
|
* Currently, the supported resources are Amazon EMR Serverless applications and job
|
|
942
941
|
* runs.</p>
|
|
942
|
+
* @public
|
|
943
943
|
*/
|
|
944
944
|
resourceArn: string | undefined;
|
|
945
945
|
/**
|
|
946
|
-
* @public
|
|
947
946
|
* <p>The keys of the tags to be removed.</p>
|
|
947
|
+
* @public
|
|
948
948
|
*/
|
|
949
949
|
tagKeys: string[] | undefined;
|
|
950
950
|
}
|
|
@@ -954,155 +954,155 @@ export interface UntagResourceRequest {
|
|
|
954
954
|
export interface UntagResourceResponse {
|
|
955
955
|
}
|
|
956
956
|
/**
|
|
957
|
-
* @public
|
|
958
957
|
* <p>A configuration specification to be used when provisioning an application. A
|
|
959
958
|
* configuration consists of a classification, properties, and optional nested configurations.
|
|
960
959
|
* A classification refers to an application-specific configuration file. Properties are the
|
|
961
960
|
* settings you want to change in that file.</p>
|
|
961
|
+
* @public
|
|
962
962
|
*/
|
|
963
963
|
export interface Configuration {
|
|
964
964
|
/**
|
|
965
|
-
* @public
|
|
966
965
|
* <p>The classification within a configuration.</p>
|
|
966
|
+
* @public
|
|
967
967
|
*/
|
|
968
968
|
classification: string | undefined;
|
|
969
969
|
/**
|
|
970
|
-
* @public
|
|
971
970
|
* <p>A set of properties specified within a configuration classification.</p>
|
|
971
|
+
* @public
|
|
972
972
|
*/
|
|
973
973
|
properties?: Record<string, string>;
|
|
974
974
|
/**
|
|
975
|
-
* @public
|
|
976
975
|
* <p>A list of additional configurations to apply within a configuration object.</p>
|
|
976
|
+
* @public
|
|
977
977
|
*/
|
|
978
978
|
configurations?: Configuration[];
|
|
979
979
|
}
|
|
980
980
|
/**
|
|
981
|
-
* @public
|
|
982
981
|
* <p>Information about an application. Amazon EMR Serverless uses applications to run
|
|
983
982
|
* jobs.</p>
|
|
983
|
+
* @public
|
|
984
984
|
*/
|
|
985
985
|
export interface Application {
|
|
986
986
|
/**
|
|
987
|
-
* @public
|
|
988
987
|
* <p>The ID of the application.</p>
|
|
988
|
+
* @public
|
|
989
989
|
*/
|
|
990
990
|
applicationId: string | undefined;
|
|
991
991
|
/**
|
|
992
|
-
* @public
|
|
993
992
|
* <p>The name of the application.</p>
|
|
993
|
+
* @public
|
|
994
994
|
*/
|
|
995
995
|
name?: string;
|
|
996
996
|
/**
|
|
997
|
-
* @public
|
|
998
997
|
* <p>The ARN of the application.</p>
|
|
998
|
+
* @public
|
|
999
999
|
*/
|
|
1000
1000
|
arn: string | undefined;
|
|
1001
1001
|
/**
|
|
1002
|
-
* @public
|
|
1003
1002
|
* <p>The Amazon EMR release associated with the application.</p>
|
|
1003
|
+
* @public
|
|
1004
1004
|
*/
|
|
1005
1005
|
releaseLabel: string | undefined;
|
|
1006
1006
|
/**
|
|
1007
|
-
* @public
|
|
1008
1007
|
* <p>The type of application, such as Spark or Hive.</p>
|
|
1008
|
+
* @public
|
|
1009
1009
|
*/
|
|
1010
1010
|
type: string | undefined;
|
|
1011
1011
|
/**
|
|
1012
|
-
* @public
|
|
1013
1012
|
* <p>The state of the application.</p>
|
|
1013
|
+
* @public
|
|
1014
1014
|
*/
|
|
1015
1015
|
state: ApplicationState | undefined;
|
|
1016
1016
|
/**
|
|
1017
|
-
* @public
|
|
1018
1017
|
* <p>The state details of the application.</p>
|
|
1018
|
+
* @public
|
|
1019
1019
|
*/
|
|
1020
1020
|
stateDetails?: string;
|
|
1021
1021
|
/**
|
|
1022
|
-
* @public
|
|
1023
1022
|
* <p>The initial capacity of the application.</p>
|
|
1023
|
+
* @public
|
|
1024
1024
|
*/
|
|
1025
1025
|
initialCapacity?: Record<string, InitialCapacityConfig>;
|
|
1026
1026
|
/**
|
|
1027
|
-
* @public
|
|
1028
1027
|
* <p>The maximum capacity of the application. This is cumulative across all workers at any
|
|
1029
1028
|
* given point in time during the lifespan of the application is created. No new resources
|
|
1030
1029
|
* will be created once any one of the defined limits is hit.</p>
|
|
1030
|
+
* @public
|
|
1031
1031
|
*/
|
|
1032
1032
|
maximumCapacity?: MaximumAllowedResources;
|
|
1033
1033
|
/**
|
|
1034
|
-
* @public
|
|
1035
1034
|
* <p>The date and time when the application run was created.</p>
|
|
1035
|
+
* @public
|
|
1036
1036
|
*/
|
|
1037
1037
|
createdAt: Date | undefined;
|
|
1038
1038
|
/**
|
|
1039
|
-
* @public
|
|
1040
1039
|
* <p>The date and time when the application run was last updated.</p>
|
|
1040
|
+
* @public
|
|
1041
1041
|
*/
|
|
1042
1042
|
updatedAt: Date | undefined;
|
|
1043
1043
|
/**
|
|
1044
|
-
* @public
|
|
1045
1044
|
* <p>The tags assigned to the application.</p>
|
|
1045
|
+
* @public
|
|
1046
1046
|
*/
|
|
1047
1047
|
tags?: Record<string, string>;
|
|
1048
1048
|
/**
|
|
1049
|
-
* @public
|
|
1050
1049
|
* <p>The configuration for an application to automatically start on job submission.</p>
|
|
1050
|
+
* @public
|
|
1051
1051
|
*/
|
|
1052
1052
|
autoStartConfiguration?: AutoStartConfig;
|
|
1053
1053
|
/**
|
|
1054
|
-
* @public
|
|
1055
1054
|
* <p>The configuration for an application to automatically stop after a certain amount of
|
|
1056
1055
|
* time being idle.</p>
|
|
1056
|
+
* @public
|
|
1057
1057
|
*/
|
|
1058
1058
|
autoStopConfiguration?: AutoStopConfig;
|
|
1059
1059
|
/**
|
|
1060
|
-
* @public
|
|
1061
1060
|
* <p>The network configuration for customer VPC connectivity for the application.</p>
|
|
1061
|
+
* @public
|
|
1062
1062
|
*/
|
|
1063
1063
|
networkConfiguration?: NetworkConfiguration;
|
|
1064
1064
|
/**
|
|
1065
|
-
* @public
|
|
1066
1065
|
* <p>The CPU architecture of an application.</p>
|
|
1066
|
+
* @public
|
|
1067
1067
|
*/
|
|
1068
1068
|
architecture?: Architecture;
|
|
1069
1069
|
/**
|
|
1070
|
-
* @public
|
|
1071
1070
|
* <p>The image configuration applied to all worker types.</p>
|
|
1071
|
+
* @public
|
|
1072
1072
|
*/
|
|
1073
1073
|
imageConfiguration?: ImageConfiguration;
|
|
1074
1074
|
/**
|
|
1075
|
-
* @public
|
|
1076
1075
|
* <p>The specification applied to each worker type.</p>
|
|
1076
|
+
* @public
|
|
1077
1077
|
*/
|
|
1078
1078
|
workerTypeSpecifications?: Record<string, WorkerTypeSpecification>;
|
|
1079
1079
|
/**
|
|
1080
|
-
* @public
|
|
1081
1080
|
* <p>The <a href="https://docs.aws.amazon.com/emr-serverless/latest/APIReference/API_Configuration.html">Configuration</a>
|
|
1082
1081
|
* specifications of an application. Each configuration consists of a classification and properties. You use this
|
|
1083
1082
|
* parameter when creating or updating an application. To see the runtimeConfiguration object of an application,
|
|
1084
1083
|
* run the <a href="https://docs.aws.amazon.com/emr-serverless/latest/APIReference/API_GetApplication.html">GetApplication</a> API operation.</p>
|
|
1084
|
+
* @public
|
|
1085
1085
|
*/
|
|
1086
1086
|
runtimeConfiguration?: Configuration[];
|
|
1087
1087
|
/**
|
|
1088
|
-
* @public
|
|
1089
1088
|
* <p>The configuration setting for monitoring.</p>
|
|
1089
|
+
* @public
|
|
1090
1090
|
*/
|
|
1091
1091
|
monitoringConfiguration?: MonitoringConfiguration;
|
|
1092
1092
|
}
|
|
1093
1093
|
/**
|
|
1094
|
-
* @public
|
|
1095
1094
|
* <p>A configuration specification to be used to override existing configurations.</p>
|
|
1095
|
+
* @public
|
|
1096
1096
|
*/
|
|
1097
1097
|
export interface ConfigurationOverrides {
|
|
1098
1098
|
/**
|
|
1099
|
-
* @public
|
|
1100
1099
|
* <p>The override configurations for the application.</p>
|
|
1100
|
+
* @public
|
|
1101
1101
|
*/
|
|
1102
1102
|
applicationConfiguration?: Configuration[];
|
|
1103
1103
|
/**
|
|
1104
|
-
* @public
|
|
1105
1104
|
* <p>The override configurations for monitoring.</p>
|
|
1105
|
+
* @public
|
|
1106
1106
|
*/
|
|
1107
1107
|
monitoringConfiguration?: MonitoringConfiguration;
|
|
1108
1108
|
}
|
|
@@ -1111,73 +1111,72 @@ export interface ConfigurationOverrides {
|
|
|
1111
1111
|
*/
|
|
1112
1112
|
export interface CreateApplicationRequest {
|
|
1113
1113
|
/**
|
|
1114
|
-
* @public
|
|
1115
1114
|
* <p>The name of the application.</p>
|
|
1115
|
+
* @public
|
|
1116
1116
|
*/
|
|
1117
1117
|
name?: string;
|
|
1118
1118
|
/**
|
|
1119
|
-
* @public
|
|
1120
1119
|
* <p>The Amazon EMR release associated with the application.</p>
|
|
1120
|
+
* @public
|
|
1121
1121
|
*/
|
|
1122
1122
|
releaseLabel: string | undefined;
|
|
1123
1123
|
/**
|
|
1124
|
-
* @public
|
|
1125
1124
|
* <p>The type of application you want to start, such as Spark or Hive.</p>
|
|
1125
|
+
* @public
|
|
1126
1126
|
*/
|
|
1127
1127
|
type: string | undefined;
|
|
1128
1128
|
/**
|
|
1129
|
-
* @public
|
|
1130
1129
|
* <p>The client idempotency token of the application to create. Its value must be unique for
|
|
1131
1130
|
* each request.</p>
|
|
1131
|
+
* @public
|
|
1132
1132
|
*/
|
|
1133
1133
|
clientToken?: string;
|
|
1134
1134
|
/**
|
|
1135
|
-
* @public
|
|
1136
1135
|
* <p>The capacity to initialize when the application is created.</p>
|
|
1136
|
+
* @public
|
|
1137
1137
|
*/
|
|
1138
1138
|
initialCapacity?: Record<string, InitialCapacityConfig>;
|
|
1139
1139
|
/**
|
|
1140
|
-
* @public
|
|
1141
1140
|
* <p>The maximum capacity to allocate when the application is created. This is cumulative
|
|
1142
1141
|
* across all workers at any given point in time, not just when an application is created. No
|
|
1143
1142
|
* new resources will be created once any one of the defined limits is hit.</p>
|
|
1143
|
+
* @public
|
|
1144
1144
|
*/
|
|
1145
1145
|
maximumCapacity?: MaximumAllowedResources;
|
|
1146
1146
|
/**
|
|
1147
|
-
* @public
|
|
1148
1147
|
* <p>The tags assigned to the application.</p>
|
|
1148
|
+
* @public
|
|
1149
1149
|
*/
|
|
1150
1150
|
tags?: Record<string, string>;
|
|
1151
1151
|
/**
|
|
1152
|
-
* @public
|
|
1153
1152
|
* <p>The configuration for an application to automatically start on job submission.</p>
|
|
1153
|
+
* @public
|
|
1154
1154
|
*/
|
|
1155
1155
|
autoStartConfiguration?: AutoStartConfig;
|
|
1156
1156
|
/**
|
|
1157
|
-
* @public
|
|
1158
1157
|
* <p>The configuration for an application to automatically stop after a certain amount of
|
|
1159
1158
|
* time being idle.</p>
|
|
1159
|
+
* @public
|
|
1160
1160
|
*/
|
|
1161
1161
|
autoStopConfiguration?: AutoStopConfig;
|
|
1162
1162
|
/**
|
|
1163
|
-
* @public
|
|
1164
1163
|
* <p>The network configuration for customer VPC connectivity.</p>
|
|
1164
|
+
* @public
|
|
1165
1165
|
*/
|
|
1166
1166
|
networkConfiguration?: NetworkConfiguration;
|
|
1167
1167
|
/**
|
|
1168
|
-
* @public
|
|
1169
1168
|
* <p>The CPU architecture of an application.</p>
|
|
1169
|
+
* @public
|
|
1170
1170
|
*/
|
|
1171
1171
|
architecture?: Architecture;
|
|
1172
1172
|
/**
|
|
1173
|
-
* @public
|
|
1174
1173
|
* <p>The image configuration for all worker types. You can either set this parameter or
|
|
1175
1174
|
* <code>imageConfiguration</code> for each worker type in
|
|
1176
1175
|
* <code>workerTypeSpecifications</code>.</p>
|
|
1176
|
+
* @public
|
|
1177
1177
|
*/
|
|
1178
1178
|
imageConfiguration?: ImageConfigurationInput;
|
|
1179
1179
|
/**
|
|
1180
|
-
* @public
|
|
1181
1180
|
* <p>The key-value pairs that specify worker type to
|
|
1182
1181
|
* <code>WorkerTypeSpecificationInput</code>. This parameter must contain all valid worker
|
|
1183
1182
|
* types for a Spark or Hive application. Valid worker types include <code>Driver</code> and
|
|
@@ -1185,18 +1184,19 @@ export interface CreateApplicationRequest {
|
|
|
1185
1184
|
* <code>TezTask</code> for Hive applications. You can either set image details in this
|
|
1186
1185
|
* parameter for each worker type, or in <code>imageConfiguration</code> for all worker
|
|
1187
1186
|
* types.</p>
|
|
1187
|
+
* @public
|
|
1188
1188
|
*/
|
|
1189
1189
|
workerTypeSpecifications?: Record<string, WorkerTypeSpecificationInput>;
|
|
1190
1190
|
/**
|
|
1191
|
-
* @public
|
|
1192
1191
|
* <p>The <a href="https://docs.aws.amazon.com/emr-serverless/latest/APIReference/API_Configuration.html">Configuration</a>
|
|
1193
1192
|
* specifications to use when creating an application. Each configuration consists of a classification and properties.
|
|
1194
1193
|
* This configuration is applied to all the job runs submitted under the application.</p>
|
|
1194
|
+
* @public
|
|
1195
1195
|
*/
|
|
1196
1196
|
runtimeConfiguration?: Configuration[];
|
|
1197
1197
|
/**
|
|
1198
|
-
* @public
|
|
1199
1198
|
* <p>The configuration setting for monitoring.</p>
|
|
1199
|
+
* @public
|
|
1200
1200
|
*/
|
|
1201
1201
|
monitoringConfiguration?: MonitoringConfiguration;
|
|
1202
1202
|
}
|
|
@@ -1205,58 +1205,57 @@ export interface CreateApplicationRequest {
|
|
|
1205
1205
|
*/
|
|
1206
1206
|
export interface UpdateApplicationRequest {
|
|
1207
1207
|
/**
|
|
1208
|
-
* @public
|
|
1209
1208
|
* <p>The ID of the application to update.</p>
|
|
1209
|
+
* @public
|
|
1210
1210
|
*/
|
|
1211
1211
|
applicationId: string | undefined;
|
|
1212
1212
|
/**
|
|
1213
|
-
* @public
|
|
1214
1213
|
* <p>The client idempotency token of the application to update. Its value must be unique for
|
|
1215
1214
|
* each request.</p>
|
|
1215
|
+
* @public
|
|
1216
1216
|
*/
|
|
1217
1217
|
clientToken?: string;
|
|
1218
1218
|
/**
|
|
1219
|
-
* @public
|
|
1220
1219
|
* <p>The capacity to initialize when the application is updated.</p>
|
|
1220
|
+
* @public
|
|
1221
1221
|
*/
|
|
1222
1222
|
initialCapacity?: Record<string, InitialCapacityConfig>;
|
|
1223
1223
|
/**
|
|
1224
|
-
* @public
|
|
1225
1224
|
* <p>The maximum capacity to allocate when the application is updated. This is cumulative
|
|
1226
1225
|
* across all workers at any given point in time during the lifespan of the application. No
|
|
1227
1226
|
* new resources will be created once any one of the defined limits is hit.</p>
|
|
1227
|
+
* @public
|
|
1228
1228
|
*/
|
|
1229
1229
|
maximumCapacity?: MaximumAllowedResources;
|
|
1230
1230
|
/**
|
|
1231
|
-
* @public
|
|
1232
1231
|
* <p>The configuration for an application to automatically start on job submission.</p>
|
|
1232
|
+
* @public
|
|
1233
1233
|
*/
|
|
1234
1234
|
autoStartConfiguration?: AutoStartConfig;
|
|
1235
1235
|
/**
|
|
1236
|
-
* @public
|
|
1237
1236
|
* <p>The configuration for an application to automatically stop after a certain amount of
|
|
1238
1237
|
* time being idle.</p>
|
|
1238
|
+
* @public
|
|
1239
1239
|
*/
|
|
1240
1240
|
autoStopConfiguration?: AutoStopConfig;
|
|
1241
1241
|
/**
|
|
1242
|
-
* @public
|
|
1243
1242
|
* <p>The network configuration for customer VPC connectivity.</p>
|
|
1243
|
+
* @public
|
|
1244
1244
|
*/
|
|
1245
1245
|
networkConfiguration?: NetworkConfiguration;
|
|
1246
1246
|
/**
|
|
1247
|
-
* @public
|
|
1248
1247
|
* <p>The CPU architecture of an application.</p>
|
|
1248
|
+
* @public
|
|
1249
1249
|
*/
|
|
1250
1250
|
architecture?: Architecture;
|
|
1251
1251
|
/**
|
|
1252
|
-
* @public
|
|
1253
1252
|
* <p>The image configuration to be used for all worker types. You can either set this
|
|
1254
1253
|
* parameter or <code>imageConfiguration</code> for each worker type in
|
|
1255
1254
|
* <code>WorkerTypeSpecificationInput</code>.</p>
|
|
1255
|
+
* @public
|
|
1256
1256
|
*/
|
|
1257
1257
|
imageConfiguration?: ImageConfigurationInput;
|
|
1258
1258
|
/**
|
|
1259
|
-
* @public
|
|
1260
1259
|
* <p>The key-value pairs that specify worker type to
|
|
1261
1260
|
* <code>WorkerTypeSpecificationInput</code>. This parameter must contain all valid worker
|
|
1262
1261
|
* types for a Spark or Hive application. Valid worker types include <code>Driver</code> and
|
|
@@ -1264,24 +1263,25 @@ export interface UpdateApplicationRequest {
|
|
|
1264
1263
|
* <code>TezTask</code> for Hive applications. You can either set image details in this
|
|
1265
1264
|
* parameter for each worker type, or in <code>imageConfiguration</code> for all worker
|
|
1266
1265
|
* types.</p>
|
|
1266
|
+
* @public
|
|
1267
1267
|
*/
|
|
1268
1268
|
workerTypeSpecifications?: Record<string, WorkerTypeSpecificationInput>;
|
|
1269
1269
|
/**
|
|
1270
|
-
* @public
|
|
1271
1270
|
* <p>The Amazon EMR release label for the application. You can change the release
|
|
1272
1271
|
* label to use a different release of Amazon EMR.</p>
|
|
1272
|
+
* @public
|
|
1273
1273
|
*/
|
|
1274
1274
|
releaseLabel?: string;
|
|
1275
1275
|
/**
|
|
1276
|
-
* @public
|
|
1277
1276
|
* <p>The <a href="https://docs.aws.amazon.com/emr-serverless/latest/APIReference/API_Configuration.html">Configuration</a>
|
|
1278
1277
|
* specifications to use when updating an application. Each configuration consists of a classification and properties.
|
|
1279
1278
|
* This configuration is applied across all the job runs submitted under the application.</p>
|
|
1279
|
+
* @public
|
|
1280
1280
|
*/
|
|
1281
1281
|
runtimeConfiguration?: Configuration[];
|
|
1282
1282
|
/**
|
|
1283
|
-
* @public
|
|
1284
1283
|
* <p>The configuration setting for monitoring.</p>
|
|
1284
|
+
* @public
|
|
1285
1285
|
*/
|
|
1286
1286
|
monitoringConfiguration?: MonitoringConfiguration;
|
|
1287
1287
|
}
|
|
@@ -1290,119 +1290,119 @@ export interface UpdateApplicationRequest {
|
|
|
1290
1290
|
*/
|
|
1291
1291
|
export interface GetApplicationResponse {
|
|
1292
1292
|
/**
|
|
1293
|
-
* @public
|
|
1294
1293
|
* <p>The output displays information about the specified application.</p>
|
|
1294
|
+
* @public
|
|
1295
1295
|
*/
|
|
1296
1296
|
application: Application | undefined;
|
|
1297
1297
|
}
|
|
1298
1298
|
/**
|
|
1299
|
-
* @public
|
|
1300
1299
|
* <p>Information about a job run. A job run is a unit of work, such as a Spark JAR, Hive
|
|
1301
1300
|
* query, or SparkSQL query, that you submit to an Amazon EMR Serverless
|
|
1302
1301
|
* application.</p>
|
|
1302
|
+
* @public
|
|
1303
1303
|
*/
|
|
1304
1304
|
export interface JobRun {
|
|
1305
1305
|
/**
|
|
1306
|
-
* @public
|
|
1307
1306
|
* <p>The ID of the application the job is running on.</p>
|
|
1307
|
+
* @public
|
|
1308
1308
|
*/
|
|
1309
1309
|
applicationId: string | undefined;
|
|
1310
1310
|
/**
|
|
1311
|
-
* @public
|
|
1312
1311
|
* <p>The ID of the job run.</p>
|
|
1312
|
+
* @public
|
|
1313
1313
|
*/
|
|
1314
1314
|
jobRunId: string | undefined;
|
|
1315
1315
|
/**
|
|
1316
|
-
* @public
|
|
1317
1316
|
* <p>The optional job run name. This doesn't have to be unique.</p>
|
|
1317
|
+
* @public
|
|
1318
1318
|
*/
|
|
1319
1319
|
name?: string;
|
|
1320
1320
|
/**
|
|
1321
|
-
* @public
|
|
1322
1321
|
* <p>The execution role ARN of the job run.</p>
|
|
1322
|
+
* @public
|
|
1323
1323
|
*/
|
|
1324
1324
|
arn: string | undefined;
|
|
1325
1325
|
/**
|
|
1326
|
-
* @public
|
|
1327
1326
|
* <p>The user who created the job run.</p>
|
|
1327
|
+
* @public
|
|
1328
1328
|
*/
|
|
1329
1329
|
createdBy: string | undefined;
|
|
1330
1330
|
/**
|
|
1331
|
-
* @public
|
|
1332
1331
|
* <p>The date and time when the job run was created.</p>
|
|
1332
|
+
* @public
|
|
1333
1333
|
*/
|
|
1334
1334
|
createdAt: Date | undefined;
|
|
1335
1335
|
/**
|
|
1336
|
-
* @public
|
|
1337
1336
|
* <p>The date and time when the job run was updated.</p>
|
|
1337
|
+
* @public
|
|
1338
1338
|
*/
|
|
1339
1339
|
updatedAt: Date | undefined;
|
|
1340
1340
|
/**
|
|
1341
|
-
* @public
|
|
1342
1341
|
* <p>The execution role ARN of the job run.</p>
|
|
1342
|
+
* @public
|
|
1343
1343
|
*/
|
|
1344
1344
|
executionRole: string | undefined;
|
|
1345
1345
|
/**
|
|
1346
|
-
* @public
|
|
1347
1346
|
* <p>The state of the job run.</p>
|
|
1347
|
+
* @public
|
|
1348
1348
|
*/
|
|
1349
1349
|
state: JobRunState | undefined;
|
|
1350
1350
|
/**
|
|
1351
|
-
* @public
|
|
1352
1351
|
* <p>The state details of the job run.</p>
|
|
1352
|
+
* @public
|
|
1353
1353
|
*/
|
|
1354
1354
|
stateDetails: string | undefined;
|
|
1355
1355
|
/**
|
|
1356
|
-
* @public
|
|
1357
1356
|
* <p>The Amazon EMR release associated with the application your job is running
|
|
1358
1357
|
* on.</p>
|
|
1358
|
+
* @public
|
|
1359
1359
|
*/
|
|
1360
1360
|
releaseLabel: string | undefined;
|
|
1361
1361
|
/**
|
|
1362
|
-
* @public
|
|
1363
1362
|
* <p>The configuration settings that are used to override default configuration.</p>
|
|
1363
|
+
* @public
|
|
1364
1364
|
*/
|
|
1365
1365
|
configurationOverrides?: ConfigurationOverrides;
|
|
1366
1366
|
/**
|
|
1367
|
-
* @public
|
|
1368
1367
|
* <p>The job driver for the job run.</p>
|
|
1368
|
+
* @public
|
|
1369
1369
|
*/
|
|
1370
1370
|
jobDriver: JobDriver | undefined;
|
|
1371
1371
|
/**
|
|
1372
|
-
* @public
|
|
1373
1372
|
* <p>The tags assigned to the job run.</p>
|
|
1373
|
+
* @public
|
|
1374
1374
|
*/
|
|
1375
1375
|
tags?: Record<string, string>;
|
|
1376
1376
|
/**
|
|
1377
|
-
* @public
|
|
1378
1377
|
* <p>The aggregate vCPU, memory, and storage resources used from the time the job starts to
|
|
1379
1378
|
* execute, until the time the job terminates, rounded up to the nearest second.</p>
|
|
1379
|
+
* @public
|
|
1380
1380
|
*/
|
|
1381
1381
|
totalResourceUtilization?: TotalResourceUtilization;
|
|
1382
1382
|
/**
|
|
1383
|
-
* @public
|
|
1384
1383
|
* <p>The network configuration for customer VPC connectivity.</p>
|
|
1384
|
+
* @public
|
|
1385
1385
|
*/
|
|
1386
1386
|
networkConfiguration?: NetworkConfiguration;
|
|
1387
1387
|
/**
|
|
1388
|
-
* @public
|
|
1389
1388
|
* <p>The job run total execution duration in seconds. This field is only available for job
|
|
1390
1389
|
* runs in a <code>COMPLETED</code>, <code>FAILED</code>, or <code>CANCELLED</code>
|
|
1391
1390
|
* state.</p>
|
|
1391
|
+
* @public
|
|
1392
1392
|
*/
|
|
1393
1393
|
totalExecutionDurationSeconds?: number;
|
|
1394
1394
|
/**
|
|
1395
|
-
* @public
|
|
1396
1395
|
* <p>Returns the job run timeout value from the <code>StartJobRun</code> call. If no timeout
|
|
1397
1396
|
* was specified, then it returns the default timeout of 720 minutes.</p>
|
|
1397
|
+
* @public
|
|
1398
1398
|
*/
|
|
1399
1399
|
executionTimeoutMinutes?: number;
|
|
1400
1400
|
/**
|
|
1401
|
-
* @public
|
|
1402
1401
|
* <p>The aggregate vCPU, memory, and storage that Amazon Web Services has billed for the job
|
|
1403
1402
|
* run. The billed resources include a 1-minute minimum usage for workers, plus additional
|
|
1404
1403
|
* storage over 20 GB per worker. Note that billed resources do not include usage for idle
|
|
1405
1404
|
* pre-initialized workers.</p>
|
|
1405
|
+
* @public
|
|
1406
1406
|
*/
|
|
1407
1407
|
billedResourceUtilization?: ResourceUtilization;
|
|
1408
1408
|
}
|
|
@@ -1411,45 +1411,45 @@ export interface JobRun {
|
|
|
1411
1411
|
*/
|
|
1412
1412
|
export interface StartJobRunRequest {
|
|
1413
1413
|
/**
|
|
1414
|
-
* @public
|
|
1415
1414
|
* <p>The ID of the application on which to run the job.</p>
|
|
1415
|
+
* @public
|
|
1416
1416
|
*/
|
|
1417
1417
|
applicationId: string | undefined;
|
|
1418
1418
|
/**
|
|
1419
|
-
* @public
|
|
1420
1419
|
* <p>The client idempotency token of the job run to start. Its value must be unique for each
|
|
1421
1420
|
* request.</p>
|
|
1421
|
+
* @public
|
|
1422
1422
|
*/
|
|
1423
1423
|
clientToken?: string;
|
|
1424
1424
|
/**
|
|
1425
|
-
* @public
|
|
1426
1425
|
* <p>The execution role ARN for the job run.</p>
|
|
1426
|
+
* @public
|
|
1427
1427
|
*/
|
|
1428
1428
|
executionRoleArn: string | undefined;
|
|
1429
1429
|
/**
|
|
1430
|
-
* @public
|
|
1431
1430
|
* <p>The job driver for the job run.</p>
|
|
1431
|
+
* @public
|
|
1432
1432
|
*/
|
|
1433
1433
|
jobDriver?: JobDriver;
|
|
1434
1434
|
/**
|
|
1435
|
-
* @public
|
|
1436
1435
|
* <p>The configuration overrides for the job run.</p>
|
|
1436
|
+
* @public
|
|
1437
1437
|
*/
|
|
1438
1438
|
configurationOverrides?: ConfigurationOverrides;
|
|
1439
1439
|
/**
|
|
1440
|
-
* @public
|
|
1441
1440
|
* <p>The tags assigned to the job run.</p>
|
|
1441
|
+
* @public
|
|
1442
1442
|
*/
|
|
1443
1443
|
tags?: Record<string, string>;
|
|
1444
1444
|
/**
|
|
1445
|
-
* @public
|
|
1446
1445
|
* <p>The maximum duration for the job run to run. If the job run runs beyond this duration,
|
|
1447
1446
|
* it will be automatically cancelled.</p>
|
|
1447
|
+
* @public
|
|
1448
1448
|
*/
|
|
1449
1449
|
executionTimeoutMinutes?: number;
|
|
1450
1450
|
/**
|
|
1451
|
-
* @public
|
|
1452
1451
|
* <p>The optional job run name. This doesn't have to be unique.</p>
|
|
1452
|
+
* @public
|
|
1453
1453
|
*/
|
|
1454
1454
|
name?: string;
|
|
1455
1455
|
}
|
|
@@ -1458,8 +1458,8 @@ export interface StartJobRunRequest {
|
|
|
1458
1458
|
*/
|
|
1459
1459
|
export interface UpdateApplicationResponse {
|
|
1460
1460
|
/**
|
|
1461
|
-
* @public
|
|
1462
1461
|
* <p>Information about the updated application.</p>
|
|
1462
|
+
* @public
|
|
1463
1463
|
*/
|
|
1464
1464
|
application: Application | undefined;
|
|
1465
1465
|
}
|
|
@@ -1468,8 +1468,8 @@ export interface UpdateApplicationResponse {
|
|
|
1468
1468
|
*/
|
|
1469
1469
|
export interface GetJobRunResponse {
|
|
1470
1470
|
/**
|
|
1471
|
-
* @public
|
|
1472
1471
|
* <p>The output displays information about the job run.</p>
|
|
1472
|
+
* @public
|
|
1473
1473
|
*/
|
|
1474
1474
|
jobRun: JobRun | undefined;
|
|
1475
1475
|
}
|