1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DescribeSnapshotSchedule`](crate::operation::describe_snapshot_schedule::builders::DescribeSnapshotScheduleFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`volume_arn(impl Into<String>)`](crate::operation::describe_snapshot_schedule::builders::DescribeSnapshotScheduleFluentBuilder::volume_arn) / [`set_volume_arn(Option<String>)`](crate::operation::describe_snapshot_schedule::builders::DescribeSnapshotScheduleFluentBuilder::set_volume_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the volume. Use the <code>ListVolumes</code> operation to return a list of gateway volumes.</p><br>
    /// - On success, responds with [`DescribeSnapshotScheduleOutput`](crate::operation::describe_snapshot_schedule::DescribeSnapshotScheduleOutput) with field(s):
    ///   - [`volume_arn(Option<String>)`](crate::operation::describe_snapshot_schedule::DescribeSnapshotScheduleOutput::volume_arn): <p>The Amazon Resource Name (ARN) of the volume that was specified in the request.</p>
    ///   - [`start_at(Option<i32>)`](crate::operation::describe_snapshot_schedule::DescribeSnapshotScheduleOutput::start_at): <p>The hour of the day at which the snapshot schedule begins represented as <i>hh</i>, where <i>hh</i> is the hour (0 to 23). The hour of the day is in the time zone of the gateway.</p>
    ///   - [`recurrence_in_hours(Option<i32>)`](crate::operation::describe_snapshot_schedule::DescribeSnapshotScheduleOutput::recurrence_in_hours): <p>The number of hours between snapshots.</p>
    ///   - [`description(Option<String>)`](crate::operation::describe_snapshot_schedule::DescribeSnapshotScheduleOutput::description): <p>The snapshot description.</p>
    ///   - [`timezone(Option<String>)`](crate::operation::describe_snapshot_schedule::DescribeSnapshotScheduleOutput::timezone): <p>A value that indicates the time zone of the gateway.</p>
    ///   - [`tags(Option<Vec::<Tag>>)`](crate::operation::describe_snapshot_schedule::DescribeSnapshotScheduleOutput::tags): <p>A list of up to 50 tags assigned to the snapshot schedule, sorted alphabetically by key name. Each tag is a key-value pair. For a gateway with more than 10 tags assigned, you can view all tags using the <code>ListTagsForResource</code> API operation.</p>
    /// - On failure, responds with [`SdkError<DescribeSnapshotScheduleError>`](crate::operation::describe_snapshot_schedule::DescribeSnapshotScheduleError)
    pub fn describe_snapshot_schedule(&self) -> crate::operation::describe_snapshot_schedule::builders::DescribeSnapshotScheduleFluentBuilder {
        crate::operation::describe_snapshot_schedule::builders::DescribeSnapshotScheduleFluentBuilder::new(self.handle.clone())
    }
}