The DeleteDomain operation deletes a domain. Any items (and their attributes) in
the domain are deleted as well. The DeleteDomain operation might take 10 or more
seconds to complete.
Running DeleteDomain on a domain that does not exist or running the function
multiple times using the same domain name will not result in an error response.
Access
public
Parameters
Parameter |
Type |
Required |
Description |
|---|---|---|---|
|
|
Required |
The name of the domain to delete. |
|
|
|
Optional |
An associative array of parameters that can have the following keys:
|
Returns
Type |
Description |
|---|---|
|
A |
Examples
Delete a domain.
// Instantiate
$sdb = new AmazonSDB();
$response = $sdb->delete_domain('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

