list_compilation_jobs
¶
list_compilation_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,
name_contains: Optional[NameContains] = None,
status_equals: Optional[CompilationJobStatus] = None,
sort_by: Optional[ListCompilationJobsSortBy] = None,
sort_order: Optional[SortOrder] = None,
) -> ListCompilationJobsResponse
Lists model compilation jobs that satisfy various filters.
To create a model compilation job, use CreateCompilationJob. To get information about a particular model compilation job you have created, use DescribeCompilationJob.
Parameters:
-
next_token(Optional[NextToken], default:None) –If the result of the previous
ListCompilationJobsrequest was truncated, the response includes aNextToken. To retrieve the next set of model compilation jobs, use the token in the next request. -
max_results(Optional[MaxResults], default:None) –The maximum number of model compilation jobs to return in the response.
-
creation_time_after(Optional[CreationTime], default:None) –A filter that returns the model compilation jobs that were created after a specified time.
-
creation_time_before(Optional[CreationTime], default:None) –A filter that returns the model compilation jobs that were created before a specified time.
-
last_modified_time_after(Optional[LastModifiedTime], default:None) –A filter that returns the model compilation jobs that were modified after a specified time.
-
last_modified_time_before(Optional[LastModifiedTime], default:None) –A filter that returns the model compilation jobs that were modified before a specified time.
-
name_contains(Optional[NameContains], default:None) –A filter that returns the model compilation jobs whose name contains a specified string.
-
status_equals(Optional[CompilationJobStatus], default:None) –A filter that retrieves model compilation jobs with a specific
CompilationJobStatusstatus. -
sort_by(Optional[ListCompilationJobsSortBy], default:None) –The field by which to sort results. 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
20145 20146 20147 20148 20149 20150 20151 20152 20153 20154 20155 20156 20157 20158 20159 20160 20161 20162 20163 20164 20165 20166 20167 20168 20169 20170 20171 20172 20173 20174 20175 20176 20177 20178 20179 20180 20181 20182 20183 20184 20185 20186 20187 20188 20189 20190 20191 20192 20193 20194 20195 20196 20197 20198 20199 20200 20201 20202 20203 20204 20205 20206 20207 20208 20209 20210 20211 20212 20213 20214 20215 20216 20217 20218 20219 20220 20221 20222 20223 20224 20225 20226 20227 20228 20229 20230 20231 20232 20233 20234 20235 20236 20237 | |