1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// 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:
    ///   - [`client_request_token(impl Into<String>)`](crate::operation::update_snapshot::builders::UpdateSnapshotFluentBuilder::client_request_token) / [`set_client_request_token(Option<String>)`](crate::operation::update_snapshot::builders::UpdateSnapshotFluentBuilder::set_client_request_token):<br>required: **false**<br><p>(Optional) An idempotency token for resource creation, in a string of up to 63 ASCII characters. This token is automatically filled on your behalf when you use the Command Line Interface (CLI) or an Amazon Web Services SDK.</p><br>
    ///   - [`name(impl Into<String>)`](crate::operation::update_snapshot::builders::UpdateSnapshotFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::update_snapshot::builders::UpdateSnapshotFluentBuilder::set_name):<br>required: **true**<br><p>The name of the snapshot to update.</p><br>
    ///   - [`snapshot_id(impl Into<String>)`](crate::operation::update_snapshot::builders::UpdateSnapshotFluentBuilder::snapshot_id) / [`set_snapshot_id(Option<String>)`](crate::operation::update_snapshot::builders::UpdateSnapshotFluentBuilder::set_snapshot_id):<br>required: **true**<br><p>The ID of the snapshot that you want to update, in the format <code>fsvolsnap-0123456789abcdef0</code>.</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>Returned after a successful <code>UpdateSnapshot</code> operation, describing the snapshot that you updated.</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())
    }
}