Values.ExecuteStatementResponseSourceThe response elements represent the output of a request to run a SQL statement against a database.
type nonrec t = {records : SqlRecords.t option;The records returned by the SQL statement. This field is blank if the formatRecordsAs parameter is set to JSON.
*)columnMetadata : Metadata.t option;Metadata for the columns included in the results. This field is blank if the formatRecordsAs parameter is set to JSON.
*)numberOfRecordsUpdated : RecordsUpdated.t option;The number of records updated by the request.
*)generatedFields : FieldList.t option;Values for fields generated during a DML request. The generatedFields data isn't supported by Aurora PostgreSQL. To get the values of generated fields, use the RETURNING clause. For more information, see Returning Data From Modified Rows in the PostgreSQL documentation.
*)formattedRecords : FormattedSqlRecords.t option;A string value that represents the result set of a SELECT statement in JSON format. This value is only present when the formatRecordsAs parameter is set to JSON. The size limit for this field is currently 10 MB. If the JSON-formatted string representing the result set requires more than 10 MB, the call returns an error.
*)}type nonrec error = [ | `AccessDeniedException of AccessDeniedException.t| `BadRequestException of BadRequestException.t| `DatabaseErrorException of DatabaseErrorException.t| `DatabaseNotFoundException of DatabaseNotFoundException.t| `DatabaseResumingException of DatabaseResumingException.t| `ForbiddenException of ForbiddenException.t| `HttpEndpointNotEnabledException of HttpEndpointNotEnabledException.t| `InternalServerErrorException of InternalServerErrorException.t| `InvalidResourceStateException of InvalidResourceStateException.t| `InvalidSecretException of InvalidSecretException.t| `SecretsErrorException of SecretsErrorException.t| `StatementTimeoutException of StatementTimeoutException.t| `TransactionNotFoundException of TransactionNotFoundException.t| `UnsupportedResultException of UnsupportedResultException.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `AccessDeniedException of AccessDeniedException.t
| `BadRequestException of BadRequestException.t
| `DatabaseErrorException of DatabaseErrorException.t
| `DatabaseNotFoundException of DatabaseNotFoundException.t
| `DatabaseResumingException of DatabaseResumingException.t
| `DatabaseUnavailableException of unit
| `ForbiddenException of ForbiddenException.t
| `HttpEndpointNotEnabledException of HttpEndpointNotEnabledException.t
| `InternalServerErrorException of unit
| `InvalidResourceStateException of InvalidResourceStateException.t
| `InvalidSecretException of InvalidSecretException.t
| `SecretsErrorException of SecretsErrorException.t
| `ServiceUnavailableError of unit
| `StatementTimeoutException of StatementTimeoutException.t
| `TransactionNotFoundException of TransactionNotFoundException.t
| `Unknown_operation_error of string * string option
| `UnsupportedResultException of UnsupportedResultException.t ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `AccessDeniedException of AccessDeniedException.t
| `BadRequestException of BadRequestException.t
| `DatabaseErrorException of DatabaseErrorException.t
| `DatabaseNotFoundException of DatabaseNotFoundException.t
| `DatabaseResumingException of DatabaseResumingException.t
| `DatabaseUnavailableException of unit
| `ForbiddenException of ForbiddenException.t
| `HttpEndpointNotEnabledException of HttpEndpointNotEnabledException.t
| `InternalServerErrorException of unit
| `InvalidResourceStateException of InvalidResourceStateException.t
| `InvalidSecretException of InvalidSecretException.t
| `SecretsErrorException of SecretsErrorException.t
| `ServiceUnavailableError of unit
| `StatementTimeoutException of StatementTimeoutException.t
| `TransactionNotFoundException of TransactionNotFoundException.t
| `Unknown_operation_error of string * string option
| `UnsupportedResultException of UnsupportedResultException.t ]val to_value :
t ->
[> `Structure of
(string
* [> `List of
[> `List of
[> `Structure of (string * Awso.Botodata.value) list ] list
| `Structure of (string * Awso.Botodata.value) list ]
list
| `Long of RecordsUpdated.t
| `String of FormattedSqlRecords.t ])
list ]