SimpleDB / Client / domain_metadata

domain_metadata#

SimpleDB.Client.domain_metadata(**kwargs)#

Returns information about the domain, including when the domain was created, the number of items and attributes in the domain, and the size of the attribute names and values.

See also: AWS API Documentation

Request Syntax

response = client.domain_metadata(
    DomainName='string'
)
Parameters:

DomainName (string) – [REQUIRED] The name of the domain for which to display the metadata of.

Return type:

dict

Returns:

Response Syntax

{
    'ItemCount': 123,
    'ItemNamesSizeBytes': 123,
    'AttributeNameCount': 123,
    'AttributeNamesSizeBytes': 123,
    'AttributeValueCount': 123,
    'AttributeValuesSizeBytes': 123,
    'Timestamp': 123
}

Response Structure

  • (dict) –

    • ItemCount (integer) – The number of all items in the domain.

    • ItemNamesSizeBytes (integer) – The total size of all item names in the domain, in bytes.

    • AttributeNameCount (integer) – The number of unique attribute names in the domain.

    • AttributeNamesSizeBytes (integer) – The total size of all unique attribute names in the domain, in bytes.

    • AttributeValueCount (integer) – The number of all attribute name/value pairs in the domain.

    • AttributeValuesSizeBytes (integer) – The total size of all attribute values in the domain, in bytes.

    • Timestamp (integer) – The data and time when metadata was calculated, in Epoch (UNIX) seconds.

Exceptions

  • SimpleDB.Client.exceptions.MissingParameter

  • SimpleDB.Client.exceptions.NoSuchDomain