The output of TranslateTextCommand.

interface TranslateTextCommandOutput {
    $metadata: ResponseMetadata;
    AppliedSettings?: TranslationSettings;
    AppliedTerminologies?: AppliedTerminology[];
    SourceLanguageCode: undefined | string;
    TargetLanguageCode: undefined | string;
    TranslatedText: undefined | string;
}

Hierarchy (view full)

Properties

$metadata: ResponseMetadata

Metadata pertaining to this request.

AppliedSettings?: TranslationSettings

Optional settings that modify the translation output.

AppliedTerminologies?: AppliedTerminology[]

The names of the custom terminologies applied to the input text by Amazon Translate for the translated text response.

SourceLanguageCode: undefined | string

The language code for the language of the source text.

TargetLanguageCode: undefined | string

The language code for the language of the target text.

TranslatedText: undefined | string

The translated text.