Skip to content

GuardrailCoverage

Source code in docs_src/capo_bedrock_runtime/types/guardrail_coverage.py
class GuardrailCoverage(TypedDict, closed=True):
    text_characters: NotRequired[
        "capo_bedrock_runtime.types.guardrail_text_characters_coverage.GuardrailTextCharactersCoverage"
    ]
    """<p>The text characters of the guardrail coverage details.</p>"""
    images: NotRequired[
        "capo_bedrock_runtime.types.guardrail_image_coverage.GuardrailImageCoverage"
    ]
    """<p>The guardrail coverage for images (the number of images that guardrails guarded).</p>"""

images instance-attribute

images: NotRequired[GuardrailImageCoverage]

The guardrail coverage for images (the number of images that guardrails guarded).

text_characters instance-attribute

text_characters: NotRequired[GuardrailTextCharactersCoverage]

The text characters of the guardrail coverage details.