Baby names explorer based of social security public data for 2015 Project based of the alexa java samples
- build
mvn assembly:assembly -DdescriptorId=jar-with-dependencies package
- upload to aws lambda the zip
target/babynames-alexa-1.0-jar-with-dependencies.jar
- modify the
id
insupportedApplicationIds.add("amzn1.ask.skill.[id]");
for classBabyNamesSpeechletRequestStreamHandler.java
If it timeout when creating the lambda function check this stackoverflow
- install with pip
- set up aws
mv target/babynames-alexa-1.0-jar-with-dependencies.jar target/babynames-alexa-1.0-jar-with-dependencies.zip
- when you create it for the first time
aws lambda create-function --function-name BabyNames --runtime java8 --handler babynames.BabyNamesSpeechletRequestStreamHandler --zip-file fileb://./target/babynames-alexa-1.0-jar-with-dependencies.zip --role [grab the role if from the aws console]
- to create the function
aws lambda update-function-code --function-name BabyNames --zip-file fileb://./target/babynames-alexa-1.0-jar-with-dependencies.zip
- Add unit tests tests
- Extend the intent schema and utterance