Skip to content

Commit a1cfe98

Browse files
author
AWS
committed
Amazon SageMaker Service Update: Amazon SageMaker now supports deleting training and processing jobs in a terminal status.
1 parent 4854637 commit a1cfe98

File tree

2 files changed

+54
-1
lines changed

2 files changed

+54
-1
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "Amazon SageMaker Service",
4+
"contributor": "",
5+
"description": "Amazon SageMaker now supports deleting training and processing jobs in a terminal status."
6+
}

services/sagemaker/src/main/resources/codegen-resources/service-2.json

Lines changed: 48 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1542,6 +1542,19 @@
15421542
],
15431543
"documentation":"<p>Deletes a pipeline if there are no running instances of the pipeline. To delete a pipeline, you must stop all running instances of the pipeline using the <code>StopPipelineExecution</code> API. When you delete a pipeline, all instances of the pipeline are deleted.</p>"
15441544
},
1545+
"DeleteProcessingJob":{
1546+
"name":"DeleteProcessingJob",
1547+
"http":{
1548+
"method":"POST",
1549+
"requestUri":"/"
1550+
},
1551+
"input":{"shape":"DeleteProcessingJobRequest"},
1552+
"errors":[
1553+
{"shape":"ResourceNotFound"},
1554+
{"shape":"ResourceInUse"}
1555+
],
1556+
"documentation":"<p>Deletes a processing job. After Amazon SageMaker deletes a processing job, all of the metadata for the processing job is lost. You can delete only processing jobs that are in a terminal state (<code>Stopped</code>, <code>Failed</code>, or <code>Completed</code>). You cannot delete a job that is in the <code>InProgress</code> or <code>Stopping</code> state. After deleting the job, you can reuse its name to create another processing job.</p>"
1557+
},
15451558
"DeleteProject":{
15461559
"name":"DeleteProject",
15471560
"http":{
@@ -1590,6 +1603,19 @@
15901603
"output":{"shape":"DeleteTagsOutput"},
15911604
"documentation":"<p>Deletes the specified tags from an SageMaker resource.</p> <p>To list a resource's tags, use the <code>ListTags</code> API. </p> <note> <p>When you call this API to delete tags from a hyperparameter tuning job, the deleted tags are not removed from training jobs that the hyperparameter tuning job launched before you called this API.</p> </note> <note> <p>When you call this API to delete tags from a SageMaker Domain or User Profile, the deleted tags are not removed from Apps that the SageMaker Domain or User Profile launched before you called this API.</p> </note>"
15921605
},
1606+
"DeleteTrainingJob":{
1607+
"name":"DeleteTrainingJob",
1608+
"http":{
1609+
"method":"POST",
1610+
"requestUri":"/"
1611+
},
1612+
"input":{"shape":"DeleteTrainingJobRequest"},
1613+
"errors":[
1614+
{"shape":"ResourceNotFound"},
1615+
{"shape":"ResourceInUse"}
1616+
],
1617+
"documentation":"<p>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 (<code>Stopped</code>, <code>Failed</code>, or <code>Completed</code>) and don't retain an <code>Available</code> <a href=\"https://docs.aws.amazon.com/sagemaker/latest/dg/train-warm-pools.html\">managed warm pool</a>. You cannot delete a job that is in the <code>InProgress</code> or <code>Stopping</code> state. After deleting the job, you can reuse its name to create another training job.</p>"
1618+
},
15931619
"DeleteTrial":{
15941620
"name":"DeleteTrial",
15951621
"http":{
@@ -14682,6 +14708,16 @@
1468214708
}
1468314709
}
1468414710
},
14711+
"DeleteProcessingJobRequest":{
14712+
"type":"structure",
14713+
"required":["ProcessingJobName"],
14714+
"members":{
14715+
"ProcessingJobName":{
14716+
"shape":"ProcessingJobName",
14717+
"documentation":"<p>The name of the processing job to delete.</p>"
14718+
}
14719+
}
14720+
},
1468514721
"DeleteProjectInput":{
1468614722
"type":"structure",
1468714723
"required":["ProjectName"],
@@ -14740,6 +14776,16 @@
1474014776
"type":"structure",
1474114777
"members":{}
1474214778
},
14779+
"DeleteTrainingJobRequest":{
14780+
"type":"structure",
14781+
"required":["TrainingJobName"],
14782+
"members":{
14783+
"TrainingJobName":{
14784+
"shape":"TrainingJobName",
14785+
"documentation":"<p>The name of the training job to delete.</p>"
14786+
}
14787+
}
14788+
},
1474314789
"DeleteTrialComponentRequest":{
1474414790
"type":"structure",
1474514791
"required":["TrialComponentName"],
@@ -42006,7 +42052,8 @@
4200642052
"Completed",
4200742053
"Failed",
4200842054
"Stopping",
42009-
"Stopped"
42055+
"Stopped",
42056+
"Deleting"
4201042057
]
4201142058
},
4201242059
"TrainingJobStatusCounter":{

0 commit comments

Comments
 (0)