list_ingestion_jobs
async
¶
list_ingestion_jobs(
knowledge_base_id: Id,
data_source_id: Id,
*,
config_overrides: Optional[AsyncBedrockAgentClientConfig] = None,
filters: Optional[IngestionJobFilters] = None,
sort_by: Optional[IngestionJobSortBy] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[NextToken] = None,
) -> ListIngestionJobsResponse
Lists the data ingestion jobs for a data source. The list also includes information about each job.
Parameters:
-
knowledge_base_id(Id) –The unique identifier of the knowledge base for the list of data ingestion jobs.
-
data_source_id(Id) –The unique identifier of the data source for the list of data ingestion jobs.
-
filters(Optional[IngestionJobFilters], default:None) –Contains information about the filters for filtering the data.
-
sort_by(Optional[IngestionJobSortBy], default:None) –Contains details about how to sort the data.
-
max_results(Optional[MaxResults], default:None) –The maximum number of results to return in the response. If the total number of results is greater than this value, use the token returned in the response in the
nextTokenfield when making another request to return the next batch of results. -
next_token(Optional[NextToken], default:None) –If the total number of results is greater than the
maxResultsvalue provided in the request, enter the token returned in thenextTokenfield in the response in this field to return the next batch of results.
Raises:
-
AccessDeniedException–The request is denied because of missing access permissions.
-
InternalServerException–An internal server error occurred. Retry your request.
-
ResourceNotFoundException–The specified resource Amazon Resource Name (ARN) was not found. Check the Amazon Resource Name (ARN) and try your request again.
-
ThrottlingException–The number of requests exceeds the limit. Resubmit your request later.
-
ValidationException–Input validation failed. Check your request parameters and retry the request.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_bedrock_agent/_services/async_bedrock_agent.py
4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 4351 4352 4353 4354 4355 4356 4357 4358 4359 4360 4361 4362 4363 4364 4365 4366 4367 4368 4369 4370 4371 4372 4373 4374 4375 4376 4377 4378 4379 4380 4381 4382 4383 4384 | |