Mercurial > public > tweet-analysis
comparison README.md @ 5:54e71cf6e324
refactor code
author | Dennis Concepcion Martin <dennisconcepcionmartin@gmail.com> |
---|---|
date | Fri, 17 Sep 2021 17:42:30 +0200 |
parents | 5c36f51105c2 |
children | 6541622b6127 |
comparison
equal
deleted
inserted
replaced
4:cfd876570008 | 5:54e71cf6e324 |
---|---|
78 that the function receives from the event source. Test events are included in the `events` folder in this project. | 78 that the function receives from the event source. Test events are included in the `events` folder in this project. |
79 | 79 |
80 Run functions locally and invoke them with the `sam local invoke` command. | 80 Run functions locally and invoke them with the `sam local invoke` command. |
81 | 81 |
82 ```bash | 82 ```bash |
83 tweet-analysis$ sam local invoke HelloWorldFunction --event events/event.json | 83 tweet-analysis$ sam local invoke HelloWorldFunction --event events/sentiment_event.json |
84 ``` | 84 ``` |
85 | 85 |
86 The SAM CLI can also emulate your application's API. Use the `sam local start-api` to run the API locally on port 3000. | 86 The SAM CLI can also emulate your application's API. Use the `sam local start-api` to run the API locally on port 3000. |
87 | 87 |
88 ```bash | 88 ```bash |