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 |
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
:: 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
- Acron
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 customClassifier
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 newCrawler
to access customer resources.uTargets
- A list of collection of targets to crawl.uDatabaseName
- The GlueDatabase
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 newCrawler
.uName
- Name of the newCrawler
.
data UpdateCrawler Source #
See: updateCrawler
smart constructor.
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 #
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.