Class: Aws::Translate::Types::UnsupportedLanguagePairException

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

Overview

Amazon Translate does not support translation from the language of the source text into the requested target language. For more information, see [Supported languages].

[1]: docs.aws.amazon.com/translate/latest/dg/what-is-languages.html

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#messageString

Returns:

  • (String)


2062
2063
2064
2065
2066
2067
2068
# File 'lib/aws-sdk-translate/types.rb', line 2062

class UnsupportedLanguagePairException < Struct.new(
  :message,
  :source_language_code,
  :target_language_code)
  SENSITIVE = []
  include Aws::Structure
end

#source_language_codeString

The language code for the language of the input text.

Returns:

  • (String)


2062
2063
2064
2065
2066
2067
2068
# File 'lib/aws-sdk-translate/types.rb', line 2062

class UnsupportedLanguagePairException < Struct.new(
  :message,
  :source_language_code,
  :target_language_code)
  SENSITIVE = []
  include Aws::Structure
end

#target_language_codeString

The language code for the language of the translated text.

Returns:

  • (String)


2062
2063
2064
2065
2066
2067
2068
# File 'lib/aws-sdk-translate/types.rb', line 2062

class UnsupportedLanguagePairException < Struct.new(
  :message,
  :source_language_code,
  :target_language_code)
  SENSITIVE = []
  include Aws::Structure
end