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
19976 19977 19978 19979 19980 19981 19982 19983 19984 19985 19986 19987 19988 19989 19990 19991 19992 19993 19994 19995 19996 19997 19998 19999 20000 20001 20002 20003 20004 20005 20006 20007 20008 20009 20010 20011 20012 20013 20014 20015 20016 20017 20018 20019 20020 20021 20022 20023 20024 20025 20026 20027 20028 20029 20030 | |