@aws-sdk/client-emr-serverless 3.418.0 → 3.419.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/commands/CreateApplicationCommand.js +2 -1
- package/dist-cjs/commands/GetApplicationCommand.js +2 -1
- package/dist-cjs/commands/UpdateApplicationCommand.js +3 -2
- package/dist-cjs/models/models_0.js +32 -1
- package/dist-cjs/protocols/Aws_restJson1.js +6 -0
- package/dist-es/commands/CreateApplicationCommand.js +2 -1
- package/dist-es/commands/GetApplicationCommand.js +2 -1
- package/dist-es/commands/UpdateApplicationCommand.js +3 -2
- package/dist-es/models/models_0.js +26 -0
- package/dist-es/protocols/Aws_restJson1.js +6 -0
- package/dist-types/commands/CreateApplicationCommand.d.ts +38 -0
- package/dist-types/commands/GetApplicationCommand.d.ts +38 -0
- package/dist-types/commands/UpdateApplicationCommand.d.ts +76 -0
- package/dist-types/models/models_0.d.ts +619 -562
- package/dist-types/ts3.4/models/models_0.d.ts +93 -74
- package/package.json +1 -1
|
@@ -122,147 +122,156 @@ export interface MaximumAllowedResources {
|
|
|
122
122
|
}
|
|
123
123
|
/**
|
|
124
124
|
* @public
|
|
125
|
-
* <p>The
|
|
126
|
-
|
|
127
|
-
export interface NetworkConfiguration {
|
|
128
|
-
/**
|
|
129
|
-
* @public
|
|
130
|
-
* <p>The array of subnet Ids for customer VPC connectivity.</p>
|
|
131
|
-
*/
|
|
132
|
-
subnetIds?: string[];
|
|
133
|
-
/**
|
|
134
|
-
* @public
|
|
135
|
-
* <p>The array of security group Ids for customer VPC connectivity.</p>
|
|
136
|
-
*/
|
|
137
|
-
securityGroupIds?: string[];
|
|
138
|
-
}
|
|
139
|
-
/**
|
|
140
|
-
* @public
|
|
141
|
-
* @enum
|
|
142
|
-
*/
|
|
143
|
-
export declare const ApplicationState: {
|
|
144
|
-
readonly CREATED: "CREATED";
|
|
145
|
-
readonly CREATING: "CREATING";
|
|
146
|
-
readonly STARTED: "STARTED";
|
|
147
|
-
readonly STARTING: "STARTING";
|
|
148
|
-
readonly STOPPED: "STOPPED";
|
|
149
|
-
readonly STOPPING: "STOPPING";
|
|
150
|
-
readonly TERMINATED: "TERMINATED";
|
|
151
|
-
};
|
|
152
|
-
/**
|
|
153
|
-
* @public
|
|
154
|
-
*/
|
|
155
|
-
export type ApplicationState = (typeof ApplicationState)[keyof typeof ApplicationState];
|
|
156
|
-
/**
|
|
157
|
-
* @public
|
|
158
|
-
* <p>The specifications for a worker type.</p>
|
|
159
|
-
*/
|
|
160
|
-
export interface WorkerTypeSpecification {
|
|
161
|
-
/**
|
|
162
|
-
* @public
|
|
163
|
-
* <p>The image configuration for a worker type.</p>
|
|
164
|
-
*/
|
|
165
|
-
imageConfiguration?: ImageConfiguration;
|
|
166
|
-
}
|
|
167
|
-
/**
|
|
168
|
-
* @public
|
|
169
|
-
* <p>Information about an application. Amazon EMR Serverless uses applications to run
|
|
170
|
-
* jobs.</p>
|
|
125
|
+
* <p>The Amazon CloudWatch configuration for monitoring logs. You can configure your jobs
|
|
126
|
+
* to send log information to CloudWatch.</p>
|
|
171
127
|
*/
|
|
172
|
-
export interface
|
|
173
|
-
/**
|
|
174
|
-
* @public
|
|
175
|
-
* <p>The ID of the application.</p>
|
|
176
|
-
*/
|
|
177
|
-
applicationId: string | undefined;
|
|
178
|
-
/**
|
|
179
|
-
* @public
|
|
180
|
-
* <p>The name of the application.</p>
|
|
181
|
-
*/
|
|
182
|
-
name?: string;
|
|
128
|
+
export interface CloudWatchLoggingConfiguration {
|
|
183
129
|
/**
|
|
184
130
|
* @public
|
|
185
|
-
* <p>
|
|
131
|
+
* <p>Enables CloudWatch logging.</p>
|
|
186
132
|
*/
|
|
187
|
-
|
|
133
|
+
enabled: boolean | undefined;
|
|
188
134
|
/**
|
|
189
135
|
* @public
|
|
190
|
-
* <p>The Amazon
|
|
136
|
+
* <p>The name of the log group in Amazon CloudWatch Logs where you want to publish your
|
|
137
|
+
* logs.</p>
|
|
191
138
|
*/
|
|
192
|
-
|
|
139
|
+
logGroupName?: string;
|
|
193
140
|
/**
|
|
194
141
|
* @public
|
|
195
|
-
* <p>
|
|
142
|
+
* <p>Prefix for the CloudWatch log stream name.</p>
|
|
196
143
|
*/
|
|
197
|
-
|
|
144
|
+
logStreamNamePrefix?: string;
|
|
198
145
|
/**
|
|
199
146
|
* @public
|
|
200
|
-
* <p>The
|
|
147
|
+
* <p>The Key Management Service (KMS) key ARN to encrypt the logs that you store in CloudWatch Logs.</p>
|
|
201
148
|
*/
|
|
202
|
-
|
|
149
|
+
encryptionKeyArn?: string;
|
|
203
150
|
/**
|
|
204
151
|
* @public
|
|
205
|
-
* <p>The
|
|
152
|
+
* <p>The types of logs that you want to publish to CloudWatch. If you don't specify
|
|
153
|
+
* any log types, driver STDOUT and STDERR logs will be published to CloudWatch Logs by
|
|
154
|
+
* default. For more information including the supported worker types for Hive and Spark, see
|
|
155
|
+
* <a href="https://docs.aws.amazon.com/emr/latest/EMR-Serverless-UserGuide/logging.html#jobs-log-storage-cw">Logging for
|
|
156
|
+
* EMR Serverless with CloudWatch</a>.</p>
|
|
157
|
+
* <ul>
|
|
158
|
+
* <li>
|
|
159
|
+
* <p>
|
|
160
|
+
* <b>Key Valid Values</b>: <code>SPARK_DRIVER</code>,
|
|
161
|
+
* <code>SPARK_EXECUTOR</code>, <code>HIVE_DRIVER</code>,
|
|
162
|
+
* <code>TEZ_TASK</code>
|
|
163
|
+
* </p>
|
|
164
|
+
* </li>
|
|
165
|
+
* <li>
|
|
166
|
+
* <p>
|
|
167
|
+
* <b>Array Members Valid Values</b>: <code>STDOUT</code>,
|
|
168
|
+
* <code>STDERR</code>, <code>HIVE_LOG</code>, <code>TEZ_AM</code>,
|
|
169
|
+
* <code>SYSTEM_LOGS</code>
|
|
170
|
+
* </p>
|
|
171
|
+
* </li>
|
|
172
|
+
* </ul>
|
|
206
173
|
*/
|
|
207
|
-
|
|
174
|
+
logTypes?: Record<string, string[]>;
|
|
175
|
+
}
|
|
176
|
+
/**
|
|
177
|
+
* @public
|
|
178
|
+
* <p>The managed log persistence configuration for a job run.</p>
|
|
179
|
+
*/
|
|
180
|
+
export interface ManagedPersistenceMonitoringConfiguration {
|
|
208
181
|
/**
|
|
209
182
|
* @public
|
|
210
|
-
* <p>
|
|
183
|
+
* <p>Enables managed logging and defaults to true. If set to false, managed logging will be
|
|
184
|
+
* turned off.</p>
|
|
211
185
|
*/
|
|
212
|
-
|
|
186
|
+
enabled?: boolean;
|
|
213
187
|
/**
|
|
214
188
|
* @public
|
|
215
|
-
* <p>The
|
|
216
|
-
* given point in time during the lifespan of the application is created. No new resources
|
|
217
|
-
* will be created once any one of the defined limits is hit.</p>
|
|
189
|
+
* <p>The KMS key ARN to encrypt the logs stored in managed log persistence.</p>
|
|
218
190
|
*/
|
|
219
|
-
|
|
191
|
+
encryptionKeyArn?: string;
|
|
192
|
+
}
|
|
193
|
+
/**
|
|
194
|
+
* @public
|
|
195
|
+
* <p>The Amazon S3 configuration for monitoring log publishing. You can configure your jobs
|
|
196
|
+
* to send log information to Amazon S3.</p>
|
|
197
|
+
*/
|
|
198
|
+
export interface S3MonitoringConfiguration {
|
|
220
199
|
/**
|
|
221
200
|
* @public
|
|
222
|
-
* <p>The
|
|
201
|
+
* <p>The Amazon S3 destination URI for log publishing.</p>
|
|
223
202
|
*/
|
|
224
|
-
|
|
203
|
+
logUri?: string;
|
|
225
204
|
/**
|
|
226
205
|
* @public
|
|
227
|
-
* <p>The
|
|
206
|
+
* <p>The KMS key ARN to encrypt the logs published to the given Amazon S3 destination.</p>
|
|
228
207
|
*/
|
|
229
|
-
|
|
208
|
+
encryptionKeyArn?: string;
|
|
209
|
+
}
|
|
210
|
+
/**
|
|
211
|
+
* @public
|
|
212
|
+
* <p>The configuration setting for monitoring.</p>
|
|
213
|
+
*/
|
|
214
|
+
export interface MonitoringConfiguration {
|
|
230
215
|
/**
|
|
231
216
|
* @public
|
|
232
|
-
* <p>The
|
|
217
|
+
* <p>The Amazon S3 configuration for monitoring log publishing.</p>
|
|
233
218
|
*/
|
|
234
|
-
|
|
219
|
+
s3MonitoringConfiguration?: S3MonitoringConfiguration;
|
|
235
220
|
/**
|
|
236
221
|
* @public
|
|
237
|
-
* <p>The
|
|
222
|
+
* <p>The managed log persistence configuration for a job run.</p>
|
|
238
223
|
*/
|
|
239
|
-
|
|
224
|
+
managedPersistenceMonitoringConfiguration?: ManagedPersistenceMonitoringConfiguration;
|
|
240
225
|
/**
|
|
241
226
|
* @public
|
|
242
|
-
* <p>The configuration for
|
|
243
|
-
*
|
|
227
|
+
* <p>The Amazon CloudWatch configuration for monitoring logs. You can configure your jobs
|
|
228
|
+
* to send log information to CloudWatch.</p>
|
|
244
229
|
*/
|
|
245
|
-
|
|
230
|
+
cloudWatchLoggingConfiguration?: CloudWatchLoggingConfiguration;
|
|
231
|
+
}
|
|
232
|
+
/**
|
|
233
|
+
* @public
|
|
234
|
+
* <p>The network configuration for customer VPC connectivity.</p>
|
|
235
|
+
*/
|
|
236
|
+
export interface NetworkConfiguration {
|
|
246
237
|
/**
|
|
247
238
|
* @public
|
|
248
|
-
* <p>The
|
|
239
|
+
* <p>The array of subnet Ids for customer VPC connectivity.</p>
|
|
249
240
|
*/
|
|
250
|
-
|
|
241
|
+
subnetIds?: string[];
|
|
251
242
|
/**
|
|
252
243
|
* @public
|
|
253
|
-
* <p>The
|
|
244
|
+
* <p>The array of security group Ids for customer VPC connectivity.</p>
|
|
254
245
|
*/
|
|
255
|
-
|
|
246
|
+
securityGroupIds?: string[];
|
|
247
|
+
}
|
|
248
|
+
/**
|
|
249
|
+
* @public
|
|
250
|
+
* @enum
|
|
251
|
+
*/
|
|
252
|
+
export declare const ApplicationState: {
|
|
253
|
+
readonly CREATED: "CREATED";
|
|
254
|
+
readonly CREATING: "CREATING";
|
|
255
|
+
readonly STARTED: "STARTED";
|
|
256
|
+
readonly STARTING: "STARTING";
|
|
257
|
+
readonly STOPPED: "STOPPED";
|
|
258
|
+
readonly STOPPING: "STOPPING";
|
|
259
|
+
readonly TERMINATED: "TERMINATED";
|
|
260
|
+
};
|
|
261
|
+
/**
|
|
262
|
+
* @public
|
|
263
|
+
*/
|
|
264
|
+
export type ApplicationState = (typeof ApplicationState)[keyof typeof ApplicationState];
|
|
265
|
+
/**
|
|
266
|
+
* @public
|
|
267
|
+
* <p>The specifications for a worker type.</p>
|
|
268
|
+
*/
|
|
269
|
+
export interface WorkerTypeSpecification {
|
|
256
270
|
/**
|
|
257
271
|
* @public
|
|
258
|
-
* <p>The image configuration
|
|
272
|
+
* <p>The image configuration for a worker type.</p>
|
|
259
273
|
*/
|
|
260
274
|
imageConfiguration?: ImageConfiguration;
|
|
261
|
-
/**
|
|
262
|
-
* @public
|
|
263
|
-
* <p>The specification applied to each worker type.</p>
|
|
264
|
-
*/
|
|
265
|
-
workerTypeSpecifications?: Record<string, WorkerTypeSpecification>;
|
|
266
275
|
}
|
|
267
276
|
/**
|
|
268
277
|
* @public
|
|
@@ -360,139 +369,57 @@ export interface WorkerTypeSpecificationInput {
|
|
|
360
369
|
/**
|
|
361
370
|
* @public
|
|
362
371
|
*/
|
|
363
|
-
export interface
|
|
372
|
+
export interface CreateApplicationResponse {
|
|
364
373
|
/**
|
|
365
374
|
* @public
|
|
366
|
-
* <p>The
|
|
375
|
+
* <p>The output contains the application ID.</p>
|
|
367
376
|
*/
|
|
368
|
-
|
|
377
|
+
applicationId: string | undefined;
|
|
369
378
|
/**
|
|
370
379
|
* @public
|
|
371
|
-
* <p>The
|
|
380
|
+
* <p>The output contains the name of the application.</p>
|
|
372
381
|
*/
|
|
373
|
-
|
|
382
|
+
name?: string;
|
|
374
383
|
/**
|
|
375
384
|
* @public
|
|
376
|
-
* <p>The
|
|
385
|
+
* <p>The output contains the ARN of the application.</p>
|
|
377
386
|
*/
|
|
378
|
-
|
|
387
|
+
arn: string | undefined;
|
|
388
|
+
}
|
|
389
|
+
/**
|
|
390
|
+
* @public
|
|
391
|
+
* <p>Request processing failed because of an error or failure with the service.</p>
|
|
392
|
+
*/
|
|
393
|
+
export declare class InternalServerException extends __BaseException {
|
|
394
|
+
readonly name: "InternalServerException";
|
|
395
|
+
readonly $fault: "server";
|
|
379
396
|
/**
|
|
380
|
-
* @
|
|
381
|
-
* <p>The client idempotency token of the application to create. Its value must be unique for
|
|
382
|
-
* each request.</p>
|
|
397
|
+
* @internal
|
|
383
398
|
*/
|
|
384
|
-
|
|
399
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
400
|
+
}
|
|
401
|
+
/**
|
|
402
|
+
* @public
|
|
403
|
+
* <p>The specified resource was not found.</p>
|
|
404
|
+
*/
|
|
405
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
406
|
+
readonly name: "ResourceNotFoundException";
|
|
407
|
+
readonly $fault: "client";
|
|
385
408
|
/**
|
|
386
|
-
* @
|
|
387
|
-
* <p>The capacity to initialize when the application is created.</p>
|
|
409
|
+
* @internal
|
|
388
410
|
*/
|
|
389
|
-
|
|
411
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
412
|
+
}
|
|
413
|
+
/**
|
|
414
|
+
* @public
|
|
415
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services
|
|
416
|
+
* service.</p>
|
|
417
|
+
*/
|
|
418
|
+
export declare class ValidationException extends __BaseException {
|
|
419
|
+
readonly name: "ValidationException";
|
|
420
|
+
readonly $fault: "client";
|
|
390
421
|
/**
|
|
391
|
-
* @
|
|
392
|
-
* <p>The maximum capacity to allocate when the application is created. This is cumulative
|
|
393
|
-
* across all workers at any given point in time, not just when an application is created. No
|
|
394
|
-
* new resources will be created once any one of the defined limits is hit.</p>
|
|
395
|
-
*/
|
|
396
|
-
maximumCapacity?: MaximumAllowedResources;
|
|
397
|
-
/**
|
|
398
|
-
* @public
|
|
399
|
-
* <p>The tags assigned to the application.</p>
|
|
400
|
-
*/
|
|
401
|
-
tags?: Record<string, string>;
|
|
402
|
-
/**
|
|
403
|
-
* @public
|
|
404
|
-
* <p>The configuration for an application to automatically start on job submission.</p>
|
|
405
|
-
*/
|
|
406
|
-
autoStartConfiguration?: AutoStartConfig;
|
|
407
|
-
/**
|
|
408
|
-
* @public
|
|
409
|
-
* <p>The configuration for an application to automatically stop after a certain amount of
|
|
410
|
-
* time being idle.</p>
|
|
411
|
-
*/
|
|
412
|
-
autoStopConfiguration?: AutoStopConfig;
|
|
413
|
-
/**
|
|
414
|
-
* @public
|
|
415
|
-
* <p>The network configuration for customer VPC connectivity.</p>
|
|
416
|
-
*/
|
|
417
|
-
networkConfiguration?: NetworkConfiguration;
|
|
418
|
-
/**
|
|
419
|
-
* @public
|
|
420
|
-
* <p>The CPU architecture of an application.</p>
|
|
421
|
-
*/
|
|
422
|
-
architecture?: Architecture | string;
|
|
423
|
-
/**
|
|
424
|
-
* @public
|
|
425
|
-
* <p>The image configuration for all worker types. You can either set this parameter or
|
|
426
|
-
* <code>imageConfiguration</code> for each worker type in
|
|
427
|
-
* <code>workerTypeSpecifications</code>.</p>
|
|
428
|
-
*/
|
|
429
|
-
imageConfiguration?: ImageConfigurationInput;
|
|
430
|
-
/**
|
|
431
|
-
* @public
|
|
432
|
-
* <p>The key-value pairs that specify worker type to
|
|
433
|
-
* <code>WorkerTypeSpecificationInput</code>. This parameter must contain all valid worker
|
|
434
|
-
* types for a Spark or Hive application. Valid worker types include <code>Driver</code> and
|
|
435
|
-
* <code>Executor</code> for Spark applications and <code>HiveDriver</code> and
|
|
436
|
-
* <code>TezTask</code> for Hive applications. You can either set image details in this
|
|
437
|
-
* parameter for each worker type, or in <code>imageConfiguration</code> for all worker
|
|
438
|
-
* types.</p>
|
|
439
|
-
*/
|
|
440
|
-
workerTypeSpecifications?: Record<string, WorkerTypeSpecificationInput>;
|
|
441
|
-
}
|
|
442
|
-
/**
|
|
443
|
-
* @public
|
|
444
|
-
*/
|
|
445
|
-
export interface CreateApplicationResponse {
|
|
446
|
-
/**
|
|
447
|
-
* @public
|
|
448
|
-
* <p>The output contains the application ID.</p>
|
|
449
|
-
*/
|
|
450
|
-
applicationId: string | undefined;
|
|
451
|
-
/**
|
|
452
|
-
* @public
|
|
453
|
-
* <p>The output contains the name of the application.</p>
|
|
454
|
-
*/
|
|
455
|
-
name?: string;
|
|
456
|
-
/**
|
|
457
|
-
* @public
|
|
458
|
-
* <p>The output contains the ARN of the application.</p>
|
|
459
|
-
*/
|
|
460
|
-
arn: string | undefined;
|
|
461
|
-
}
|
|
462
|
-
/**
|
|
463
|
-
* @public
|
|
464
|
-
* <p>Request processing failed because of an error or failure with the service.</p>
|
|
465
|
-
*/
|
|
466
|
-
export declare class InternalServerException extends __BaseException {
|
|
467
|
-
readonly name: "InternalServerException";
|
|
468
|
-
readonly $fault: "server";
|
|
469
|
-
/**
|
|
470
|
-
* @internal
|
|
471
|
-
*/
|
|
472
|
-
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
473
|
-
}
|
|
474
|
-
/**
|
|
475
|
-
* @public
|
|
476
|
-
* <p>The specified resource was not found.</p>
|
|
477
|
-
*/
|
|
478
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
479
|
-
readonly name: "ResourceNotFoundException";
|
|
480
|
-
readonly $fault: "client";
|
|
481
|
-
/**
|
|
482
|
-
* @internal
|
|
483
|
-
*/
|
|
484
|
-
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
485
|
-
}
|
|
486
|
-
/**
|
|
487
|
-
* @public
|
|
488
|
-
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services
|
|
489
|
-
* service.</p>
|
|
490
|
-
*/
|
|
491
|
-
export declare class ValidationException extends __BaseException {
|
|
492
|
-
readonly name: "ValidationException";
|
|
493
|
-
readonly $fault: "client";
|
|
494
|
-
/**
|
|
495
|
-
* @internal
|
|
422
|
+
* @internal
|
|
496
423
|
*/
|
|
497
424
|
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
498
425
|
}
|
|
@@ -521,16 +448,6 @@ export interface GetApplicationRequest {
|
|
|
521
448
|
*/
|
|
522
449
|
applicationId: string | undefined;
|
|
523
450
|
}
|
|
524
|
-
/**
|
|
525
|
-
* @public
|
|
526
|
-
*/
|
|
527
|
-
export interface GetApplicationResponse {
|
|
528
|
-
/**
|
|
529
|
-
* @public
|
|
530
|
-
* <p>The output displays information about the specified application.</p>
|
|
531
|
-
*/
|
|
532
|
-
application: Application | undefined;
|
|
533
|
-
}
|
|
534
451
|
/**
|
|
535
452
|
* @public
|
|
536
453
|
*/
|
|
@@ -610,89 +527,6 @@ export interface StopApplicationRequest {
|
|
|
610
527
|
*/
|
|
611
528
|
export interface StopApplicationResponse {
|
|
612
529
|
}
|
|
613
|
-
/**
|
|
614
|
-
* @public
|
|
615
|
-
*/
|
|
616
|
-
export interface UpdateApplicationRequest {
|
|
617
|
-
/**
|
|
618
|
-
* @public
|
|
619
|
-
* <p>The ID of the application to update.</p>
|
|
620
|
-
*/
|
|
621
|
-
applicationId: string | undefined;
|
|
622
|
-
/**
|
|
623
|
-
* @public
|
|
624
|
-
* <p>The client idempotency token of the application to update. Its value must be unique for
|
|
625
|
-
* each request.</p>
|
|
626
|
-
*/
|
|
627
|
-
clientToken?: string;
|
|
628
|
-
/**
|
|
629
|
-
* @public
|
|
630
|
-
* <p>The capacity to initialize when the application is updated.</p>
|
|
631
|
-
*/
|
|
632
|
-
initialCapacity?: Record<string, InitialCapacityConfig>;
|
|
633
|
-
/**
|
|
634
|
-
* @public
|
|
635
|
-
* <p>The maximum capacity to allocate when the application is updated. This is cumulative
|
|
636
|
-
* across all workers at any given point in time during the lifespan of the application. No
|
|
637
|
-
* new resources will be created once any one of the defined limits is hit.</p>
|
|
638
|
-
*/
|
|
639
|
-
maximumCapacity?: MaximumAllowedResources;
|
|
640
|
-
/**
|
|
641
|
-
* @public
|
|
642
|
-
* <p>The configuration for an application to automatically start on job submission.</p>
|
|
643
|
-
*/
|
|
644
|
-
autoStartConfiguration?: AutoStartConfig;
|
|
645
|
-
/**
|
|
646
|
-
* @public
|
|
647
|
-
* <p>The configuration for an application to automatically stop after a certain amount of
|
|
648
|
-
* time being idle.</p>
|
|
649
|
-
*/
|
|
650
|
-
autoStopConfiguration?: AutoStopConfig;
|
|
651
|
-
/**
|
|
652
|
-
* @public
|
|
653
|
-
* <p>The network configuration for customer VPC connectivity.</p>
|
|
654
|
-
*/
|
|
655
|
-
networkConfiguration?: NetworkConfiguration;
|
|
656
|
-
/**
|
|
657
|
-
* @public
|
|
658
|
-
* <p>The CPU architecture of an application.</p>
|
|
659
|
-
*/
|
|
660
|
-
architecture?: Architecture | string;
|
|
661
|
-
/**
|
|
662
|
-
* @public
|
|
663
|
-
* <p>The image configuration to be used for all worker types. You can either set this
|
|
664
|
-
* parameter or <code>imageConfiguration</code> for each worker type in
|
|
665
|
-
* <code>WorkerTypeSpecificationInput</code>.</p>
|
|
666
|
-
*/
|
|
667
|
-
imageConfiguration?: ImageConfigurationInput;
|
|
668
|
-
/**
|
|
669
|
-
* @public
|
|
670
|
-
* <p>The key-value pairs that specify worker type to
|
|
671
|
-
* <code>WorkerTypeSpecificationInput</code>. This parameter must contain all valid worker
|
|
672
|
-
* types for a Spark or Hive application. Valid worker types include <code>Driver</code> and
|
|
673
|
-
* <code>Executor</code> for Spark applications and <code>HiveDriver</code> and
|
|
674
|
-
* <code>TezTask</code> for Hive applications. You can either set image details in this
|
|
675
|
-
* parameter for each worker type, or in <code>imageConfiguration</code> for all worker
|
|
676
|
-
* types.</p>
|
|
677
|
-
*/
|
|
678
|
-
workerTypeSpecifications?: Record<string, WorkerTypeSpecificationInput>;
|
|
679
|
-
/**
|
|
680
|
-
* @public
|
|
681
|
-
* <p>The Amazon EMR release label for the application. You can change the release
|
|
682
|
-
* label to use a different release of Amazon EMR.</p>
|
|
683
|
-
*/
|
|
684
|
-
releaseLabel?: string;
|
|
685
|
-
}
|
|
686
|
-
/**
|
|
687
|
-
* @public
|
|
688
|
-
*/
|
|
689
|
-
export interface UpdateApplicationResponse {
|
|
690
|
-
/**
|
|
691
|
-
* @public
|
|
692
|
-
* <p>Information about the updated application.</p>
|
|
693
|
-
*/
|
|
694
|
-
application: Application | undefined;
|
|
695
|
-
}
|
|
696
530
|
/**
|
|
697
531
|
* @public
|
|
698
532
|
*/
|
|
@@ -789,154 +623,45 @@ export interface ResourceUtilization {
|
|
|
789
623
|
}
|
|
790
624
|
/**
|
|
791
625
|
* @public
|
|
792
|
-
* <p>The
|
|
793
|
-
* to send log information to CloudWatch.</p>
|
|
626
|
+
* <p>The configurations for the Hive job driver.</p>
|
|
794
627
|
*/
|
|
795
|
-
export interface
|
|
796
|
-
/**
|
|
797
|
-
* @public
|
|
798
|
-
* <p>Enables CloudWatch logging.</p>
|
|
799
|
-
*/
|
|
800
|
-
enabled: boolean | undefined;
|
|
801
|
-
/**
|
|
802
|
-
* @public
|
|
803
|
-
* <p>The name of the log group in Amazon CloudWatch Logs where you want to publish your
|
|
804
|
-
* logs.</p>
|
|
805
|
-
*/
|
|
806
|
-
logGroupName?: string;
|
|
628
|
+
export interface Hive {
|
|
807
629
|
/**
|
|
808
630
|
* @public
|
|
809
|
-
* <p>
|
|
631
|
+
* <p>The query for the Hive job run.</p>
|
|
810
632
|
*/
|
|
811
|
-
|
|
633
|
+
query: string | undefined;
|
|
812
634
|
/**
|
|
813
635
|
* @public
|
|
814
|
-
* <p>The
|
|
636
|
+
* <p>The query file for the Hive job run.</p>
|
|
815
637
|
*/
|
|
816
|
-
|
|
638
|
+
initQueryFile?: string;
|
|
817
639
|
/**
|
|
818
640
|
* @public
|
|
819
|
-
* <p>The
|
|
820
|
-
* any log types, driver STDOUT and STDERR logs will be published to CloudWatch Logs by
|
|
821
|
-
* default. For more information including the supported worker types for Hive and Spark, see
|
|
822
|
-
* <a href="https://docs.aws.amazon.com/emr/latest/EMR-Serverless-UserGuide/logging.html#jobs-log-storage-cw">Logging for
|
|
823
|
-
* EMR Serverless with CloudWatch</a>.</p>
|
|
824
|
-
* <ul>
|
|
825
|
-
* <li>
|
|
826
|
-
* <p>
|
|
827
|
-
* <b>Key Valid Values</b>: <code>SPARK_DRIVER</code>,
|
|
828
|
-
* <code>SPARK_EXECUTOR</code>, <code>HIVE_DRIVER</code>,
|
|
829
|
-
* <code>TEZ_TASK</code>
|
|
830
|
-
* </p>
|
|
831
|
-
* </li>
|
|
832
|
-
* <li>
|
|
833
|
-
* <p>
|
|
834
|
-
* <b>Array Members Valid Values</b>: <code>STDOUT</code>,
|
|
835
|
-
* <code>STDERR</code>, <code>HIVE_LOG</code>, <code>TEZ_AM</code>,
|
|
836
|
-
* <code>SYSTEM_LOGS</code>
|
|
837
|
-
* </p>
|
|
838
|
-
* </li>
|
|
839
|
-
* </ul>
|
|
641
|
+
* <p>The parameters for the Hive job run.</p>
|
|
840
642
|
*/
|
|
841
|
-
|
|
643
|
+
parameters?: string;
|
|
842
644
|
}
|
|
843
645
|
/**
|
|
844
646
|
* @public
|
|
845
|
-
* <p>The
|
|
647
|
+
* <p>The configurations for the Spark submit job driver.</p>
|
|
846
648
|
*/
|
|
847
|
-
export interface
|
|
649
|
+
export interface SparkSubmit {
|
|
848
650
|
/**
|
|
849
651
|
* @public
|
|
850
|
-
* <p>
|
|
851
|
-
* turned off.</p>
|
|
652
|
+
* <p>The entry point for the Spark submit job run.</p>
|
|
852
653
|
*/
|
|
853
|
-
|
|
654
|
+
entryPoint: string | undefined;
|
|
854
655
|
/**
|
|
855
656
|
* @public
|
|
856
|
-
* <p>The
|
|
657
|
+
* <p>The arguments for the Spark submit job run.</p>
|
|
857
658
|
*/
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
*/
|
|
865
|
-
export interface S3MonitoringConfiguration {
|
|
866
|
-
/**
|
|
867
|
-
* @public
|
|
868
|
-
* <p>The Amazon S3 destination URI for log publishing.</p>
|
|
869
|
-
*/
|
|
870
|
-
logUri?: string;
|
|
871
|
-
/**
|
|
872
|
-
* @public
|
|
873
|
-
* <p>The KMS key ARN to encrypt the logs published to the given Amazon S3 destination.</p>
|
|
874
|
-
*/
|
|
875
|
-
encryptionKeyArn?: string;
|
|
876
|
-
}
|
|
877
|
-
/**
|
|
878
|
-
* @public
|
|
879
|
-
* <p>The configuration setting for monitoring.</p>
|
|
880
|
-
*/
|
|
881
|
-
export interface MonitoringConfiguration {
|
|
882
|
-
/**
|
|
883
|
-
* @public
|
|
884
|
-
* <p>The Amazon S3 configuration for monitoring log publishing.</p>
|
|
885
|
-
*/
|
|
886
|
-
s3MonitoringConfiguration?: S3MonitoringConfiguration;
|
|
887
|
-
/**
|
|
888
|
-
* @public
|
|
889
|
-
* <p>The managed log persistence configuration for a job run.</p>
|
|
890
|
-
*/
|
|
891
|
-
managedPersistenceMonitoringConfiguration?: ManagedPersistenceMonitoringConfiguration;
|
|
892
|
-
/**
|
|
893
|
-
* @public
|
|
894
|
-
* <p>The Amazon CloudWatch configuration for monitoring logs. You can configure your jobs
|
|
895
|
-
* to send log information to CloudWatch.</p>
|
|
896
|
-
*/
|
|
897
|
-
cloudWatchLoggingConfiguration?: CloudWatchLoggingConfiguration;
|
|
898
|
-
}
|
|
899
|
-
/**
|
|
900
|
-
* @public
|
|
901
|
-
* <p>The configurations for the Hive job driver.</p>
|
|
902
|
-
*/
|
|
903
|
-
export interface Hive {
|
|
904
|
-
/**
|
|
905
|
-
* @public
|
|
906
|
-
* <p>The query for the Hive job run.</p>
|
|
907
|
-
*/
|
|
908
|
-
query: string | undefined;
|
|
909
|
-
/**
|
|
910
|
-
* @public
|
|
911
|
-
* <p>The query file for the Hive job run.</p>
|
|
912
|
-
*/
|
|
913
|
-
initQueryFile?: string;
|
|
914
|
-
/**
|
|
915
|
-
* @public
|
|
916
|
-
* <p>The parameters for the Hive job run.</p>
|
|
917
|
-
*/
|
|
918
|
-
parameters?: string;
|
|
919
|
-
}
|
|
920
|
-
/**
|
|
921
|
-
* @public
|
|
922
|
-
* <p>The configurations for the Spark submit job driver.</p>
|
|
923
|
-
*/
|
|
924
|
-
export interface SparkSubmit {
|
|
925
|
-
/**
|
|
926
|
-
* @public
|
|
927
|
-
* <p>The entry point for the Spark submit job run.</p>
|
|
928
|
-
*/
|
|
929
|
-
entryPoint: string | undefined;
|
|
930
|
-
/**
|
|
931
|
-
* @public
|
|
932
|
-
* <p>The arguments for the Spark submit job run.</p>
|
|
933
|
-
*/
|
|
934
|
-
entryPointArguments?: string[];
|
|
935
|
-
/**
|
|
936
|
-
* @public
|
|
937
|
-
* <p>The parameters for the Spark submit job run.</p>
|
|
938
|
-
*/
|
|
939
|
-
sparkSubmitParameters?: string;
|
|
659
|
+
entryPointArguments?: string[];
|
|
660
|
+
/**
|
|
661
|
+
* @public
|
|
662
|
+
* <p>The parameters for the Spark submit job run.</p>
|
|
663
|
+
*/
|
|
664
|
+
sparkSubmitParameters?: string;
|
|
940
665
|
}
|
|
941
666
|
/**
|
|
942
667
|
* @public
|
|
@@ -1029,244 +754,546 @@ export interface TotalResourceUtilization {
|
|
|
1029
754
|
export interface ListJobRunsRequest {
|
|
1030
755
|
/**
|
|
1031
756
|
* @public
|
|
1032
|
-
* <p>The ID of the application for which to list the job run.</p>
|
|
757
|
+
* <p>The ID of the application for which to list the job run.</p>
|
|
758
|
+
*/
|
|
759
|
+
applicationId: string | undefined;
|
|
760
|
+
/**
|
|
761
|
+
* @public
|
|
762
|
+
* <p>The token for the next set of job run results.</p>
|
|
763
|
+
*/
|
|
764
|
+
nextToken?: string;
|
|
765
|
+
/**
|
|
766
|
+
* @public
|
|
767
|
+
* <p>The maximum number of job runs that can be listed.</p>
|
|
768
|
+
*/
|
|
769
|
+
maxResults?: number;
|
|
770
|
+
/**
|
|
771
|
+
* @public
|
|
772
|
+
* <p>The lower bound of the option to filter by creation date and time.</p>
|
|
773
|
+
*/
|
|
774
|
+
createdAtAfter?: Date;
|
|
775
|
+
/**
|
|
776
|
+
* @public
|
|
777
|
+
* <p>The upper bound of the option to filter by creation date and time.</p>
|
|
778
|
+
*/
|
|
779
|
+
createdAtBefore?: Date;
|
|
780
|
+
/**
|
|
781
|
+
* @public
|
|
782
|
+
* <p>An optional filter for job run states. Note that if this filter contains multiple
|
|
783
|
+
* states, the resulting list will be grouped by the state.</p>
|
|
784
|
+
*/
|
|
785
|
+
states?: (JobRunState | string)[];
|
|
786
|
+
}
|
|
787
|
+
/**
|
|
788
|
+
* @public
|
|
789
|
+
* <p>The summary of attributes associated with a job run.</p>
|
|
790
|
+
*/
|
|
791
|
+
export interface JobRunSummary {
|
|
792
|
+
/**
|
|
793
|
+
* @public
|
|
794
|
+
* <p>The ID of the application the job is running on.</p>
|
|
795
|
+
*/
|
|
796
|
+
applicationId: string | undefined;
|
|
797
|
+
/**
|
|
798
|
+
* @public
|
|
799
|
+
* <p>The ID of the job run.</p>
|
|
800
|
+
*/
|
|
801
|
+
id: string | undefined;
|
|
802
|
+
/**
|
|
803
|
+
* @public
|
|
804
|
+
* <p>The optional job run name. This doesn't have to be unique.</p>
|
|
805
|
+
*/
|
|
806
|
+
name?: string;
|
|
807
|
+
/**
|
|
808
|
+
* @public
|
|
809
|
+
* <p>The ARN of the job run.</p>
|
|
810
|
+
*/
|
|
811
|
+
arn: string | undefined;
|
|
812
|
+
/**
|
|
813
|
+
* @public
|
|
814
|
+
* <p>The user who created the job run.</p>
|
|
815
|
+
*/
|
|
816
|
+
createdBy: string | undefined;
|
|
817
|
+
/**
|
|
818
|
+
* @public
|
|
819
|
+
* <p>The date and time when the job run was created.</p>
|
|
820
|
+
*/
|
|
821
|
+
createdAt: Date | undefined;
|
|
822
|
+
/**
|
|
823
|
+
* @public
|
|
824
|
+
* <p>The date and time when the job run was last updated.</p>
|
|
825
|
+
*/
|
|
826
|
+
updatedAt: Date | undefined;
|
|
827
|
+
/**
|
|
828
|
+
* @public
|
|
829
|
+
* <p>The execution role ARN of the job run.</p>
|
|
830
|
+
*/
|
|
831
|
+
executionRole: string | undefined;
|
|
832
|
+
/**
|
|
833
|
+
* @public
|
|
834
|
+
* <p>The state of the job run.</p>
|
|
835
|
+
*/
|
|
836
|
+
state: JobRunState | string | undefined;
|
|
837
|
+
/**
|
|
838
|
+
* @public
|
|
839
|
+
* <p>The state details of the job run.</p>
|
|
840
|
+
*/
|
|
841
|
+
stateDetails: string | undefined;
|
|
842
|
+
/**
|
|
843
|
+
* @public
|
|
844
|
+
* <p>The Amazon EMR release associated with the application your job is running
|
|
845
|
+
* on.</p>
|
|
846
|
+
*/
|
|
847
|
+
releaseLabel: string | undefined;
|
|
848
|
+
/**
|
|
849
|
+
* @public
|
|
850
|
+
* <p>The type of job run, such as Spark or Hive.</p>
|
|
851
|
+
*/
|
|
852
|
+
type?: string;
|
|
853
|
+
}
|
|
854
|
+
/**
|
|
855
|
+
* @public
|
|
856
|
+
*/
|
|
857
|
+
export interface ListJobRunsResponse {
|
|
858
|
+
/**
|
|
859
|
+
* @public
|
|
860
|
+
* <p>The output lists information about the specified job runs.</p>
|
|
861
|
+
*/
|
|
862
|
+
jobRuns: JobRunSummary[] | undefined;
|
|
863
|
+
/**
|
|
864
|
+
* @public
|
|
865
|
+
* <p>The output displays the token for the next set of job run results. This is required for
|
|
866
|
+
* pagination and is available as a response of the previous request.</p>
|
|
867
|
+
*/
|
|
868
|
+
nextToken?: string;
|
|
869
|
+
}
|
|
870
|
+
/**
|
|
871
|
+
* @public
|
|
872
|
+
*/
|
|
873
|
+
export interface StartJobRunResponse {
|
|
874
|
+
/**
|
|
875
|
+
* @public
|
|
876
|
+
* <p>This output displays the application ID on which the job run was submitted.</p>
|
|
877
|
+
*/
|
|
878
|
+
applicationId: string | undefined;
|
|
879
|
+
/**
|
|
880
|
+
* @public
|
|
881
|
+
* <p>The output contains the ID of the started job run.</p>
|
|
882
|
+
*/
|
|
883
|
+
jobRunId: string | undefined;
|
|
884
|
+
/**
|
|
885
|
+
* @public
|
|
886
|
+
* <p>This output displays the ARN of the job run..</p>
|
|
887
|
+
*/
|
|
888
|
+
arn: string | undefined;
|
|
889
|
+
}
|
|
890
|
+
/**
|
|
891
|
+
* @public
|
|
892
|
+
*/
|
|
893
|
+
export interface ListTagsForResourceRequest {
|
|
894
|
+
/**
|
|
895
|
+
* @public
|
|
896
|
+
* <p>The Amazon Resource Name (ARN) that identifies the resource to list the tags for.
|
|
897
|
+
* Currently, the supported resources are Amazon EMR Serverless applications and job
|
|
898
|
+
* runs.</p>
|
|
899
|
+
*/
|
|
900
|
+
resourceArn: string | undefined;
|
|
901
|
+
}
|
|
902
|
+
/**
|
|
903
|
+
* @public
|
|
904
|
+
*/
|
|
905
|
+
export interface ListTagsForResourceResponse {
|
|
906
|
+
/**
|
|
907
|
+
* @public
|
|
908
|
+
* <p>The tags for the resource.</p>
|
|
909
|
+
*/
|
|
910
|
+
tags?: Record<string, string>;
|
|
911
|
+
}
|
|
912
|
+
/**
|
|
913
|
+
* @public
|
|
914
|
+
*/
|
|
915
|
+
export interface TagResourceRequest {
|
|
916
|
+
/**
|
|
917
|
+
* @public
|
|
918
|
+
* <p>The Amazon Resource Name (ARN) that identifies the resource to list the tags for.
|
|
919
|
+
* Currently, the supported resources are Amazon EMR Serverless applications and job
|
|
920
|
+
* runs.</p>
|
|
921
|
+
*/
|
|
922
|
+
resourceArn: string | undefined;
|
|
923
|
+
/**
|
|
924
|
+
* @public
|
|
925
|
+
* <p>The tags to add to the resource. A tag is an array of key-value pairs.</p>
|
|
926
|
+
*/
|
|
927
|
+
tags: Record<string, string> | undefined;
|
|
928
|
+
}
|
|
929
|
+
/**
|
|
930
|
+
* @public
|
|
931
|
+
*/
|
|
932
|
+
export interface TagResourceResponse {
|
|
933
|
+
}
|
|
934
|
+
/**
|
|
935
|
+
* @public
|
|
936
|
+
*/
|
|
937
|
+
export interface UntagResourceRequest {
|
|
938
|
+
/**
|
|
939
|
+
* @public
|
|
940
|
+
* <p>The Amazon Resource Name (ARN) that identifies the resource to list the tags for.
|
|
941
|
+
* Currently, the supported resources are Amazon EMR Serverless applications and job
|
|
942
|
+
* runs.</p>
|
|
943
|
+
*/
|
|
944
|
+
resourceArn: string | undefined;
|
|
945
|
+
/**
|
|
946
|
+
* @public
|
|
947
|
+
* <p>The keys of the tags to be removed.</p>
|
|
948
|
+
*/
|
|
949
|
+
tagKeys: string[] | undefined;
|
|
950
|
+
}
|
|
951
|
+
/**
|
|
952
|
+
* @public
|
|
953
|
+
*/
|
|
954
|
+
export interface UntagResourceResponse {
|
|
955
|
+
}
|
|
956
|
+
/**
|
|
957
|
+
* @public
|
|
958
|
+
* <p>A configuration specification to be used when provisioning an application. A
|
|
959
|
+
* configuration consists of a classification, properties, and optional nested configurations.
|
|
960
|
+
* A classification refers to an application-specific configuration file. Properties are the
|
|
961
|
+
* settings you want to change in that file.</p>
|
|
962
|
+
*/
|
|
963
|
+
export interface Configuration {
|
|
964
|
+
/**
|
|
965
|
+
* @public
|
|
966
|
+
* <p>The classification within a configuration.</p>
|
|
967
|
+
*/
|
|
968
|
+
classification: string | undefined;
|
|
969
|
+
/**
|
|
970
|
+
* @public
|
|
971
|
+
* <p>A set of properties specified within a configuration classification.</p>
|
|
972
|
+
*/
|
|
973
|
+
properties?: Record<string, string>;
|
|
974
|
+
/**
|
|
975
|
+
* @public
|
|
976
|
+
* <p>A list of additional configurations to apply within a configuration object.</p>
|
|
977
|
+
*/
|
|
978
|
+
configurations?: Configuration[];
|
|
979
|
+
}
|
|
980
|
+
/**
|
|
981
|
+
* @public
|
|
982
|
+
* <p>Information about an application. Amazon EMR Serverless uses applications to run
|
|
983
|
+
* jobs.</p>
|
|
984
|
+
*/
|
|
985
|
+
export interface Application {
|
|
986
|
+
/**
|
|
987
|
+
* @public
|
|
988
|
+
* <p>The ID of the application.</p>
|
|
989
|
+
*/
|
|
990
|
+
applicationId: string | undefined;
|
|
991
|
+
/**
|
|
992
|
+
* @public
|
|
993
|
+
* <p>The name of the application.</p>
|
|
994
|
+
*/
|
|
995
|
+
name?: string;
|
|
996
|
+
/**
|
|
997
|
+
* @public
|
|
998
|
+
* <p>The ARN of the application.</p>
|
|
999
|
+
*/
|
|
1000
|
+
arn: string | undefined;
|
|
1001
|
+
/**
|
|
1002
|
+
* @public
|
|
1003
|
+
* <p>The Amazon EMR release associated with the application.</p>
|
|
1004
|
+
*/
|
|
1005
|
+
releaseLabel: string | undefined;
|
|
1006
|
+
/**
|
|
1007
|
+
* @public
|
|
1008
|
+
* <p>The type of application, such as Spark or Hive.</p>
|
|
1009
|
+
*/
|
|
1010
|
+
type: string | undefined;
|
|
1011
|
+
/**
|
|
1012
|
+
* @public
|
|
1013
|
+
* <p>The state of the application.</p>
|
|
1014
|
+
*/
|
|
1015
|
+
state: ApplicationState | string | undefined;
|
|
1016
|
+
/**
|
|
1017
|
+
* @public
|
|
1018
|
+
* <p>The state details of the application.</p>
|
|
1019
|
+
*/
|
|
1020
|
+
stateDetails?: string;
|
|
1021
|
+
/**
|
|
1022
|
+
* @public
|
|
1023
|
+
* <p>The initial capacity of the application.</p>
|
|
1024
|
+
*/
|
|
1025
|
+
initialCapacity?: Record<string, InitialCapacityConfig>;
|
|
1026
|
+
/**
|
|
1027
|
+
* @public
|
|
1028
|
+
* <p>The maximum capacity of the application. This is cumulative across all workers at any
|
|
1029
|
+
* given point in time during the lifespan of the application is created. No new resources
|
|
1030
|
+
* will be created once any one of the defined limits is hit.</p>
|
|
1031
|
+
*/
|
|
1032
|
+
maximumCapacity?: MaximumAllowedResources;
|
|
1033
|
+
/**
|
|
1034
|
+
* @public
|
|
1035
|
+
* <p>The date and time when the application run was created.</p>
|
|
1036
|
+
*/
|
|
1037
|
+
createdAt: Date | undefined;
|
|
1038
|
+
/**
|
|
1039
|
+
* @public
|
|
1040
|
+
* <p>The date and time when the application run was last updated.</p>
|
|
1041
|
+
*/
|
|
1042
|
+
updatedAt: Date | undefined;
|
|
1043
|
+
/**
|
|
1044
|
+
* @public
|
|
1045
|
+
* <p>The tags assigned to the application.</p>
|
|
1046
|
+
*/
|
|
1047
|
+
tags?: Record<string, string>;
|
|
1048
|
+
/**
|
|
1049
|
+
* @public
|
|
1050
|
+
* <p>The configuration for an application to automatically start on job submission.</p>
|
|
1051
|
+
*/
|
|
1052
|
+
autoStartConfiguration?: AutoStartConfig;
|
|
1053
|
+
/**
|
|
1054
|
+
* @public
|
|
1055
|
+
* <p>The configuration for an application to automatically stop after a certain amount of
|
|
1056
|
+
* time being idle.</p>
|
|
1057
|
+
*/
|
|
1058
|
+
autoStopConfiguration?: AutoStopConfig;
|
|
1059
|
+
/**
|
|
1060
|
+
* @public
|
|
1061
|
+
* <p>The network configuration for customer VPC connectivity for the application.</p>
|
|
1062
|
+
*/
|
|
1063
|
+
networkConfiguration?: NetworkConfiguration;
|
|
1064
|
+
/**
|
|
1065
|
+
* @public
|
|
1066
|
+
* <p>The CPU architecture of an application.</p>
|
|
1067
|
+
*/
|
|
1068
|
+
architecture?: Architecture | string;
|
|
1069
|
+
/**
|
|
1070
|
+
* @public
|
|
1071
|
+
* <p>The image configuration applied to all worker types.</p>
|
|
1033
1072
|
*/
|
|
1034
|
-
|
|
1073
|
+
imageConfiguration?: ImageConfiguration;
|
|
1035
1074
|
/**
|
|
1036
1075
|
* @public
|
|
1037
|
-
* <p>The
|
|
1076
|
+
* <p>The specification applied to each worker type.</p>
|
|
1038
1077
|
*/
|
|
1039
|
-
|
|
1078
|
+
workerTypeSpecifications?: Record<string, WorkerTypeSpecification>;
|
|
1040
1079
|
/**
|
|
1041
1080
|
* @public
|
|
1042
|
-
* <p>The
|
|
1081
|
+
* <p>The <a href="https://docs.aws.amazon.com/emr-serverless/latest/APIReference/API_Configuration.html">Configuration</a>
|
|
1082
|
+
* specifications of an application. Each configuration consists of a classification and properties. You use this
|
|
1083
|
+
* parameter when creating or updating an application. To see the runtimeConfiguration object of an application,
|
|
1084
|
+
* run the <a href="https://docs.aws.amazon.com/emr-serverless/latest/APIReference/API_GetApplication.html">GetApplication</a> API operation.</p>
|
|
1043
1085
|
*/
|
|
1044
|
-
|
|
1086
|
+
runtimeConfiguration?: Configuration[];
|
|
1045
1087
|
/**
|
|
1046
1088
|
* @public
|
|
1047
|
-
* <p>The
|
|
1089
|
+
* <p>The configuration setting for monitoring.</p>
|
|
1048
1090
|
*/
|
|
1049
|
-
|
|
1091
|
+
monitoringConfiguration?: MonitoringConfiguration;
|
|
1092
|
+
}
|
|
1093
|
+
/**
|
|
1094
|
+
* @public
|
|
1095
|
+
* <p>A configuration specification to be used to override existing configurations.</p>
|
|
1096
|
+
*/
|
|
1097
|
+
export interface ConfigurationOverrides {
|
|
1050
1098
|
/**
|
|
1051
1099
|
* @public
|
|
1052
|
-
* <p>The
|
|
1100
|
+
* <p>The override configurations for the application.</p>
|
|
1053
1101
|
*/
|
|
1054
|
-
|
|
1102
|
+
applicationConfiguration?: Configuration[];
|
|
1055
1103
|
/**
|
|
1056
1104
|
* @public
|
|
1057
|
-
* <p>
|
|
1058
|
-
* states, the resulting list will be grouped by the state.</p>
|
|
1105
|
+
* <p>The override configurations for monitoring.</p>
|
|
1059
1106
|
*/
|
|
1060
|
-
|
|
1107
|
+
monitoringConfiguration?: MonitoringConfiguration;
|
|
1061
1108
|
}
|
|
1062
1109
|
/**
|
|
1063
1110
|
* @public
|
|
1064
|
-
* <p>The summary of attributes associated with a job run.</p>
|
|
1065
1111
|
*/
|
|
1066
|
-
export interface
|
|
1112
|
+
export interface CreateApplicationRequest {
|
|
1067
1113
|
/**
|
|
1068
1114
|
* @public
|
|
1069
|
-
* <p>The
|
|
1115
|
+
* <p>The name of the application.</p>
|
|
1070
1116
|
*/
|
|
1071
|
-
|
|
1117
|
+
name?: string;
|
|
1072
1118
|
/**
|
|
1073
1119
|
* @public
|
|
1074
|
-
* <p>The
|
|
1120
|
+
* <p>The Amazon EMR release associated with the application.</p>
|
|
1075
1121
|
*/
|
|
1076
|
-
|
|
1122
|
+
releaseLabel: string | undefined;
|
|
1077
1123
|
/**
|
|
1078
1124
|
* @public
|
|
1079
|
-
* <p>The
|
|
1125
|
+
* <p>The type of application you want to start, such as Spark or Hive.</p>
|
|
1080
1126
|
*/
|
|
1081
|
-
|
|
1127
|
+
type: string | undefined;
|
|
1082
1128
|
/**
|
|
1083
1129
|
* @public
|
|
1084
|
-
* <p>The
|
|
1130
|
+
* <p>The client idempotency token of the application to create. Its value must be unique for
|
|
1131
|
+
* each request.</p>
|
|
1085
1132
|
*/
|
|
1086
|
-
|
|
1133
|
+
clientToken?: string;
|
|
1087
1134
|
/**
|
|
1088
1135
|
* @public
|
|
1089
|
-
* <p>The
|
|
1136
|
+
* <p>The capacity to initialize when the application is created.</p>
|
|
1090
1137
|
*/
|
|
1091
|
-
|
|
1138
|
+
initialCapacity?: Record<string, InitialCapacityConfig>;
|
|
1092
1139
|
/**
|
|
1093
1140
|
* @public
|
|
1094
|
-
* <p>The
|
|
1141
|
+
* <p>The maximum capacity to allocate when the application is created. This is cumulative
|
|
1142
|
+
* across all workers at any given point in time, not just when an application is created. No
|
|
1143
|
+
* new resources will be created once any one of the defined limits is hit.</p>
|
|
1095
1144
|
*/
|
|
1096
|
-
|
|
1145
|
+
maximumCapacity?: MaximumAllowedResources;
|
|
1097
1146
|
/**
|
|
1098
1147
|
* @public
|
|
1099
|
-
* <p>The
|
|
1148
|
+
* <p>The tags assigned to the application.</p>
|
|
1100
1149
|
*/
|
|
1101
|
-
|
|
1150
|
+
tags?: Record<string, string>;
|
|
1102
1151
|
/**
|
|
1103
1152
|
* @public
|
|
1104
|
-
* <p>The
|
|
1153
|
+
* <p>The configuration for an application to automatically start on job submission.</p>
|
|
1105
1154
|
*/
|
|
1106
|
-
|
|
1155
|
+
autoStartConfiguration?: AutoStartConfig;
|
|
1107
1156
|
/**
|
|
1108
1157
|
* @public
|
|
1109
|
-
* <p>The
|
|
1158
|
+
* <p>The configuration for an application to automatically stop after a certain amount of
|
|
1159
|
+
* time being idle.</p>
|
|
1110
1160
|
*/
|
|
1111
|
-
|
|
1161
|
+
autoStopConfiguration?: AutoStopConfig;
|
|
1112
1162
|
/**
|
|
1113
1163
|
* @public
|
|
1114
|
-
* <p>The
|
|
1164
|
+
* <p>The network configuration for customer VPC connectivity.</p>
|
|
1115
1165
|
*/
|
|
1116
|
-
|
|
1166
|
+
networkConfiguration?: NetworkConfiguration;
|
|
1117
1167
|
/**
|
|
1118
1168
|
* @public
|
|
1119
|
-
* <p>The
|
|
1120
|
-
* on.</p>
|
|
1169
|
+
* <p>The CPU architecture of an application.</p>
|
|
1121
1170
|
*/
|
|
1122
|
-
|
|
1171
|
+
architecture?: Architecture | string;
|
|
1123
1172
|
/**
|
|
1124
1173
|
* @public
|
|
1125
|
-
* <p>The
|
|
1174
|
+
* <p>The image configuration for all worker types. You can either set this parameter or
|
|
1175
|
+
* <code>imageConfiguration</code> for each worker type in
|
|
1176
|
+
* <code>workerTypeSpecifications</code>.</p>
|
|
1126
1177
|
*/
|
|
1127
|
-
|
|
1128
|
-
}
|
|
1129
|
-
/**
|
|
1130
|
-
* @public
|
|
1131
|
-
*/
|
|
1132
|
-
export interface ListJobRunsResponse {
|
|
1178
|
+
imageConfiguration?: ImageConfigurationInput;
|
|
1133
1179
|
/**
|
|
1134
1180
|
* @public
|
|
1135
|
-
* <p>The
|
|
1181
|
+
* <p>The key-value pairs that specify worker type to
|
|
1182
|
+
* <code>WorkerTypeSpecificationInput</code>. This parameter must contain all valid worker
|
|
1183
|
+
* types for a Spark or Hive application. Valid worker types include <code>Driver</code> and
|
|
1184
|
+
* <code>Executor</code> for Spark applications and <code>HiveDriver</code> and
|
|
1185
|
+
* <code>TezTask</code> for Hive applications. You can either set image details in this
|
|
1186
|
+
* parameter for each worker type, or in <code>imageConfiguration</code> for all worker
|
|
1187
|
+
* types.</p>
|
|
1136
1188
|
*/
|
|
1137
|
-
|
|
1189
|
+
workerTypeSpecifications?: Record<string, WorkerTypeSpecificationInput>;
|
|
1138
1190
|
/**
|
|
1139
1191
|
* @public
|
|
1140
|
-
* <p>The
|
|
1141
|
-
*
|
|
1192
|
+
* <p>The <a href="https://docs.aws.amazon.com/emr-serverless/latest/APIReference/API_Configuration.html">Configuration</a>
|
|
1193
|
+
* specifications to use when creating an application. Each configuration consists of a classification and properties.
|
|
1194
|
+
* This configuration is applied to all the job runs submitted under the application.</p>
|
|
1142
1195
|
*/
|
|
1143
|
-
|
|
1196
|
+
runtimeConfiguration?: Configuration[];
|
|
1197
|
+
/**
|
|
1198
|
+
* @public
|
|
1199
|
+
* <p>The configuration setting for monitoring.</p>
|
|
1200
|
+
*/
|
|
1201
|
+
monitoringConfiguration?: MonitoringConfiguration;
|
|
1144
1202
|
}
|
|
1145
1203
|
/**
|
|
1146
1204
|
* @public
|
|
1147
1205
|
*/
|
|
1148
|
-
export interface
|
|
1206
|
+
export interface UpdateApplicationRequest {
|
|
1149
1207
|
/**
|
|
1150
1208
|
* @public
|
|
1151
|
-
* <p>
|
|
1209
|
+
* <p>The ID of the application to update.</p>
|
|
1152
1210
|
*/
|
|
1153
1211
|
applicationId: string | undefined;
|
|
1154
1212
|
/**
|
|
1155
1213
|
* @public
|
|
1156
|
-
* <p>The
|
|
1214
|
+
* <p>The client idempotency token of the application to update. Its value must be unique for
|
|
1215
|
+
* each request.</p>
|
|
1157
1216
|
*/
|
|
1158
|
-
|
|
1217
|
+
clientToken?: string;
|
|
1159
1218
|
/**
|
|
1160
1219
|
* @public
|
|
1161
|
-
* <p>
|
|
1220
|
+
* <p>The capacity to initialize when the application is updated.</p>
|
|
1162
1221
|
*/
|
|
1163
|
-
|
|
1164
|
-
}
|
|
1165
|
-
/**
|
|
1166
|
-
* @public
|
|
1167
|
-
*/
|
|
1168
|
-
export interface ListTagsForResourceRequest {
|
|
1222
|
+
initialCapacity?: Record<string, InitialCapacityConfig>;
|
|
1169
1223
|
/**
|
|
1170
1224
|
* @public
|
|
1171
|
-
* <p>The
|
|
1172
|
-
*
|
|
1173
|
-
*
|
|
1225
|
+
* <p>The maximum capacity to allocate when the application is updated. This is cumulative
|
|
1226
|
+
* across all workers at any given point in time during the lifespan of the application. No
|
|
1227
|
+
* new resources will be created once any one of the defined limits is hit.</p>
|
|
1174
1228
|
*/
|
|
1175
|
-
|
|
1176
|
-
}
|
|
1177
|
-
/**
|
|
1178
|
-
* @public
|
|
1179
|
-
*/
|
|
1180
|
-
export interface ListTagsForResourceResponse {
|
|
1229
|
+
maximumCapacity?: MaximumAllowedResources;
|
|
1181
1230
|
/**
|
|
1182
1231
|
* @public
|
|
1183
|
-
* <p>The
|
|
1232
|
+
* <p>The configuration for an application to automatically start on job submission.</p>
|
|
1184
1233
|
*/
|
|
1185
|
-
|
|
1186
|
-
}
|
|
1187
|
-
/**
|
|
1188
|
-
* @public
|
|
1189
|
-
*/
|
|
1190
|
-
export interface TagResourceRequest {
|
|
1234
|
+
autoStartConfiguration?: AutoStartConfig;
|
|
1191
1235
|
/**
|
|
1192
1236
|
* @public
|
|
1193
|
-
* <p>The
|
|
1194
|
-
*
|
|
1195
|
-
* runs.</p>
|
|
1237
|
+
* <p>The configuration for an application to automatically stop after a certain amount of
|
|
1238
|
+
* time being idle.</p>
|
|
1196
1239
|
*/
|
|
1197
|
-
|
|
1240
|
+
autoStopConfiguration?: AutoStopConfig;
|
|
1198
1241
|
/**
|
|
1199
1242
|
* @public
|
|
1200
|
-
* <p>The
|
|
1243
|
+
* <p>The network configuration for customer VPC connectivity.</p>
|
|
1201
1244
|
*/
|
|
1202
|
-
|
|
1203
|
-
}
|
|
1204
|
-
/**
|
|
1205
|
-
* @public
|
|
1206
|
-
*/
|
|
1207
|
-
export interface TagResourceResponse {
|
|
1208
|
-
}
|
|
1209
|
-
/**
|
|
1210
|
-
* @public
|
|
1211
|
-
*/
|
|
1212
|
-
export interface UntagResourceRequest {
|
|
1245
|
+
networkConfiguration?: NetworkConfiguration;
|
|
1213
1246
|
/**
|
|
1214
1247
|
* @public
|
|
1215
|
-
* <p>The
|
|
1216
|
-
* Currently, the supported resources are Amazon EMR Serverless applications and job
|
|
1217
|
-
* runs.</p>
|
|
1248
|
+
* <p>The CPU architecture of an application.</p>
|
|
1218
1249
|
*/
|
|
1219
|
-
|
|
1250
|
+
architecture?: Architecture | string;
|
|
1220
1251
|
/**
|
|
1221
1252
|
* @public
|
|
1222
|
-
* <p>The
|
|
1253
|
+
* <p>The image configuration to be used for all worker types. You can either set this
|
|
1254
|
+
* parameter or <code>imageConfiguration</code> for each worker type in
|
|
1255
|
+
* <code>WorkerTypeSpecificationInput</code>.</p>
|
|
1223
1256
|
*/
|
|
1224
|
-
|
|
1225
|
-
}
|
|
1226
|
-
/**
|
|
1227
|
-
* @public
|
|
1228
|
-
*/
|
|
1229
|
-
export interface UntagResourceResponse {
|
|
1230
|
-
}
|
|
1231
|
-
/**
|
|
1232
|
-
* @public
|
|
1233
|
-
* <p>A configuration specification to be used when provisioning an application. A
|
|
1234
|
-
* configuration consists of a classification, properties, and optional nested configurations.
|
|
1235
|
-
* A classification refers to an application-specific configuration file. Properties are the
|
|
1236
|
-
* settings you want to change in that file.</p>
|
|
1237
|
-
*/
|
|
1238
|
-
export interface Configuration {
|
|
1257
|
+
imageConfiguration?: ImageConfigurationInput;
|
|
1239
1258
|
/**
|
|
1240
1259
|
* @public
|
|
1241
|
-
* <p>The
|
|
1260
|
+
* <p>The key-value pairs that specify worker type to
|
|
1261
|
+
* <code>WorkerTypeSpecificationInput</code>. This parameter must contain all valid worker
|
|
1262
|
+
* types for a Spark or Hive application. Valid worker types include <code>Driver</code> and
|
|
1263
|
+
* <code>Executor</code> for Spark applications and <code>HiveDriver</code> and
|
|
1264
|
+
* <code>TezTask</code> for Hive applications. You can either set image details in this
|
|
1265
|
+
* parameter for each worker type, or in <code>imageConfiguration</code> for all worker
|
|
1266
|
+
* types.</p>
|
|
1242
1267
|
*/
|
|
1243
|
-
|
|
1268
|
+
workerTypeSpecifications?: Record<string, WorkerTypeSpecificationInput>;
|
|
1244
1269
|
/**
|
|
1245
1270
|
* @public
|
|
1246
|
-
* <p>
|
|
1271
|
+
* <p>The Amazon EMR release label for the application. You can change the release
|
|
1272
|
+
* label to use a different release of Amazon EMR.</p>
|
|
1247
1273
|
*/
|
|
1248
|
-
|
|
1274
|
+
releaseLabel?: string;
|
|
1249
1275
|
/**
|
|
1250
1276
|
* @public
|
|
1251
|
-
* <p>
|
|
1277
|
+
* <p>The <a href="https://docs.aws.amazon.com/emr-serverless/latest/APIReference/API_Configuration.html">Configuration</a>
|
|
1278
|
+
* specifications to use when updating an application. Each configuration consists of a classification and properties.
|
|
1279
|
+
* This configuration is applied across all the job runs submitted under the application.</p>
|
|
1252
1280
|
*/
|
|
1253
|
-
|
|
1281
|
+
runtimeConfiguration?: Configuration[];
|
|
1282
|
+
/**
|
|
1283
|
+
* @public
|
|
1284
|
+
* <p>The configuration setting for monitoring.</p>
|
|
1285
|
+
*/
|
|
1286
|
+
monitoringConfiguration?: MonitoringConfiguration;
|
|
1254
1287
|
}
|
|
1255
1288
|
/**
|
|
1256
1289
|
* @public
|
|
1257
|
-
* <p>A configuration specification to be used to override existing configurations.</p>
|
|
1258
1290
|
*/
|
|
1259
|
-
export interface
|
|
1260
|
-
/**
|
|
1261
|
-
* @public
|
|
1262
|
-
* <p>The override configurations for the application.</p>
|
|
1263
|
-
*/
|
|
1264
|
-
applicationConfiguration?: Configuration[];
|
|
1291
|
+
export interface GetApplicationResponse {
|
|
1265
1292
|
/**
|
|
1266
1293
|
* @public
|
|
1267
|
-
* <p>The
|
|
1294
|
+
* <p>The output displays information about the specified application.</p>
|
|
1268
1295
|
*/
|
|
1269
|
-
|
|
1296
|
+
application: Application | undefined;
|
|
1270
1297
|
}
|
|
1271
1298
|
/**
|
|
1272
1299
|
* @public
|
|
@@ -1426,6 +1453,16 @@ export interface StartJobRunRequest {
|
|
|
1426
1453
|
*/
|
|
1427
1454
|
name?: string;
|
|
1428
1455
|
}
|
|
1456
|
+
/**
|
|
1457
|
+
* @public
|
|
1458
|
+
*/
|
|
1459
|
+
export interface UpdateApplicationResponse {
|
|
1460
|
+
/**
|
|
1461
|
+
* @public
|
|
1462
|
+
* <p>Information about the updated application.</p>
|
|
1463
|
+
*/
|
|
1464
|
+
application: Application | undefined;
|
|
1465
|
+
}
|
|
1429
1466
|
/**
|
|
1430
1467
|
* @public
|
|
1431
1468
|
*/
|
|
@@ -1452,10 +1489,26 @@ export declare const JobDriverFilterSensitiveLog: (obj: JobDriver) => any;
|
|
|
1452
1489
|
* @internal
|
|
1453
1490
|
*/
|
|
1454
1491
|
export declare const ConfigurationFilterSensitiveLog: (obj: Configuration) => any;
|
|
1492
|
+
/**
|
|
1493
|
+
* @internal
|
|
1494
|
+
*/
|
|
1495
|
+
export declare const ApplicationFilterSensitiveLog: (obj: Application) => any;
|
|
1455
1496
|
/**
|
|
1456
1497
|
* @internal
|
|
1457
1498
|
*/
|
|
1458
1499
|
export declare const ConfigurationOverridesFilterSensitiveLog: (obj: ConfigurationOverrides) => any;
|
|
1500
|
+
/**
|
|
1501
|
+
* @internal
|
|
1502
|
+
*/
|
|
1503
|
+
export declare const CreateApplicationRequestFilterSensitiveLog: (obj: CreateApplicationRequest) => any;
|
|
1504
|
+
/**
|
|
1505
|
+
* @internal
|
|
1506
|
+
*/
|
|
1507
|
+
export declare const UpdateApplicationRequestFilterSensitiveLog: (obj: UpdateApplicationRequest) => any;
|
|
1508
|
+
/**
|
|
1509
|
+
* @internal
|
|
1510
|
+
*/
|
|
1511
|
+
export declare const GetApplicationResponseFilterSensitiveLog: (obj: GetApplicationResponse) => any;
|
|
1459
1512
|
/**
|
|
1460
1513
|
* @internal
|
|
1461
1514
|
*/
|
|
@@ -1464,6 +1517,10 @@ export declare const JobRunFilterSensitiveLog: (obj: JobRun) => any;
|
|
|
1464
1517
|
* @internal
|
|
1465
1518
|
*/
|
|
1466
1519
|
export declare const StartJobRunRequestFilterSensitiveLog: (obj: StartJobRunRequest) => any;
|
|
1520
|
+
/**
|
|
1521
|
+
* @internal
|
|
1522
|
+
*/
|
|
1523
|
+
export declare const UpdateApplicationResponseFilterSensitiveLog: (obj: UpdateApplicationResponse) => any;
|
|
1467
1524
|
/**
|
|
1468
1525
|
* @internal
|
|
1469
1526
|
*/
|