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 |
Retrieves statistics on the planning and execution of a query.
Synopsis
- data GetQueryStatistics = GetQueryStatistics' {}
- newGetQueryStatistics :: Text -> GetQueryStatistics
- getQueryStatistics_queryId :: Lens' GetQueryStatistics Text
- data GetQueryStatisticsResponse = GetQueryStatisticsResponse' {}
- newGetQueryStatisticsResponse :: Int -> GetQueryStatisticsResponse
- getQueryStatisticsResponse_executionStatistics :: Lens' GetQueryStatisticsResponse (Maybe ExecutionStatistics)
- getQueryStatisticsResponse_planningStatistics :: Lens' GetQueryStatisticsResponse (Maybe PlanningStatistics)
- getQueryStatisticsResponse_querySubmissionTime :: Lens' GetQueryStatisticsResponse (Maybe UTCTime)
- getQueryStatisticsResponse_httpStatus :: Lens' GetQueryStatisticsResponse Int
Creating a Request
data GetQueryStatistics Source #
See: newGetQueryStatistics
smart constructor.
Instances
newGetQueryStatistics Source #
Create a value of GetQueryStatistics
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:queryId:GetQueryStatistics'
, getQueryStatistics_queryId
- The ID of the plan query operation.
Request Lenses
getQueryStatistics_queryId :: Lens' GetQueryStatistics Text Source #
The ID of the plan query operation.
Destructuring the Response
data GetQueryStatisticsResponse Source #
See: newGetQueryStatisticsResponse
smart constructor.
GetQueryStatisticsResponse' | |
|
Instances
newGetQueryStatisticsResponse Source #
Create a value of GetQueryStatisticsResponse
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:executionStatistics:GetQueryStatisticsResponse'
, getQueryStatisticsResponse_executionStatistics
- An ExecutionStatistics
structure containing execution statistics.
$sel:planningStatistics:GetQueryStatisticsResponse'
, getQueryStatisticsResponse_planningStatistics
- A PlanningStatistics
structure containing query planning statistics.
$sel:querySubmissionTime:GetQueryStatisticsResponse'
, getQueryStatisticsResponse_querySubmissionTime
- The time that the query was submitted.
$sel:httpStatus:GetQueryStatisticsResponse'
, getQueryStatisticsResponse_httpStatus
- The response's http status code.
Response Lenses
getQueryStatisticsResponse_executionStatistics :: Lens' GetQueryStatisticsResponse (Maybe ExecutionStatistics) Source #
An ExecutionStatistics
structure containing execution statistics.
getQueryStatisticsResponse_planningStatistics :: Lens' GetQueryStatisticsResponse (Maybe PlanningStatistics) Source #
A PlanningStatistics
structure containing query planning statistics.
getQueryStatisticsResponse_querySubmissionTime :: Lens' GetQueryStatisticsResponse (Maybe UTCTime) Source #
The time that the query was submitted.
getQueryStatisticsResponse_httpStatus :: Lens' GetQueryStatisticsResponse Int Source #
The response's http status code.