aws_sdk_databrew/client/
describe_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 [`DescribeSchedule`](crate::operation::describe_schedule::builders::DescribeScheduleFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`name(impl Into<String>)`](crate::operation::describe_schedule::builders::DescribeScheduleFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::describe_schedule::builders::DescribeScheduleFluentBuilder::set_name):<br>required: **true**<br><p>The name of the schedule to be described.</p><br>
7    /// - On success, responds with [`DescribeScheduleOutput`](crate::operation::describe_schedule::DescribeScheduleOutput) with field(s):
8    ///   - [`create_date(Option<DateTime>)`](crate::operation::describe_schedule::DescribeScheduleOutput::create_date): <p>The date and time that the schedule was created.</p>
9    ///   - [`created_by(Option<String>)`](crate::operation::describe_schedule::DescribeScheduleOutput::created_by): <p>The identifier (user name) of the user who created the schedule.</p>
10    ///   - [`job_names(Option<Vec::<String>>)`](crate::operation::describe_schedule::DescribeScheduleOutput::job_names): <p>The name or names of one or more jobs to be run by using the schedule.</p>
11    ///   - [`last_modified_by(Option<String>)`](crate::operation::describe_schedule::DescribeScheduleOutput::last_modified_by): <p>The identifier (user name) of the user who last modified the schedule.</p>
12    ///   - [`last_modified_date(Option<DateTime>)`](crate::operation::describe_schedule::DescribeScheduleOutput::last_modified_date): <p>The date and time that the schedule was last modified.</p>
13    ///   - [`resource_arn(Option<String>)`](crate::operation::describe_schedule::DescribeScheduleOutput::resource_arn): <p>The Amazon Resource Name (ARN) of the schedule.</p>
14    ///   - [`cron_expression(Option<String>)`](crate::operation::describe_schedule::DescribeScheduleOutput::cron_expression): <p>The date or dates and time or times when the jobs are to be run for the schedule. 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>
15    ///   - [`tags(Option<HashMap::<String, String>>)`](crate::operation::describe_schedule::DescribeScheduleOutput::tags): <p>Metadata tags associated with this schedule.</p>
16    ///   - [`name(String)`](crate::operation::describe_schedule::DescribeScheduleOutput::name): <p>The name of the schedule.</p>
17    /// - On failure, responds with [`SdkError<DescribeScheduleError>`](crate::operation::describe_schedule::DescribeScheduleError)
18    pub fn describe_schedule(&self) -> crate::operation::describe_schedule::builders::DescribeScheduleFluentBuilder {
19        crate::operation::describe_schedule::builders::DescribeScheduleFluentBuilder::new(self.handle.clone())
20    }
21}