Skip to content

GuardrailWordPolicy

Source code in docs_src/capo_bedrock/types/guardrail_word_policy.py
class GuardrailWordPolicy(TypedDict, closed=True):
    words: NotRequired["capo_bedrock.types.guardrail_words.GuardrailWords"]
    """<p>A list of words configured for the guardrail.</p>"""
    managed_word_lists: NotRequired[
        "capo_bedrock.types.guardrail_managed_word_lists.GuardrailManagedWordLists"
    ]
    """<p>A list of managed words configured for the guardrail.</p>"""

managed_word_lists instance-attribute

managed_word_lists: NotRequired[GuardrailManagedWordLists]

A list of managed words configured for the guardrail.

words instance-attribute

words: NotRequired[GuardrailWords]

A list of words configured for the guardrail.