SageMaker / Client / stop_compilation_job
stop_compilation_job#
- SageMaker.Client.stop_compilation_job(**kwargs)#
Stops a model compilation job.
To stop a job, Amazon SageMaker AI sends the algorithm the SIGTERM signal. This gracefully shuts the job down. If the job hasn’t stopped, it sends the SIGKILL signal.
When it receives a
StopCompilationJob
request, Amazon SageMaker AI changes theCompilationJobStatus
of the job toStopping
. After Amazon SageMaker stops the job, it sets theCompilationJobStatus
toStopped
.See also: AWS API Documentation
Request Syntax
response = client.stop_compilation_job( CompilationJobName='string' )
- Parameters:
CompilationJobName (string) –
[REQUIRED]
The name of the model compilation job to stop.
- Returns:
None
Exceptions
SageMaker.Client.exceptions.ResourceNotFound