GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  AMAZON::SIMPLEDB::ITEM (3)

.ds Aq ’

NAME

Amazon::SimpleBD::Item - A class representing a domain in SimpleDB

CONTENTS

DESCRIPTION

<B>This is code is in the early stages of development. Do not consider it stable. Feedback and patches welcome.B>

METHODS

    Amazon::SimpleDB::Item->new($args)

Constructor for a domain. Takes a required HASHREF with three required keys:
account An Amazon::SimpleDB account object the item is to be associated.
domain The domain the object is to be associated.
name The name of the item for the constructed object.
Typically this method will not be called directly by a developer, but rather other parts of the Amazon::SimpleDB package.

This method does not check if an item exists and is accessible.

CW$item->account

Returns a reference to the Amazon::SimpleDB account object.

CW$item->domain

CW$item->name

Returns the domain name of the object.

CW$item->get_attributes([$name])

NOTE: Suspect this is broken and that this should support something between 1 or all.

CW$item->put_attributes($args)

Take a required HASHREF of attributes to create. Multiple values should be stored as an ARRAY reference.

This method will return an error response if any of attributes already exist.

CW$item->post_attributes($args)

Take a required HASHREF of attributes to modify. Multiple values should be stored as an ARRAY reference.

Unlike put_attributes this method will overwrite any existing attributes and their values without complaint. If an attribute doesn’t exist this method won’t complain either.

CW$item->delete_attributes([\%attributes|\@attributes])

Takes an optional HASHREF or ARRAYREF that define the attributes to delete. If nothing is passed, the default is to delete all attributes for the item are deleted. (Items are automatically deleted when they no longer have any attributes.)

Using an HASHREF will only delete attributes (defined by the HASH’s keys) with a matching value. Multiple values should be stored as an ARRAYREF.

SEE ALSO

Amazon::SimpleDB, Amazon::SimpleDB::QueryResponse

AUTHOR & COPYRIGHT

Please see the Amazon::SimpleDB manpage for author, copyright, and license information.
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 AMAZON::SIMPLEDB::ITEM (3) 2008-01-23

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.