@aws-sdk/client-emr-serverless 3.312.0 → 3.316.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.
@@ -15,142 +15,122 @@ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/Ta
15
15
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
16
16
  import { UpdateApplicationCommandInput, UpdateApplicationCommandOutput } from "./commands/UpdateApplicationCommand";
17
17
  import { EMRServerlessClient } from "./EMRServerlessClient";
18
- /**
19
- * @public
20
- * <p>Amazon EMR Serverless is a new deployment option for Amazon EMR. EMR Serverless provides
21
- * a serverless runtime environment that simplifies running analytics applications using the
22
- * latest open source frameworks such as Apache Spark and Apache Hive. With EMR Serverless,
23
- * you don’t have to configure, optimize, secure, or operate clusters to run applications with
24
- * these frameworks.</p>
25
- * <p>The API reference to Amazon EMR Serverless is <code>emr-serverless</code>. The
26
- * <code>emr-serverless</code> prefix is used in the following scenarios: </p>
27
- * <ul>
28
- * <li>
29
- * <p>It is the prefix in the CLI commands for Amazon EMR Serverless. For example,
30
- * <code>aws emr-serverless start-job-run</code>.</p>
31
- * </li>
32
- * <li>
33
- * <p>It is the prefix before IAM policy actions for Amazon EMR Serverless. For example,
34
- * <code>"Action": ["emr-serverless:StartJobRun"]</code>. For more information, see
35
- * <a href="https://docs.aws.amazon.com/emr/latest/EMR-Serverless-UserGuide/security_iam_service-with-iam.html#security_iam_service-with-iam-id-based-policies-actions">Policy actions for Amazon EMR Serverless</a>.</p>
36
- * </li>
37
- * <li>
38
- * <p>It is the prefix used in Amazon EMR Serverless service endpoints. For example,
39
- * <code>emr-serverless.us-east-2.amazonaws.com</code>.</p>
40
- * </li>
41
- * </ul>
42
- */
43
- export declare class EMRServerless extends EMRServerlessClient {
18
+ export interface EMRServerless {
44
19
  /**
45
- * @public
46
- * <p>Cancels a job run.</p>
20
+ * @see {@link CancelJobRunCommand}
47
21
  */
48
22
  cancelJobRun(args: CancelJobRunCommandInput, options?: __HttpHandlerOptions): Promise<CancelJobRunCommandOutput>;
49
23
  cancelJobRun(args: CancelJobRunCommandInput, cb: (err: any, data?: CancelJobRunCommandOutput) => void): void;
50
24
  cancelJobRun(args: CancelJobRunCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CancelJobRunCommandOutput) => void): void;
51
25
  /**
52
- * @public
53
- * <p>Creates an application.</p>
26
+ * @see {@link CreateApplicationCommand}
54
27
  */
55
28
  createApplication(args: CreateApplicationCommandInput, options?: __HttpHandlerOptions): Promise<CreateApplicationCommandOutput>;
56
29
  createApplication(args: CreateApplicationCommandInput, cb: (err: any, data?: CreateApplicationCommandOutput) => void): void;
57
30
  createApplication(args: CreateApplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateApplicationCommandOutput) => void): void;
58
31
  /**
59
- * @public
60
- * <p>Deletes an application. An application has to be in a stopped or created state in order
61
- * to be deleted.</p>
32
+ * @see {@link DeleteApplicationCommand}
62
33
  */
63
34
  deleteApplication(args: DeleteApplicationCommandInput, options?: __HttpHandlerOptions): Promise<DeleteApplicationCommandOutput>;
64
35
  deleteApplication(args: DeleteApplicationCommandInput, cb: (err: any, data?: DeleteApplicationCommandOutput) => void): void;
65
36
  deleteApplication(args: DeleteApplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteApplicationCommandOutput) => void): void;
66
37
  /**
67
- * @public
68
- * <p>Displays detailed information about a specified application.</p>
38
+ * @see {@link GetApplicationCommand}
69
39
  */
70
40
  getApplication(args: GetApplicationCommandInput, options?: __HttpHandlerOptions): Promise<GetApplicationCommandOutput>;
71
41
  getApplication(args: GetApplicationCommandInput, cb: (err: any, data?: GetApplicationCommandOutput) => void): void;
72
42
  getApplication(args: GetApplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetApplicationCommandOutput) => void): void;
