aws_sdk_redshift/client/
modify_snapshot_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 [`ModifySnapshotSchedule`](crate::operation::modify_snapshot_schedule::builders::ModifySnapshotScheduleFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`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>
7    ///   - [`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>
8    /// - On success, responds with [`ModifySnapshotScheduleOutput`](crate::operation::modify_snapshot_schedule::ModifySnapshotScheduleOutput) with field(s):
9    ///   - [`schedule_definitions(Option<Vec::<String>>)`](crate::operation::modify_snapshot_schedule::ModifySnapshotScheduleOutput::schedule_definitions): <p>A list of ScheduleDefinitions.</p>
10    ///   - [`schedule_identifier(Option<String>)`](crate::operation::modify_snapshot_schedule::ModifySnapshotScheduleOutput::schedule_identifier): <p>A unique identifier for the schedule.</p>
11    ///   - [`schedule_description(Option<String>)`](crate::operation::modify_snapshot_schedule::ModifySnapshotScheduleOutput::schedule_description): <p>The description of the schedule.</p>
12    ///   - [`tags(Option<Vec::<Tag>>)`](crate::operation::modify_snapshot_schedule::ModifySnapshotScheduleOutput::tags): <p>An optional set of tags describing the schedule.</p>
13    ///   - [`next_invocations(Option<Vec::<DateTime>>)`](crate::operation::modify_snapshot_schedule::ModifySnapshotScheduleOutput::next_invocations): <p></p>
14    ///   - [`associated_cluster_count(Option<i32>)`](crate::operation::modify_snapshot_schedule::ModifySnapshotScheduleOutput::associated_cluster_count): <p>The number of clusters associated with the schedule.</p>
15    ///   - [`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>
16    /// - On failure, responds with [`SdkError<ModifySnapshotScheduleError>`](crate::operation::modify_snapshot_schedule::ModifySnapshotScheduleError)
17    pub fn modify_snapshot_schedule(&self) -> crate::operation::modify_snapshot_schedule::builders::ModifySnapshotScheduleFluentBuilder {
18        crate::operation::modify_snapshot_schedule::builders::ModifySnapshotScheduleFluentBuilder::new(self.handle.clone())
19    }
20}