Class AWS::SimpleDB::Item
In: lib/aws/simple_db/item.rb
Parent: Object

Represents a single item in a SimpleDB domain. You can use this class to delete the item or get its data. You can also use it to access the {AttributeCollection} for the item in order to add, remove, or read the item‘s attributes.

  item = AWS::SimpleDB.new.domains['mydomain'].items['item-id']

Methods

attributes   data   delete   new  

Included Modules

Model ExpectConditionOption ConsistentReadOption

Attributes

domain  [R]  @return [Domain] The domain this item belongs to.
name  [R]  @return [String] The item name.

Public Class methods

@param [Domain] domain The domain the item belongs to @param [String] name The name of the item in SimpleDB. @param [Hash] options

Public Instance methods

@return [AttributeCollection] A collection representing all attributes

  for this item.

Returns all of the item‘s attributes in an {ItemData} instance. @return [ItemData] An object with all of the loaded attribute names

  and values for this item.

Deletes the item and all of its attributes from SimpleDB. @return [nil]

[Validate]