aws_sdk_databrew/client/update_schedule.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`UpdateSchedule`](crate::operation::update_schedule::builders::UpdateScheduleFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`job_names(impl Into<String>)`](crate::operation::update_schedule::builders::UpdateScheduleFluentBuilder::job_names) / [`set_job_names(Option<Vec::<String>>)`](crate::operation::update_schedule::builders::UpdateScheduleFluentBuilder::set_job_names):<br>required: **false**<br><p>The name or names of one or more jobs to be run for this schedule.</p><br>
7 /// - [`cron_expression(impl Into<String>)`](crate::operation::update_schedule::builders::UpdateScheduleFluentBuilder::cron_expression) / [`set_cron_expression(Option<String>)`](crate::operation::update_schedule::builders::UpdateScheduleFluentBuilder::set_cron_expression):<br>required: **true**<br><p>The date or dates and time or times when the jobs are to be run. For more information, see <a href="https://docs.aws.amazon.com/databrew/latest/dg/jobs.cron.html">Cron expressions</a> in the <i>Glue DataBrew Developer Guide</i>.</p><br>
8 /// - [`name(impl Into<String>)`](crate::operation::update_schedule::builders::UpdateScheduleFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::update_schedule::builders::UpdateScheduleFluentBuilder::set_name):<br>required: **true**<br><p>The name of the schedule to update.</p><br>
9 /// - On success, responds with [`UpdateScheduleOutput`](crate::operation::update_schedule::UpdateScheduleOutput) with field(s):
10 /// - [`name(String)`](crate::operation::update_schedule::UpdateScheduleOutput::name): <p>The name of the schedule that was updated.</p>
11 /// - On failure, responds with [`SdkError<UpdateScheduleError>`](crate::operation::update_schedule::UpdateScheduleError)
12 pub fn update_schedule(&self) -> crate::operation::update_schedule::builders::UpdateScheduleFluentBuilder {
13 crate::operation::update_schedule::builders::UpdateScheduleFluentBuilder::new(self.handle.clone())
14 }
15}