@aws-sdk/client-emr-serverless 3.826.0 → 3.829.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/index.js
CHANGED
|
@@ -1090,6 +1090,7 @@ var de_JobRun = /* @__PURE__ */ __name((output, context) => {
|
|
|
1090
1090
|
createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "createdAt"),
|
|
1091
1091
|
createdBy: import_smithy_client.expectString,
|
|
1092
1092
|
endedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "endedAt"),
|
|
1093
|
+
executionIamPolicy: import_smithy_client._json,
|
|
1093
1094
|
executionRole: import_smithy_client.expectString,
|
|
1094
1095
|
executionTimeoutMinutes: import_smithy_client.expectLong,
|
|
1095
1096
|
jobDriver: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)), "jobDriver"),
|
|
@@ -648,6 +648,7 @@ const de_JobRun = (output, context) => {
|
|
|
648
648
|
createdAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
649
649
|
createdBy: __expectString,
|
|
650
650
|
endedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
651
|
+
executionIamPolicy: _json,
|
|
651
652
|
executionRole: __expectString,
|
|
652
653
|
executionTimeoutMinutes: __expectLong,
|
|
653
654
|
jobDriver: (_) => _json(__expectUnion(_)),
|
|
@@ -51,6 +51,12 @@ declare const GetJobRunCommand_base: {
|
|
|
51
51
|
* // createdAt: new Date("TIMESTAMP"), // required
|
|
52
52
|
* // updatedAt: new Date("TIMESTAMP"), // required
|
|
53
53
|
* // executionRole: "STRING_VALUE", // required
|
|
54
|
+
* // executionIamPolicy: { // JobRunExecutionIamPolicy
|
|
55
|
+
* // policy: "STRING_VALUE",
|
|
56
|
+
* // policyArns: [ // PolicyArnList
|
|
57
|
+
* // "STRING_VALUE",
|
|
58
|
+
* // ],
|
|
59
|
+
* // },
|
|
54
60
|
* // state: "STRING_VALUE", // required
|
|
55
61
|
* // stateDetails: "STRING_VALUE", // required
|
|
56
62
|
* // releaseLabel: "STRING_VALUE", // required
|
|
@@ -557,7 +557,7 @@ export interface CancelJobRunRequest {
|
|
|
557
557
|
*/
|
|
558
558
|
jobRunId: string | undefined;
|
|
559
559
|
/**
|
|
560
|
-
* The duration
|
|
560
|
+
* <p>The duration in seconds to wait before forcefully terminating the job after cancellation is requested.</p>
|
|
561
561
|
* @public
|
|
562
562
|
*/
|
|
563
563
|
shutdownGracePeriodInSeconds?: number | undefined;
|
|
@@ -653,6 +653,22 @@ export interface ResourceUtilization {
|
|
|
653
653
|
*/
|
|
654
654
|
storageGBHour?: number | undefined;
|
|
655
655
|
}
|
|
656
|
+
/**
|
|
657
|
+
* <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>
|
|
658
|
+
* @public
|
|
659
|
+
*/
|
|
660
|
+
export interface JobRunExecutionIamPolicy {
|
|
661
|
+
/**
|
|
662
|
+
* <p>An IAM inline policy to use as an execution IAM policy.</p>
|
|
663
|
+
* @public
|
|
664
|
+
*/
|
|
665
|
+
policy?: string | undefined;
|
|
666
|
+
/**
|
|
667
|
+
* <p>A list of Amazon Resource Names (ARNs) to use as an execution IAM policy.</p>
|
|
668
|
+
* @public
|
|
669
|
+
*/
|
|
670
|
+
policyArns?: string[] | undefined;
|
|
671
|
+
}
|
|
656
672
|
/**
|
|
657
673
|
* <p>The configurations for the Hive job driver.</p>
|
|
658
674
|
* @public
|
|
@@ -1067,22 +1083,6 @@ export interface ListJobRunsResponse {
|
|
|
1067
1083
|
*/
|
|
1068
1084
|
nextToken?: string | undefined;
|
|
1069
1085
|
}
|
|
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
|
-
}
|
|
1086
1086
|
/**
|
|
1087
1087
|
* @public
|
|
1088
1088
|
*/
|
|
@@ -1541,6 +1541,11 @@ export interface JobRun {
|
|
|
1541
1541
|
* @public
|
|
1542
1542
|
*/
|
|
1543
1543
|
executionRole: string | undefined;
|
|
1544
|
+
/**
|
|
1545
|
+
* <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>
|
|
1546
|
+
* @public
|
|
1547
|
+
*/
|
|
1548
|
+
executionIamPolicy?: JobRunExecutionIamPolicy | undefined;
|
|
1544
1549
|
/**
|
|
1545
1550
|
* <p>The state of the job run.</p>
|
|
1546
1551
|
* @public
|
|
@@ -193,6 +193,10 @@ export interface ResourceUtilization {
|
|
|
193
193
|
memoryGBHour?: number | undefined;
|
|
194
194
|
storageGBHour?: number | undefined;
|
|
195
195
|
}
|
|
196
|
+
export interface JobRunExecutionIamPolicy {
|
|
197
|
+
policy?: string | undefined;
|
|
198
|
+
policyArns?: string[] | undefined;
|
|
199
|
+
}
|
|
196
200
|
export interface Hive {
|
|
197
201
|
query: string | undefined;
|
|
198
202
|
initQueryFile?: string | undefined;
|
|
@@ -314,10 +318,6 @@ export interface ListJobRunsResponse {
|
|
|
314
318
|
jobRuns: JobRunSummary[] | undefined;
|
|
315
319
|
nextToken?: string | undefined;
|
|
316
320
|
}
|
|
317
|
-
export interface JobRunExecutionIamPolicy {
|
|
318
|
-
policy?: string | undefined;
|
|
319
|
-
policyArns?: string[] | undefined;
|
|
320
|
-
}
|
|
321
321
|
export interface StartJobRunResponse {
|
|
322
322
|
applicationId: string | undefined;
|
|
323
323
|
jobRunId: string | undefined;
|
|
@@ -426,6 +426,7 @@ export interface JobRun {
|
|
|
426
426
|
createdAt: Date | undefined;
|
|
427
427
|
updatedAt: Date | undefined;
|
|
428
428
|
executionRole: string | undefined;
|
|
429
|
+
executionIamPolicy?: JobRunExecutionIamPolicy | undefined;
|
|
429
430
|
state: JobRunState | undefined;
|
|
430
431
|
stateDetails: string | undefined;
|
|
431
432
|
releaseLabel: 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.829.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",
|
|
@@ -21,16 +21,16 @@
|
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
23
|
"@aws-sdk/core": "3.826.0",
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.828.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.821.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.821.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.821.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.828.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.821.0",
|
|
30
30
|
"@aws-sdk/types": "3.821.0",
|
|
31
|
-
"@aws-sdk/util-endpoints": "3.
|
|
31
|
+
"@aws-sdk/util-endpoints": "3.828.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.821.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.828.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.1.4",
|
|
35
35
|
"@smithy/core": "^3.5.3",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.0.4",
|