Skip to content

GuardrailTextCharactersCoverage

Source code in docs_src/capo_bedrock_runtime/types/guardrail_text_characters_coverage.py
class GuardrailTextCharactersCoverage(TypedDict, closed=True):
    guarded: NotRequired[
        "capo_bedrock_runtime.types.text_characters_guarded.TextCharactersGuarded"
    ]
    """<p>The text characters that were guarded by the guardrail coverage.</p>"""
    total: NotRequired[
        "capo_bedrock_runtime.types.text_characters_total.TextCharactersTotal"
    ]
    """<p>The total text characters by the guardrail coverage.</p>"""

guarded instance-attribute

guarded: NotRequired[TextCharactersGuarded]

The text characters that were guarded by the guardrail coverage.

total instance-attribute

total: NotRequired[TextCharactersTotal]

The total text characters by the guardrail coverage.