项目作者: willbamford

项目描述 :
AWS Data Pipeline Restore
高级语言: JavaScript
项目地址: git://github.com/willbamford/aws-data-pipeline-restore.git
创建时间: 2017-08-29T07:18:53Z
项目社区:https://github.com/willbamford/aws-data-pipeline-restore

开源协议:

下载


AWS Data Pipeline Restore

Takes data in the format currently output by AWS Data Pipeline DynamoDB export and writes this to local DynamoDB database using batch write (25 items at a time).

Usage

  1. AWS_REGION=eu-west-1 FILE=./export-file.json TABLE=MyTableName node index.js

Why?

For some reason the format exported by AWS Data Pipeline job differs to what’s required by SDK params to batchWriteItem. In particular attribute keys exported have initial lowercase whereas SDK requires all caps e.g. bOOL -> BOOL.