AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Starts a model compilation job. After the model has been compiled, Amazon SageMaker saves the resulting model artifacts to an Amazon Simple Storage Service (Amazon S3) bucket that you specify.

If you choose to host your model using Amazon SageMaker hosting services, you can use the resulting model artifacts as part of the model. You can also use the artifacts with Amazon Web Services IoT Greengrass. In that case, deploy them as an ML resource.

In the request body, you provide the following:

You can also provide a Tag to track the model compilation job's resource use and costs. The response body contains the CompilationJobArn for the compiled job.

To stop a model compilation job, use StopCompilationJob. To get information about a particular model compilation job, use DescribeCompilationJob. To get information about multiple model compilation jobs, use ListCompilationJobs.

Note:

For .NET Core this operation is only available in asynchronous form. Please refer to CreateCompilationJobAsync.

Namespace: Amazon.SageMaker
Assembly: AWSSDK.SageMaker.dll
Version: 3.x.y.z

Syntax

C#
public virtual CreateCompilationJobResponse CreateCompilationJob(
         CreateCompilationJobRequest request
)
Parameters
request
Type: Amazon.SageMaker.Model.CreateCompilationJobRequest

Container for the necessary parameters to execute the CreateCompilationJob service method.

Return Value
The response from the CreateCompilationJob service method, as returned by SageMaker.

Exceptions

ExceptionCondition
ResourceInUseException Resource being accessed is in use.
ResourceLimitExceededException You have exceeded an SageMaker resource limit. For example, you might have too many training jobs created.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5

See Also