aws_sdk_scheduler/client/
get_schedule_group.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 [`GetScheduleGroup`](crate::operation::get_schedule_group::builders::GetScheduleGroupFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`name(impl Into<String>)`](crate::operation::get_schedule_group::builders::GetScheduleGroupFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::get_schedule_group::builders::GetScheduleGroupFluentBuilder::set_name):<br>required: **true**<br><p>The name of the schedule group to retrieve.</p><br>
7    /// - On success, responds with [`GetScheduleGroupOutput`](crate::operation::get_schedule_group::GetScheduleGroupOutput) with field(s):
8    ///   - [`arn(Option<String>)`](crate::operation::get_schedule_group::GetScheduleGroupOutput::arn): <p>The Amazon Resource Name (ARN) of the schedule group.</p>
9    ///   - [`name(Option<String>)`](crate::operation::get_schedule_group::GetScheduleGroupOutput::name): <p>The name of the schedule group.</p>
10    ///   - [`state(Option<ScheduleGroupState>)`](crate::operation::get_schedule_group::GetScheduleGroupOutput::state): <p>Specifies the state of the schedule group.</p>
11    ///   - [`creation_date(Option<DateTime>)`](crate::operation::get_schedule_group::GetScheduleGroupOutput::creation_date): <p>The time at which the schedule group was created.</p>
12    ///   - [`last_modification_date(Option<DateTime>)`](crate::operation::get_schedule_group::GetScheduleGroupOutput::last_modification_date): <p>The time at which the schedule group was last modified.</p>
13    /// - On failure, responds with [`SdkError<GetScheduleGroupError>`](crate::operation::get_schedule_group::GetScheduleGroupError)
14    pub fn get_schedule_group(&self) -> crate::operation::get_schedule_group::builders::GetScheduleGroupFluentBuilder {
15        crate::operation::get_schedule_group::builders::GetScheduleGroupFluentBuilder::new(self.handle.clone())
16    }
17}