aws_sdk_redshiftserverless/client/
get_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 [`GetRecoveryPoint`](crate::operation::get_recovery_point::builders::GetRecoveryPointFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`recovery_point_id(impl Into<String>)`](crate::operation::get_recovery_point::builders::GetRecoveryPointFluentBuilder::recovery_point_id) / [`set_recovery_point_id(Option<String>)`](crate::operation::get_recovery_point::builders::GetRecoveryPointFluentBuilder::set_recovery_point_id):<br>required: **true**<br><p>The unique identifier of the recovery point to return information for.</p><br>
7    /// - On success, responds with [`GetRecoveryPointOutput`](crate::operation::get_recovery_point::GetRecoveryPointOutput) with field(s):
8    ///   - [`recovery_point(Option<RecoveryPoint>)`](crate::operation::get_recovery_point::GetRecoveryPointOutput::recovery_point): <p>The returned recovery point object.</p>
9    /// - On failure, responds with [`SdkError<GetRecoveryPointError>`](crate::operation::get_recovery_point::GetRecoveryPointError)
10    pub fn get_recovery_point(&self) -> crate::operation::get_recovery_point::builders::GetRecoveryPointFluentBuilder {
11        crate::operation::get_recovery_point::builders::GetRecoveryPointFluentBuilder::new(self.handle.clone())
12    }
13}