list_ingestion_jobs
¶
list_ingestion_jobs(
knowledge_base_id: Id,
data_source_id: Id,
*,
config_overrides: Optional[BedrockAgentClientConfig] = 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/bedrock_agent.py
4259 4260 4261 4262 4263 4264 4265 4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 4306 4307 4308 4309 4310 4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 | |