73
43
  /**
74
- * @public
75
- * <p>Returns a URL to access the job run dashboard.</p>
44
+ * @see {@link GetDashboardForJobRunCommand}
76
45
  */
77
46
  getDashboardForJobRun(args: GetDashboardForJobRunCommandInput, options?: __HttpHandlerOptions): Promise<GetDashboardForJobRunCommandOutput>;
78
47
  getDashboardForJobRun(args: GetDashboardForJobRunCommandInput, cb: (err: any, data?: GetDashboardForJobRunCommandOutput) => void): void;
79
48
  getDashboardForJobRun(args: GetDashboardForJobRunCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetDashboardForJobRunCommandOutput) => void): void;
80
49
  /**
81
- * @public
82
- * <p>Displays detailed information about a job run.</p>
50
+ * @see {@link GetJobRunCommand}
83
51
  */
84
52
  getJobRun(args: GetJobRunCommandInput, options?: __HttpHandlerOptions): Promise<GetJobRunCommandOutput>;
85
53
  getJobRun(args: GetJobRunCommandInput, cb: (err: any, data?: GetJobRunCommandOutput) => void): void;
86
54
  getJobRun(args: GetJobRunCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetJobRunCommandOutput) => void): void;
87
55
  /**
88
- * @public
89
- * <p>Lists applications based on a set of parameters.</p>
56
+ * @see {@link ListApplicationsCommand}
90
57
  */
91
58
  listApplications(args: ListApplicationsCommandInput, options?: __HttpHandlerOptions): Promise<ListApplicationsCommandOutput>;
92
59
  listApplications(args: ListApplicationsCommandInput, cb: (err: any, data?: ListApplicationsCommandOutput) => void): void;
93
60
  listApplications(args: ListApplicationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListApplicationsCommandOutput) => void): void;
94
61
  /**
95
- * @public
96
- * <p>Lists job runs based on a set of parameters.</p>
62
+ * @see {@link ListJobRunsCommand}
97
63
  */
98
64
  listJobRuns(args: ListJobRunsCommandInput, options?: __HttpHandlerOptions): Promise<ListJobRunsCommandOutput>;
99
65
  listJobRuns(args: ListJobRunsCommandInput, cb: (err: any, data?: ListJobRunsCommandOutput) => void): void;
100
66
  listJobRuns(args: ListJobRunsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListJobRunsCommandOutput) => void): void;
101
67
  /**
102
- * @public
103
- * <p>Lists the tags assigned to the resources.</p>
68
+ * @see {@link ListTagsForResourceCommand}
104
69
  */
105
70
  listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
106
71
  listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
107
72
  listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
108
73
  /**
109
- * @public
110
- * <p>Starts a specified application and initializes initial capacity if configured.</p>
74
+ * @see {@link StartApplicationCommand}
111
75
  */
112
76
  startApplication(args: StartApplicationCommandInput, options?: __HttpHandlerOptions): Promise<StartApplicationCommandOutput>;
113
77
  startApplication(args: StartApplicationCommandInput, cb: (err: any, data?: StartApplicationCommandOutput) => void): void;
114
78
  startApplication(args: StartApplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartApplicationCommandOutput) => void): void;
115
79
  /**
116
- * @public
117
- * <p>Starts a job run.</p>
80
+ * @see {@link StartJobRunCommand}
118
81
  */
119
82
  startJobRun(args: StartJobRunCommandInput, options?: __HttpHandlerOptions): Promise<StartJobRunCommandOutput>;
120
83
  startJobRun(args: StartJobRunCommandInput, cb: (err: any, data?: StartJobRunCommandOutput) => void): void;
121
84
  startJobRun(args: StartJobRunCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartJobRunCommandOutput) => void): void;
122
85
  /**
123
- * @public
124
- * <p>Stops a specified application and releases initial capacity if configured. All scheduled
125
- * and running jobs must be completed or cancelled before stopping an application.</p>
86
+ * @see {@link StopApplicationCommand}
126
87
  */
127
88
  stopApplication(args: StopApplicationCommandInput, options?: __HttpHandlerOptions): Promise<StopApplicationCommandOutput>;
128
89
  stopApplication(args: StopApplicationCommandInput, cb: (err: any, data?: StopApplicationCommandOutput) => void): void;
129
90
  stopApplication(args: StopApplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopApplicationCommandOutput) => void): void;
