Skip to content

GuardrailImageBlock

Source code in docs_src/capo_bedrock_runtime/types/guardrail_image_block.py
class GuardrailImageBlock(TypedDict, closed=True):
    format: "capo_bedrock_runtime.types.guardrail_image_format.GuardrailImageFormat"
    """<p>The format details for the file type of the image blocked by the guardrail.</p>"""
    source: "capo_bedrock_runtime.types.guardrail_image_source.GuardrailImageSource"
    """<p>The image source (image bytes) details of the image blocked by the guardrail.</p>"""

format instance-attribute

The format details for the file type of the image blocked by the guardrail.

source instance-attribute

The image source (image bytes) details of the image blocked by the guardrail.