serverless.yml 은 configuration file이다. HTTP method를 구현하는 데에 dynamoDb.put을 이용할 수 있다. serverless.yml 에서의 function에서 event, path를 정의하여 request에 대한 HTTP method를 정의하고(이것으로서 REST archituecture가 형성된다), full URL of API Gateway에 대한 relative path로 endpoint가 형성된다.