Skip to content

ResourceContent

Source code in docs_src/capo_bedrock_agentcore/types/resource_content.py
class ResourceContent(TypedDict, closed=True):
    type: "capo_bedrock_agentcore.types.resource_content_type.ResourceContentType"
    """<p>The type of resource content.</p>"""
    uri: NotRequired["str"]
    """<p>The URI of the resource content.</p>"""
    mime_type: NotRequired["str"]
    """<p>The MIME type of the resource content.</p>"""
    text: NotRequired["str"]
    """<p>The text resource content.</p>"""
    blob: NotRequired["bytes"]
    """<p>The binary resource content.</p>"""

blob instance-attribute

blob: NotRequired[bytes]

The binary resource content.

mime_type instance-attribute

mime_type: NotRequired[str]

The MIME type of the resource content.

text instance-attribute

text: NotRequired[str]

The text resource content.

type instance-attribute

The type of resource content.

uri instance-attribute

uri: NotRequired[str]

The URI of the resource content.