View a markdown version of this page

ContentPolicyFilter - Amazon GuardDuty
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

ContentPolicyFilter

Contains information about a content policy filter that matched during a guardrail evaluation.

Contents

action

The action taken by the guardrail filter.

Type: String

Valid Values: BLOCKED | NONE

Required: No

confidence

The confidence level that the content matched the filter.

Type: String

Valid Values: HIGH | MEDIUM | LOW | NONE

Required: No

type

The type of content that was filtered by the guardrail.

Type: String

Valid Values: PROMPT_ATTACK | JAILBREAK | HATE | INSULTS | SEXUAL | VIOLENCE | MISCONDUCT

Required: No

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: