list_ingestion_jobs
¶
list_ingestion_jobs(
collection_id: CollectionId,
*,
config_overrides: Optional[OpenSearchServerlessClientConfig] = None,
next_token: Optional[str] = None,
max_results: Optional[int] = None,
) -> ListIngestionJobsResponse
Returns a list of ingestion jobs in a collection.
Parameters:
-
collection_id(CollectionId) –The unique identifier of the collection to list ingestion jobs for.
-
next_token(Optional[str], default:None) –If your initial
ListIngestionJobsoperation returns anextToken, you can include the returnednextTokenin subsequentListIngestionJobsoperations, which returns results in the next page. -
max_results(Optional[int], default:None) –The maximum number of results to return. Valid values are 1–100. If you don't specify a value, the default is 100. You can use
nextTokento get the next page of results.A response can contain fewer results than
maxResults, or no results, and still include anextToken. To retrieve all results, continue to make the call with the returnednextTokenuntil nonextTokenis returned.
Raises:
-
InternalServerException–Thrown when an error internal to the service occurs while processing a request.
-
ResourceNotFoundException–Thrown when accessing or deleting a resource that does not exist.
-
ValidationException–Thrown when the HTTP request contains invalid input or is missing required input.
-
UnknownServiceError–The service returned an error code this client does not model.