aws_sdk_iot/client/enable_topic_rule.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`EnableTopicRule`](crate::operation::enable_topic_rule::builders::EnableTopicRuleFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`rule_name(impl Into<String>)`](crate::operation::enable_topic_rule::builders::EnableTopicRuleFluentBuilder::rule_name) / [`set_rule_name(Option<String>)`](crate::operation::enable_topic_rule::builders::EnableTopicRuleFluentBuilder::set_rule_name):<br>required: **true**<br><p>The name of the topic rule to enable.</p><br>
/// - On success, responds with [`EnableTopicRuleOutput`](crate::operation::enable_topic_rule::EnableTopicRuleOutput)
/// - On failure, responds with [`SdkError<EnableTopicRuleError>`](crate::operation::enable_topic_rule::EnableTopicRuleError)
pub fn enable_topic_rule(&self) -> crate::operation::enable_topic_rule::builders::EnableTopicRuleFluentBuilder {
crate::operation::enable_topic_rule::builders::EnableTopicRuleFluentBuilder::new(self.handle.clone())
}
}