1
2
3
4
5
6
7
8
9
10
11
12
13
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DeleteInsight`](crate::operation::delete_insight::builders::DeleteInsightFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`insight_arn(impl Into<String>)`](crate::operation::delete_insight::builders::DeleteInsightFluentBuilder::insight_arn) / [`set_insight_arn(Option<String>)`](crate::operation::delete_insight::builders::DeleteInsightFluentBuilder::set_insight_arn):<br>required: **true**<br><p>The ARN of the insight to delete.</p><br>
    /// - On success, responds with [`DeleteInsightOutput`](crate::operation::delete_insight::DeleteInsightOutput) with field(s):
    ///   - [`insight_arn(Option<String>)`](crate::operation::delete_insight::DeleteInsightOutput::insight_arn): <p>The ARN of the insight that was deleted.</p>
    /// - On failure, responds with [`SdkError<DeleteInsightError>`](crate::operation::delete_insight::DeleteInsightError)
    pub fn delete_insight(&self) -> crate::operation::delete_insight::builders::DeleteInsightFluentBuilder {
        crate::operation::delete_insight::builders::DeleteInsightFluentBuilder::new(self.handle.clone())
    }
}