list_training_sessions
¶
list_training_sessions(
*,
config_overrides: Optional[SageMakerClientConfig] = None,
next_token: Optional[NextToken] = None,
max_results: Optional[MaxResults] = None,
creation_time_after: Optional[Timestamp] = None,
creation_time_before: Optional[Timestamp] = None,
name_contains: Optional[NameContains] = None,
status_equals: Optional[TrainingSessionStatus] = None,
) -> ListTrainingSessionsResponse
Lists training sessions in your account. You can filter results by creation time, name, and status. The operation paginates results. To retrieve additional results, use the NextToken parameter.
The following operations are related to ListTrainingSessions:
-
CreateTrainingSession -
DescribeTrainingSession
Parameters:
-
next_token(Optional[NextToken], default:None) –If the response was truncated, use the token returned in the previous response to retrieve the next page of results.
-
max_results(Optional[MaxResults], default:None) –The maximum number of training sessions to return in the response.
-
creation_time_after(Optional[Timestamp], default:None) –A filter that returns only training sessions created after the specified time.
-
creation_time_before(Optional[Timestamp], default:None) –A filter that returns only training sessions created before the specified time.
-
name_contains(Optional[NameContains], default:None) –A string in the training session name to filter results. Only sessions whose name contains the specified string are returned.
-
status_equals(Optional[TrainingSessionStatus], default:None) –A filter that returns only training sessions with the specified status.
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_sagemaker/_services/sage_maker.py
25912 25913 25914 25915 25916 25917 25918 25919 25920 25921 25922 25923 25924 25925 25926 25927 25928 25929 25930 25931 25932 25933 25934 25935 25936 25937 25938 25939 25940 25941 25942 25943 25944 25945 25946 25947 25948 25949 25950 25951 25952 25953 25954 25955 25956 25957 25958 25959 25960 25961 25962 25963 25964 25965 25966 25967 25968 25969 25970 25971 25972 25973 25974 25975 25976 25977 25978 25979 25980 25981 25982 | |