v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-141311169.0 KB

Cancels a query that has been issued. Cancellation is provided only if the query has not completed running before the cancellation request was issued. Because cancellation is an idempotent operation, subsequent cancellation requests will return a <code>CancellationMessage</code>, indicating that the query has already been canceled. See <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/code-samples.cancel-query.html">code sample</a> for details.

post/#X-Amz-Target=Timestream_20181101.CancelQuery

Headers

X-Amz-Target'Timestream_20181101.CancelQuery' required

Request body

QueryIdstring required

The ID of the query that needs to be cancelled. <code>QueryID</code> is returned as part of the query result.

Response

Success

CancellationMessagestring

A <code>CancellationMessage</code> is returned when a <code>CancelQuery</code> request for the query specified by <code>QueryId</code> has already been issued.

All 13 operations