@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.
@@ -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 = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = { "required": true, "default": false, "type": "Boolean" }, i = { [t]: "Endpoint" }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, k = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, l = {}, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: d }, "supportsFIPS"] }] }, n = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: d }, "supportsDualStack"] }] }, o = [i], p = [j], q = [k];
6
- const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: h, UseFIPS: h, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [r]: "aws.partition", [s]: [{ [t]: "Region" }], assign: d }], type: e, rules: [{ conditions: [{ [r]: "isSet", [s]: o }, { [r]: "parseURL", [s]: o, assign: "url" }], type: e, rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: f }, { type: e, rules: [{ conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: f }, { endpoint: { url: i, properties: l, headers: l }, type: g }] }] }, { conditions: [j, k], type: e, rules: [{ conditions: [m, n], type: e, rules: [{ endpoint: { url: "https://emr-serverless-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: f }] }, { conditions: p, type: e, rules: [{ conditions: [m], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://emr-serverless-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: f }] }, { conditions: q, type: e, rules: [{ conditions: [n], type: e, rules: [{ endpoint: { url: "https://emr-serverless.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: f }] }, { endpoint: { url: "https://emr-serverless.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] };
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 = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = { "required": true, "default": false, "type": "Boolean" }, i = { [t]: "Endpoint" }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, k = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, l = {}, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: d }, "supportsFIPS"] }] }, n = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: d }, "supportsDualStack"] }] }, o = [i], p = [j], q = [k];
3
- const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: h, UseFIPS: h, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [r]: "aws.partition", [s]: [{ [t]: "Region" }], assign: d }], type: e, rules: [{ conditions: [{ [r]: "isSet", [s]: o }, { [r]: "parseURL", [s]: o, assign: "url" }], type: e, rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: f }, { type: e, rules: [{ conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: f }, { endpoint: { url: i, properties: l, headers: l }, type: g }] }] }, { conditions: [j, k], type: e, rules: [{ conditions: [m, n], type: e, rules: [{ endpoint: { url: "https://emr-serverless-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: f }] }, { conditions: p, type: e, rules: [{ conditions: [m], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://emr-serverless-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: f }] }, { conditions: q, type: e, rules: [{ conditions: [n], type: e, rules: [{ endpoint: { url: "https://emr-serverless.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: f }] }, { endpoint: { url: "https://emr-serverless.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] };
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 AWS resource. Each tag
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 AWS resources by attributes such as purpose, owner, or environment. When
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 AWS service.</p>
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 AWS service.</p>
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 AWS service.</p>
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 AWS service.</p>
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 AWS service.</p>
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 AWS service.</p>
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 AWS service.</p>
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 AWS service.</p>
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 AWS service.</p>
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 AWS service.</p>
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 AWS service.</p>
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 AWS service.</p>
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 AWS resource. Each tag
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 AWS resources by attributes such as purpose, owner, or environment. When
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 AWS service.</p>
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 AWS service.</p>
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 AWS service.</p>
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: string;
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
- * the application 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
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 new
298
- * application. If you leave this field blank in an update, Amazon EMR will remove the image configuration.</p>
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 <code>imageConfiguration</code>
366
- * for each worker type in <code>workerTypeSpecifications</code>.</p>
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 <code>WorkerTypeSpecificationInput</code>. This parameter must contain all valid
371
- * worker types for a Spark or Hive application. Valid worker types include <code>Driver</code> and <code>Executor</code> for
372
- * Spark applications and <code>HiveDriver</code> and <code>TezTask</code> for Hive applications. You can either set
373
- * image details in this parameter for each worker type, or in <code>imageConfiguration</code> for all worker types.</p>
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 AWS service.</p>
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 parameter or <code>imageConfiguration</code>
576
- * for each worker type in <code>WorkerTypeSpecificationInput</code>.</p>
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 <code>WorkerTypeSpecificationInput</code>. This parameter must contain all valid
581
- * worker types for a Spark or Hive application. Valid worker types include <code>Driver</code> and <code>Executor</code> for
582
- * Spark applications and <code>HiveDriver</code> and <code>TezTask</code> for Hive applications. You can either set
583
- * image details in this parameter for each worker type, or in <code>imageConfiguration</code> for all worker types.</p>
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>The output lists the execution role ARN of the job run.</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: string;
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.310.0",
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.310.0",
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",