// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`DeleteInsightRules`](crate::operation::delete_insight_rules::builders::DeleteInsightRulesFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`rule_names(impl Into<String>)`](crate::operation::delete_insight_rules::builders::DeleteInsightRulesFluentBuilder::rule_names) / [`set_rule_names(Option<Vec::<String>>)`](crate::operation::delete_insight_rules::builders::DeleteInsightRulesFluentBuilder::set_rule_names):<br>required: **true**<br><p>An array of the rule names to delete. If you need to find out the names of your rules, use <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_DescribeInsightRules.html">DescribeInsightRules</a>.</p><br>
/// - On success, responds with [`DeleteInsightRulesOutput`](crate::operation::delete_insight_rules::DeleteInsightRulesOutput) with field(s):
/// - [`failures(Option<Vec::<PartialFailure>>)`](crate::operation::delete_insight_rules::DeleteInsightRulesOutput::failures): <p>An array listing the rules that could not be deleted. You cannot delete built-in rules.</p>
/// - On failure, responds with [`SdkError<DeleteInsightRulesError>`](crate::operation::delete_insight_rules::DeleteInsightRulesError)
pub fn delete_insight_rules(&self) -> crate::operation::delete_insight_rules::builders::DeleteInsightRulesFluentBuilder {
crate::operation::delete_insight_rules::builders::DeleteInsightRulesFluentBuilder::new(self.handle.clone())
}
}