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 - StopCompilationJobrequest, Amazon SageMaker AI changes the- CompilationJobStatusof the job to- Stopping. After Amazon SageMaker stops the job, it sets the- CompilationJobStatusto- Stopped.- 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