Creates an AWS AppSync GraphQL API with an HTTP data source and a function to handle requests and responses.