list_ai_benchmark_jobs
async
¶
list_ai_benchmark_jobs(
*,
config_overrides: Optional[AsyncSageMakerClientConfig] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[NextToken] = None,
name_contains: Optional[NameContains] = None,
status_equals: Optional[AIBenchmarkJobStatus] = None,
creation_time_after: Optional[Timestamp] = None,
creation_time_before: Optional[Timestamp] = None,
sort_by: Optional[ListAIBenchmarkJobsSortBy] = None,
sort_order: Optional[SortOrder] = None,
) -> ListAIBenchmarkJobsResponse
Returns a list of AI benchmark jobs in your account. You can filter the results by name, status, and creation time, and sort the results. The response is paginated.
Parameters:
-
max_results(Optional[MaxResults], default:None) –The maximum number of benchmark jobs to return in the response.
-
next_token(Optional[NextToken], default:None) –If the previous call to
ListAIBenchmarkJobsdidn't return the full set of jobs, the call returns a token for getting the next set. -
name_contains(Optional[NameContains], default:None) –A string in the job name. This filter returns only jobs whose name contains the specified string.
-
status_equals(Optional[AIBenchmarkJobStatus], default:None) –A filter that returns only benchmark jobs with the specified status.
-
creation_time_after(Optional[Timestamp], default:None) –A filter that returns only jobs created after the specified time.
-
creation_time_before(Optional[Timestamp], default:None) –A filter that returns only jobs created before the specified time.
-
sort_by(Optional[ListAIBenchmarkJobsSortBy], default:None) –The field to sort results by. The default is
CreationTime. -
sort_order(Optional[SortOrder], default:None) –The sort order for results. The default is
Descending.
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
16139 16140 16141 16142 16143 16144 16145 16146 16147 16148 16149 16150 16151 16152 16153 16154 16155 16156 16157 16158 16159 16160 16161 16162 16163 16164 16165 16166 16167 16168 16169 16170 16171 16172 16173 16174 16175 16176 16177 16178 16179 16180 16181 16182 16183 16184 16185 16186 16187 16188 16189 16190 16191 16192 16193 16194 16195 16196 16197 16198 16199 16200 16201 16202 16203 16204 16205 16206 16207 16208 16209 16210 16211 16212 16213 16214 16215 16216 16217 16218 16219 16220 | |