Class: Aws::Comprehend::Types::DetectToxicContentRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::Comprehend::Types::DetectToxicContentRequest
- Defined in:
- gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[:text_segments]
Instance Attribute Summary collapse
-
#language_code ⇒ String
The language of the input text.
-
#text_segments ⇒ Array<Types::TextSegment>
A list of up to 10 text strings.
Instance Attribute Details
#language_code ⇒ String
The language of the input text. Currently, English is the only supported language.
2686 2687 2688 2689 2690 2691 |
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 2686 class DetectToxicContentRequest < Struct.new( :text_segments, :language_code) SENSITIVE = [:text_segments] include Aws::Structure end |
#text_segments ⇒ Array<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.
2686 2687 2688 2689 2690 2691 |
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 2686 class DetectToxicContentRequest < Struct.new( :text_segments, :language_code) SENSITIVE = [:text_segments] include Aws::Structure end |