list_ai_workload_configs
async
¶
list_ai_workload_configs(
*,
config_overrides: Optional[AsyncSageMakerClientConfig] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[NextToken] = None,
name_contains: Optional[NameContains] = None,
creation_time_after: Optional[Timestamp] = None,
creation_time_before: Optional[Timestamp] = None,
sort_by: Optional[ListAIWorkloadConfigsSortBy] = None,
sort_order: Optional[SortOrder] = None,
) -> ListAIWorkloadConfigsResponse
Returns a list of AI workload configurations in your account. You can filter the results by name and creation time, and sort the results. The response is paginated.
Parameters:
-
max_results(Optional[MaxResults], default:None) –The maximum number of AI workload configurations to return in the response.
-
next_token(Optional[NextToken], default:None) –If the previous call to
ListAIWorkloadConfigsdidn't return the full set of configurations, the call returns a token for getting the next set of configurations. -
name_contains(Optional[NameContains], default:None) –A string in the configuration name. This filter returns only configurations whose name contains the specified string.
-
creation_time_after(Optional[Timestamp], default:None) –A filter that returns only configurations created after the specified time.
-
creation_time_before(Optional[Timestamp], default:None) –A filter that returns only configurations created before the specified time.
-
sort_by(Optional[ListAIWorkloadConfigsSortBy], 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
18146 18147 18148 18149 18150 18151 18152 18153 18154 18155 18156 18157 18158 18159 18160 18161 18162 18163 18164 18165 18166 18167 18168 18169 18170 18171 18172 18173 18174 18175 18176 18177 18178 18179 18180 18181 18182 18183 18184 18185 18186 18187 18188 18189 18190 18191 18192 18193 18194 18195 18196 18197 18198 18199 18200 18201 18202 18203 18204 18205 18206 18207 18208 18209 18210 18211 18212 18213 18214 18215 18216 18217 18218 18219 18220 18221 | |