This site contains the documentation that is relevant to older WSO2 product versions and offerings.
For the latest WSO2 documentation, visit https://wso2.com/documentation/.

Configuring Amazon SimpleDB Operations

To use the Amazon SimpleDB connector, add the <amazonsimpledb.init> element in your configuration before carrying out any other Amazon SimpleDB operations. The init operation uses the standard HTTP Authorization header to pass authentication information. Developers are issued an AWS access key ID and AWS secret access key when they register. For request authentication, the AWSAccessKeyId element identifies the access key ID that was used to compute the signature and, indirectly, the developer making the request. Click here for further information on the authentication process.

init
<amazonsimpledb.init>
	<signatureMethod>{$ctx:signatureMethod}</signatureMethod>
    <secretAccessKey>{$ctx:secretAccessKey}</secretAccessKey>
    <action>{$ctx:action}</action>
	<accessKeyId>{$ctx:accessKeyId}</accessKeyId>
    <apiUrl>{$ctx:apiUrl}</apiUrl>
    <signatureVersion>{$ctx:signatureVersion}</signatureVersion>
    <version>{$ctx:version}</version>
</amazonsimpledb.init>	  
Properties
  • signatureMethod: The signature method. Each request must contain a valid HMAC-SHA signature, or the request is rejected. A request signature is calculated using the Secret Access Key, which is a shared secret known only to the user and AWS. HMAC-SHA1 signatures can be used.
  • secretAccessKey: The secret access key.
  • action: The action to be performed, which corresponds to the connector operation (e.g., the action CreateDomain triggers the createDomain operation).
  • accessKeyId: The access key ID.
  • apiUrl: URL of the Amazon SimpleDB API. If not provided, it is set to "https://sdb.amazonaws.com".
  • signatureVersion: The AWS signature version, which is currently the value "2".
  • version: The version of the API. The current version of the API is "2009-04-15".

Now that you have connected to Amazon SimpleDB, use the information in the following topics to perform various operations with the connector.