v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-143021,9861.6 MB

Returns information about a model compilation job.

To create a model compilation job, use CreateCompilationJob. To get information about multiple model compilation jobs, use ListCompilationJobs.

post/#X-Amz-Target=SageMaker.DescribeCompilationJob

Headers

X-Amz-Target'SageMaker.DescribeCompilationJob' required

Request body

CompilationJobNamestring required

The name of the model compilation job that you want information about.

Response

Success

CompilationJobNamestring required

The name of the model compilation job.

CompilationJobArnstring required

The Amazon Resource Name (ARN) of the model compilation job.

CompilationJobStatus'INPROGRESS' | 'COMPLETED' | 'FAILED' | 'STARTING' | 'STOPPING' | 'STOPPED' required

The status of the model compilation job.

CompilationStartTimestring date-time
<p>The time when the model compilation job started the <code>CompilationJob</code> instances. </p> <p>You are billed for the time between this timestamp and the timestamp in the <code>CompilationEndTime</code> field. In Amazon CloudWatch Logs, the start time might be later than this time. That's because it takes time to download the compilation job, which depends on the size of the compilation job container. </p>
CompilationEndTimestring date-time

The time when the model compilation job on a compilation job instance ended. For a successful or stopped job, this is when the job's model artifacts have finished uploading. For a failed job, this is when Amazon SageMaker detected that the job failed.

InferenceImagestring

The inference image to use when compiling a model. Specify an image only if the target device is a cloud instance.

ModelPackageVersionArnstring

The Amazon Resource Name (ARN) of the versioned model package that was provided to SageMaker Neo when you initiated a compilation job.

CreationTimestring date-time required

The time that the model compilation job was created.

LastModifiedTimestring date-time required

The time that the status of the model compilation job was last modified.

FailureReasonstring required

If a model compilation job failed, the reason it failed.

RoleArnstring required

The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker assumes to perform the model compilation job.