Module Values.CancelQueryRequestSource

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 CancellationMessage, indicating that the query has already been canceled. See code sample for details.

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

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

    *)
}
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