If you are talking about how you can do it grammatically by writing your own code then Yes. First you have to know all item name i.e in your case UserID and then you need to set a value one by one. You can use BatchPUTAttribute in this case. Using Batch PUT you can update 25 items in one request. You can do 5 to 20 BatchPutAttribute requests in parallel threads. Know more to tune the performance.
If you need to do it somehow in tricky way then you can use SDBExplorer. Please Remember it will set 100 for all items because SDBExplorer does not support conditional PUT. If you would like to set it anyway then Follow these steps-
- Download SDBExplorer zip version form download page.
- Extract it and run the executable.
- Download 30 days trial license.
- Once license has been downloaded main UI will open.
- Provide valid Access Key and Secret keys and click on "GO" button.
- You will see list of domains in Left side tree.
- Right click on the domain in which you would like to set value for all item.
- Choose "Export to CSV" option.
- Export the content of domain into CSV. http://www.sdbexplorer.com/documentation/simpledb--how-to-export-domain-in-csv-using-sdbexplorer.html
- Go to path where your domain has exported.
- Open CSV file.
- Your first column is item name.
- Delete all columns other then item Name and column "ValueA".
- Set 100 for all item name under "ValueA" column.
- Save the CSV.
- Go to the SDBExplorer main UI.
- Select the same domain.
- Click on "Import" option from tool bar.
- A panel will open.
- Now Import the data into the Domain. http://www.sdbexplorer.com/documentation/simpledb--how-to-upload-csv-file-data-and-specifying-column-as-amazon-simple-db-item-name.html
- Once import is done, explore the domain and you will find the value 100 set to all items for column ValueA.
Please try the steps first on any dummy domain.
What exactly I am trying to suggest you?
To know all item name in your domain, I am suggesting you to export all content of your domain into CSV file at local file system. Once you get all item name in CSV, keep only one column "ValueA". Set "100" for all the items in CSV file and upload/import the content back into domain.
Discloser: I am one of the developer of SDBExplorer.