1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ModifySnapshotSchedule`](crate::operation::modify_snapshot_schedule::builders::ModifySnapshotScheduleFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`schedule_identifier(impl Into<String>)`](crate::operation::modify_snapshot_schedule::builders::ModifySnapshotScheduleFluentBuilder::schedule_identifier) / [`set_schedule_identifier(Option<String>)`](crate::operation::modify_snapshot_schedule::builders::ModifySnapshotScheduleFluentBuilder::set_schedule_identifier):<br>required: **true**<br><p>A unique alphanumeric identifier of the schedule to modify.</p><br>
    ///   - [`schedule_definitions(impl Into<String>)`](crate::operation::modify_snapshot_schedule::builders::ModifySnapshotScheduleFluentBuilder::schedule_definitions) / [`set_schedule_definitions(Option<Vec::<String>>)`](crate::operation::modify_snapshot_schedule::builders::ModifySnapshotScheduleFluentBuilder::set_schedule_definitions):<br>required: **true**<br><p>An updated list of schedule definitions. A schedule definition is made up of schedule expressions, for example, "cron(30 12 *)" or "rate(12 hours)".</p><br>
    /// - On success, responds with [`ModifySnapshotScheduleOutput`](crate::operation::modify_snapshot_schedule::ModifySnapshotScheduleOutput) with field(s):
    ///   - [`schedule_definitions(Option<Vec::<String>>)`](crate::operation::modify_snapshot_schedule::ModifySnapshotScheduleOutput::schedule_definitions): <p>A list of ScheduleDefinitions.</p>
    ///   - [`schedule_identifier(Option<String>)`](crate::operation::modify_snapshot_schedule::ModifySnapshotScheduleOutput::schedule_identifier): <p>A unique identifier for the schedule.</p>
    ///   - [`schedule_description(Option<String>)`](crate::operation::modify_snapshot_schedule::ModifySnapshotScheduleOutput::schedule_description): <p>The description of the schedule.</p>
    ///   - [`tags(Option<Vec::<Tag>>)`](crate::operation::modify_snapshot_schedule::ModifySnapshotScheduleOutput::tags): <p>An optional set of tags describing the schedule.</p>
    ///   - [`next_invocations(Option<Vec::<DateTime>>)`](crate::operation::modify_snapshot_schedule::ModifySnapshotScheduleOutput::next_invocations): <p></p>
    ///   - [`associated_cluster_count(Option<i32>)`](crate::operation::modify_snapshot_schedule::ModifySnapshotScheduleOutput::associated_cluster_count): <p>The number of clusters associated with the schedule.</p>
    ///   - [`associated_clusters(Option<Vec::<ClusterAssociatedToSchedule>>)`](crate::operation::modify_snapshot_schedule::ModifySnapshotScheduleOutput::associated_clusters): <p>A list of clusters associated with the schedule. A maximum of 100 clusters is returned.</p>
    /// - On failure, responds with [`SdkError<ModifySnapshotScheduleError>`](crate::operation::modify_snapshot_schedule::ModifySnapshotScheduleError)
    pub fn modify_snapshot_schedule(&self) -> crate::operation::modify_snapshot_schedule::builders::ModifySnapshotScheduleFluentBuilder {
        crate::operation::modify_snapshot_schedule::builders::ModifySnapshotScheduleFluentBuilder::new(self.handle.clone())
    }
}