The following parameters must be included in each Query request to SQS:
| Parameter Name | Description | Example Value |
|---|---|---|
Action | Indicates the action to perform. | CreateQueue |
Version | Required. The API version to use, as specified in the WSDL. | 2006-04-01 |
AWSAccessKeyId | The Access Key ID for the request sender. This identifies the account that will be charged for usage of the service. The account the Access Key ID is associated with must be signed up for SQS, or requests will not be accepted. | 0AS7253JW73RRM652K02 |
Timestamp | The date and time the request is signed, in the format YYYY-MM-DDThh:mm:ssZ, as specified in the ISO 8601 standard. The Timestamp parameter can be used instead of Expires. Requests must include either Timestamp or Expires, but not both. | 2006-07-07T15:04:56Z |
Expires | The date and time at which the signature included in the request expires, in the format YYYY-MM-DDThh:mm:ssZ, as specified in the ISO 8601 standard. The Timestamp parameter can be used instead of Expires. Requests must include either Timestamp or Expires, but not both. | 2006-07-07T15:04:56Z |
Signature | A request signature is calculated as explained in Request Authentication | Qnpl4Qk/7tINHzfXCiT7VbBatDA= |
SignatureVersion | A value of 0 or 1 indicates the method used to construct the string to be signed as explained in Authenticating Query Requests. The default value is 0. However, we highly recommend using SignatureVersion=1 with the stricter signature. | SignatureVersion=1 |
Parameter values must be URL-encoded. This is true for any Query parameter passed to SQS and is typically necessary in the Signature, MessageId, and MessageBody parameters. Some clients do this automatically, but this is not the norm.