def METHOD_NAME(name_regex: Optional[pulumi.Input[Optional[str]]] = None,
                     path_prefix: Optional[pulumi.Input[Optional[str]]] = None,
                     opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetUsersResult]:
    """
    Use this data source to get the ARNs and Names of IAM Users.
    ## Example Usage
    ### All users in an account
    ```python
    import pulumi
    import pulumi_aws as aws
    users = aws.iam.get_users()
    ```
    ### Users filtered by name regex
    Users whose username contains `abc`
    ```python
    import pulumi
    import pulumi_aws as aws
    users = aws.iam.get_users(name_regex=".*abc.*")
    ```
    ### Users filtered by path prefix
    ```python
    import pulumi
    import pulumi_aws as aws
    users = aws.iam.get_users(path_prefix="/custom-path")
    ```
    :param str name_regex: Regex string to apply to the IAM users list returned by AWS. This allows more advanced filtering not supported from the AWS API. This filtering is done locally on what AWS returns, and could have a performance impact if the result is large. Combine this with other options to narrow down the list AWS returns.
    :param str path_prefix: Path prefix for filtering the results. For example, the prefix `/division_abc/subdivision_xyz/` gets all users whose path starts with `/division_abc/subdivision_xyz/`. If it is not included, it defaults to a slash (`/`), listing all users. For more details, check out [list-users in the AWS CLI reference][1].
    """
    ...