@aws-sdk/client-emr-serverless 3.360.0 → 3.361.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 +7 -7
- package/dist-cjs/protocols/Aws_restJson1.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +1 -0
- package/dist-types/EMRServerless.d.ts +7 -7
- package/dist-types/EMRServerlessClient.d.ts +7 -7
- package/dist-types/commands/UpdateApplicationCommand.d.ts +1 -0
- package/dist-types/index.d.ts +7 -7
- package/dist-types/models/models_0.d.ts +16 -12
- package/dist-types/ts3.4/models/models_0.d.ts +1 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -6,25 +6,25 @@
|
|
|
6
6
|
|
|
7
7
|
AWS SDK for JavaScript EMRServerless Client for Node.js, Browser and React Native.
|
|
8
8
|
|
|
9
|
-
<p>Amazon EMR
|
|
9
|
+
<p>Amazon EMR Serverless is a new deployment option for Amazon EMR. Amazon EMR Serverless provides
|
|
10
10
|
a serverless runtime environment that simplifies running analytics applications using the
|
|
11
|
-
latest open source frameworks such as Apache Spark and Apache Hive. With EMR Serverless,
|
|
11
|
+
latest open source frameworks such as Apache Spark and Apache Hive. With Amazon EMR Serverless,
|
|
12
12
|
you don’t have to configure, optimize, secure, or operate clusters to run applications with
|
|
13
13
|
these frameworks.</p>
|
|
14
|
-
<p>The API reference to Amazon EMR
|
|
14
|
+
<p>The API reference to Amazon EMR Serverless is <code>emr-serverless</code>. The
|
|
15
15
|
<code>emr-serverless</code> prefix is used in the following scenarios: </p>
|
|
16
16
|
<ul>
|
|
17
17
|
<li>
|
|
18
|
-
<p>It is the prefix in the CLI commands for Amazon EMR
|
|
18
|
+
<p>It is the prefix in the CLI commands for Amazon EMR Serverless. For example,
|
|
19
19
|
<code>aws emr-serverless start-job-run</code>.</p>
|
|
20
20
|
</li>
|
|
21
21
|
<li>
|
|
22
|
-
<p>It is the prefix before IAM policy actions for Amazon EMR
|
|
22
|
+
<p>It is the prefix before IAM policy actions for Amazon EMR Serverless. For example,
|
|
23
23
|
<code>"Action": ["emr-serverless:StartJobRun"]</code>. For more information, see
|
|
24
|
-
<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
|
|
24
|
+
<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>
|
|
25
25
|
</li>
|
|
26
26
|
<li>
|
|
27
|
-
<p>It is the prefix used in Amazon EMR
|
|
27
|
+
<p>It is the prefix used in Amazon EMR Serverless service endpoints. For example,
|
|
28
28
|
<code>emr-serverless.us-east-2.amazonaws.com</code>.</p>
|
|
29
29
|
</li>
|
|
30
30
|
</ul>
|
|
@@ -325,6 +325,7 @@ const se_UpdateApplicationCommand = async (input, context) => {
|
|
|
325
325
|
initialCapacity: (_) => (0, smithy_client_1._json)(_),
|
|
326
326
|
maximumCapacity: (_) => (0, smithy_client_1._json)(_),
|
|
327
327
|
networkConfiguration: (_) => (0, smithy_client_1._json)(_),
|
|
328
|
+
releaseLabel: [],
|
|
328
329
|
workerTypeSpecifications: (_) => (0, smithy_client_1._json)(_),
|
|
329
330
|
}));
|
|
330
331
|
return new protocol_http_1.HttpRequest({
|
|
@@ -308,6 +308,7 @@ export const se_UpdateApplicationCommand = async (input, context) => {
|
|
|
308
308
|
initialCapacity: (_) => _json(_),
|
|
309
309
|
maximumCapacity: (_) => _json(_),
|
|
310
310
|
networkConfiguration: (_) => _json(_),
|
|
311
|
+
releaseLabel: [],
|
|
311
312
|
workerTypeSpecifications: (_) => _json(_),
|
|
312
313
|
}));
|
|
313
314
|
return new __HttpRequest({
|
|
@@ -109,25 +109,25 @@ export interface EMRServerless {
|
|
|
109
109
|
}
|
|
110
110
|
/**
|
|
111
111
|
* @public
|
|
112
|
-
* <p>Amazon EMR
|
|
112
|
+
* <p>Amazon EMR Serverless is a new deployment option for Amazon EMR. Amazon EMR Serverless provides
|
|
113
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,
|
|
114
|
+
* latest open source frameworks such as Apache Spark and Apache Hive. With Amazon EMR Serverless,
|
|
115
115
|
* you don’t have to configure, optimize, secure, or operate clusters to run applications with
|
|
116
116
|
* these frameworks.</p>
|
|
117
|
-
* <p>The API reference to Amazon EMR
|
|
117
|
+
* <p>The API reference to Amazon EMR Serverless is <code>emr-serverless</code>. The
|
|
118
118
|
* <code>emr-serverless</code> prefix is used in the following scenarios: </p>
|
|
119
119
|
* <ul>
|
|
120
120
|
* <li>
|
|
121
|
-
* <p>It is the prefix in the CLI commands for Amazon EMR
|
|
121
|
+
* <p>It is the prefix in the CLI commands for Amazon EMR Serverless. For example,
|
|
122
122
|
* <code>aws emr-serverless start-job-run</code>.</p>
|
|
123
123
|
* </li>
|
|
124
124
|
* <li>
|
|
125
|
-
* <p>It is the prefix before IAM policy actions for Amazon EMR
|
|
125
|
+
* <p>It is the prefix before IAM policy actions for Amazon EMR Serverless. For example,
|
|
126
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
|
|
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
128
|
* </li>
|
|
129
129
|
* <li>
|
|
130
|
-
* <p>It is the prefix used in Amazon EMR
|
|
130
|
+
* <p>It is the prefix used in Amazon EMR Serverless service endpoints. For example,
|
|
131
131
|
* <code>emr-serverless.us-east-2.amazonaws.com</code>.</p>
|
|
132
132
|
* </li>
|
|
133
133
|
* </ul>
|
|
@@ -160,25 +160,25 @@ export interface EMRServerlessClientResolvedConfig extends EMRServerlessClientRe
|
|
|
160
160
|
}
|
|
161
161
|
/**
|
|
162
162
|
* @public
|
|
163
|
-
* <p>Amazon EMR
|
|
163
|
+
* <p>Amazon EMR Serverless is a new deployment option for Amazon EMR. Amazon EMR Serverless provides
|
|
164
164
|
* a serverless runtime environment that simplifies running analytics applications using the
|
|
165
|
-
* latest open source frameworks such as Apache Spark and Apache Hive. With EMR Serverless,
|
|
165
|
+
* latest open source frameworks such as Apache Spark and Apache Hive. With Amazon EMR Serverless,
|
|
166
166
|
* you don’t have to configure, optimize, secure, or operate clusters to run applications with
|
|
167
167
|
* these frameworks.</p>
|
|
168
|
-
* <p>The API reference to Amazon EMR
|
|
168
|
+
* <p>The API reference to Amazon EMR Serverless is <code>emr-serverless</code>. The
|
|
169
169
|
* <code>emr-serverless</code> prefix is used in the following scenarios: </p>
|
|
170
170
|
* <ul>
|
|
171
171
|
* <li>
|
|
172
|
-
* <p>It is the prefix in the CLI commands for Amazon EMR
|
|
172
|
+
* <p>It is the prefix in the CLI commands for Amazon EMR Serverless. For example,
|
|
173
173
|
* <code>aws emr-serverless start-job-run</code>.</p>
|
|
174
174
|
* </li>
|
|
175
175
|
* <li>
|
|
176
|
-
* <p>It is the prefix before IAM policy actions for Amazon EMR
|
|
176
|
+
* <p>It is the prefix before IAM policy actions for Amazon EMR Serverless. For example,
|
|
177
177
|
* <code>"Action": ["emr-serverless:StartJobRun"]</code>. For more information, see
|
|
178
|
-
* <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
|
|
178
|
+
* <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>
|
|
179
179
|
* </li>
|
|
180
180
|
* <li>
|
|
181
|
-
* <p>It is the prefix used in Amazon EMR
|
|
181
|
+
* <p>It is the prefix used in Amazon EMR Serverless service endpoints. For example,
|
|
182
182
|
* <code>emr-serverless.us-east-2.amazonaws.com</code>.</p>
|
|
183
183
|
* </li>
|
|
184
184
|
* </ul>
|
package/dist-types/index.d.ts
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* <p>Amazon EMR
|
|
2
|
+
* <p>Amazon EMR Serverless is a new deployment option for Amazon EMR. Amazon EMR Serverless provides
|
|
3
3
|
* a serverless runtime environment that simplifies running analytics applications using the
|
|
4
|
-
* latest open source frameworks such as Apache Spark and Apache Hive. With EMR Serverless,
|
|
4
|
+
* latest open source frameworks such as Apache Spark and Apache Hive. With Amazon EMR Serverless,
|
|
5
5
|
* you don’t have to configure, optimize, secure, or operate clusters to run applications with
|
|
6
6
|
* these frameworks.</p>
|
|
7
|
-
* <p>The API reference to Amazon EMR
|
|
7
|
+
* <p>The API reference to Amazon EMR Serverless is <code>emr-serverless</code>. The
|
|
8
8
|
* <code>emr-serverless</code> prefix is used in the following scenarios: </p>
|
|
9
9
|
* <ul>
|
|
10
10
|
* <li>
|
|
11
|
-
* <p>It is the prefix in the CLI commands for Amazon EMR
|
|
11
|
+
* <p>It is the prefix in the CLI commands for Amazon EMR Serverless. For example,
|
|
12
12
|
* <code>aws emr-serverless start-job-run</code>.</p>
|
|
13
13
|
* </li>
|
|
14
14
|
* <li>
|
|
15
|
-
* <p>It is the prefix before IAM policy actions for Amazon EMR
|
|
15
|
+
* <p>It is the prefix before IAM policy actions for Amazon EMR Serverless. For example,
|
|
16
16
|
* <code>"Action": ["emr-serverless:StartJobRun"]</code>. For more information, see
|
|
17
|
-
* <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
|
|
17
|
+
* <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>
|
|
18
18
|
* </li>
|
|
19
19
|
* <li>
|
|
20
|
-
* <p>It is the prefix used in Amazon EMR
|
|
20
|
+
* <p>It is the prefix used in Amazon EMR Serverless service endpoints. For example,
|
|
21
21
|
* <code>emr-serverless.us-east-2.amazonaws.com</code>.</p>
|
|
22
22
|
* </li>
|
|
23
23
|
* </ul>
|
|
@@ -150,7 +150,7 @@ export interface WorkerTypeSpecification {
|
|
|
150
150
|
}
|
|
151
151
|
/**
|
|
152
152
|
* @public
|
|
153
|
-
* <p>Information about an application. EMR Serverless uses applications to run jobs.</p>
|
|
153
|
+
* <p>Information about an application. Amazon EMR Serverless uses applications to run jobs.</p>
|
|
154
154
|
*/
|
|
155
155
|
export interface Application {
|
|
156
156
|
/**
|
|
@@ -166,7 +166,7 @@ export interface Application {
|
|
|
166
166
|
*/
|
|
167
167
|
arn: string | undefined;
|
|
168
168
|
/**
|
|
169
|
-
* <p>The EMR release associated with the application.</p>
|
|
169
|
+
* <p>The Amazon EMR release associated with the application.</p>
|
|
170
170
|
*/
|
|
171
171
|
releaseLabel: string | undefined;
|
|
172
172
|
/**
|
|
@@ -247,7 +247,7 @@ export interface ApplicationSummary {
|
|
|
247
247
|
*/
|
|
248
248
|
arn: string | undefined;
|
|
249
249
|
/**
|
|
250
|
-
* <p>The EMR release associated with the application.</p>
|
|
250
|
+
* <p>The Amazon EMR release associated with the application.</p>
|
|
251
251
|
*/
|
|
252
252
|
releaseLabel: string | undefined;
|
|
253
253
|
/**
|
|
@@ -295,7 +295,7 @@ export declare class ConflictException extends __BaseException {
|
|
|
295
295
|
export interface ImageConfigurationInput {
|
|
296
296
|
/**
|
|
297
297
|
* <p>The URI of an image in the Amazon ECR registry. This field is required when you create a
|
|
298
|
-
* new application. If you leave this field blank in an update, Amazon EMR
|
|
298
|
+
* new application. If you leave this field blank in an update, Amazon EMR will remove the
|
|
299
299
|
* image configuration.</p>
|
|
300
300
|
*/
|
|
301
301
|
imageUri?: string;
|
|
@@ -319,7 +319,7 @@ export interface CreateApplicationRequest {
|
|
|
319
319
|
*/
|
|
320
320
|
name?: string;
|
|
321
321
|
/**
|
|
322
|
-
* <p>The EMR release associated with the application.</p>
|
|
322
|
+
* <p>The Amazon EMR release associated with the application.</p>
|
|
323
323
|
*/
|
|
324
324
|
releaseLabel: string | undefined;
|
|
325
325
|
/**
|
|
@@ -593,6 +593,10 @@ export interface UpdateApplicationRequest {
|
|
|
593
593
|
* types.</p>
|
|
594
594
|
*/
|
|
595
595
|
workerTypeSpecifications?: Record<string, WorkerTypeSpecificationInput>;
|
|
596
|
+
/**
|
|
597
|
+
* <p>The Amazon EMR release label for the application. You can change the release label to use a different release of Amazon EMR.</p>
|
|
598
|
+
*/
|
|
599
|
+
releaseLabel?: string;
|
|
596
600
|
}
|
|
597
601
|
/**
|
|
598
602
|
* @public
|
|
@@ -918,7 +922,7 @@ export interface JobRunSummary {
|
|
|
918
922
|
*/
|
|
919
923
|
stateDetails: string | undefined;
|
|
920
924
|
/**
|
|
921
|
-
* <p>The EMR release associated with the application your job is running on.</p>
|
|
925
|
+
* <p>The Amazon EMR release associated with the application your job is running on.</p>
|
|
922
926
|
*/
|
|
923
927
|
releaseLabel: string | undefined;
|
|
924
928
|
/**
|
|
@@ -963,7 +967,7 @@ export interface StartJobRunResponse {
|
|
|
963
967
|
export interface ListTagsForResourceRequest {
|
|
964
968
|
/**
|
|
965
969
|
* <p>The Amazon Resource Name (ARN) that identifies the resource to list the tags for.
|
|
966
|
-
* Currently, the supported resources are Amazon EMR
|
|
970
|
+
* Currently, the supported resources are Amazon EMR Serverless applications and job
|
|
967
971
|
* runs.</p>
|
|
968
972
|
*/
|
|
969
973
|
resourceArn: string | undefined;
|
|
@@ -983,7 +987,7 @@ export interface ListTagsForResourceResponse {
|
|
|
983
987
|
export interface TagResourceRequest {
|
|
984
988
|
/**
|
|
985
989
|
* <p>The Amazon Resource Name (ARN) that identifies the resource to list the tags for.
|
|
986
|
-
* Currently, the supported resources are Amazon EMR
|
|
990
|
+
* Currently, the supported resources are Amazon EMR Serverless applications and job
|
|
987
991
|
* runs.</p>
|
|
988
992
|
*/
|
|
989
993
|
resourceArn: string | undefined;
|
|
@@ -1003,7 +1007,7 @@ export interface TagResourceResponse {
|
|
|
1003
1007
|
export interface UntagResourceRequest {
|
|
1004
1008
|
/**
|
|
1005
1009
|
* <p>The Amazon Resource Name (ARN) that identifies the resource to list the tags for.
|
|
1006
|
-
* Currently, the supported resources are Amazon EMR
|
|
1010
|
+
* Currently, the supported resources are Amazon EMR Serverless applications and job
|
|
1007
1011
|
* runs.</p>
|
|
1008
1012
|
*/
|
|
1009
1013
|
resourceArn: string | undefined;
|
|
@@ -1055,7 +1059,7 @@ export interface ConfigurationOverrides {
|
|
|
1055
1059
|
/**
|
|
1056
1060
|
* @public
|
|
1057
1061
|
* <p>Information about a job run. A job run is a unit of work, such as a Spark JAR, Hive
|
|
1058
|
-
* query, or SparkSQL query, that you submit to an EMR Serverless application.</p>
|
|
1062
|
+
* query, or SparkSQL query, that you submit to an Amazon EMR Serverless application.</p>
|
|
1059
1063
|
*/
|
|
1060
1064
|
export interface JobRun {
|
|
1061
1065
|
/**
|
|
@@ -1099,7 +1103,7 @@ export interface JobRun {
|
|
|
1099
1103
|
*/
|
|
1100
1104
|
stateDetails: string | undefined;
|
|
1101
1105
|
/**
|
|
1102
|
-
* <p>The EMR release associated with the application your job is running on.</p>
|
|
1106
|
+
* <p>The Amazon EMR release associated with the application your job is running on.</p>
|
|
1103
1107
|
*/
|
|
1104
1108
|
releaseLabel: string | undefined;
|
|
1105
1109
|
/**
|
|
@@ -1135,7 +1139,7 @@ export interface JobRun {
|
|
|
1135
1139
|
*/
|
|
1136
1140
|
executionTimeoutMinutes?: number;
|
|
1137
1141
|
/**
|
|
1138
|
-
* <p>The aggregate vCPU, memory, and storage that
|
|
1142
|
+
* <p>The aggregate vCPU, memory, and storage that Amazon Web Services has billed for the job run. The billed
|
|
1139
1143
|
* resources include a 1-minute minimum usage for workers, plus additional storage over 20 GB
|
|
1140
1144
|
* per worker. Note that billed resources do not include usage for idle pre-initialized
|
|
1141
1145
|
* workers.</p>
|
|
@@ -177,6 +177,7 @@ export interface UpdateApplicationRequest {
|
|
|
177
177
|
architecture?: Architecture | string;
|
|
178
178
|
imageConfiguration?: ImageConfigurationInput;
|
|
179
179
|
workerTypeSpecifications?: Record<string, WorkerTypeSpecificationInput>;
|
|
180
|
+
releaseLabel?: string;
|
|
180
181
|
}
|
|
181
182
|
export interface UpdateApplicationResponse {
|
|
182
183
|
application: Application | 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.361.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",
|