// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`DisableRule`](crate::operation::disable_rule::builders::DisableRuleFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`name(impl Into<String>)`](crate::operation::disable_rule::builders::DisableRuleFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::disable_rule::builders::DisableRuleFluentBuilder::set_name):<br>required: **true**<br><p>The name of the rule.</p><br>
/// - [`event_bus_name(impl Into<String>)`](crate::operation::disable_rule::builders::DisableRuleFluentBuilder::event_bus_name) / [`set_event_bus_name(Option<String>)`](crate::operation::disable_rule::builders::DisableRuleFluentBuilder::set_event_bus_name):<br>required: **false**<br><p>The name or ARN of the event bus associated with the rule. If you omit this, the default event bus is used.</p><br>
/// - On success, responds with [`DisableRuleOutput`](crate::operation::disable_rule::DisableRuleOutput)
/// - On failure, responds with [`SdkError<DisableRuleError>`](crate::operation::disable_rule::DisableRuleError)
pub fn disable_rule(&self) -> crate::operation::disable_rule::builders::DisableRuleFluentBuilder {
crate::operation::disable_rule::builders::DisableRuleFluentBuilder::new(self.handle.clone())
}
}