def get_buckets(s3_client) -> list:
    """Get all buckets in an account

    Args:
        s3_client (boto3.client): A s3 client

    Returns:
        A list of buckets
    """
    response = s3_client.list_buckets()
    buckets = response["Buckets"]  # There is no pagination
    return buckets