stopQuery

abstract suspend fun stopQuery(input: StopQueryRequest): StopQueryResponse

Stops a CloudWatch Logs Insights query that is in progress. If the query has already ended, the operation returns an error indicating that the specified query is not running.