@aws-sdk/client-emr-serverless 3.817.0 → 3.823.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -21
- package/dist-cjs/index.js +6 -1
- package/dist-es/protocols/Aws_restJson1.js +6 -1
- package/dist-types/EMRServerless.d.ts +1 -21
- package/dist-types/EMRServerlessClient.d.ts +1 -21
- package/dist-types/commands/CancelJobRunCommand.d.ts +2 -2
- package/dist-types/commands/CreateApplicationCommand.d.ts +2 -4
- package/dist-types/commands/DeleteApplicationCommand.d.ts +2 -4
- package/dist-types/commands/GetApplicationCommand.d.ts +1 -2
- package/dist-types/commands/GetDashboardForJobRunCommand.d.ts +2 -11
- package/dist-types/commands/GetJobRunCommand.d.ts +1 -2
- package/dist-types/commands/ListApplicationsCommand.d.ts +1 -2
- package/dist-types/commands/ListJobRunAttemptsCommand.d.ts +1 -2
- package/dist-types/commands/ListJobRunsCommand.d.ts +1 -2
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -2
- package/dist-types/commands/StartApplicationCommand.d.ts +1 -2
- package/dist-types/commands/StartJobRunCommand.d.ts +8 -4
- package/dist-types/commands/StopApplicationCommand.d.ts +2 -4
- package/dist-types/commands/TagResourceCommand.d.ts +2 -7
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -2
- package/dist-types/commands/UpdateApplicationCommand.d.ts +2 -4
- package/dist-types/index.d.ts +1 -21
- package/dist-types/models/models_0.d.ts +88 -172
- package/dist-types/ts3.4/models/models_0.d.ts +6 -0
- package/package.json +33 -33
package/README.md
CHANGED
|
@@ -6,27 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
AWS SDK for JavaScript EMRServerless Client for Node.js, Browser and React Native.
|
|
8
8
|
|
|
9
|
-
<p>Amazon EMR Serverless is a new deployment option for Amazon EMR. Amazon EMR Serverless provides a serverless runtime environment that simplifies running
|
|
10
|
-
analytics applications using the latest open source frameworks such as Apache Spark and
|
|
11
|
-
Apache Hive. With Amazon EMR Serverless, you don’t have to configure, optimize,
|
|
12
|
-
secure, or operate clusters to run applications with these frameworks.</p>
|
|
13
|
-
<p>The API reference to Amazon EMR Serverless is <code>emr-serverless</code>. The
|
|
14
|
-
<code>emr-serverless</code> prefix is used in the following scenarios: </p>
|
|
15
|
-
<ul>
|
|
16
|
-
<li>
|
|
17
|
-
<p>It is the prefix in the CLI commands for Amazon EMR Serverless. For
|
|
18
|
-
example, <code>aws emr-serverless start-job-run</code>.</p>
|
|
19
|
-
</li>
|
|
20
|
-
<li>
|
|
21
|
-
<p>It is the prefix before IAM policy actions for Amazon EMR Serverless. For
|
|
22
|
-
example, <code>"Action": ["emr-serverless:StartJobRun"]</code>. For more information,
|
|
23
|
-
see <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>
|
|
24
|
-
</li>
|
|
25
|
-
<li>
|
|
26
|
-
<p>It is the prefix used in Amazon EMR Serverless service endpoints. For
|
|
27
|
-
example, <code>emr-serverless.us-east-2.amazonaws.com</code>.</p>
|
|
28
|
-
</li>
|
|
29
|
-
</ul>
|
|
9
|
+
<p>Amazon EMR Serverless is a new deployment option for Amazon EMR. Amazon EMR Serverless provides a serverless runtime environment that simplifies running analytics applications using the latest open source frameworks such as Apache Spark and Apache Hive. With Amazon EMR Serverless, you don’t have to configure, optimize, secure, or operate clusters to run applications with these frameworks.</p> <p>The API reference to Amazon EMR Serverless is <code>emr-serverless</code>. The <code>emr-serverless</code> prefix is used in the following scenarios: </p> <ul> <li> <p>It is the prefix in the CLI commands for Amazon EMR Serverless. For example, <code>aws emr-serverless start-job-run</code>.</p> </li> <li> <p>It is the prefix before IAM policy actions for Amazon EMR Serverless. For example, <code>"Action": ["emr-serverless:StartJobRun"]</code>. For more information, see <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> </li> <li> <p>It is the prefix used in Amazon EMR Serverless service endpoints. For example, <code>emr-serverless.us-east-2.amazonaws.com</code>.</p> </li> </ul>
|
|
30
10
|
|
|
31
11
|
## Installing
|
|
32
12
|
|
package/dist-cjs/index.js
CHANGED
|
@@ -450,8 +450,11 @@ var se_CancelJobRunCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
450
450
|
b.bp("/applications/{applicationId}/jobruns/{jobRunId}");
|
|
451
451
|
b.p("applicationId", () => input.applicationId, "{applicationId}", false);
|
|
452
452
|
b.p("jobRunId", () => input.jobRunId, "{jobRunId}", false);
|
|
453
|
+
const query = (0, import_smithy_client.map)({
|
|
454
|
+
[_sGPIS]: [() => input.shutdownGracePeriodInSeconds !== void 0, () => input[_sGPIS].toString()]
|
|
455
|
+
});
|
|
453
456
|
let body;
|
|
454
|
-
b.m("DELETE").h(headers).b(body);
|
|
457
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
455
458
|
return b.build();
|
|
456
459
|
}, "se_CancelJobRunCommand");
|
|
457
460
|
var se_CreateApplicationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
@@ -604,6 +607,7 @@ var se_StartJobRunCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
604
607
|
(0, import_smithy_client.take)(input, {
|
|
605
608
|
clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
606
609
|
configurationOverrides: /* @__PURE__ */ __name((_) => se_ConfigurationOverrides(_, context), "configurationOverrides"),
|
|
610
|
+
executionIamPolicy: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "executionIamPolicy"),
|
|
607
611
|
executionRoleArn: [],
|
|
608
612
|
executionTimeoutMinutes: [],
|
|
609
613
|
jobDriver: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "jobDriver"),
|
|
@@ -1184,6 +1188,7 @@ var _m = "mode";
|
|
|
1184
1188
|
var _mR = "maxResults";
|
|
1185
1189
|
var _nT = "nextToken";
|
|
1186
1190
|
var _s = "states";
|
|
1191
|
+
var _sGPIS = "shutdownGracePeriodInSeconds";
|
|
1187
1192
|
var _tK = "tagKeys";
|
|
1188
1193
|
|
|
1189
1194
|
// src/commands/CancelJobRunCommand.ts
|
|
@@ -10,8 +10,11 @@ export const se_CancelJobRunCommand = async (input, context) => {
|
|
|
10
10
|
b.bp("/applications/{applicationId}/jobruns/{jobRunId}");
|
|
11
11
|
b.p("applicationId", () => input.applicationId, "{applicationId}", false);
|
|
12
12
|
b.p("jobRunId", () => input.jobRunId, "{jobRunId}", false);
|
|
13
|
+
const query = map({
|
|
14
|
+
[_sGPIS]: [() => input.shutdownGracePeriodInSeconds !== void 0, () => input[_sGPIS].toString()],
|
|
15
|
+
});
|
|
13
16
|
let body;
|
|
14
|
-
b.m("DELETE").h(headers).b(body);
|
|
17
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
15
18
|
return b.build();
|
|
16
19
|
};
|
|
17
20
|
export const se_CreateApplicationCommand = async (input, context) => {
|
|
@@ -161,6 +164,7 @@ export const se_StartJobRunCommand = async (input, context) => {
|
|
|
161
164
|
body = JSON.stringify(take(input, {
|
|
162
165
|
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
163
166
|
configurationOverrides: (_) => se_ConfigurationOverrides(_, context),
|
|
167
|
+
executionIamPolicy: (_) => _json(_),
|
|
164
168
|
executionRoleArn: [],
|
|
165
169
|
executionTimeoutMinutes: [],
|
|
166
170
|
jobDriver: (_) => _json(_),
|
|
@@ -747,4 +751,5 @@ const _m = "mode";
|
|
|
747
751
|
const _mR = "maxResults";
|
|
748
752
|
const _nT = "nextToken";
|
|
749
753
|
const _s = "states";
|
|
754
|
+
const _sGPIS = "shutdownGracePeriodInSeconds";
|
|
750
755
|
const _tK = "tagKeys";
|
|
@@ -116,27 +116,7 @@ export interface EMRServerless {
|
|
|
116
116
|
updateApplication(args: UpdateApplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateApplicationCommandOutput) => void): void;
|
|
117
117
|
}
|
|
118
118
|
/**
|
|
119
|
-
* <p>Amazon EMR Serverless is a new deployment option for Amazon EMR. Amazon EMR Serverless provides a serverless runtime environment that simplifies running
|
|
120
|
-
* analytics applications using the latest open source frameworks such as Apache Spark and
|
|
121
|
-
* Apache Hive. With Amazon EMR Serverless, you don’t have to configure, optimize,
|
|
122
|
-
* secure, or operate clusters to run applications with these frameworks.</p>
|
|
123
|
-
* <p>The API reference to Amazon EMR Serverless is <code>emr-serverless</code>. The
|
|
124
|
-
* <code>emr-serverless</code> prefix is used in the following scenarios: </p>
|
|
125
|
-
* <ul>
|
|
126
|
-
* <li>
|
|
127
|
-
* <p>It is the prefix in the CLI commands for Amazon EMR Serverless. For
|
|
128
|
-
* example, <code>aws emr-serverless start-job-run</code>.</p>
|
|
129
|
-
* </li>
|
|
130
|
-
* <li>
|
|
131
|
-
* <p>It is the prefix before IAM policy actions for Amazon EMR Serverless. For
|
|
132
|
-
* example, <code>"Action": ["emr-serverless:StartJobRun"]</code>. For more information,
|
|
133
|
-
* see <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>
|
|
134
|
-
* </li>
|
|
135
|
-
* <li>
|
|
136
|
-
* <p>It is the prefix used in Amazon EMR Serverless service endpoints. For
|
|
137
|
-
* example, <code>emr-serverless.us-east-2.amazonaws.com</code>.</p>
|
|
138
|
-
* </li>
|
|
139
|
-
* </ul>
|
|
119
|
+
* <p>Amazon EMR Serverless is a new deployment option for Amazon EMR. Amazon EMR Serverless provides a serverless runtime environment that simplifies running analytics applications using the latest open source frameworks such as Apache Spark and Apache Hive. With Amazon EMR Serverless, you don’t have to configure, optimize, secure, or operate clusters to run applications with these frameworks.</p> <p>The API reference to Amazon EMR Serverless is <code>emr-serverless</code>. The <code>emr-serverless</code> prefix is used in the following scenarios: </p> <ul> <li> <p>It is the prefix in the CLI commands for Amazon EMR Serverless. For example, <code>aws emr-serverless start-job-run</code>.</p> </li> <li> <p>It is the prefix before IAM policy actions for Amazon EMR Serverless. For example, <code>"Action": ["emr-serverless:StartJobRun"]</code>. For more information, see <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> </li> <li> <p>It is the prefix used in Amazon EMR Serverless service endpoints. For example, <code>emr-serverless.us-east-2.amazonaws.com</code>.</p> </li> </ul>
|
|
140
120
|
* @public
|
|
141
121
|
*/
|
|
142
122
|
export declare class EMRServerless extends EMRServerlessClient implements EMRServerless {
|
|
@@ -185,27 +185,7 @@ export type EMRServerlessClientResolvedConfigType = __SmithyResolvedConfiguratio
|
|
|
185
185
|
export interface EMRServerlessClientResolvedConfig extends EMRServerlessClientResolvedConfigType {
|
|
186
186
|
}
|
|
187
187
|
/**
|
|
188
|
-
* <p>Amazon EMR Serverless is a new deployment option for Amazon EMR. Amazon EMR Serverless provides a serverless runtime environment that simplifies running
|
|
189
|
-
* analytics applications using the latest open source frameworks such as Apache Spark and
|
|
190
|
-
* Apache Hive. With Amazon EMR Serverless, you don’t have to configure, optimize,
|
|
191
|
-
* secure, or operate clusters to run applications with these frameworks.</p>
|
|
192
|
-
* <p>The API reference to Amazon EMR Serverless is <code>emr-serverless</code>. The
|
|
193
|
-
* <code>emr-serverless</code> prefix is used in the following scenarios: </p>
|
|
194
|
-
* <ul>
|
|
195
|
-
* <li>
|
|
196
|
-
* <p>It is the prefix in the CLI commands for Amazon EMR Serverless. For
|
|
197
|
-
* example, <code>aws emr-serverless start-job-run</code>.</p>
|
|
198
|
-
* </li>
|
|
199
|
-
* <li>
|
|
200
|
-
* <p>It is the prefix before IAM policy actions for Amazon EMR Serverless. For
|
|
201
|
-
* example, <code>"Action": ["emr-serverless:StartJobRun"]</code>. For more information,
|
|
202
|
-
* see <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>
|
|
203
|
-
* </li>
|
|
204
|
-
* <li>
|
|
205
|
-
* <p>It is the prefix used in Amazon EMR Serverless service endpoints. For
|
|
206
|
-
* example, <code>emr-serverless.us-east-2.amazonaws.com</code>.</p>
|
|
207
|
-
* </li>
|
|
208
|
-
* </ul>
|
|
188
|
+
* <p>Amazon EMR Serverless is a new deployment option for Amazon EMR. Amazon EMR Serverless provides a serverless runtime environment that simplifies running analytics applications using the latest open source frameworks such as Apache Spark and Apache Hive. With Amazon EMR Serverless, you don’t have to configure, optimize, secure, or operate clusters to run applications with these frameworks.</p> <p>The API reference to Amazon EMR Serverless is <code>emr-serverless</code>. The <code>emr-serverless</code> prefix is used in the following scenarios: </p> <ul> <li> <p>It is the prefix in the CLI commands for Amazon EMR Serverless. For example, <code>aws emr-serverless start-job-run</code>.</p> </li> <li> <p>It is the prefix before IAM policy actions for Amazon EMR Serverless. For example, <code>"Action": ["emr-serverless:StartJobRun"]</code>. For more information, see <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> </li> <li> <p>It is the prefix used in Amazon EMR Serverless service endpoints. For example, <code>emr-serverless.us-east-2.amazonaws.com</code>.</p> </li> </ul>
|
|
209
189
|
* @public
|
|
210
190
|
*/
|
|
211
191
|
export declare class EMRServerlessClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, EMRServerlessClientResolvedConfig> {
|
|
@@ -37,6 +37,7 @@ declare const CancelJobRunCommand_base: {
|
|
|
37
37
|
* const input = { // CancelJobRunRequest
|
|
38
38
|
* applicationId: "STRING_VALUE", // required
|
|
39
39
|
* jobRunId: "STRING_VALUE", // required
|
|
40
|
+
* shutdownGracePeriodInSeconds: Number("int"),
|
|
40
41
|
* };
|
|
41
42
|
* const command = new CancelJobRunCommand(input);
|
|
42
43
|
* const response = await client.send(command);
|
|
@@ -60,8 +61,7 @@ declare const CancelJobRunCommand_base: {
|
|
|
60
61
|
* <p>The specified resource was not found.</p>
|
|
61
62
|
*
|
|
62
63
|
* @throws {@link ValidationException} (client fault)
|
|
63
|
-
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services
|
|
64
|
-
* service.</p>
|
|
64
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
65
65
|
*
|
|
66
66
|
* @throws {@link EMRServerlessServiceException}
|
|
67
67
|
* <p>Base exception class for all service exceptions from EMRServerless service.</p>
|
|
@@ -151,8 +151,7 @@ declare const CreateApplicationCommand_base: {
|
|
|
151
151
|
* @see {@link EMRServerlessClientResolvedConfig | config} for EMRServerlessClient's `config` shape.
|
|
152
152
|
*
|
|
153
153
|
* @throws {@link ConflictException} (client fault)
|
|
154
|
-
* <p>The request could not be processed because of conflict in the current state of the
|
|
155
|
-
* resource.</p>
|
|
154
|
+
* <p>The request could not be processed because of conflict in the current state of the resource.</p>
|
|
156
155
|
*
|
|
157
156
|
* @throws {@link InternalServerException} (server fault)
|
|
158
157
|
* <p>Request processing failed because of an error or failure with the service.</p>
|
|
@@ -161,8 +160,7 @@ declare const CreateApplicationCommand_base: {
|
|
|
161
160
|
* <p>The specified resource was not found.</p>
|
|
162
161
|
*
|
|
163
162
|
* @throws {@link ValidationException} (client fault)
|
|
164
|
-
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services
|
|
165
|
-
* service.</p>
|
|
163
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
166
164
|
*
|
|
167
165
|
* @throws {@link EMRServerlessServiceException}
|
|
168
166
|
* <p>Base exception class for all service exceptions from EMRServerless service.</p>
|
|
@@ -27,8 +27,7 @@ declare const DeleteApplicationCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Deletes an application. An application has to be in a stopped or created state in order
|
|
31
|
-
* to be deleted.</p>
|
|
30
|
+
* <p>Deletes an application. An application has to be in a stopped or created state in order to be deleted.</p>
|
|
32
31
|
* @example
|
|
33
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
33
|
* ```javascript
|
|
@@ -57,8 +56,7 @@ declare const DeleteApplicationCommand_base: {
|
|
|
57
56
|
* <p>The specified resource was not found.</p>
|
|
58
57
|
*
|
|
59
58
|
* @throws {@link ValidationException} (client fault)
|
|
60
|
-
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services
|
|
61
|
-
* service.</p>
|
|
59
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
62
60
|
*
|
|
63
61
|
* @throws {@link EMRServerlessServiceException}
|
|
64
62
|
* <p>Base exception class for all service exceptions from EMRServerless service.</p>
|
|
@@ -164,8 +164,7 @@ declare const GetApplicationCommand_base: {
|
|
|
164
164
|
* <p>The specified resource was not found.</p>
|
|
165
165
|
*
|
|
166
166
|
* @throws {@link ValidationException} (client fault)
|
|
167
|
-
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services
|
|
168
|
-
* service.</p>
|
|
167
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
169
168
|
*
|
|
170
169
|
* @throws {@link EMRServerlessServiceException}
|
|
171
170
|
* <p>Base exception class for all service exceptions from EMRServerless service.</p>
|
|
@@ -27,15 +27,7 @@ declare const GetDashboardForJobRunCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Creates and returns a URL that you can use to access the application UIs for a job
|
|
31
|
-
* run.</p>
|
|
32
|
-
* <p>For jobs in a running state, the application UI is a live user interface such as the
|
|
33
|
-
* Spark or Tez web UI. For completed jobs, the application UI is a persistent application
|
|
34
|
-
* user interface such as the Spark History Server or persistent Tez UI.</p>
|
|
35
|
-
* <note>
|
|
36
|
-
* <p>The URL is valid for one hour after you generate it. To access the application UI
|
|
37
|
-
* after that hour elapses, you must invoke the API again to generate a new URL.</p>
|
|
38
|
-
* </note>
|
|
30
|
+
* <p>Creates and returns a URL that you can use to access the application UIs for a job run.</p> <p>For jobs in a running state, the application UI is a live user interface such as the Spark or Tez web UI. For completed jobs, the application UI is a persistent application user interface such as the Spark History Server or persistent Tez UI.</p> <note> <p>The URL is valid for one hour after you generate it. To access the application UI after that hour elapses, you must invoke the API again to generate a new URL.</p> </note>
|
|
39
31
|
* @example
|
|
40
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
41
33
|
* ```javascript
|
|
@@ -69,8 +61,7 @@ declare const GetDashboardForJobRunCommand_base: {
|
|
|
69
61
|
* <p>The specified resource was not found.</p>
|
|
70
62
|
*
|
|
71
63
|
* @throws {@link ValidationException} (client fault)
|
|
72
|
-
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services
|
|
73
|
-
* service.</p>
|
|
64
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
74
65
|
*
|
|
75
66
|
* @throws {@link EMRServerlessServiceException}
|
|
76
67
|
* <p>Base exception class for all service exceptions from EMRServerless service.</p>
|
|
@@ -163,8 +163,7 @@ declare const GetJobRunCommand_base: {
|
|
|
163
163
|
* <p>The specified resource was not found.</p>
|
|
164
164
|
*
|
|
165
165
|
* @throws {@link ValidationException} (client fault)
|
|
166
|
-
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services
|
|
167
|
-
* service.</p>
|
|
166
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
168
167
|
*
|
|
169
168
|
* @throws {@link EMRServerlessServiceException}
|
|
170
169
|
* <p>Base exception class for all service exceptions from EMRServerless service.</p>
|
|
@@ -73,8 +73,7 @@ declare const ListApplicationsCommand_base: {
|
|
|
73
73
|
* <p>Request processing failed because of an error or failure with the service.</p>
|
|
74
74
|
*
|
|
75
75
|
* @throws {@link ValidationException} (client fault)
|
|
76
|
-
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services
|
|
77
|
-
* service.</p>
|
|
76
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
78
77
|
*
|
|
79
78
|
* @throws {@link EMRServerlessServiceException}
|
|
80
79
|
* <p>Base exception class for all service exceptions from EMRServerless service.</p>
|
|
@@ -80,8 +80,7 @@ declare const ListJobRunAttemptsCommand_base: {
|
|
|
80
80
|
* <p>The specified resource was not found.</p>
|
|
81
81
|
*
|
|
82
82
|
* @throws {@link ValidationException} (client fault)
|
|
83
|
-
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services
|
|
84
|
-
* service.</p>
|
|
83
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
85
84
|
*
|
|
86
85
|
* @throws {@link EMRServerlessServiceException}
|
|
87
86
|
* <p>Base exception class for all service exceptions from EMRServerless service.</p>
|
|
@@ -83,8 +83,7 @@ declare const ListJobRunsCommand_base: {
|
|
|
83
83
|
* <p>Request processing failed because of an error or failure with the service.</p>
|
|
84
84
|
*
|
|
85
85
|
* @throws {@link ValidationException} (client fault)
|
|
86
|
-
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services
|
|
87
|
-
* service.</p>
|
|
86
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
88
87
|
*
|
|
89
88
|
* @throws {@link EMRServerlessServiceException}
|
|
90
89
|
* <p>Base exception class for all service exceptions from EMRServerless service.</p>
|
|
@@ -60,8 +60,7 @@ declare const ListTagsForResourceCommand_base: {
|
|
|
60
60
|
* <p>The specified resource was not found.</p>
|
|
61
61
|
*
|
|
62
62
|
* @throws {@link ValidationException} (client fault)
|
|
63
|
-
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services
|
|
64
|
-
* service.</p>
|
|
63
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
65
64
|
*
|
|
66
65
|
* @throws {@link EMRServerlessServiceException}
|
|
67
66
|
* <p>Base exception class for all service exceptions from EMRServerless service.</p>
|
|
@@ -59,8 +59,7 @@ declare const StartApplicationCommand_base: {
|
|
|
59
59
|
* <p>The maximum number of resources per account has been reached.</p>
|
|
60
60
|
*
|
|
61
61
|
* @throws {@link ValidationException} (client fault)
|
|
62
|
-
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services
|
|
63
|
-
* service.</p>
|
|
62
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
64
63
|
*
|
|
65
64
|
* @throws {@link EMRServerlessServiceException}
|
|
66
65
|
* <p>Base exception class for all service exceptions from EMRServerless service.</p>
|
|
@@ -38,6 +38,12 @@ declare const StartJobRunCommand_base: {
|
|
|
38
38
|
* applicationId: "STRING_VALUE", // required
|
|
39
39
|
* clientToken: "STRING_VALUE", // required
|
|
40
40
|
* executionRoleArn: "STRING_VALUE", // required
|
|
41
|
+
* executionIamPolicy: { // JobRunExecutionIamPolicy
|
|
42
|
+
* policy: "STRING_VALUE",
|
|
43
|
+
* policyArns: [ // PolicyArnList
|
|
44
|
+
* "STRING_VALUE",
|
|
45
|
+
* ],
|
|
46
|
+
* },
|
|
41
47
|
* jobDriver: { // JobDriver Union: only one key present
|
|
42
48
|
* sparkSubmit: { // SparkSubmit
|
|
43
49
|
* entryPoint: "STRING_VALUE", // required
|
|
@@ -123,8 +129,7 @@ declare const StartJobRunCommand_base: {
|
|
|
123
129
|
* @see {@link EMRServerlessClientResolvedConfig | config} for EMRServerlessClient's `config` shape.
|
|
124
130
|
*
|
|
125
131
|
* @throws {@link ConflictException} (client fault)
|
|
126
|
-
* <p>The request could not be processed because of conflict in the current state of the
|
|
127
|
-
* resource.</p>
|
|
132
|
+
* <p>The request could not be processed because of conflict in the current state of the resource.</p>
|
|
128
133
|
*
|
|
129
134
|
* @throws {@link InternalServerException} (server fault)
|
|
130
135
|
* <p>Request processing failed because of an error or failure with the service.</p>
|
|
@@ -133,8 +138,7 @@ declare const StartJobRunCommand_base: {
|
|
|
133
138
|
* <p>The specified resource was not found.</p>
|
|
134
139
|
*
|
|
135
140
|
* @throws {@link ValidationException} (client fault)
|
|
136
|
-
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services
|
|
137
|
-
* service.</p>
|
|
141
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
138
142
|
*
|
|
139
143
|
* @throws {@link EMRServerlessServiceException}
|
|
140
144
|
* <p>Base exception class for all service exceptions from EMRServerless service.</p>
|
|
@@ -27,8 +27,7 @@ declare const StopApplicationCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Stops a specified application and releases initial capacity if configured. All scheduled
|
|
31
|
-
* and running jobs must be completed or cancelled before stopping an application.</p>
|
|
30
|
+
* <p>Stops a specified application and releases initial capacity if configured. All scheduled and running jobs must be completed or cancelled before stopping an application.</p>
|
|
32
31
|
* @example
|
|
33
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
33
|
* ```javascript
|
|
@@ -57,8 +56,7 @@ declare const StopApplicationCommand_base: {
|
|
|
57
56
|
* <p>The specified resource was not found.</p>
|
|
58
57
|
*
|
|
59
58
|
* @throws {@link ValidationException} (client fault)
|
|
60
|
-
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services
|
|
61
|
-
* service.</p>
|
|
59
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
62
60
|
*
|
|
63
61
|
* @throws {@link EMRServerlessServiceException}
|
|
64
62
|
* <p>Base exception class for all service exceptions from EMRServerless service.</p>
|
|
@@ -27,11 +27,7 @@ declare const TagResourceCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Assigns tags to resources. A tag is a label that you assign to an Amazon Web Services
|
|
31
|
-
* resource. Each tag consists of a key and an optional value, both of which you define. Tags
|
|
32
|
-
* enable you to categorize your Amazon Web Services resources by attributes such as purpose,
|
|
33
|
-
* owner, or environment. When you have many resources of the same type, you can quickly
|
|
34
|
-
* identify a specific resource based on the tags you've assigned to it. </p>
|
|
30
|
+
* <p>Assigns tags to resources. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key and an optional value, both of which you define. Tags enable you to categorize your Amazon Web Services resources by attributes such as purpose, owner, or environment. When you have many resources of the same type, you can quickly identify a specific resource based on the tags you've assigned to it. </p>
|
|
35
31
|
* @example
|
|
36
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
37
33
|
* ```javascript
|
|
@@ -63,8 +59,7 @@ declare const TagResourceCommand_base: {
|
|
|
63
59
|
* <p>The specified resource was not found.</p>
|
|
64
60
|
*
|
|
65
61
|
* @throws {@link ValidationException} (client fault)
|
|
66
|
-
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services
|
|
67
|
-
* service.</p>
|
|
62
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
68
63
|
*
|
|
69
64
|
* @throws {@link EMRServerlessServiceException}
|
|
70
65
|
* <p>Base exception class for all service exceptions from EMRServerless service.</p>
|
|
@@ -59,8 +59,7 @@ declare const UntagResourceCommand_base: {
|
|
|
59
59
|
* <p>The specified resource was not found.</p>
|
|
60
60
|
*
|
|
61
61
|
* @throws {@link ValidationException} (client fault)
|
|
62
|
-
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services
|
|
63
|
-
* service.</p>
|
|
62
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
64
63
|
*
|
|
65
64
|
* @throws {@link EMRServerlessServiceException}
|
|
66
65
|
* <p>Base exception class for all service exceptions from EMRServerless service.</p>
|
|
@@ -27,8 +27,7 @@ declare const UpdateApplicationCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Updates a specified application. An application has to be in a stopped or created state
|
|
31
|
-
* in order to be updated.</p>
|
|
30
|
+
* <p>Updates a specified application. An application has to be in a stopped or created state in order to be updated.</p>
|
|
32
31
|
* @example
|
|
33
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
33
|
* ```javascript
|
|
@@ -258,8 +257,7 @@ declare const UpdateApplicationCommand_base: {
|
|
|
258
257
|
* <p>The specified resource was not found.</p>
|
|
259
258
|
*
|
|
260
259
|
* @throws {@link ValidationException} (client fault)
|
|
261
|
-
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services
|
|
262
|
-
* service.</p>
|
|
260
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
263
261
|
*
|
|
264
262
|
* @throws {@link EMRServerlessServiceException}
|
|
265
263
|
* <p>Base exception class for all service exceptions from EMRServerless service.</p>
|
package/dist-types/index.d.ts
CHANGED
|
@@ -1,25 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* <p>Amazon EMR Serverless is a new deployment option for Amazon EMR. Amazon EMR Serverless provides a serverless runtime environment that simplifies running
|
|
3
|
-
* analytics applications using the latest open source frameworks such as Apache Spark and
|
|
4
|
-
* Apache Hive. With Amazon EMR Serverless, you don’t have to configure, optimize,
|
|
5
|
-
* secure, or operate clusters to run applications with these frameworks.</p>
|
|
6
|
-
* <p>The API reference to Amazon EMR Serverless is <code>emr-serverless</code>. The
|
|
7
|
-
* <code>emr-serverless</code> prefix is used in the following scenarios: </p>
|
|
8
|
-
* <ul>
|
|
9
|
-
* <li>
|
|
10
|
-
* <p>It is the prefix in the CLI commands for Amazon EMR Serverless. For
|
|
11
|
-
* example, <code>aws emr-serverless start-job-run</code>.</p>
|
|
12
|
-
* </li>
|
|
13
|
-
* <li>
|
|
14
|
-
* <p>It is the prefix before IAM policy actions for Amazon EMR Serverless. For
|
|
15
|
-
* example, <code>"Action": ["emr-serverless:StartJobRun"]</code>. For more information,
|
|
16
|
-
* see <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>
|
|
17
|
-
* </li>
|
|
18
|
-
* <li>
|
|
19
|
-
* <p>It is the prefix used in Amazon EMR Serverless service endpoints. For
|
|
20
|
-
* example, <code>emr-serverless.us-east-2.amazonaws.com</code>.</p>
|
|
21
|
-
* </li>
|
|
22
|
-
* </ul>
|
|
2
|
+
* <p>Amazon EMR Serverless is a new deployment option for Amazon EMR. Amazon EMR Serverless provides a serverless runtime environment that simplifies running analytics applications using the latest open source frameworks such as Apache Spark and Apache Hive. With Amazon EMR Serverless, you don’t have to configure, optimize, secure, or operate clusters to run applications with these frameworks.</p> <p>The API reference to Amazon EMR Serverless is <code>emr-serverless</code>. The <code>emr-serverless</code> prefix is used in the following scenarios: </p> <ul> <li> <p>It is the prefix in the CLI commands for Amazon EMR Serverless. For example, <code>aws emr-serverless start-job-run</code>.</p> </li> <li> <p>It is the prefix before IAM policy actions for Amazon EMR Serverless. For example, <code>"Action": ["emr-serverless:StartJobRun"]</code>. For more information, see <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> </li> <li> <p>It is the prefix used in Amazon EMR Serverless service endpoints. For example, <code>emr-serverless.us-east-2.amazonaws.com</code>.</p> </li> </ul>
|
|
23
3
|
*
|
|
24
4
|
* @packageDocumentation
|
|
25
5
|
*/
|
|
@@ -18,27 +18,23 @@ export type Architecture = (typeof Architecture)[keyof typeof Architecture];
|
|
|
18
18
|
*/
|
|
19
19
|
export interface AutoStartConfig {
|
|
20
20
|
/**
|
|
21
|
-
* <p>Enables the application to automatically start on job submission. Defaults to
|
|
22
|
-
* true.</p>
|
|
21
|
+
* <p>Enables the application to automatically start on job submission. Defaults to true.</p>
|
|
23
22
|
* @public
|
|
24
23
|
*/
|
|
25
24
|
enabled?: boolean | undefined;
|
|
26
25
|
}
|
|
27
26
|
/**
|
|
28
|
-
* <p>The configuration for an application to automatically stop after a certain amount of
|
|
29
|
-
* time being idle.</p>
|
|
27
|
+
* <p>The configuration for an application to automatically stop after a certain amount of time being idle.</p>
|
|
30
28
|
* @public
|
|
31
29
|
*/
|
|
32
30
|
export interface AutoStopConfig {
|
|
33
31
|
/**
|
|
34
|
-
* <p>Enables the application to automatically stop after a certain amount of time being idle.
|
|
35
|
-
* Defaults to true.</p>
|
|
32
|
+
* <p>Enables the application to automatically stop after a certain amount of time being idle. Defaults to true.</p>
|
|
36
33
|
* @public
|
|
37
34
|
*/
|
|
38
35
|
enabled?: boolean | undefined;
|
|
39
36
|
/**
|
|
40
|
-
* <p>The amount of idle time in minutes after which your application will automatically stop.
|
|
41
|
-
* Defaults to 15 minutes.</p>
|
|
37
|
+
* <p>The amount of idle time in minutes after which your application will automatically stop. Defaults to 15 minutes.</p>
|
|
42
38
|
* @public
|
|
43
39
|
*/
|
|
44
40
|
idleTimeoutMinutes?: number | undefined;
|
|
@@ -54,15 +50,13 @@ export interface ImageConfiguration {
|
|
|
54
50
|
*/
|
|
55
51
|
imageUri: string | undefined;
|
|
56
52
|
/**
|
|
57
|
-
* <p>The SHA256 digest of the image URI. This indicates which specific image the application
|
|
58
|
-
* is configured for. The image digest doesn't exist until an application has started.</p>
|
|
53
|
+
* <p>The SHA256 digest of the image URI. This indicates which specific image the application is configured for. The image digest doesn't exist until an application has started.</p>
|
|
59
54
|
* @public
|
|
60
55
|
*/
|
|
61
56
|
resolvedImageDigest?: string | undefined;
|
|
62
57
|
}
|
|
63
58
|
/**
|
|
64
|
-
* <p>The cumulative configuration requirements for every worker instance of the worker
|
|
65
|
-
* type.</p>
|
|
59
|
+
* <p>The cumulative configuration requirements for every worker instance of the worker type.</p>
|
|
66
60
|
* @public
|
|
67
61
|
*/
|
|
68
62
|
export interface WorkerResourceConfig {
|
|
@@ -82,8 +76,7 @@ export interface WorkerResourceConfig {
|
|
|
82
76
|
*/
|
|
83
77
|
disk?: string | undefined;
|
|
84
78
|
/**
|
|
85
|
-
* <p>The disk type for every worker instance of the work type. Shuffle optimized disks have higher performance
|
|
86
|
-
* characteristics and are better for shuffle heavy workloads. Default is <code>STANDARD</code>.</p>
|
|
79
|
+
* <p>The disk type for every worker instance of the work type. Shuffle optimized disks have higher performance characteristics and are better for shuffle heavy workloads. Default is <code>STANDARD</code>.</p>
|
|
87
80
|
* @public
|
|
88
81
|
*/
|
|
89
82
|
diskType?: string | undefined;
|
|
@@ -142,8 +135,7 @@ export interface MaximumAllowedResources {
|
|
|
142
135
|
disk?: string | undefined;
|
|
143
136
|
}
|
|
144
137
|
/**
|
|
145
|
-
* <p>The Amazon CloudWatch configuration for monitoring logs. You can configure your jobs
|
|
146
|
-
* to send log information to CloudWatch.</p>
|
|
138
|
+
* <p>The Amazon CloudWatch configuration for monitoring logs. You can configure your jobs to send log information to CloudWatch.</p>
|
|
147
139
|
* @public
|
|
148
140
|
*/
|
|
149
141
|
export interface CloudWatchLoggingConfiguration {
|
|
@@ -153,8 +145,7 @@ export interface CloudWatchLoggingConfiguration {
|
|
|
153
145
|
*/
|
|
154
146
|
enabled: boolean | undefined;
|
|
155
147
|
/**
|
|
156
|
-
* <p>The name of the log group in Amazon CloudWatch Logs where you want to publish your
|
|
157
|
-
* logs.</p>
|
|
148
|
+
* <p>The name of the log group in Amazon CloudWatch Logs where you want to publish your logs.</p>
|
|
158
149
|
* @public
|
|
159
150
|
*/
|
|
160
151
|
logGroupName?: string | undefined;
|
|
@@ -169,27 +160,7 @@ export interface CloudWatchLoggingConfiguration {
|
|
|
169
160
|
*/
|
|
170
161
|
encryptionKeyArn?: string | undefined;
|
|
171
162
|
/**
|
|
172
|
-
* <p>The types of logs that you want to publish to CloudWatch. If you don't specify
|
|
173
|
-
* any log types, driver STDOUT and STDERR logs will be published to CloudWatch Logs by
|
|
174
|
-
* default. For more information including the supported worker types for Hive and Spark, see
|
|
175
|
-
* <a href="https://docs.aws.amazon.com/emr/latest/EMR-Serverless-UserGuide/logging.html#jobs-log-storage-cw">Logging for
|
|
176
|
-
* EMR Serverless with CloudWatch</a>.</p>
|
|
177
|
-
* <ul>
|
|
178
|
-
* <li>
|
|
179
|
-
* <p>
|
|
180
|
-
* <b>Key Valid Values</b>: <code>SPARK_DRIVER</code>,
|
|
181
|
-
* <code>SPARK_EXECUTOR</code>, <code>HIVE_DRIVER</code>,
|
|
182
|
-
* <code>TEZ_TASK</code>
|
|
183
|
-
* </p>
|
|
184
|
-
* </li>
|
|
185
|
-
* <li>
|
|
186
|
-
* <p>
|
|
187
|
-
* <b>Array Members Valid Values</b>: <code>STDOUT</code>,
|
|
188
|
-
* <code>STDERR</code>, <code>HIVE_LOG</code>, <code>TEZ_AM</code>,
|
|
189
|
-
* <code>SYSTEM_LOGS</code>
|
|
190
|
-
* </p>
|
|
191
|
-
* </li>
|
|
192
|
-
* </ul>
|
|
163
|
+
* <p>The types of logs that you want to publish to CloudWatch. If you don't specify any log types, driver STDOUT and STDERR logs will be published to CloudWatch Logs by default. For more information including the supported worker types for Hive and Spark, see <a href="https://docs.aws.amazon.com/emr/latest/EMR-Serverless-UserGuide/logging.html#jobs-log-storage-cw">Logging for EMR Serverless with CloudWatch</a>.</p> <ul> <li> <p> <b>Key Valid Values</b>: <code>SPARK_DRIVER</code>, <code>SPARK_EXECUTOR</code>, <code>HIVE_DRIVER</code>, <code>TEZ_TASK</code> </p> </li> <li> <p> <b>Array Members Valid Values</b>: <code>STDOUT</code>, <code>STDERR</code>, <code>HIVE_LOG</code>, <code>TEZ_AM</code>, <code>SYSTEM_LOGS</code> </p> </li> </ul>
|
|
193
164
|
* @public
|
|
194
165
|
*/
|
|
195
166
|
logTypes?: Record<string, string[]> | undefined;
|
|
@@ -200,8 +171,7 @@ export interface CloudWatchLoggingConfiguration {
|
|
|
200
171
|
*/
|
|
201
172
|
export interface ManagedPersistenceMonitoringConfiguration {
|
|
202
173
|
/**
|
|
203
|
-
* <p>Enables managed logging and defaults to true. If set to false, managed logging will be
|
|
204
|
-
* turned off.</p>
|
|
174
|
+
* <p>Enables managed logging and defaults to true. If set to false, managed logging will be turned off.</p>
|
|
205
175
|
* @public
|
|
206
176
|
*/
|
|
207
177
|
enabled?: boolean | undefined;
|
|
@@ -223,8 +193,7 @@ export interface PrometheusMonitoringConfiguration {
|
|
|
223
193
|
remoteWriteUrl?: string | undefined;
|
|
224
194
|
}
|
|
225
195
|
/**
|
|
226
|
-
* <p>The Amazon S3 configuration for monitoring log publishing. You can configure your jobs
|
|
227
|
-
* to send log information to Amazon S3.</p>
|
|
196
|
+
* <p>The Amazon S3 configuration for monitoring log publishing. You can configure your jobs to send log information to Amazon S3.</p>
|
|
228
197
|
* @public
|
|
229
198
|
*/
|
|
230
199
|
export interface S3MonitoringConfiguration {
|
|
@@ -255,8 +224,7 @@ export interface MonitoringConfiguration {
|
|
|
255
224
|
*/
|
|
256
225
|
managedPersistenceMonitoringConfiguration?: ManagedPersistenceMonitoringConfiguration | undefined;
|
|
257
226
|
/**
|
|
258
|
-
* <p>The Amazon CloudWatch configuration for monitoring logs. You can configure your jobs
|
|
259
|
-
* to send log information to CloudWatch.</p>
|
|
227
|
+
* <p>The Amazon CloudWatch configuration for monitoring logs. You can configure your jobs to send log information to CloudWatch.</p>
|
|
260
228
|
* @public
|
|
261
229
|
*/
|
|
262
230
|
cloudWatchLoggingConfiguration?: CloudWatchLoggingConfiguration | undefined;
|
|
@@ -383,8 +351,7 @@ export interface ApplicationSummary {
|
|
|
383
351
|
architecture?: Architecture | undefined;
|
|
384
352
|
}
|
|
385
353
|
/**
|
|
386
|
-
* <p>The request could not be processed because of conflict in the current state of the
|
|
387
|
-
* resource.</p>
|
|
354
|
+
* <p>The request could not be processed because of conflict in the current state of the resource.</p>
|
|
388
355
|
* @public
|
|
389
356
|
*/
|
|
390
357
|
export declare class ConflictException extends __BaseException {
|
|
@@ -401,9 +368,7 @@ export declare class ConflictException extends __BaseException {
|
|
|
401
368
|
*/
|
|
402
369
|
export interface ImageConfigurationInput {
|
|
403
370
|
/**
|
|
404
|
-
* <p>The URI of an image in the Amazon ECR registry. This field is required when you create a
|
|
405
|
-
* new application. If you leave this field blank in an update, Amazon EMR will remove
|
|
406
|
-
* the image configuration.</p>
|
|
371
|
+
* <p>The URI of an image in the Amazon ECR registry. This field is required when you create a new application. If you leave this field blank in an update, Amazon EMR will remove the image configuration.</p>
|
|
407
372
|
* @public
|
|
408
373
|
*/
|
|
409
374
|
imageUri?: string | undefined;
|
|
@@ -464,8 +429,7 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
464
429
|
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
465
430
|
}
|
|
466
431
|
/**
|
|
467
|
-
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services
|
|
468
|
-
* service.</p>
|
|
432
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
469
433
|
* @public
|
|
470
434
|
*/
|
|
471
435
|
export declare class ValidationException extends __BaseException {
|
|
@@ -516,8 +480,7 @@ export interface ListApplicationsRequest {
|
|
|
516
480
|
*/
|
|
517
481
|
maxResults?: number | undefined;
|
|
518
482
|
/**
|
|
519
|
-
* <p>An optional filter for application states. Note that if this filter contains multiple
|
|
520
|
-
* states, the resulting list will be grouped by the state.</p>
|
|
483
|
+
* <p>An optional filter for application states. Note that if this filter contains multiple states, the resulting list will be grouped by the state.</p>
|
|
521
484
|
* @public
|
|
522
485
|
*/
|
|
523
486
|
states?: ApplicationState[] | undefined;
|
|
@@ -532,8 +495,7 @@ export interface ListApplicationsResponse {
|
|
|
532
495
|
*/
|
|
533
496
|
applications: ApplicationSummary[] | undefined;
|
|
534
497
|
/**
|
|
535
|
-
* <p>The output displays the token for the next set of application results. This is required
|
|
536
|
-
* for pagination and is available as a response of the previous request.</p>
|
|
498
|
+
* <p>The output displays the token for the next set of application results. This is required for pagination and is available as a response of the previous request.</p>
|
|
537
499
|
* @public
|
|
538
500
|
*/
|
|
539
501
|
nextToken?: string | undefined;
|
|
@@ -594,6 +556,11 @@ export interface CancelJobRunRequest {
|
|
|
594
556
|
* @public
|
|
595
557
|
*/
|
|
596
558
|
jobRunId: string | undefined;
|
|
559
|
+
/**
|
|
560
|
+
* The duration (in seconds) to wait before forcefully terminating the job after cancellation is requested.
|
|
561
|
+
* @public
|
|
562
|
+
*/
|
|
563
|
+
shutdownGracePeriodInSeconds?: number | undefined;
|
|
597
564
|
}
|
|
598
565
|
/**
|
|
599
566
|
* @public
|
|
@@ -625,8 +592,7 @@ export interface GetDashboardForJobRunRequest {
|
|
|
625
592
|
*/
|
|
626
593
|
jobRunId: string | undefined;
|
|
627
594
|
/**
|
|
628
|
-
* <p>An optimal parameter that indicates the amount of attempts for the job. If not specified,
|
|
629
|
-
* this value defaults to the attempt of the latest job.</p>
|
|
595
|
+
* <p>An optimal parameter that indicates the amount of attempts for the job. If not specified, this value defaults to the attempt of the latest job.</p>
|
|
630
596
|
* @public
|
|
631
597
|
*/
|
|
632
598
|
attempt?: number | undefined;
|
|
@@ -661,8 +627,7 @@ export interface GetJobRunRequest {
|
|
|
661
627
|
*/
|
|
662
628
|
jobRunId: string | undefined;
|
|
663
629
|
/**
|
|
664
|
-
* <p>An optimal parameter that indicates the amount of attempts for the job. If not specified,
|
|
665
|
-
* this value defaults to the attempt of the latest job.</p>
|
|
630
|
+
* <p>An optimal parameter that indicates the amount of attempts for the job. If not specified, this value defaults to the attempt of the latest job.</p>
|
|
666
631
|
* @public
|
|
667
632
|
*/
|
|
668
633
|
attempt?: number | undefined;
|
|
@@ -673,20 +638,17 @@ export interface GetJobRunRequest {
|
|
|
673
638
|
*/
|
|
674
639
|
export interface ResourceUtilization {
|
|
675
640
|
/**
|
|
676
|
-
* <p>The aggregated vCPU used per hour from the time the job starts executing until the job
|
|
677
|
-
* is terminated.</p>
|
|
641
|
+
* <p>The aggregated vCPU used per hour from the time the job starts executing until the job is terminated.</p>
|
|
678
642
|
* @public
|
|
679
643
|
*/
|
|
680
644
|
vCPUHour?: number | undefined;
|
|
681
645
|
/**
|
|
682
|
-
* <p>The aggregated memory used per hour from the time the job starts executing until the job
|
|
683
|
-
* is terminated.</p>
|
|
646
|
+
* <p>The aggregated memory used per hour from the time the job starts executing until the job is terminated.</p>
|
|
684
647
|
* @public
|
|
685
648
|
*/
|
|
686
649
|
memoryGBHour?: number | undefined;
|
|
687
650
|
/**
|
|
688
|
-
* <p>The aggregated storage used per hour from the time the job starts executing until the
|
|
689
|
-
* job is terminated.</p>
|
|
651
|
+
* <p>The aggregated storage used per hour from the time the job starts executing until the job is terminated.</p>
|
|
690
652
|
* @public
|
|
691
653
|
*/
|
|
692
654
|
storageGBHour?: number | undefined;
|
|
@@ -823,26 +785,22 @@ export declare const JobRunState: {
|
|
|
823
785
|
*/
|
|
824
786
|
export type JobRunState = (typeof JobRunState)[keyof typeof JobRunState];
|
|
825
787
|
/**
|
|
826
|
-
* <p>The aggregate vCPU, memory, and storage resources used from the time job start executing
|
|
827
|
-
* till the time job is terminated, rounded up to the nearest second.</p>
|
|
788
|
+
* <p>The aggregate vCPU, memory, and storage resources used from the time job start executing till the time job is terminated, rounded up to the nearest second.</p>
|
|
828
789
|
* @public
|
|
829
790
|
*/
|
|
830
791
|
export interface TotalResourceUtilization {
|
|
831
792
|
/**
|
|
832
|
-
* <p>The aggregated vCPU used per hour from the time job start executing till the time job is
|
|
833
|
-
* terminated.</p>
|
|
793
|
+
* <p>The aggregated vCPU used per hour from the time job start executing till the time job is terminated.</p>
|
|
834
794
|
* @public
|
|
835
795
|
*/
|
|
836
796
|
vCPUHour?: number | undefined;
|
|
837
797
|
/**
|
|
838
|
-
* <p>The aggregated memory used per hour from the time job start executing till the time job
|
|
839
|
-
* is terminated.</p>
|
|
798
|
+
* <p>The aggregated memory used per hour from the time job start executing till the time job is terminated.</p>
|
|
840
799
|
* @public
|
|
841
800
|
*/
|
|
842
801
|
memoryGBHour?: number | undefined;
|
|
843
802
|
/**
|
|
844
|
-
* <p>The aggregated storage used per hour from the time job start executing till the time job
|
|
845
|
-
* is terminated.</p>
|
|
803
|
+
* <p>The aggregated storage used per hour from the time job start executing till the time job is terminated.</p>
|
|
846
804
|
* @public
|
|
847
805
|
*/
|
|
848
806
|
storageGBHour?: number | undefined;
|
|
@@ -963,8 +921,7 @@ export interface ListJobRunAttemptsResponse {
|
|
|
963
921
|
*/
|
|
964
922
|
jobRunAttempts: JobRunAttemptSummary[] | undefined;
|
|
965
923
|
/**
|
|
966
|
-
* <p>The output displays the token for the next set of application results.
|
|
967
|
-
* This is required for pagination and is available as a response of the previous request.</p>
|
|
924
|
+
* <p>The output displays the token for the next set of application results. This is required for pagination and is available as a response of the previous request.</p>
|
|
968
925
|
* @public
|
|
969
926
|
*/
|
|
970
927
|
nextToken?: string | undefined;
|
|
@@ -999,8 +956,7 @@ export interface ListJobRunsRequest {
|
|
|
999
956
|
*/
|
|
1000
957
|
createdAtBefore?: Date | undefined;
|
|
1001
958
|
/**
|
|
1002
|
-
* <p>An optional filter for job run states. Note that if this filter contains multiple
|
|
1003
|
-
* states, the resulting list will be grouped by the state.</p>
|
|
959
|
+
* <p>An optional filter for job run states. Note that if this filter contains multiple states, the resulting list will be grouped by the state.</p>
|
|
1004
960
|
* @public
|
|
1005
961
|
*/
|
|
1006
962
|
states?: JobRunState[] | undefined;
|
|
@@ -1071,8 +1027,7 @@ export interface JobRunSummary {
|
|
|
1071
1027
|
*/
|
|
1072
1028
|
stateDetails: string | undefined;
|
|
1073
1029
|
/**
|
|
1074
|
-
* <p>The Amazon EMR release associated with the application your job is running
|
|
1075
|
-
* on.</p>
|
|
1030
|
+
* <p>The Amazon EMR release associated with the application your job is running on.</p>
|
|
1076
1031
|
* @public
|
|
1077
1032
|
*/
|
|
1078
1033
|
releaseLabel: string | undefined;
|
|
@@ -1107,12 +1062,27 @@ export interface ListJobRunsResponse {
|
|
|
1107
1062
|
*/
|
|
1108
1063
|
jobRuns: JobRunSummary[] | undefined;
|
|
1109
1064
|
/**
|
|
1110
|
-
* <p>The output displays the token for the next set of job run results. This is required for
|
|
1111
|
-
* pagination and is available as a response of the previous request.</p>
|
|
1065
|
+
* <p>The output displays the token for the next set of job run results. This is required for pagination and is available as a response of the previous request.</p>
|
|
1112
1066
|
* @public
|
|
1113
1067
|
*/
|
|
1114
1068
|
nextToken?: string | undefined;
|
|
1115
1069
|
}
|
|
1070
|
+
/**
|
|
1071
|
+
* <p>Optional IAM policy. The resulting job IAM role permissions will be an intersection of the policies passed and the policy associated with your job execution role.</p>
|
|
1072
|
+
* @public
|
|
1073
|
+
*/
|
|
1074
|
+
export interface JobRunExecutionIamPolicy {
|
|
1075
|
+
/**
|
|
1076
|
+
* <p>An IAM inline policy to use as an execution IAM policy.</p>
|
|
1077
|
+
* @public
|
|
1078
|
+
*/
|
|
1079
|
+
policy?: string | undefined;
|
|
1080
|
+
/**
|
|
1081
|
+
* <p>A list of Amazon Resource Names (ARNs) to use as an execution IAM policy.</p>
|
|
1082
|
+
* @public
|
|
1083
|
+
*/
|
|
1084
|
+
policyArns?: string[] | undefined;
|
|
1085
|
+
}
|
|
1116
1086
|
/**
|
|
1117
1087
|
* @public
|
|
1118
1088
|
*/
|
|
@@ -1138,9 +1108,7 @@ export interface StartJobRunResponse {
|
|
|
1138
1108
|
*/
|
|
1139
1109
|
export interface ListTagsForResourceRequest {
|
|
1140
1110
|
/**
|
|
1141
|
-
* <p>The Amazon Resource Name (ARN) that identifies the resource to list the tags for.
|
|
1142
|
-
* Currently, the supported resources are Amazon EMR Serverless applications and job
|
|
1143
|
-
* runs.</p>
|
|
1111
|
+
* <p>The Amazon Resource Name (ARN) that identifies the resource to list the tags for. Currently, the supported resources are Amazon EMR Serverless applications and job runs.</p>
|
|
1144
1112
|
* @public
|
|
1145
1113
|
*/
|
|
1146
1114
|
resourceArn: string | undefined;
|
|
@@ -1160,9 +1128,7 @@ export interface ListTagsForResourceResponse {
|
|
|
1160
1128
|
*/
|
|
1161
1129
|
export interface TagResourceRequest {
|
|
1162
1130
|
/**
|
|
1163
|
-
* <p>The Amazon Resource Name (ARN) that identifies the resource to list the tags for.
|
|
1164
|
-
* Currently, the supported resources are Amazon EMR Serverless applications and job
|
|
1165
|
-
* runs.</p>
|
|
1131
|
+
* <p>The Amazon Resource Name (ARN) that identifies the resource to list the tags for. Currently, the supported resources are Amazon EMR Serverless applications and job runs.</p>
|
|
1166
1132
|
* @public
|
|
1167
1133
|
*/
|
|
1168
1134
|
resourceArn: string | undefined;
|
|
@@ -1182,9 +1148,7 @@ export interface TagResourceResponse {
|
|
|
1182
1148
|
*/
|
|
1183
1149
|
export interface UntagResourceRequest {
|
|
1184
1150
|
/**
|
|
1185
|
-
* <p>The Amazon Resource Name (ARN) that identifies the resource to list the tags for.
|
|
1186
|
-
* Currently, the supported resources are Amazon EMR Serverless applications and job
|
|
1187
|
-
* runs.</p>
|
|
1151
|
+
* <p>The Amazon Resource Name (ARN) that identifies the resource to list the tags for. Currently, the supported resources are Amazon EMR Serverless applications and job runs.</p>
|
|
1188
1152
|
* @public
|
|
1189
1153
|
*/
|
|
1190
1154
|
resourceArn: string | undefined;
|
|
@@ -1200,10 +1164,7 @@ export interface UntagResourceRequest {
|
|
|
1200
1164
|
export interface UntagResourceResponse {
|
|
1201
1165
|
}
|
|
1202
1166
|
/**
|
|
1203
|
-
* <p>A configuration specification to be used when provisioning an application. A
|
|
1204
|
-
* configuration consists of a classification, properties, and optional nested configurations.
|
|
1205
|
-
* A classification refers to an application-specific configuration file. Properties are the
|
|
1206
|
-
* settings you want to change in that file.</p>
|
|
1167
|
+
* <p>A configuration specification to be used when provisioning an application. A configuration consists of a classification, properties, and optional nested configurations. A classification refers to an application-specific configuration file. Properties are the settings you want to change in that file.</p>
|
|
1207
1168
|
* @public
|
|
1208
1169
|
*/
|
|
1209
1170
|
export interface Configuration {
|
|
@@ -1224,8 +1185,7 @@ export interface Configuration {
|
|
|
1224
1185
|
configurations?: Configuration[] | undefined;
|
|
1225
1186
|
}
|
|
1226
1187
|
/**
|
|
1227
|
-
* <p>Information about an application. Amazon EMR Serverless uses applications to run
|
|
1228
|
-
* jobs.</p>
|
|
1188
|
+
* <p>Information about an application. Amazon EMR Serverless uses applications to run jobs.</p>
|
|
1229
1189
|
* @public
|
|
1230
1190
|
*/
|
|
1231
1191
|
export interface Application {
|
|
@@ -1270,9 +1230,7 @@ export interface Application {
|
|
|
1270
1230
|
*/
|
|
1271
1231
|
initialCapacity?: Record<string, InitialCapacityConfig> | undefined;
|
|
1272
1232
|
/**
|
|
1273
|
-
* <p>The maximum capacity of the application. This is cumulative across all workers at any
|
|
1274
|
-
* given point in time during the lifespan of the application is created. No new resources
|
|
1275
|
-
* will be created once any one of the defined limits is hit.</p>
|
|
1233
|
+
* <p>The maximum capacity of the application. This is cumulative across all workers at any given point in time during the lifespan of the application is created. No new resources will be created once any one of the defined limits is hit.</p>
|
|
1276
1234
|
* @public
|
|
1277
1235
|
*/
|
|
1278
1236
|
maximumCapacity?: MaximumAllowedResources | undefined;
|
|
@@ -1297,8 +1255,7 @@ export interface Application {
|
|
|
1297
1255
|
*/
|
|
1298
1256
|
autoStartConfiguration?: AutoStartConfig | undefined;
|
|
1299
1257
|
/**
|
|
1300
|
-
* <p>The configuration for an application to automatically stop after a certain amount of
|
|
1301
|
-
* time being idle.</p>
|
|
1258
|
+
* <p>The configuration for an application to automatically stop after a certain amount of time being idle.</p>
|
|
1302
1259
|
* @public
|
|
1303
1260
|
*/
|
|
1304
1261
|
autoStopConfiguration?: AutoStopConfig | undefined;
|
|
@@ -1323,10 +1280,7 @@ export interface Application {
|
|
|
1323
1280
|
*/
|
|
1324
1281
|
workerTypeSpecifications?: Record<string, WorkerTypeSpecification> | undefined;
|
|
1325
1282
|
/**
|
|
1326
|
-
* <p>The <a href="https://docs.aws.amazon.com/emr-serverless/latest/APIReference/API_Configuration.html">Configuration</a>
|
|
1327
|
-
* specifications of an application. Each configuration consists of a classification and properties. You use this
|
|
1328
|
-
* parameter when creating or updating an application. To see the runtimeConfiguration object of an application,
|
|
1329
|
-
* run the <a href="https://docs.aws.amazon.com/emr-serverless/latest/APIReference/API_GetApplication.html">GetApplication</a> API operation.</p>
|
|
1283
|
+
* <p>The <a href="https://docs.aws.amazon.com/emr-serverless/latest/APIReference/API_Configuration.html">Configuration</a> specifications of an application. Each configuration consists of a classification and properties. You use this parameter when creating or updating an application. To see the runtimeConfiguration object of an application, run the <a href="https://docs.aws.amazon.com/emr-serverless/latest/APIReference/API_GetApplication.html">GetApplication</a> API operation.</p>
|
|
1330
1284
|
* @public
|
|
1331
1285
|
*/
|
|
1332
1286
|
runtimeConfiguration?: Configuration[] | undefined;
|
|
@@ -1382,8 +1336,7 @@ export interface CreateApplicationRequest {
|
|
|
1382
1336
|
*/
|
|
1383
1337
|
type: string | undefined;
|
|
1384
1338
|
/**
|
|
1385
|
-
* <p>The client idempotency token of the application to create. Its value must be unique for
|
|
1386
|
-
* each request.</p>
|
|
1339
|
+
* <p>The client idempotency token of the application to create. Its value must be unique for each request.</p>
|
|
1387
1340
|
* @public
|
|
1388
1341
|
*/
|
|
1389
1342
|
clientToken?: string | undefined;
|
|
@@ -1393,9 +1346,7 @@ export interface CreateApplicationRequest {
|
|
|
1393
1346
|
*/
|
|
1394
1347
|
initialCapacity?: Record<string, InitialCapacityConfig> | undefined;
|
|
1395
1348
|
/**
|
|
1396
|
-
* <p>The maximum capacity to allocate when the application is created. This is cumulative
|
|
1397
|
-
* across all workers at any given point in time, not just when an application is created. No
|
|
1398
|
-
* new resources will be created once any one of the defined limits is hit.</p>
|
|
1349
|
+
* <p>The maximum capacity to allocate when the application is created. This is cumulative across all workers at any given point in time, not just when an application is created. No new resources will be created once any one of the defined limits is hit.</p>
|
|
1399
1350
|
* @public
|
|
1400
1351
|
*/
|
|
1401
1352
|
maximumCapacity?: MaximumAllowedResources | undefined;
|
|
@@ -1410,8 +1361,7 @@ export interface CreateApplicationRequest {
|
|
|
1410
1361
|
*/
|
|
1411
1362
|
autoStartConfiguration?: AutoStartConfig | undefined;
|
|
1412
1363
|
/**
|
|
1413
|
-
* <p>The configuration for an application to automatically stop after a certain amount of
|
|
1414
|
-
* time being idle.</p>
|
|
1364
|
+
* <p>The configuration for an application to automatically stop after a certain amount of time being idle.</p>
|
|
1415
1365
|
* @public
|
|
1416
1366
|
*/
|
|
1417
1367
|
autoStopConfiguration?: AutoStopConfig | undefined;
|
|
@@ -1426,27 +1376,17 @@ export interface CreateApplicationRequest {
|
|
|
1426
1376
|
*/
|
|
1427
1377
|
architecture?: Architecture | undefined;
|
|
1428
1378
|
/**
|
|
1429
|
-
* <p>The image configuration for all worker types. You can either set this parameter or
|
|
1430
|
-
* <code>imageConfiguration</code> for each worker type in
|
|
1431
|
-
* <code>workerTypeSpecifications</code>.</p>
|
|
1379
|
+
* <p>The image configuration for all worker types. You can either set this parameter or <code>imageConfiguration</code> for each worker type in <code>workerTypeSpecifications</code>.</p>
|
|
1432
1380
|
* @public
|
|
1433
1381
|
*/
|
|
1434
1382
|
imageConfiguration?: ImageConfigurationInput | undefined;
|
|
1435
1383
|
/**
|
|
1436
|
-
* <p>The key-value pairs that specify worker type to
|
|
1437
|
-
* <code>WorkerTypeSpecificationInput</code>. This parameter must contain all valid worker
|
|
1438
|
-
* types for a Spark or Hive application. Valid worker types include <code>Driver</code> and
|
|
1439
|
-
* <code>Executor</code> for Spark applications and <code>HiveDriver</code> and
|
|
1440
|
-
* <code>TezTask</code> for Hive applications. You can either set image details in this
|
|
1441
|
-
* parameter for each worker type, or in <code>imageConfiguration</code> for all worker
|
|
1442
|
-
* types.</p>
|
|
1384
|
+
* <p>The key-value pairs that specify worker type to <code>WorkerTypeSpecificationInput</code>. This parameter must contain all valid worker types for a Spark or Hive application. Valid worker types include <code>Driver</code> and <code>Executor</code> for Spark applications and <code>HiveDriver</code> and <code>TezTask</code> for Hive applications. You can either set image details in this parameter for each worker type, or in <code>imageConfiguration</code> for all worker types.</p>
|
|
1443
1385
|
* @public
|
|
1444
1386
|
*/
|
|
1445
1387
|
workerTypeSpecifications?: Record<string, WorkerTypeSpecificationInput> | undefined;
|
|
1446
1388
|
/**
|
|
1447
|
-
* <p>The <a href="https://docs.aws.amazon.com/emr-serverless/latest/APIReference/API_Configuration.html">Configuration</a>
|
|
1448
|
-
* specifications to use when creating an application. Each configuration consists of a classification and properties.
|
|
1449
|
-
* This configuration is applied to all the job runs submitted under the application.</p>
|
|
1389
|
+
* <p>The <a href="https://docs.aws.amazon.com/emr-serverless/latest/APIReference/API_Configuration.html">Configuration</a> specifications to use when creating an application. Each configuration consists of a classification and properties. This configuration is applied to all the job runs submitted under the application.</p>
|
|
1450
1390
|
* @public
|
|
1451
1391
|
*/
|
|
1452
1392
|
runtimeConfiguration?: Configuration[] | undefined;
|
|
@@ -1456,8 +1396,7 @@ export interface CreateApplicationRequest {
|
|
|
1456
1396
|
*/
|
|
1457
1397
|
monitoringConfiguration?: MonitoringConfiguration | undefined;
|
|
1458
1398
|
/**
|
|
1459
|
-
* <p>The interactive configuration object that enables the interactive use cases
|
|
1460
|
-
* to use when running an application.</p>
|
|
1399
|
+
* <p>The interactive configuration object that enables the interactive use cases to use when running an application.</p>
|
|
1461
1400
|
* @public
|
|
1462
1401
|
*/
|
|
1463
1402
|
interactiveConfiguration?: InteractiveConfiguration | undefined;
|
|
@@ -1477,8 +1416,7 @@ export interface UpdateApplicationRequest {
|
|
|
1477
1416
|
*/
|
|
1478
1417
|
applicationId: string | undefined;
|
|
1479
1418
|
/**
|
|
1480
|
-
* <p>The client idempotency token of the application to update. Its value must be unique for
|
|
1481
|
-
* each request.</p>
|
|
1419
|
+
* <p>The client idempotency token of the application to update. Its value must be unique for each request.</p>
|
|
1482
1420
|
* @public
|
|
1483
1421
|
*/
|
|
1484
1422
|
clientToken?: string | undefined;
|
|
@@ -1488,9 +1426,7 @@ export interface UpdateApplicationRequest {
|
|
|
1488
1426
|
*/
|
|
1489
1427
|
initialCapacity?: Record<string, InitialCapacityConfig> | undefined;
|
|
1490
1428
|
/**
|
|
1491
|
-
* <p>The maximum capacity to allocate when the application is updated. This is cumulative
|
|
1492
|
-
* across all workers at any given point in time during the lifespan of the application. No
|
|
1493
|
-
* new resources will be created once any one of the defined limits is hit.</p>
|
|
1429
|
+
* <p>The maximum capacity to allocate when the application is updated. This is cumulative across all workers at any given point in time during the lifespan of the application. No new resources will be created once any one of the defined limits is hit.</p>
|
|
1494
1430
|
* @public
|
|
1495
1431
|
*/
|
|
1496
1432
|
maximumCapacity?: MaximumAllowedResources | undefined;
|
|
@@ -1500,8 +1436,7 @@ export interface UpdateApplicationRequest {
|
|
|
1500
1436
|
*/
|
|
1501
1437
|
autoStartConfiguration?: AutoStartConfig | undefined;
|
|
1502
1438
|
/**
|
|
1503
|
-
* <p>The configuration for an application to automatically stop after a certain amount of
|
|
1504
|
-
* time being idle.</p>
|
|
1439
|
+
* <p>The configuration for an application to automatically stop after a certain amount of time being idle.</p>
|
|
1505
1440
|
* @public
|
|
1506
1441
|
*/
|
|
1507
1442
|
autoStopConfiguration?: AutoStopConfig | undefined;
|
|
@@ -1516,39 +1451,27 @@ export interface UpdateApplicationRequest {
|
|
|
1516
1451
|
*/
|
|
1517
1452
|
architecture?: Architecture | undefined;
|
|
1518
1453
|
/**
|
|
1519
|
-
* <p>The image configuration to be used for all worker types. You can either set this
|
|
1520
|
-
* parameter or <code>imageConfiguration</code> for each worker type in
|
|
1521
|
-
* <code>WorkerTypeSpecificationInput</code>.</p>
|
|
1454
|
+
* <p>The image configuration to be used for all worker types. You can either set this parameter or <code>imageConfiguration</code> for each worker type in <code>WorkerTypeSpecificationInput</code>.</p>
|
|
1522
1455
|
* @public
|
|
1523
1456
|
*/
|
|
1524
1457
|
imageConfiguration?: ImageConfigurationInput | undefined;
|
|
1525
1458
|
/**
|
|
1526
|
-
* <p>The key-value pairs that specify worker type to
|
|
1527
|
-
* <code>WorkerTypeSpecificationInput</code>. This parameter must contain all valid worker
|
|
1528
|
-
* types for a Spark or Hive application. Valid worker types include <code>Driver</code> and
|
|
1529
|
-
* <code>Executor</code> for Spark applications and <code>HiveDriver</code> and
|
|
1530
|
-
* <code>TezTask</code> for Hive applications. You can either set image details in this
|
|
1531
|
-
* parameter for each worker type, or in <code>imageConfiguration</code> for all worker
|
|
1532
|
-
* types.</p>
|
|
1459
|
+
* <p>The key-value pairs that specify worker type to <code>WorkerTypeSpecificationInput</code>. This parameter must contain all valid worker types for a Spark or Hive application. Valid worker types include <code>Driver</code> and <code>Executor</code> for Spark applications and <code>HiveDriver</code> and <code>TezTask</code> for Hive applications. You can either set image details in this parameter for each worker type, or in <code>imageConfiguration</code> for all worker types.</p>
|
|
1533
1460
|
* @public
|
|
1534
1461
|
*/
|
|
1535
1462
|
workerTypeSpecifications?: Record<string, WorkerTypeSpecificationInput> | undefined;
|
|
1536
1463
|
/**
|
|
1537
|
-
* <p>The interactive configuration object that contains new interactive use cases
|
|
1538
|
-
* when the application is updated.</p>
|
|
1464
|
+
* <p>The interactive configuration object that contains new interactive use cases when the application is updated.</p>
|
|
1539
1465
|
* @public
|
|
1540
1466
|
*/
|
|
1541
1467
|
interactiveConfiguration?: InteractiveConfiguration | undefined;
|
|
1542
1468
|
/**
|
|
1543
|
-
* <p>The Amazon EMR release label for the application. You can change the release
|
|
1544
|
-
* label to use a different release of Amazon EMR.</p>
|
|
1469
|
+
* <p>The Amazon EMR release label for the application. You can change the release label to use a different release of Amazon EMR.</p>
|
|
1545
1470
|
* @public
|
|
1546
1471
|
*/
|
|
1547
1472
|
releaseLabel?: string | undefined;
|
|
1548
1473
|
/**
|
|
1549
|
-
* <p>The <a href="https://docs.aws.amazon.com/emr-serverless/latest/APIReference/API_Configuration.html">Configuration</a>
|
|
1550
|
-
* specifications to use when updating an application. Each configuration consists of a classification and properties.
|
|
1551
|
-
* This configuration is applied across all the job runs submitted under the application.</p>
|
|
1474
|
+
* <p>The <a href="https://docs.aws.amazon.com/emr-serverless/latest/APIReference/API_Configuration.html">Configuration</a> specifications to use when updating an application. Each configuration consists of a classification and properties. This configuration is applied across all the job runs submitted under the application.</p>
|
|
1552
1475
|
* @public
|
|
1553
1476
|
*/
|
|
1554
1477
|
runtimeConfiguration?: Configuration[] | undefined;
|
|
@@ -1574,9 +1497,7 @@ export interface GetApplicationResponse {
|
|
|
1574
1497
|
application: Application | undefined;
|
|
1575
1498
|
}
|
|
1576
1499
|
/**
|
|
1577
|
-
* <p>Information about a job run. A job run is a unit of work, such as a Spark JAR, Hive
|
|
1578
|
-
* query, or SparkSQL query, that you submit to an Amazon EMR Serverless
|
|
1579
|
-
* application.</p>
|
|
1500
|
+
* <p>Information about a job run. A job run is a unit of work, such as a Spark JAR, Hive query, or SparkSQL query, that you submit to an Amazon EMR Serverless application.</p>
|
|
1580
1501
|
* @public
|
|
1581
1502
|
*/
|
|
1582
1503
|
export interface JobRun {
|
|
@@ -1631,8 +1552,7 @@ export interface JobRun {
|
|
|
1631
1552
|
*/
|
|
1632
1553
|
stateDetails: string | undefined;
|
|
1633
1554
|
/**
|
|
1634
|
-
* <p>The Amazon EMR release associated with the application your job is running
|
|
1635
|
-
* on.</p>
|
|
1555
|
+
* <p>The Amazon EMR release associated with the application your job is running on.</p>
|
|
1636
1556
|
* @public
|
|
1637
1557
|
*/
|
|
1638
1558
|
releaseLabel: string | undefined;
|
|
@@ -1652,8 +1572,7 @@ export interface JobRun {
|
|
|
1652
1572
|
*/
|
|
1653
1573
|
tags?: Record<string, string> | undefined;
|
|
1654
1574
|
/**
|
|
1655
|
-
* <p>The aggregate vCPU, memory, and storage resources used from the time the job starts to
|
|
1656
|
-
* execute, until the time the job terminates, rounded up to the nearest second.</p>
|
|
1575
|
+
* <p>The aggregate vCPU, memory, and storage resources used from the time the job starts to execute, until the time the job terminates, rounded up to the nearest second.</p>
|
|
1657
1576
|
* @public
|
|
1658
1577
|
*/
|
|
1659
1578
|
totalResourceUtilization?: TotalResourceUtilization | undefined;
|
|
@@ -1663,23 +1582,17 @@ export interface JobRun {
|
|
|
1663
1582
|
*/
|
|
1664
1583
|
networkConfiguration?: NetworkConfiguration | undefined;
|
|
1665
1584
|
/**
|
|
1666
|
-
* <p>The job run total execution duration in seconds. This field is only available for job
|
|
1667
|
-
* runs in a <code>COMPLETED</code>, <code>FAILED</code>, or <code>CANCELLED</code>
|
|
1668
|
-
* state.</p>
|
|
1585
|
+
* <p>The job run total execution duration in seconds. This field is only available for job runs in a <code>COMPLETED</code>, <code>FAILED</code>, or <code>CANCELLED</code> state.</p>
|
|
1669
1586
|
* @public
|
|
1670
1587
|
*/
|
|
1671
1588
|
totalExecutionDurationSeconds?: number | undefined;
|
|
1672
1589
|
/**
|
|
1673
|
-
* <p>Returns the job run timeout value from the <code>StartJobRun</code> call. If no timeout
|
|
1674
|
-
* was specified, then it returns the default timeout of 720 minutes.</p>
|
|
1590
|
+
* <p>Returns the job run timeout value from the <code>StartJobRun</code> call. If no timeout was specified, then it returns the default timeout of 720 minutes.</p>
|
|
1675
1591
|
* @public
|
|
1676
1592
|
*/
|
|
1677
1593
|
executionTimeoutMinutes?: number | undefined;
|
|
1678
1594
|
/**
|
|
1679
|
-
* <p>The aggregate vCPU, memory, and storage that Amazon Web Services has billed for the job
|
|
1680
|
-
* run. The billed resources include a 1-minute minimum usage for workers, plus additional
|
|
1681
|
-
* storage over 20 GB per worker. Note that billed resources do not include usage for idle
|
|
1682
|
-
* pre-initialized workers.</p>
|
|
1595
|
+
* <p>The aggregate vCPU, memory, and storage that Amazon Web Services has billed for the job run. The billed resources include a 1-minute minimum usage for workers, plus additional storage over 20 GB per worker. Note that billed resources do not include usage for idle pre-initialized workers.</p>
|
|
1683
1596
|
* @public
|
|
1684
1597
|
*/
|
|
1685
1598
|
billedResourceUtilization?: ResourceUtilization | undefined;
|
|
@@ -1734,8 +1647,7 @@ export interface StartJobRunRequest {
|
|
|
1734
1647
|
*/
|
|
1735
1648
|
applicationId: string | undefined;
|
|
1736
1649
|
/**
|
|
1737
|
-
* <p>The client idempotency token of the job run to start. Its value must be unique for each
|
|
1738
|
-
* request.</p>
|
|
1650
|
+
* <p>The client idempotency token of the job run to start. Its value must be unique for each request.</p>
|
|
1739
1651
|
* @public
|
|
1740
1652
|
*/
|
|
1741
1653
|
clientToken?: string | undefined;
|
|
@@ -1744,6 +1656,11 @@ export interface StartJobRunRequest {
|
|
|
1744
1656
|
* @public
|
|
1745
1657
|
*/
|
|
1746
1658
|
executionRoleArn: string | undefined;
|
|
1659
|
+
/**
|
|
1660
|
+
* <p>You can pass an optional IAM policy. The resulting job IAM role permissions will be an intersection of this policy and the policy associated with your job execution role.</p>
|
|
1661
|
+
* @public
|
|
1662
|
+
*/
|
|
1663
|
+
executionIamPolicy?: JobRunExecutionIamPolicy | undefined;
|
|
1747
1664
|
/**
|
|
1748
1665
|
* <p>The job driver for the job run.</p>
|
|
1749
1666
|
* @public
|
|
@@ -1760,8 +1677,7 @@ export interface StartJobRunRequest {
|
|
|
1760
1677
|
*/
|
|
1761
1678
|
tags?: Record<string, string> | undefined;
|
|
1762
1679
|
/**
|
|
1763
|
-
* <p>The maximum duration for the job run to run. If the job run runs beyond this duration,
|
|
1764
|
-
* it will be automatically cancelled.</p>
|
|
1680
|
+
* <p>The maximum duration for the job run to run. If the job run runs beyond this duration, it will be automatically cancelled.</p>
|
|
1765
1681
|
* @public
|
|
1766
1682
|
*/
|
|
1767
1683
|
executionTimeoutMinutes?: number | undefined;
|
|
@@ -168,6 +168,7 @@ export interface StopApplicationResponse {}
|
|
|
168
168
|
export interface CancelJobRunRequest {
|
|
169
169
|
applicationId: string | undefined;
|
|
170
170
|
jobRunId: string | undefined;
|
|
171
|
+
shutdownGracePeriodInSeconds?: number | undefined;
|
|
171
172
|
}
|
|
172
173
|
export interface CancelJobRunResponse {
|
|
173
174
|
applicationId: string | undefined;
|
|
@@ -313,6 +314,10 @@ export interface ListJobRunsResponse {
|
|
|
313
314
|
jobRuns: JobRunSummary[] | undefined;
|
|
314
315
|
nextToken?: string | undefined;
|
|
315
316
|
}
|
|
317
|
+
export interface JobRunExecutionIamPolicy {
|
|
318
|
+
policy?: string | undefined;
|
|
319
|
+
policyArns?: string[] | undefined;
|
|
320
|
+
}
|
|
316
321
|
export interface StartJobRunResponse {
|
|
317
322
|
applicationId: string | undefined;
|
|
318
323
|
jobRunId: string | undefined;
|
|
@@ -445,6 +450,7 @@ export interface StartJobRunRequest {
|
|
|
445
450
|
applicationId: string | undefined;
|
|
446
451
|
clientToken?: string | undefined;
|
|
447
452
|
executionRoleArn: string | undefined;
|
|
453
|
+
executionIamPolicy?: JobRunExecutionIamPolicy | undefined;
|
|
448
454
|
jobDriver?: JobDriver | undefined;
|
|
449
455
|
configurationOverrides?: ConfigurationOverrides | undefined;
|
|
450
456
|
tags?: Record<string, 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.
|
|
4
|
+
"version": "3.823.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-emr-serverless",
|
|
@@ -20,41 +20,41 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
26
|
-
"@aws-sdk/middleware-logger": "3.
|
|
27
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
29
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
30
|
-
"@aws-sdk/types": "3.
|
|
31
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
34
|
-
"@smithy/config-resolver": "^4.1.
|
|
35
|
-
"@smithy/core": "^3.
|
|
36
|
-
"@smithy/fetch-http-handler": "^5.0.
|
|
37
|
-
"@smithy/hash-node": "^4.0.
|
|
38
|
-
"@smithy/invalid-dependency": "^4.0.
|
|
39
|
-
"@smithy/middleware-content-length": "^4.0.
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.1.
|
|
41
|
-
"@smithy/middleware-retry": "^4.1.
|
|
42
|
-
"@smithy/middleware-serde": "^4.0.
|
|
43
|
-
"@smithy/middleware-stack": "^4.0.
|
|
44
|
-
"@smithy/node-config-provider": "^4.1.
|
|
45
|
-
"@smithy/node-http-handler": "^4.0.
|
|
46
|
-
"@smithy/protocol-http": "^5.1.
|
|
47
|
-
"@smithy/smithy-client": "^4.
|
|
48
|
-
"@smithy/types": "^4.
|
|
49
|
-
"@smithy/url-parser": "^4.0.
|
|
23
|
+
"@aws-sdk/core": "3.823.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.823.0",
|
|
25
|
+
"@aws-sdk/middleware-host-header": "3.821.0",
|
|
26
|
+
"@aws-sdk/middleware-logger": "3.821.0",
|
|
27
|
+
"@aws-sdk/middleware-recursion-detection": "3.821.0",
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.823.0",
|
|
29
|
+
"@aws-sdk/region-config-resolver": "3.821.0",
|
|
30
|
+
"@aws-sdk/types": "3.821.0",
|
|
31
|
+
"@aws-sdk/util-endpoints": "3.821.0",
|
|
32
|
+
"@aws-sdk/util-user-agent-browser": "3.821.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.823.0",
|
|
34
|
+
"@smithy/config-resolver": "^4.1.4",
|
|
35
|
+
"@smithy/core": "^3.5.1",
|
|
36
|
+
"@smithy/fetch-http-handler": "^5.0.4",
|
|
37
|
+
"@smithy/hash-node": "^4.0.4",
|
|
38
|
+
"@smithy/invalid-dependency": "^4.0.4",
|
|
39
|
+
"@smithy/middleware-content-length": "^4.0.4",
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.1.9",
|
|
41
|
+
"@smithy/middleware-retry": "^4.1.10",
|
|
42
|
+
"@smithy/middleware-serde": "^4.0.8",
|
|
43
|
+
"@smithy/middleware-stack": "^4.0.4",
|
|
44
|
+
"@smithy/node-config-provider": "^4.1.3",
|
|
45
|
+
"@smithy/node-http-handler": "^4.0.6",
|
|
46
|
+
"@smithy/protocol-http": "^5.1.2",
|
|
47
|
+
"@smithy/smithy-client": "^4.4.1",
|
|
48
|
+
"@smithy/types": "^4.3.1",
|
|
49
|
+
"@smithy/url-parser": "^4.0.4",
|
|
50
50
|
"@smithy/util-base64": "^4.0.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^4.0.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^4.0.0",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.0.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.0.
|
|
55
|
-
"@smithy/util-endpoints": "^3.0.
|
|
56
|
-
"@smithy/util-middleware": "^4.0.
|
|
57
|
-
"@smithy/util-retry": "^4.0.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.0.17",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.0.17",
|
|
55
|
+
"@smithy/util-endpoints": "^3.0.6",
|
|
56
|
+
"@smithy/util-middleware": "^4.0.4",
|
|
57
|
+
"@smithy/util-retry": "^4.0.5",
|
|
58
58
|
"@smithy/util-utf8": "^4.0.0",
|
|
59
59
|
"@types/uuid": "^9.0.1",
|
|
60
60
|
"tslib": "^2.6.2",
|