amazonka-athena-1.6.1: 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.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 # 
Instance details

Defined in Network.AWS.Athena.BatchGetNamedQuery

Data BatchGetNamedQuery Source # 
Instance details

Defined in Network.AWS.Athena.BatchGetNamedQuery

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 # 
Instance details

Defined in Network.AWS.Athena.BatchGetNamedQuery

Show BatchGetNamedQuery Source # 
Instance details

Defined in Network.AWS.Athena.BatchGetNamedQuery

Generic BatchGetNamedQuery Source # 
Instance details

Defined in Network.AWS.Athena.BatchGetNamedQuery

Associated Types

type Rep BatchGetNamedQuery :: Type -> Type #

Hashable BatchGetNamedQuery Source # 
Instance details

Defined in Network.AWS.Athena.BatchGetNamedQuery

ToJSON BatchGetNamedQuery Source # 
Instance details

Defined in Network.AWS.Athena.BatchGetNamedQuery

AWSRequest BatchGetNamedQuery Source # 
Instance details

Defined in Network.AWS.Athena.BatchGetNamedQuery

Associated Types

type Rs BatchGetNamedQuery :: Type #

ToHeaders BatchGetNamedQuery Source # 
Instance details

Defined in Network.AWS.Athena.BatchGetNamedQuery

ToPath BatchGetNamedQuery Source # 
Instance details

Defined in Network.AWS.Athena.BatchGetNamedQuery

ToQuery BatchGetNamedQuery Source # 
Instance details

Defined in Network.AWS.Athena.BatchGetNamedQuery

NFData BatchGetNamedQuery Source # 
Instance details

Defined in Network.AWS.Athena.BatchGetNamedQuery

Methods

rnf :: BatchGetNamedQuery -> () #

type Rep BatchGetNamedQuery Source # 
Instance details

Defined in Network.AWS.Athena.BatchGetNamedQuery

type Rep BatchGetNamedQuery = D1 (MetaData "BatchGetNamedQuery" "Network.AWS.Athena.BatchGetNamedQuery" "amazonka-athena-1.6.1-3l4hGXnA3w2LezY8q3vNku" True) (C1 (MetaCons "BatchGetNamedQuery'" PrefixI True) (S1 (MetaSel (Just "_bgnqNamedQueryIds") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (List1 Text))))
type Rs BatchGetNamedQuery Source # 
Instance details

Defined in Network.AWS.Athena.BatchGetNamedQuery

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 # 
Instance details

Defined in Network.AWS.Athena.BatchGetNamedQuery

Data BatchGetNamedQueryResponse Source # 
Instance details

Defined in Network.AWS.Athena.BatchGetNamedQuery

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 # 
Instance details

Defined in Network.AWS.Athena.BatchGetNamedQuery

Show BatchGetNamedQueryResponse Source # 
Instance details

Defined in Network.AWS.Athena.BatchGetNamedQuery

Generic BatchGetNamedQueryResponse Source # 
Instance details

Defined in Network.AWS.Athena.BatchGetNamedQuery

Associated Types

type Rep BatchGetNamedQueryResponse :: Type -> Type #

NFData BatchGetNamedQueryResponse Source # 
Instance details

Defined in Network.AWS.Athena.BatchGetNamedQuery

type Rep BatchGetNamedQueryResponse Source # 
Instance details

Defined in Network.AWS.Athena.BatchGetNamedQuery

type Rep BatchGetNamedQueryResponse = D1 (MetaData "BatchGetNamedQueryResponse" "Network.AWS.Athena.BatchGetNamedQuery" "amazonka-athena-1.6.1-3l4hGXnA3w2LezY8q3vNku" False) (C1 (MetaCons "BatchGetNamedQueryResponse'" PrefixI True) (S1 (MetaSel (Just "_bgnqrsNamedQueries") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [NamedQuery])) :*: (S1 (MetaSel (Just "_bgnqrsUnprocessedNamedQueryIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [UnprocessedNamedQueryId])) :*: S1 (MetaSel (Just "_bgnqrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

bgnqrsNamedQueries :: Lens' BatchGetNamedQueryResponse [NamedQuery] Source #

Information about the named query IDs submitted.