[−][src]Trait rusoto_translate::Translate
Trait representing the capabilities of the Amazon Translate API. Amazon Translate clients implement this trait.
Required Methods
fn translate_text(
&self,
input: TranslateTextRequest
) -> RusotoFuture<TranslateTextResponse, TranslateTextError>
&self,
input: TranslateTextRequest
) -> RusotoFuture<TranslateTextResponse, TranslateTextError>
Translates input text from the source language to the target language. You can translate between English (en) and one of the following languages, or between one of the following languages and English.
-
Arabic (ar)
-
Chinese (Simplified) (zh)
-
French (fr)
-
German (de)
-
Portuguese (pt)
-
Spanish (es)
To have Amazon Translate determine the source language of your text, you can specify auto
in the SourceLanguageCode
field. If you specify auto
, Amazon Translate will call Amazon Comprehend to determine the source language.
Implementors
impl Translate for TranslateClient
[src]
impl Translate for TranslateClient
fn translate_text(
&self,
input: TranslateTextRequest
) -> RusotoFuture<TranslateTextResponse, TranslateTextError>
[src]
fn translate_text(
&self,
input: TranslateTextRequest
) -> RusotoFuture<TranslateTextResponse, TranslateTextError>
Translates input text from the source language to the target language. You can translate between English (en) and one of the following languages, or between one of the following languages and English.
-
Arabic (ar)
-
Chinese (Simplified) (zh)
-
French (fr)
-
German (de)
-
Portuguese (pt)
-
Spanish (es)
To have Amazon Translate determine the source language of your text, you can specify auto
in the SourceLanguageCode
field. If you specify auto
, Amazon Translate will call Amazon Comprehend to determine the source language.