list_training_plans
async
¶
list_training_plans(
*,
config_overrides: Optional[AsyncSageMakerClientConfig] = None,
next_token: Optional[NextToken] = None,
max_results: Optional[MaxResults] = None,
start_time_after: Optional[Timestamp] = None,
start_time_before: Optional[Timestamp] = None,
sort_by: Optional[TrainingPlanSortBy] = None,
sort_order: Optional[TrainingPlanSortOrder] = None,
filters: Optional[TrainingPlanFilters] = None,
) -> ListTrainingPlansResponse
Retrieves a list of training plans for the current account.
Parameters:
-
next_token(Optional[NextToken], default:None) –A token to continue pagination if more results are available.
-
max_results(Optional[MaxResults], default:None) –The maximum number of results to return in the response.
-
start_time_after(Optional[Timestamp], default:None) –Filter to list only training plans with an actual start time after this date.
-
start_time_before(Optional[Timestamp], default:None) –Filter to list only training plans with an actual start time before this date.
-
sort_by(Optional[TrainingPlanSortBy], default:None) –The training plan field to sort the results by (e.g., StartTime, Status).
-
sort_order(Optional[TrainingPlanSortOrder], default:None) –The order to sort the results (Ascending or Descending).
-
filters(Optional[TrainingPlanFilters], default:None) –Additional filters to apply to the list of training plans.
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
28966 28967 28968 28969 28970 28971 28972 28973 28974 28975 28976 28977 28978 28979 28980 28981 28982 28983 28984 28985 28986 28987 28988 28989 28990 28991 28992 28993 28994 28995 28996 28997 28998 28999 29000 29001 29002 29003 29004 29005 29006 29007 29008 29009 29010 29011 29012 29013 29014 29015 29016 29017 29018 29019 29020 29021 29022 29023 29024 29025 29026 29027 29028 29029 29030 29031 29032 29033 29034 29035 29036 29037 29038 29039 | |