Method: RightAws::SdbInterface#domain_metadata

Defined in:
lib/sdb/right_sdb_interface.rb

#domain_metadata(domain) ⇒ Object

Query Metadata for Domain

Returns a hash on success or an exception on error.

example: sdb = RightAWS:::SdbInterface.new sdb.domain_metadata(‘toys’) # =>

:item_count=>"25",
:item_names_size_bytes=>"900",
:timestamp=>"1291890409",
:attribute_name_count=>"7",
:box_usage=>"0.0000071759",
:attribute_names_size_bytes=>"48",
:attribute_value_count=>"154",
:request_id=>"79bbfe8f-f0c9-59a2-0963-16d5fc6c3c52"

see docs.amazonwebservices.com/AmazonSimpleDB/latest/DeveloperGuide/index.html?SDB_API_DomainMetadata.html



273
274
275
276
# File 'lib/sdb/right_sdb_interface.rb', line 273

def (domain)
  link = generate_request("DomainMetadata","DomainName"=>domain)
  request_info(link,QSdbGenericParser.new)
end