v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1448206184.6 KB

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.

post/#X-Amz-Target=Logs_20140328.StopQuery

Headers

X-Amz-Target'Logs_20140328.StopQuery' required

Request body

queryIdstring required

The ID number of the query to stop. To find this ID number, use <code>DescribeQueries</code>.

Response

Success

successboolean

This is true if the query was stopped by the <code>StopQuery</code> operation.