list_cluster_jobs
¶
list_cluster_jobs(
cluster_id: ClusterId,
*,
config_overrides: Optional[SnowballClientConfig] = None,
max_results: Optional[ListLimit] = None,
next_token: Optional[String] = None,
) -> ListClusterJobsResult
Returns an array of JobListEntry objects of the specified length. Each JobListEntry object is for a job in the specified cluster and contains a job's state, a job's ID, and other information.
Parameters:
-
cluster_id(ClusterId) –The 39-character ID for the cluster that you want to list, for example
CID123e4567-e89b-12d3-a456-426655440000. -
max_results(Optional[ListLimit], default:None) –The number of
JobListEntryobjects to return. -
next_token(Optional[String], default:None) –HTTP requests are stateless. To identify what object comes "next" in the list of
JobListEntryobjects, you have the option of specifyingNextTokenas the starting point for your returned list.
Raises:
-
InvalidNextTokenException–The
NextTokenstring was altered unexpectedly, and the operation has stopped. Run the operation without changing theNextTokenstring, and try again. -
InvalidResourceException–The specified resource can't be found. Check the information you provided in your last request, and try again.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_snowball/_services/snowball.py
1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 | |