FlowResponseStream
The output of the flow.
Inheritors
Types
Contains information about why the flow completed.
The event stream containing the multi-turn input request information from the flow.
Contains information about an output from flow invocation.
Contains information about a trace, which tracks an input or output for a node in the flow.
Functions
Casts this FlowResponseStream as a FlowCompletionEvent and retrieves its aws.sdk.kotlin.services.bedrockagentruntime.model.FlowCompletionEvent value. Throws an exception if the FlowResponseStream is not a FlowCompletionEvent.
Casts this FlowResponseStream as a FlowCompletionEvent and retrieves its aws.sdk.kotlin.services.bedrockagentruntime.model.FlowCompletionEvent value. Returns null if the FlowResponseStream is not a FlowCompletionEvent.
Casts this FlowResponseStream as a FlowMultiTurnInputRequestEvent and retrieves its aws.sdk.kotlin.services.bedrockagentruntime.model.FlowMultiTurnInputRequestEvent value. Throws an exception if the FlowResponseStream is not a FlowMultiTurnInputRequestEvent.
Casts this FlowResponseStream as a FlowMultiTurnInputRequestEvent and retrieves its aws.sdk.kotlin.services.bedrockagentruntime.model.FlowMultiTurnInputRequestEvent value. Returns null if the FlowResponseStream is not a FlowMultiTurnInputRequestEvent.
Casts this FlowResponseStream as a FlowOutputEvent and retrieves its aws.sdk.kotlin.services.bedrockagentruntime.model.FlowOutputEvent value. Throws an exception if the FlowResponseStream is not a FlowOutputEvent.
Casts this FlowResponseStream as a FlowOutputEvent and retrieves its aws.sdk.kotlin.services.bedrockagentruntime.model.FlowOutputEvent value. Returns null if the FlowResponseStream is not a FlowOutputEvent.
Casts this FlowResponseStream as a FlowTraceEvent and retrieves its aws.sdk.kotlin.services.bedrockagentruntime.model.FlowTraceEvent value. Throws an exception if the FlowResponseStream is not a FlowTraceEvent.
Casts this FlowResponseStream as a FlowTraceEvent and retrieves its aws.sdk.kotlin.services.bedrockagentruntime.model.FlowTraceEvent value. Returns null if the FlowResponseStream is not a FlowTraceEvent.