list_model_import_jobs
async
¶
list_model_import_jobs(
*,
config_overrides: Optional[AsyncBedrockClientConfig] = None,
creation_time_after: Optional[Timestamp] = None,
creation_time_before: Optional[Timestamp] = None,
status_equals: Optional[ModelImportJobStatus] = None,
name_contains: Optional[JobName] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[PaginationToken] = None,
sort_by: Optional[SortJobsBy] = None,
sort_order: Optional[SortOrder] = None,
) -> ListModelImportJobsResponse
Returns a list of import jobs you've submitted. You can filter the results to return based on one or more criteria. For more information, see Import a customized model in the Amazon Bedrock User Guide.
Parameters:
-
creation_time_after(Optional[Timestamp], default:None) –Return import jobs that were created after the specified time.
-
creation_time_before(Optional[Timestamp], default:None) –Return import jobs that were created before the specified time.
-
status_equals(Optional[ModelImportJobStatus], default:None) –Return imported jobs with the specified status.
-
name_contains(Optional[JobName], default:None) –Return imported jobs only if the job name contains these characters.
-
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[PaginationToken], 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. -
sort_by(Optional[SortJobsBy], default:None) –The field to sort by in the returned list of imported jobs.
-
sort_order(Optional[SortOrder], default:None) –Specifies whether to sort the results in ascending or descending order.
Raises:
-
AccessDeniedException–The request is denied because of missing access permissions.
-
InternalServerException–An internal server error occurred. Retry your request.
-
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/_services/async_bedrock.py
6310 6311 6312 6313 6314 6315 6316 6317 6318 6319 6320 6321 6322 6323 6324 6325 6326 6327 6328 6329 6330 6331 6332 6333 6334 6335 6336 6337 6338 6339 6340 6341 6342 6343 6344 6345 6346 6347 6348 6349 6350 6351 6352 6353 6354 6355 6356 6357 6358 6359 6360 6361 6362 6363 6364 6365 6366 6367 6368 6369 6370 6371 6372 6373 6374 6375 6376 6377 6378 6379 6380 6381 6382 6383 6384 6385 6386 6387 6388 6389 6390 6391 | |