TraceEvent
A trace event providing visibility into the retrieval process.
Inherited functions
Casts this AgenticRetrieveStreamResponseOutput as a ResponseEvent and retrieves its aws.sdk.kotlin.services.bedrockagentruntime.model.AgenticRetrieveResponseEvent value. Throws an exception if the AgenticRetrieveStreamResponseOutput is not a ResponseEvent.
Casts this AgenticRetrieveStreamResponseOutput as a ResponseEvent and retrieves its aws.sdk.kotlin.services.bedrockagentruntime.model.AgenticRetrieveResponseEvent value. Returns null if the AgenticRetrieveStreamResponseOutput is not a ResponseEvent.
Casts this AgenticRetrieveStreamResponseOutput as a Result and retrieves its aws.sdk.kotlin.services.bedrockagentruntime.model.AgenticRetrieveResultEvent value. Throws an exception if the AgenticRetrieveStreamResponseOutput is not a Result.
Casts this AgenticRetrieveStreamResponseOutput as a Result and retrieves its aws.sdk.kotlin.services.bedrockagentruntime.model.AgenticRetrieveResultEvent value. Returns null if the AgenticRetrieveStreamResponseOutput is not a Result.
Casts this AgenticRetrieveStreamResponseOutput as a TraceEvent and retrieves its aws.sdk.kotlin.services.bedrockagentruntime.model.AgenticRetrieveTraceEvent value. Throws an exception if the AgenticRetrieveStreamResponseOutput is not a TraceEvent.
Casts this AgenticRetrieveStreamResponseOutput as a TraceEvent and retrieves its aws.sdk.kotlin.services.bedrockagentruntime.model.AgenticRetrieveTraceEvent value. Returns null if the AgenticRetrieveStreamResponseOutput is not a TraceEvent.