amazonka-athena-1.6.0: 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 # 
Data GetNamedQuery Source # 

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 # 
Show GetNamedQuery Source # 
Generic GetNamedQuery Source # 

Associated Types

type Rep GetNamedQuery :: * -> * #

Hashable GetNamedQuery Source # 
ToJSON GetNamedQuery Source # 
NFData GetNamedQuery Source # 

Methods

rnf :: GetNamedQuery -> () #

AWSRequest GetNamedQuery Source # 
ToHeaders GetNamedQuery Source # 
ToPath GetNamedQuery Source # 
ToQuery GetNamedQuery Source # 
type Rep GetNamedQuery Source # 
type Rep GetNamedQuery = D1 * (MetaData "GetNamedQuery" "Network.AWS.Athena.GetNamedQuery" "amazonka-athena-1.6.0-KugH04EmDfr8lF2gyqYv3y" True) (C1 * (MetaCons "GetNamedQuery'" PrefixI True) (S1 * (MetaSel (Just Symbol "_gnqNamedQueryId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Text)))
type Rs GetNamedQuery Source # 

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 # 
Data GetNamedQueryResponse Source # 

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 # 
Show GetNamedQueryResponse Source # 
Generic GetNamedQueryResponse Source # 
NFData GetNamedQueryResponse Source # 

Methods

rnf :: GetNamedQueryResponse -> () #

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

Response Lenses

gnqrsResponseStatus :: Lens' GetNamedQueryResponse Int Source #

  • - | The response status code.