def METHOD_NAME(self, request, proxy_path: str, headers) -> HttpResponse:
    payload = request.data
    function_name = payload["function_name"]
    args = payload["args"]
    kwargs = payload["kwargs"]
    boto3_func = getattr(self.client, function_name)
    try:
        result = boto3_func(*args, **kwargs)
        return JsonResponse(
            data={
                "function_name": function_name,
                "return_response": result,
                "exception": None,
            },
            status=200,
        )
    except Exception as err:
        logger.info("boto3.client.exception", extra={"error": err})
        return JsonResponse(
            data={
                "function_name": function_name,
                "return_response": {},
                "exception": {"class": err.__class__.__name__},
            },
            status=400,
        )