| Copyright | (c) 2013-2023 Brendan Hay | 
|---|---|
| License | Mozilla Public License, v. 2.0. | 
| Maintainer | Brendan Hay | 
| Stability | auto-generated | 
| Portability | non-portable (GHC extensions) | 
| Safe Haskell | Safe-Inferred | 
| Language | Haskell2010 | 
Amazonka.SageMaker.StopTrainingJob
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 StopTrainingJob request, SageMaker changes the
 status of the job to Stopping. After SageMaker stops the job, it sets
 the status to Stopped.
Creating a Request
data StopTrainingJob Source #
See: newStopTrainingJob smart constructor.
Constructors
| StopTrainingJob' | |
Fields 
  | |
Instances
Arguments
| :: Text | |
| -> StopTrainingJob | 
Create a value of StopTrainingJob with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
StopTrainingJob, stopTrainingJob_trainingJobName - The name of the training job to stop.
Request Lenses
stopTrainingJob_trainingJobName :: Lens' StopTrainingJob Text Source #
The name of the training job to stop.
Destructuring the Response
data StopTrainingJobResponse Source #
See: newStopTrainingJobResponse smart constructor.
Constructors
| StopTrainingJobResponse' | |
Instances
newStopTrainingJobResponse :: StopTrainingJobResponse Source #
Create a value of StopTrainingJobResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.