aws_sdk_securityhub/client/
delete_automation_rule_v2.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 [`DeleteAutomationRuleV2`](crate::operation::delete_automation_rule_v2::builders::DeleteAutomationRuleV2FluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`identifier(impl Into<String>)`](crate::operation::delete_automation_rule_v2::builders::DeleteAutomationRuleV2FluentBuilder::identifier) / [`set_identifier(Option<String>)`](crate::operation::delete_automation_rule_v2::builders::DeleteAutomationRuleV2FluentBuilder::set_identifier):<br>required: **true**<br><p>The ARN of the V2 automation rule.</p><br>
7    /// - On success, responds with [`DeleteAutomationRuleV2Output`](crate::operation::delete_automation_rule_v2::DeleteAutomationRuleV2Output)
8    /// - On failure, responds with [`SdkError<DeleteAutomationRuleV2Error>`](crate::operation::delete_automation_rule_v2::DeleteAutomationRuleV2Error)
9    pub fn delete_automation_rule_v2(&self) -> crate::operation::delete_automation_rule_v2::builders::DeleteAutomationRuleV2FluentBuilder {
10        crate::operation::delete_automation_rule_v2::builders::DeleteAutomationRuleV2FluentBuilder::new(self.handle.clone())
11    }
12}