mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
30 lines
1.1 KiB
Ruby
30 lines
1.1 KiB
Ruby
module Fog
|
|
module AWS
|
|
class SimpleDB
|
|
|
|
# List metadata for SimpleDB domain
|
|
#
|
|
# ==== Parameters
|
|
# * domain_name<~String> - Name of domain. Must be between 3 and 255 of the
|
|
# following characters: a-z, A-Z, 0-9, '_', '-' and '.'.
|
|
#
|
|
# ==== Returns
|
|
# * response<~Fog::AWS::Response>:
|
|
# * body<~Hash>:
|
|
# * :attribute_name_count - number of unique attribute names in domain
|
|
# * :attribute_names_size_bytes - total size of unique attribute names, in bytes
|
|
# * :attribute_value_count - number of all name/value pairs in domain
|
|
# * :attribute_values_size_bytes - total size of attributes, in bytes
|
|
# * :item_count - number of items in domain
|
|
# * :item_name_size_bytes - total size of item names in domain, in bytes
|
|
# * :timestamp - last update time for metadata.
|
|
def domain_metadata(domain_name)
|
|
request({
|
|
'Action' => 'DomainMetadata',
|
|
'DomainName' => domain_name
|
|
}, Fog::Parsers::AWS::SimpleDB::DomainMetadata.new(@nil_string))
|
|
end
|
|
|
|
end
|
|
end
|
|
end
|