Javascript Scratchpad for Amazon SimpleDB

Sample Code & Libraries>Javascript Scratchpad for Amazon SimpleDB
Community Contributed Software

  • Amazon Web Services provides links to these packages as a convenience for our customers, but software not authored by an "@AWS" account has not been reviewed or screened by AWS.
  • Please review this software to ensure it meets your needs before using it.

A simple HTML and Javascript application that allows you to explore the Amazon SimpleDB API without writing any code.

Details

Submitted By: Elena@AWS
AWS Products Used: Amazon SimpleDB
Language(s): JavaScript
License: Apache License 2.0
Created On: December 27, 2007 9:41 PM GMT
Last Updated: February 25, 2010 6:38 PM GMT
Download

About this Scratchpad

  • A simple HTML/Javascript-based application that allows you to explore the Amazon SimpleDB API without writing any code.
  • Based on the 2009-04-15 API version.

What's New?

  • 2010-02-25: Support for consistent reads, as well as conditional puts & deletes.
  • 2009-05-20: Deprecate Query and QueryWithAttributes. Please migrate to Select API
  • 2009-03-24: Support for new API - BatchPutAttributes
  • 2008-08-28: Support for new API - QueryWithAttributes
  • 2008-04-24: Upgrade hmac-sha1 library to support UTF8. Note, however, UTF8-related functionality in scratchpad is currently limited to GET requests. To invoke request with UTF8 characters, click on "Display Signed URL" and paste url into the browser window.


Package Content

Directory Overview
webapp HTML / Javascript distribution of scratchpad.

Quick Start

  1. Extract the amazon-simpledb-2009-04-15-javascript-scratchpad.zip file into a working directory.
  2. Browse to amazon-simpledb-2009-04-15-javascript-scratchpad/webapp directory and open index.html file in your browser.
  3. Use "Explore API" dropdown to navigate and try various Amazon SimpleDB API
Happy coding!

Comments, Questions or Feedback

If you have any comments, questions or feedback on the library, please start discussion here.

Comments

Incredibly helpful tool...
I really like this tool, however I do wish there were more options for configuration. As well as a way of adding test data (for which it works perfectly), I also wanted to use this to help test my signing of requests. Unfortunately it uses an Undocumented and Deprecated 'SignatureVersion=1'. If this tool had optionally configurable fields for Time, Signature Version and Signature Method then it would fulfil all my needs and desires. As it is the 'Display String to Sign' and 'Display Signed URL' both give unsupported (although working) values.
turni on May 6, 2010 5:17 PM GMT
Handy Tool While We Wait for the Console
Getting used to the limitations of SimpleDB takes some time, and developing applications using it feels clumsy and sluggish compared to the robust toolkit supporting MySQL (including the superb phpMyAdmin). Amazon is promising AWS Console point-and-click support for SimpleDB. In the meantime, the Javascript Scratchpad is a useful tool for kicking the tires on your database and running less used, but helpful API calls. My only complaint is that the app sends our AWS credentials across the wire instead of loading from a config file.
Gandalf on June 5, 2009 1:04 PM GMT
It's Free and it Runs :-)
For being a little client running off JavaScript, html, and css... this is flat out awesome. At first, I used awszone.com. And, that's alright, but this is way better :-) Thanks.
dekenewman on June 3, 2008 8:30 PM GMT
putAttributes - replace confusing
The scratch pad is very useful tool - thanks for making it available. Why allow users to enter a value for Replace when it can only be true/false? I found this confusing as it appeared you could specify a value for a Attribute/Value pair to be replaced with - for example if I have multiple values for a given attribute (color = red,blue,black) and only wanted to replace a specific one (color = black, repalce with color = white). I think making it a radio button or drop select list with true/false would be better. Also adding a "link" option to launch the generated URL would be useful.
Johan Steenkamp on March 17, 2008 5:05 AM GMT
Misleading and missing buttons
A very good scratchpad indeed to explore simpledb. But a novice user might get confused as InvokeRequest button actually does not invoke the request and just displays the URL to be invoked! User would need to copy/paste this URL in another browser window/tab to actually invoke the request. This might be due to incorrect commenting out and a copy/paste error in original code. For example in CreateDomain.html line 78 requires a fix to call invokeRequest() instead of displayUrl() when button shown by button-invokerequest.png is clicked. Also display url and display signed url buttons which have been commented out should be put back in.
smcal75 on January 5, 2008 12:59 PM GMT
We are temporarily not accepting new comments.
©2014, Amazon Web Services, Inc. or its affiliates. All rights reserved.