list_inference_recommendations_jobs
¶
list_inference_recommendations_jobs(
*,
config_overrides: Optional[SageMakerClientConfig] = 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[RecommendationJobStatus] = None,
sort_by: Optional[ListInferenceRecommendationsJobsSortBy] = None,
sort_order: Optional[SortOrder] = None,
next_token: Optional[NextToken] = None,
max_results: Optional[MaxResults] = None,
model_name_equals: Optional[ModelName] = None,
model_package_version_arn_equals: Optional[ModelPackageArn] = None,
) -> ListInferenceRecommendationsJobsResponse
Lists recommendation jobs that satisfy various filters.
Parameters:
-
creation_time_after(Optional[CreationTime], default:None) –A filter that returns only jobs created after the specified time (timestamp).
-
creation_time_before(Optional[CreationTime], default:None) –A filter that returns only jobs created before the specified time (timestamp).
-
last_modified_time_after(Optional[LastModifiedTime], default:None) –A filter that returns only jobs that were last modified after the specified time (timestamp).
-
last_modified_time_before(Optional[LastModifiedTime], default:None) –A filter that returns only jobs that were last modified before the specified time (timestamp).
-
name_contains(Optional[NameContains], default:None) –A string in the job name. This filter returns only recommendations whose name contains the specified string.
-
status_equals(Optional[RecommendationJobStatus], default:None) –A filter that retrieves only inference recommendations jobs with a specific status.
-
sort_by(Optional[ListInferenceRecommendationsJobsSortBy], default:None) –The parameter by which to sort the results.
-
sort_order(Optional[SortOrder], default:None) –The sort order for the results.
-
next_token(Optional[NextToken], default:None) –If the response to a previous
ListInferenceRecommendationsJobsRequestrequest was truncated, the response includes aNextToken. To retrieve the next set of recommendations, use the token in the next request. -
max_results(Optional[MaxResults], default:None) –The maximum number of recommendations to return in the response.
-
model_name_equals(Optional[ModelName], default:None) –A filter that returns only jobs that were created for this model.
-
model_package_version_arn_equals(Optional[ModelPackageArn], default:None) –A filter that returns only jobs that were created for this versioned model package.
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_sagemaker/_services/sage_maker.py
23156 23157 23158 23159 23160 23161 23162 23163 23164 23165 23166 23167 23168 23169 23170 23171 23172 23173 23174 23175 23176 23177 23178 23179 23180 23181 23182 23183 23184 23185 23186 23187 23188 23189 23190 23191 23192 23193 23194 23195 23196 23197 23198 23199 23200 23201 23202 23203 23204 23205 23206 23207 23208 23209 23210 23211 23212 23213 23214 23215 23216 23217 23218 23219 23220 23221 23222 23223 23224 23225 23226 23227 23228 23229 23230 23231 23232 23233 23234 23235 23236 23237 23238 23239 23240 23241 23242 23243 23244 23245 23246 23247 23248 23249 23250 23251 23252 23253 23254 23255 23256 23257 23258 23259 23260 | |