Method: Fog::AWS::SimpleDB::Real#domain_metadata

Defined in:
lib/fog/aws/requests/simpledb/domain_metadata.rb

#domain_metadata(domain_name) ⇒ Object

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<~Excon::Response>:

    • body<~Hash>:

      • ‘AttributeNameCount’ - number of unique attribute names in domain

      • ‘AttributeNamesSizeBytes’ - total size of unique attribute names, in bytes

      • ‘AttributeValueCount’ - number of all name/value pairs in domain

      • ‘AttributeValuesSizeBytes’ - total size of attributes, in bytes

      • ‘BoxUsage’

      • ‘ItemCount’ - number of items in domain

      • ‘ItemNameSizeBytes’ - total size of item names in domain, in bytes

      • ‘RequestId’

      • ‘Timestamp’ - last update time for metadata.



26
27
28
29
30
31
32
33
# File 'lib/fog/aws/requests/simpledb/domain_metadata.rb', line 26

def (domain_name)
  request(
    'Action'      => 'DomainMetadata',
    'DomainName'  => domain_name,
    :idempotent   => true,
    :parser       => Fog::Parsers::AWS::SimpleDB::DomainMetadata.new(@nil_string)
  )
end