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 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 changes the CompilationJobSummary$CompilationJobStatus of the job to Stopping. After Amazon SageMaker stops the job, it sets the CompilationJobSummary$CompilationJobStatus to 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