| Copyright | (c) 2013-2021 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 |
Amazonka.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.
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
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:
$sel:trainingJobName: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.