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