Skip to content

GuardrailTopic

Source code in docs_src/capo_bedrock_agent_runtime/types/guardrail_topic.py
class GuardrailTopic(TypedDict, closed=True):
    name: NotRequired["str"]
    """<p>The name details on a specific topic in the Guardrail.</p>"""
    type: NotRequired[
        "capo_bedrock_agent_runtime.types.guardrail_topic_type.GuardrailTopicType"
    ]
    """<p>The type details on a specific topic in the Guardrail.</p>"""
    action: NotRequired[
        "capo_bedrock_agent_runtime.types.guardrail_topic_policy_action.GuardrailTopicPolicyAction"
    ]
    """<p>The action details on a specific topic in the Guardrail.</p>"""

action instance-attribute

action: NotRequired[GuardrailTopicPolicyAction]

The action details on a specific topic in the Guardrail.

name instance-attribute

name: NotRequired[str]

The name details on a specific topic in the Guardrail.

type instance-attribute

type: NotRequired[GuardrailTopicType]

The type details on a specific topic in the Guardrail.