list_cluster_jobs
async
¶
list_cluster_jobs(
cluster_id: ClusterId,
*,
config_overrides: Optional[AsyncSnowballClientConfig] = 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/async_snowball.py
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 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 | |