update_crawler_schedule
¶
update_crawler_schedule(
crawler_name: NameString,
*,
config_overrides: Optional[GlueClientConfig] = None,
schedule: Optional[CronExpression] = None,
) -> UpdateCrawlerScheduleResponse
Updates the schedule of a crawler using a cron expression.
Parameters:
-
crawler_name(NameString) –The name of the crawler whose schedule to update.
-
schedule(Optional[CronExpression], default:None) –The updated
cronexpression 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 * * ? *).
Raises:
-
EntityNotFoundException–A specified entity does not exist
-
InvalidInputException–The input provided was not valid.
-
OperationTimeoutException–The operation timed out.
-
SchedulerTransitioningException–The specified scheduler is transitioning.
-
VersionMismatchException–There was a version conflict.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_glue/_services/glue.py
20367 20368 20369 20370 20371 20372 20373 20374 20375 20376 20377 20378 20379 20380 20381 20382 20383 20384 20385 20386 20387 20388 20389 20390 20391 20392 20393 20394 20395 20396 20397 20398 20399 20400 20401 20402 20403 20404 20405 20406 20407 20408 20409 20410 20411 20412 20413 20414 20415 20416 20417 20418 20419 20420 | |