| Copyright | (c) 2013-2016 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.MachineLearning.DeleteMLModel
Description
Assigns the DELETED status to an MLModel, rendering it unusable.
After using the DeleteMLModel operation, you can use the GetMLModel operation to verify that the status of the MLModel changed to DELETED.
Caution: The result of the DeleteMLModel operation is irreversible.
Creating a Request
Arguments
| :: Text | |
| -> DeleteMLModel |
Creates a value of DeleteMLModel with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DeleteMLModel Source #
See: deleteMLModel smart constructor.
Instances
Request Lenses
dmlmMLModelId :: Lens' DeleteMLModel Text Source #
A user-supplied ID that uniquely identifies the MLModel.
Destructuring the Response
deleteMLModelResponse Source #
Arguments
| :: Int | |
| -> DeleteMLModelResponse |
Creates a value of DeleteMLModelResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DeleteMLModelResponse Source #
Represents the output of a DeleteMLModel operation.
You can use the GetMLModel operation and check the value of the Status parameter to see whether an MLModel is marked as DELETED.
See: deleteMLModelResponse smart constructor.
Response Lenses
dmlmrsMLModelId :: Lens' DeleteMLModelResponse (Maybe Text) Source #
A user-supplied ID that uniquely identifies the MLModel. This value should be identical to the value of the MLModelID in the request.
dmlmrsResponseStatus :: Lens' DeleteMLModelResponse Int Source #
The response status code.