aws-sdk-amplifygen3 1.0.0

AWS SDK for AWS Amplify Gen 3
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetRestoreWindow`](crate::operation::get_restore_window::builders::GetRestoreWindowFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`branch_arn(impl Into<String>)`](crate::operation::get_restore_window::builders::GetRestoreWindowFluentBuilder::branch_arn) / [`set_branch_arn(Option<String>)`](crate::operation::get_restore_window::builders::GetRestoreWindowFluentBuilder::set_branch_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the production branch of the Production environment. Other branches can't be restored.</p><br>
    /// - On success, responds with [`GetRestoreWindowOutput`](crate::operation::get_restore_window::GetRestoreWindowOutput) with field(s):
    ///   - [`earliest_restorable_time(Option<DateTime>)`](crate::operation::get_restore_window::GetRestoreWindowOutput::earliest_restorable_time): <p>The earliest time that you can restore the production branch to. Absent when no restore window is available yet.</p>
    ///   - [`latest_restorable_time(Option<DateTime>)`](crate::operation::get_restore_window::GetRestoreWindowOutput::latest_restorable_time): <p>The latest time that you can restore the production branch to. Absent when no restore window is available yet.</p>
    /// - On failure, responds with [`SdkError<GetRestoreWindowError>`](crate::operation::get_restore_window::GetRestoreWindowError)
    pub fn get_restore_window(&self) -> crate::operation::get_restore_window::builders::GetRestoreWindowFluentBuilder {
        crate::operation::get_restore_window::builders::GetRestoreWindowFluentBuilder::new(self.handle.clone())
    }
}