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 #

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 #

See: getNamedQuery smart constructor.

Instances
Eq GetNamedQuery # 
Instance details

Defined in Network.AWS.Athena.GetNamedQuery

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

Defined in Network.AWS.Athena.GetNamedQuery

Show GetNamedQuery # 
Instance details

Defined in Network.AWS.Athena.GetNamedQuery

Generic GetNamedQuery # 
Instance details

Defined in Network.AWS.Athena.GetNamedQuery

Associated Types

type Rep GetNamedQuery :: Type -> Type #

Hashable GetNamedQuery # 
Instance details

Defined in Network.AWS.Athena.GetNamedQuery

ToJSON GetNamedQuery # 
Instance details

Defined in Network.AWS.Athena.GetNamedQuery

AWSRequest GetNamedQuery # 
Instance details

Defined in Network.AWS.Athena.GetNamedQuery

Associated Types

type Rs GetNamedQuery :: Type #

ToHeaders GetNamedQuery # 
Instance details

Defined in Network.AWS.Athena.GetNamedQuery

ToPath GetNamedQuery # 
Instance details

Defined in Network.AWS.Athena.GetNamedQuery

ToQuery GetNamedQuery # 
Instance details

Defined in Network.AWS.Athena.GetNamedQuery

NFData GetNamedQuery # 
Instance details

Defined in Network.AWS.Athena.GetNamedQuery

Methods

rnf :: GetNamedQuery -> () #

type Rep GetNamedQuery # 
Instance details

Defined in Network.AWS.Athena.GetNamedQuery

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

Defined in Network.AWS.Athena.GetNamedQuery

Request Lenses

gnqNamedQueryId :: Lens' GetNamedQuery Text #

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

Destructuring the Response

getNamedQueryResponse #

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 #

See: getNamedQueryResponse smart constructor.

Instances
Eq GetNamedQueryResponse # 
Instance details

Defined in Network.AWS.Athena.GetNamedQuery

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

Defined in Network.AWS.Athena.GetNamedQuery

Show GetNamedQueryResponse # 
Instance details

Defined in Network.AWS.Athena.GetNamedQuery

Generic GetNamedQueryResponse # 
Instance details

Defined in Network.AWS.Athena.GetNamedQuery

Associated Types

type Rep GetNamedQueryResponse :: Type -> Type #

NFData GetNamedQueryResponse # 
Instance details

Defined in Network.AWS.Athena.GetNamedQuery

Methods

rnf :: GetNamedQueryResponse -> () #

type Rep GetNamedQueryResponse # 
Instance details

Defined in Network.AWS.Athena.GetNamedQuery

type Rep GetNamedQueryResponse = D1 (MetaData "GetNamedQueryResponse" "Network.AWS.Athena.GetNamedQuery" "amazonka-athena-1.6.1-KxJ2Mqn7no88aYnHk7eyRF" 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

gnqrsNamedQuery :: Lens' GetNamedQueryResponse (Maybe NamedQuery) #

Information about the query.

gnqrsResponseStatus :: Lens' GetNamedQueryResponse Int #

  • - | The response status code.