list_training_sessions
async
¶
list_training_sessions(
*,
config_overrides: Optional[AsyncSageMakerClientConfig] = 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/async_sage_maker.py
29080 29081 29082 29083 29084 29085 29086 29087 29088 29089 29090 29091 29092 29093 29094 29095 29096 29097 29098 29099 29100 29101 29102 29103 29104 29105 29106 29107 29108 29109 29110 29111 29112 29113 29114 29115 29116 29117 29118 29119 29120 29121 29122 29123 29124 29125 29126 29127 29128 29129 29130 29131 29132 29133 29134 29135 29136 29137 29138 29139 29140 29141 29142 29143 29144 29145 29146 29147 29148 29149 29150 29151 | |