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 the details of a single query execution or a list of up to 50 query executions, which you provide as an array of query execution ID strings. Requires you to have access to the workgroup in which the queries ran. To get a list of query execution IDs, use ListQueryExecutionsInput$WorkGroup. Query executions differ from named (saved) queries. Use BatchGetNamedQueryInput to get details about named queries.
Synopsis
- data BatchGetQueryExecution = BatchGetQueryExecution' {}
- newBatchGetQueryExecution :: NonEmpty Text -> BatchGetQueryExecution
- batchGetQueryExecution_queryExecutionIds :: Lens' BatchGetQueryExecution (NonEmpty Text)
- data BatchGetQueryExecutionResponse = BatchGetQueryExecutionResponse' {}
- newBatchGetQueryExecutionResponse :: Int -> BatchGetQueryExecutionResponse
- batchGetQueryExecutionResponse_unprocessedQueryExecutionIds :: Lens' BatchGetQueryExecutionResponse (Maybe [UnprocessedQueryExecutionId])
- batchGetQueryExecutionResponse_queryExecutions :: Lens' BatchGetQueryExecutionResponse (Maybe [QueryExecution])
- batchGetQueryExecutionResponse_httpStatus :: Lens' BatchGetQueryExecutionResponse Int
Creating a Request
data BatchGetQueryExecution Source #
See: newBatchGetQueryExecution
smart constructor.
BatchGetQueryExecution' | |
|
Instances
newBatchGetQueryExecution Source #
Create a value of BatchGetQueryExecution
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:queryExecutionIds:BatchGetQueryExecution'
, batchGetQueryExecution_queryExecutionIds
- An array of query execution IDs.
Request Lenses
batchGetQueryExecution_queryExecutionIds :: Lens' BatchGetQueryExecution (NonEmpty Text) Source #
An array of query execution IDs.
Destructuring the Response
data BatchGetQueryExecutionResponse Source #
See: newBatchGetQueryExecutionResponse
smart constructor.
BatchGetQueryExecutionResponse' | |
|
Instances
newBatchGetQueryExecutionResponse Source #
Create a value of BatchGetQueryExecutionResponse
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:unprocessedQueryExecutionIds:BatchGetQueryExecutionResponse'
, batchGetQueryExecutionResponse_unprocessedQueryExecutionIds
- Information about the query executions that failed to run.
$sel:queryExecutions:BatchGetQueryExecutionResponse'
, batchGetQueryExecutionResponse_queryExecutions
- Information about a query execution.
$sel:httpStatus:BatchGetQueryExecutionResponse'
, batchGetQueryExecutionResponse_httpStatus
- The response's http status code.
Response Lenses
batchGetQueryExecutionResponse_unprocessedQueryExecutionIds :: Lens' BatchGetQueryExecutionResponse (Maybe [UnprocessedQueryExecutionId]) Source #
Information about the query executions that failed to run.
batchGetQueryExecutionResponse_queryExecutions :: Lens' BatchGetQueryExecutionResponse (Maybe [QueryExecution]) Source #
Information about a query execution.
batchGetQueryExecutionResponse_httpStatus :: Lens' BatchGetQueryExecutionResponse Int Source #
The response's http status code.