@aws-sdk/client-emr-serverless 3.169.0 → 3.171.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.
Files changed (33) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist-types/ts3.4/EMRServerless.d.ts +242 -75
  3. package/dist-types/ts3.4/EMRServerlessClient.d.ts +189 -87
  4. package/dist-types/ts3.4/commands/CancelJobRunCommand.d.ts +32 -17
  5. package/dist-types/ts3.4/commands/CreateApplicationCommand.d.ts +36 -17
  6. package/dist-types/ts3.4/commands/DeleteApplicationCommand.d.ts +36 -17
  7. package/dist-types/ts3.4/commands/GetApplicationCommand.d.ts +35 -17
  8. package/dist-types/ts3.4/commands/GetJobRunCommand.d.ts +32 -17
  9. package/dist-types/ts3.4/commands/ListApplicationsCommand.d.ts +35 -17
  10. package/dist-types/ts3.4/commands/ListJobRunsCommand.d.ts +32 -17
  11. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +36 -17
  12. package/dist-types/ts3.4/commands/StartApplicationCommand.d.ts +35 -17
  13. package/dist-types/ts3.4/commands/StartJobRunCommand.d.ts +32 -17
  14. package/dist-types/ts3.4/commands/StopApplicationCommand.d.ts +35 -17
  15. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +32 -17
  16. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +35 -17
  17. package/dist-types/ts3.4/commands/UpdateApplicationCommand.d.ts +36 -17
  18. package/dist-types/ts3.4/commands/index.d.ts +14 -14
  19. package/dist-types/ts3.4/endpoints.d.ts +2 -2
  20. package/dist-types/ts3.4/index.d.ts +6 -6
  21. package/dist-types/ts3.4/models/EMRServerlessServiceException.d.ts +7 -6
  22. package/dist-types/ts3.4/models/index.d.ts +1 -1
  23. package/dist-types/ts3.4/models/models_0.d.ts +448 -588
  24. package/dist-types/ts3.4/pagination/Interfaces.d.ts +7 -6
  25. package/dist-types/ts3.4/pagination/ListApplicationsPaginator.d.ts +11 -4
  26. package/dist-types/ts3.4/pagination/ListJobRunsPaginator.d.ts +11 -4
  27. package/dist-types/ts3.4/pagination/index.d.ts +3 -3
  28. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +173 -44
  29. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +65 -38
  30. package/dist-types/ts3.4/runtimeConfig.d.ts +65 -38
  31. package/dist-types/ts3.4/runtimeConfig.native.d.ts +66 -37
  32. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +10 -11
  33. package/package.json +34 -34
