Class: Aws::Comprehend::Types::DetectSyntaxRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[:text]

Instance Attribute Summary collapse

Instance Attribute Details

#language_codeString

The language code of the input documents. You can specify any of the following languages supported by Amazon Comprehend: German ("de"), English ("en"), Spanish ("es"), French ("fr"), Italian ("it"), or Portuguese ("pt").

Returns:

  • (String)


2616
2617
2618
2619
2620
2621
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 2616

class DetectSyntaxRequest < Struct.new(
  :text,
  :language_code)
  SENSITIVE = [:text]
  include Aws::Structure
end

#textString

A UTF-8 string. The maximum string size is 5 KB.

Returns:

  • (String)


2616
2617
2618
2619
2620
2621
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 2616

class DetectSyntaxRequest < Struct.new(
  :text,
  :language_code)
  SENSITIVE = [:text]
  include Aws::Structure
end