Skip to content

GuardrailChecksMessage

Source code in docs_src/capo_bedrock_runtime/types/guardrail_checks_message.py
class GuardrailChecksMessage(TypedDict, closed=True):
    role: "capo_bedrock_runtime.types.guardrail_checks_role.GuardrailChecksRole"
    """<p>The role of the message sender.</p>"""
    content: "capo_bedrock_runtime.types.guardrail_checks_content_block_list.GuardrailChecksContentBlockList"
    """<p>The content blocks for the message.</p>"""

content instance-attribute

The content blocks for the message.

role instance-attribute

The role of the message sender.