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.

Deletes a training job. After SageMaker deletes a training job, all of the metadata for the training job is lost. You can delete only training jobs that are in a terminal state (Stopped, Failed, or Completed) and don't retain an Available managed warm pool. You cannot delete a job that is in the InProgress or Stopping state. After deleting the job, you can reuse its name to create another training job.

Note:

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

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

Syntax

C#
public virtual DeleteTrainingJobResponse DeleteTrainingJob(
         DeleteTrainingJobRequest request
)

Parameters

request
Type: Amazon.SageMaker.Model.DeleteTrainingJobRequest

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

Return Value


The response from the DeleteTrainingJob service method, as returned by SageMaker.

Exceptions

ExceptionCondition
ResourceInUseException Resource being accessed is in use.
ResourceNotFoundException Resource being access is not found.

Version Information

.NET Framework:
Supported in: 4.5 and newer, 3.5

See Also