@@ -1,588 +1,448 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
- import { EMRServerlessServiceException as __BaseException } from "./EMRServerlessServiceException";
3
-
4
- export interface AutoStartConfig {
5
-
6
- enabled?: boolean;
7
- }
8
-
9
- export interface AutoStopConfig {
10
-
11
- enabled?: boolean;
12
-
13
- idleTimeoutMinutes?: number;
14
- }
15
-
16
- export interface WorkerResourceConfig {
17
-
18
- cpu: string | undefined;
19
-
20
- memory: string | undefined;
21
-
22
- disk?: string;
23
- }
24
-
25
- export interface InitialCapacityConfig {
26
-
27
- workerCount: number | undefined;
28
-
29
- workerConfiguration?: WorkerResourceConfig;
30
- }
31
-
32
- export interface MaximumAllowedResources {
33
-
34
- cpu: string | undefined;
35
-
36
- memory: string | undefined;
37
-
38
- disk?: string;
39
- }
40
-
41
- export interface NetworkConfiguration {
42
-
43
- subnetIds?: string[];
44
-
45
- securityGroupIds?: string[];
46
- }
47
- export declare enum ApplicationState {
48
- CREATED = "CREATED",
49
- CREATING = "CREATING",
50
- STARTED = "STARTED",
51
- STARTING = "STARTING",
52
- STOPPED = "STOPPED",
53
- STOPPING = "STOPPING",
54
- TERMINATED = "TERMINATED"
55
- }
56
-
57
- export interface Application {
58
-
59
- applicationId: string | undefined;
60
-
61
- name?: string;
62
-
63
- arn: string | undefined;
64
-
65
- releaseLabel: string | undefined;
66
-
67
- type: string | undefined;
68
-
69
- state: ApplicationState | string | undefined;
70
-
71
- stateDetails?: string;
72
-
73
- initialCapacity?: Record<string, InitialCapacityConfig>;
74
-
75
- maximumCapacity?: MaximumAllowedResources;
76
-
77
- createdAt: Date | undefined;
78
-
79
- updatedAt: Date | undefined;
80
-
81
- tags?: Record<string, string>;
82
-
83
- autoStartConfiguration?: AutoStartConfig;
84
-
85
- autoStopConfiguration?: AutoStopConfig;
86
-
87
- networkConfiguration?: NetworkConfiguration;
88
- }
89
-
90
- export interface ApplicationSummary {
91
-
92
- id: string | undefined;
93
-
94
- name?: string;
95
-
96
- arn: string | undefined;
97
-
98
- releaseLabel: string | undefined;
99
-
100
- type: string | undefined;
101
-
102
- state: ApplicationState | string | undefined;
103
-
104
- stateDetails?: string;
105
-
106
- createdAt: Date | undefined;
107
-
108
- updatedAt: Date | undefined;
109
- }
110
-
111
- export declare class ConflictException extends __BaseException {
112
- readonly name: "ConflictException";
113
- readonly $fault: "client";
114
-
115
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
116
- }
117
- export interface CreateApplicationRequest {
118
-
119
- name?: string;
120
-
121
- releaseLabel: string | undefined;
122
-
123
- type: string | undefined;
124
-
125
- clientToken?: string;
126
-
127
- initialCapacity?: Record<string, InitialCapacityConfig>;
128
-
129
- maximumCapacity?: MaximumAllowedResources;
130
-
131
- tags?: Record<string, string>;
132
-
133
- autoStartConfiguration?: AutoStartConfig;
134
-
135
- autoStopConfiguration?: AutoStopConfig;
136
-
137
- networkConfiguration?: NetworkConfiguration;
138
- }
139
- export interface CreateApplicationResponse {
140
-
141
- applicationId: string | undefined;
142
-
143
- name?: string;
144
-
145
- arn: string | undefined;
146
- }
147
-
148
- export declare class InternalServerException extends __BaseException {
149
- readonly name: "InternalServerException";
150
- readonly $fault: "server";
151
-
152
- constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
153
- }
154
-
155
- export declare class ValidationException extends __BaseException {
156
- readonly name: "ValidationException";
157
- readonly $fault: "client";
158
-
159
- constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
160
- }
161
- export interface DeleteApplicationRequest {
162
-
163
- applicationId: string | undefined;
164
- }
165
- export interface DeleteApplicationResponse {
166
- }
167
-
168
- export declare class ResourceNotFoundException extends __BaseException {
169
- readonly name: "ResourceNotFoundException";
170
- readonly $fault: "client";
171
-
172
- constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
173
- }
174
- export interface GetApplicationRequest {
175
-
176
- applicationId: string | undefined;
177
- }
178
- export interface GetApplicationResponse {
179
-
180
- application: Application | undefined;
181
- }
182
- export interface ListApplicationsRequest {
183
-
184
- nextToken?: string;
185
-
186
- maxResults?: number;
187
-
188
- states?: (ApplicationState | string)[];
189
- }
190
- export interface ListApplicationsResponse {
191
-
192
- applications: ApplicationSummary[] | undefined;
193
-
194
- nextToken?: string;
195
- }
196
-
197
- export declare class ServiceQuotaExceededException extends __BaseException {
198
- readonly name: "ServiceQuotaExceededException";
199
- readonly $fault: "client";
200
-
201
- constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
202
- }
203
- export interface StartApplicationRequest {
204
-
205
- applicationId: string | undefined;
206
- }
207
- export interface StartApplicationResponse {
208
- }
209
- export interface StopApplicationRequest {
210
-
211
- applicationId: string | undefined;
212
- }
213
- export interface StopApplicationResponse {
214
- }
215
- export interface UpdateApplicationRequest {
216
-
217
- applicationId: string | undefined;
218
-
219
- clientToken?: string;
220
-
221
- initialCapacity?: Record<string, InitialCapacityConfig>;
222
-
223
- maximumCapacity?: MaximumAllowedResources;
224
-
225
- autoStartConfiguration?: AutoStartConfig;
226
-
227
- autoStopConfiguration?: AutoStopConfig;
228
-
229
- networkConfiguration?: NetworkConfiguration;
230
- }
231
- export interface UpdateApplicationResponse {
232
-
233
- application: Application | undefined;
234
- }
235
- export interface CancelJobRunRequest {
236
-
237
- applicationId: string | undefined;
238
-
239
- jobRunId: string | undefined;
240
- }
241
- export interface CancelJobRunResponse {
242
-
243
- applicationId: string | undefined;
244
-
245
- jobRunId: string | undefined;
246
- }
247
- export interface GetJobRunRequest {
248
-
249
- applicationId: string | undefined;
250
-
251
- jobRunId: string | undefined;
252
- }
253
-
254
- export interface ManagedPersistenceMonitoringConfiguration {
255
-
256
- enabled?: boolean;
257
-
258
- encryptionKeyArn?: string;
259
- }
260
-
261
- export interface S3MonitoringConfiguration {
262
-
263
- logUri?: string;
264
-
265
- encryptionKeyArn?: string;
266
- }
267
-
268
- export interface MonitoringConfiguration {
269
-
270
- s3MonitoringConfiguration?: S3MonitoringConfiguration;
271
-
272
- managedPersistenceMonitoringConfiguration?: ManagedPersistenceMonitoringConfiguration;
273
- }
274
-
275
- export interface Hive {
276
-
277
- query: string | undefined;
278
-
279
- initQueryFile?: string;
280
-
281
- parameters?: string;
282
- }
283
-
284
- export interface SparkSubmit {
285
-
286
- entryPoint: string | undefined;
287
-
288
- entryPointArguments?: string[];
289
-
290
- sparkSubmitParameters?: string;
291
- }
292
-
293
- export declare type JobDriver = JobDriver.HiveMember | JobDriver.SparkSubmitMember | JobDriver.$UnknownMember;
294
- export declare namespace JobDriver {
295
-
296
- interface SparkSubmitMember {
297
- sparkSubmit: SparkSubmit;
298
- hive?: never;
299
- $unknown?: never;
300
- }
301
-
302
- interface HiveMember {
303
- sparkSubmit?: never;
304
- hive: Hive;
305
- $unknown?: never;
306
- }
307
- interface $UnknownMember {
308
- sparkSubmit?: never;
309
- hive?: never;
310
- $unknown: [
311
- string,
312
- any
313
- ];
314
- }
315
- interface Visitor<T> {
316
- sparkSubmit: (value: SparkSubmit) => T;
317
- hive: (value: Hive) => T;
318
- _: (name: string, value: any) => T;
319
- }
320
- const visit: <T>(value: JobDriver, visitor: Visitor<T>) => T;
321
- }
322
- export declare enum JobRunState {
323
- CANCELLED = "CANCELLED",
324
- CANCELLING = "CANCELLING",
325
- FAILED = "FAILED",
326
- PENDING = "PENDING",
327
- RUNNING = "RUNNING",
328
- SCHEDULED = "SCHEDULED",
329
- SUBMITTED = "SUBMITTED",
330
- SUCCESS = "SUCCESS"
331
- }
332
-
333
- export interface TotalResourceUtilization {
334
-
335
- vCPUHour?: number;
336
-
337
- memoryGBHour?: number;
338
-
339
- storageGBHour?: number;
340
- }
341
- export interface ListJobRunsRequest {
342
-
343
- applicationId: string | undefined;
344
-
345
- nextToken?: string;
346
-
347
- maxResults?: number;
348
-
349
- createdAtAfter?: Date;
350
-
351
- createdAtBefore?: Date;
352
-
353
- states?: (JobRunState | string)[];
354
- }
355
-
356
- export interface JobRunSummary {
357
-
358
- applicationId: string | undefined;
359
-
360
- id: string | undefined;
361
-
362
- name?: string;
363
-
364
- arn: string | undefined;
365
-
366
- createdBy: string | undefined;
367
-
368
- createdAt: Date | undefined;
369
-
370
- updatedAt: Date | undefined;
371
-
372
- executionRole: string | undefined;
373
-
374
- state: JobRunState | string | undefined;
375
-
376
- stateDetails: string | undefined;
377
-
378
- releaseLabel: string | undefined;
379
-
380
- type?: string;
381
- }
382
- export interface ListJobRunsResponse {
383
-
384
- jobRuns: JobRunSummary[] | undefined;
385
-
386
- nextToken?: string;
387
- }
388
- export interface StartJobRunResponse {
389
-
390
- applicationId: string | undefined;
391
-
392
- jobRunId: string | undefined;
393
-
394
- arn: string | undefined;
395
- }
396
- export interface ListTagsForResourceRequest {
397
-
398
- resourceArn: string | undefined;
399
- }
400
- export interface ListTagsForResourceResponse {
401
-
402
- tags?: Record<string, string>;
403
- }
404
- export interface TagResourceRequest {
405
-
406
- resourceArn: string | undefined;
407
-
408
- tags: Record<string, string> | undefined;
409
- }
410
- export interface TagResourceResponse {
411
- }
412
- export interface UntagResourceRequest {
413
-
414
- resourceArn: string | undefined;
415
-
416
- tagKeys: string[] | undefined;
417
- }
418
- export interface UntagResourceResponse {
419
- }
420
-
421
- export interface Configuration {
422
-
423
- classification: string | undefined;
424
-
425
- properties?: Record<string, string>;
426
-
427
- configurations?: Configuration[];
428
- }
429
-
430
- export interface ConfigurationOverrides {
431
-
432
- applicationConfiguration?: Configuration[];
433
-
434
- monitoringConfiguration?: MonitoringConfiguration;
435
- }
436
-
437
- export interface JobRun {
438
-
439
- applicationId: string | undefined;
440
-
441
- jobRunId: string | undefined;
442
-
443
- name?: string;
444
-
445
- arn: string | undefined;
446
-
447
- createdBy: string | undefined;
448
-
449
- createdAt: Date | undefined;
450
-
451
- updatedAt: Date | undefined;
452
-
453
- executionRole: string | undefined;
454
-
455
- state: JobRunState | string | undefined;
456
-
457
- stateDetails: string | undefined;
458
-
459
- releaseLabel: string | undefined;
460
-
461
- configurationOverrides?: ConfigurationOverrides;
462
-
463
- jobDriver: JobDriver | undefined;
464
-
465
- tags?: Record<string, string>;
466
-
467
- totalResourceUtilization?: TotalResourceUtilization;
468
-
469
- networkConfiguration?: NetworkConfiguration;
470
-
471
- totalExecutionDurationSeconds?: number;
472
- }
473
- export interface StartJobRunRequest {
474
-
475
- applicationId: string | undefined;
476
-
477
- clientToken?: string;
478
-
479
- executionRoleArn: string | undefined;
480
-
481
- jobDriver?: JobDriver;
482
-
483
- configurationOverrides?: ConfigurationOverrides;
484
-
485
- tags?: Record<string, string>;
486
-
487
- executionTimeoutMinutes?: number;
488
-
489
- name?: string;
490
- }
491
- export interface GetJobRunResponse {
492
-
493
- jobRun: JobRun | undefined;
494
- }
495
-
496
- export declare const AutoStartConfigFilterSensitiveLog: (obj: AutoStartConfig) => any;
497
-
498
- export declare const AutoStopConfigFilterSensitiveLog: (obj: AutoStopConfig) => any;
499
-
500
- export declare const WorkerResourceConfigFilterSensitiveLog: (obj: WorkerResourceConfig) => any;
501
-
502
- export declare const InitialCapacityConfigFilterSensitiveLog: (obj: InitialCapacityConfig) => any;
503
-
504
- export declare const MaximumAllowedResourcesFilterSensitiveLog: (obj: MaximumAllowedResources) => any;
505
-
506
- export declare const NetworkConfigurationFilterSensitiveLog: (obj: NetworkConfiguration) => any;
507
-
508
- export declare const ApplicationFilterSensitiveLog: (obj: Application) => any;
509
-
510
- export declare const ApplicationSummaryFilterSensitiveLog: (obj: ApplicationSummary) => any;
511
-
512
- export declare const CreateApplicationRequestFilterSensitiveLog: (obj: CreateApplicationRequest) => any;
513
-
514
- export declare const CreateApplicationResponseFilterSensitiveLog: (obj: CreateApplicationResponse) => any;
515
-
516
- export declare const DeleteApplicationRequestFilterSensitiveLog: (obj: DeleteApplicationRequest) => any;
517
-
518
- export declare const DeleteApplicationResponseFilterSensitiveLog: (obj: DeleteApplicationResponse) => any;
519
-
520
- export declare const GetApplicationRequestFilterSensitiveLog: (obj: GetApplicationRequest) => any;
521
-
522
- export declare const GetApplicationResponseFilterSensitiveLog: (obj: GetApplicationResponse) => any;
523
-
524
- export declare const ListApplicationsRequestFilterSensitiveLog: (obj: ListApplicationsRequest) => any;
525
-
526
- export declare const ListApplicationsResponseFilterSensitiveLog: (obj: ListApplicationsResponse) => any;
527
-
528
- export declare const StartApplicationRequestFilterSensitiveLog: (obj: StartApplicationRequest) => any;
529
-
530
- export declare const StartApplicationResponseFilterSensitiveLog: (obj: StartApplicationResponse) => any;
531
-
532
- export declare const StopApplicationRequestFilterSensitiveLog: (obj: StopApplicationRequest) => any;
533
-
534
- export declare const StopApplicationResponseFilterSensitiveLog: (obj: StopApplicationResponse) => any;
535
-
536
- export declare const UpdateApplicationRequestFilterSensitiveLog: (obj: UpdateApplicationRequest) => any;
537
-
538
- export declare const UpdateApplicationResponseFilterSensitiveLog: (obj: UpdateApplicationResponse) => any;
539
-
540
- export declare const CancelJobRunRequestFilterSensitiveLog: (obj: CancelJobRunRequest) => any;
541
-
542
- export declare const CancelJobRunResponseFilterSensitiveLog: (obj: CancelJobRunResponse) => any;
543
-
544
- export declare const GetJobRunRequestFilterSensitiveLog: (obj: GetJobRunRequest) => any;
545
-
546
- export declare const ManagedPersistenceMonitoringConfigurationFilterSensitiveLog: (obj: ManagedPersistenceMonitoringConfiguration) => any;
547
-
548
- export declare const S3MonitoringConfigurationFilterSensitiveLog: (obj: S3MonitoringConfiguration) => any;
549
-
550
- export declare const MonitoringConfigurationFilterSensitiveLog: (obj: MonitoringConfiguration) => any;
551
-
552
- export declare const HiveFilterSensitiveLog: (obj: Hive) => any;
553
-
554
- export declare const SparkSubmitFilterSensitiveLog: (obj: SparkSubmit) => any;
555
-
556
- export declare const JobDriverFilterSensitiveLog: (obj: JobDriver) => any;
557
-
558
- export declare const TotalResourceUtilizationFilterSensitiveLog: (obj: TotalResourceUtilization) => any;
559
-
560
- export declare const ListJobRunsRequestFilterSensitiveLog: (obj: ListJobRunsRequest) => any;
561
-
562
- export declare const JobRunSummaryFilterSensitiveLog: (obj: JobRunSummary) => any;
563
-
564
- export declare const ListJobRunsResponseFilterSensitiveLog: (obj: ListJobRunsResponse) => any;
565
-
566
- export declare const StartJobRunResponseFilterSensitiveLog: (obj: StartJobRunResponse) => any;
567
-
568
- export declare const ListTagsForResourceRequestFilterSensitiveLog: (obj: ListTagsForResourceRequest) => any;
569
-
570
- export declare const ListTagsForResourceResponseFilterSensitiveLog: (obj: ListTagsForResourceResponse) => any;
571
-
572
- export declare const TagResourceRequestFilterSensitiveLog: (obj: TagResourceRequest) => any;
573
-
574
- export declare const TagResourceResponseFilterSensitiveLog: (obj: TagResourceResponse) => any;
575
-
576
- export declare const UntagResourceRequestFilterSensitiveLog: (obj: UntagResourceRequest) => any;
577
-
578
- export declare const UntagResourceResponseFilterSensitiveLog: (obj: UntagResourceResponse) => any;
579
-
580
- export declare const ConfigurationFilterSensitiveLog: (obj: Configuration) => any;
581
-
582
- export declare const ConfigurationOverridesFilterSensitiveLog: (obj: ConfigurationOverrides) => any;
583
-
584
- export declare const JobRunFilterSensitiveLog: (obj: JobRun) => any;
585
-
586
- export declare const StartJobRunRequestFilterSensitiveLog: (obj: StartJobRunRequest) => any;
587
-
588
- export declare const GetJobRunResponseFilterSensitiveLog: (obj: GetJobRunResponse) => any;
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { EMRServerlessServiceException as __BaseException } from "./EMRServerlessServiceException";
3
+ export interface AutoStartConfig {
4
+ enabled?: boolean;
5
+ }
6
+ export interface AutoStopConfig {
7
+ enabled?: boolean;
8
+ idleTimeoutMinutes?: number;
9
+ }
10
+ export interface WorkerResourceConfig {
11
+ cpu: string | undefined;
12
+ memory: string | undefined;
13
+ disk?: string;
14
+ }
15
+ export interface InitialCapacityConfig {
16
+ workerCount: number | undefined;
17
+ workerConfiguration?: WorkerResourceConfig;
18
+ }
19
+ export interface MaximumAllowedResources {
20
+ cpu: string | undefined;
21
+ memory: string | undefined;
22
+ disk?: string;
23
+ }
24
+ export interface NetworkConfiguration {
25
+ subnetIds?: string[];
26
+ securityGroupIds?: string[];
27
+ }
28
+ export declare enum ApplicationState {
29
+ CREATED = "CREATED",
30
+ CREATING = "CREATING",
31
+ STARTED = "STARTED",
32
+ STARTING = "STARTING",
33
+ STOPPED = "STOPPED",
34
+ STOPPING = "STOPPING",
35
+ TERMINATED = "TERMINATED",
36
+ }
37
+ export interface Application {
38
+ applicationId: string | undefined;
39
+ name?: string;
40
+ arn: string | undefined;
41
+ releaseLabel: string | undefined;
42
+ type: string | undefined;
43
+ state: ApplicationState | string | undefined;
44
+ stateDetails?: string;
45
+ initialCapacity?: Record<string, InitialCapacityConfig>;
46
+ maximumCapacity?: MaximumAllowedResources;
47
+ createdAt: Date | undefined;
48
+ updatedAt: Date | undefined;
49
+ tags?: Record<string, string>;
50
+ autoStartConfiguration?: AutoStartConfig;
51
+ autoStopConfiguration?: AutoStopConfig;
52
+ networkConfiguration?: NetworkConfiguration;
53
+ }
54
+ export interface ApplicationSummary {
55
+ id: string | undefined;
56
+ name?: string;
57
+ arn: string | undefined;
58
+ releaseLabel: string | undefined;
59
+ type: string | undefined;
60
+ state: ApplicationState | string | undefined;
61
+ stateDetails?: string;
62
+ createdAt: Date | undefined;
63
+ updatedAt: Date | undefined;
64
+ }
65
+ export declare class ConflictException extends __BaseException {
66
+ readonly name: "ConflictException";
67
+ readonly $fault: "client";
68
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
69
+ }
70
+ export interface CreateApplicationRequest {
71
+ name?: string;
72
+ releaseLabel: string | undefined;
73
+ type: string | undefined;
74
+ clientToken?: string;
75
+ initialCapacity?: Record<string, InitialCapacityConfig>;
76
+ maximumCapacity?: MaximumAllowedResources;
77
+ tags?: Record<string, string>;
78
+ autoStartConfiguration?: AutoStartConfig;
79
+ autoStopConfiguration?: AutoStopConfig;
80
+ networkConfiguration?: NetworkConfiguration;
81
+ }
82
+ export interface CreateApplicationResponse {
83
+ applicationId: string | undefined;
84
+ name?: string;
85
+ arn: string | undefined;
86
+ }
87
+ export declare class InternalServerException extends __BaseException {
88
+ readonly name: "InternalServerException";
89
+ readonly $fault: "server";
90
+ constructor(
91
+ opts: __ExceptionOptionType<InternalServerException, __BaseException>
92
+ );
93
+ }
94
+ export declare class ValidationException extends __BaseException {
95
+ readonly name: "ValidationException";
96
+ readonly $fault: "client";
97
+ constructor(
98
+ opts: __ExceptionOptionType<ValidationException, __BaseException>
99
+ );
100
+ }
101
+ export interface DeleteApplicationRequest {
102
+ applicationId: string | undefined;
103
+ }
104
+ export interface DeleteApplicationResponse {}
105
+ export declare class ResourceNotFoundException extends __BaseException {
106
+ readonly name: "ResourceNotFoundException";
107
+ readonly $fault: "client";
108
+ constructor(
109
+ opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
110
+ );
111
+ }
112
+ export interface GetApplicationRequest {
113
+ applicationId: string | undefined;
114
+ }
115
+ export interface GetApplicationResponse {
116
+ application: Application | undefined;
117
+ }
118
+ export interface ListApplicationsRequest {
119
+ nextToken?: string;
120
+ maxResults?: number;
121
+ states?: (ApplicationState | string)[];
122
+ }
123
+ export interface ListApplicationsResponse {
124
+ applications: ApplicationSummary[] | undefined;
125
+ nextToken?: string;
126
+ }
127
+ export declare class ServiceQuotaExceededException extends __BaseException {
128
+ readonly name: "ServiceQuotaExceededException";
129
+ readonly $fault: "client";
130
+ constructor(
131
+ opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
132
+ );
133
+ }
134
+ export interface StartApplicationRequest {
135
+ applicationId: string | undefined;
136
+ }
137
+ export interface StartApplicationResponse {}
138
+ export interface StopApplicationRequest {
139
+ applicationId: string | undefined;
140
+ }
141
+ export interface StopApplicationResponse {}
142
+ export interface UpdateApplicationRequest {
143
+ applicationId: string | undefined;
144
+ clientToken?: string;
145
+ initialCapacity?: Record<string, InitialCapacityConfig>;
146
+ maximumCapacity?: MaximumAllowedResources;
147
+ autoStartConfiguration?: AutoStartConfig;
148
+ autoStopConfiguration?: AutoStopConfig;
149
+ networkConfiguration?: NetworkConfiguration;
150
+ }
151
+ export interface UpdateApplicationResponse {
152
+ application: Application | undefined;
153
+ }
154
+ export interface CancelJobRunRequest {
155
+ applicationId: string | undefined;
156
+ jobRunId: string | undefined;
157
+ }
158
+ export interface CancelJobRunResponse {
159
+ applicationId: string | undefined;
160
+ jobRunId: string | undefined;
161
+ }
162
+ export interface GetJobRunRequest {
163
+ applicationId: string | undefined;
164
+ jobRunId: string | undefined;
165
+ }
166
+ export interface ManagedPersistenceMonitoringConfiguration {
167
+ enabled?: boolean;
168
+ encryptionKeyArn?: string;
169
+ }
170
+ export interface S3MonitoringConfiguration {
171
+ logUri?: string;
172
+ encryptionKeyArn?: string;
173
+ }
174
+ export interface MonitoringConfiguration {
175
+ s3MonitoringConfiguration?: S3MonitoringConfiguration;
176
+ managedPersistenceMonitoringConfiguration?: ManagedPersistenceMonitoringConfiguration;
177
+ }
178
+ export interface Hive {
179
+ query: string | undefined;
180
+ initQueryFile?: string;
181
+ parameters?: string;
182
+ }
183
+ export interface SparkSubmit {
184
+ entryPoint: string | undefined;
185
+ entryPointArguments?: string[];
186
+ sparkSubmitParameters?: string;
187
+ }
188
+ export declare type JobDriver =
189
+ | JobDriver.HiveMember
190
+ | JobDriver.SparkSubmitMember
191
+ | JobDriver.$UnknownMember;
192
+ export declare namespace JobDriver {
193
+ interface SparkSubmitMember {
194
+ sparkSubmit: SparkSubmit;
195
+ hive?: never;
196
+ $unknown?: never;
197
+ }
198
+ interface HiveMember {
199
+ sparkSubmit?: never;
200
+ hive: Hive;
201
+ $unknown?: never;
202
+ }
203
+ interface $UnknownMember {
204
+ sparkSubmit?: never;
205
+ hive?: never;
206
+ $unknown: [string, any];
207
+ }
208
+ interface Visitor<T> {
209
+ sparkSubmit: (value: SparkSubmit) => T;
210
+ hive: (value: Hive) => T;
211
+ _: (name: string, value: any) => T;
212
+ }
213
+ const visit: <T>(value: JobDriver, visitor: Visitor<T>) => T;
214
+ }
215
+ export declare enum JobRunState {
216
+ CANCELLED = "CANCELLED",
217
+ CANCELLING = "CANCELLING",
218
+ FAILED = "FAILED",
219
+ PENDING = "PENDING",
220
+ RUNNING = "RUNNING",
221
+ SCHEDULED = "SCHEDULED",
222
+ SUBMITTED = "SUBMITTED",
223
+ SUCCESS = "SUCCESS",
224
+ }
225
+ export interface TotalResourceUtilization {
226
+ vCPUHour?: number;
227
+ memoryGBHour?: number;
228
+ storageGBHour?: number;
229
+ }
230
+ export interface ListJobRunsRequest {
231
+ applicationId: string | undefined;
232
+ nextToken?: string;
233
+ maxResults?: number;
234
+ createdAtAfter?: Date;
235
+ createdAtBefore?: Date;
236
+ states?: (JobRunState | string)[];
237
+ }
238
+ export interface JobRunSummary {
239
+ applicationId: string | undefined;
240
+ id: string | undefined;
241
+ name?: string;
242
+ arn: string | undefined;
243
+ createdBy: string | undefined;
244
+ createdAt: Date | undefined;
245
+ updatedAt: Date | undefined;
246
+ executionRole: string | undefined;
247
+ state: JobRunState | string | undefined;
248
+ stateDetails: string | undefined;
249
+ releaseLabel: string | undefined;
250
+ type?: string;
251
+ }
252
+ export interface ListJobRunsResponse {
253
+ jobRuns: JobRunSummary[] | undefined;
254
+ nextToken?: string;
255
+ }
256
+ export interface StartJobRunResponse {
257
+ applicationId: string | undefined;
258
+ jobRunId: string | undefined;
259
+ arn: string | undefined;
260
+ }
261
+ export interface ListTagsForResourceRequest {
262
+ resourceArn: string | undefined;
263
+ }
264
+ export interface ListTagsForResourceResponse {
265
+ tags?: Record<string, string>;
266
+ }
267
+ export interface TagResourceRequest {
268
+ resourceArn: string | undefined;
269
+ tags: Record<string, string> | undefined;
270
+ }
271
+ export interface TagResourceResponse {}
272
+ export interface UntagResourceRequest {
273
+ resourceArn: string | undefined;
274
+ tagKeys: string[] | undefined;
275
+ }
276
+ export interface UntagResourceResponse {}
277
+ export interface Configuration {
278
+ classification: string | undefined;
279
+ properties?: Record<string, string>;
280
+ configurations?: Configuration[];
281
+ }
282
+ export interface ConfigurationOverrides {
283
+ applicationConfiguration?: Configuration[];
284
+ monitoringConfiguration?: MonitoringConfiguration;
285
+ }
286
+ export interface JobRun {
287
+ applicationId: string | undefined;
288
+ jobRunId: string | undefined;
289
+ name?: string;
290
+ arn: string | undefined;
291
+ createdBy: string | undefined;
292
+ createdAt: Date | undefined;
293
+ updatedAt: Date | undefined;
294
+ executionRole: string | undefined;
295
+ state: JobRunState | string | undefined;
296
+ stateDetails: string | undefined;
297
+ releaseLabel: string | undefined;
298
+ configurationOverrides?: ConfigurationOverrides;
299
+ jobDriver: JobDriver | undefined;
300
+ tags?: Record<string, string>;
301
+ totalResourceUtilization?: TotalResourceUtilization;
302
+ networkConfiguration?: NetworkConfiguration;
303
+ totalExecutionDurationSeconds?: number;
304
+ }
305
+ export interface StartJobRunRequest {
306
+ applicationId: string | undefined;
307
+ clientToken?: string;
308
+ executionRoleArn: string | undefined;
309
+ jobDriver?: JobDriver;
310
+ configurationOverrides?: ConfigurationOverrides;
311
+ tags?: Record<string, string>;
312
+ executionTimeoutMinutes?: number;
313
+ name?: string;
314
+ }
315
+ export interface GetJobRunResponse {
316
+ jobRun: JobRun | undefined;
317
+ }
318
+ export declare const AutoStartConfigFilterSensitiveLog: (
319
+ obj: AutoStartConfig
320
+ ) => any;
321
+ export declare const AutoStopConfigFilterSensitiveLog: (
322
+ obj: AutoStopConfig
323
+ ) => any;
324
+ export declare const WorkerResourceConfigFilterSensitiveLog: (
325
+ obj: WorkerResourceConfig
326
+ ) => any;
327
+ export declare const InitialCapacityConfigFilterSensitiveLog: (
328
+ obj: InitialCapacityConfig
329
+ ) => any;
330
+ export declare const MaximumAllowedResourcesFilterSensitiveLog: (
331
+ obj: MaximumAllowedResources
332
+ ) => any;
333
+ export declare const NetworkConfigurationFilterSensitiveLog: (
334
+ obj: NetworkConfiguration
335
+ ) => any;
336
+ export declare const ApplicationFilterSensitiveLog: (obj: Application) => any;
337
+ export declare const ApplicationSummaryFilterSensitiveLog: (
338
+ obj: ApplicationSummary
339
+ ) => any;
340
+ export declare const CreateApplicationRequestFilterSensitiveLog: (
341
+ obj: CreateApplicationRequest
342
+ ) => any;
343
+ export declare const CreateApplicationResponseFilterSensitiveLog: (
344
+ obj: CreateApplicationResponse
345
+ ) => any;
346
+ export declare const DeleteApplicationRequestFilterSensitiveLog: (
347
+ obj: DeleteApplicationRequest
348
+ ) => any;
349
+ export declare const DeleteApplicationResponseFilterSensitiveLog: (
350
+ obj: DeleteApplicationResponse
351
+ ) => any;
352
+ export declare const GetApplicationRequestFilterSensitiveLog: (
353
+ obj: GetApplicationRequest
354
+ ) => any;
355
+ export declare const GetApplicationResponseFilterSensitiveLog: (
356
+ obj: GetApplicationResponse
357
+ ) => any;
358
+ export declare const ListApplicationsRequestFilterSensitiveLog: (
359
+ obj: ListApplicationsRequest
360
+ ) => any;
361
+ export declare const ListApplicationsResponseFilterSensitiveLog: (
362
+ obj: ListApplicationsResponse
363
+ ) => any;
364
+ export declare const StartApplicationRequestFilterSensitiveLog: (
365
+ obj: StartApplicationRequest
366
+ ) => any;
367
+ export declare const StartApplicationResponseFilterSensitiveLog: (
368
+ obj: StartApplicationResponse
369
+ ) => any;
370
+ export declare const StopApplicationRequestFilterSensitiveLog: (
371
+ obj: StopApplicationRequest
372
+ ) => any;
373
+ export declare const StopApplicationResponseFilterSensitiveLog: (
374
+ obj: StopApplicationResponse
375
+ ) => any;
376
+ export declare const UpdateApplicationRequestFilterSensitiveLog: (
377
+ obj: UpdateApplicationRequest
378
+ ) => any;
379
+ export declare const UpdateApplicationResponseFilterSensitiveLog: (
380
+ obj: UpdateApplicationResponse
381
+ ) => any;
382
+ export declare const CancelJobRunRequestFilterSensitiveLog: (
383
+ obj: CancelJobRunRequest
384
+ ) => any;
385
+ export declare const CancelJobRunResponseFilterSensitiveLog: (
386
+ obj: CancelJobRunResponse
387
+ ) => any;
388
+ export declare const GetJobRunRequestFilterSensitiveLog: (
389
+ obj: GetJobRunRequest
390
+ ) => any;
391
+ export declare const ManagedPersistenceMonitoringConfigurationFilterSensitiveLog: (
392
+ obj: ManagedPersistenceMonitoringConfiguration
393
+ ) => any;
394
+ export declare const S3MonitoringConfigurationFilterSensitiveLog: (
395
+ obj: S3MonitoringConfiguration
396
+ ) => any;
397
+ export declare const MonitoringConfigurationFilterSensitiveLog: (
398
+ obj: MonitoringConfiguration
399
+ ) => any;
400
+ export declare const HiveFilterSensitiveLog: (obj: Hive) => any;
401
+ export declare const SparkSubmitFilterSensitiveLog: (obj: SparkSubmit) => any;
402
+ export declare const JobDriverFilterSensitiveLog: (obj: JobDriver) => any;
403
+ export declare const TotalResourceUtilizationFilterSensitiveLog: (
404
+ obj: TotalResourceUtilization
405
+ ) => any;
406
+ export declare const ListJobRunsRequestFilterSensitiveLog: (
407
+ obj: ListJobRunsRequest
408
+ ) => any;
409
+ export declare const JobRunSummaryFilterSensitiveLog: (
410
+ obj: JobRunSummary
411
+ ) => any;
412
+ export declare const ListJobRunsResponseFilterSensitiveLog: (
413
+ obj: ListJobRunsResponse
414
+ ) => any;
415
+ export declare const StartJobRunResponseFilterSensitiveLog: (
416
+ obj: StartJobRunResponse
417
+ ) => any;
418
+ export declare const ListTagsForResourceRequestFilterSensitiveLog: (
419
+ obj: ListTagsForResourceRequest
420
+ ) => any;
421
+ export declare const ListTagsForResourceResponseFilterSensitiveLog: (
422
+ obj: ListTagsForResourceResponse
423
+ ) => any;
424
+ export declare const TagResourceRequestFilterSensitiveLog: (
425
+ obj: TagResourceRequest
426
+ ) => any;
427
+ export declare const TagResourceResponseFilterSensitiveLog: (
428
+ obj: TagResourceResponse
429
+ ) => any;
430
+ export declare const UntagResourceRequestFilterSensitiveLog: (
431
+ obj: UntagResourceRequest
432
+ ) => any;
433
+ export declare const UntagResourceResponseFilterSensitiveLog: (
434
+ obj: UntagResourceResponse
435
+ ) => any;
436
+ export declare const ConfigurationFilterSensitiveLog: (
437
+ obj: Configuration
438
+ ) => any;
439
+ export declare const ConfigurationOverridesFilterSensitiveLog: (
440
+ obj: ConfigurationOverrides
441
+ ) => any;
442
+ export declare const JobRunFilterSensitiveLog: (obj: JobRun) => any;
443
+ export declare const StartJobRunRequestFilterSensitiveLog: (
444
+ obj: StartJobRunRequest
445
+ ) => any;
446
+ export declare const GetJobRunResponseFilterSensitiveLog: (
447
+ obj: GetJobRunResponse
448
+ ) => any;