- Notifications
You must be signed in to change notification settings - Fork 1.5k
Replies: 1 comment · 1 reply
-
| Can you share how are you using the SDK? |
Beta Was this translation helpful? Give feedback.
All reactions
-
| I am using this to replicate DynamoDb table from one account to another. function copy(values, fn) { try { var options = { if(options.source.active && options.destination.active){ // both tables are active if(options.create){ // create table if not exist checkTables(options,function(err,data){ // check if source and destination table exist } function clearTableSchema(table){ delete table.TableStatus // if(table.LocalSecondaryIndexes && table.LocalSecondaryIndexes.length > 0){ // Enabled in ADAPT if (table.BillingModeSummary) { if(table.LocalSecondaryIndexes && table.LocalSecondaryIndexes.length > 0){ if (table.SSEDescription) { return table function checkTables(options,fn){ function waitForActive(options,fn){ function startCopying(options,fn){ }) function getItems(options, fn) { function scan(options, fn) { function mapItems(data) { function putItems(options, fn) { }) module.exports.copy = copy |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I am getting this error while running this [https://github.com/supermafete/dynamodb-cross-account-migration].
Beta Was this translation helpful? Give feedback.
All reactions