Skip to content

ResponseChunk

Source code in docs_src/capo_bedrock_agentcore/types/response_chunk.py
class ResponseChunk(TypedDict, closed=True):
    content_start: NotRequired[
        "capo_bedrock_agentcore.types.content_start_event.ContentStartEvent"
    ]
    """<p>An event indicating the start of content streaming from the command execution. This is the first chunk received.</p>"""
    content_delta: NotRequired[
        "capo_bedrock_agentcore.types.content_delta_event.ContentDeltaEvent"
    ]
    """<p>An event containing incremental output (stdout or stderr) from the command execution. These are the middle chunks.</p>"""
    content_stop: NotRequired[
        "capo_bedrock_agentcore.types.content_stop_event.ContentStopEvent"
    ]
    """<p>An event indicating the completion of the command execution, including the exit code and final status. This is the last chunk received.</p>"""

content_delta instance-attribute

content_delta: NotRequired[ContentDeltaEvent]

An event containing incremental output (stdout or stderr) from the command execution. These are the middle chunks.

content_start instance-attribute

content_start: NotRequired[ContentStartEvent]

An event indicating the start of content streaming from the command execution. This is the first chunk received.

content_stop instance-attribute

content_stop: NotRequired[ContentStopEvent]

An event indicating the completion of the command execution, including the exit code and final status. This is the last chunk received.