Delete 'songs' Domain

Return to Menu


Warning: SimpleDB::deleteDomain(): InvalidClientTokenId: The AWS Access Key Id you provided does not exist in our records. in /home/richhelm/public_html/simpledb/sdb.php on line 1028
Domain songs delete FAILED
ErrorCode: InvalidClientTokenId

Source - deletesongsdomain.php

<?php require_once('config.inc.php');  ?>
<html>
<body>
<h1>Delete 'songs' Domain</h1>
<a href=index.php>Return to Menu</a><p>
 
<?php
 
	if (!class_exists('SimpleDB')) require_once('sdb.php');  
 
	$sdb = new SimpleDB(awsAccessKey, awsSecretKey);  	// create connection
 
	$domain = "songs";
 
	if($sdb->deleteDomain($domain)) {
		echo("Domain $domain deleted<p>");
		echo("RequestId: ".$sdb->RequestId."<br>");
		echo("BoxUsage: ".$sdb->BoxUsage." = " . SimpleDB::displayUsage($sdb->BoxUsage)."<p>");
	} else {
		echo("Domain $domain delete FAILED<br>");
		echo("ErrorCode: ".$sdb->ErrorCode."<p>");
	}
 
?>
 
Copyright &copy; 2010, Rich Helms.  All rights reserved.
<br><a href=http://webmasterinresidence.ca/simpledb/>http://webmasterinresidence.ca/simpledb/</a>
<br><i>Amazon SimpleDB Developer Guide</i> by Prabhakar Chaganti, Rich Helms <a target=_blank href="http://www.packtpub.com/amazon-simpledb-database-developer-guide/">Packt Publishing Ltd</a>
 
</body>
</html>
Copyright © 2010, Rich Helms. All rights reserved.
http://webmasterinresidence.ca/simpledb/
Amazon SimpleDB Developer Guide by Prabhakar Chaganti, Rich Helms Packt Publishing Ltd