list_inference_recommendations_jobs
async
¶
list_inference_recommendations_jobs(
*,
config_overrides: Optional[AsyncSageMakerClientConfig] = None,
creation_time_after: Optional[CreationTime] = None,
creation_time_before: Optional[CreationTime] = None,
last_modified_time_after: Optional[LastModifiedTime] = None,
last_modified_time_before: Optional[LastModifiedTime] = None,
name_contains: Optional[NameContains] = None,
status_equals: Optional[RecommendationJobStatus] = None,
sort_by: Optional[ListInferenceRecommendationsJobsSortBy] = None,
sort_order: Optional[SortOrder] = None,
next_token: Optional[NextToken] = None,
max_results: Optional[MaxResults] = None,
model_name_equals: Optional[ModelName] = None,
model_package_version_arn_equals: Optional[ModelPackageArn] = None,
) -> ListInferenceRecommendationsJobsResponse
Lists recommendation jobs that satisfy various filters.
Parameters:
-
creation_time_after(Optional[CreationTime], default:None) –A filter that returns only jobs created after the specified time (timestamp).
-
creation_time_before(Optional[CreationTime], default:None) –A filter that returns only jobs created before the specified time (timestamp).
-
last_modified_time_after(Optional[LastModifiedTime], default:None) –A filter that returns only jobs that were last modified after the specified time (timestamp).
-
last_modified_time_before(Optional[LastModifiedTime], default:None) –A filter that returns only jobs that were last modified before the specified time (timestamp).
-
name_contains(Optional[NameContains], default:None) –A string in the job name. This filter returns only recommendations whose name contains the specified string.
-
status_equals(Optional[RecommendationJobStatus], default:None) –A filter that retrieves only inference recommendations jobs with a specific status.
-
sort_by(Optional[ListInferenceRecommendationsJobsSortBy], default:None) –The parameter by which to sort the results.
-
sort_order(Optional[SortOrder], default:None) –The sort order for the results.
-
next_token(Optional[NextToken], default:None) –If the response to a previous
ListInferenceRecommendationsJobsRequestrequest was truncated, the response includes aNextToken. To retrieve the next set of recommendations, use the token in the next request. -
max_results(Optional[MaxResults], default:None) –The maximum number of recommendations to return in the response.
-
model_name_equals(Optional[ModelName], default:None) –A filter that returns only jobs that were created for this model.
-
model_package_version_arn_equals(Optional[ModelPackageArn], default:None) –A filter that returns only jobs that were created for this versioned model package.
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_sagemaker/_services/async_sage_maker.py
23469 23470 23471 23472 23473 23474 23475 23476 23477 23478 23479 23480 23481 23482 23483 23484 23485 23486 23487 23488 23489 23490 23491 23492 23493 23494 23495 23496 23497 23498 23499 23500 23501 23502 23503 23504 23505 23506 23507 23508 23509 23510 23511 23512 23513 23514 23515 23516 23517 23518 23519 23520 23521 23522 23523 23524 23525 23526 23527 23528 23529 23530 23531 23532 23533 23534 23535 23536 23537 23538 23539 23540 23541 23542 23543 23544 23545 23546 23547 23548 23549 23550 23551 23552 23553 23554 23555 23556 23557 23558 23559 23560 23561 23562 23563 23564 23565 23566 23567 23568 23569 23570 23571 23572 23573 23574 | |