list_job_runs
async
¶
list_job_runs(
application_id: ApplicationId,
*,
config_overrides: Optional[AsyncEMRServerlessClientConfig] = None,
next_token: Optional[NextToken] = None,
max_results: Optional[int] = None,
created_at_after: Optional[Date] = None,
created_at_before: Optional[Date] = None,
states: Optional[JobRunStateSet] = None,
mode: Optional[JobRunMode] = None,
) -> ListJobRunsResponse
Lists job runs based on a set of parameters.
Parameters:
-
application_id(ApplicationId) –The ID of the application for which to list the job run.
-
next_token(Optional[NextToken], default:None) –The token for the next set of job run results.
-
max_results(Optional[int], default:None) –The maximum number of job runs that can be listed.
-
created_at_after(Optional[Date], default:None) –The lower bound of the option to filter by creation date and time.
-
created_at_before(Optional[Date], default:None) –The upper bound of the option to filter by creation date and time.
-
states(Optional[JobRunStateSet], default:None) –An optional filter for job run states. Note that if this filter contains multiple states, the resulting list will be grouped by the state.
-
mode(Optional[JobRunMode], default:None) –The mode of the job runs to list.
Raises:
-
InternalServerException–Request processing failed because of an error or failure with the service.
-
ValidationException–The input fails to satisfy the constraints specified by an Amazon Web Services service.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_emr_serverless/_services/async_emr_serverless.py
1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 | |