asToolUseResult
Casts this MessageData as a ToolUseResult and retrieves its aws.sdk.kotlin.services.qconnect.model.ToolUseResultData value. Throws an exception if the MessageData is not a ToolUseResult.
Casts this MessageData as a ToolUseResult and retrieves its aws.sdk.kotlin.services.qconnect.model.ToolUseResultData value. Throws an exception if the MessageData is not a ToolUseResult.