amazonka-glue-1.6.1: 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 # 
Instance details

Defined in Network.AWS.Glue.UpdateCrawler

Data UpdateCrawler Source # 
Instance details

Defined in Network.AWS.Glue.UpdateCrawler

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 # 
Instance details

Defined in Network.AWS.Glue.UpdateCrawler

Show UpdateCrawler Source # 
Instance details

Defined in Network.AWS.Glue.UpdateCrawler

Generic UpdateCrawler Source # 
Instance details

Defined in Network.AWS.Glue.UpdateCrawler

Associated Types

type Rep UpdateCrawler :: Type -> Type #

Hashable UpdateCrawler Source # 
Instance details

Defined in Network.AWS.Glue.UpdateCrawler

ToJSON UpdateCrawler Source # 
Instance details

Defined in Network.AWS.Glue.UpdateCrawler

AWSRequest UpdateCrawler Source # 
Instance details

Defined in Network.AWS.Glue.UpdateCrawler

Associated Types

type Rs UpdateCrawler :: Type #

ToHeaders UpdateCrawler Source # 
Instance details

Defined in Network.AWS.Glue.UpdateCrawler

ToPath UpdateCrawler Source # 
Instance details

Defined in Network.AWS.Glue.UpdateCrawler

ToQuery UpdateCrawler Source # 
Instance details

Defined in Network.AWS.Glue.UpdateCrawler

NFData UpdateCrawler Source # 
Instance details

Defined in Network.AWS.Glue.UpdateCrawler

Methods

rnf :: UpdateCrawler -> () #

type Rep UpdateCrawler Source # 
Instance details

Defined in Network.AWS.Glue.UpdateCrawler

type Rs UpdateCrawler Source # 
Instance details

Defined in Network.AWS.Glue.UpdateCrawler

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 # 
Instance details

Defined in Network.AWS.Glue.UpdateCrawler

Data UpdateCrawlerResponse Source # 
Instance details

Defined in Network.AWS.Glue.UpdateCrawler

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 # 
Instance details

Defined in Network.AWS.Glue.UpdateCrawler

Show UpdateCrawlerResponse Source # 
Instance details

Defined in Network.AWS.Glue.UpdateCrawler

Generic UpdateCrawlerResponse Source # 
Instance details

Defined in Network.AWS.Glue.UpdateCrawler

Associated Types

type Rep UpdateCrawlerResponse :: Type -> Type #

NFData UpdateCrawlerResponse Source # 
Instance details

Defined in Network.AWS.Glue.UpdateCrawler

Methods

rnf :: UpdateCrawlerResponse -> () #

type Rep UpdateCrawlerResponse Source # 
Instance details

Defined in Network.AWS.Glue.UpdateCrawler

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

Response Lenses

uccrsResponseStatus :: Lens' UpdateCrawlerResponse Int Source #

  • - | The response status code.