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

Contents

Description

Returns information about a single query.

Synopsis

Creating a Request

getNamedQuery Source #

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

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

  • gnqNamedQueryId - The unique ID of the query. Use ListNamedQueries to get query IDs.

data GetNamedQuery Source #

See: getNamedQuery smart constructor.

Instances
Eq GetNamedQuery Source # 
Instance details

Defined in Network.AWS.Athena.GetNamedQuery

Data GetNamedQuery Source # 
Instance details

Defined in Network.AWS.Athena.GetNamedQuery

Methods

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

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

toConstr :: GetNamedQuery -> Constr #

dataTypeOf :: GetNamedQuery -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetNamedQuery Source # 
Instance details

Defined in Network.AWS.Athena.GetNamedQuery

Show GetNamedQuery Source # 
Instance details

Defined in Network.AWS.Athena.GetNamedQuery

Generic GetNamedQuery Source # 
Instance details

Defined in Network.AWS.Athena.GetNamedQuery

Associated Types

type Rep GetNamedQuery :: Type -> Type #

Hashable GetNamedQuery Source # 
Instance details

Defined in Network.AWS.Athena.GetNamedQuery

ToJSON GetNamedQuery Source # 
Instance details

Defined in Network.AWS.Athena.GetNamedQuery

AWSRequest GetNamedQuery Source # 
Instance details

Defined in Network.AWS.Athena.GetNamedQuery

Associated Types

type Rs GetNamedQuery :: Type #

ToHeaders GetNamedQuery Source # 
Instance details

Defined in Network.AWS.Athena.GetNamedQuery

ToPath GetNamedQuery Source # 
Instance details

Defined in Network.AWS.Athena.GetNamedQuery

ToQuery GetNamedQuery Source # 
Instance details

Defined in Network.AWS.Athena.GetNamedQuery

NFData GetNamedQuery Source # 
Instance details

Defined in Network.AWS.Athena.GetNamedQuery

Methods

rnf :: GetNamedQuery -> () #

type Rep GetNamedQuery Source # 
Instance details

Defined in Network.AWS.Athena.GetNamedQuery

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

Defined in Network.AWS.Athena.GetNamedQuery

Request Lenses

gnqNamedQueryId :: Lens' GetNamedQuery Text Source #

The unique ID of the query. Use ListNamedQueries to get query IDs.

Destructuring the Response

getNamedQueryResponse Source #

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

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

data GetNamedQueryResponse Source #

See: getNamedQueryResponse smart constructor.

Instances
Eq GetNamedQueryResponse Source # 
Instance details

Defined in Network.AWS.Athena.GetNamedQuery

Data GetNamedQueryResponse Source # 
Instance details

Defined in Network.AWS.Athena.GetNamedQuery

Methods

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

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

toConstr :: GetNamedQueryResponse -> Constr #

dataTypeOf :: GetNamedQueryResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetNamedQueryResponse Source # 
Instance details

Defined in Network.AWS.Athena.GetNamedQuery

Show GetNamedQueryResponse Source # 
Instance details

Defined in Network.AWS.Athena.GetNamedQuery

Generic GetNamedQueryResponse Source # 
Instance details

Defined in Network.AWS.Athena.GetNamedQuery

Associated Types

type Rep GetNamedQueryResponse :: Type -> Type #

NFData GetNamedQueryResponse Source # 
Instance details

Defined in Network.AWS.Athena.GetNamedQuery

Methods

rnf :: GetNamedQueryResponse -> () #

type Rep GetNamedQueryResponse Source # 
Instance details

Defined in Network.AWS.Athena.GetNamedQuery

type Rep GetNamedQueryResponse = D1 (MetaData "GetNamedQueryResponse" "Network.AWS.Athena.GetNamedQuery" "amazonka-athena-1.6.1-3l4hGXnA3w2LezY8q3vNku" False) (C1 (MetaCons "GetNamedQueryResponse'" PrefixI True) (S1 (MetaSel (Just "_gnqrsNamedQuery") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe NamedQuery)) :*: S1 (MetaSel (Just "_gnqrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses

gnqrsResponseStatus :: Lens' GetNamedQueryResponse Int Source #

  • - | The response status code.