list_optimization_jobs
async
¶
list_optimization_jobs(
*,
config_overrides: Optional[AsyncSageMakerClientConfig] = 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/async_sage_maker.py
27077 27078 27079 27080 27081 27082 27083 27084 27085 27086 27087 27088 27089 27090 27091 27092 27093 27094 27095 27096 27097 27098 27099 27100 27101 27102 27103 27104 27105 27106 27107 27108 27109 27110 27111 27112 27113 27114 27115 27116 27117 27118 27119 27120 27121 27122 27123 27124 27125 27126 27127 27128 27129 27130 27131 27132 27133 27134 27135 27136 27137 27138 27139 27140 27141 27142 27143 27144 27145 27146 27147 27148 27149 27150 27151 27152 27153 27154 27155 27156 27157 27158 27159 27160 27161 27162 27163 27164 27165 27166 27167 27168 27169 27170 27171 27172 27173 27174 27175 27176 | |