add types to dynamodb interface
use correct types in S3 interface