CodeInterpreterStreamOutput
Contains output from a code interpreter stream.
Inheritors
Types
The output produced by executing code in a code interpreter session in Amazon Bedrock. This structure contains the results of code execution, including textual output, structured data, and error information. Agents use these results to generate responses that incorporate computation, data analysis, and visualization.
Functions
Casts this CodeInterpreterStreamOutput as a Result and retrieves its aws.sdk.kotlin.services.bedrockagentcore.model.CodeInterpreterResult value. Throws an exception if the CodeInterpreterStreamOutput is not a Result.
Casts this CodeInterpreterStreamOutput as a Result and retrieves its aws.sdk.kotlin.services.bedrockagentcore.model.CodeInterpreterResult value. Returns null if the CodeInterpreterStreamOutput is not a Result.