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

Contents

Description

Updates a Crawler . If a Crawler is running, you must stop it using StopCrawler before updating it.

Synopsis

Creating a Request

updateCrawler Source #

Arguments

:: Text

uName

-> UpdateCrawler 

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

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

  • uSchemaChangePolicy - Policy for the crawler's update and deletion behavior.
  • uSchedule - A cron expression used to specify the schedule (see Time-Based Schedules for Jobs and Crawlers . For example, to run something every day at 12:15 UTC, you would specify: cron(15 12 * * ? *) .
  • uClassifiers - A list of custom Classifier names that the user has registered. By default, all AWS classifiers are included in a crawl, but these custom classifiers always override the default classifiers for a given classification.
  • uRole - The IAM role (or ARN of an IAM role) used by the new Crawler to access customer resources.
  • uTargets - A list of collection of targets to crawl.
  • uDatabaseName - The Glue Database where results will be stored, such as: arn:aws:daylight:us-east-1::databasesometable* .
  • uTablePrefix - The table prefix used for catalog tables created.
  • uDescription - A description of the new Crawler .
  • uName - Name of the new Crawler .

data UpdateCrawler Source #

See: updateCrawler smart constructor.

Instances

Eq UpdateCrawler Source # 
Data UpdateCrawler Source # 

Methods

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

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

toConstr :: UpdateCrawler -> Constr #

dataTypeOf :: UpdateCrawler -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateCrawler Source # 
Show UpdateCrawler Source # 
Generic UpdateCrawler Source # 

Associated Types

type Rep UpdateCrawler :: * -> * #

Hashable UpdateCrawler Source # 
ToJSON UpdateCrawler Source # 
NFData UpdateCrawler Source # 

Methods

rnf :: UpdateCrawler -> () #

AWSRequest UpdateCrawler Source # 
ToQuery UpdateCrawler Source # 
ToPath UpdateCrawler Source # 
ToHeaders UpdateCrawler Source # 
type Rep UpdateCrawler Source # 
type Rs UpdateCrawler Source # 

Request Lenses

uSchemaChangePolicy :: Lens' UpdateCrawler (Maybe SchemaChangePolicy) Source #

Policy for the crawler's update and deletion behavior.

uSchedule :: Lens' UpdateCrawler (Maybe Text) Source #

A cron expression used to specify the schedule (see Time-Based Schedules for Jobs and Crawlers . For example, to run something every day at 12:15 UTC, you would specify: cron(15 12 * * ? *) .

uClassifiers :: Lens' UpdateCrawler [Text] Source #

A list of custom Classifier names that the user has registered. By default, all AWS classifiers are included in a crawl, but these custom classifiers always override the default classifiers for a given classification.

uRole :: Lens' UpdateCrawler (Maybe Text) Source #

The IAM role (or ARN of an IAM role) used by the new Crawler to access customer resources.

uTargets :: Lens' UpdateCrawler (Maybe CrawlerTargets) Source #

A list of collection of targets to crawl.

uDatabaseName :: Lens' UpdateCrawler (Maybe Text) Source #

The Glue Database where results will be stored, such as: arn:aws:daylight:us-east-1::databasesometable* .

uTablePrefix :: Lens' UpdateCrawler (Maybe Text) Source #

The table prefix used for catalog tables created.

uDescription :: Lens' UpdateCrawler (Maybe Text) Source #

A description of the new Crawler .

uName :: Lens' UpdateCrawler Text Source #

Name of the new Crawler .

Destructuring the Response

updateCrawlerResponse Source #

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

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

data UpdateCrawlerResponse Source #

See: updateCrawlerResponse smart constructor.

Instances

Eq UpdateCrawlerResponse Source # 
Data UpdateCrawlerResponse Source # 

Methods

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

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

toConstr :: UpdateCrawlerResponse -> Constr #

dataTypeOf :: UpdateCrawlerResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateCrawlerResponse Source # 
Show UpdateCrawlerResponse Source # 
Generic UpdateCrawlerResponse Source # 
NFData UpdateCrawlerResponse Source # 

Methods

rnf :: UpdateCrawlerResponse -> () #

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

Response Lenses

uccrsResponseStatus :: Lens' UpdateCrawlerResponse Int Source #

  • - | The response status code.