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.
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
public virtual DeleteTrainingJobResponse DeleteTrainingJob( DeleteTrainingJobRequest request )
Container for the necessary parameters to execute the DeleteTrainingJob service method.
| Exception | Condition |
|---|---|
| ResourceInUseException | Resource being accessed is in use. |
| ResourceNotFoundException | Resource being access is not found. |
.NET Framework:
Supported in: 4.5 and newer, 3.5