1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`BatchUpdateAutomationRules`](crate::operation::batch_update_automation_rules::builders::BatchUpdateAutomationRulesFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`update_automation_rules_request_items(UpdateAutomationRulesRequestItem)`](crate::operation::batch_update_automation_rules::builders::BatchUpdateAutomationRulesFluentBuilder::update_automation_rules_request_items) / [`set_update_automation_rules_request_items(Option<Vec<UpdateAutomationRulesRequestItem>>)`](crate::operation::batch_update_automation_rules::builders::BatchUpdateAutomationRulesFluentBuilder::set_update_automation_rules_request_items): <p> An array of ARNs for the rules that are to be updated. Optionally, you can also include <code>RuleStatus</code> and <code>RuleOrder</code>. </p>
    /// - On success, responds with [`BatchUpdateAutomationRulesOutput`](crate::operation::batch_update_automation_rules::BatchUpdateAutomationRulesOutput) with field(s):
    ///   - [`processed_automation_rules(Option<Vec<String>>)`](crate::operation::batch_update_automation_rules::BatchUpdateAutomationRulesOutput::processed_automation_rules): <p> A list of properly processed rule ARNs. </p>
    ///   - [`unprocessed_automation_rules(Option<Vec<UnprocessedAutomationRule>>)`](crate::operation::batch_update_automation_rules::BatchUpdateAutomationRulesOutput::unprocessed_automation_rules): <p> A list of objects containing <code>RuleArn</code>, <code>ErrorCode</code>, and <code>ErrorMessage</code>. This parameter tells you which automation rules the request didn't update and why. </p>
    /// - On failure, responds with [`SdkError<BatchUpdateAutomationRulesError>`](crate::operation::batch_update_automation_rules::BatchUpdateAutomationRulesError)
    pub fn batch_update_automation_rules(
        &self,
    ) -> crate::operation::batch_update_automation_rules::builders::BatchUpdateAutomationRulesFluentBuilder {
        crate::operation::batch_update_automation_rules::builders::BatchUpdateAutomationRulesFluentBuilder::new(self.handle.clone())
    }
}