Trace
Contains information about the agent and session, alongside the agent's reasoning process and results from calling actions and querying knowledge bases and metadata about the trace. You can use the trace to understand how the agent arrived at the response it provided the customer. For more information, see Trace events.
Inherited functions
Casts this InlineAgentResponseStream as a Chunk and retrieves its aws.sdk.kotlin.services.bedrockagentruntime.model.InlineAgentPayloadPart value. Throws an exception if the InlineAgentResponseStream is not a Chunk.
Casts this InlineAgentResponseStream as a Chunk and retrieves its aws.sdk.kotlin.services.bedrockagentruntime.model.InlineAgentPayloadPart value. Returns null if the InlineAgentResponseStream is not a Chunk.
Casts this InlineAgentResponseStream as a Files and retrieves its aws.sdk.kotlin.services.bedrockagentruntime.model.InlineAgentFilePart value. Throws an exception if the InlineAgentResponseStream is not a Files.
Casts this InlineAgentResponseStream as a Files and retrieves its aws.sdk.kotlin.services.bedrockagentruntime.model.InlineAgentFilePart value. Returns null if the InlineAgentResponseStream is not a Files.
Casts this InlineAgentResponseStream as a ReturnControl and retrieves its aws.sdk.kotlin.services.bedrockagentruntime.model.InlineAgentReturnControlPayload value. Throws an exception if the InlineAgentResponseStream is not a ReturnControl.
Casts this InlineAgentResponseStream as a ReturnControl and retrieves its aws.sdk.kotlin.services.bedrockagentruntime.model.InlineAgentReturnControlPayload value. Returns null if the InlineAgentResponseStream is not a ReturnControl.
Casts this InlineAgentResponseStream as a Trace and retrieves its aws.sdk.kotlin.services.bedrockagentruntime.model.InlineAgentTracePart value. Throws an exception if the InlineAgentResponseStream is not a Trace.
Casts this InlineAgentResponseStream as a Trace and retrieves its aws.sdk.kotlin.services.bedrockagentruntime.model.InlineAgentTracePart value. Returns null if the InlineAgentResponseStream is not a Trace.