Updates a crawler. If a crawler is running, you must stop it using
StopCrawler
before updating it.
glue_update_crawler(Name, Role, DatabaseName, Description, Targets,
Schedule, Classifiers, TablePrefix, SchemaChangePolicy, Configuration,
CrawlerSecurityConfiguration)
[required] Name of the new crawler.
The IAM role or Amazon Resource Name (ARN) of an IAM role that is used by the new crawler to access customer resources.
The AWS Glue database where results are stored, such as:
arn:aws:daylight:us-east-1::database/sometable/*
.
A description of the new crawler.
A list of targets to crawl.
A cron
expression used to specify the schedule. For more information,
see Time-Based Schedules for Jobs and Crawlers.
For example, to run something every day at 12:15 UTC, specify
cron(15 12 * * ? *)
.
A list of custom classifiers that the user has registered. By default, all built-in classifiers are included in a crawl, but these custom classifiers always override the default classifiers for a given classification.
The table prefix used for catalog tables that are created.
The policy for the crawler's update and deletion behavior.
The crawler configuration information. This versioned JSON string allows users to specify aspects of a crawler's behavior. For more information, see Configuring a Crawler.
The name of the SecurityConfiguration
structure to be used by this
crawler.
svc$update_crawler( Name = "string", Role = "string", DatabaseName = "string", Description = "string", Targets = list( S3Targets = list( list( Path = "string", Exclusions = list( "string" ) ) ), JdbcTargets = list( list( ConnectionName = "string", Path = "string", Exclusions = list( "string" ) ) ), DynamoDBTargets = list( list( Path = "string" ) ), CatalogTargets = list( list( DatabaseName = "string", Tables = list( "string" ) ) ) ), Schedule = "string", Classifiers = list( "string" ), TablePrefix = "string", SchemaChangePolicy = list( UpdateBehavior = "LOG"|"UPDATE_IN_DATABASE", DeleteBehavior = "LOG"|"DELETE_FROM_DATABASE"|"DEPRECATE_IN_DATABASE" ), Configuration = "string", CrawlerSecurityConfiguration = "string" )