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