Class: Aws::Comprehend::Types::DetectToxicContentRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[:text_segments]

Instance Attribute Summary collapse

Instance Attribute Details

#language_codeString

The language of the input text. Currently, English is the only supported language.

Returns:

  • (String)


2686
2687
2688
2689
2690
2691
# File 'lib/aws-sdk-comprehend/types.rb', line 2686

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

#text_segmentsArray<Types::TextSegment>

A list of up to 10 text strings. Each string has a maximum size of 1 KB, and the maximum size of the list is 10 KB.

Returns:



2686
2687
2688
2689
2690
2691
# File 'lib/aws-sdk-comprehend/types.rb', line 2686

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