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
16391 16392 16393 16394 16395 16396 16397 16398 16399 16400 16401 16402 16403 16404 16405 16406 16407 16408 16409 16410 16411 16412 16413 16414 16415 16416 16417 16418 16419 16420 16421 16422 16423 16424 16425 16426 16427 16428 16429 16430 16431 16432 16433 16434 16435 16436 16437 16438 16439 16440 16441 16442 16443 16444 16445 16446 16447 16448 16449 16450 16451 16452 16453 16454 16455 16456 16457 16458 16459 16460 16461 16462 16463 16464 16465 16466 | |