Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
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. To get a list of query execution IDs, use ListQueryExecutions
. Query executions are different from named (saved) queries. Use BatchGetNamedQuery
to get details about named queries.
Synopsis
- batchGetQueryExecution :: NonEmpty Text -> BatchGetQueryExecution
- data BatchGetQueryExecution
- bgqeQueryExecutionIds :: Lens' BatchGetQueryExecution (NonEmpty Text)
- batchGetQueryExecutionResponse :: Int -> BatchGetQueryExecutionResponse
- data BatchGetQueryExecutionResponse
- bgqersUnprocessedQueryExecutionIds :: Lens' BatchGetQueryExecutionResponse [UnprocessedQueryExecutionId]
- bgqersQueryExecutions :: Lens' BatchGetQueryExecutionResponse [QueryExecution]
- bgqersResponseStatus :: Lens' BatchGetQueryExecutionResponse Int
Creating a Request
batchGetQueryExecution Source #
Creates a value of BatchGetQueryExecution
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
bgqeQueryExecutionIds
- An array of query execution IDs.
data BatchGetQueryExecution Source #
See: batchGetQueryExecution
smart constructor.
Instances
Request Lenses
bgqeQueryExecutionIds :: Lens' BatchGetQueryExecution (NonEmpty Text) Source #
An array of query execution IDs.
Destructuring the Response
batchGetQueryExecutionResponse Source #
Creates a value of BatchGetQueryExecutionResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
bgqersUnprocessedQueryExecutionIds
- Information about the query executions that failed to run.bgqersQueryExecutions
- Information about a query execution.bgqersResponseStatus
- -- | The response status code.
data BatchGetQueryExecutionResponse Source #
See: batchGetQueryExecutionResponse
smart constructor.
Instances
Response Lenses
bgqersUnprocessedQueryExecutionIds :: Lens' BatchGetQueryExecutionResponse [UnprocessedQueryExecutionId] Source #
Information about the query executions that failed to run.
bgqersQueryExecutions :: Lens' BatchGetQueryExecutionResponse [QueryExecution] Source #
Information about a query execution.
bgqersResponseStatus :: Lens' BatchGetQueryExecutionResponse Int Source #
- - | The response status code.