aws_sdk_connect/client/describe_queue.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`DescribeQueue`](crate::operation::describe_queue::builders::DescribeQueueFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`instance_id(impl Into<String>)`](crate::operation::describe_queue::builders::DescribeQueueFluentBuilder::instance_id) / [`set_instance_id(Option<String>)`](crate::operation::describe_queue::builders::DescribeQueueFluentBuilder::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>
/// - [`queue_id(impl Into<String>)`](crate::operation::describe_queue::builders::DescribeQueueFluentBuilder::queue_id) / [`set_queue_id(Option<String>)`](crate::operation::describe_queue::builders::DescribeQueueFluentBuilder::set_queue_id):<br>required: **true**<br><p>The identifier for the queue.</p><br>
/// - On success, responds with [`DescribeQueueOutput`](crate::operation::describe_queue::DescribeQueueOutput) with field(s):
/// - [`queue(Option<Queue>)`](crate::operation::describe_queue::DescribeQueueOutput::queue): <p>The name of the queue.</p>
/// - On failure, responds with [`SdkError<DescribeQueueError>`](crate::operation::describe_queue::DescribeQueueError)
pub fn describe_queue(&self) -> crate::operation::describe_queue::builders::DescribeQueueFluentBuilder {
crate::operation::describe_queue::builders::DescribeQueueFluentBuilder::new(self.handle.clone())
}
}