@aws-sdk/client-emr-serverless 3.310.0 → 3.312.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/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/protocols/Aws_restJson1.js +1 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/protocols/Aws_restJson1.js +1 -0
- package/dist-types/EMRServerless.d.ts +2 -2
- package/dist-types/commands/CancelJobRunCommand.d.ts +1 -1
- package/dist-types/commands/CreateApplicationCommand.d.ts +1 -1
- package/dist-types/commands/DeleteApplicationCommand.d.ts +1 -1
- package/dist-types/commands/GetApplicationCommand.d.ts +1 -1
- package/dist-types/commands/GetDashboardForJobRunCommand.d.ts +1 -1
- package/dist-types/commands/GetJobRunCommand.d.ts +1 -1
- package/dist-types/commands/ListApplicationsCommand.d.ts +1 -1
- package/dist-types/commands/ListJobRunsCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/StartApplicationCommand.d.ts +1 -1
- package/dist-types/commands/StartJobRunCommand.d.ts +1 -1
- package/dist-types/commands/StopApplicationCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +3 -3
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateApplicationCommand.d.ts +1 -1
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +31 -18
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +1 -0
- package/package.json +2 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
|
-
const r = "fn", s = "argv", t = "ref";
|
|
5
|
-
const a =
|
|
6
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
4
|
+
const q = "required", r = "fn", s = "argv", t = "ref";
|
|
5
|
+
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
|
|
6
|
+
const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://emr-serverless-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://emr-serverless-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://emr-serverless.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://emr-serverless.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
|
|
7
7
|
exports.ruleSet = _data;
|
|
@@ -1365,6 +1365,7 @@ const de_JobRun = (output, context) => {
|
|
|
1365
1365
|
createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt))) : undefined,
|
|
1366
1366
|
createdBy: (0, smithy_client_1.expectString)(output.createdBy),
|
|
1367
1367
|
executionRole: (0, smithy_client_1.expectString)(output.executionRole),
|
|
1368
|
+
executionTimeoutMinutes: (0, smithy_client_1.expectLong)(output.executionTimeoutMinutes),
|
|
1368
1369
|
jobDriver: output.jobDriver != null ? de_JobDriver((0, smithy_client_1.expectUnion)(output.jobDriver), context) : undefined,
|
|
1369
1370
|
jobRunId: (0, smithy_client_1.expectString)(output.jobRunId),
|
|
1370
1371
|
name: (0, smithy_client_1.expectString)(output.name),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const r = "fn", s = "argv", t = "ref";
|
|
2
|
-
const a =
|
|
3
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
1
|
+
const q = "required", r = "fn", s = "argv", t = "ref";
|
|
2
|
+
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
|
|
3
|
+
const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://emr-serverless-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://emr-serverless-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://emr-serverless.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://emr-serverless.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
|
|
4
4
|
export const ruleSet = _data;
|
|
@@ -1332,6 +1332,7 @@ const de_JobRun = (output, context) => {
|
|
|
1332
1332
|
createdAt: output.createdAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt))) : undefined,
|
|
1333
1333
|
createdBy: __expectString(output.createdBy),
|
|
1334
1334
|
executionRole: __expectString(output.executionRole),
|
|
1335
|
+
executionTimeoutMinutes: __expectLong(output.executionTimeoutMinutes),
|
|
1335
1336
|
jobDriver: output.jobDriver != null ? de_JobDriver(__expectUnion(output.jobDriver), context) : undefined,
|
|
1336
1337
|
jobRunId: __expectString(output.jobRunId),
|
|
1337
1338
|
name: __expectString(output.name),
|
|
@@ -129,9 +129,9 @@ export declare class EMRServerless extends EMRServerlessClient {
|
|
|
129
129
|
stopApplication(args: StopApplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopApplicationCommandOutput) => void): void;
|
|
130
130
|
/**
|
|
131
131
|
* @public
|
|
132
|
-
* <p>Assigns tags to resources. A tag is a label that you assign to an
|
|
132
|
+
* <p>Assigns tags to resources. A tag is a label that you assign to an Amazon Web Services resource. Each tag
|
|
133
133
|
* consists of a key and an optional value, both of which you define. Tags enable you to
|
|
134
|
-
* categorize your
|
|
134
|
+
* categorize your Amazon Web Services resources by attributes such as purpose, owner, or environment. When
|
|
135
135
|
* you have many resources of the same type, you can quickly identify a specific resource
|
|
136
136
|
* based on the tags you've assigned to it. </p>
|
|
137
137
|
*/
|
|
@@ -47,7 +47,7 @@ export interface CancelJobRunCommandOutput extends CancelJobRunResponse, __Metad
|
|
|
47
47
|
* <p>The specified resource was not found.</p>
|
|
48
48
|
*
|
|
49
49
|
* @throws {@link ValidationException} (client fault)
|
|
50
|
-
* <p>The input fails to satisfy the constraints specified by an
|
|
50
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
51
51
|
*
|
|
52
52
|
*
|
|
53
53
|
*/
|
|
@@ -97,7 +97,7 @@ export interface CreateApplicationCommandOutput extends CreateApplicationRespons
|
|
|
97
97
|
* <p>The specified resource was not found.</p>
|
|
98
98
|
*
|
|
99
99
|
* @throws {@link ValidationException} (client fault)
|
|
100
|
-
* <p>The input fails to satisfy the constraints specified by an
|
|
100
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
101
101
|
*
|
|
102
102
|
*
|
|
103
103
|
*/
|
|
@@ -47,7 +47,7 @@ export interface DeleteApplicationCommandOutput extends DeleteApplicationRespons
|
|
|
47
47
|
* <p>The specified resource was not found.</p>
|
|
48
48
|
*
|
|
49
49
|
* @throws {@link ValidationException} (client fault)
|
|
50
|
-
* <p>The input fails to satisfy the constraints specified by an
|
|
50
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
51
51
|
*
|
|
52
52
|
*
|
|
53
53
|
*/
|
|
@@ -46,7 +46,7 @@ export interface GetApplicationCommandOutput extends GetApplicationResponse, __M
|
|
|
46
46
|
* <p>The specified resource was not found.</p>
|
|
47
47
|
*
|
|
48
48
|
* @throws {@link ValidationException} (client fault)
|
|
49
|
-
* <p>The input fails to satisfy the constraints specified by an
|
|
49
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
50
50
|
*
|
|
51
51
|
*
|
|
52
52
|
*/
|
|
@@ -47,7 +47,7 @@ export interface GetDashboardForJobRunCommandOutput extends GetDashboardForJobRu
|
|
|
47
47
|
* <p>The specified resource was not found.</p>
|
|
48
48
|
*
|
|
49
49
|
* @throws {@link ValidationException} (client fault)
|
|
50
|
-
* <p>The input fails to satisfy the constraints specified by an
|
|
50
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
51
51
|
*
|
|
52
52
|
*
|
|
53
53
|
*/
|
|
@@ -47,7 +47,7 @@ export interface GetJobRunCommandOutput extends GetJobRunResponse, __MetadataBea
|
|
|
47
47
|
* <p>The specified resource was not found.</p>
|
|
48
48
|
*
|
|
49
49
|
* @throws {@link ValidationException} (client fault)
|
|
50
|
-
* <p>The input fails to satisfy the constraints specified by an
|
|
50
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
51
51
|
*
|
|
52
52
|
*
|
|
53
53
|
*/
|
|
@@ -47,7 +47,7 @@ export interface ListApplicationsCommandOutput extends ListApplicationsResponse,
|
|
|
47
47
|
* <p>Request processing failed because of an error or failure with the service.</p>
|
|
48
48
|
*
|
|
49
49
|
* @throws {@link ValidationException} (client fault)
|
|
50
|
-
* <p>The input fails to satisfy the constraints specified by an
|
|
50
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
51
51
|
*
|
|
52
52
|
*
|
|
53
53
|
*/
|
|
@@ -50,7 +50,7 @@ export interface ListJobRunsCommandOutput extends ListJobRunsResponse, __Metadat
|
|
|
50
50
|
* <p>Request processing failed because of an error or failure with the service.</p>
|
|
51
51
|
*
|
|
52
52
|
* @throws {@link ValidationException} (client fault)
|
|
53
|
-
* <p>The input fails to satisfy the constraints specified by an
|
|
53
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
54
54
|
*
|
|
55
55
|
*
|
|
56
56
|
*/
|
|
@@ -46,7 +46,7 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
46
46
|
* <p>The specified resource was not found.</p>
|
|
47
47
|
*
|
|
48
48
|
* @throws {@link ValidationException} (client fault)
|
|
49
|
-
* <p>The input fails to satisfy the constraints specified by an
|
|
49
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
50
50
|
*
|
|
51
51
|
*
|
|
52
52
|
*/
|
|
@@ -49,7 +49,7 @@ export interface StartApplicationCommandOutput extends StartApplicationResponse,
|
|
|
49
49
|
* <p>The maximum number of resources per account has been reached.</p>
|
|
50
50
|
*
|
|
51
51
|
* @throws {@link ValidationException} (client fault)
|
|
52
|
-
* <p>The input fails to satisfy the constraints specified by an
|
|
52
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
53
53
|
*
|
|
54
54
|
*
|
|
55
55
|
*/
|
|
@@ -100,7 +100,7 @@ export interface StartJobRunCommandOutput extends StartJobRunResponse, __Metadat
|
|
|
100
100
|
* <p>The specified resource was not found.</p>
|
|
101
101
|
*
|
|
102
102
|
* @throws {@link ValidationException} (client fault)
|
|
103
|
-
* <p>The input fails to satisfy the constraints specified by an
|
|
103
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
104
104
|
*
|
|
105
105
|
*
|
|
106
106
|
*/
|
|
@@ -47,7 +47,7 @@ export interface StopApplicationCommandOutput extends StopApplicationResponse, _
|
|
|
47
47
|
* <p>The specified resource was not found.</p>
|
|
48
48
|
*
|
|
49
49
|
* @throws {@link ValidationException} (client fault)
|
|
50
|
-
* <p>The input fails to satisfy the constraints specified by an
|
|
50
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
51
51
|
*
|
|
52
52
|
*
|
|
53
53
|
*/
|
|
@@ -19,9 +19,9 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
21
|
* @public
|
|
22
|
-
* <p>Assigns tags to resources. A tag is a label that you assign to an
|
|
22
|
+
* <p>Assigns tags to resources. A tag is a label that you assign to an Amazon Web Services resource. Each tag
|
|
23
23
|
* consists of a key and an optional value, both of which you define. Tags enable you to
|
|
24
|
-
* categorize your
|
|
24
|
+
* categorize your Amazon Web Services resources by attributes such as purpose, owner, or environment. When
|
|
25
25
|
* you have many resources of the same type, you can quickly identify a specific resource
|
|
26
26
|
* based on the tags you've assigned to it. </p>
|
|
27
27
|
* @example
|
|
@@ -53,7 +53,7 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
53
53
|
* <p>The specified resource was not found.</p>
|
|
54
54
|
*
|
|
55
55
|
* @throws {@link ValidationException} (client fault)
|
|
56
|
-
* <p>The input fails to satisfy the constraints specified by an
|
|
56
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
57
57
|
*
|
|
58
58
|
*
|
|
59
59
|
*/
|
|
@@ -49,7 +49,7 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
49
49
|
* <p>The specified resource was not found.</p>
|
|
50
50
|
*
|
|
51
51
|
* @throws {@link ValidationException} (client fault)
|
|
52
|
-
* <p>The input fails to satisfy the constraints specified by an
|
|
52
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
53
53
|
*
|
|
54
54
|
*
|
|
55
55
|
*/
|
|
@@ -89,7 +89,7 @@ export interface UpdateApplicationCommandOutput extends UpdateApplicationRespons
|
|
|
89
89
|
* <p>The specified resource was not found.</p>
|
|
90
90
|
*
|
|
91
91
|
* @throws {@link ValidationException} (client fault)
|
|
92
|
-
* <p>The input fails to satisfy the constraints specified by an
|
|
92
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
93
93
|
*
|
|
94
94
|
*
|
|
95
95
|
*/
|
|
@@ -12,7 +12,7 @@ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInp
|
|
|
12
12
|
defaultSigningName: string;
|
|
13
13
|
};
|
|
14
14
|
export interface EndpointParameters extends __EndpointParameters {
|
|
15
|
-
Region
|
|
15
|
+
Region?: string;
|
|
16
16
|
UseDualStack?: boolean;
|
|
17
17
|
UseFIPS?: boolean;
|
|
18
18
|
Endpoint?: string;
|
|
@@ -50,8 +50,8 @@ export interface ImageConfiguration {
|
|
|
50
50
|
*/
|
|
51
51
|
imageUri: string | undefined;
|
|
52
52
|
/**
|
|
53
|
-
* <p>The SHA256 digest of the image URI. This indicates which specific image
|
|
54
|
-
*
|
|
53
|
+
* <p>The SHA256 digest of the image URI. This indicates which specific image the application
|
|
54
|
+
* is configured for. The image digest doesn't exist until an application has started.</p>
|
|
55
55
|
*/
|
|
56
56
|
resolvedImageDigest?: string;
|
|
57
57
|
}
|
|
@@ -294,8 +294,9 @@ export declare class ConflictException extends __BaseException {
|
|
|
294
294
|
*/
|
|
295
295
|
export interface ImageConfigurationInput {
|
|
296
296
|
/**
|
|
297
|
-
* <p>The URI of an image in the Amazon ECR registry. This field is required when you create a
|
|
298
|
-
* application. If you leave this field blank in an update, Amazon EMR will remove the
|
|
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 will remove the
|
|
299
|
+
* image configuration.</p>
|
|
299
300
|
*/
|
|
300
301
|
imageUri?: string;
|
|
301
302
|
}
|
|
@@ -362,15 +363,19 @@ export interface CreateApplicationRequest {
|
|
|
362
363
|
*/
|
|
363
364
|
architecture?: Architecture | string;
|
|
364
365
|
/**
|
|
365
|
-
* <p>The image configuration for all worker types. You can either set this parameter or
|
|
366
|
-
*
|
|
366
|
+
* <p>The image configuration for all worker types. You can either set this parameter or
|
|
367
|
+
* <code>imageConfiguration</code> for each worker type in
|
|
368
|
+
* <code>workerTypeSpecifications</code>.</p>
|
|
367
369
|
*/
|
|
368
370
|
imageConfiguration?: ImageConfigurationInput;
|
|
369
371
|
/**
|
|
370
|
-
* <p>The key-value pairs that specify worker type to
|
|
371
|
-
*
|
|
372
|
-
* Spark
|
|
373
|
-
*
|
|
372
|
+
* <p>The key-value pairs that specify worker type to
|
|
373
|
+
* <code>WorkerTypeSpecificationInput</code>. This parameter must contain all valid worker
|
|
374
|
+
* types for a Spark or Hive application. Valid worker types include <code>Driver</code> and
|
|
375
|
+
* <code>Executor</code> for Spark applications and <code>HiveDriver</code> and
|
|
376
|
+
* <code>TezTask</code> for Hive applications. You can either set image details in this
|
|
377
|
+
* parameter for each worker type, or in <code>imageConfiguration</code> for all worker
|
|
378
|
+
* types.</p>
|
|
374
379
|
*/
|
|
375
380
|
workerTypeSpecifications?: Record<string, WorkerTypeSpecificationInput>;
|
|
376
381
|
}
|
|
@@ -417,7 +422,7 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
417
422
|
}
|
|
418
423
|
/**
|
|
419
424
|
* @public
|
|
420
|
-
* <p>The input fails to satisfy the constraints specified by an
|
|
425
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
421
426
|
*/
|
|
422
427
|
export declare class ValidationException extends __BaseException {
|
|
423
428
|
readonly name: "ValidationException";
|
|
@@ -572,15 +577,19 @@ export interface UpdateApplicationRequest {
|
|
|
572
577
|
*/
|
|
573
578
|
architecture?: Architecture | string;
|
|
574
579
|
/**
|
|
575
|
-
* <p>The image configuration to be used for all worker types. You can either set this
|
|
576
|
-
* for each worker type in
|
|
580
|
+
* <p>The image configuration to be used for all worker types. You can either set this
|
|
581
|
+
* parameter or <code>imageConfiguration</code> for each worker type in
|
|
582
|
+
* <code>WorkerTypeSpecificationInput</code>.</p>
|
|
577
583
|
*/
|
|
578
584
|
imageConfiguration?: ImageConfigurationInput;
|
|
579
585
|
/**
|
|
580
|
-
* <p>The key-value pairs that specify worker type to
|
|
581
|
-
*
|
|
582
|
-
* Spark
|
|
583
|
-
*
|
|
586
|
+
* <p>The key-value pairs that specify worker type to
|
|
587
|
+
* <code>WorkerTypeSpecificationInput</code>. This parameter must contain all valid worker
|
|
588
|
+
* types for a Spark or Hive application. Valid worker types include <code>Driver</code> and
|
|
589
|
+
* <code>Executor</code> for Spark applications and <code>HiveDriver</code> and
|
|
590
|
+
* <code>TezTask</code> for Hive applications. You can either set image details in this
|
|
591
|
+
* parameter for each worker type, or in <code>imageConfiguration</code> for all worker
|
|
592
|
+
* types.</p>
|
|
584
593
|
*/
|
|
585
594
|
workerTypeSpecifications?: Record<string, WorkerTypeSpecificationInput>;
|
|
586
595
|
}
|
|
@@ -922,7 +931,7 @@ export interface StartJobRunResponse {
|
|
|
922
931
|
*/
|
|
923
932
|
jobRunId: string | undefined;
|
|
924
933
|
/**
|
|
925
|
-
* <p>
|
|
934
|
+
* <p>This output displays the ARN of the job run..</p>
|
|
926
935
|
*/
|
|
927
936
|
arn: string | undefined;
|
|
928
937
|
}
|
|
@@ -1098,6 +1107,10 @@ export interface JobRun {
|
|
|
1098
1107
|
* state.</p>
|
|
1099
1108
|
*/
|
|
1100
1109
|
totalExecutionDurationSeconds?: number;
|
|
1110
|
+
/**
|
|
1111
|
+
* Maximum duration for the job run to run. If the job run runs beyond this duration, it will be automatically cancelled.
|
|
1112
|
+
*/
|
|
1113
|
+
executionTimeoutMinutes?: number;
|
|
1101
1114
|
}
|
|
1102
1115
|
/**
|
|
1103
1116
|
* @public
|
|
@@ -26,7 +26,7 @@ export declare const resolveClientEndpointParameters: <T>(
|
|
|
26
26
|
defaultSigningName: string;
|
|
27
27
|
};
|
|
28
28
|
export interface EndpointParameters extends __EndpointParameters {
|
|
29
|
-
Region
|
|
29
|
+
Region?: string;
|
|
30
30
|
UseDualStack?: boolean;
|
|
31
31
|
UseFIPS?: boolean;
|
|
32
32
|
Endpoint?: string;
|
|
@@ -339,6 +339,7 @@ export interface JobRun {
|
|
|
339
339
|
totalResourceUtilization?: TotalResourceUtilization;
|
|
340
340
|
networkConfiguration?: NetworkConfiguration;
|
|
341
341
|
totalExecutionDurationSeconds?: number;
|
|
342
|
+
executionTimeoutMinutes?: number;
|
|
342
343
|
}
|
|
343
344
|
export interface StartJobRunRequest {
|
|
344
345
|
applicationId: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-emr-serverless",
|
|
3
3
|
"description": "AWS SDK for JavaScript Emr Serverless Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.312.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.312.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.310.0",
|
|
26
26
|
"@aws-sdk/credential-provider-node": "3.310.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.310.0",
|