Skip to content
This repository has been archived by the owner on Jun 5, 2018. It is now read-only.

(deprecated: use aws-sdk) NodeJS module to talk to Amazon DynamoDB.

License

Notifications You must be signed in to change notification settings

chilts/awssum-amazon-dynamodb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NOTE: AwsSum is now deprecated. Please use aws-sdk instead.

awssum-amazon-SERVICE

This is an AwsSum plugin!

You'll need to add awssum-amazon-dynamodb to your package.json dependencies. Both awssum and awssum-amazon are pulled in as peer dependencies.

dependencies : {
    "awssum-amazon-dynamodb" : "1.x",
},

Example

List all your tables

var fmt = require('fmt');
var amazonDynamoDB = require('awssum-amazon-dynamodb');

var dynamodb = new amazonDynamoDB.DynamoDB({
    'accessKeyId'     : process.env.ACCESS_KEY_ID,
    'secretAccessKey' : process.env.SECRET_ACCESS_KEY,
    'region'          : amazonDynamoDB.US_EAST_1
});

dynamodb.ListTables(function(err, data) {
    fmt.dump(err, 'err');
    fmt.dump(data, 'data');
});

Operations

  • BatchGetItem
  • BatchWriteItem
  • CreateTable
  • DeleteItem
  • DeleteTable
  • DescribeTable
  • GetItem
  • ListTables
  • PutItem
  • Query
  • Scan
  • UpdateItem
  • UpdateTable

Author

Written by Andrew Chilton - Blog - Twitter.

License

(Ends)

About

(deprecated: use aws-sdk) NodeJS module to talk to Amazon DynamoDB.

Resources

License

Stars

Watchers

Forks

Packages

No packages published