Stop Training Job
sagemaker_stop_training_job | R Documentation |
Stops a training job¶
Description¶
Stops a training job. To stop a job, SageMaker sends the algorithm the
SIGTERM
signal, which delays job termination for 120 seconds.
Algorithms might use this 120-second window to save the model artifacts,
so the results of the training is not lost.
When it receives a stop_training_job
request, SageMaker changes the
status of the job to Stopping
. After SageMaker stops the job, it sets
the status to Stopped
.
Usage¶
sagemaker_stop_training_job(TrainingJobName)
Arguments¶
TrainingJobName |
[required] The name of the training job to stop. |
Value¶
An empty list.
Request syntax¶
svc$stop_training_job(
TrainingJobName = "string"
)