Copyright | (c) 2015-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 |
Delete a trained model.
See: Prediction API Reference for prediction.trainedmodels.delete
.
Synopsis
- type TrainedModelsDeleteResource = "prediction" :> ("v1.6" :> ("projects" :> (Capture "project" Text :> ("trainedmodels" :> (Capture "id" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] ()))))))
- trainedModelsDelete :: Text -> Text -> TrainedModelsDelete
- data TrainedModelsDelete
- tmdProject :: Lens' TrainedModelsDelete Text
- tmdId :: Lens' TrainedModelsDelete Text
REST Resource
type TrainedModelsDeleteResource = "prediction" :> ("v1.6" :> ("projects" :> (Capture "project" Text :> ("trainedmodels" :> (Capture "id" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] ())))))) Source #
A resource alias for prediction.trainedmodels.delete
method which the
TrainedModelsDelete
request conforms to.
Creating a Request
Creates a value of TrainedModelsDelete
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data TrainedModelsDelete Source #
Delete a trained model.
See: trainedModelsDelete
smart constructor.
Instances
Request Lenses
tmdProject :: Lens' TrainedModelsDelete Text Source #
The project associated with the model.