amazonka-athena-1.6.0: Amazon Athena SDK.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.Athena.ListQueryExecutions

Contents

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

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

Eq ListQueryExecutions Source # 
Data ListQueryExecutions Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListQueryExecutions -> c ListQueryExecutions #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListQueryExecutions #

toConstr :: ListQueryExecutions -> Constr #

dataTypeOf :: ListQueryExecutions -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ListQueryExecutions) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListQueryExecutions) #

gmapT :: (forall b. Data b => b -> b) -> ListQueryExecutions -> ListQueryExecutions #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListQueryExecutions -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListQueryExecutions -> r #

gmapQ :: (forall d. Data d => d -> u) -> ListQueryExecutions -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ListQueryExecutions -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListQueryExecutions -> m ListQueryExecutions #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListQueryExecutions -> m ListQueryExecutions #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListQueryExecutions -> m ListQueryExecutions #

Read ListQueryExecutions Source # 
Show ListQueryExecutions Source # 
Generic ListQueryExecutions Source # 
Hashable ListQueryExecutions Source # 
ToJSON ListQueryExecutions Source # 
NFData ListQueryExecutions Source # 

Methods

rnf :: ListQueryExecutions -> () #

AWSPager ListQueryExecutions Source # 
AWSRequest ListQueryExecutions Source # 
ToHeaders ListQueryExecutions Source # 
ToPath ListQueryExecutions Source # 
ToQuery ListQueryExecutions Source # 
type Rep ListQueryExecutions Source # 
type Rep ListQueryExecutions = D1 * (MetaData "ListQueryExecutions" "Network.AWS.Athena.ListQueryExecutions" "amazonka-athena-1.6.0-KugH04EmDfr8lF2gyqYv3y" False) (C1 * (MetaCons "ListQueryExecutions'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_lqeNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_lqeMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Nat)))))
type Rs ListQueryExecutions Source # 

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 #

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:

data ListQueryExecutionsResponse Source #

See: listQueryExecutionsResponse smart constructor.

Instances

Eq ListQueryExecutionsResponse Source # 
Data ListQueryExecutionsResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListQueryExecutionsResponse -> c ListQueryExecutionsResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListQueryExecutionsResponse #

toConstr :: ListQueryExecutionsResponse -> Constr #

dataTypeOf :: ListQueryExecutionsResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ListQueryExecutionsResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListQueryExecutionsResponse) #

gmapT :: (forall b. Data b => b -> b) -> ListQueryExecutionsResponse -> ListQueryExecutionsResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListQueryExecutionsResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListQueryExecutionsResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> ListQueryExecutionsResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ListQueryExecutionsResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListQueryExecutionsResponse -> m ListQueryExecutionsResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListQueryExecutionsResponse -> m ListQueryExecutionsResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListQueryExecutionsResponse -> m ListQueryExecutionsResponse #

Read ListQueryExecutionsResponse Source # 
Show ListQueryExecutionsResponse Source # 
Generic ListQueryExecutionsResponse Source # 
NFData ListQueryExecutionsResponse Source # 
type Rep ListQueryExecutionsResponse Source # 
type Rep ListQueryExecutionsResponse = D1 * (MetaData "ListQueryExecutionsResponse" "Network.AWS.Athena.ListQueryExecutions" "amazonka-athena-1.6.0-KugH04EmDfr8lF2gyqYv3y" False) (C1 * (MetaCons "ListQueryExecutionsResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_lqersQueryExecutionIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe (List1 Text)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_lqersNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_lqersResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

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.