1
2
3
4
5
6
7
8
9
10
11
12
13
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetTopicRuleDestination`](crate::operation::get_topic_rule_destination::builders::GetTopicRuleDestinationFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    /// - On success, responds with [`GetTopicRuleDestinationOutput`](crate::operation::get_topic_rule_destination::GetTopicRuleDestinationOutput) with field(s):
    ///   - [`topic_rule_destination(Option<TopicRuleDestination>)`](crate::operation::get_topic_rule_destination::GetTopicRuleDestinationOutput::topic_rule_destination): <p>The topic rule destination.</p>
    /// - On failure, responds with [`SdkError<GetTopicRuleDestinationError>`](crate::operation::get_topic_rule_destination::GetTopicRuleDestinationError)
    pub fn get_topic_rule_destination(&self) -> crate::operation::get_topic_rule_destination::builders::GetTopicRuleDestinationFluentBuilder {
        crate::operation::get_topic_rule_destination::builders::GetTopicRuleDestinationFluentBuilder::new(self.handle.clone())
    }
}