130
91
  /**
131
- * @public
132
- * <p>Assigns tags to resources. A tag is a label that you assign to an Amazon Web Services resource. Each tag
133
- * consists of a key and an optional value, both of which you define. Tags enable you to
134
- * categorize your Amazon Web Services resources by attributes such as purpose, owner, or environment. When
135
- * you have many resources of the same type, you can quickly identify a specific resource
136
- * based on the tags you've assigned to it. </p>
92
+ * @see {@link TagResourceCommand}
137
93
  */
138
94
  tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
139
95
  tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
140
96
  tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
141
97
  /**
142
- * @public
143
- * <p>Removes tags from resources.</p>
98
+ * @see {@link UntagResourceCommand}
144
99
  */
145
100
  untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
146
101
  untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
147
102
  untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
148
103
  /**
149
- * @public
150
- * <p>Updates a specified application. An application has to be in a stopped or created state
151
- * in order to be updated.</p>
104
+ * @see {@link UpdateApplicationCommand}
152
105
  */
153
106
  updateApplication(args: UpdateApplicationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateApplicationCommandOutput>;
154
107
  updateApplication(args: UpdateApplicationCommandInput, cb: (err: any, data?: UpdateApplicationCommandOutput) => void): void;
155
108
  updateApplication(args: UpdateApplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateApplicationCommandOutput) => void): void;
156
109
  }
110
+ /**
111
+ * @public
112
+ * <p>Amazon EMR Serverless is a new deployment option for Amazon EMR. EMR Serverless provides
113
+ * a serverless runtime environment that simplifies running analytics applications using the
114
+ * latest open source frameworks such as Apache Spark and Apache Hive. With EMR Serverless,
115
+ * you don’t have to configure, optimize, secure, or operate clusters to run applications with
116
+ * these frameworks.</p>
117
+ * <p>The API reference to Amazon EMR Serverless is <code>emr-serverless</code>. The
118
+ * <code>emr-serverless</code> prefix is used in the following scenarios: </p>
119
+ * <ul>
120
+ * <li>
121
+ * <p>It is the prefix in the CLI commands for Amazon EMR Serverless. For example,
122
+ * <code>aws emr-serverless start-job-run</code>.</p>
123
+ * </li>
124
+ * <li>
125
+ * <p>It is the prefix before IAM policy actions for Amazon EMR Serverless. For example,
126
+ * <code>"Action": ["emr-serverless:StartJobRun"]</code>. For more information, see
127
+ * <a href="https://docs.aws.amazon.com/emr/latest/EMR-Serverless-UserGuide/security_iam_service-with-iam.html#security_iam_service-with-iam-id-based-policies-actions">Policy actions for Amazon EMR Serverless</a>.</p>
128
+ * </li>
129
+ * <li>
130
+ * <p>It is the prefix used in Amazon EMR Serverless service endpoints. For example,
131
+ * <code>emr-serverless.us-east-2.amazonaws.com</code>.</p>
132
+ * </li>
133
+ * </ul>
134
+ */
135
+ export declare class EMRServerless extends EMRServerlessClient implements EMRServerless {
136
+ }
@@ -47,7 +47,8 @@ export interface CancelJobRunCommandOutput extends CancelJobRunResponse, __Metad
47
47
  * <p>The specified resource was not found.</p>
48
48
  *
49
49
  * @throws {@link ValidationException} (client fault)
50
- * <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
50
+ * <p>The input fails to satisfy the constraints specified by an Amazon Web Services
51
+ * service.</p>
51
52
  *
52
53
  *
53
54
  */
@@ -97,7 +97,8 @@ export interface CreateApplicationCommandOutput extends CreateApplicationRespons
97
97
  * <p>The specified resource was not found.</p>
98
98
  *
99
99
  * @throws {@link ValidationException} (client fault)
100
- * <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
100
+ * <p>The input fails to satisfy the constraints specified by an Amazon Web Services
101
+ * service.</p>
101
102
  *
102
103
  *
103
104
  */
@@ -47,7 +47,8 @@ export interface DeleteApplicationCommandOutput extends DeleteApplicationRespons
47
47
  * <p>The specified resource was not found.</p>
48
48
  *
49
49
  * @throws {@link ValidationException} (client fault)
50
- * <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
50
+ * <p>The input fails to satisfy the constraints specified by an Amazon Web Services
51
+ * service.</p>
51
52
  *
52
53
  *
53
54
  */
