aws-sdk-computeoptimizerautomation 1.9.0

AWS SDK for Compute Optimizer Automation
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DeleteAutomationRule`](crate::operation::delete_automation_rule::builders::DeleteAutomationRuleFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`rule_arn(impl Into<String>)`](crate::operation::delete_automation_rule::builders::DeleteAutomationRuleFluentBuilder::rule_arn) / [`set_rule_arn(Option<String>)`](crate::operation::delete_automation_rule::builders::DeleteAutomationRuleFluentBuilder::set_rule_arn):<br>required: **true**<br><p>The ARN of the rule to delete.</p><br>
    ///   - [`rule_revision(i64)`](crate::operation::delete_automation_rule::builders::DeleteAutomationRuleFluentBuilder::rule_revision) / [`set_rule_revision(Option<i64>)`](crate::operation::delete_automation_rule::builders::DeleteAutomationRuleFluentBuilder::set_rule_revision):<br>required: **true**<br><p>The revision number of the rule to delete.</p><br>
    ///   - [`client_token(impl Into<String>)`](crate::operation::delete_automation_rule::builders::DeleteAutomationRuleFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::delete_automation_rule::builders::DeleteAutomationRuleFluentBuilder::set_client_token):<br>required: **false**<br><p>A unique identifier to ensure idempotency of the request.</p><br>
    /// - On success, responds with [`DeleteAutomationRuleOutput`](crate::operation::delete_automation_rule::DeleteAutomationRuleOutput)
    /// - On failure, responds with [`SdkError<DeleteAutomationRuleError>`](crate::operation::delete_automation_rule::DeleteAutomationRuleError)
    pub fn delete_automation_rule(&self) -> crate::operation::delete_automation_rule::builders::DeleteAutomationRuleFluentBuilder {
        crate::operation::delete_automation_rule::builders::DeleteAutomationRuleFluentBuilder::new(self.handle.clone())
    }
}