aws_sdk_connect/client/describe_user_hierarchy_group.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`DescribeUserHierarchyGroup`](crate::operation::describe_user_hierarchy_group::builders::DescribeUserHierarchyGroupFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`hierarchy_group_id(impl Into<String>)`](crate::operation::describe_user_hierarchy_group::builders::DescribeUserHierarchyGroupFluentBuilder::hierarchy_group_id) / [`set_hierarchy_group_id(Option<String>)`](crate::operation::describe_user_hierarchy_group::builders::DescribeUserHierarchyGroupFluentBuilder::set_hierarchy_group_id):<br>required: **true**<br><p>The identifier of the hierarchy group.</p><br>
/// - [`instance_id(impl Into<String>)`](crate::operation::describe_user_hierarchy_group::builders::DescribeUserHierarchyGroupFluentBuilder::instance_id) / [`set_instance_id(Option<String>)`](crate::operation::describe_user_hierarchy_group::builders::DescribeUserHierarchyGroupFluentBuilder::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>
/// - On success, responds with [`DescribeUserHierarchyGroupOutput`](crate::operation::describe_user_hierarchy_group::DescribeUserHierarchyGroupOutput) with field(s):
/// - [`hierarchy_group(Option<HierarchyGroup>)`](crate::operation::describe_user_hierarchy_group::DescribeUserHierarchyGroupOutput::hierarchy_group): <p>Information about the hierarchy group.</p>
/// - On failure, responds with [`SdkError<DescribeUserHierarchyGroupError>`](crate::operation::describe_user_hierarchy_group::DescribeUserHierarchyGroupError)
pub fn describe_user_hierarchy_group(
&self,
) -> crate::operation::describe_user_hierarchy_group::builders::DescribeUserHierarchyGroupFluentBuilder {
crate::operation::describe_user_hierarchy_group::builders::DescribeUserHierarchyGroupFluentBuilder::new(self.handle.clone())
}
}