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

Contents

Description

Provides a list of all available query IDs.

For code samples using the AWS SDK for Java, see Examples and Code Samples in the Amazon Athena User Guide .

This operation returns paginated results.

Synopsis

Creating a Request

listNamedQueries :: ListNamedQueries Source #

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

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

  • lnqNextToken - The token that specifies where to start pagination if a previous request was truncated.
  • lnqMaxResults - The maximum number of queries to return in this request.

data ListNamedQueries Source #

See: listNamedQueries smart constructor.

Instances
Eq ListNamedQueries Source # 
Instance details

Defined in Network.AWS.Athena.ListNamedQueries

Data ListNamedQueries Source # 
Instance details

Defined in Network.AWS.Athena.ListNamedQueries

Methods

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

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

toConstr :: ListNamedQueries -> Constr #

dataTypeOf :: ListNamedQueries -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListNamedQueries Source # 
Instance details

Defined in Network.AWS.Athena.ListNamedQueries

Show ListNamedQueries Source # 
Instance details

Defined in Network.AWS.Athena.ListNamedQueries

Generic ListNamedQueries Source # 
Instance details

Defined in Network.AWS.Athena.ListNamedQueries

Associated Types

type Rep ListNamedQueries :: Type -> Type #

Hashable ListNamedQueries Source # 
Instance details

Defined in Network.AWS.Athena.ListNamedQueries

ToJSON ListNamedQueries Source # 
Instance details

Defined in Network.AWS.Athena.ListNamedQueries

AWSPager ListNamedQueries Source # 
Instance details

Defined in Network.AWS.Athena.ListNamedQueries

AWSRequest ListNamedQueries Source # 
Instance details

Defined in Network.AWS.Athena.ListNamedQueries

Associated Types

type Rs ListNamedQueries :: Type #

ToHeaders ListNamedQueries Source # 
Instance details

Defined in Network.AWS.Athena.ListNamedQueries

ToPath ListNamedQueries Source # 
Instance details

Defined in Network.AWS.Athena.ListNamedQueries

ToQuery ListNamedQueries Source # 
Instance details

Defined in Network.AWS.Athena.ListNamedQueries

NFData ListNamedQueries Source # 
Instance details

Defined in Network.AWS.Athena.ListNamedQueries

Methods

rnf :: ListNamedQueries -> () #

type Rep ListNamedQueries Source # 
Instance details

Defined in Network.AWS.Athena.ListNamedQueries

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

Defined in Network.AWS.Athena.ListNamedQueries

Request Lenses

lnqNextToken :: Lens' ListNamedQueries (Maybe Text) Source #

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

lnqMaxResults :: Lens' ListNamedQueries (Maybe Natural) Source #

The maximum number of queries to return in this request.

Destructuring the Response

listNamedQueriesResponse Source #

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

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

data ListNamedQueriesResponse Source #

See: listNamedQueriesResponse smart constructor.

Instances
Eq ListNamedQueriesResponse Source # 
Instance details

Defined in Network.AWS.Athena.ListNamedQueries

Data ListNamedQueriesResponse Source # 
Instance details

Defined in Network.AWS.Athena.ListNamedQueries

Methods

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

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

toConstr :: ListNamedQueriesResponse -> Constr #

dataTypeOf :: ListNamedQueriesResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListNamedQueriesResponse Source # 
Instance details

Defined in Network.AWS.Athena.ListNamedQueries

Show ListNamedQueriesResponse Source # 
Instance details

Defined in Network.AWS.Athena.ListNamedQueries

Generic ListNamedQueriesResponse Source # 
Instance details

Defined in Network.AWS.Athena.ListNamedQueries

Associated Types

type Rep ListNamedQueriesResponse :: Type -> Type #

NFData ListNamedQueriesResponse Source # 
Instance details

Defined in Network.AWS.Athena.ListNamedQueries

type Rep ListNamedQueriesResponse Source # 
Instance details

Defined in Network.AWS.Athena.ListNamedQueries

type Rep ListNamedQueriesResponse = D1 (MetaData "ListNamedQueriesResponse" "Network.AWS.Athena.ListNamedQueries" "amazonka-athena-1.6.1-3l4hGXnA3w2LezY8q3vNku" False) (C1 (MetaCons "ListNamedQueriesResponse'" PrefixI True) (S1 (MetaSel (Just "_lnqrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_lnqrsNamedQueryIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (List1 Text))) :*: S1 (MetaSel (Just "_lnqrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

lnqrsNextToken :: Lens' ListNamedQueriesResponse (Maybe Text) Source #

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