libZSservicesZSamazonka-athenaZSamazonka-athena
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Athena.Types.QueryExecution

Description

 
Synopsis

Documentation

data QueryExecution Source #

Information about a single instance of a query execution.

See: newQueryExecution smart constructor.

Constructors

QueryExecution' 

Fields

  • engineVersion :: Maybe EngineVersion

    The engine version that executed the query.

  • status :: Maybe QueryExecutionStatus

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

  • queryExecutionContext :: Maybe QueryExecutionContext

    The database in which the query execution occurred.

  • resultConfiguration :: Maybe 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.

  • query :: Maybe Text

    The SQL query statements which the query execution ran.

  • statementType :: Maybe 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.

  • statistics :: Maybe QueryExecutionStatistics

    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.

  • queryExecutionId :: Maybe Text

    The unique identifier for each query execution.

  • workGroup :: Maybe Text

    The name of the workgroup in which the query ran.

Instances

Instances details
Eq QueryExecution Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecution

Read QueryExecution Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecution

Show QueryExecution Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecution

Generic QueryExecution Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecution

Associated Types

type Rep QueryExecution :: Type -> Type #

NFData QueryExecution Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecution

Methods

rnf :: QueryExecution -> () #

Hashable QueryExecution Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecution

FromJSON QueryExecution Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecution

type Rep QueryExecution Source # 
Instance details

Defined in Amazonka.Athena.Types.QueryExecution

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:status:QueryExecution', queryExecution_status - The completion date, current state, submission time, and state change reason (if applicable) for the query execution.

$sel:queryExecutionContext:QueryExecution', queryExecution_queryExecutionContext - The database in which the query execution occurred.

$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:query:QueryExecution', queryExecution_query - The SQL query statements which the query execution ran.

$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:queryExecutionId:QueryExecution', queryExecution_queryExecutionId - The unique identifier for each 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_status :: Lens' QueryExecution (Maybe QueryExecutionStatus) Source #

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

queryExecution_queryExecutionContext :: Lens' QueryExecution (Maybe QueryExecutionContext) Source #

The database in which the query execution occurred.

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_query :: Lens' QueryExecution (Maybe Text) Source #

The SQL query statements which the query execution ran.

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_queryExecutionId :: Lens' QueryExecution (Maybe Text) Source #

The unique identifier for each query execution.

queryExecution_workGroup :: Lens' QueryExecution (Maybe Text) Source #

The name of the workgroup in which the query ran.