1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`CreateTopicRuleDestination`](crate::operation::create_topic_rule_destination::builders::CreateTopicRuleDestinationFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`destination_configuration(TopicRuleDestinationConfiguration)`](crate::operation::create_topic_rule_destination::builders::CreateTopicRuleDestinationFluentBuilder::destination_configuration) / [`set_destination_configuration(Option<TopicRuleDestinationConfiguration>)`](crate::operation::create_topic_rule_destination::builders::CreateTopicRuleDestinationFluentBuilder::set_destination_configuration):<br>required: **true**<br><p>The topic rule destination configuration.</p><br>
    /// - On success, responds with [`CreateTopicRuleDestinationOutput`](crate::operation::create_topic_rule_destination::CreateTopicRuleDestinationOutput) with field(s):
    ///   - [`topic_rule_destination(Option<TopicRuleDestination>)`](crate::operation::create_topic_rule_destination::CreateTopicRuleDestinationOutput::topic_rule_destination): <p>The topic rule destination.</p>
    /// - On failure, responds with [`SdkError<CreateTopicRuleDestinationError>`](crate::operation::create_topic_rule_destination::CreateTopicRuleDestinationError)
    pub fn create_topic_rule_destination(
        &self,
    ) -> crate::operation::create_topic_rule_destination::builders::CreateTopicRuleDestinationFluentBuilder {
        crate::operation::create_topic_rule_destination::builders::CreateTopicRuleDestinationFluentBuilder::new(self.handle.clone())
    }
}