1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`RestoreAnalysis`](crate::operation::restore_analysis::builders::RestoreAnalysisFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`aws_account_id(impl Into<String>)`](crate::operation::restore_analysis::builders::RestoreAnalysisFluentBuilder::aws_account_id) / [`set_aws_account_id(Option<String>)`](crate::operation::restore_analysis::builders::RestoreAnalysisFluentBuilder::set_aws_account_id):<br>required: **true**<br><p>The ID of the Amazon Web Services account that contains the analysis.</p><br>
    ///   - [`analysis_id(impl Into<String>)`](crate::operation::restore_analysis::builders::RestoreAnalysisFluentBuilder::analysis_id) / [`set_analysis_id(Option<String>)`](crate::operation::restore_analysis::builders::RestoreAnalysisFluentBuilder::set_analysis_id):<br>required: **true**<br><p>The ID of the analysis that you're restoring.</p><br>
    /// - On success, responds with [`RestoreAnalysisOutput`](crate::operation::restore_analysis::RestoreAnalysisOutput) with field(s):
    ///   - [`status(i32)`](crate::operation::restore_analysis::RestoreAnalysisOutput::status): <p>The HTTP status of the request.</p>
    ///   - [`arn(Option<String>)`](crate::operation::restore_analysis::RestoreAnalysisOutput::arn): <p>The Amazon Resource Name (ARN) of the analysis that you're restoring.</p>
    ///   - [`analysis_id(Option<String>)`](crate::operation::restore_analysis::RestoreAnalysisOutput::analysis_id): <p>The ID of the analysis that you're restoring. </p>
    ///   - [`request_id(Option<String>)`](crate::operation::restore_analysis::RestoreAnalysisOutput::request_id): <p>The Amazon Web Services request ID for this operation.</p>
    /// - On failure, responds with [`SdkError<RestoreAnalysisError>`](crate::operation::restore_analysis::RestoreAnalysisError)
    pub fn restore_analysis(&self) -> crate::operation::restore_analysis::builders::RestoreAnalysisFluentBuilder {
        crate::operation::restore_analysis::builders::RestoreAnalysisFluentBuilder::new(self.handle.clone())
    }
}