AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
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 StopTrainingJob request, SageMaker changes the status of
the job to Stopping. After SageMaker stops the job, it sets the status to Stopped.
For .NET Core this operation is only available in asynchronous form. Please refer to StopTrainingJobAsync.
Namespace: Amazon.SageMaker
Assembly: AWSSDK.SageMaker.dll
Version: 3.x.y.z
public virtual StopTrainingJobResponse StopTrainingJob( StopTrainingJobRequest request )
Container for the necessary parameters to execute the StopTrainingJob service method.
| Exception | Condition |
|---|---|
| ResourceNotFoundException | Resource being access is not found. |
.NET Framework:
Supported in: 4.5 and newer, 3.5