amazonka-athena-1.5.0: Amazon Athena SDK.

Copyright(c) 2013-2017 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.BatchGetNamedQuery

Contents

Description

Returns the details of a single named query or a list of up to 50 queries, which you provide as an array of query ID strings. Use ListNamedQueries to get the list of named query IDs. If information could not be retrieved for a submitted query ID, information about the query ID submitted is listed under UnprocessedNamedQueryId . Named queries are different from executed queries. Use BatchGetQueryExecution to get details about each unique query execution, and ListQueryExecutions to get a list of query execution IDs.

Synopsis

Creating a Request

batchGetNamedQuery Source #

Creates a value of BatchGetNamedQuery with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data BatchGetNamedQuery Source #

See: batchGetNamedQuery smart constructor.

Instances

Eq BatchGetNamedQuery Source # 
Data BatchGetNamedQuery Source # 

Methods

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

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

toConstr :: BatchGetNamedQuery -> Constr #

dataTypeOf :: BatchGetNamedQuery -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: BatchGetNamedQuery -> () #

AWSRequest BatchGetNamedQuery Source # 
ToQuery BatchGetNamedQuery Source # 
ToPath BatchGetNamedQuery Source # 
ToHeaders BatchGetNamedQuery Source # 
type Rep BatchGetNamedQuery Source # 
type Rep BatchGetNamedQuery = D1 (MetaData "BatchGetNamedQuery" "Network.AWS.Athena.BatchGetNamedQuery" "amazonka-athena-1.5.0-DdAqNMgn6Po2xdSLGzRYjs" True) (C1 (MetaCons "BatchGetNamedQuery'" PrefixI True) (S1 (MetaSel (Just Symbol "_bgnqNamedQueryIds") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (List1 Text))))
type Rs BatchGetNamedQuery Source # 

Request Lenses

Destructuring the Response

batchGetNamedQueryResponse Source #

Creates a value of BatchGetNamedQueryResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data BatchGetNamedQueryResponse Source #

See: batchGetNamedQueryResponse smart constructor.

Instances

Eq BatchGetNamedQueryResponse Source # 
Data BatchGetNamedQueryResponse Source # 

Methods

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

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

toConstr :: BatchGetNamedQueryResponse -> Constr #

dataTypeOf :: BatchGetNamedQueryResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read BatchGetNamedQueryResponse Source # 
Show BatchGetNamedQueryResponse Source # 
Generic BatchGetNamedQueryResponse Source # 
NFData BatchGetNamedQueryResponse Source # 
type Rep BatchGetNamedQueryResponse Source # 
type Rep BatchGetNamedQueryResponse = D1 (MetaData "BatchGetNamedQueryResponse" "Network.AWS.Athena.BatchGetNamedQuery" "amazonka-athena-1.5.0-DdAqNMgn6Po2xdSLGzRYjs" False) (C1 (MetaCons "BatchGetNamedQueryResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_bgnqrsNamedQueries") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [NamedQuery]))) ((:*:) (S1 (MetaSel (Just Symbol "_bgnqrsUnprocessedNamedQueryIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [UnprocessedNamedQueryId]))) (S1 (MetaSel (Just Symbol "_bgnqrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))))

Response Lenses

bgnqrsNamedQueries :: Lens' BatchGetNamedQueryResponse [NamedQuery] Source #

Information about the named query IDs submitted.