Module Values.CancelStatementResponseSource

Cancels a running query. To be canceled, a query must be running. For more information about the Amazon Redshift Data API and CLI usage examples, see Using the Amazon Redshift Data API in the Amazon Redshift Management Guide.

Sourcetype nonrec t = {
  1. status : Boolean.t option;
    (*

    A value that indicates whether the cancel statement succeeded (true).

    *)
}
Sourcetype nonrec error = [
  1. | `DatabaseConnectionException of DatabaseConnectionException.t
  2. | `InternalServerException of InternalServerException.t
  3. | `QueryTimeoutException of QueryTimeoutException.t
  4. | `ResourceNotFoundException of ResourceNotFoundException.t
  5. | `ValidationException of ValidationException.t
  6. | `Unknown_operation_error of string * string option
]
Sourceval make : ?status:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `DatabaseConnectionException of DatabaseConnectionException.t | `InternalServerException of InternalServerException.t | `QueryTimeoutException of QueryTimeoutException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `Unknown_operation_error of string * string option | `ValidationException of ValidationException.t ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `DatabaseConnectionException of DatabaseConnectionException.t | `InternalServerException of InternalServerException.t | `QueryTimeoutException of QueryTimeoutException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `Unknown_operation_error of string * string option | `ValidationException of ValidationException.t ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Boolean.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