def METHOD_NAME(self, put_object: JSON, **kwargs: Any) -> None:  # pylint: disable=inconsistent-return-statements
    """Basic put that puts an object. Pass in {'foo': 'bar'} to get a 200 and anything else to get an
    object error.
    :param put_object: Pass in {'foo': 'bar'} for a 200, anything else for an object error.
     Required.
    :type put_object: JSON
    :return: None
    :rtype: None
    :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[None] = kwargs.pop("cls", None)
    _json = put_object
    request = build_object_type_put_request(
        content_type=content_type,
        json=_json,
        headers=_headers,
        params=_params,
    )
    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]:
        if _stream:
            response.read()  # Load the body in memory and close the socket
        map_error(status_code=response.status_code, response=response, error_map=error_map)
        raise HttpResponseError(response=response)
    if cls:
        return cls(pipeline_response, None, {})