// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`EnableInsightRules`](crate::operation::enable_insight_rules::builders::EnableInsightRulesFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`rule_names(impl Into<String>)`](crate::operation::enable_insight_rules::builders::EnableInsightRulesFluentBuilder::rule_names) / [`set_rule_names(Option<Vec::<String>>)`](crate::operation::enable_insight_rules::builders::EnableInsightRulesFluentBuilder::set_rule_names):<br>required: **true**<br><p>An array of the rule names to enable. 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 [`EnableInsightRulesOutput`](crate::operation::enable_insight_rules::EnableInsightRulesOutput) with field(s):
/// - [`failures(Option<Vec::<PartialFailure>>)`](crate::operation::enable_insight_rules::EnableInsightRulesOutput::failures): <p>An array listing the rules that could not be enabled. You cannot disable or enable built-in rules.</p>
/// - On failure, responds with [`SdkError<EnableInsightRulesError>`](crate::operation::enable_insight_rules::EnableInsightRulesError)
pub fn enable_insight_rules(&self) -> crate::operation::enable_insight_rules::builders::EnableInsightRulesFluentBuilder {
crate::operation::enable_insight_rules::builders::EnableInsightRulesFluentBuilder::new(self.handle.clone())
}
}