aws_sdk_iot/client/
disable_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 [`DisableTopicRule`](crate::operation::disable_topic_rule::builders::DisableTopicRuleFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`rule_name(impl Into<String>)`](crate::operation::disable_topic_rule::builders::DisableTopicRuleFluentBuilder::rule_name) / [`set_rule_name(Option<String>)`](crate::operation::disable_topic_rule::builders::DisableTopicRuleFluentBuilder::set_rule_name):<br>required: **true**<br><p>The name of the rule to disable.</p><br>
7    /// - On success, responds with [`DisableTopicRuleOutput`](crate::operation::disable_topic_rule::DisableTopicRuleOutput)
8    /// - On failure, responds with [`SdkError<DisableTopicRuleError>`](crate::operation::disable_topic_rule::DisableTopicRuleError)
9    pub fn disable_topic_rule(&self) -> crate::operation::disable_topic_rule::builders::DisableTopicRuleFluentBuilder {
10        crate::operation::disable_topic_rule::builders::DisableTopicRuleFluentBuilder::new(self.handle.clone())
11    }
12}