aws_sdk_connect/client/describe_rule.rs
// 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):<br>required: **true**<br><p>The identifier of the Amazon Connect instance. You can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the instance ID</a> in the Amazon Resource Name (ARN) of the instance.</p><br>
/// - [`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):<br>required: **true**<br><p>A unique identifier for the rule.</p><br>
/// - 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())
}
}