@@ -46,7 +46,8 @@ export interface GetApplicationCommandOutput extends GetApplicationResponse, __M
46
46
  * <p>The specified resource was not found.</p>
47
47
  *
48
48
  * @throws {@link ValidationException} (client fault)
49
- * <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
49
+ * <p>The input fails to satisfy the constraints specified by an Amazon Web Services
50
+ * service.</p>
50
51
  *
51
52
  *
52
53
  */
@@ -19,7 +19,8 @@ export interface GetDashboardForJobRunCommandOutput extends GetDashboardForJobRu
19
19
  }
20
20
  /**
21
21
  * @public
22
- * <p>Returns a URL to access the job run dashboard.</p>
22
+ * <p>Returns a URL to access the job run dashboard. The generated URL is valid for one hour,
23
+ * after which you must invoke the API again to generate a new URL.</p>
23
24
  * @example
24
25
  * Use a bare-bones client and the command you need to make an API call.
25
26
  * ```javascript
@@ -47,7 +48,8 @@ export interface GetDashboardForJobRunCommandOutput extends GetDashboardForJobRu
47
48
  * <p>The specified resource was not found.</p>
48
49
  *
49
50
  * @throws {@link ValidationException} (client fault)
50
- * <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
51
+ * <p>The input fails to satisfy the constraints specified by an Amazon Web Services
52
+ * service.</p>
51
53
  *
52
54
  *
53
55
  */
@@ -47,7 +47,8 @@ export interface GetJobRunCommandOutput extends GetJobRunResponse, __MetadataBea
47
47
  * <p>The specified resource was not found.</p>
48
48
  *
49
49
  * @throws {@link ValidationException} (client fault)
50
- * <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
50
+ * <p>The input fails to satisfy the constraints specified by an Amazon Web Services
51
+ * service.</p>
51
52
  *
52
53
  *
53
54
  */
@@ -47,7 +47,8 @@ export interface ListApplicationsCommandOutput extends ListApplicationsResponse,
47
47
  * <p>Request processing failed because of an error or failure with the service.</p>
48
48
  *
49
49
  * @throws {@link ValidationException} (client fault)
50
- * <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
50
+ * <p>The input fails to satisfy the constraints specified by an Amazon Web Services
51
+ * service.</p>
51
52
  *
52
53
  *
53
54
  */
@@ -50,7 +50,8 @@ export interface ListJobRunsCommandOutput extends ListJobRunsResponse, __Metadat
50
50
  * <p>Request processing failed because of an error or failure with the service.</p>
51
51
  *
52
52
  * @throws {@link ValidationException} (client fault)
53
- * <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
53
+ * <p>The input fails to satisfy the constraints specified by an Amazon Web Services
54
+ * service.</p>
54
55
  *
55
56
  *
56
57
  */
@@ -46,7 +46,8 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
46
46
  * <p>The specified resource was not found.</p>
47
47
  *
48
48
  * @throws {@link ValidationException} (client fault)
49
- * <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
49
+ * <p>The input fails to satisfy the constraints specified by an Amazon Web Services
50
+ * service.</p>
50
51
  *
51
52
  *
52
53
  */
@@ -49,7 +49,8 @@ export interface StartApplicationCommandOutput extends StartApplicationResponse,
49
49
  * <p>The maximum number of resources per account has been reached.</p>
50
50
  *
51
51
  * @throws {@link ValidationException} (client fault)
52
- * <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
52
+ * <p>The input fails to satisfy the constraints specified by an Amazon Web Services
53
+ * service.</p>
53
54
  *
54
55
  *
55
56
  */
@@ -100,7 +100,8 @@ export interface StartJobRunCommandOutput extends StartJobRunResponse, __Metadat
100
100
  * <p>The specified resource was not found.</p>
101
101
  *
102
102
  * @throws {@link ValidationException} (client fault)
103
- * <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
103
+ * <p>The input fails to satisfy the constraints specified by an Amazon Web Services
104
+ * service.</p>
104
105
  *
105
106
  *
106
107
  */
@@ -47,7 +47,8 @@ export interface StopApplicationCommandOutput extends StopApplicationResponse, _
47
47
  * <p>The specified resource was not found.</p>
48
48
  *
49
49
  * @throws {@link ValidationException} (client fault)
50
- * <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
50
+ * <p>The input fails to satisfy the constraints specified by an Amazon Web Services
51
+ * service.</p>
51
52
  *
52
53
  *
