SageMaker / Client / stop_training_session
stop_training_session¶
- SageMaker.Client.stop_training_session(**kwargs)¶
Stops a running training session and sets the session status to
Stopping. After the session stops, the status changes toStopped. To delete a stopped session, use theDeleteTrainingSessionoperation.The following operations are related to
StopTrainingSession:CreateTrainingSessionDescribeTrainingSessionDeleteTrainingSession
See also: AWS API Documentation
Request Syntax
response = client.stop_training_session( TrainingSessionName='string' )
- Parameters:
TrainingSessionName (string) –
[REQUIRED]
The name of the training session to stop.
- Return type:
dict
- Returns:
Response Syntax
{}Response Structure
(dict) –
Exceptions
SageMaker.Client.exceptions.ResourceNotFound