def s3_list_objects_v2(
    s3_obj,
    bucketname,
    prefix="",
    delimiter="",
    max_keys=1000,
    con_token="",
    fetch_owner=False,
):
    """
    Boto3 client based list object version2

    Args:
        s3_obj (obj): MCG or OBC object
        bucketname (str): Name of the bucket
        prefix (str): Limits the response to keys that begin with the specified prefix.
        delimiter (str): Character used to group keys.
        max_keys (int): Maximum number of keys returned in the response. Default 1,000 keys.
        con_token (str): Token used to continue the list
        fetch_owner (bool): Unique object Identifier

    Returns:
        dict : list object v2 response

    """
    return s3_obj.s3_client.list_objects_v2(
        Bucket=bucketname,
        Prefix=prefix,
        Delimiter=delimiter,
        MaxKeys=max_keys,
        ContinuationToken=con_token,
        FetchOwner=fetch_owner,
    )