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.BatchGetQueryExecution

Contents

Description

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

Creating a Request

batchGetQueryExecution #

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:

data BatchGetQueryExecution #

See: batchGetQueryExecution smart constructor.

Instances
Eq BatchGetQueryExecution # 
Instance details

Defined in Network.AWS.Athena.BatchGetQueryExecution

Data BatchGetQueryExecution # 
Instance details

Defined in Network.AWS.Athena.BatchGetQueryExecution

Methods

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

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

toConstr :: BatchGetQueryExecution -> Constr #

dataTypeOf :: BatchGetQueryExecution -> DataType #

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

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

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

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

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

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

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

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

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

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

Read BatchGetQueryExecution # 
Instance details

Defined in Network.AWS.Athena.BatchGetQueryExecution

Show BatchGetQueryExecution # 
Instance details

Defined in Network.AWS.Athena.BatchGetQueryExecution

Generic BatchGetQueryExecution # 
Instance details

Defined in Network.AWS.Athena.BatchGetQueryExecution

Associated Types

type Rep BatchGetQueryExecution :: Type -> Type #

Hashable BatchGetQueryExecution # 
Instance details

Defined in Network.AWS.Athena.BatchGetQueryExecution

ToJSON BatchGetQueryExecution # 
Instance details

Defined in Network.AWS.Athena.BatchGetQueryExecution

AWSRequest BatchGetQueryExecution # 
Instance details

Defined in Network.AWS.Athena.BatchGetQueryExecution

Associated Types

type Rs BatchGetQueryExecution :: Type #

ToHeaders BatchGetQueryExecution # 
Instance details

Defined in Network.AWS.Athena.BatchGetQueryExecution

ToPath BatchGetQueryExecution # 
Instance details

Defined in Network.AWS.Athena.BatchGetQueryExecution

ToQuery BatchGetQueryExecution # 
Instance details

Defined in Network.AWS.Athena.BatchGetQueryExecution

NFData BatchGetQueryExecution # 
Instance details

Defined in Network.AWS.Athena.BatchGetQueryExecution

Methods

rnf :: BatchGetQueryExecution -> () #

type Rep BatchGetQueryExecution # 
Instance details

Defined in Network.AWS.Athena.BatchGetQueryExecution

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

Defined in Network.AWS.Athena.BatchGetQueryExecution

Request Lenses

bgqeQueryExecutionIds :: Lens' BatchGetQueryExecution (NonEmpty Text) #

An array of query execution IDs.

Destructuring the Response

batchGetQueryExecutionResponse #

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:

data BatchGetQueryExecutionResponse #

See: batchGetQueryExecutionResponse smart constructor.

Instances
Eq BatchGetQueryExecutionResponse # 
Instance details

Defined in Network.AWS.Athena.BatchGetQueryExecution

Data BatchGetQueryExecutionResponse # 
Instance details

Defined in Network.AWS.Athena.BatchGetQueryExecution

Methods

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

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

toConstr :: BatchGetQueryExecutionResponse -> Constr #

dataTypeOf :: BatchGetQueryExecutionResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read BatchGetQueryExecutionResponse # 
Instance details

Defined in Network.AWS.Athena.BatchGetQueryExecution

Show BatchGetQueryExecutionResponse # 
Instance details

Defined in Network.AWS.Athena.BatchGetQueryExecution

Generic BatchGetQueryExecutionResponse # 
Instance details

Defined in Network.AWS.Athena.BatchGetQueryExecution

Associated Types

type Rep BatchGetQueryExecutionResponse :: Type -> Type #

NFData BatchGetQueryExecutionResponse # 
Instance details

Defined in Network.AWS.Athena.BatchGetQueryExecution

type Rep BatchGetQueryExecutionResponse # 
Instance details

Defined in Network.AWS.Athena.BatchGetQueryExecution

type Rep BatchGetQueryExecutionResponse = D1 (MetaData "BatchGetQueryExecutionResponse" "Network.AWS.Athena.BatchGetQueryExecution" "amazonka-athena-1.6.1-KxJ2Mqn7no88aYnHk7eyRF" False) (C1 (MetaCons "BatchGetQueryExecutionResponse'" PrefixI True) (S1 (MetaSel (Just "_bgqersUnprocessedQueryExecutionIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [UnprocessedQueryExecutionId])) :*: (S1 (MetaSel (Just "_bgqersQueryExecutions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [QueryExecution])) :*: S1 (MetaSel (Just "_bgqersResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

bgqersUnprocessedQueryExecutionIds :: Lens' BatchGetQueryExecutionResponse [UnprocessedQueryExecutionId] #

Information about the query executions that failed to run.