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 medical vocabularies that match the specified criteria. If no criteria are specified, all custom medical vocabularies are returned.
To get detailed information about a specific custom medical vocabulary, use the operation.
Synopsis
- data ListMedicalVocabularies = ListMedicalVocabularies' {}
- newListMedicalVocabularies :: ListMedicalVocabularies
- listMedicalVocabularies_maxResults :: Lens' ListMedicalVocabularies (Maybe Natural)
- listMedicalVocabularies_nameContains :: Lens' ListMedicalVocabularies (Maybe Text)
- listMedicalVocabularies_nextToken :: Lens' ListMedicalVocabularies (Maybe Text)
- listMedicalVocabularies_stateEquals :: Lens' ListMedicalVocabularies (Maybe VocabularyState)
- data ListMedicalVocabulariesResponse = ListMedicalVocabulariesResponse' {}
- newListMedicalVocabulariesResponse :: Int -> ListMedicalVocabulariesResponse
- listMedicalVocabulariesResponse_nextToken :: Lens' ListMedicalVocabulariesResponse (Maybe Text)
- listMedicalVocabulariesResponse_status :: Lens' ListMedicalVocabulariesResponse (Maybe VocabularyState)
- listMedicalVocabulariesResponse_vocabularies :: Lens' ListMedicalVocabulariesResponse (Maybe [VocabularyInfo])
- listMedicalVocabulariesResponse_httpStatus :: Lens' ListMedicalVocabulariesResponse Int
Creating a Request
data ListMedicalVocabularies Source #
See: newListMedicalVocabularies
smart constructor.
ListMedicalVocabularies' | |
|
Instances
newListMedicalVocabularies :: ListMedicalVocabularies Source #
Create a value of ListMedicalVocabularies
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:ListMedicalVocabularies'
, listMedicalVocabularies_maxResults
- The maximum number of custom medical 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:ListMedicalVocabularies'
, listMedicalVocabularies_nameContains
- Returns only the custom medical vocabularies that contain the specified
string. The search is not case sensitive.
ListMedicalVocabularies
, listMedicalVocabularies_nextToken
- If your ListMedicalVocabularies
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:ListMedicalVocabularies'
, listMedicalVocabularies_stateEquals
- Returns only custom medical vocabularies with the specified state.
Custom 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
listMedicalVocabularies_maxResults :: Lens' ListMedicalVocabularies (Maybe Natural) Source #
The maximum number of custom medical 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.
listMedicalVocabularies_nameContains :: Lens' ListMedicalVocabularies (Maybe Text) Source #
Returns only the custom medical vocabularies that contain the specified string. The search is not case sensitive.
listMedicalVocabularies_nextToken :: Lens' ListMedicalVocabularies (Maybe Text) Source #
If your ListMedicalVocabularies
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.
listMedicalVocabularies_stateEquals :: Lens' ListMedicalVocabularies (Maybe VocabularyState) Source #
Returns only custom medical vocabularies with the specified state.
Custom 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 ListMedicalVocabulariesResponse Source #
See: newListMedicalVocabulariesResponse
smart constructor.
ListMedicalVocabulariesResponse' | |
|
Instances
newListMedicalVocabulariesResponse Source #
Create a value of ListMedicalVocabulariesResponse
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:
ListMedicalVocabularies
, listMedicalVocabulariesResponse_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:ListMedicalVocabulariesResponse'
, listMedicalVocabulariesResponse_status
- Lists all custom medical vocabularies that have the status specified in
your request. Custom vocabularies are ordered by creation date, with the
newest vocabulary first.
$sel:vocabularies:ListMedicalVocabulariesResponse'
, listMedicalVocabulariesResponse_vocabularies
- Provides information about the custom medical vocabularies that match
the criteria specified in your request.
$sel:httpStatus:ListMedicalVocabulariesResponse'
, listMedicalVocabulariesResponse_httpStatus
- The response's http status code.
Response Lenses
listMedicalVocabulariesResponse_nextToken :: Lens' ListMedicalVocabulariesResponse (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.
listMedicalVocabulariesResponse_status :: Lens' ListMedicalVocabulariesResponse (Maybe VocabularyState) Source #
Lists all custom medical vocabularies that have the status specified in your request. Custom vocabularies are ordered by creation date, with the newest vocabulary first.
listMedicalVocabulariesResponse_vocabularies :: Lens' ListMedicalVocabulariesResponse (Maybe [VocabularyInfo]) Source #
Provides information about the custom medical vocabularies that match the criteria specified in your request.
listMedicalVocabulariesResponse_httpStatus :: Lens' ListMedicalVocabulariesResponse Int Source #
The response's http status code.