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.
Access
public
Parameters
Parameter |
Type |
Required |
Description |
---|---|---|---|
|
Required |
The name of the domain for which to display the metadata of. |
|
|
Optional |
An associative array of parameters that can have the following keys:
|
Returns
Type |
Description |
---|---|
A |
Examples
Get the metadata for a given domain.
// Instantiate $sdb = new AmazonSDB(); $response = $sdb->domain_metadata('example-domain'); // Success? var_dump($response->isOK());Result:
bool(true)
Related Methods
Source
Method defined in services/sdb.class.php | Toggle source view (7 lines) | View on GitHub