Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Returns information about a single execution of a query if you have access to the workgroup in which the query ran. Each time a query executes, information about the query execution is saved with a unique ID.
Synopsis
- data GetQueryExecution = GetQueryExecution' {}
- newGetQueryExecution :: Text -> GetQueryExecution
- getQueryExecution_queryExecutionId :: Lens' GetQueryExecution Text
- data GetQueryExecutionResponse = GetQueryExecutionResponse' {}
- newGetQueryExecutionResponse :: Int -> GetQueryExecutionResponse
- getQueryExecutionResponse_queryExecution :: Lens' GetQueryExecutionResponse (Maybe QueryExecution)
- getQueryExecutionResponse_httpStatus :: Lens' GetQueryExecutionResponse Int
Creating a Request
data GetQueryExecution Source #
See: newGetQueryExecution
smart constructor.
GetQueryExecution' | |
|
Instances
Create a value of GetQueryExecution
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:queryExecutionId:GetQueryExecution'
, getQueryExecution_queryExecutionId
- The unique ID of the query execution.
Request Lenses
getQueryExecution_queryExecutionId :: Lens' GetQueryExecution Text Source #
The unique ID of the query execution.
Destructuring the Response
data GetQueryExecutionResponse Source #
See: newGetQueryExecutionResponse
smart constructor.
GetQueryExecutionResponse' | |
|
Instances
newGetQueryExecutionResponse Source #
Create a value of GetQueryExecutionResponse
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:queryExecution:GetQueryExecutionResponse'
, getQueryExecutionResponse_queryExecution
- Information about the query execution.
$sel:httpStatus:GetQueryExecutionResponse'
, getQueryExecutionResponse_httpStatus
- The response's http status code.
Response Lenses
getQueryExecutionResponse_queryExecution :: Lens' GetQueryExecutionResponse (Maybe QueryExecution) Source #
Information about the query execution.
getQueryExecutionResponse_httpStatus :: Lens' GetQueryExecutionResponse Int Source #
The response's http status code.