Class: Aws::Translate::Types::TranslateDocumentResponse

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-translate/lib/aws-sdk-translate/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#applied_settingsTypes::TranslationSettings

Settings to configure your translation output. You can configure the following options:

  • Brevity: reduces the length of the translation output for most translations. Available for TranslateText only.

  • Formality: sets the formality level of the translation output.

  • Profanity: masks profane words and phrases in the translation output.



1804
1805
1806
1807
1808
1809
1810
1811
1812
# File 'gems/aws-sdk-translate/lib/aws-sdk-translate/types.rb', line 1804

class TranslateDocumentResponse < Struct.new(
  :translated_document,
  :source_language_code,
  :target_language_code,
  :applied_terminologies,
  :applied_settings)
  SENSITIVE = []
  include Aws::Structure
end

#applied_terminologiesArray<Types::AppliedTerminology>

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

Returns:



1804
1805
1806
1807
1808
1809
1810
1811
1812
# File 'gems/aws-sdk-translate/lib/aws-sdk-translate/types.rb', line 1804

class TranslateDocumentResponse < Struct.new(
  :translated_document,
  :source_language_code,
  :target_language_code,
  :applied_terminologies,
  :applied_settings)
  SENSITIVE = []
  include Aws::Structure
end

#source_language_codeString

The language code of the source document.

Returns:

  • (String)


1804
1805
1806
1807
1808
1809
1810
1811
1812
# File 'gems/aws-sdk-translate/lib/aws-sdk-translate/types.rb', line 1804

class TranslateDocumentResponse < Struct.new(
  :translated_document,
  :source_language_code,
  :target_language_code,
  :applied_terminologies,
  :applied_settings)
  SENSITIVE = []
  include Aws::Structure
end

#target_language_codeString

The language code of the translated document.

Returns:

  • (String)


1804
1805
1806
1807
1808
1809
1810
1811
1812
# File 'gems/aws-sdk-translate/lib/aws-sdk-translate/types.rb', line 1804

class TranslateDocumentResponse < Struct.new(
  :translated_document,
  :source_language_code,
  :target_language_code,
  :applied_terminologies,
  :applied_settings)
  SENSITIVE = []
  include Aws::Structure
end

#translated_documentTypes::TranslatedDocument

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



1804
1805
1806
1807
1808
1809
1810
1811
1812
# File 'gems/aws-sdk-translate/lib/aws-sdk-translate/types.rb', line 1804

class TranslateDocumentResponse < Struct.new(
  :translated_document,
  :source_language_code,
  :target_language_code,
  :applied_terminologies,
  :applied_settings)
  SENSITIVE = []
  include Aws::Structure
end