Skip to content

franklinunix/doggos

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

doggos

Training materials for O'Reilly

aws lambda create-function --function-name "hello-world-2" --runtime nodejs6.10 --role "arn:aws:iam::712800520113:role/service-role/rolethatcanexecutelambdas" --handler "hello-world-advanced.handler" --description "numerical magic" --timeout 10 --memory-size 128 --zip-file fileb://hello-world-1006.zip

aws lambda invoke --function-name "hello-world-2" --payload='{"num1": 2, "num2": 2}'

aws lambda invoke --function-name "hello-world-2" --payload='{"num1": 2, "num2": 2}' --log-type Tail /tmp/answer.txt

aws lambda invoke --function-name "hello-world-2" --payload='{"num1": 2, "num2": 2}' --log-type Tail --query=LogResult /tmp/answer.txt | sed -e 's/"//g' | base64 --decode

aws lambda update-function-code --function-name "hello-world-2" --zip-file fileb://hello-world-1006.zip

About

Training materials for O'Reilly

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 57.7%
  • HTML 42.3%