// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`EnableRule`](crate::operation::enable_rule::builders::EnableRuleFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`name(impl Into<String>)`](crate::operation::enable_rule::builders::EnableRuleFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::enable_rule::builders::EnableRuleFluentBuilder::set_name):<br>required: **true**<br><p>The name of the rule.</p><br>
/// - [`event_bus_name(impl Into<String>)`](crate::operation::enable_rule::builders::EnableRuleFluentBuilder::event_bus_name) / [`set_event_bus_name(Option<String>)`](crate::operation::enable_rule::builders::EnableRuleFluentBuilder::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 [`EnableRuleOutput`](crate::operation::enable_rule::EnableRuleOutput)
/// - On failure, responds with [`SdkError<EnableRuleError>`](crate::operation::enable_rule::EnableRuleError)
pub fn enable_rule(&self) -> crate::operation::enable_rule::builders::EnableRuleFluentBuilder {
crate::operation::enable_rule::builders::EnableRuleFluentBuilder::new(self.handle.clone())
}
}