def METHOD_NAME(instance_id: Optional[str] = None,
                                 opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetUserHierarchyStructureResult:
    """
    Provides details about a specific Amazon Connect User Hierarchy Structure
    ## Example Usage
    ```python
    import pulumi
    import pulumi_aws as aws
    test = aws.connect.get_user_hierarchy_structure(instance_id=aws_connect_instance["test"]["id"])
    ```
    :param str instance_id: Reference to the hosting Amazon Connect Instance
    """
    __args__ = dict()
    __args__['instanceId'] = instance_id
    opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
    __ret__ = pulumi.runtime.invoke('aws:connect/getUserHierarchyStructure:getUserHierarchyStructure', __args__, opts=opts, typ=GetUserHierarchyStructureResult).value
    return AwaitableGetUserHierarchyStructureResult(
        hierarchy_structures=pulumi.get(__ret__, 'hierarchy_structures'),
        id=pulumi.get(__ret__, 'id'),
        instance_id=pulumi.get(__ret__, 'instance_id'))