| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Athena.Types.QueryExecution
Description
Synopsis
- data QueryExecution = QueryExecution' {
- engineVersion :: Maybe EngineVersion
- executionParameters :: Maybe (NonEmpty Text)
- query :: Maybe Text
- queryExecutionContext :: Maybe QueryExecutionContext
- queryExecutionId :: Maybe Text
- resultConfiguration :: Maybe ResultConfiguration
- resultReuseConfiguration :: Maybe ResultReuseConfiguration
- statementType :: Maybe StatementType
- statistics :: Maybe QueryExecutionStatistics
- status :: Maybe QueryExecutionStatus
- workGroup :: Maybe Text
- newQueryExecution :: QueryExecution
- queryExecution_engineVersion :: Lens' QueryExecution (Maybe EngineVersion)
- queryExecution_executionParameters :: Lens' QueryExecution (Maybe (NonEmpty Text))
- queryExecution_query :: Lens' QueryExecution (Maybe Text)
- queryExecution_queryExecutionContext :: Lens' QueryExecution (Maybe QueryExecutionContext)
- queryExecution_queryExecutionId :: Lens' QueryExecution (Maybe Text)
- queryExecution_resultConfiguration :: Lens' QueryExecution (Maybe ResultConfiguration)
- queryExecution_resultReuseConfiguration :: Lens' QueryExecution (Maybe ResultReuseConfiguration)
- queryExecution_statementType :: Lens' QueryExecution (Maybe StatementType)
- queryExecution_statistics :: Lens' QueryExecution (Maybe QueryExecutionStatistics)
- queryExecution_status :: Lens' QueryExecution (Maybe QueryExecutionStatus)
- queryExecution_workGroup :: Lens' QueryExecution (Maybe Text)
Documentation
data QueryExecution Source #
Information about a single instance of a query execution.
See: newQueryExecution smart constructor.
Constructors
| QueryExecution' | |
Fields
| |
Instances
newQueryExecution :: QueryExecution Source #
Create a value of QueryExecution with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:engineVersion:QueryExecution', queryExecution_engineVersion - The engine version that executed the query.
$sel:executionParameters:QueryExecution', queryExecution_executionParameters - 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.
$sel:query:QueryExecution', queryExecution_query - The SQL query statements which the query execution ran.
$sel:queryExecutionContext:QueryExecution', queryExecution_queryExecutionContext - The database in which the query execution occurred.
$sel:queryExecutionId:QueryExecution', queryExecution_queryExecutionId - The unique identifier for each query execution.
$sel:resultConfiguration:QueryExecution', queryExecution_resultConfiguration - The location in Amazon S3 where query results were 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.
$sel:resultReuseConfiguration:QueryExecution', queryExecution_resultReuseConfiguration - Specifies the query result reuse behavior that was used for the query.
$sel:statementType:QueryExecution', queryExecution_statementType - 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, or
DESCRIBE TABLE.
$sel:statistics:QueryExecution', queryExecution_statistics - 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.
$sel:status:QueryExecution', queryExecution_status - The completion date, current state, submission time, and state change
reason (if applicable) for the query execution.
$sel:workGroup:QueryExecution', queryExecution_workGroup - The name of the workgroup in which the query ran.
queryExecution_engineVersion :: Lens' QueryExecution (Maybe EngineVersion) Source #
The engine version that executed the query.
queryExecution_executionParameters :: Lens' QueryExecution (Maybe (NonEmpty Text)) Source #
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.
queryExecution_query :: Lens' QueryExecution (Maybe Text) Source #
The SQL query statements which the query execution ran.
queryExecution_queryExecutionContext :: Lens' QueryExecution (Maybe QueryExecutionContext) Source #
The database in which the query execution occurred.
queryExecution_queryExecutionId :: Lens' QueryExecution (Maybe Text) Source #
The unique identifier for each query execution.
queryExecution_resultConfiguration :: Lens' QueryExecution (Maybe ResultConfiguration) Source #
The location in Amazon S3 where query results were 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.
queryExecution_resultReuseConfiguration :: Lens' QueryExecution (Maybe ResultReuseConfiguration) Source #
Specifies the query result reuse behavior that was used for the query.
queryExecution_statementType :: Lens' QueryExecution (Maybe StatementType) Source #
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, or
DESCRIBE TABLE.
queryExecution_statistics :: Lens' QueryExecution (Maybe QueryExecutionStatistics) Source #
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.
queryExecution_status :: Lens' QueryExecution (Maybe QueryExecutionStatus) Source #
The completion date, current state, submission time, and state change reason (if applicable) for the query execution.
queryExecution_workGroup :: Lens' QueryExecution (Maybe Text) Source #
The name of the workgroup in which the query ran.