1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DescribeRule`](crate::operation::describe_rule::builders::DescribeRuleFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`instance_id(impl Into<String>)`](crate::operation::describe_rule::builders::DescribeRuleFluentBuilder::instance_id) / [`set_instance_id(Option<String>)`](crate::operation::describe_rule::builders::DescribeRuleFluentBuilder::set_instance_id): <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.</p>
    ///   - [`rule_id(impl Into<String>)`](crate::operation::describe_rule::builders::DescribeRuleFluentBuilder::rule_id) / [`set_rule_id(Option<String>)`](crate::operation::describe_rule::builders::DescribeRuleFluentBuilder::set_rule_id): <p>A unique identifier for the rule.</p>
    /// - On success, responds with [`DescribeRuleOutput`](crate::operation::describe_rule::DescribeRuleOutput) with field(s):
    ///   - [`rule(Option<Rule>)`](crate::operation::describe_rule::DescribeRuleOutput::rule): <p>Information about the rule.</p>
    /// - On failure, responds with [`SdkError<DescribeRuleError>`](crate::operation::describe_rule::DescribeRuleError)
    pub fn describe_rule(
        &self,
    ) -> crate::operation::describe_rule::builders::DescribeRuleFluentBuilder {
        crate::operation::describe_rule::builders::DescribeRuleFluentBuilder::new(
            self.handle.clone(),
        )
    }
}