Smaws_Client_Translate.ListLanguagesProvides a list of languages (RFC-5646 codes and names) that Amazon Translate supports.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `InternalServerException of Types.internal_server_exception
| `InvalidParameterValueException of Types.invalid_parameter_value_exception
| `TooManyRequestsException of Types.too_many_requests_exception
| `UnsupportedDisplayLanguageCodeException of
Types.unsupported_display_language_code_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.list_languages_request ->
(Types.list_languages_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `InternalServerException of Types.internal_server_exception
| `InvalidParameterValueException of
Types.invalid_parameter_value_exception
| `TooManyRequestsException of Types.too_many_requests_exception
| `UnsupportedDisplayLanguageCodeException of
Types.unsupported_display_language_code_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.list_languages_request ->
(Types.list_languages_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `InternalServerException of Types.internal_server_exception
| `InvalidParameterValueException of
Types.invalid_parameter_value_exception
| `TooManyRequestsException of Types.too_many_requests_exception
| `UnsupportedDisplayLanguageCodeException of
Types.unsupported_display_language_code_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result