{"action":"created","issue":{"url":"https://api.github.com/repos/jaws-stack/JAWS/issues/46","labels_url":"https://api.github.com/repos/jaws-stack/JAWS/issues/46/labels{/name}","comments_url":"https://api.github.com/repos/jaws-stack/JAWS/issues/46/comments","events_url":"https://api.github.com/repos/jaws-stack/JAWS/issues/46/events","html_url":"https://github.com/jaws-stack/JAWS/issues/46","id":100538643,"number":46,"title":"Invoking other Lambda functions","user":{"login":"jwulf","id":406975,"avatar_url":"https://avatars.githubusercontent.com/u/406975?v=3","gravatar_id":"","url":"https://api.github.com/users/jwulf","html_url":"https://github.com/jwulf","followers_url":"https://api.github.com/users/jwulf/followers","following_url":"https://api.github.com/users/jwulf/following{/other_user}","gists_url":"https://api.github.com/users/jwulf/gists{/gist_id}","starred_url":"https://api.github.com/users/jwulf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwulf/subscriptions","organizations_url":"https://api.github.com/users/jwulf/orgs","repos_url":"https://api.github.com/users/jwulf/repos","events_url":"https://api.github.com/users/jwulf/events{/privacy}","received_events_url":"https://api.github.com/users/jwulf/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-12T13:04:23Z","updated_at":"2015-08-12T13:19:24Z","closed_at":null,"body":"What's the best way to invoke Lambda functions from JAWS? Should I write something to invoke it via REST, or can I use Lambda.invoke?\r\n"},"comment":{"url":"https://api.github.com/repos/jaws-stack/JAWS/issues/comments/130297769","html_url":"https://github.com/jaws-stack/JAWS/issues/46#issuecomment-130297769","issue_url":"https://api.github.com/repos/jaws-stack/JAWS/issues/46","id":130297769,"user":{"login":"mbreton","id":1427214,"avatar_url":"https://avatars.githubusercontent.com/u/1427214?v=3","gravatar_id":"","url":"https://api.github.com/users/mbreton","html_url":"https://github.com/mbreton","followers_url":"https://api.github.com/users/mbreton/followers","following_url":"https://api.github.com/users/mbreton/following{/other_user}","gists_url":"https://api.github.com/users/mbreton/gists{/gist_id}","starred_url":"https://api.github.com/users/mbreton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbreton/subscriptions","organizations_url":"https://api.github.com/users/mbreton/orgs","repos_url":"https://api.github.com/users/mbreton/repos","events_url":"https://api.github.com/users/mbreton/events{/privacy}","received_events_url":"https://api.github.com/users/mbreton/received_events","type":"User","site_admin":false},"created_at":"2015-08-12T13:19:24Z","updated_at":"2015-08-12T13:19:24Z","body":"IMHO if you want invoke a lambda from a Web app, or mobile app the best way\nwould be to use the amazon gateway to build a pseudo Rest API.\nIn this manner, you have less coupling between your client app and the\nback-end. BTW in Jaws you will have a swagger json descriptor to aws\ngateway generator soon. (cf. #41)\n"}}