@aws-sdk/client-emr-serverless 3.583.0 → 3.587.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 +8 -0
- package/dist-cjs/index.js +111 -5
- package/dist-es/EMRServerless.js +2 -0
- package/dist-es/commands/ListJobRunAttemptsCommand.js +24 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_0.js +4 -0
- package/dist-es/pagination/ListJobRunAttemptsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +81 -5
- package/dist-types/EMRServerless.d.ts +7 -0
- package/dist-types/EMRServerlessClient.d.ts +3 -2
- package/dist-types/commands/GetDashboardForJobRunCommand.d.ts +1 -0
- package/dist-types/commands/GetJobRunCommand.d.ts +9 -0
- package/dist-types/commands/ListJobRunAttemptsCommand.d.ts +91 -0
- package/dist-types/commands/ListJobRunsCommand.d.ts +5 -0
- package/dist-types/commands/StartJobRunCommand.d.ts +5 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +222 -0
- package/dist-types/pagination/ListJobRunAttemptsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
- package/dist-types/ts3.4/EMRServerless.d.ts +17 -0
- package/dist-types/ts3.4/EMRServerlessClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/ListJobRunAttemptsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +50 -0
- package/dist-types/ts3.4/pagination/ListJobRunAttemptsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
- package/package.json +18 -18
package/README.md
CHANGED
|
@@ -278,6 +278,14 @@ ListApplications
|
|
|
278
278
|
|
|
279
279
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/emr-serverless/command/ListApplicationsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-emr-serverless/Interface/ListApplicationsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-emr-serverless/Interface/ListApplicationsCommandOutput/)
|
|
280
280
|
|
|
281
|
+
</details>
|
|
282
|
+
<details>
|
|
283
|
+
<summary>
|
|
284
|
+
ListJobRunAttempts
|
|
285
|
+
</summary>
|
|
286
|
+
|
|
287
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/emr-serverless/command/ListJobRunAttemptsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-emr-serverless/Interface/ListJobRunAttemptsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-emr-serverless/Interface/ListJobRunAttemptsCommandOutput/)
|
|
288
|
+
|
|
281
289
|
</details>
|
|
282
290
|
<details>
|
|
283
291
|
<summary>
|
package/dist-cjs/index.js
CHANGED
|
@@ -44,8 +44,10 @@ __export(src_exports, {
|
|
|
44
44
|
JobDriver: () => JobDriver,
|
|
45
45
|
JobDriverFilterSensitiveLog: () => JobDriverFilterSensitiveLog,
|
|
46
46
|
JobRunFilterSensitiveLog: () => JobRunFilterSensitiveLog,
|
|
47
|
+
JobRunMode: () => JobRunMode,
|
|
47
48
|
JobRunState: () => JobRunState,
|
|
48
49
|
ListApplicationsCommand: () => ListApplicationsCommand,
|
|
50
|
+
ListJobRunAttemptsCommand: () => ListJobRunAttemptsCommand,
|
|
49
51
|
ListJobRunsCommand: () => ListJobRunsCommand,
|
|
50
52
|
ListTagsForResourceCommand: () => ListTagsForResourceCommand,
|
|
51
53
|
ResourceNotFoundException: () => ResourceNotFoundException,
|
|
@@ -63,6 +65,7 @@ __export(src_exports, {
|
|
|
63
65
|
ValidationException: () => ValidationException,
|
|
64
66
|
__Client: () => import_smithy_client.Client,
|
|
65
67
|
paginateListApplications: () => paginateListApplications,
|
|
68
|
+
paginateListJobRunAttempts: () => paginateListJobRunAttempts,
|
|
66
69
|
paginateListJobRuns: () => paginateListJobRuns
|
|
67
70
|
});
|
|
68
71
|
module.exports = __toCommonJS(src_exports);
|
|
@@ -349,6 +352,10 @@ var JobDriver;
|
|
|
349
352
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
350
353
|
}, "visit");
|
|
351
354
|
})(JobDriver || (JobDriver = {}));
|
|
355
|
+
var JobRunMode = {
|
|
356
|
+
BATCH: "BATCH",
|
|
357
|
+
STREAMING: "STREAMING"
|
|
358
|
+
};
|
|
352
359
|
var JobRunState = {
|
|
353
360
|
CANCELLED: "CANCELLED",
|
|
354
361
|
CANCELLING: "CANCELLING",
|
|
@@ -502,8 +509,11 @@ var se_GetDashboardForJobRunCommand = /* @__PURE__ */ __name(async (input, conte
|
|
|
502
509
|
b.bp("/applications/{applicationId}/jobruns/{jobRunId}/dashboard");
|
|
503
510
|
b.p("applicationId", () => input.applicationId, "{applicationId}", false);
|
|
504
511
|
b.p("jobRunId", () => input.jobRunId, "{jobRunId}", false);
|
|
512
|
+
const query = (0, import_smithy_client.map)({
|
|
513
|
+
[_a]: [() => input.attempt !== void 0, () => input[_a].toString()]
|
|
514
|
+
});
|
|
505
515
|
let body;
|
|
506
|
-
b.m("GET").h(headers).b(body);
|
|
516
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
507
517
|
return b.build();
|
|
508
518
|
}, "se_GetDashboardForJobRunCommand");
|
|
509
519
|
var se_GetJobRunCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
@@ -512,8 +522,11 @@ var se_GetJobRunCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
512
522
|
b.bp("/applications/{applicationId}/jobruns/{jobRunId}");
|
|
513
523
|
b.p("applicationId", () => input.applicationId, "{applicationId}", false);
|
|
514
524
|
b.p("jobRunId", () => input.jobRunId, "{jobRunId}", false);
|
|
525
|
+
const query = (0, import_smithy_client.map)({
|
|
526
|
+
[_a]: [() => input.attempt !== void 0, () => input[_a].toString()]
|
|
527
|
+
});
|
|
515
528
|
let body;
|
|
516
|
-
b.m("GET").h(headers).b(body);
|
|
529
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
517
530
|
return b.build();
|
|
518
531
|
}, "se_GetJobRunCommand");
|
|
519
532
|
var se_ListApplicationsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
@@ -529,6 +542,20 @@ var se_ListApplicationsCommand = /* @__PURE__ */ __name(async (input, context) =
|
|
|
529
542
|
b.m("GET").h(headers).q(query).b(body);
|
|
530
543
|
return b.build();
|
|
531
544
|
}, "se_ListApplicationsCommand");
|
|
545
|
+
var se_ListJobRunAttemptsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
546
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
547
|
+
const headers = {};
|
|
548
|
+
b.bp("/applications/{applicationId}/jobruns/{jobRunId}/attempts");
|
|
549
|
+
b.p("applicationId", () => input.applicationId, "{applicationId}", false);
|
|
550
|
+
b.p("jobRunId", () => input.jobRunId, "{jobRunId}", false);
|
|
551
|
+
const query = (0, import_smithy_client.map)({
|
|
552
|
+
[_nT]: [, input[_nT]],
|
|
553
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()]
|
|
554
|
+
});
|
|
555
|
+
let body;
|
|
556
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
557
|
+
return b.build();
|
|
558
|
+
}, "se_ListJobRunAttemptsCommand");
|
|
532
559
|
var se_ListJobRunsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
533
560
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
534
561
|
const headers = {};
|
|
@@ -537,9 +564,10 @@ var se_ListJobRunsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
537
564
|
const query = (0, import_smithy_client.map)({
|
|
538
565
|
[_nT]: [, input[_nT]],
|
|
539
566
|
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
540
|
-
[_cAA]: [() => input.createdAtAfter !== void 0, () => (
|
|
541
|
-
[_cAB]: [() => input.createdAtBefore !== void 0, () => (
|
|
542
|
-
[_s]: [() => input.states !== void 0, () => (input[_s] || []).map((_entry) => _entry)]
|
|
567
|
+
[_cAA]: [() => input.createdAtAfter !== void 0, () => (0, import_smithy_client.serializeDateTime)(input[_cAA]).toString()],
|
|
568
|
+
[_cAB]: [() => input.createdAtBefore !== void 0, () => (0, import_smithy_client.serializeDateTime)(input[_cAB]).toString()],
|
|
569
|
+
[_s]: [() => input.states !== void 0, () => (input[_s] || []).map((_entry) => _entry)],
|
|
570
|
+
[_m]: [, input[_m]]
|
|
543
571
|
});
|
|
544
572
|
let body;
|
|
545
573
|
b.m("GET").h(headers).q(query).b(body);
|
|
@@ -578,7 +606,9 @@ var se_StartJobRunCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
578
606
|
executionRoleArn: [],
|
|
579
607
|
executionTimeoutMinutes: [],
|
|
580
608
|
jobDriver: (_) => (0, import_smithy_client._json)(_),
|
|
609
|
+
mode: [],
|
|
581
610
|
name: [],
|
|
611
|
+
retryPolicy: (_) => (0, import_smithy_client._json)(_),
|
|
582
612
|
tags: (_) => (0, import_smithy_client._json)(_)
|
|
583
613
|
})
|
|
584
614
|
);
|
|
@@ -751,6 +781,21 @@ var de_ListApplicationsCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
751
781
|
Object.assign(contents, doc);
|
|
752
782
|
return contents;
|
|
753
783
|
}, "de_ListApplicationsCommand");
|
|
784
|
+
var de_ListJobRunAttemptsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
785
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
786
|
+
return de_CommandError(output, context);
|
|
787
|
+
}
|
|
788
|
+
const contents = (0, import_smithy_client.map)({
|
|
789
|
+
$metadata: deserializeMetadata(output)
|
|
790
|
+
});
|
|
791
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
792
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
793
|
+
jobRunAttempts: (_) => de_JobRunAttempts(_, context),
|
|
794
|
+
nextToken: import_smithy_client.expectString
|
|
795
|
+
});
|
|
796
|
+
Object.assign(contents, doc);
|
|
797
|
+
return contents;
|
|
798
|
+
}, "de_ListJobRunAttemptsCommand");
|
|
754
799
|
var de_ListJobRunsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
755
800
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
756
801
|
return de_CommandError(output, context);
|
|
@@ -1033,6 +1078,9 @@ var de_JobRun = /* @__PURE__ */ __name((output, context) => {
|
|
|
1033
1078
|
return (0, import_smithy_client.take)(output, {
|
|
1034
1079
|
applicationId: import_smithy_client.expectString,
|
|
1035
1080
|
arn: import_smithy_client.expectString,
|
|
1081
|
+
attempt: import_smithy_client.expectInt32,
|
|
1082
|
+
attemptCreatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1083
|
+
attemptUpdatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1036
1084
|
billedResourceUtilization: (_) => de_ResourceUtilization(_, context),
|
|
1037
1085
|
configurationOverrides: (_) => de_ConfigurationOverrides(_, context),
|
|
1038
1086
|
createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
@@ -1041,9 +1089,11 @@ var de_JobRun = /* @__PURE__ */ __name((output, context) => {
|
|
|
1041
1089
|
executionTimeoutMinutes: import_smithy_client.expectLong,
|
|
1042
1090
|
jobDriver: (_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)),
|
|
1043
1091
|
jobRunId: import_smithy_client.expectString,
|
|
1092
|
+
mode: import_smithy_client.expectString,
|
|
1044
1093
|
name: import_smithy_client.expectString,
|
|
1045
1094
|
networkConfiguration: import_smithy_client._json,
|
|
1046
1095
|
releaseLabel: import_smithy_client.expectString,
|
|
1096
|
+
retryPolicy: import_smithy_client._json,
|
|
1047
1097
|
state: import_smithy_client.expectString,
|
|
1048
1098
|
stateDetails: import_smithy_client.expectString,
|
|
1049
1099
|
tags: import_smithy_client._json,
|
|
@@ -1052,6 +1102,31 @@ var de_JobRun = /* @__PURE__ */ __name((output, context) => {
|
|
|
1052
1102
|
updatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
|
|
1053
1103
|
});
|
|
1054
1104
|
}, "de_JobRun");
|
|
1105
|
+
var de_JobRunAttempts = /* @__PURE__ */ __name((output, context) => {
|
|
1106
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1107
|
+
return de_JobRunAttemptSummary(entry, context);
|
|
1108
|
+
});
|
|
1109
|
+
return retVal;
|
|
1110
|
+
}, "de_JobRunAttempts");
|
|
1111
|
+
var de_JobRunAttemptSummary = /* @__PURE__ */ __name((output, context) => {
|
|
1112
|
+
return (0, import_smithy_client.take)(output, {
|
|
1113
|
+
applicationId: import_smithy_client.expectString,
|
|
1114
|
+
arn: import_smithy_client.expectString,
|
|
1115
|
+
attempt: import_smithy_client.expectInt32,
|
|
1116
|
+
createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1117
|
+
createdBy: import_smithy_client.expectString,
|
|
1118
|
+
executionRole: import_smithy_client.expectString,
|
|
1119
|
+
id: import_smithy_client.expectString,
|
|
1120
|
+
jobCreatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1121
|
+
mode: import_smithy_client.expectString,
|
|
1122
|
+
name: import_smithy_client.expectString,
|
|
1123
|
+
releaseLabel: import_smithy_client.expectString,
|
|
1124
|
+
state: import_smithy_client.expectString,
|
|
1125
|
+
stateDetails: import_smithy_client.expectString,
|
|
1126
|
+
type: import_smithy_client.expectString,
|
|
1127
|
+
updatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
|
|
1128
|
+
});
|
|
1129
|
+
}, "de_JobRunAttemptSummary");
|
|
1055
1130
|
var de_JobRuns = /* @__PURE__ */ __name((output, context) => {
|
|
1056
1131
|
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1057
1132
|
return de_JobRunSummary(entry, context);
|
|
@@ -1062,10 +1137,14 @@ var de_JobRunSummary = /* @__PURE__ */ __name((output, context) => {
|
|
|
1062
1137
|
return (0, import_smithy_client.take)(output, {
|
|
1063
1138
|
applicationId: import_smithy_client.expectString,
|
|
1064
1139
|
arn: import_smithy_client.expectString,
|
|
1140
|
+
attempt: import_smithy_client.expectInt32,
|
|
1141
|
+
attemptCreatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1142
|
+
attemptUpdatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1065
1143
|
createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1066
1144
|
createdBy: import_smithy_client.expectString,
|
|
1067
1145
|
executionRole: import_smithy_client.expectString,
|
|
1068
1146
|
id: import_smithy_client.expectString,
|
|
1147
|
+
mode: import_smithy_client.expectString,
|
|
1069
1148
|
name: import_smithy_client.expectString,
|
|
1070
1149
|
releaseLabel: import_smithy_client.expectString,
|
|
1071
1150
|
state: import_smithy_client.expectString,
|
|
@@ -1094,8 +1173,10 @@ var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
|
1094
1173
|
extendedRequestId: output.headers["x-amz-id-2"],
|
|
1095
1174
|
cfId: output.headers["x-amz-cf-id"]
|
|
1096
1175
|
}), "deserializeMetadata");
|
|
1176
|
+
var _a = "attempt";
|
|
1097
1177
|
var _cAA = "createdAtAfter";
|
|
1098
1178
|
var _cAB = "createdAtBefore";
|
|
1179
|
+
var _m = "mode";
|
|
1099
1180
|
var _mR = "maxResults";
|
|
1100
1181
|
var _nT = "nextToken";
|
|
1101
1182
|
var _s = "states";
|
|
@@ -1216,6 +1297,23 @@ var _ListApplicationsCommand = class _ListApplicationsCommand extends import_smi
|
|
|
1216
1297
|
__name(_ListApplicationsCommand, "ListApplicationsCommand");
|
|
1217
1298
|
var ListApplicationsCommand = _ListApplicationsCommand;
|
|
1218
1299
|
|
|
1300
|
+
// src/commands/ListJobRunAttemptsCommand.ts
|
|
1301
|
+
|
|
1302
|
+
|
|
1303
|
+
|
|
1304
|
+
|
|
1305
|
+
var _ListJobRunAttemptsCommand = class _ListJobRunAttemptsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1306
|
+
...commonParams
|
|
1307
|
+
}).m(function(Command, cs, config, o) {
|
|
1308
|
+
return [
|
|
1309
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1310
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1311
|
+
];
|
|
1312
|
+
}).s("AwsToledoWebService", "ListJobRunAttempts", {}).n("EMRServerlessClient", "ListJobRunAttemptsCommand").f(void 0, void 0).ser(se_ListJobRunAttemptsCommand).de(de_ListJobRunAttemptsCommand).build() {
|
|
1313
|
+
};
|
|
1314
|
+
__name(_ListJobRunAttemptsCommand, "ListJobRunAttemptsCommand");
|
|
1315
|
+
var ListJobRunAttemptsCommand = _ListJobRunAttemptsCommand;
|
|
1316
|
+
|
|
1219
1317
|
// src/commands/ListJobRunsCommand.ts
|
|
1220
1318
|
|
|
1221
1319
|
|
|
@@ -1361,6 +1459,7 @@ var commands = {
|
|
|
1361
1459
|
GetDashboardForJobRunCommand,
|
|
1362
1460
|
GetJobRunCommand,
|
|
1363
1461
|
ListApplicationsCommand,
|
|
1462
|
+
ListJobRunAttemptsCommand,
|
|
1364
1463
|
ListJobRunsCommand,
|
|
1365
1464
|
ListTagsForResourceCommand,
|
|
1366
1465
|
StartApplicationCommand,
|
|
@@ -1380,6 +1479,10 @@ var EMRServerless = _EMRServerless;
|
|
|
1380
1479
|
|
|
1381
1480
|
var paginateListApplications = (0, import_core.createPaginator)(EMRServerlessClient, ListApplicationsCommand, "nextToken", "nextToken", "maxResults");
|
|
1382
1481
|
|
|
1482
|
+
// src/pagination/ListJobRunAttemptsPaginator.ts
|
|
1483
|
+
|
|
1484
|
+
var paginateListJobRunAttempts = (0, import_core.createPaginator)(EMRServerlessClient, ListJobRunAttemptsCommand, "nextToken", "nextToken", "maxResults");
|
|
1485
|
+
|
|
1383
1486
|
// src/pagination/ListJobRunsPaginator.ts
|
|
1384
1487
|
|
|
1385
1488
|
var paginateListJobRuns = (0, import_core.createPaginator)(EMRServerlessClient, ListJobRunsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1398,6 +1501,7 @@ var paginateListJobRuns = (0, import_core.createPaginator)(EMRServerlessClient,
|
|
|
1398
1501
|
GetDashboardForJobRunCommand,
|
|
1399
1502
|
GetJobRunCommand,
|
|
1400
1503
|
ListApplicationsCommand,
|
|
1504
|
+
ListJobRunAttemptsCommand,
|
|
1401
1505
|
ListJobRunsCommand,
|
|
1402
1506
|
ListTagsForResourceCommand,
|
|
1403
1507
|
StartApplicationCommand,
|
|
@@ -1407,6 +1511,7 @@ var paginateListJobRuns = (0, import_core.createPaginator)(EMRServerlessClient,
|
|
|
1407
1511
|
UntagResourceCommand,
|
|
1408
1512
|
UpdateApplicationCommand,
|
|
1409
1513
|
paginateListApplications,
|
|
1514
|
+
paginateListJobRunAttempts,
|
|
1410
1515
|
paginateListJobRuns,
|
|
1411
1516
|
Architecture,
|
|
1412
1517
|
ApplicationState,
|
|
@@ -1416,6 +1521,7 @@ var paginateListJobRuns = (0, import_core.createPaginator)(EMRServerlessClient,
|
|
|
1416
1521
|
ValidationException,
|
|
1417
1522
|
ServiceQuotaExceededException,
|
|
1418
1523
|
JobDriver,
|
|
1524
|
+
JobRunMode,
|
|
1419
1525
|
JobRunState,
|
|
1420
1526
|
HiveFilterSensitiveLog,
|
|
1421
1527
|
SparkSubmitFilterSensitiveLog,
|
package/dist-es/EMRServerless.js
CHANGED
|
@@ -6,6 +6,7 @@ import { GetApplicationCommand, } from "./commands/GetApplicationCommand";
|
|
|
6
6
|
import { GetDashboardForJobRunCommand, } from "./commands/GetDashboardForJobRunCommand";
|
|
7
7
|
import { GetJobRunCommand } from "./commands/GetJobRunCommand";
|
|
8
8
|
import { ListApplicationsCommand, } from "./commands/ListApplicationsCommand";
|
|
9
|
+
import { ListJobRunAttemptsCommand, } from "./commands/ListJobRunAttemptsCommand";
|
|
9
10
|
import { ListJobRunsCommand } from "./commands/ListJobRunsCommand";
|
|
10
11
|
import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
|
|
11
12
|
import { StartApplicationCommand, } from "./commands/StartApplicationCommand";
|
|
@@ -23,6 +24,7 @@ const commands = {
|
|
|
23
24
|
GetDashboardForJobRunCommand,
|
|
24
25
|
GetJobRunCommand,
|
|
25
26
|
ListApplicationsCommand,
|
|
27
|
+
ListJobRunAttemptsCommand,
|
|
26
28
|
ListJobRunsCommand,
|
|
27
29
|
ListTagsForResourceCommand,
|
|
28
30
|
StartApplicationCommand,
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_ListJobRunAttemptsCommand, se_ListJobRunAttemptsCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class ListJobRunAttemptsCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AwsToledoWebService", "ListJobRunAttempts", {})
|
|
19
|
+
.n("EMRServerlessClient", "ListJobRunAttemptsCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_ListJobRunAttemptsCommand)
|
|
22
|
+
.de(de_ListJobRunAttemptsCommand)
|
|
23
|
+
.build() {
|
|
24
|
+
}
|
|
@@ -5,6 +5,7 @@ export * from "./GetApplicationCommand";
|
|
|
5
5
|
export * from "./GetDashboardForJobRunCommand";
|
|
6
6
|
export * from "./GetJobRunCommand";
|
|
7
7
|
export * from "./ListApplicationsCommand";
|
|
8
|
+
export * from "./ListJobRunAttemptsCommand";
|
|
8
9
|
export * from "./ListJobRunsCommand";
|
|
9
10
|
export * from "./ListTagsForResourceCommand";
|
|
10
11
|
export * from "./StartApplicationCommand";
|
|
@@ -83,6 +83,10 @@ export var JobDriver;
|
|
|
83
83
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
84
84
|
};
|
|
85
85
|
})(JobDriver || (JobDriver = {}));
|
|
86
|
+
export const JobRunMode = {
|
|
87
|
+
BATCH: "BATCH",
|
|
88
|
+
STREAMING: "STREAMING",
|
|
89
|
+
};
|
|
86
90
|
export const JobRunState = {
|
|
87
91
|
CANCELLED: "CANCELLED",
|
|
88
92
|
CANCELLING: "CANCELLING",
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { ListJobRunAttemptsCommand, } from "../commands/ListJobRunAttemptsCommand";
|
|
3
|
+
import { EMRServerlessClient } from "../EMRServerlessClient";
|
|
4
|
+
export const paginateListJobRunAttempts = createPaginator(EMRServerlessClient, ListJobRunAttemptsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { awsExpectUnion as __expectUnion, loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody as parseErrorBody, } from "@aws-sdk/core";
|
|
2
2
|
import { requestBuilder as rb } from "@smithy/core";
|
|
3
|
-
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, limitedParseDouble as __limitedParseDouble, map, parseEpochTimestamp as __parseEpochTimestamp, take, withBaseException, } from "@smithy/smithy-client";
|
|
3
|
+
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, limitedParseDouble as __limitedParseDouble, map, parseEpochTimestamp as __parseEpochTimestamp, serializeDateTime as __serializeDateTime, take, withBaseException, } from "@smithy/smithy-client";
|
|
4
4
|
import { v4 as generateIdempotencyToken } from "uuid";
|
|
5
5
|
import { EMRServerlessServiceException as __BaseException } from "../models/EMRServerlessServiceException";
|
|
6
6
|
import { ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ValidationException, } from "../models/models_0";
|
|
@@ -66,8 +66,11 @@ export const se_GetDashboardForJobRunCommand = async (input, context) => {
|
|
|
66
66
|
b.bp("/applications/{applicationId}/jobruns/{jobRunId}/dashboard");
|
|
67
67
|
b.p("applicationId", () => input.applicationId, "{applicationId}", false);
|
|
68
68
|
b.p("jobRunId", () => input.jobRunId, "{jobRunId}", false);
|
|
69
|
+
const query = map({
|
|
70
|
+
[_a]: [() => input.attempt !== void 0, () => input[_a].toString()],
|
|
71
|
+
});
|
|
69
72
|
let body;
|
|
70
|
-
b.m("GET").h(headers).b(body);
|
|
73
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
71
74
|
return b.build();
|
|
72
75
|
};
|
|
73
76
|
export const se_GetJobRunCommand = async (input, context) => {
|
|
@@ -76,8 +79,11 @@ export const se_GetJobRunCommand = async (input, context) => {
|
|
|
76
79
|
b.bp("/applications/{applicationId}/jobruns/{jobRunId}");
|
|
77
80
|
b.p("applicationId", () => input.applicationId, "{applicationId}", false);
|
|
78
81
|
b.p("jobRunId", () => input.jobRunId, "{jobRunId}", false);
|
|
82
|
+
const query = map({
|
|
83
|
+
[_a]: [() => input.attempt !== void 0, () => input[_a].toString()],
|
|
84
|
+
});
|
|
79
85
|
let body;
|
|
80
|
-
b.m("GET").h(headers).b(body);
|
|
86
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
81
87
|
return b.build();
|
|
82
88
|
};
|
|
83
89
|
export const se_ListApplicationsCommand = async (input, context) => {
|
|
@@ -93,6 +99,20 @@ export const se_ListApplicationsCommand = async (input, context) => {
|
|
|
93
99
|
b.m("GET").h(headers).q(query).b(body);
|
|
94
100
|
return b.build();
|
|
95
101
|
};
|
|
102
|
+
export const se_ListJobRunAttemptsCommand = async (input, context) => {
|
|
103
|
+
const b = rb(input, context);
|
|
104
|
+
const headers = {};
|
|
105
|
+
b.bp("/applications/{applicationId}/jobruns/{jobRunId}/attempts");
|
|
106
|
+
b.p("applicationId", () => input.applicationId, "{applicationId}", false);
|
|
107
|
+
b.p("jobRunId", () => input.jobRunId, "{jobRunId}", false);
|
|
108
|
+
const query = map({
|
|
109
|
+
[_nT]: [, input[_nT]],
|
|
110
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
111
|
+
});
|
|
112
|
+
let body;
|
|
113
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
114
|
+
return b.build();
|
|
115
|
+
};
|
|
96
116
|
export const se_ListJobRunsCommand = async (input, context) => {
|
|
97
117
|
const b = rb(input, context);
|
|
98
118
|
const headers = {};
|
|
@@ -101,9 +121,10 @@ export const se_ListJobRunsCommand = async (input, context) => {
|
|
|
101
121
|
const query = map({
|
|
102
122
|
[_nT]: [, input[_nT]],
|
|
103
123
|
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
104
|
-
[_cAA]: [() => input.createdAtAfter !== void 0, () => (input[_cAA]
|
|
105
|
-
[_cAB]: [() => input.createdAtBefore !== void 0, () => (input[_cAB]
|
|
124
|
+
[_cAA]: [() => input.createdAtAfter !== void 0, () => __serializeDateTime(input[_cAA]).toString()],
|
|
125
|
+
[_cAB]: [() => input.createdAtBefore !== void 0, () => __serializeDateTime(input[_cAB]).toString()],
|
|
106
126
|
[_s]: [() => input.states !== void 0, () => (input[_s] || []).map((_entry) => _entry)],
|
|
127
|
+
[_m]: [, input[_m]],
|
|
107
128
|
});
|
|
108
129
|
let body;
|
|
109
130
|
b.m("GET").h(headers).q(query).b(body);
|
|
@@ -141,7 +162,9 @@ export const se_StartJobRunCommand = async (input, context) => {
|
|
|
141
162
|
executionRoleArn: [],
|
|
142
163
|
executionTimeoutMinutes: [],
|
|
143
164
|
jobDriver: (_) => _json(_),
|
|
165
|
+
mode: [],
|
|
144
166
|
name: [],
|
|
167
|
+
retryPolicy: (_) => _json(_),
|
|
145
168
|
tags: (_) => _json(_),
|
|
146
169
|
}));
|
|
147
170
|
b.m("POST").h(headers).b(body);
|
|
@@ -309,6 +332,21 @@ export const de_ListApplicationsCommand = async (output, context) => {
|
|
|
309
332
|
Object.assign(contents, doc);
|
|
310
333
|
return contents;
|
|
311
334
|
};
|
|
335
|
+
export const de_ListJobRunAttemptsCommand = async (output, context) => {
|
|
336
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
337
|
+
return de_CommandError(output, context);
|
|
338
|
+
}
|
|
339
|
+
const contents = map({
|
|
340
|
+
$metadata: deserializeMetadata(output),
|
|
341
|
+
});
|
|
342
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
343
|
+
const doc = take(data, {
|
|
344
|
+
jobRunAttempts: (_) => de_JobRunAttempts(_, context),
|
|
345
|
+
nextToken: __expectString,
|
|
346
|
+
});
|
|
347
|
+
Object.assign(contents, doc);
|
|
348
|
+
return contents;
|
|
349
|
+
};
|
|
312
350
|
export const de_ListJobRunsCommand = async (output, context) => {
|
|
313
351
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
314
352
|
return de_CommandError(output, context);
|
|
@@ -597,6 +635,9 @@ const de_JobRun = (output, context) => {
|
|
|
597
635
|
return take(output, {
|
|
598
636
|
applicationId: __expectString,
|
|
599
637
|
arn: __expectString,
|
|
638
|
+
attempt: __expectInt32,
|
|
639
|
+
attemptCreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
640
|
+
attemptUpdatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
600
641
|
billedResourceUtilization: (_) => de_ResourceUtilization(_, context),
|
|
601
642
|
configurationOverrides: (_) => de_ConfigurationOverrides(_, context),
|
|
602
643
|
createdAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
@@ -605,9 +646,11 @@ const de_JobRun = (output, context) => {
|
|
|
605
646
|
executionTimeoutMinutes: __expectLong,
|
|
606
647
|
jobDriver: (_) => _json(__expectUnion(_)),
|
|
607
648
|
jobRunId: __expectString,
|
|
649
|
+
mode: __expectString,
|
|
608
650
|
name: __expectString,
|
|
609
651
|
networkConfiguration: _json,
|
|
610
652
|
releaseLabel: __expectString,
|
|
653
|
+
retryPolicy: _json,
|
|
611
654
|
state: __expectString,
|
|
612
655
|
stateDetails: __expectString,
|
|
613
656
|
tags: _json,
|
|
@@ -616,6 +659,33 @@ const de_JobRun = (output, context) => {
|
|
|
616
659
|
updatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
617
660
|
});
|
|
618
661
|
};
|
|
662
|
+
const de_JobRunAttempts = (output, context) => {
|
|
663
|
+
const retVal = (output || [])
|
|
664
|
+
.filter((e) => e != null)
|
|
665
|
+
.map((entry) => {
|
|
666
|
+
return de_JobRunAttemptSummary(entry, context);
|
|
667
|
+
});
|
|
668
|
+
return retVal;
|
|
669
|
+
};
|
|
670
|
+
const de_JobRunAttemptSummary = (output, context) => {
|
|
671
|
+
return take(output, {
|
|
672
|
+
applicationId: __expectString,
|
|
673
|
+
arn: __expectString,
|
|
674
|
+
attempt: __expectInt32,
|
|
675
|
+
createdAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
676
|
+
createdBy: __expectString,
|
|
677
|
+
executionRole: __expectString,
|
|
678
|
+
id: __expectString,
|
|
679
|
+
jobCreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
680
|
+
mode: __expectString,
|
|
681
|
+
name: __expectString,
|
|
682
|
+
releaseLabel: __expectString,
|
|
683
|
+
state: __expectString,
|
|
684
|
+
stateDetails: __expectString,
|
|
685
|
+
type: __expectString,
|
|
686
|
+
updatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
687
|
+
});
|
|
688
|
+
};
|
|
619
689
|
const de_JobRuns = (output, context) => {
|
|
620
690
|
const retVal = (output || [])
|
|
621
691
|
.filter((e) => e != null)
|
|
@@ -628,10 +698,14 @@ const de_JobRunSummary = (output, context) => {
|
|
|
628
698
|
return take(output, {
|
|
629
699
|
applicationId: __expectString,
|
|
630
700
|
arn: __expectString,
|
|
701
|
+
attempt: __expectInt32,
|
|
702
|
+
attemptCreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
703
|
+
attemptUpdatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
631
704
|
createdAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
632
705
|
createdBy: __expectString,
|
|
633
706
|
executionRole: __expectString,
|
|
634
707
|
id: __expectString,
|
|
708
|
+
mode: __expectString,
|
|
635
709
|
name: __expectString,
|
|
636
710
|
releaseLabel: __expectString,
|
|
637
711
|
state: __expectString,
|
|
@@ -666,8 +740,10 @@ const isSerializableHeaderValue = (value) => value !== undefined &&
|
|
|
666
740
|
value !== "" &&
|
|
667
741
|
(!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) &&
|
|
668
742
|
(!Object.getOwnPropertyNames(value).includes("size") || value.size != 0);
|
|
743
|
+
const _a = "attempt";
|
|
669
744
|
const _cAA = "createdAtAfter";
|
|
670
745
|
const _cAB = "createdAtBefore";
|
|
746
|
+
const _m = "mode";
|
|
671
747
|
const _mR = "maxResults";
|
|
672
748
|
const _nT = "nextToken";
|
|
673
749
|
const _s = "states";
|
|
@@ -6,6 +6,7 @@ import { GetApplicationCommandInput, GetApplicationCommandOutput } from "./comma
|
|
|
6
6
|
import { GetDashboardForJobRunCommandInput, GetDashboardForJobRunCommandOutput } from "./commands/GetDashboardForJobRunCommand";
|
|
7
7
|
import { GetJobRunCommandInput, GetJobRunCommandOutput } from "./commands/GetJobRunCommand";
|
|
8
8
|
import { ListApplicationsCommandInput, ListApplicationsCommandOutput } from "./commands/ListApplicationsCommand";
|
|
9
|
+
import { ListJobRunAttemptsCommandInput, ListJobRunAttemptsCommandOutput } from "./commands/ListJobRunAttemptsCommand";
|
|
9
10
|
import { ListJobRunsCommandInput, ListJobRunsCommandOutput } from "./commands/ListJobRunsCommand";
|
|
10
11
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
11
12
|
import { StartApplicationCommandInput, StartApplicationCommandOutput } from "./commands/StartApplicationCommand";
|
|
@@ -59,6 +60,12 @@ export interface EMRServerless {
|
|
|
59
60
|
listApplications(args: ListApplicationsCommandInput, options?: __HttpHandlerOptions): Promise<ListApplicationsCommandOutput>;
|
|
60
61
|
listApplications(args: ListApplicationsCommandInput, cb: (err: any, data?: ListApplicationsCommandOutput) => void): void;
|
|
61
62
|
listApplications(args: ListApplicationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListApplicationsCommandOutput) => void): void;
|
|
63
|
+
/**
|
|
64
|
+
* @see {@link ListJobRunAttemptsCommand}
|
|
65
|
+
*/
|
|
66
|
+
listJobRunAttempts(args: ListJobRunAttemptsCommandInput, options?: __HttpHandlerOptions): Promise<ListJobRunAttemptsCommandOutput>;
|
|
67
|
+
listJobRunAttempts(args: ListJobRunAttemptsCommandInput, cb: (err: any, data?: ListJobRunAttemptsCommandOutput) => void): void;
|
|
68
|
+
listJobRunAttempts(args: ListJobRunAttemptsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListJobRunAttemptsCommandOutput) => void): void;
|
|
62
69
|
/**
|
|
63
70
|
* @see {@link ListJobRunsCommand}
|
|
64
71
|
*/
|
|
@@ -14,6 +14,7 @@ import { GetApplicationCommandInput, GetApplicationCommandOutput } from "./comma
|
|
|
14
14
|
import { GetDashboardForJobRunCommandInput, GetDashboardForJobRunCommandOutput } from "./commands/GetDashboardForJobRunCommand";
|
|
15
15
|
import { GetJobRunCommandInput, GetJobRunCommandOutput } from "./commands/GetJobRunCommand";
|
|
16
16
|
import { ListApplicationsCommandInput, ListApplicationsCommandOutput } from "./commands/ListApplicationsCommand";
|
|
17
|
+
import { ListJobRunAttemptsCommandInput, ListJobRunAttemptsCommandOutput } from "./commands/ListJobRunAttemptsCommand";
|
|
17
18
|
import { ListJobRunsCommandInput, ListJobRunsCommandOutput } from "./commands/ListJobRunsCommand";
|
|
18
19
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
19
20
|
import { StartApplicationCommandInput, StartApplicationCommandOutput } from "./commands/StartApplicationCommand";
|
|
@@ -28,11 +29,11 @@ export { __Client };
|
|
|
28
29
|
/**
|
|
29
30
|
* @public
|
|
30
31
|
*/
|
|
31
|
-
export type ServiceInputTypes = CancelJobRunCommandInput | CreateApplicationCommandInput | DeleteApplicationCommandInput | GetApplicationCommandInput | GetDashboardForJobRunCommandInput | GetJobRunCommandInput | ListApplicationsCommandInput | ListJobRunsCommandInput | ListTagsForResourceCommandInput | StartApplicationCommandInput | StartJobRunCommandInput | StopApplicationCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateApplicationCommandInput;
|
|
32
|
+
export type ServiceInputTypes = CancelJobRunCommandInput | CreateApplicationCommandInput | DeleteApplicationCommandInput | GetApplicationCommandInput | GetDashboardForJobRunCommandInput | GetJobRunCommandInput | ListApplicationsCommandInput | ListJobRunAttemptsCommandInput | ListJobRunsCommandInput | ListTagsForResourceCommandInput | StartApplicationCommandInput | StartJobRunCommandInput | StopApplicationCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateApplicationCommandInput;
|
|
32
33
|
/**
|
|
33
34
|
* @public
|
|
34
35
|
*/
|
|
35
|
-
export type ServiceOutputTypes = CancelJobRunCommandOutput | CreateApplicationCommandOutput | DeleteApplicationCommandOutput | GetApplicationCommandOutput | GetDashboardForJobRunCommandOutput | GetJobRunCommandOutput | ListApplicationsCommandOutput | ListJobRunsCommandOutput | ListTagsForResourceCommandOutput | StartApplicationCommandOutput | StartJobRunCommandOutput | StopApplicationCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateApplicationCommandOutput;
|
|
36
|
+
export type ServiceOutputTypes = CancelJobRunCommandOutput | CreateApplicationCommandOutput | DeleteApplicationCommandOutput | GetApplicationCommandOutput | GetDashboardForJobRunCommandOutput | GetJobRunCommandOutput | ListApplicationsCommandOutput | ListJobRunAttemptsCommandOutput | ListJobRunsCommandOutput | ListTagsForResourceCommandOutput | StartApplicationCommandOutput | StartJobRunCommandOutput | StopApplicationCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateApplicationCommandOutput;
|
|
36
37
|
/**
|
|
37
38
|
* @public
|
|
38
39
|
*/
|
|
@@ -44,6 +44,7 @@ declare const GetDashboardForJobRunCommand_base: {
|
|
|
44
44
|
* const input = { // GetDashboardForJobRunRequest
|
|
45
45
|
* applicationId: "STRING_VALUE", // required
|
|
46
46
|
* jobRunId: "STRING_VALUE", // required
|
|
47
|
+
* attempt: Number("int"),
|
|
47
48
|
* };
|
|
48
49
|
* const command = new GetDashboardForJobRunCommand(input);
|
|
49
50
|
* const response = await client.send(command);
|
|
@@ -36,6 +36,7 @@ declare const GetJobRunCommand_base: {
|
|
|
36
36
|
* const input = { // GetJobRunRequest
|
|
37
37
|
* applicationId: "STRING_VALUE", // required
|
|
38
38
|
* jobRunId: "STRING_VALUE", // required
|
|
39
|
+
* attempt: Number("int"),
|
|
39
40
|
* };
|
|
40
41
|
* const command = new GetJobRunCommand(input);
|
|
41
42
|
* const response = await client.send(command);
|
|
@@ -132,6 +133,14 @@ declare const GetJobRunCommand_base: {
|
|
|
132
133
|
* // memoryGBHour: Number("double"),
|
|
133
134
|
* // storageGBHour: Number("double"),
|
|
134
135
|
* // },
|
|
136
|
+
* // mode: "STRING_VALUE",
|
|
137
|
+
* // retryPolicy: { // RetryPolicy
|
|
138
|
+
* // maxAttempts: Number("int"),
|
|
139
|
+
* // maxFailedAttemptsPerHour: Number("int"),
|
|
140
|
+
* // },
|
|
141
|
+
* // attempt: Number("int"),
|
|
142
|
+
* // attemptCreatedAt: new Date("TIMESTAMP"),
|
|
143
|
+
* // attemptUpdatedAt: new Date("TIMESTAMP"),
|
|
135
144
|
* // },
|
|
136
145
|
* // };
|
|
137
146
|
*
|