input: Write a function to generate an API response in Python for the provided data. The function should take a dictionary containing "name" and "age" as input and return a dictionary with keys "status", "data", and "message". The status should be 200, the data should be the input dictionary, and the message should be "Success". If the input dictionary is empty, the function should return a response with status 400 and message "No data provided".
  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(input_dict):
      if not input_dict:
          return {"status": 400, "message": "No data provided"}
      return {"status": 200, "data": input_dict, "message": "Success"}