For this exercise, take a closer look at the CreatePet method:
- The request is validated in Method Request, and in this case, we can restrict this to accept only well-formed entities according to the JSON schema definition. This works for URL query parameters, headers, and the request body. Here, it is also possible to request authorization via IAM and to use an API key to sign requests:
- The integration request can be made with one of the following:
- Lambda function: This is one of the most used integrations in AWS because it ...