AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Information about a single instance of a query execution.

Inheritance Hierarchy

System.Object
  Amazon.Athena.Model.QueryExecution

Namespace: Amazon.Athena.Model
Assembly: AWSSDK.Athena.dll
Version: 3.x.y.z

Syntax

C#
public class QueryExecution

The QueryExecution type exposes the following members

Constructors

NameDescription
Public Method QueryExecution()

Properties

NameTypeDescription
Public Property EngineVersion Amazon.Athena.Model.EngineVersion

Gets and sets the property EngineVersion.

The engine version that executed the query.

Public Property ExecutionParameters System.Collections.Generic.List<System.String>

Gets and sets the property 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. The list of parameters is not returned in the response.

Public Property Query System.String

Gets and sets the property Query.

The SQL query statements which the query execution ran.

Public Property QueryExecutionContext Amazon.Athena.Model.QueryExecutionContext

Gets and sets the property QueryExecutionContext.

The database in which the query execution occurred.

Public Property QueryExecutionId System.String

Gets and sets the property QueryExecutionId.

The unique identifier for each query execution.

Public Property QueryResultsS3AccessGrantsConfiguration Amazon.Athena.Model.QueryResultsS3AccessGrantsConfiguration

Gets and sets the property QueryResultsS3AccessGrantsConfiguration.

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

Public Property ResultConfiguration Amazon.Athena.Model.ResultConfiguration

Gets and sets the property ResultConfiguration.

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.

Public Property ResultReuseConfiguration Amazon.Athena.Model.ResultReuseConfiguration

Gets and sets the property ResultReuseConfiguration.

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

Public Property StatementType Amazon.Athena.StatementType

Gets and sets the property 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.

Public Property Statistics Amazon.Athena.Model.QueryExecutionStatistics

Gets and sets the property 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.

Public Property Status Amazon.Athena.Model.QueryExecutionStatus

Gets and sets the property Status.

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

Public Property SubstatementType System.String

Gets and sets the property SubstatementType.

The kind of query statement that was run.

Public Property WorkGroup System.String

Gets and sets the property WorkGroup.

The name of the workgroup in which the query ran.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5 and newer, 3.5