CancelQuery
Source:
src/AWS/Timestream/CancelQuery.ts
Runtime binding for timestream-query:CancelQuery — cancel a running query
by the QueryId a previous Query call reported.
timestream:CancelQuery does not support resource-level permissions, so
this is an account-level binding invoked with no resource argument.
Provide Timestream.CancelQueryHttp on the Function to implement the
binding.
Querying Data
Section titled “Querying Data”// init — account-level binding, no resource argumentconst cancelQuery = yield* Timestream.CancelQuery();
// runtime — cancel by the QueryId from a prior Query responseconst result = yield* cancelQuery({ QueryId: queryId });// result.CancellationMessage reports whether the query was still running