Skip to content

GuardrailChecksUsageResults

Source code in docs_src/capo_bedrock_runtime/types/guardrail_checks_usage_results.py
class GuardrailChecksUsageResults(TypedDict, closed=True):
    content_filter: NotRequired[
        "capo_bedrock_runtime.types.guardrail_checks_content_filter_usage.GuardrailChecksContentFilterUsage"
    ]
    """<p>The text unit usage for the content filter check.</p>"""
    prompt_attack: NotRequired[
        "capo_bedrock_runtime.types.guardrail_checks_prompt_attack_usage.GuardrailChecksPromptAttackUsage"
    ]
    """<p>The text unit usage for the prompt attack check.</p>"""
    sensitive_information: NotRequired[
        "capo_bedrock_runtime.types.guardrail_checks_sensitive_information_usage.GuardrailChecksSensitiveInformationUsage"
    ]
    """<p>The text unit usage for the sensitive information check.</p>"""

content_filter instance-attribute

content_filter: NotRequired[GuardrailChecksContentFilterUsage]

The text unit usage for the content filter check.

prompt_attack instance-attribute

prompt_attack: NotRequired[GuardrailChecksPromptAttackUsage]

The text unit usage for the prompt attack check.

sensitive_information instance-attribute

sensitive_information: NotRequired[GuardrailChecksSensitiveInformationUsage]

The text unit usage for the sensitive information check.