| 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 |
Network.AWS.Athena.ListQueryExecutions
Description
Provides a list of all available query execution IDs.
For code samples using the AWS SDK for Java, see Examples and Code Samples in the Amazon Athena User Guide .
This operation returns paginated results.
Synopsis
- listQueryExecutions :: ListQueryExecutions
- data ListQueryExecutions
- lqeNextToken :: Lens' ListQueryExecutions (Maybe Text)
- lqeMaxResults :: Lens' ListQueryExecutions (Maybe Natural)
- listQueryExecutionsResponse :: Int -> ListQueryExecutionsResponse
- data ListQueryExecutionsResponse
- lqersQueryExecutionIds :: Lens' ListQueryExecutionsResponse (Maybe (NonEmpty Text))
- lqersNextToken :: Lens' ListQueryExecutionsResponse (Maybe Text)
- lqersResponseStatus :: Lens' ListQueryExecutionsResponse Int
Creating a Request
listQueryExecutions :: ListQueryExecutions Source #
Creates a value of ListQueryExecutions with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lqeNextToken- The token that specifies where to start pagination if a previous request was truncated.lqeMaxResults- The maximum number of query executions to return in this request.
data ListQueryExecutions Source #
See: listQueryExecutions smart constructor.
Instances
Request Lenses
lqeNextToken :: Lens' ListQueryExecutions (Maybe Text) Source #
The token that specifies where to start pagination if a previous request was truncated.
lqeMaxResults :: Lens' ListQueryExecutions (Maybe Natural) Source #
The maximum number of query executions to return in this request.
Destructuring the Response
listQueryExecutionsResponse Source #
Arguments
| :: Int | |
| -> ListQueryExecutionsResponse |
Creates a value of ListQueryExecutionsResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lqersQueryExecutionIds- The unique IDs of each query execution as an array of strings.lqersNextToken- A token to be used by the next request if this request is truncated.lqersResponseStatus- -- | The response status code.
data ListQueryExecutionsResponse Source #
See: listQueryExecutionsResponse smart constructor.
Instances
Response Lenses
lqersQueryExecutionIds :: Lens' ListQueryExecutionsResponse (Maybe (NonEmpty Text)) Source #
The unique IDs of each query execution as an array of strings.
lqersNextToken :: Lens' ListQueryExecutionsResponse (Maybe Text) Source #
A token to be used by the next request if this request is truncated.
lqersResponseStatus :: Lens' ListQueryExecutionsResponse Int Source #
- - | The response status code.