deleteAttributes
Warning: SimpleDB::deleteAttributes(): 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
RequestId:
BoxUsage: = 0.0 muH
Source - deletecar3samplerecorddesc.php<?php require_once('config.inc.php'); ?> <html> <body> <h1>Delete 'car3' item 'year' and one 'color' in car-s 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 = "car-s"; $item_name = "car3"; echo "deleteAttributes<pre>"; $deleteAttributesRequest = array("make", "color", "year"); $deleteAttributesRequest["year"] = "2008"; $deleteAttributesRequest["color"] = "Blue"; print_r($sdb->deleteAttributes($domain,$item_name,$deleteAttributesRequest)); echo "</pre><P>"; echo("RequestId: ".$sdb->RequestId."<br>"); echo("BoxUsage: ".$sdb->BoxUsage." = " . SimpleDB::displayUsage($sdb->BoxUsage)."<br>"); ?> Copyright © 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> |