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