Skip to content

GuardrailCustomWord

Source code in docs_src/capo_bedrock_agent_runtime/types/guardrail_custom_word.py
class GuardrailCustomWord(TypedDict, closed=True):
    match: NotRequired["str"]
    """<p>The match details for the custom word filter in the Guardrail.</p>"""
    action: NotRequired[
        "capo_bedrock_agent_runtime.types.guardrail_word_policy_action.GuardrailWordPolicyAction"
    ]
    """<p>The action details for the custom word filter in the Guardrail.</p>"""

action instance-attribute

action: NotRequired[GuardrailWordPolicyAction]

The action details for the custom word filter in the Guardrail.

match instance-attribute

match: NotRequired[str]

The match details for the custom word filter in the Guardrail.