Skip to content

GuardrailManagedWord

Source code in docs_src/capo_bedrock_runtime/types/guardrail_managed_word.py
class GuardrailManagedWord(TypedDict, closed=True):
    match: "str"
    """<p>The match for the managed word.</p>"""
    type: "capo_bedrock_runtime.types.guardrail_managed_word_type.GuardrailManagedWordType"
    """<p>The type for the managed word.</p>"""
    action: "capo_bedrock_runtime.types.guardrail_word_policy_action.GuardrailWordPolicyAction"
    """<p>The action for the managed word.</p>"""
    detected: NotRequired["bool"]
    """<p>Indicates whether managed word content that breaches the guardrail configuration is detected.</p>"""

action instance-attribute

The action for the managed word.

detected instance-attribute

detected: NotRequired[bool]

Indicates whether managed word content that breaches the guardrail configuration is detected.

match instance-attribute

match: str

The match for the managed word.

type instance-attribute

The type for the managed word.