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.