Copyright | (c) 2013-2021 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 |
Generates a list of all models in the account, including model name and ARN, dataset, and status.
Synopsis
- data ListModels = ListModels' {}
- newListModels :: ListModels
- listModels_status :: Lens' ListModels (Maybe ModelStatus)
- listModels_nextToken :: Lens' ListModels (Maybe Text)
- listModels_datasetNameBeginsWith :: Lens' ListModels (Maybe Text)
- listModels_modelNameBeginsWith :: Lens' ListModels (Maybe Text)
- listModels_maxResults :: Lens' ListModels (Maybe Natural)
- data ListModelsResponse = ListModelsResponse' {
- nextToken :: Maybe Text
- modelSummaries :: Maybe [ModelSummary]
- httpStatus :: Int
- newListModelsResponse :: Int -> ListModelsResponse
- listModelsResponse_nextToken :: Lens' ListModelsResponse (Maybe Text)
- listModelsResponse_modelSummaries :: Lens' ListModelsResponse (Maybe [ModelSummary])
- listModelsResponse_httpStatus :: Lens' ListModelsResponse Int
Creating a Request
data ListModels Source #
See: newListModels
smart constructor.
ListModels' | |
|
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:status:ListModels'
, listModels_status
- The status of the ML model.
$sel:nextToken:ListModels'
, listModels_nextToken
- An opaque pagination token indicating where to continue the listing of
ML models.
$sel:datasetNameBeginsWith:ListModels'
, listModels_datasetNameBeginsWith
- The beginning of the name of the dataset of the ML models to be listed.
$sel:modelNameBeginsWith:ListModels'
, listModels_modelNameBeginsWith
- The beginning of the name of the ML models being listed.
$sel:maxResults:ListModels'
, listModels_maxResults
- Specifies the maximum number of ML models to list.
Request Lenses
listModels_status :: Lens' ListModels (Maybe ModelStatus) Source #
The status of the ML model.
listModels_nextToken :: Lens' ListModels (Maybe Text) Source #
An opaque pagination token indicating where to continue the listing of ML models.
listModels_datasetNameBeginsWith :: Lens' ListModels (Maybe Text) Source #
The beginning of the name of the dataset of the ML models to be listed.
listModels_modelNameBeginsWith :: Lens' ListModels (Maybe Text) Source #
The beginning of the name of the ML models being listed.
listModels_maxResults :: Lens' ListModels (Maybe Natural) Source #
Specifies the maximum number of ML models to list.
Destructuring the Response
data ListModelsResponse Source #
See: newListModelsResponse
smart constructor.
ListModelsResponse' | |
|
Instances
newListModelsResponse Source #
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:nextToken:ListModels'
, listModelsResponse_nextToken
- An opaque pagination token indicating where to continue the listing of
ML models.
$sel:modelSummaries:ListModelsResponse'
, listModelsResponse_modelSummaries
- Provides information on the specified model, including created time,
model and dataset ARNs, and status.
$sel:httpStatus:ListModelsResponse'
, listModelsResponse_httpStatus
- The response's http status code.
Response Lenses
listModelsResponse_nextToken :: Lens' ListModelsResponse (Maybe Text) Source #
An opaque pagination token indicating where to continue the listing of ML models.
listModelsResponse_modelSummaries :: Lens' ListModelsResponse (Maybe [ModelSummary]) Source #
Provides information on the specified model, including created time, model and dataset ARNs, and status.
listModelsResponse_httpStatus :: Lens' ListModelsResponse Int Source #
The response's http status code.