aws_sdk_securityhub/client/batch_update_automation_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 [`BatchUpdateAutomationRules`](crate::operation::batch_update_automation_rules::builders::BatchUpdateAutomationRulesFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`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):<br>required: **true**<br><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><br>
7 /// - On success, responds with [`BatchUpdateAutomationRulesOutput`](crate::operation::batch_update_automation_rules::BatchUpdateAutomationRulesOutput) with field(s):
8 /// - [`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>
9 /// - [`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>
10 /// - On failure, responds with [`SdkError<BatchUpdateAutomationRulesError>`](crate::operation::batch_update_automation_rules::BatchUpdateAutomationRulesError)
11 pub fn batch_update_automation_rules(
12 &self,
13 ) -> crate::operation::batch_update_automation_rules::builders::BatchUpdateAutomationRulesFluentBuilder {
14 crate::operation::batch_update_automation_rules::builders::BatchUpdateAutomationRulesFluentBuilder::new(self.handle.clone())
15 }
16}