1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DeleteAnalysis`](crate::operation::delete_analysis::builders::DeleteAnalysisFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`aws_account_id(impl Into<String>)`](crate::operation::delete_analysis::builders::DeleteAnalysisFluentBuilder::aws_account_id) / [`set_aws_account_id(Option<String>)`](crate::operation::delete_analysis::builders::DeleteAnalysisFluentBuilder::set_aws_account_id): <p>The ID of the Amazon Web Services account where you want to delete an analysis.</p>
    ///   - [`analysis_id(impl Into<String>)`](crate::operation::delete_analysis::builders::DeleteAnalysisFluentBuilder::analysis_id) / [`set_analysis_id(Option<String>)`](crate::operation::delete_analysis::builders::DeleteAnalysisFluentBuilder::set_analysis_id): <p>The ID of the analysis that you're deleting.</p>
    ///   - [`recovery_window_in_days(i64)`](crate::operation::delete_analysis::builders::DeleteAnalysisFluentBuilder::recovery_window_in_days) / [`set_recovery_window_in_days(Option<i64>)`](crate::operation::delete_analysis::builders::DeleteAnalysisFluentBuilder::set_recovery_window_in_days): <p>A value that specifies the number of days that Amazon QuickSight waits before it deletes the analysis. You can't use this parameter with the <code>ForceDeleteWithoutRecovery</code> option in the same API call. The default value is 30.</p>
    ///   - [`force_delete_without_recovery(bool)`](crate::operation::delete_analysis::builders::DeleteAnalysisFluentBuilder::force_delete_without_recovery) / [`set_force_delete_without_recovery(Option<bool>)`](crate::operation::delete_analysis::builders::DeleteAnalysisFluentBuilder::set_force_delete_without_recovery): <p>This option defaults to the value <code>NoForceDeleteWithoutRecovery</code>. To immediately delete the analysis, add the <code>ForceDeleteWithoutRecovery</code> option. You can't restore an analysis after it's deleted. </p>
    /// - On success, responds with [`DeleteAnalysisOutput`](crate::operation::delete_analysis::DeleteAnalysisOutput) with field(s):
    ///   - [`status(i32)`](crate::operation::delete_analysis::DeleteAnalysisOutput::status): <p>The HTTP status of the request.</p>
    ///   - [`arn(Option<String>)`](crate::operation::delete_analysis::DeleteAnalysisOutput::arn): <p>The Amazon Resource Name (ARN) of the deleted analysis.</p>
    ///   - [`analysis_id(Option<String>)`](crate::operation::delete_analysis::DeleteAnalysisOutput::analysis_id): <p>The ID of the deleted analysis.</p>
    ///   - [`deletion_time(Option<DateTime>)`](crate::operation::delete_analysis::DeleteAnalysisOutput::deletion_time): <p>The date and time that the analysis is scheduled to be deleted.</p>
    ///   - [`request_id(Option<String>)`](crate::operation::delete_analysis::DeleteAnalysisOutput::request_id): <p>The Amazon Web Services request ID for this operation.</p>
    /// - On failure, responds with [`SdkError<DeleteAnalysisError>`](crate::operation::delete_analysis::DeleteAnalysisError)
    pub fn delete_analysis(
        &self,
    ) -> crate::operation::delete_analysis::builders::DeleteAnalysisFluentBuilder {
        crate::operation::delete_analysis::builders::DeleteAnalysisFluentBuilder::new(
            self.handle.clone(),
        )
    }
}