from typing import Dict
from typing import Any


def _construct_status_queued(analysis_id: str) -> Dict[str, Any]:
    """Construct a response for a queued analysis."""
    status = {"finished_at": None, "reason": None, "started_at": None, "state": "pending"}
    return {
        "error": f"Analysis {analysis_id!r} is being queued and scheduled for processing",
        "status": status,
        "parameters": {"analysis_id": analysis_id},
    }