Module Values.QueryExecutionSource

Information about a single instance of a query execution.

Sourcetype nonrec t = {
  1. queryExecutionId : QueryExecutionId.t option;
    (*

    The unique identifier for each query execution.

    *)
  2. query : QueryString.t option;
    (*

    The SQL query statements which the query execution ran.

    *)
  3. statementType : StatementType.t option;
    (*

    The type of query statement that was run. DDL indicates DDL query statements. DML indicates DML (Data Manipulation Language) query statements, such as CREATE TABLE AS SELECT. UTILITY indicates query statements other than DDL and DML, such as SHOW CREATE TABLE, EXPLAIN, DESCRIBE, or SHOW TABLES.

    *)
  4. managedQueryResultsConfiguration : ManagedQueryResultsConfiguration.t option;
    (*

    The configuration for storing results in Athena owned storage, which includes whether this feature is enabled; whether encryption configuration, if any, is used for encrypting query results.

    *)
  5. resultConfiguration : ResultConfiguration.t option;
    (*

    The location in Amazon S3 where query and calculation results are stored and the encryption option, if any, used for query results. These are known as "client-side settings". If workgroup settings override client-side settings, then the query uses the location for the query results and the encryption configuration that are specified for the workgroup.

    *)
  6. resultReuseConfiguration : ResultReuseConfiguration.t option;
    (*

    Specifies the query result reuse behavior that was used for the query.

    *)
  7. queryExecutionContext : QueryExecutionContext.t option;
    (*

    The database in which the query execution occurred.

    *)
  8. status : QueryExecutionStatus.t option;
    (*

    The completion date, current state, submission time, and state change reason (if applicable) for the query execution.

    *)
  9. statistics : QueryExecutionStatistics.t option;
    (*

    Query execution statistics, such as the amount of data scanned, the amount of time that the query took to process, and the type of statement that was run.

    *)
  10. workGroup : WorkGroupName.t option;
    (*

    The name of the workgroup in which the query ran.

    *)
  11. engineVersion : EngineVersion.t option;
    (*

    The engine version that executed the query.

    *)
  12. executionParameters : ExecutionParameters.t option;
    (*

    A list of values for the parameters in a query. The values are applied sequentially to the parameters in the query in the order in which the parameters occur. The list of parameters is not returned in the response.

    *)
  13. substatementType : String_.t option;
    (*

    The kind of query statement that was run.

    *)
  14. queryResultsS3AccessGrantsConfiguration : QueryResultsS3AccessGrantsConfiguration.t option;
    (*

    Specifies whether Amazon S3 access grants are enabled for query results.

    *)
}
Sourceval make : ?queryExecutionId:??? -> ?query:??? -> ?statementType:??? -> ?managedQueryResultsConfiguration:??? -> ?resultConfiguration:??? -> ?resultReuseConfiguration:??? -> ?queryExecutionContext:??? -> ?status:??? -> ?statistics:??? -> ?workGroup:??? -> ?engineVersion:??? -> ?executionParameters:??? -> ?substatementType:??? -> ?queryResultsS3AccessGrantsConfiguration:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `List of [> `String of ExecutionParameter.t ] list | `String of QueryExecutionId.t | `Structure of (string * [> `Boolean of Boolean.t | `Double of DpuCount.t | `Enum of string | `Long of Long.t | `String of ResultOutputLocation.t | `Structure of (string * [> `Boolean of Boolean.t | `Enum of string | `Integer of Age.t | `String of KmsKey.t ]) list | `Timestamp of Date.t ]) 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