update_crawler_schedule
async
¶
update_crawler_schedule(
crawler_name: NameString,
*,
config_overrides: Optional[AsyncGlueClientConfig] = 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/async_glue.py
20697 20698 20699 20700 20701 20702 20703 20704 20705 20706 20707 20708 20709 20710 20711 20712 20713 20714 20715 20716 20717 20718 20719 20720 20721 20722 20723 20724 20725 20726 20727 20728 20729 20730 20731 20732 20733 20734 20735 20736 20737 20738 20739 20740 20741 20742 20743 20744 20745 20746 20747 20748 20749 20750 20751 | |