1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`CreateSchedule`](crate::operation::create_schedule::builders::CreateScheduleFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`job_names(Vec<String>)`](crate::operation::create_schedule::builders::CreateScheduleFluentBuilder::job_names) / [`set_job_names(Option<Vec<String>>)`](crate::operation::create_schedule::builders::CreateScheduleFluentBuilder::set_job_names): <p>The name or names of one or more jobs to be run.</p>
    ///   - [`cron_expression(impl ::std::convert::Into<String>)`](crate::operation::create_schedule::builders::CreateScheduleFluentBuilder::cron_expression) / [`set_cron_expression(Option<String>)`](crate::operation::create_schedule::builders::CreateScheduleFluentBuilder::set_cron_expression): <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>
    ///   - [`tags(HashMap<String, String>)`](crate::operation::create_schedule::builders::CreateScheduleFluentBuilder::tags) / [`set_tags(Option<HashMap<String, String>>)`](crate::operation::create_schedule::builders::CreateScheduleFluentBuilder::set_tags): <p>Metadata tags to apply to this schedule.</p>
    ///   - [`name(impl ::std::convert::Into<String>)`](crate::operation::create_schedule::builders::CreateScheduleFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::create_schedule::builders::CreateScheduleFluentBuilder::set_name): <p>A unique name for the schedule. Valid characters are alphanumeric (A-Z, a-z, 0-9), hyphen (-), period (.), and space.</p>
    /// - On success, responds with [`CreateScheduleOutput`](crate::operation::create_schedule::CreateScheduleOutput) with field(s):
    ///   - [`name(Option<String>)`](crate::operation::create_schedule::CreateScheduleOutput::name): <p>The name of the schedule that was created.</p>
    /// - On failure, responds with [`SdkError<CreateScheduleError>`](crate::operation::create_schedule::CreateScheduleError)
    pub fn create_schedule(&self) -> crate::operation::create_schedule::builders::CreateScheduleFluentBuilder {
        crate::operation::create_schedule::builders::CreateScheduleFluentBuilder::new(self.handle.clone())
    }
}