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 |
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.
StopTrainingJob' | |
|
Instances
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.
Instances
Generic StopTrainingJobResponse Source # | |
Defined in Amazonka.SageMaker.StopTrainingJob type Rep StopTrainingJobResponse :: Type -> Type # | |
Read StopTrainingJobResponse Source # | |
Show StopTrainingJobResponse Source # | |
Defined in Amazonka.SageMaker.StopTrainingJob showsPrec :: Int -> StopTrainingJobResponse -> ShowS # show :: StopTrainingJobResponse -> String # showList :: [StopTrainingJobResponse] -> ShowS # | |
NFData StopTrainingJobResponse Source # | |
Defined in Amazonka.SageMaker.StopTrainingJob rnf :: StopTrainingJobResponse -> () # | |
Eq StopTrainingJobResponse Source # | |
Defined in Amazonka.SageMaker.StopTrainingJob | |
type Rep StopTrainingJobResponse Source # | |
newStopTrainingJobResponse :: StopTrainingJobResponse Source #
Create a value of StopTrainingJobResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.