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

Contents

Description

Returns the results of a single query execution specified by QueryExecutionId . This request does not execute the query but returns results. Use StartQueryExecution to run a query.

This operation returns paginated results.

Synopsis

Creating a Request

getQueryResults Source #

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

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

  • gqrNextToken - The token that specifies where to start pagination if a previous request was truncated.
  • gqrMaxResults - The maximum number of results (rows) to return in this request.
  • gqrQueryExecutionId - The unique ID of the query execution.

data GetQueryResults Source #

See: getQueryResults smart constructor.

Instances
Eq GetQueryResults Source # 
Instance details

Defined in Network.AWS.Athena.GetQueryResults

Data GetQueryResults Source # 
Instance details

Defined in Network.AWS.Athena.GetQueryResults

Methods

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

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

toConstr :: GetQueryResults -> Constr #

dataTypeOf :: GetQueryResults -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetQueryResults Source # 
Instance details

Defined in Network.AWS.Athena.GetQueryResults

Show GetQueryResults Source # 
Instance details

Defined in Network.AWS.Athena.GetQueryResults

Generic GetQueryResults Source # 
Instance details

Defined in Network.AWS.Athena.GetQueryResults

Associated Types

type Rep GetQueryResults :: Type -> Type #

Hashable GetQueryResults Source # 
Instance details

Defined in Network.AWS.Athena.GetQueryResults

ToJSON GetQueryResults Source # 
Instance details

Defined in Network.AWS.Athena.GetQueryResults

AWSPager GetQueryResults Source # 
Instance details

Defined in Network.AWS.Athena.GetQueryResults

AWSRequest GetQueryResults Source # 
Instance details

Defined in Network.AWS.Athena.GetQueryResults

Associated Types

type Rs GetQueryResults :: Type #

ToHeaders GetQueryResults Source # 
Instance details

Defined in Network.AWS.Athena.GetQueryResults

ToPath GetQueryResults Source # 
Instance details

Defined in Network.AWS.Athena.GetQueryResults

ToQuery GetQueryResults Source # 
Instance details

Defined in Network.AWS.Athena.GetQueryResults

NFData GetQueryResults Source # 
Instance details

Defined in Network.AWS.Athena.GetQueryResults

Methods

rnf :: GetQueryResults -> () #

type Rep GetQueryResults Source # 
Instance details

Defined in Network.AWS.Athena.GetQueryResults

type Rep GetQueryResults = D1 (MetaData "GetQueryResults" "Network.AWS.Athena.GetQueryResults" "amazonka-athena-1.6.1-3l4hGXnA3w2LezY8q3vNku" False) (C1 (MetaCons "GetQueryResults'" PrefixI True) (S1 (MetaSel (Just "_gqrNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_gqrMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat)) :*: S1 (MetaSel (Just "_gqrQueryExecutionId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs GetQueryResults Source # 
Instance details

Defined in Network.AWS.Athena.GetQueryResults

Request Lenses

gqrNextToken :: Lens' GetQueryResults (Maybe Text) Source #

The token that specifies where to start pagination if a previous request was truncated.

gqrMaxResults :: Lens' GetQueryResults (Maybe Natural) Source #

The maximum number of results (rows) to return in this request.

gqrQueryExecutionId :: Lens' GetQueryResults Text Source #

The unique ID of the query execution.

Destructuring the Response

getQueryResultsResponse Source #

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

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

data GetQueryResultsResponse Source #

See: getQueryResultsResponse smart constructor.

Instances
Eq GetQueryResultsResponse Source # 
Instance details

Defined in Network.AWS.Athena.GetQueryResults

Data GetQueryResultsResponse Source # 
Instance details

Defined in Network.AWS.Athena.GetQueryResults

Methods

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

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

toConstr :: GetQueryResultsResponse -> Constr #

dataTypeOf :: GetQueryResultsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetQueryResultsResponse Source # 
Instance details

Defined in Network.AWS.Athena.GetQueryResults

Show GetQueryResultsResponse Source # 
Instance details

Defined in Network.AWS.Athena.GetQueryResults

Generic GetQueryResultsResponse Source # 
Instance details

Defined in Network.AWS.Athena.GetQueryResults

Associated Types

type Rep GetQueryResultsResponse :: Type -> Type #

NFData GetQueryResultsResponse Source # 
Instance details

Defined in Network.AWS.Athena.GetQueryResults

Methods

rnf :: GetQueryResultsResponse -> () #

type Rep GetQueryResultsResponse Source # 
Instance details

Defined in Network.AWS.Athena.GetQueryResults

type Rep GetQueryResultsResponse = D1 (MetaData "GetQueryResultsResponse" "Network.AWS.Athena.GetQueryResults" "amazonka-athena-1.6.1-3l4hGXnA3w2LezY8q3vNku" False) (C1 (MetaCons "GetQueryResultsResponse'" PrefixI True) (S1 (MetaSel (Just "_gqrrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_gqrrsResultSet") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ResultSet)) :*: S1 (MetaSel (Just "_gqrrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

gqrrsNextToken :: Lens' GetQueryResultsResponse (Maybe Text) Source #

A token to be used by the next request if this request is truncated.

gqrrsResultSet :: Lens' GetQueryResultsResponse (Maybe ResultSet) Source #

The results of the query execution.