Hi! I am trying to build some toy learning apps by modifying the example code you get in the examples from the Alexa console. Python is preferred and appreciated.
For the life of me I can't get any of my code to work. I am now getting all kind of weird access errors, exactly like a previous question here. However he was doing something slightly different.
Can anyone give me concrete code to share with all here that A) Creates a dynamodb and auto creates the table B) store something in it C) read it back D) update it. Just a really simple example that has the includes as well. Googling for answers is not as much fun as getting code to work... :-) Thank you in advance. Yes I am trying to get persistence working, working on a learning app. No I don't want to use S3, I need something like a db/redis
P.S in a previous question here it was suggested that this tutorial will walk you through how to adapt it from S3 to DynamoDB.
@barry@amazon : it mentions twice that if you ever do this properly you should use DynamoDB but nowhere does it actually cover how it is instanced and used instead of the S3. This is driving me nuts. :-)
import boto3 from ask_sdk_dynamodb.adapter import DynamoDbAdapter srvcResource = boto3.resource('dynamodb') seb = DynamoDbAdapter(table_name="mythopoeic",create_table=True,dynamodb_resource=srvcResource)
or should I go the whole hog and just do it from the console manually (create db and use keys) like suggested here?
Or forget it and use Flask-Ask on my laptop as a development endpoint?