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 [`GetSnapshot`](crate::operation::get_snapshot::builders::GetSnapshotFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`snapshot_name(impl Into<String>)`](crate::operation::get_snapshot::builders::GetSnapshotFluentBuilder::snapshot_name) / [`set_snapshot_name(Option<String>)`](crate::operation::get_snapshot::builders::GetSnapshotFluentBuilder::set_snapshot_name): <p>The name of the snapshot to return.</p>
    ///   - [`owner_account(impl Into<String>)`](crate::operation::get_snapshot::builders::GetSnapshotFluentBuilder::owner_account) / [`set_owner_account(Option<String>)`](crate::operation::get_snapshot::builders::GetSnapshotFluentBuilder::set_owner_account): <p>The owner Amazon Web Services account of a snapshot shared with another user.</p>
    ///   - [`snapshot_arn(impl Into<String>)`](crate::operation::get_snapshot::builders::GetSnapshotFluentBuilder::snapshot_arn) / [`set_snapshot_arn(Option<String>)`](crate::operation::get_snapshot::builders::GetSnapshotFluentBuilder::set_snapshot_arn): <p>The Amazon Resource Name (ARN) of the snapshot to return.</p>
    /// - On success, responds with [`GetSnapshotOutput`](crate::operation::get_snapshot::GetSnapshotOutput) with field(s):
    ///   - [`snapshot(Option<Snapshot>)`](crate::operation::get_snapshot::GetSnapshotOutput::snapshot): <p>The returned snapshot object.</p>
    /// - On failure, responds with [`SdkError<GetSnapshotError>`](crate::operation::get_snapshot::GetSnapshotError)
    pub fn get_snapshot(&self) -> crate::operation::get_snapshot::builders::GetSnapshotFluentBuilder {
        crate::operation::get_snapshot::builders::GetSnapshotFluentBuilder::new(self.handle.clone())
    }
}