January 2018
Intermediate to advanced
278 pages
5h 13m
English
We can invoke the AWS Lambda function from our program. For testing, we can execute from the Terminal using the AWS CLI. If you have not installed the AWS CLI yet, you can install it by following the instructions at http://docs.aws.amazon.com/cli/latest/userguide/installing.html:
$ aws lambda invoke --invocation-type RequestResponse --function-name echo-lambda --payload '{"msg": "this is testing"}' output.txt