MachineLearning / Client / delete_ml_model
delete_ml_model#
- MachineLearning.Client.delete_ml_model(**kwargs)#
Assigns the
DELETEDstatus to anMLModel, rendering it unusable.After using the
DeleteMLModeloperation, you can use theGetMLModeloperation to verify that the status of theMLModelchanged to DELETED.Caution: The result of the
DeleteMLModeloperation is irreversible.See also: AWS API Documentation
Request Syntax
response = client.delete_ml_model( MLModelId='string' )
- Parameters:
MLModelId (string) –
[REQUIRED]
A user-supplied ID that uniquely identifies the
MLModel.- Return type:
dict
- Returns:
Response Syntax
{ 'MLModelId': 'string' }
Response Structure
(dict) –
Represents the output of a
DeleteMLModeloperation.You can use the
GetMLModeloperation and check the value of theStatusparameter to see whether anMLModelis marked asDELETED.MLModelId (string) –
A user-supplied ID that uniquely identifies the
MLModel. This value should be identical to the value of theMLModelIDin the request.
Exceptions
MachineLearning.Client.exceptions.InvalidInputExceptionMachineLearning.Client.exceptions.ResourceNotFoundExceptionMachineLearning.Client.exceptions.InternalServerException