| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.LookoutEquipment.ListModels
Description
Generates a list of all models in the account, including model name and ARN, dataset, and status.
Synopsis
- data ListModels = ListModels' {}
- newListModels :: ListModels
- listModels_datasetNameBeginsWith :: Lens' ListModels (Maybe Text)
- listModels_maxResults :: Lens' ListModels (Maybe Natural)
- listModels_modelNameBeginsWith :: Lens' ListModels (Maybe Text)
- listModels_nextToken :: Lens' ListModels (Maybe Text)
- listModels_status :: Lens' ListModels (Maybe ModelStatus)
- data ListModelsResponse = ListModelsResponse' {
- modelSummaries :: Maybe [ModelSummary]
- nextToken :: Maybe Text
- httpStatus :: Int
- newListModelsResponse :: Int -> ListModelsResponse
- listModelsResponse_modelSummaries :: Lens' ListModelsResponse (Maybe [ModelSummary])
- listModelsResponse_nextToken :: Lens' ListModelsResponse (Maybe Text)
- listModelsResponse_httpStatus :: Lens' ListModelsResponse Int
Creating a Request
data ListModels Source #
See: newListModels smart constructor.
Constructors
| ListModels' | |
Fields
| |
Instances
newListModels :: ListModels Source #
Create a value of ListModels with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:datasetNameBeginsWith:ListModels', listModels_datasetNameBeginsWith - The beginning of the name of the dataset of the ML models to be listed.
$sel:maxResults:ListModels', listModels_maxResults - Specifies the maximum number of ML models to list.
$sel:modelNameBeginsWith:ListModels', listModels_modelNameBeginsWith - The beginning of the name of the ML models being listed.
ListModels, listModels_nextToken - An opaque pagination token indicating where to continue the listing of
ML models.
ListModels, listModels_status - The status of the ML model.
Request Lenses
listModels_datasetNameBeginsWith :: Lens' ListModels (Maybe Text) Source #
The beginning of the name of the dataset of the ML models to be listed.
listModels_maxResults :: Lens' ListModels (Maybe Natural) Source #
Specifies the maximum number of ML models to list.
listModels_modelNameBeginsWith :: Lens' ListModels (Maybe Text) Source #
The beginning of the name of the ML models being listed.
listModels_nextToken :: Lens' ListModels (Maybe Text) Source #
An opaque pagination token indicating where to continue the listing of ML models.
listModels_status :: Lens' ListModels (Maybe ModelStatus) Source #
The status of the ML model.
Destructuring the Response
data ListModelsResponse Source #
See: newListModelsResponse smart constructor.
Constructors
| ListModelsResponse' | |
Fields
| |
Instances
newListModelsResponse Source #
Arguments
| :: Int | |
| -> ListModelsResponse |
Create a value of ListModelsResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:modelSummaries:ListModelsResponse', listModelsResponse_modelSummaries - Provides information on the specified model, including created time,
model and dataset ARNs, and status.
ListModels, listModelsResponse_nextToken - An opaque pagination token indicating where to continue the listing of
ML models.
$sel:httpStatus:ListModelsResponse', listModelsResponse_httpStatus - The response's http status code.
Response Lenses
listModelsResponse_modelSummaries :: Lens' ListModelsResponse (Maybe [ModelSummary]) Source #
Provides information on the specified model, including created time, model and dataset ARNs, and status.
listModelsResponse_nextToken :: Lens' ListModelsResponse (Maybe Text) Source #
An opaque pagination token indicating where to continue the listing of ML models.
listModelsResponse_httpStatus :: Lens' ListModelsResponse Int Source #
The response's http status code.