Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.3.0

Request #16085 Support new SQS commands
Submitted: 2009-04-09 16:09 UTC Modified: 2009-11-24 16:12 UTC
From: gauthierm Assigned: gauthierm
Status: Closed Package: Services_Amazon_SQS (version CVS)
PHP Version: Irrelevant OS: Irrelevant
Roadmaps: 0.3.0 beta    
Subscription  


 [2009-04-09 16:09 UTC] gauthierm (Michael Gauthier)
Description: ------------ See http://aws.typepad.com/aws/2009/04/powerful-new-sqs-features.html Test script: --------------- Proposed API: /** * @param string $label * @param array $principals an array of permissions to grant. Each * array element is a separate array containing the following * keys: * - 'awsAccount', and * - 'permission'. * * @return void */ Services_Amazon_SQS_Queue::addPermission($label, $principals) /** * @param string $label * * @return void */ Services_Amazon_SQS_Queue::removePermission($label) /** * @param string $receipt_handle * @param integer $timeout * * @return void */ Services_Amazon_SQS_Queue::changeMessageVisibility($receipt_handle, $timeout) Additionally, the getQueueAttributes() and setQueueAttributes() methods should be updated to support the following new queue attributes: - 'Policy' (get and set) - 'CreatedTimestamp' (get) - 'LastModifiedTimestamp' (get)

Comments

 [2009-06-22 02:26 UTC] gauthierm (Michael Gauthier)
-Assigned To: +Assigned To: gauthierm
 [2009-07-05 19:55 UTC] gauthierm (Michael Gauthier)
CVS now contains the following (fully tested): - Queue::addPermission() - Queue::removePermission() - Queue::changeMessageVisibility() - Support for getting and setting new attributes EXCEPT for policy. The remaining API left to implement is the new policy language.
 [2009-11-24 16:12 UTC] gauthierm (Michael Gauthier)
-Status: Assigned +Status: Closed
I made a more specific bug for implementing the policy language, Request #16832. I'm closing this as complete as the new API should work for most users.