The input for DetectToxicContentCommand.

interface DetectToxicContentCommandInput {
    LanguageCode: undefined | LanguageCode;
    TextSegments: undefined | TextSegment[];
}

Hierarchy (view full)

Properties

LanguageCode: undefined | LanguageCode

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

TextSegments: undefined | 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.