TranscribeService / Client / list_vocabulary_filters
list_vocabulary_filters#
- TranscribeService.Client.list_vocabulary_filters(**kwargs)#
Provides a list of custom vocabulary filters that match the specified criteria. If no criteria are specified, all custom vocabularies are returned.
To get detailed information about a specific custom vocabulary filter, use the operation.
See also: AWS API Documentation
Request Syntax
response = client.list_vocabulary_filters( NextToken='string', MaxResults=123, NameContains='string' )
- Parameters:
NextToken (string) – If your
ListVocabularyFilters
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, includingNextToken
with the value of the copied string. Repeat as needed to view all your results.MaxResults (integer) – The maximum number of custom vocabulary filters 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 do not specify a value, a default of 5 is used.
NameContains (string) – Returns only the custom vocabulary filters that contain the specified string. The search is not case sensitive.
- Return type:
dict
- Returns:
Response Syntax
{ 'NextToken': 'string', 'VocabularyFilters': [ { 'VocabularyFilterName': 'string', 'LanguageCode': 'af-ZA'|'ar-AE'|'ar-SA'|'da-DK'|'de-CH'|'de-DE'|'en-AB'|'en-AU'|'en-GB'|'en-IE'|'en-IN'|'en-US'|'en-WL'|'es-ES'|'es-US'|'fa-IR'|'fr-CA'|'fr-FR'|'he-IL'|'hi-IN'|'id-ID'|'it-IT'|'ja-JP'|'ko-KR'|'ms-MY'|'nl-NL'|'pt-BR'|'pt-PT'|'ru-RU'|'ta-IN'|'te-IN'|'tr-TR'|'zh-CN'|'zh-TW'|'th-TH'|'en-ZA'|'en-NZ'|'vi-VN'|'sv-SE'|'ab-GE'|'ast-ES'|'az-AZ'|'ba-RU'|'be-BY'|'bg-BG'|'bn-IN'|'bs-BA'|'ca-ES'|'ckb-IQ'|'ckb-IR'|'cs-CZ'|'cy-WL'|'el-GR'|'et-ET'|'eu-ES'|'fi-FI'|'gl-ES'|'gu-IN'|'ha-NG'|'hr-HR'|'hu-HU'|'hy-AM'|'is-IS'|'ka-GE'|'kab-DZ'|'kk-KZ'|'kn-IN'|'ky-KG'|'lg-IN'|'lt-LT'|'lv-LV'|'mhr-RU'|'mi-NZ'|'mk-MK'|'ml-IN'|'mn-MN'|'mr-IN'|'mt-MT'|'no-NO'|'or-IN'|'pa-IN'|'pl-PL'|'ps-AF'|'ro-RO'|'rw-RW'|'si-LK'|'sk-SK'|'sl-SI'|'so-SO'|'sr-RS'|'su-ID'|'sw-BI'|'sw-KE'|'sw-RW'|'sw-TZ'|'sw-UG'|'tl-PH'|'tt-RU'|'ug-CN'|'uk-UA'|'uz-UZ'|'wo-SN'|'zu-ZA', 'LastModifiedTime': datetime(2015, 1, 1) }, ] }
Response Structure
(dict) –
NextToken (string) –
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 theNextToken
parameter in your results output, then run your request again includingNextToken
with the value of the copied string. Repeat as needed to view all your results.VocabularyFilters (list) –
Provides information about the custom vocabulary filters that match the criteria specified in your request.
(dict) –
Provides information about a custom vocabulary filter, including the language of the filter, when it was last modified, and its name.
VocabularyFilterName (string) –
A unique name, chosen by you, for your custom vocabulary filter. This name is case sensitive, cannot contain spaces, and must be unique within an Amazon Web Services account.
LanguageCode (string) –
The language code that represents the language of the entries in your vocabulary filter. Each custom vocabulary filter must contain terms in only one language.
A custom vocabulary filter can only be used to transcribe files in the same language as the filter. For example, if you create a custom vocabulary filter using US English (
en-US
), you can only apply this filter to files that contain English audio.For a list of supported languages and their associated language codes, refer to the Supported languages table.
LastModifiedTime (datetime) –
The date and time the specified custom vocabulary filter was last modified.
Timestamps are in the format
YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC
. For example,2022-05-04T12:32:58.761000-07:00
represents 12:32 PM UTC-7 on May 4, 2022.
Exceptions
TranscribeService.Client.exceptions.BadRequestException
TranscribeService.Client.exceptions.LimitExceededException
TranscribeService.Client.exceptions.InternalFailureException