53
54
  */
@@ -19,11 +19,11 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
19
19
  }
20
20
  /**
21
21
  * @public
22
- * <p>Assigns tags to resources. A tag is a label that you assign to an Amazon Web Services resource. Each tag
23
- * consists of a key and an optional value, both of which you define. Tags enable you to
24
- * categorize your Amazon Web Services resources by attributes such as purpose, owner, or environment. When
25
- * you have many resources of the same type, you can quickly identify a specific resource
26
- * based on the tags you've assigned to it. </p>
22
+ * <p>Assigns tags to resources. A tag is a label that you assign to an Amazon Web Services
23
+ * resource. Each tag consists of a key and an optional value, both of which you define. Tags
24
+ * enable you to categorize your Amazon Web Services resources by attributes such as purpose,
25
+ * owner, or environment. When you have many resources of the same type, you can quickly
26
+ * identify a specific resource based on the tags you've assigned to it. </p>
27
27
  * @example
28
28
  * Use a bare-bones client and the command you need to make an API call.
29
29
  * ```javascript
@@ -53,7 +53,8 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
53
53
  * <p>The specified resource was not found.</p>
54
54
  *
55
55
  * @throws {@link ValidationException} (client fault)
56
- * <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
56
+ * <p>The input fails to satisfy the constraints specified by an Amazon Web Services
57
+ * service.</p>
57
58
  *
58
59
  *
59
60
  */
@@ -49,7 +49,8 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
49
49
  * <p>The specified resource was not found.</p>
50
50
  *
51
51
  * @throws {@link ValidationException} (client fault)
52
- * <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
52
+ * <p>The input fails to satisfy the constraints specified by an Amazon Web Services
53
+ * service.</p>
53
54
  *
54
55
  *
55
56
  */
@@ -89,7 +89,8 @@ export interface UpdateApplicationCommandOutput extends UpdateApplicationRespons
89
89
  * <p>The specified resource was not found.</p>
90
90
  *
91
91
  * @throws {@link ValidationException} (client fault)
92
- * <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
92
+ * <p>The input fails to satisfy the constraints specified by an Amazon Web Services
93
+ * service.</p>
93
94
  *
94
95
  *
95
96
  */
@@ -422,7 +422,8 @@ export declare class ResourceNotFoundException extends __BaseException {
422
422
  }
423
423
  /**
424
424
  * @public
425
- * <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
425
+ * <p>The input fails to satisfy the constraints specified by an Amazon Web Services
426
+ * service.</p>
426
427
  */
427
428
  export declare class ValidationException extends __BaseException {
428
429
  readonly name: "ValidationException";
@@ -663,6 +664,27 @@ export interface GetJobRunRequest {
663
664
  */
664
665
  jobRunId: string | undefined;
665
666
  }
667
+ /**
668
+ * @public
669
+ * <p>The resource utilization for memory, storage, and vCPU for jobs.</p>
670
+ */
671
+ export interface ResourceUtilization {
672
+ /**
673
+ * <p>The aggregated vCPU used per hour from the time the job starts executing until the job
674
+ * is terminated.</p>
675
+ */
676
+ vCPUHour?: number;
677
+ /**
678
+ * <p>The aggregated memory used per hour from the time the job starts executing until the job
679
+ * is terminated.</p>
680
+ */
681
+ memoryGBHour?: number;
682
+ /**
683
+ * <p>The aggregated storage used per hour from the time the job starts executing until the
684
+ * job is terminated.</p>
685
+ */
686
+ storageGBHour?: number;
687
+ }
666
688
  /**
667
689
  * @public
668
690
  * <p>The managed log persistence configuration for a job run.</p>
@@ -1093,8 +1115,8 @@ export interface JobRun {
1093
1115
  */
1094
1116
  tags?: Record<string, string>;
1095
1117
  /**
1096
- * <p>The aggregate vCPU, memory, and storage resources used from the time job start executing
1097
- * till the time job is terminated, rounded up to the nearest second.</p>
1118
+ * <p>The aggregate vCPU, memory, and storage resources used from the time the job starts to
1119
+ * execute, until the time the job terminates, rounded up to the nearest second.</p>
1098
1120
  */
1099
1121
  totalResourceUtilization?: TotalResourceUtilization;
1100
1122
  /**
@@ -1108,9 +1130,17 @@ export interface JobRun {
1108
1130
  */
1109
1131
  totalExecutionDurationSeconds?: number;
1110
1132
  /**
1111
- * Maximum duration for the job run to run. If the job run runs beyond this duration, it will be automatically cancelled.
1133
+ * <p>Returns the job run timeout value from the <code>StartJobRun</code> call. If no timeout
1134
+ * was specified, then it returns the default timeout of 720 minutes.</p>
1112
1135
  */
1113
1136
  executionTimeoutMinutes?: number;
1137
+ /**
1138
+ * <p>The aggregate vCPU, memory, and storage that AWS has billed for the job run. The billed
1139
+ * resources include a 1-minute minimum usage for workers, plus additional storage over 20 GB
1140
+ * per worker. Note that billed resources do not include usage for idle pre-initialized
1141
+ * workers.</p>
1142
+ */
1143
+ billedResourceUtilization?: ResourceUtilization;
1114
1144
  }
