list_languages
(**kwargs)¶Provides a list of languages (RFC-5646 codes and names) that Amazon Translate supports.
See also: AWS API Documentation
Request Syntax
response = client.list_languages(
DisplayLanguageCode='de'|'en'|'es'|'fr'|'it'|'ja'|'ko'|'pt'|'zh'|'zh-TW',
NextToken='string',
MaxResults=123
)
en
by default.dict
Response Syntax
{
'Languages': [
{
'LanguageName': 'string',
'LanguageCode': 'string'
},
],
'DisplayLanguageCode': 'de'|'en'|'es'|'fr'|'it'|'ja'|'ko'|'pt'|'zh'|'zh-TW',
'NextToken': 'string'
}
Response Structure
(dict) --
Languages (list) --
The list of supported languages.
(dict) --
A supported language.
LanguageName (string) --
Language name of the supported language.
LanguageCode (string) --
Language code for the supported language.
DisplayLanguageCode (string) --
The language code passed in with the request.
NextToken (string) --
If the response does not include all remaining results, use the NextToken in the next request to fetch the next group of supported languages.
Exceptions
Translate.Client.exceptions.InvalidParameterValueException
Translate.Client.exceptions.TooManyRequestsException
Translate.Client.exceptions.UnsupportedDisplayLanguageCodeException
Translate.Client.exceptions.InternalServerException