aws_sdk_redshiftserverless/client/restore_from_recovery_point.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`RestoreFromRecoveryPoint`](crate::operation::restore_from_recovery_point::builders::RestoreFromRecoveryPointFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`recovery_point_id(impl Into<String>)`](crate::operation::restore_from_recovery_point::builders::RestoreFromRecoveryPointFluentBuilder::recovery_point_id) / [`set_recovery_point_id(Option<String>)`](crate::operation::restore_from_recovery_point::builders::RestoreFromRecoveryPointFluentBuilder::set_recovery_point_id):<br>required: **true**<br><p>The unique identifier of the recovery point to restore from.</p><br>
7 /// - [`namespace_name(impl Into<String>)`](crate::operation::restore_from_recovery_point::builders::RestoreFromRecoveryPointFluentBuilder::namespace_name) / [`set_namespace_name(Option<String>)`](crate::operation::restore_from_recovery_point::builders::RestoreFromRecoveryPointFluentBuilder::set_namespace_name):<br>required: **true**<br><p>The name of the namespace to restore data into.</p><br>
8 /// - [`workgroup_name(impl Into<String>)`](crate::operation::restore_from_recovery_point::builders::RestoreFromRecoveryPointFluentBuilder::workgroup_name) / [`set_workgroup_name(Option<String>)`](crate::operation::restore_from_recovery_point::builders::RestoreFromRecoveryPointFluentBuilder::set_workgroup_name):<br>required: **true**<br><p>The name of the workgroup used to restore data.</p><br>
9 /// - On success, responds with [`RestoreFromRecoveryPointOutput`](crate::operation::restore_from_recovery_point::RestoreFromRecoveryPointOutput) with field(s):
10 /// - [`recovery_point_id(Option<String>)`](crate::operation::restore_from_recovery_point::RestoreFromRecoveryPointOutput::recovery_point_id): <p>The unique identifier of the recovery point used for the restore.</p>
11 /// - [`namespace(Option<Namespace>)`](crate::operation::restore_from_recovery_point::RestoreFromRecoveryPointOutput::namespace): <p>The namespace that data was restored into.</p>
12 /// - On failure, responds with [`SdkError<RestoreFromRecoveryPointError>`](crate::operation::restore_from_recovery_point::RestoreFromRecoveryPointError)
13 pub fn restore_from_recovery_point(&self) -> crate::operation::restore_from_recovery_point::builders::RestoreFromRecoveryPointFluentBuilder {
14 crate::operation::restore_from_recovery_point::builders::RestoreFromRecoveryPointFluentBuilder::new(self.handle.clone())
15 }
16}