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 |
Returns a list of vocabularies that match the specified criteria. If no criteria are specified, returns the entire list of vocabularies.
Synopsis
- data ListVocabularies = ListVocabularies' {}
- newListVocabularies :: ListVocabularies
- listVocabularies_nameContains :: Lens' ListVocabularies (Maybe Text)
- listVocabularies_nextToken :: Lens' ListVocabularies (Maybe Text)
- listVocabularies_stateEquals :: Lens' ListVocabularies (Maybe VocabularyState)
- listVocabularies_maxResults :: Lens' ListVocabularies (Maybe Natural)
- data ListVocabulariesResponse = ListVocabulariesResponse' {}
- newListVocabulariesResponse :: Int -> ListVocabulariesResponse
- listVocabulariesResponse_vocabularies :: Lens' ListVocabulariesResponse (Maybe [VocabularyInfo])
- listVocabulariesResponse_status :: Lens' ListVocabulariesResponse (Maybe VocabularyState)
- listVocabulariesResponse_nextToken :: Lens' ListVocabulariesResponse (Maybe Text)
- listVocabulariesResponse_httpStatus :: Lens' ListVocabulariesResponse Int
Creating a Request
data ListVocabularies Source #
See: newListVocabularies
smart constructor.
ListVocabularies' | |
|
Instances
newListVocabularies :: ListVocabularies Source #
Create a value of ListVocabularies
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:ListVocabularies'
, listVocabularies_nameContains
- When specified, the vocabularies returned in the list are limited to
vocabularies whose name contains the specified string. The search is not
case sensitive, ListVocabularies
returns both "vocabularyname" and
"VocabularyName" in the response list.
$sel:nextToken:ListVocabularies'
, listVocabularies_nextToken
- If the result of the previous request to ListVocabularies
was
truncated, include the NextToken
to fetch the next set of jobs.
$sel:stateEquals:ListVocabularies'
, listVocabularies_stateEquals
- When specified, only returns vocabularies with the VocabularyState
field equal to the specified state.
$sel:maxResults:ListVocabularies'
, listVocabularies_maxResults
- The maximum number of vocabularies 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
listVocabularies_nameContains :: Lens' ListVocabularies (Maybe Text) Source #
When specified, the vocabularies returned in the list are limited to
vocabularies whose name contains the specified string. The search is not
case sensitive, ListVocabularies
returns both "vocabularyname" and
"VocabularyName" in the response list.
listVocabularies_nextToken :: Lens' ListVocabularies (Maybe Text) Source #
If the result of the previous request to ListVocabularies
was
truncated, include the NextToken
to fetch the next set of jobs.
listVocabularies_stateEquals :: Lens' ListVocabularies (Maybe VocabularyState) Source #
When specified, only returns vocabularies with the VocabularyState
field equal to the specified state.
listVocabularies_maxResults :: Lens' ListVocabularies (Maybe Natural) Source #
The maximum number of vocabularies 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 ListVocabulariesResponse Source #
See: newListVocabulariesResponse
smart constructor.
ListVocabulariesResponse' | |
|
Instances
newListVocabulariesResponse Source #
Create a value of ListVocabulariesResponse
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:vocabularies:ListVocabulariesResponse'
, listVocabulariesResponse_vocabularies
- A list of objects that describe the vocabularies that match the search
criteria in the request.
$sel:status:ListVocabulariesResponse'
, listVocabulariesResponse_status
- The requested vocabulary state.
$sel:nextToken:ListVocabularies'
, listVocabulariesResponse_nextToken
- The ListVocabularies
operation returns a page of vocabularies at a
time. The maximum size of the page is set in the MaxResults
parameter.
If there are more jobs in the list than will fit on the page, Amazon
Transcribe returns the NextPage
token. To return in the next page of
jobs, include the token in the next request to the ListVocabularies
operation.
$sel:httpStatus:ListVocabulariesResponse'
, listVocabulariesResponse_httpStatus
- The response's http status code.
Response Lenses
listVocabulariesResponse_vocabularies :: Lens' ListVocabulariesResponse (Maybe [VocabularyInfo]) Source #
A list of objects that describe the vocabularies that match the search criteria in the request.
listVocabulariesResponse_status :: Lens' ListVocabulariesResponse (Maybe VocabularyState) Source #
The requested vocabulary state.
listVocabulariesResponse_nextToken :: Lens' ListVocabulariesResponse (Maybe Text) Source #
The ListVocabularies
operation returns a page of vocabularies at a
time. The maximum size of the page is set in the MaxResults
parameter.
If there are more jobs in the list than will fit on the page, Amazon
Transcribe returns the NextPage
token. To return in the next page of
jobs, include the token in the next request to the ListVocabularies
operation.
listVocabulariesResponse_httpStatus :: Lens' ListVocabulariesResponse Int Source #
The response's http status code.