API Reference

This chapter contains detailed descriptions of all Amazon SimpleDB operations, their request parameters, their response elements, any special errors, and examples of requests and responses. All sample requests and responses are shown in a protocol-neutral format that displays the common elements for both SOAP and REST requests.

This section describes parameters used by Amazon SimpleDB operations.

Some parameters are required by all operations and are not repeated in the documentation unless the usage is unique for that operation. Other parameters are conditional which indicates they are required for some operations and optional for others.

Name Description Type
Action Name of the action. Required
Attribute.X.Name Name of attribute associated with an item. Required by PutAttributes. Optional for DeleteAttributes and GetAttributes. Conditional
Attribute.X.Value Value of attribute associated with an item. Required by PutAttributes. Optional for DeleteAttributes. Conditional
AWSAccessKeyId For more information, see Request Authentication. Required
DomainName Name of the domain used in the operation. Required
ItemName Unique identifier of an item. Required by PutAttributes, GetAttributes, and DeleteAttributes. Conditional
MaxNumberOfDomains The maximum number of domain names you want returned. Used by ListDomains. The range is 1 to 100. The default setting is 100. Optional
MaxNumberOfItems Maximum number of ItemNames to return in the response. The range is 1 to 250. The default setting is 100. Optional
NextToken String that tells Amazon SimpleDB where to start the next list of domain or item names. Used by ListDomains and Query. Optional
QueryExpression String that specifies the query that is executed against the domain. Used by the Query operation. Optional
Attribute.X.Replace Flag to specify whether to replace the attribute/value or to add a new attribute/value. Used by PutAttributes. The default setting is false. Optional
Signature For more information, see Authenticating REST Requests. Required
SignatureVersion For more information, see Authenticating REST Requests. Required
TimeStamp For more information, see Request Authentication. Required
Version Version of the API. The version of the API described in this document is 2007-11-07. Required
Name Description
RequestId A unique ID for tracking the request.
BoxUsage The measure of machine utilization for this request. This does not include storage or transfer usage.

Request authentication errors are described in API Error Codes. All other errors are listed with the appropriate operations.