1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateSnapshot`](crate::operation::update_snapshot::builders::UpdateSnapshotFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`snapshot_name(impl Into<String>)`](crate::operation::update_snapshot::builders::UpdateSnapshotFluentBuilder::snapshot_name) / [`set_snapshot_name(Option<String>)`](crate::operation::update_snapshot::builders::UpdateSnapshotFluentBuilder::set_snapshot_name):<br>required: **true**<br><p>The name of the snapshot.</p><br>
    ///   - [`retention_period(i32)`](crate::operation::update_snapshot::builders::UpdateSnapshotFluentBuilder::retention_period) / [`set_retention_period(Option<i32>)`](crate::operation::update_snapshot::builders::UpdateSnapshotFluentBuilder::set_retention_period):<br>required: **false**<br><p>The new retention period of the snapshot.</p><br>
    /// - On success, responds with [`UpdateSnapshotOutput`](crate::operation::update_snapshot::UpdateSnapshotOutput) with field(s):
    ///   - [`snapshot(Option<Snapshot>)`](crate::operation::update_snapshot::UpdateSnapshotOutput::snapshot): <p>The updated snapshot object.</p>
    /// - On failure, responds with [`SdkError<UpdateSnapshotError>`](crate::operation::update_snapshot::UpdateSnapshotError)
    pub fn update_snapshot(&self) -> crate::operation::update_snapshot::builders::UpdateSnapshotFluentBuilder {
        crate::operation::update_snapshot::builders::UpdateSnapshotFluentBuilder::new(self.handle.clone())
    }
}