input: Write a function to generate an API response in Python for the given data. The function should return a dictionary with the following structure: {"status": 200, "data": the provided data, "message": "Success"}. If the input data is empty, it should return {"status": 400, "message": "No data provided"}.
  
  def generate_api_response(data):
      if not data:
          return {"status": 400, "message": "No data provided"}
      return {"status": 200, "data": data, "message": "Success"}
  
  assert generate_api_response({"name": "John", "age": 28}) == {"status": 200, "data": {"name": "John", "age": 28}, "message": "Success"}
  assert generate_api_response({}) == {"status": 400, "message": "No data provided"}
output: def generate_api_response(data):
      if not data:
          return {"status": 400, "message": "No data provided"}
      return {"status": 200, "data": data, "message": "Success"}