Module Values.ExecuteSqlResponseSource

The response elements represent the output of a request to run one or more SQL statements.

Sourcetype nonrec t = {
  1. sqlStatementResults : SqlStatementResults.t option;
    (*

    The results of the SQL statement or statements.

    *)
}
Sourcetype nonrec error = [
  1. | `AccessDeniedException of AccessDeniedException.t
  2. | `BadRequestException of BadRequestException.t
  3. | `ForbiddenException of ForbiddenException.t
  4. | `InternalServerErrorException of InternalServerErrorException.t
  5. | `ServiceUnavailableError of ServiceUnavailableError.t
  6. | `Unknown_operation_error of string * string option
]
Sourceval make : ?sqlStatementResults:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `AccessDeniedException of AccessDeniedException.t | `BadRequestException of BadRequestException.t | `ForbiddenException of ForbiddenException.t | `InternalServerErrorException of unit | `ServiceUnavailableError of unit | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `AccessDeniedException of AccessDeniedException.t | `BadRequestException of BadRequestException.t | `ForbiddenException of ForbiddenException.t | `InternalServerErrorException of unit | `ServiceUnavailableError of unit | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `Long of RecordsUpdated.t | `Structure of (string * [> `List of [> `Structure of (string * [> `List of Awso.Botodata.value list ]) list ] list | `Structure of (string * [> `List of [> `Structure of (string * [> `Boolean of Boolean.t | `Integer of Integer.t | `String of String_.t ]) list ] list | `Long of Long.t ]) list ]) list ]) list ] list ]) 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