Skip to content

TranslateTextResponse

Source code in docs_src/capo_translate/types/translate_text_response.py
class TranslateTextResponse(TypedDict, closed=True):
    translated_text: "capo_translate.types.translated_text_string.TranslatedTextString"
    """<p>The translated text.</p>"""
    source_language_code: "capo_translate.types.language_code_string.LanguageCodeString"
    """<p>The language code for the language of the source text.</p>"""
    target_language_code: "capo_translate.types.language_code_string.LanguageCodeString"
    """<p>The language code for the language of the target text. </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 for the translated text response.</p>"""
    applied_settings: NotRequired[
        "capo_translate.types.translation_settings.TranslationSettings"
    ]
    """<p>Optional settings that modify the translation output.</p>"""

applied_settings instance-attribute

applied_settings: NotRequired[TranslationSettings]

Optional settings that modify the translation output.

applied_terminologies instance-attribute

applied_terminologies: NotRequired[AppliedTerminologyList]

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

source_language_code instance-attribute

source_language_code: LanguageCodeString

The language code for the language of the source text.

target_language_code instance-attribute

target_language_code: LanguageCodeString

The language code for the language of the target text.

translated_text instance-attribute

translated_text: TranslatedTextString

The translated text.