aws_sdk_iot/client/
enable_topic_rule.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 [`EnableTopicRule`](crate::operation::enable_topic_rule::builders::EnableTopicRuleFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`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>
7    /// - On success, responds with [`EnableTopicRuleOutput`](crate::operation::enable_topic_rule::EnableTopicRuleOutput)
8    /// - On failure, responds with [`SdkError<EnableTopicRuleError>`](crate::operation::enable_topic_rule::EnableTopicRuleError)
9    pub fn enable_topic_rule(&self) -> crate::operation::enable_topic_rule::builders::EnableTopicRuleFluentBuilder {
10        crate::operation::enable_topic_rule::builders::EnableTopicRuleFluentBuilder::new(self.handle.clone())
11    }
12}