Skip to content

GuardrailTopicPolicy

Source code in docs_src/capo_bedrock/types/guardrail_topic_policy.py
class GuardrailTopicPolicy(TypedDict, closed=True):
    topics: "capo_bedrock.types.guardrail_topics.GuardrailTopics"
    """<p>A list of policies related to topics that the guardrail should deny.</p>"""
    tier: NotRequired["capo_bedrock.types.guardrail_topics_tier.GuardrailTopicsTier"]
    """<p>The tier that your guardrail uses for denied topic filters.</p>"""

tier instance-attribute

tier: NotRequired[GuardrailTopicsTier]

The tier that your guardrail uses for denied topic filters.

topics instance-attribute

A list of policies related to topics that the guardrail should deny.