Skip to content

GuardrailConfiguration

Source code in docs_src/capo_bedrock_runtime/types/guardrail_configuration.py
class GuardrailConfiguration(TypedDict, closed=True):
    guardrail_identifier: (
        "capo_bedrock_runtime.types.guardrail_identifier.GuardrailIdentifier"
    )
    """<p>The identifier for the guardrail.</p>"""
    guardrail_version: "capo_bedrock_runtime.types.guardrail_version.GuardrailVersion"
    """<p>The version of the guardrail.</p>"""
    trace: "capo_bedrock_runtime.types.guardrail_trace.GuardrailTrace"
    """<p>The trace behavior for the guardrail.</p>"""

guardrail_identifier instance-attribute

guardrail_identifier: GuardrailIdentifier

The identifier for the guardrail.

guardrail_version instance-attribute

guardrail_version: GuardrailVersion

The version of the guardrail.

trace instance-attribute

The trace behavior for the guardrail.