def METHOD_NAME(self, input: Optional[Union[float, _models.FloatEnum]] = None, **kwargs: Any) -> str:
    """Put a float enum.
    :param input: Input float enum. Known values are: 200.4, 403.4, 405.3, 406.2, and 429.1.
     Default value is None.
    :type input: float or ~nonstringenums.models.FloatEnum
    :keyword callable cls: A custom type or function that will be passed the direct response
    :return: str or the result of cls(response)
    :rtype: str
    :raises ~azure.core.exceptions.HttpResponseError:
    """
    error_map = {
        401: ClientAuthenticationError,
        404: ResourceNotFoundError,
        409: ResourceExistsError,
        304: ResourceNotModifiedError,
    }
    error_map.update(kwargs.pop("error_map", {}) or {})
    _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
    _params = kwargs.pop("params", {}) or {}
    content_type: str = kwargs.pop("content_type", _headers.pop("Content-Type", "application/json"))
    cls: ClsType[str] = kwargs.pop("cls", None)
    if input is not None:
        _json = self._serialize.body(input, "float")
    else:
        _json = None
    request = build_put_request(
        content_type=content_type,
        json=_json,
        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)
    deserialized = self._deserialize("str", pipeline_response)
    if cls:
        return cls(pipeline_response, deserialized, {})
    return deserialized