MachineLearning / Client / delete_ml_model
delete_ml_model#
- MachineLearning.Client.delete_ml_model(**kwargs)#
Assigns the
DELETED
status to anMLModel
, rendering it unusable.After using the
DeleteMLModel
operation, you can use theGetMLModel
operation to verify that the status of theMLModel
changed to DELETED.Caution: The result of the
DeleteMLModel
operation 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
DeleteMLModel
operation.You can use the
GetMLModel
operation and check the value of theStatus
parameter to see whether anMLModel
is marked asDELETED
.MLModelId (string) –
A user-supplied ID that uniquely identifies the
MLModel
. This value should be identical to the value of theMLModelID
in the request.
Exceptions
MachineLearning.Client.exceptions.InvalidInputException
MachineLearning.Client.exceptions.ResourceNotFoundException
MachineLearning.Client.exceptions.InternalServerException