I have multiple tables in Amazon DynamoDB, JSON Data is currently uploaded into the tables using the batch-write-item command that is available as part of AWS CLI - this works well.
However I would like to use just Python + Boto3 but have not been able to execute the Boto BatchWriteItem request with an external data file as input. I envision if there is a Boto3 script it would look like this shown below, but I have not been able to find documentation/examples for it.
Example (Pseudo Code)
table = dynamodb.Table(‘my_table’)
table.BatchWriteItem(RequestItems=file://MyData.json)
Reference: http://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_BatchWriteItem.html
Pointers appreciated.