Skip to content

Delete Compilation Job

sagemaker_delete_compilation_job R Documentation

Deletes the specified compilation job

Description

Deletes the specified compilation job. This action deletes only the compilation job resource in Amazon SageMaker. It doesn't delete other resources that are related to that job, such as the model artifacts that the job creates, the compilation logs in CloudWatch, the compiled model, or the IAM role.

You can delete a compilation job only if its current status is COMPLETED, FAILED, or STOPPED. If the job status is STARTING or INPROGRESS, stop the job, and then delete it after its status becomes STOPPED.

Usage

sagemaker_delete_compilation_job(CompilationJobName)

Arguments

CompilationJobName

[required] The name of the compilation job to delete.

Value

An empty list.

Request syntax

svc$delete_compilation_job(
  CompilationJobName = "string"
)