amazonka-ml-1.3.7: Amazon Machine Learning SDK.

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.MachineLearning.DeleteMLModel

Contents

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.

See: AWS API Reference for DeleteMLModel.

Synopsis

Creating a Request

deleteMLModel Source

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:

Request Lenses

dmlmMLModelId :: Lens' DeleteMLModel Text Source

A user-supplied ID that uniquely identifies the MLModel.

Destructuring the Response

deleteMLModelResponse Source

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.