Module Values.CancelQueryResponseSource

Cancels a query if the query is not in a terminated state, such as CANCELLED, FAILED, TIMED_OUT, or FINISHED. You must specify an ARN value for EventDataStore. The ID of the query that you want to cancel is also required. When you run CancelQuery, the query status might show as CANCELLED even if the operation is not yet finished.

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

    The ID of the canceled query.

    *)
  2. queryStatus : QueryStatus.t option;
    (*

    Shows the status of a query after a CancelQuery request. Typically, the values shown are either RUNNING or CANCELLED.

    *)
  3. eventDataStoreOwnerAccountId : AccountId.t option;
    (*

    The account ID of the event data store owner.

    *)
}
Sourcetype nonrec error = [
  1. | `ConflictException of ConflictException.t
  2. | `EventDataStoreARNInvalidException of EventDataStoreARNInvalidException.t
  3. | `EventDataStoreNotFoundException of EventDataStoreNotFoundException.t
  4. | `InactiveEventDataStoreException of InactiveEventDataStoreException.t
  5. | `InactiveQueryException of InactiveQueryException.t
  6. | `InvalidParameterException of InvalidParameterException.t
  7. | `NoManagementAccountSLRExistsException of NoManagementAccountSLRExistsException.t
  8. | `OperationNotPermittedException of OperationNotPermittedException.t
  9. | `QueryIdNotFoundException of QueryIdNotFoundException.t
  10. | `UnsupportedOperationException of UnsupportedOperationException.t
  11. | `Unknown_operation_error of string * string option
]
Sourceval make : ?queryId:??? -> ?queryStatus:??? -> ?eventDataStoreOwnerAccountId:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `ConflictException of unit | `EventDataStoreARNInvalidException of unit | `EventDataStoreNotFoundException of unit | `InactiveEventDataStoreException of unit | `InactiveQueryException of unit | `InvalidParameterException of unit | `NoManagementAccountSLRExistsException of unit | `OperationNotPermittedException of unit | `QueryIdNotFoundException of unit | `Unknown_operation_error of string * string option | `UnsupportedOperationException of unit ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `ConflictException of unit | `EventDataStoreARNInvalidException of unit | `EventDataStoreNotFoundException of unit | `InactiveEventDataStoreException of unit | `InactiveQueryException of unit | `InvalidParameterException of unit | `NoManagementAccountSLRExistsException of unit | `OperationNotPermittedException of unit | `QueryIdNotFoundException of unit | `Unknown_operation_error of string * string option | `UnsupportedOperationException of unit ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of UUID.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