You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

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

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

Overview

Instance Attribute Summary collapse

Instance Attribute Details

#source_language_codeString

The language code for the language of the input text.

Returns:

  • (String)


64
65
66
67
68
69
# File 'gems/aws-sdk-translate/lib/aws-sdk-translate/types.rb', line 64

class TranslateTextResponse < Struct.new(
  :translated_text,
  :source_language_code,
  :target_language_code)
  include Aws::Structure
end

#target_language_codeString

The language code for the language of the translated text.

Returns:

  • (String)


64
65
66
67
68
69
# File 'gems/aws-sdk-translate/lib/aws-sdk-translate/types.rb', line 64

class TranslateTextResponse < Struct.new(
  :translated_text,
  :source_language_code,
  :target_language_code)
  include Aws::Structure
end

#translated_textString

The text translated into the target language.

Returns:

  • (String)


64
65
66
67
68
69
# File 'gems/aws-sdk-translate/lib/aws-sdk-translate/types.rb', line 64

class TranslateTextResponse < Struct.new(
  :translated_text,
  :source_language_code,
  :target_language_code)
  include Aws::Structure
end