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

Contents

Description

Starts a crawl using the specified Crawler , regardless of what is scheduled. If the Crawler is already running, does nothing.

Synopsis

Creating a Request

startCrawler Source #

Arguments

:: Text

scName

-> StartCrawler 

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

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

  • scName - Name of the Crawler to start.

data StartCrawler Source #

See: startCrawler smart constructor.

Instances

Eq StartCrawler Source # 
Data StartCrawler Source # 

Methods

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

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

toConstr :: StartCrawler -> Constr #

dataTypeOf :: StartCrawler -> DataType #

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

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

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

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

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

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

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

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

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

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

Read StartCrawler Source # 
Show StartCrawler Source # 
Generic StartCrawler Source # 

Associated Types

type Rep StartCrawler :: * -> * #

Hashable StartCrawler Source # 
ToJSON StartCrawler Source # 
NFData StartCrawler Source # 

Methods

rnf :: StartCrawler -> () #

AWSRequest StartCrawler Source # 
ToQuery StartCrawler Source # 
ToPath StartCrawler Source # 
ToHeaders StartCrawler Source # 
type Rep StartCrawler Source # 
type Rep StartCrawler = D1 (MetaData "StartCrawler" "Network.AWS.Glue.StartCrawler" "amazonka-glue-1.5.0-4Up8HzkFFhK6642ZlsxA7K" True) (C1 (MetaCons "StartCrawler'" PrefixI True) (S1 (MetaSel (Just Symbol "_scName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs StartCrawler Source # 

Request Lenses

scName :: Lens' StartCrawler Text Source #

Name of the Crawler to start.

Destructuring the Response

startCrawlerResponse Source #

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

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

data StartCrawlerResponse Source #

See: startCrawlerResponse smart constructor.

Instances

Eq StartCrawlerResponse Source # 
Data StartCrawlerResponse Source # 

Methods

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

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

toConstr :: StartCrawlerResponse -> Constr #

dataTypeOf :: StartCrawlerResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read StartCrawlerResponse Source # 
Show StartCrawlerResponse Source # 
Generic StartCrawlerResponse Source # 
NFData StartCrawlerResponse Source # 

Methods

rnf :: StartCrawlerResponse -> () #

type Rep StartCrawlerResponse Source # 
type Rep StartCrawlerResponse = D1 (MetaData "StartCrawlerResponse" "Network.AWS.Glue.StartCrawler" "amazonka-glue-1.5.0-4Up8HzkFFhK6642ZlsxA7K" True) (C1 (MetaCons "StartCrawlerResponse'" PrefixI True) (S1 (MetaSel (Just Symbol "_scrsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))

Response Lenses

scrsResponseStatus :: Lens' StartCrawlerResponse Int Source #

  • - | The response status code.