aws_sdk_databrew/client/
update_schedule.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateSchedule`](crate::operation::update_schedule::builders::UpdateScheduleFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    ///   - [`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>
    ///   - [`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>
    /// - On success, responds with [`UpdateScheduleOutput`](crate::operation::update_schedule::UpdateScheduleOutput) with field(s):
    ///   - [`name(String)`](crate::operation::update_schedule::UpdateScheduleOutput::name): <p>The name of the schedule that was updated.</p>
    /// - On failure, responds with [`SdkError<UpdateScheduleError>`](crate::operation::update_schedule::UpdateScheduleError)
    pub fn update_schedule(&self) -> crate::operation::update_schedule::builders::UpdateScheduleFluentBuilder {
        crate::operation::update_schedule::builders::UpdateScheduleFluentBuilder::new(self.handle.clone())
    }
}