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
28720 28721 28722 28723 28724 28725 28726 28727 28728 28729 28730 28731 28732 28733 28734 28735 28736 28737 28738 28739 28740 28741 28742 28743 28744 28745 28746 28747 28748 28749 28750 28751 28752 28753 28754 28755 28756 28757 28758 28759 28760 28761 28762 28763 28764 28765 28766 28767 28768 28769 28770 28771 28772 28773 28774 28775 28776 28777 28778 28779 28780 28781 28782 28783 28784 28785 28786 28787 28788 28789 28790 | |