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 |
Lists the default vocabularies for the specified Amazon Connect instance.
This operation returns paginated results.
Synopsis
- data ListDefaultVocabularies = ListDefaultVocabularies' {}
- newListDefaultVocabularies :: Text -> ListDefaultVocabularies
- listDefaultVocabularies_languageCode :: Lens' ListDefaultVocabularies (Maybe VocabularyLanguageCode)
- listDefaultVocabularies_maxResults :: Lens' ListDefaultVocabularies (Maybe Natural)
- listDefaultVocabularies_nextToken :: Lens' ListDefaultVocabularies (Maybe Text)
- listDefaultVocabularies_instanceId :: Lens' ListDefaultVocabularies Text
- data ListDefaultVocabulariesResponse = ListDefaultVocabulariesResponse' {}
- newListDefaultVocabulariesResponse :: Int -> ListDefaultVocabulariesResponse
- listDefaultVocabulariesResponse_nextToken :: Lens' ListDefaultVocabulariesResponse (Maybe Text)
- listDefaultVocabulariesResponse_httpStatus :: Lens' ListDefaultVocabulariesResponse Int
- listDefaultVocabulariesResponse_defaultVocabularyList :: Lens' ListDefaultVocabulariesResponse [DefaultVocabulary]
Creating a Request
data ListDefaultVocabularies Source #
See: newListDefaultVocabularies
smart constructor.
ListDefaultVocabularies' | |
|
Instances
newListDefaultVocabularies Source #
Create a value of ListDefaultVocabularies
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:
ListDefaultVocabularies
, listDefaultVocabularies_languageCode
- The language code of the vocabulary entries. For a list of languages and
their corresponding language codes, see
What is Amazon Transcribe?
$sel:maxResults:ListDefaultVocabularies'
, listDefaultVocabularies_maxResults
- The maximum number of results to return per page.
ListDefaultVocabularies
, listDefaultVocabularies_nextToken
- The token for the next set of results. Use the value returned in the
previous response in the next request to retrieve the next set of
results.
ListDefaultVocabularies
, listDefaultVocabularies_instanceId
- The identifier of the Amazon Connect instance. You can find the
instanceId in the ARN of the instance.
Request Lenses
listDefaultVocabularies_languageCode :: Lens' ListDefaultVocabularies (Maybe VocabularyLanguageCode) Source #
The language code of the vocabulary entries. For a list of languages and their corresponding language codes, see What is Amazon Transcribe?
listDefaultVocabularies_maxResults :: Lens' ListDefaultVocabularies (Maybe Natural) Source #
The maximum number of results to return per page.
listDefaultVocabularies_nextToken :: Lens' ListDefaultVocabularies (Maybe Text) Source #
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
listDefaultVocabularies_instanceId :: Lens' ListDefaultVocabularies Text Source #
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
Destructuring the Response
data ListDefaultVocabulariesResponse Source #
See: newListDefaultVocabulariesResponse
smart constructor.
ListDefaultVocabulariesResponse' | |
|
Instances
newListDefaultVocabulariesResponse Source #
Create a value of ListDefaultVocabulariesResponse
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:
ListDefaultVocabularies
, listDefaultVocabulariesResponse_nextToken
- If there are additional results, this is the token for the next set of
results.
$sel:httpStatus:ListDefaultVocabulariesResponse'
, listDefaultVocabulariesResponse_httpStatus
- The response's http status code.
$sel:defaultVocabularyList:ListDefaultVocabulariesResponse'
, listDefaultVocabulariesResponse_defaultVocabularyList
- A list of default vocabularies.
Response Lenses
listDefaultVocabulariesResponse_nextToken :: Lens' ListDefaultVocabulariesResponse (Maybe Text) Source #
If there are additional results, this is the token for the next set of results.
listDefaultVocabulariesResponse_httpStatus :: Lens' ListDefaultVocabulariesResponse Int Source #
The response's http status code.
listDefaultVocabulariesResponse_defaultVocabularyList :: Lens' ListDefaultVocabulariesResponse [DefaultVocabulary] Source #
A list of default vocabularies.