invokeAgent

abstract suspend fun <T> invokeAgent(input: InvokeAgentRequest, block: suspend (InvokeAgentResponse) -> T): T

Invokes the specified Bedrock model to run inference using the input provided in the request body.