NAME

Amazon::DynamoDB - support for the AWS DynamoDB API

VERSION

version 0.002

SYNOPSIS

my $ddb = Amazon::DynamoDB->new(
   implementation => 'Amazon::DynamoDB::LWP',
   version        => '20120810',
   access_key     => 'access_key',
   secret_key     => 'secret_key',
   host => 'dynamodb.us-east-1.amazonaws.com',
   scope => 'us-east-1/dynamodb/aws4_request',
   ssl => 1,
   debug => 1);

$ddb->batch_get_item(
   sub {
     my $tbl = shift;
     my $data = shift;
     print "Batch get: $tbl had " . join(',', %$data) . "\n";
   },
   RequestItems => {
     $table_name => { 
       Keys => [
         { 
           name => 'some test name here',
         }
       ],
       AttributesToGet => [qw(name age)],
     }
    })->get;

DESCRIPTION

Provides a Future-based API for Amazon's DynamoDB REST API. See Amazon::DynamoDB::20120810 for available methods.

Current implementations for issuing the HTTP requests:

METHODS

SEE ALSO

IMPLEMENTATION PHILOSOPHY

This module attempts to stick as close to Amazon's API as possible while making some inconvenient limits easy to work with.

Parameters are named the same, return values are as described. Documentation for each method is commonly found at:

http://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_Operations.html

For examples see the test cases, most functionality is well exercised via tests.

AUTHOR

Rusty Conover <rusty@luckydinosaur.com>

Based on code by:

Tom Molesworth <cpan@entitymodel.com>

LICENSE

Copyright 2014 Lucky Dinosaur, LLC. Licensed under the same terms as Perl itself. Copyright Tom Molesworth 2013. Licensed under the same terms as Perl itself.

1 POD Error

The following errors were encountered while parsing the POD:

Around line 122:

=back without =over