input: Write a function to generate an API response in Python for the provided data. The function should take a dictionary as input and return a dictionary representing the API response with status code 200, the provided data in the 'data' field, and a 'message' field set to "Success". If the input data is empty, the function should return the same structure with an empty 'data' field and a 'message' field set to "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": 200,
    "data": {},
    "message": "No data provided"
  }
  assert generate_api_response({"city": "New York"}) == {
    "status": 200,
    "data": {"city": "New York"},
    "message": "Success"
  }
output: def generate_api_response(data):
      if data:
          return {
              "status": 200,
              "data": data,
              "message": "Success"
          }
      else:
          return {
              "status": 200,
              "data": {},
              "message": "No data provided"
          }