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
24262 24263 24264 24265 24266 24267 24268 24269 24270 24271 24272 24273 24274 24275 24276 24277 24278 24279 24280 24281 24282 24283 24284 24285 24286 24287 24288 24289 24290 24291 24292 24293 24294 24295 24296 24297 24298 24299 24300 24301 24302 24303 24304 24305 24306 24307 24308 24309 24310 24311 24312 24313 24314 24315 24316 24317 24318 24319 24320 24321 24322 24323 24324 24325 24326 24327 24328 24329 24330 24331 24332 24333 24334 24335 24336 24337 24338 24339 24340 24341 24342 24343 24344 24345 24346 24347 24348 24349 24350 24351 24352 24353 24354 24355 24356 24357 24358 24359 24360 24361 | |