aws_sdk_cloudwatch/client/
put_managed_insight_rules.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`PutManagedInsightRules`](crate::operation::put_managed_insight_rules::builders::PutManagedInsightRulesFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`managed_rules(ManagedRule)`](crate::operation::put_managed_insight_rules::builders::PutManagedInsightRulesFluentBuilder::managed_rules) / [`set_managed_rules(Option<Vec::<ManagedRule>>)`](crate::operation::put_managed_insight_rules::builders::PutManagedInsightRulesFluentBuilder::set_managed_rules):<br>required: **true**<br><p>A list of <code>ManagedRules</code> to enable.</p><br>
7    /// - On success, responds with [`PutManagedInsightRulesOutput`](crate::operation::put_managed_insight_rules::PutManagedInsightRulesOutput) with field(s):
8    ///   - [`failures(Option<Vec::<PartialFailure>>)`](crate::operation::put_managed_insight_rules::PutManagedInsightRulesOutput::failures): <p>An array that lists the rules that could not be enabled.</p>
9    /// - On failure, responds with [`SdkError<PutManagedInsightRulesError>`](crate::operation::put_managed_insight_rules::PutManagedInsightRulesError)
10    pub fn put_managed_insight_rules(&self) -> crate::operation::put_managed_insight_rules::builders::PutManagedInsightRulesFluentBuilder {
11        crate::operation::put_managed_insight_rules::builders::PutManagedInsightRulesFluentBuilder::new(self.handle.clone())
12    }
13}