Class: Aws::Translate::Types::TranslateDocumentResponse
- Inherits:
-
Struct
- Object
- Struct
- Aws::Translate::Types::TranslateDocumentResponse
- Defined in:
- gems/aws-sdk-translate/lib/aws-sdk-translate/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#applied_settings ⇒ Types::TranslationSettings
Settings to configure your translation output.
-
#applied_terminologies ⇒ Array<Types::AppliedTerminology>
The names of the custom terminologies applied to the input text by Amazon Translate to produce the translated text document.
-
#source_language_code ⇒ String
The language code of the source document.
-
#target_language_code ⇒ String
The language code of the translated document.
-
#translated_document ⇒ Types::TranslatedDocument
The document containing the translated content.
Instance Attribute Details
#applied_settings ⇒ Types::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_terminologies ⇒ Array<Types::AppliedTerminology>
The names of the custom terminologies applied to the input text by Amazon Translate to produce the translated text document.
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_code ⇒ String
The language code of the source document.
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_code ⇒ String
The language code of the translated document.
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_document ⇒ Types::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 |