This changes the api gateway lambda entrypoints to use http status code constants from http instead of literals. No functional change, but I think it increases readability and reduces risk of errors and the cognitive load (I don't have to know what e.g. status code `201' means) when using the constants.
This also included some typo fixes.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Description of changes:
This changes the api gateway lambda entrypoints to use http status code constants from http instead of literals. No functional change, but I think it increases readability and reduces risk of errors and the cognitive load (I don't have to know what e.g. status code `201' means) when using the constants.
This also included some typo fixes.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.