| 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.GetQueryRuntimeStatistics
Description
Returns query execution runtime statistics related to a single execution of a query if you have access to the workgroup in which the query ran. Query execution runtime statistics are returned only when QueryExecutionStatus$State is in a SUCCEEDED or FAILED state. Stage-level input and output row count and data size statistics are not shown when a query has row-level filters defined in Lake Formation.
Synopsis
- data GetQueryRuntimeStatistics = GetQueryRuntimeStatistics' {}
- newGetQueryRuntimeStatistics :: Text -> GetQueryRuntimeStatistics
- getQueryRuntimeStatistics_queryExecutionId :: Lens' GetQueryRuntimeStatistics Text
- data GetQueryRuntimeStatisticsResponse = GetQueryRuntimeStatisticsResponse' {}
- newGetQueryRuntimeStatisticsResponse :: Int -> GetQueryRuntimeStatisticsResponse
- getQueryRuntimeStatisticsResponse_queryRuntimeStatistics :: Lens' GetQueryRuntimeStatisticsResponse (Maybe QueryRuntimeStatistics)
- getQueryRuntimeStatisticsResponse_httpStatus :: Lens' GetQueryRuntimeStatisticsResponse Int
Creating a Request
data GetQueryRuntimeStatistics Source #
See: newGetQueryRuntimeStatistics smart constructor.
Constructors
| GetQueryRuntimeStatistics' | |
Fields
| |
Instances
newGetQueryRuntimeStatistics Source #
Arguments
| :: Text | |
| -> GetQueryRuntimeStatistics |
Create a value of GetQueryRuntimeStatistics 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:
GetQueryRuntimeStatistics, getQueryRuntimeStatistics_queryExecutionId - The unique ID of the query execution.
Request Lenses
getQueryRuntimeStatistics_queryExecutionId :: Lens' GetQueryRuntimeStatistics Text Source #
The unique ID of the query execution.
Destructuring the Response
data GetQueryRuntimeStatisticsResponse Source #
See: newGetQueryRuntimeStatisticsResponse smart constructor.
Constructors
| GetQueryRuntimeStatisticsResponse' | |
Fields
| |
Instances
newGetQueryRuntimeStatisticsResponse Source #
Arguments
| :: Int | |
| -> GetQueryRuntimeStatisticsResponse |
Create a value of GetQueryRuntimeStatisticsResponse 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:queryRuntimeStatistics:GetQueryRuntimeStatisticsResponse', getQueryRuntimeStatisticsResponse_queryRuntimeStatistics - Runtime statistics about the query execution.
$sel:httpStatus:GetQueryRuntimeStatisticsResponse', getQueryRuntimeStatisticsResponse_httpStatus - The response's http status code.
Response Lenses
getQueryRuntimeStatisticsResponse_queryRuntimeStatistics :: Lens' GetQueryRuntimeStatisticsResponse (Maybe QueryRuntimeStatistics) Source #
Runtime statistics about the query execution.
getQueryRuntimeStatisticsResponse_httpStatus :: Lens' GetQueryRuntimeStatisticsResponse Int Source #
The response's http status code.