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 |
List available models.
See: Prediction API Reference for prediction.trainedmodels.list
.
Synopsis
- type TrainedModelsListResource = "prediction" :> ("v1.6" :> ("projects" :> (Capture "project" Text :> ("trainedmodels" :> ("list" :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] List))))))))
- trainedModelsList :: Text -> TrainedModelsList
- data TrainedModelsList
- tmlProject :: Lens' TrainedModelsList Text
- tmlPageToken :: Lens' TrainedModelsList (Maybe Text)
- tmlMaxResults :: Lens' TrainedModelsList (Maybe Word32)
REST Resource
type TrainedModelsListResource = "prediction" :> ("v1.6" :> ("projects" :> (Capture "project" Text :> ("trainedmodels" :> ("list" :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] List)))))))) Source #
A resource alias for prediction.trainedmodels.list
method which the
TrainedModelsList
request conforms to.
Creating a Request
Creates a value of TrainedModelsList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data TrainedModelsList Source #
List available models.
See: trainedModelsList
smart constructor.
Instances
Request Lenses
tmlProject :: Lens' TrainedModelsList Text Source #
The project associated with the model.
tmlPageToken :: Lens' TrainedModelsList (Maybe Text) Source #
Pagination token.
tmlMaxResults :: Lens' TrainedModelsList (Maybe Word32) Source #
Maximum number of results to return.