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 |
Provides more information about the custom language models you've created. You can use the information in this list to find a specific custom language model. You can then use the operation to get more information about it.
Synopsis
- data ListLanguageModels = ListLanguageModels' {}
- newListLanguageModels :: ListLanguageModels
- listLanguageModels_nameContains :: Lens' ListLanguageModels (Maybe Text)
- listLanguageModels_nextToken :: Lens' ListLanguageModels (Maybe Text)
- listLanguageModels_statusEquals :: Lens' ListLanguageModels (Maybe ModelStatus)
- listLanguageModels_maxResults :: Lens' ListLanguageModels (Maybe Natural)
- data ListLanguageModelsResponse = ListLanguageModelsResponse' {
- nextToken :: Maybe Text
- models :: Maybe [LanguageModel]
- httpStatus :: Int
- newListLanguageModelsResponse :: Int -> ListLanguageModelsResponse
- listLanguageModelsResponse_nextToken :: Lens' ListLanguageModelsResponse (Maybe Text)
- listLanguageModelsResponse_models :: Lens' ListLanguageModelsResponse (Maybe [LanguageModel])
- listLanguageModelsResponse_httpStatus :: Lens' ListLanguageModelsResponse Int
Creating a Request
data ListLanguageModels Source #
See: newListLanguageModels
smart constructor.
ListLanguageModels' | |
|
Instances
newListLanguageModels :: ListLanguageModels Source #
Create a value of ListLanguageModels
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:nameContains:ListLanguageModels'
, listLanguageModels_nameContains
- When specified, the custom language model names returned contain the
substring you've specified.
$sel:nextToken:ListLanguageModels'
, listLanguageModels_nextToken
- When included, fetches the next set of jobs if the result of the
previous request was truncated.
$sel:statusEquals:ListLanguageModels'
, listLanguageModels_statusEquals
- When specified, returns only custom language models with the specified
status. Language models are ordered by creation date, with the newest
models first. If you don't specify a status, Amazon Transcribe returns
all custom language models ordered by date.
$sel:maxResults:ListLanguageModels'
, listLanguageModels_maxResults
- The maximum number of language models to return in each page of results.
If there are fewer results than the value you specify, only the actual
results are returned. If you do not specify a value, the default of 5 is
used.
Request Lenses
listLanguageModels_nameContains :: Lens' ListLanguageModels (Maybe Text) Source #
When specified, the custom language model names returned contain the substring you've specified.
listLanguageModels_nextToken :: Lens' ListLanguageModels (Maybe Text) Source #
When included, fetches the next set of jobs if the result of the previous request was truncated.
listLanguageModels_statusEquals :: Lens' ListLanguageModels (Maybe ModelStatus) Source #
When specified, returns only custom language models with the specified status. Language models are ordered by creation date, with the newest models first. If you don't specify a status, Amazon Transcribe returns all custom language models ordered by date.
listLanguageModels_maxResults :: Lens' ListLanguageModels (Maybe Natural) Source #
The maximum number of language models to return in each page of results. If there are fewer results than the value you specify, only the actual results are returned. If you do not specify a value, the default of 5 is used.
Destructuring the Response
data ListLanguageModelsResponse Source #
See: newListLanguageModelsResponse
smart constructor.
ListLanguageModelsResponse' | |
|
Instances
newListLanguageModelsResponse Source #
Create a value of ListLanguageModelsResponse
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:ListLanguageModels'
, listLanguageModelsResponse_nextToken
- The operation returns a page of jobs at a time. The maximum size of the
list is set by the MaxResults parameter. If there are more language
models in the list than the page size, Amazon Transcribe returns the
NextPage
token. Include the token in the next request to the operation
to return the next page of language models.
$sel:models:ListLanguageModelsResponse'
, listLanguageModelsResponse_models
- A list of objects containing information about custom language models.
$sel:httpStatus:ListLanguageModelsResponse'
, listLanguageModelsResponse_httpStatus
- The response's http status code.
Response Lenses
listLanguageModelsResponse_nextToken :: Lens' ListLanguageModelsResponse (Maybe Text) Source #
The operation returns a page of jobs at a time. The maximum size of the
list is set by the MaxResults parameter. If there are more language
models in the list than the page size, Amazon Transcribe returns the
NextPage
token. Include the token in the next request to the operation
to return the next page of language models.
listLanguageModelsResponse_models :: Lens' ListLanguageModelsResponse (Maybe [LanguageModel]) Source #
A list of objects containing information about custom language models.
listLanguageModelsResponse_httpStatus :: Lens' ListLanguageModelsResponse Int Source #
The response's http status code.