1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`CreateSnapshotSchedule`](crate::operation::create_snapshot_schedule::builders::CreateSnapshotScheduleFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`schedule_definitions(impl Into<String>)`](crate::operation::create_snapshot_schedule::builders::CreateSnapshotScheduleFluentBuilder::schedule_definitions) / [`set_schedule_definitions(Option<Vec<String>>)`](crate::operation::create_snapshot_schedule::builders::CreateSnapshotScheduleFluentBuilder::set_schedule_definitions): <p>The definition of the snapshot schedule. The definition is made up of schedule expressions, for example "cron(30 12 *)" or "rate(12 hours)". </p>
    ///   - [`schedule_identifier(impl Into<String>)`](crate::operation::create_snapshot_schedule::builders::CreateSnapshotScheduleFluentBuilder::schedule_identifier) / [`set_schedule_identifier(Option<String>)`](crate::operation::create_snapshot_schedule::builders::CreateSnapshotScheduleFluentBuilder::set_schedule_identifier): <p>A unique identifier for a snapshot schedule. Only alphanumeric characters are allowed for the identifier.</p>
    ///   - [`schedule_description(impl Into<String>)`](crate::operation::create_snapshot_schedule::builders::CreateSnapshotScheduleFluentBuilder::schedule_description) / [`set_schedule_description(Option<String>)`](crate::operation::create_snapshot_schedule::builders::CreateSnapshotScheduleFluentBuilder::set_schedule_description): <p>The description of the snapshot schedule.</p>
    ///   - [`tags(Tag)`](crate::operation::create_snapshot_schedule::builders::CreateSnapshotScheduleFluentBuilder::tags) / [`set_tags(Option<Vec<Tag>>)`](crate::operation::create_snapshot_schedule::builders::CreateSnapshotScheduleFluentBuilder::set_tags): <p>An optional set of tags you can use to search for the schedule.</p>
    ///   - [`dry_run(bool)`](crate::operation::create_snapshot_schedule::builders::CreateSnapshotScheduleFluentBuilder::dry_run) / [`set_dry_run(Option<bool>)`](crate::operation::create_snapshot_schedule::builders::CreateSnapshotScheduleFluentBuilder::set_dry_run): <p></p>
    ///   - [`next_invocations(i32)`](crate::operation::create_snapshot_schedule::builders::CreateSnapshotScheduleFluentBuilder::next_invocations) / [`set_next_invocations(Option<i32>)`](crate::operation::create_snapshot_schedule::builders::CreateSnapshotScheduleFluentBuilder::set_next_invocations): <p></p>
    /// - On success, responds with [`CreateSnapshotScheduleOutput`](crate::operation::create_snapshot_schedule::CreateSnapshotScheduleOutput) with field(s):
    ///   - [`schedule_definitions(Option<Vec<String>>)`](crate::operation::create_snapshot_schedule::CreateSnapshotScheduleOutput::schedule_definitions): <p>A list of ScheduleDefinitions.</p>
    ///   - [`schedule_identifier(Option<String>)`](crate::operation::create_snapshot_schedule::CreateSnapshotScheduleOutput::schedule_identifier): <p>A unique identifier for the schedule.</p>
    ///   - [`schedule_description(Option<String>)`](crate::operation::create_snapshot_schedule::CreateSnapshotScheduleOutput::schedule_description): <p>The description of the schedule.</p>
    ///   - [`tags(Option<Vec<Tag>>)`](crate::operation::create_snapshot_schedule::CreateSnapshotScheduleOutput::tags): <p>An optional set of tags describing the schedule.</p>
    ///   - [`next_invocations(Option<Vec<DateTime>>)`](crate::operation::create_snapshot_schedule::CreateSnapshotScheduleOutput::next_invocations): <p></p>
    ///   - [`associated_cluster_count(Option<i32>)`](crate::operation::create_snapshot_schedule::CreateSnapshotScheduleOutput::associated_cluster_count): <p>The number of clusters associated with the schedule.</p>
    ///   - [`associated_clusters(Option<Vec<ClusterAssociatedToSchedule>>)`](crate::operation::create_snapshot_schedule::CreateSnapshotScheduleOutput::associated_clusters): <p>A list of clusters associated with the schedule. A maximum of 100 clusters is returned.</p>
    /// - On failure, responds with [`SdkError<CreateSnapshotScheduleError>`](crate::operation::create_snapshot_schedule::CreateSnapshotScheduleError)
    pub fn create_snapshot_schedule(&self) -> crate::operation::create_snapshot_schedule::builders::CreateSnapshotScheduleFluentBuilder {
        crate::operation::create_snapshot_schedule::builders::CreateSnapshotScheduleFluentBuilder::new(self.handle.clone())
    }
}