aws_sdk_iot/client/get_topic_rule_destination.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 [`GetTopicRuleDestination`](crate::operation::get_topic_rule_destination::builders::GetTopicRuleDestinationFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`arn(impl Into<String>)`](crate::operation::get_topic_rule_destination::builders::GetTopicRuleDestinationFluentBuilder::arn) / [`set_arn(Option<String>)`](crate::operation::get_topic_rule_destination::builders::GetTopicRuleDestinationFluentBuilder::set_arn):<br>required: **true**<br><p>The ARN of the topic rule destination.</p><br>
7 /// - On success, responds with [`GetTopicRuleDestinationOutput`](crate::operation::get_topic_rule_destination::GetTopicRuleDestinationOutput) with field(s):
8 /// - [`topic_rule_destination(Option<TopicRuleDestination>)`](crate::operation::get_topic_rule_destination::GetTopicRuleDestinationOutput::topic_rule_destination): <p>The topic rule destination.</p>
9 /// - On failure, responds with [`SdkError<GetTopicRuleDestinationError>`](crate::operation::get_topic_rule_destination::GetTopicRuleDestinationError)
10 pub fn get_topic_rule_destination(&self) -> crate::operation::get_topic_rule_destination::builders::GetTopicRuleDestinationFluentBuilder {
11 crate::operation::get_topic_rule_destination::builders::GetTopicRuleDestinationFluentBuilder::new(self.handle.clone())
12 }
13}