| Copyright | (c) 2013-2017 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.Glue.UpdateCrawler
Description
Updates a Crawler . If a Crawler is running, you must stop it using StopCrawler before updating it.
- updateCrawler :: Text -> UpdateCrawler
- data UpdateCrawler
- uSchemaChangePolicy :: Lens' UpdateCrawler (Maybe SchemaChangePolicy)
- uSchedule :: Lens' UpdateCrawler (Maybe Text)
- uClassifiers :: Lens' UpdateCrawler [Text]
- uRole :: Lens' UpdateCrawler (Maybe Text)
- uTargets :: Lens' UpdateCrawler (Maybe CrawlerTargets)
- uDatabaseName :: Lens' UpdateCrawler (Maybe Text)
- uTablePrefix :: Lens' UpdateCrawler (Maybe Text)
- uDescription :: Lens' UpdateCrawler (Maybe Text)
- uName :: Lens' UpdateCrawler Text
- updateCrawlerResponse :: Int -> UpdateCrawlerResponse
- data UpdateCrawlerResponse
- uccrsResponseStatus :: Lens' UpdateCrawlerResponse Int
Creating a Request
Arguments
| :: Text | |
| -> 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- Acronexpression 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 customClassifiernames 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 newCrawlerto access customer resources.uTargets- A list of collection of targets to crawl.uDatabaseName- The GlueDatabasewhere 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 newCrawler.uName- Name of the newCrawler.
data UpdateCrawler Source #
See: updateCrawler smart constructor.
Instances
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 .
Destructuring the Response
updateCrawlerResponse Source #
Arguments
| :: Int | |
| -> UpdateCrawlerResponse |
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:
uccrsResponseStatus- -- | The response status code.
data UpdateCrawlerResponse Source #
See: updateCrawlerResponse smart constructor.
Response Lenses
uccrsResponseStatus :: Lens' UpdateCrawlerResponse Int Source #
- - | The response status code.