View a markdown version of this page

ResponseChunk - Amazon Bedrock AgentCore Data Plane
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

ResponseChunk

A structure representing a response chunk that contains exactly one of the possible event types: contentStart, contentDelta, or contentStop.

Contents

contentDelta

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

Type: ContentDeltaEvent object

Required: No

contentStart

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

Type: ContentStartEvent object

Required: No

contentStop

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

Type: ContentStopEvent object

Required: No

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: