Tom Molesworth > WebService-Amazon-DynamoDB > WebService::Amazon::DynamoDB::20120810

Download:
WebService-Amazon-DynamoDB-0.001.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 0.001   Source  

NAME ^

WebService::Amazon::DynamoDB::20120810 - interact with DynamoDB using API version 20120810

VERSION ^

version 0.001

DESCRIPTION ^

new

Instantiates the API object.

Expects the following named parameters:

create_table

Creates a new table. It may take some time before the table is marked as active - use "wait_for_table" to poll until the status changes.

Named parameters:

describe_table

Describes the given table.

Takes a single named parameter:

and returns the table spec.

delete_table

Delete a table entirely.

Takes a single named parameter:

wait_for_table

Waits for the given table to be marked as active.

Takes a single named parameter:

each_table

Run code for all current tables.

Takes a coderef as the first parameter, will call this for each table found.

put_item

Writes a single item to the table.

Takes the following named parameters:

update_item

Updates a single item in the table.

Takes the following named parameters:

delete_item

Deletes a single item from the table.

Takes the following named parameters:

batch_get_item

Retrieve a batch of items from one or more tables.

Takes a coderef which will be called for each found item, followed by these named parameters:

scan

Scan a table for values with an optional filter expression.

METHODS - Internal ^

The following methods are intended for internal use and are documented purely for completeness - for normal operations see "METHODS" instead.

make_request

Generates an HTTP::Request.

FUNCTIONS - Internal ^

type_for_value

Returns an appropriate type (N, S, SS etc.) for the given value.

Rules are similar to JSON - if you want numeric, numify (0+$value), otherwise you'll get a string.

AUTHOR ^

Tom Molesworth <cpan@entitymodel.com>

LICENSE ^

Copyright Tom Molesworth 2013. Licensed under the same terms as Perl itself.

syntax highlighting: