amazonka-glue-1.5.0: Amazon Glue SDK.

Copyright(c) 2013-2017 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.Glue.GetCrawlers

Contents

Description

Retrieves metadata for all Crawlers defined in the customer account.

Synopsis

Creating a Request

getCrawlers :: GetCrawlers Source #

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

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

  • gNextToken - A continuation token, if this is a continuation request.
  • gMaxResults - The number of Crawlers to return on each call.

data GetCrawlers Source #

See: getCrawlers smart constructor.

Instances

Eq GetCrawlers Source # 
Data GetCrawlers Source # 

Methods

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

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

toConstr :: GetCrawlers -> Constr #

dataTypeOf :: GetCrawlers -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetCrawlers Source # 
Show GetCrawlers Source # 
Generic GetCrawlers Source # 

Associated Types

type Rep GetCrawlers :: * -> * #

Hashable GetCrawlers Source # 
ToJSON GetCrawlers Source # 
NFData GetCrawlers Source # 

Methods

rnf :: GetCrawlers -> () #

AWSRequest GetCrawlers Source # 
ToQuery GetCrawlers Source # 
ToPath GetCrawlers Source # 
ToHeaders GetCrawlers Source # 

Methods

toHeaders :: GetCrawlers -> [Header] #

type Rep GetCrawlers Source # 
type Rep GetCrawlers = D1 (MetaData "GetCrawlers" "Network.AWS.Glue.GetCrawlers" "amazonka-glue-1.5.0-4Up8HzkFFhK6642ZlsxA7K" False) (C1 (MetaCons "GetCrawlers'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_gNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_gMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat)))))
type Rs GetCrawlers Source # 

Request Lenses

gNextToken :: Lens' GetCrawlers (Maybe Text) Source #

A continuation token, if this is a continuation request.

gMaxResults :: Lens' GetCrawlers (Maybe Natural) Source #

The number of Crawlers to return on each call.

Destructuring the Response

getCrawlersResponse Source #

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

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

  • grsNextToken - A continuation token, if the returned list has not reached the end of those defined in this customer account.
  • grsCrawlers - A list of Crawler metadata.
  • grsResponseStatus - -- | The response status code.

data GetCrawlersResponse Source #

See: getCrawlersResponse smart constructor.

Instances

Eq GetCrawlersResponse Source # 
Data GetCrawlersResponse Source # 

Methods

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

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

toConstr :: GetCrawlersResponse -> Constr #

dataTypeOf :: GetCrawlersResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetCrawlersResponse Source # 
Show GetCrawlersResponse Source # 
Generic GetCrawlersResponse Source # 
NFData GetCrawlersResponse Source # 

Methods

rnf :: GetCrawlersResponse -> () #

type Rep GetCrawlersResponse Source # 
type Rep GetCrawlersResponse = D1 (MetaData "GetCrawlersResponse" "Network.AWS.Glue.GetCrawlers" "amazonka-glue-1.5.0-4Up8HzkFFhK6642ZlsxA7K" False) (C1 (MetaCons "GetCrawlersResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_grsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_grsCrawlers") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Crawler]))) (S1 (MetaSel (Just Symbol "_grsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))))

Response Lenses

grsNextToken :: Lens' GetCrawlersResponse (Maybe Text) Source #

A continuation token, if the returned list has not reached the end of those defined in this customer account.

grsCrawlers :: Lens' GetCrawlersResponse [Crawler] Source #

A list of Crawler metadata.

grsResponseStatus :: Lens' GetCrawlersResponse Int Source #

  • - | The response status code.