We are no longer updating the Amazon Machine Learning service or accepting new users for it. This documentation is available for existing users, but we are no longer updating it. For more information, see What is Amazon Machine Learning.
Deleting Objects
When you no longer need your datasources, ML models, evaluations, and batch predictions, you can delete them. Although there is no additional cost for keeping Amazon ML objects other than batch predictions after you are done with them, deleting objects keeps your workspace uncluttered and easier to manage. You can delete single or multiple objects using the Amazon Machine Learning (Amazon ML) console or the API.
Warning
When you delete Amazon ML objects, the effect is immediate, permanent, and irreversible.

Deleting Objects (Console)
You can use the Amazon ML console to delete objects, including models. The procedure that you use to delete a model depends on whether you're using the model to generate real-time predictions or not. To delete a model used to generate real-time predictions, first delete the real-time endpoint.
To delete Amazon ML objects (console)
-
Sign in to the AWS Management Console and open the Amazon Machine Learning console at https://console.aws.amazon.com/machinelearning/
. -
Select the Amazon ML objects that you want to delete. To select more than one object, use the SHIFT key. To deselect all selected objects, use the
or
buttons.
-
For Actions, choose Delete.
-
In the dialog box, choose Delete to delete the model.
To delete an Amazon ML model with a real-time endpoint (console)
-
Sign in to the AWS Management Console and open the Amazon Machine Learning console at https://console.aws.amazon.com/machinelearning/
. -
Select the model that you want to delete.
-
For Actions, choose Delete real-time endpoint.
-
Choose Delete to delete the endpoint.
-
Select the model again.
-
For Actions, choose Delete.
-
Choose Delete to delete the model.
Deleting Objects (API)
You can delete Amazon ML objects using the following API calls:
-
DeleteDataSource
- Takes the parameterDataSourceId
. -
DeleteMLModel
- Takes the parameterMLModelId
. -
DeleteEvaluation
- Takes the parameterEvaluationId
. -
DeleteBatchPrediction
- Takes the parameterBatchPredictionId
.
For more information, see the Amazon Machine Learning API Reference.