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 |
Provides a list of custom vocabularies that match the specified criteria. If no criteria are specified, all custom vocabularies are returned.
To get detailed information about a specific custom vocabulary, use the operation.
Synopsis
- data ListVocabularies = ListVocabularies' {}
- newListVocabularies :: ListVocabularies
- listVocabularies_maxResults :: Lens' ListVocabularies (Maybe Natural)
- listVocabularies_nameContains :: Lens' ListVocabularies (Maybe Text)
- listVocabularies_nextToken :: Lens' ListVocabularies (Maybe Text)
- listVocabularies_stateEquals :: Lens' ListVocabularies (Maybe VocabularyState)
- data ListVocabulariesResponse = ListVocabulariesResponse' {}
- newListVocabulariesResponse :: Int -> ListVocabulariesResponse
- listVocabulariesResponse_nextToken :: Lens' ListVocabulariesResponse (Maybe Text)
- listVocabulariesResponse_status :: Lens' ListVocabulariesResponse (Maybe VocabularyState)
- listVocabulariesResponse_vocabularies :: Lens' ListVocabulariesResponse (Maybe [VocabularyInfo])
- 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:maxResults:ListVocabularies'
, listVocabularies_maxResults
- The maximum number of custom vocabularies to return in each page of
results. If there are fewer results than the value that you specify,
only the actual results are returned. If you don't specify a value, a
default of 5 is used.
$sel:nameContains:ListVocabularies'
, listVocabularies_nameContains
- Returns only the custom vocabularies that contain the specified string.
The search is not case sensitive.
ListVocabularies
, listVocabularies_nextToken
- If your ListVocabularies
request returns more results than can be
displayed, NextToken
is displayed in the response with an associated
string. To get the next page of results, copy this string and repeat
your request, including NextToken
with the value of the copied string.
Repeat as needed to view all your results.
$sel:stateEquals:ListVocabularies'
, listVocabularies_stateEquals
- Returns only custom vocabularies with the specified state. Vocabularies
are ordered by creation date, with the newest vocabulary first. If you
don't include StateEquals
, all custom medical vocabularies are
returned.
Request Lenses
listVocabularies_maxResults :: Lens' ListVocabularies (Maybe Natural) Source #
The maximum number of custom vocabularies to return in each page of results. If there are fewer results than the value that you specify, only the actual results are returned. If you don't specify a value, a default of 5 is used.
listVocabularies_nameContains :: Lens' ListVocabularies (Maybe Text) Source #
Returns only the custom vocabularies that contain the specified string. The search is not case sensitive.
listVocabularies_nextToken :: Lens' ListVocabularies (Maybe Text) Source #
If your ListVocabularies
request returns more results than can be
displayed, NextToken
is displayed in the response with an associated
string. To get the next page of results, copy this string and repeat
your request, including NextToken
with the value of the copied string.
Repeat as needed to view all your results.
listVocabularies_stateEquals :: Lens' ListVocabularies (Maybe VocabularyState) Source #
Returns only custom vocabularies with the specified state. Vocabularies
are ordered by creation date, with the newest vocabulary first. If you
don't include StateEquals
, all custom medical vocabularies are
returned.
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:
ListVocabularies
, listVocabulariesResponse_nextToken
- If NextToken
is present in your response, it indicates that not all
results are displayed. To view the next set of results, copy the string
associated with the NextToken
parameter in your results output, then
run your request again including NextToken
with the value of the
copied string. Repeat as needed to view all your results.
$sel:status:ListVocabulariesResponse'
, listVocabulariesResponse_status
- Lists all custom vocabularies that have the status specified in your
request. Vocabularies are ordered by creation date, with the newest
vocabulary first.
$sel:vocabularies:ListVocabulariesResponse'
, listVocabulariesResponse_vocabularies
- Provides information about the custom vocabularies that match the
criteria specified in your request.
$sel:httpStatus:ListVocabulariesResponse'
, listVocabulariesResponse_httpStatus
- The response's http status code.
Response Lenses
listVocabulariesResponse_nextToken :: Lens' ListVocabulariesResponse (Maybe Text) Source #
If NextToken
is present in your response, it indicates that not all
results are displayed. To view the next set of results, copy the string
associated with the NextToken
parameter in your results output, then
run your request again including NextToken
with the value of the
copied string. Repeat as needed to view all your results.
listVocabulariesResponse_status :: Lens' ListVocabulariesResponse (Maybe VocabularyState) Source #
Lists all custom vocabularies that have the status specified in your request. Vocabularies are ordered by creation date, with the newest vocabulary first.
listVocabulariesResponse_vocabularies :: Lens' ListVocabulariesResponse (Maybe [VocabularyInfo]) Source #
Provides information about the custom vocabularies that match the criteria specified in your request.
listVocabulariesResponse_httpStatus :: Lens' ListVocabulariesResponse Int Source #
The response's http status code.