Sha256: d77ea5eab9ec9909baeed5daa31a1374de494d3e9233a231e5539b0ac92424ab

Contents?: true

Size: 1.09 KB

Versions: 6

Compression:

Stored size: 1.09 KB

Contents

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>:
      #     * '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
      #     * 'ItemCount' - number of items in domain
      #     * 'ItemNameSizeBytes' - 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

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
geemus-fog-0.0.0 lib/fog/aws/requests/simpledb/domain_metadata.rb
geemus-fog-0.0.1 lib/fog/aws/requests/simpledb/domain_metadata.rb
geemus-fog-0.0.3 lib/fog/aws/requests/simpledb/domain_metadata.rb
fog-0.0.5 lib/fog/aws/requests/simpledb/domain_metadata.rb
fog-0.0.4 lib/fog/aws/requests/simpledb/domain_metadata.rb
fog-0.0.3 lib/fog/aws/requests/simpledb/domain_metadata.rb