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