Class: Aws::Translate::Types::TranslateTextResponse

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

Optional settings that modify the translation output.



1915
1916
1917
1918
1919
1920
1921
1922
1923
# File 'gems/aws-sdk-translate/lib/aws-sdk-translate/types.rb', line 1915

class TranslateTextResponse < Struct.new(
  :translated_text,
  :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 for the translated text response.

Returns:



1915
1916
1917
1918
1919
1920
1921
1922
1923
# File 'gems/aws-sdk-translate/lib/aws-sdk-translate/types.rb', line 1915

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

#source_language_codeString

The language code for the language of the source text.

Returns:

  • (String)


1915
1916
1917
1918
1919
1920
1921
1922
1923
# File 'gems/aws-sdk-translate/lib/aws-sdk-translate/types.rb', line 1915

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

#target_language_codeString

The language code for the language of the target text.

Returns:

  • (String)


1915
1916
1917
1918
1919
1920
1921
1922
1923
# File 'gems/aws-sdk-translate/lib/aws-sdk-translate/types.rb', line 1915

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

#translated_textString

The translated text.

Returns:

  • (String)


1915
1916
1917
1918
1919
1920
1921
1922
1923
# File 'gems/aws-sdk-translate/lib/aws-sdk-translate/types.rb', line 1915

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