create_schedule
¶
create_schedule(
cron_expression: CronExpression,
name: ScheduleName,
*,
config_overrides: Optional[DataBrewClientConfig] = None,
job_names: Optional[JobNameList] = None,
tags: Optional[TagMap] = None,
) -> CreateScheduleResponse
Creates a new schedule for one or more DataBrew jobs. Jobs can be run at a specific date and time, or at regular intervals.
Parameters:
-
job_names(Optional[JobNameList], default:None) –The name or names of one or more jobs to be run.
-
cron_expression(CronExpression) –The date or dates and time or times when the jobs are to be run. For more information, see Cron expressions in the Glue DataBrew Developer Guide.
-
tags(Optional[TagMap], default:None) –Metadata tags to apply to this schedule.
-
name(ScheduleName) –A unique name for the schedule. Valid characters are alphanumeric (A-Z, a-z, 0-9), hyphen (-), period (.), and space.
Raises:
-
ConflictException–Updating or deleting a resource can cause an inconsistent state.
-
ServiceQuotaExceededException–A service quota is exceeded.
-
ValidationException–The input parameters for this request failed validation.
-
UnknownServiceError–The service returned an error code this client does not model.