1115
1145
  /**
1116
1146
  * @public
@@ -60,7 +60,7 @@ import {
60
60
  UpdateApplicationCommandOutput,
61
61
  } from "./commands/UpdateApplicationCommand";
62
62
  import { EMRServerlessClient } from "./EMRServerlessClient";
63
- export declare class EMRServerless extends EMRServerlessClient {
63
+ export interface EMRServerless {
64
64
  cancelJobRun(
65
65
  args: CancelJobRunCommandInput,
66
66
  options?: __HttpHandlerOptions
@@ -257,3 +257,6 @@ export declare class EMRServerless extends EMRServerlessClient {
257
257
  cb: (err: any, data?: UpdateApplicationCommandOutput) => void
258
258
  ): void;
259
259
  }
260
+ export declare class EMRServerless
261
+ extends EMRServerlessClient
262
+ implements EMRServerless {}
@@ -200,6 +200,11 @@ export interface GetJobRunRequest {
200
200
  applicationId: string | undefined;
201
201
  jobRunId: string | undefined;
202
202
  }
203
+ export interface ResourceUtilization {
204
+ vCPUHour?: number;
205
+ memoryGBHour?: number;
206
+ storageGBHour?: number;
207
+ }
203
208
  export interface ManagedPersistenceMonitoringConfiguration {
204
209
  enabled?: boolean;
205
210
  encryptionKeyArn?: string;
@@ -340,6 +345,7 @@ export interface JobRun {
340
345
  networkConfiguration?: NetworkConfiguration;
341
346
  totalExecutionDurationSeconds?: number;
342
347
  executionTimeoutMinutes?: number;
348
+ billedResourceUtilization?: ResourceUtilization;
343
349
  }
344
350
  export interface StartJobRunRequest {
345
351
  applicationId: string | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-emr-serverless",
3
3
  "description": "AWS SDK for JavaScript Emr Serverless Client for Node.js, Browser and React Native",
4
- "version": "3.312.0",
4
+ "version": "3.316.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,9 +21,9 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.312.0",
24
+ "@aws-sdk/client-sts": "3.316.0",
25
25
  "@aws-sdk/config-resolver": "3.310.0",
26
- "@aws-sdk/credential-provider-node": "3.310.0",
26
+ "@aws-sdk/credential-provider-node": "3.316.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.310.0",
28
28
  "@aws-sdk/hash-node": "3.310.0",
29
29
  "@aws-sdk/invalid-dependency": "3.310.0",
@@ -40,14 +40,14 @@
40
40
  "@aws-sdk/node-config-provider": "3.310.0",
41
41
  "@aws-sdk/node-http-handler": "3.310.0",
42
42
  "@aws-sdk/protocol-http": "3.310.0",
43
- "@aws-sdk/smithy-client": "3.310.0",
43
+ "@aws-sdk/smithy-client": "3.316.0",
44
44
  "@aws-sdk/types": "3.310.0",
45
45
  "@aws-sdk/url-parser": "3.310.0",
46
46
  "@aws-sdk/util-base64": "3.310.0",
47
47
  "@aws-sdk/util-body-length-browser": "3.310.0",
48
48
  "@aws-sdk/util-body-length-node": "3.310.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.310.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.310.0",
49
+ "@aws-sdk/util-defaults-mode-browser": "3.316.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.316.0",
51
51
  "@aws-sdk/util-endpoints": "3.310.0",
52
52
  "@aws-sdk/util-retry": "3.310.0",
53
53
  "@aws-sdk/util-user-agent-browser": "3.310.0",