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