from typing import Dict
from typing import Any


def isolate_restore_endpoint_mapping(
    data: Dict[str, Any]
) -> Dict[str, Any]:
    """
    Mapping isolate endpoint and restore endpoint response data.

    :type data: ``dict``
    :param method: Response data to received from the end point.

    :return: mapped response data.
    :rtype: ``dict``
    """
    action_id = data.get("actionId", {})
    task_status = data.get("taskStatus", {})
    return {"actionId": action_id, "taskStatus": task_status}