the duration needs to be twice that of period to fetch metrics
added DynamoDB examples
Merge pull request #4 from ijin/master

change duration to be period*2