def METHOD_NAME(
    self,
    resource_group_name: str,
    profile_name: str,
    top_left: Optional[List[float]] = None,
    bot_right: Optional[List[float]] = None,
    **kwargs: Any
) -> _models.HeatMapModel:
    """Gets latest heatmap for Traffic Manager profile.
    :param resource_group_name: The name of the resource group. The name is case insensitive.
     Required.
    :type resource_group_name: str
    :param profile_name: The name of the Traffic Manager profile. Required.
    :type profile_name: str
    :param top_left: The top left latitude,longitude pair of the rectangular viewport to query for.
     Default value is None.
    :type top_left: list[float]
    :param bot_right: The bottom right latitude,longitude pair of the rectangular viewport to query
     for. Default value is None.
    :type bot_right: list[float]
    :keyword heat_map_type: The type of HeatMap for the Traffic Manager profile. Default value is
     "default". Note that overriding this default value may result in unsupported behavior.
    :paramtype heat_map_type: str
    :keyword callable cls: A custom type or function that will be passed the direct response
    :return: HeatMapModel or the result of cls(response)
    :rtype: ~azure.mgmt.trafficmanager.models.HeatMapModel
    :raises ~azure.core.exceptions.HttpResponseError:
    """
    error_map = {
        401: ClientAuthenticationError,
        404: ResourceNotFoundError,
        409: ResourceExistsError,
        304: ResourceNotModifiedError,
    }
    error_map.update(kwargs.pop("error_map", {}) or {})
    _headers = kwargs.pop("headers", {}) or {}
    _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
    heat_map_type: Literal["default"] = kwargs.pop("heat_map_type", "default")
    api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._config.api_version))
    cls: ClsType[_models.HeatMapModel] = kwargs.pop("cls", None)
    request = build_get_request(
        resource_group_name=resource_group_name,
        profile_name=profile_name,
        subscription_id=self._config.subscription_id,
        top_left=top_left,
        bot_right=bot_right,
        heat_map_type=heat_map_type,
        api_version=api_version,
        template_url=self.METHOD_NAME.metadata["url"],
        headers=_headers,
        params=_params,
    )
    request = _convert_request(request)
    request.url = self._client.format_url(request.url)
    _stream = False
    pipeline_response: PipelineResponse = self._client._pipeline.run(  # pylint: disable=protected-access
        request, stream=_stream, **kwargs
    )
    response = pipeline_response.http_response
    if response.status_code not in [200]:
        map_error(status_code=response.status_code, response=response, error_map=error_map)
        raise HttpResponseError(response=response, error_format=ARMErrorFormat)
    deserialized = self._deserialize("HeatMapModel", pipeline_response)
    if cls:
        return cls(pipeline_response, deserialized, {})
    return deserialized