list_optimization_jobs
¶
list_optimization_jobs(
*,
config_overrides: Optional[SageMakerClientConfig] = None,
next_token: Optional[NextToken] = None,
max_results: Optional[MaxResults] = 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,
optimization_contains: Optional[NameContains] = None,
name_contains: Optional[NameContains] = None,
status_equals: Optional[OptimizationJobStatus] = None,
sort_by: Optional[ListOptimizationJobsSortBy] = None,
sort_order: Optional[SortOrder] = None,
) -> ListOptimizationJobsResponse
Lists the optimization jobs in your account and their properties.
Parameters:
-
next_token(Optional[NextToken], default:None) –A token that you use to get the next set of results following a truncated response. If the response to the previous request was truncated, that response provides the value for this token.
-
max_results(Optional[MaxResults], default:None) –The maximum number of optimization jobs to return in the response. The default is 50.
-
creation_time_after(Optional[CreationTime], default:None) –Filters the results to only those optimization jobs that were created after the specified time.
-
creation_time_before(Optional[CreationTime], default:None) –Filters the results to only those optimization jobs that were created before the specified time.
-
last_modified_time_after(Optional[LastModifiedTime], default:None) –Filters the results to only those optimization jobs that were updated after the specified time.
-
last_modified_time_before(Optional[LastModifiedTime], default:None) –Filters the results to only those optimization jobs that were updated before the specified time.
-
optimization_contains(Optional[NameContains], default:None) –Filters the results to only those optimization jobs that apply the specified optimization techniques. You can specify either
QuantizationorCompilation. -
name_contains(Optional[NameContains], default:None) –Filters the results to only those optimization jobs with a name that contains the specified string.
-
status_equals(Optional[OptimizationJobStatus], default:None) –Filters the results to only those optimization jobs with the specified status.
-
sort_by(Optional[ListOptimizationJobsSortBy], default:None) –The field by which to sort the optimization jobs in the response. The default is
CreationTime -
sort_order(Optional[SortOrder], default:None) –The sort order for results. The default is
Ascending
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_sagemaker/_services/sage_maker.py
23955 23956 23957 23958 23959 23960 23961 23962 23963 23964 23965 23966 23967 23968 23969 23970 23971 23972 23973 23974 23975 23976 23977 23978 23979 23980 23981 23982 23983 23984 23985 23986 23987 23988 23989 23990 23991 23992 23993 23994 23995 23996 23997 23998 23999 24000 24001 24002 24003 24004 24005 24006 24007 24008 24009 24010 24011 24012 24013 24014 24015 24016 24017 24018 24019 24020 24021 24022 24023 24024 24025 24026 24027 24028 24029 24030 24031 24032 24033 24034 24035 24036 24037 24038 24039 24040 24041 24042 24043 24044 24045 24046 24047 24048 24049 24050 24051 24052 24053 | |