import typing


def _make_aws_api_labels_dict_entry(*args) -> typing.Dict[str, str]:
    """
    Convenience function to unpack 4 values into a dictionary of labels, useful for processing API results.

    Example:
        >>> _make_aws_api_labels_dict_entry("Users", "UserName", "UserDetailList", "UserPolicyList")
        {
            "extracted_list_label": "Users",
            "name_label": "UserName",
            "detail_list_label": "UserDetailList",
            "policy_list_label": "UserPolicyList"
        }

    :params arg[0]: label of asset type
    :params arg[1]: label of asset name
    :params arg[2]: label of asset details
    :params arg[3]: label of asset policy details
    :returns: dictionary of organized labels
    """
    assert len(args) == 4, "Error: need 4 arguments!"
    return dict(
        extracted_list_label=args[0],
        name_label=args[1],
        detail_list_label=args[2],
        policy_list_label=args[3],
    )