| Copyright | (c) 2013-2018 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.SageMaker.StopTrainingJob
Description
Stops a training job. To stop a job, Amazon 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.
Training algorithms provided by Amazon SageMaker save the intermediate results of a model training job. This intermediate data is a valid model artifact. You can use the model artifacts that are saved when Amazon SageMaker stops a training job to create a model.
When it receives a StopTrainingJob request, Amazon SageMaker changes the status of the job to Stopping . After Amazon SageMaker stops the job, it sets the status to Stopped .
Creating a Request
Arguments
| :: Text | |
| -> StopTrainingJob |
Creates a value of StopTrainingJob with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
stjTrainingJobName- The name of the training job to stop.
data StopTrainingJob Source #
See: stopTrainingJob smart constructor.
Instances
Request Lenses
stjTrainingJobName :: Lens' StopTrainingJob Text Source #
The name of the training job to stop.
Destructuring the Response
stopTrainingJobResponse :: StopTrainingJobResponse Source #
Creates a value of StopTrainingJobResponse with the minimum fields required to make a request.
data StopTrainingJobResponse Source #
See: stopTrainingJobResponse smart constructor.