Skip to content

/AWS1/CL_XL8TRANSLATEDOCRSP

TranslateDocumentResponse

CONSTRUCTOR

IMPORTING

Required arguments:

IO_TRANSLATEDDOCUMENT TYPE REF TO /AWS1/CL_XL8TRANSLATEDDOCUMENT /AWS1/CL_XL8TRANSLATEDDOCUMENT

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

IV_SOURCELANGUAGECODE TYPE /AWS1/XL8LANGUAGECODESTRING /AWS1/XL8LANGUAGECODESTRING

The language code of the source document.

IV_TARGETLANGUAGECODE TYPE /AWS1/XL8LANGUAGECODESTRING /AWS1/XL8LANGUAGECODESTRING

The language code of the translated document.

Optional arguments:

IT_APPLIEDTERMINOLOGIES TYPE /AWS1/CL_XL8APPLIEDTERMINOLOGY=>TT_APPLIEDTERMINOLOGYLIST TT_APPLIEDTERMINOLOGYLIST

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

IO_APPLIEDSETTINGS TYPE REF TO /AWS1/CL_XL8XLATIONSETTINGS /AWS1/CL_XL8XLATIONSETTINGS

AppliedSettings


Queryable Attributes

TranslatedDocument

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

Accessible with the following methods

Method Description
GET_TRANSLATEDDOCUMENT() Getter for TRANSLATEDDOCUMENT

SourceLanguageCode

The language code of the source document.

Accessible with the following methods

Method Description
GET_SOURCELANGUAGECODE() Getter for SOURCELANGUAGECODE, with configurable default
ASK_SOURCELANGUAGECODE() Getter for SOURCELANGUAGECODE w/ exceptions if field has no
HAS_SOURCELANGUAGECODE() Determine if SOURCELANGUAGECODE has a value

TargetLanguageCode

The language code of the translated document.

Accessible with the following methods

Method Description
GET_TARGETLANGUAGECODE() Getter for TARGETLANGUAGECODE, with configurable default
ASK_TARGETLANGUAGECODE() Getter for TARGETLANGUAGECODE w/ exceptions if field has no
HAS_TARGETLANGUAGECODE() Determine if TARGETLANGUAGECODE has a value

AppliedTerminologies

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

Accessible with the following methods

Method Description
GET_APPLIEDTERMINOLOGIES() Getter for APPLIEDTERMINOLOGIES, with configurable default
ASK_APPLIEDTERMINOLOGIES() Getter for APPLIEDTERMINOLOGIES w/ exceptions if field has n
HAS_APPLIEDTERMINOLOGIES() Determine if APPLIEDTERMINOLOGIES has a value

AppliedSettings

AppliedSettings

Accessible with the following methods

Method Description
GET_APPLIEDSETTINGS() Getter for APPLIEDSETTINGS