Module Values.UnsupportedLanguagePairExceptionSource

Amazon Translate does not support translation from the language of the source text into the requested target language. For more information, see Supported languages.

Sourcetype nonrec t = {
  1. message : String_.t option;
  2. sourceLanguageCode : LanguageCodeString.t option;
    (*

    The language code for the language of the input text.

    *)
  3. targetLanguageCode : LanguageCodeString.t option;
    (*

    The language code for the language of the translated text.

    *)
}
Sourceval make : ?message:??? -> ?sourceLanguageCode:??? -> ?targetLanguageCode:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of String_.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t