aws_sdk_redshift/client/modify_cluster_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 [`ModifyClusterSnapshotSchedule`](crate::operation::modify_cluster_snapshot_schedule::builders::ModifyClusterSnapshotScheduleFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`cluster_identifier(impl Into<String>)`](crate::operation::modify_cluster_snapshot_schedule::builders::ModifyClusterSnapshotScheduleFluentBuilder::cluster_identifier) / [`set_cluster_identifier(Option<String>)`](crate::operation::modify_cluster_snapshot_schedule::builders::ModifyClusterSnapshotScheduleFluentBuilder::set_cluster_identifier):<br>required: **true**<br><p>A unique identifier for the cluster whose snapshot schedule you want to modify.</p><br>
7 /// - [`schedule_identifier(impl Into<String>)`](crate::operation::modify_cluster_snapshot_schedule::builders::ModifyClusterSnapshotScheduleFluentBuilder::schedule_identifier) / [`set_schedule_identifier(Option<String>)`](crate::operation::modify_cluster_snapshot_schedule::builders::ModifyClusterSnapshotScheduleFluentBuilder::set_schedule_identifier):<br>required: **false**<br><p>A unique alphanumeric identifier for the schedule that you want to associate with the cluster.</p><br>
8 /// - [`disassociate_schedule(bool)`](crate::operation::modify_cluster_snapshot_schedule::builders::ModifyClusterSnapshotScheduleFluentBuilder::disassociate_schedule) / [`set_disassociate_schedule(Option<bool>)`](crate::operation::modify_cluster_snapshot_schedule::builders::ModifyClusterSnapshotScheduleFluentBuilder::set_disassociate_schedule):<br>required: **false**<br><p>A boolean to indicate whether to remove the assoiciation between the cluster and the schedule.</p><br>
9 /// - On success, responds with [`ModifyClusterSnapshotScheduleOutput`](crate::operation::modify_cluster_snapshot_schedule::ModifyClusterSnapshotScheduleOutput)
10 /// - On failure, responds with [`SdkError<ModifyClusterSnapshotScheduleError>`](crate::operation::modify_cluster_snapshot_schedule::ModifyClusterSnapshotScheduleError)
11 pub fn modify_cluster_snapshot_schedule(
12 &self,
13 ) -> crate::operation::modify_cluster_snapshot_schedule::builders::ModifyClusterSnapshotScheduleFluentBuilder {
14 crate::operation::modify_cluster_snapshot_schedule::builders::ModifyClusterSnapshotScheduleFluentBuilder::new(self.handle.clone())
15 }
16}