The output of DetectToxicContentCommand.

interface DetectToxicContentCommandOutput {
    $metadata: ResponseMetadata;
    ResultList?: ToxicLabels[];
}

Hierarchy (view full)

Properties

$metadata: ResponseMetadata

Metadata pertaining to this request.

ResultList?: ToxicLabels[]

Results of the content moderation analysis. Each entry in the results list contains a list of toxic content types identified in the text, along with a confidence score for each content type. The results list also includes a toxicity score for each entry in the results list.