amazonka-glue-1.6.0: Amazon Glue 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.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 classifiers that the user has registered. By default, all 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 targets to crawl.
  • uDatabaseName - The AWS Glue database where results are stored, such as: arn:aws:daylight:us-east-1::databasesometable* .
  • uConfiguration - Crawler configuration information. This versioned JSON string allows users to specify aspects of a Crawler's behavior. You can use this field to force partitions to inherit metadata such as classification, input format, output format, serde information, and schema from their parent table, rather than detect this information separately for each partition. Use the following JSON string to specify that behavior: Example: '{ Version: 1.0, CrawlerOutput: { Partitions: { AddOrUpdateBehavior: InheritFromTable } } }'
  • uTablePrefix - The table prefix used for catalog tables that are 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 # 
ToHeaders UpdateCrawler Source # 
ToPath UpdateCrawler Source # 
ToQuery 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 classifiers that the user has registered. By default, all 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 targets to crawl.

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

The AWS Glue database where results are stored, such as: arn:aws:daylight:us-east-1::databasesometable* .

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

Crawler configuration information. This versioned JSON string allows users to specify aspects of a Crawler's behavior. You can use this field to force partitions to inherit metadata such as classification, input format, output format, serde information, and schema from their parent table, rather than detect this information separately for each partition. Use the following JSON string to specify that behavior: Example: '{ Version: 1.0, CrawlerOutput: { Partitions: { AddOrUpdateBehavior: InheritFromTable } } }'

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

The table prefix used for catalog tables that are 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.6.0-6lygtbc1qn5L8T6WOf5nFo" 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.