| Copyright | (c) 2013-2018 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@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:
dmlmMLModelId- A user-supplied ID that uniquely identifies theMLModel.
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:
dmlmrsMLModelId- A user-supplied ID that uniquely identifies theMLModel. This value should be identical to the value of theMLModelIDin the request.dmlmrsResponseStatus- -- | The response status code.
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.