Module Values.StopQueryRequestSource

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. This operation can be used to cancel both interactive queries and individual scheduled query executions. When used with scheduled queries, StopQuery cancels only the specific execution identified by the query ID, not the scheduled query configuration itself.

Sourcetype nonrec t = {
  1. queryId : QueryId.t;
    (*

    The ID number of the query to stop. To find this ID number, use DescribeQueries.

    *)
}
Sourceval context_ : string
Sourceval make : queryId:QueryId.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of QueryId.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t