interface TranslateDocumentResponse {
    AppliedSettings?: TranslationSettings;
    AppliedTerminologies?: AppliedTerminology[];
    SourceLanguageCode: undefined | string;
    TargetLanguageCode: undefined | string;
    TranslatedDocument: undefined | TranslatedDocument;
}

Hierarchy (view full)

Properties

AppliedSettings?: TranslationSettings

Settings to configure your translation output, including the option to set the formality level of the output text and the option to mask profane words and phrases.

AppliedTerminologies?: AppliedTerminology[]

The names of the custom terminologies applied to the input text by Amazon Translate to produce the translated text document.

SourceLanguageCode: undefined | string

The language code of the source document.

TargetLanguageCode: undefined | string

The language code of the translated document.

TranslatedDocument: undefined | TranslatedDocument

The document containing the translated content. The document format matches the source document format.