1
2
3
4
5
6
7
8
9
10
11
12
13
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`RestoreBackup`](crate::operation::restore_backup::builders::RestoreBackupFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`backup_id(impl Into<String>)`](crate::operation::restore_backup::builders::RestoreBackupFluentBuilder::backup_id) / [`set_backup_id(Option<String>)`](crate::operation::restore_backup::builders::RestoreBackupFluentBuilder::set_backup_id):<br>required: **true**<br><p>The ID of the backup to be restored. To find the ID of a backup, use the <code>DescribeBackups</code> operation.</p><br>
    /// - On success, responds with [`RestoreBackupOutput`](crate::operation::restore_backup::RestoreBackupOutput) with field(s):
    ///   - [`backup(Option<Backup>)`](crate::operation::restore_backup::RestoreBackupOutput::backup): <p>Information on the <code>Backup</code> object created.</p>
    /// - On failure, responds with [`SdkError<RestoreBackupError>`](crate::operation::restore_backup::RestoreBackupError)
    pub fn restore_backup(&self) -> crate::operation::restore_backup::builders::RestoreBackupFluentBuilder {
        crate::operation::restore_backup::builders::RestoreBackupFluentBuilder::new(self.handle.clone())
    }
}