def publish(
    results_bucket,
    results_prefix,
    results_id,
    public_bucket,
    public_key,
    s3_client,
):
    """Copies Athena results to the public bucket for client use."""
    return s3_client.copy_object(
        CopySource=f"{results_bucket}/{results_prefix}/{results_id}.csv",
        Bucket=public_bucket,
        Key=public_key,
        ACL="public-read",
    )