Skip to content

TranslateDocumentResponse

Source code in docs_src/capo_translate/types/translate_document_response.py
class TranslateDocumentResponse(TypedDict, closed=True):
    translated_document: "capo_translate.types.translated_document.TranslatedDocument"
    """<p>The document containing the translated content. The document format matches the source document format.</p>"""
    source_language_code: "capo_translate.types.language_code_string.LanguageCodeString"
    """<p>The language code of the source document.</p>"""
    target_language_code: "capo_translate.types.language_code_string.LanguageCodeString"
    """<p>The language code of the translated document. </p>"""
    applied_terminologies: NotRequired[
        "capo_translate.types.applied_terminology_list.AppliedTerminologyList"
    ]
    """<p>The names of the custom terminologies applied to the input text by Amazon Translate to produce the translated text document.</p>"""
    applied_settings: NotRequired[
        "capo_translate.types.translation_settings.TranslationSettings"
    ]

applied_settings instance-attribute

applied_settings: NotRequired[TranslationSettings]

applied_terminologies instance-attribute

applied_terminologies: NotRequired[AppliedTerminologyList]

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

source_language_code instance-attribute

source_language_code: LanguageCodeString

The language code of the source document.

target_language_code instance-attribute

target_language_code: LanguageCodeString

The language code of the translated document.

translated_document instance-attribute

translated_document: TranslatedDocument

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