Glue / Client / update_crawler_schedule

update_crawler_schedule#

Glue.Client.update_crawler_schedule(**kwargs)#

Updates the schedule of a crawler using a cron expression.

See also: AWS API Documentation

Request Syntax

response = client.update_crawler_schedule(
    CrawlerName='string',
    Schedule='string'
)
Parameters:
  • CrawlerName (string) –

    [REQUIRED]

    The name of the crawler whose schedule to update.

  • Schedule (string) – The updated 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 * * ? *).

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • Glue.Client.exceptions.EntityNotFoundException

  • Glue.Client.exceptions.InvalidInputException

  • Glue.Client.exceptions.VersionMismatchException

  • Glue.Client.exceptions.SchedulerTransitioningException

  • Glue.Client.exceptions.OperationTimeoutException