Exemplo n.º 1
0
 /**
  * Change Message Visibility 
  * The ChangeMessageVisibility action extends the read lock timeout of the specified message from the specified queue to the specified value.
  *   
  * @see http://docs.amazonwebservices.com/AWSSimpleQueueService/2009-02-01/SQSDeveloperGuide/Query_QueryChangeMessageVisibility.html      
  * @param mixed $request array of parameters for Amazon_SQS_Model_ChangeMessageVisibility request or Amazon_SQS_Model_ChangeMessageVisibility object itself
  * @see Amazon_SQS_Model_ChangeMessageVisibility
  * @return Amazon_SQS_Model_ChangeMessageVisibilityResponse Amazon_SQS_Model_ChangeMessageVisibilityResponse
  *
  * @throws Amazon_SQS_Exception
  */
 public function changeMessageVisibility($request)
 {
     require_once 'Amazon/SQS/Model/ChangeMessageVisibilityResponse.php';
     return Amazon_SQS_Model_ChangeMessageVisibilityResponse::fromXML($this->_invoke('ChangeMessageVisibility'));
 }
Exemplo n.º 2
0
 /**
  * Change Message Visibility 
  * The ChangeMessageVisibility action extends the read lock timeout of the specified message from the specified queue to the specified value.
  * 
  * @see http://docs.amazonwebservices.com/AWSSimpleQueueService/2009-02-01/SQSDeveloperGuide/Query_QueryChangeMessageVisibility.html
  * @param mixed $request array of parameters for Amazon_SQS_Model_ChangeMessageVisibilityRequest request
  * or Amazon_SQS_Model_ChangeMessageVisibilityRequest object itself
  * @see Amazon_SQS_Model_ChangeMessageVisibility
  * @return Amazon_SQS_Model_ChangeMessageVisibilityResponse Amazon_SQS_Model_ChangeMessageVisibilityResponse
  *
  * @throws Amazon_SQS_Exception
  */
 public function changeMessageVisibility($request)
 {
     if (!$request instanceof Amazon_SQS_Model_ChangeMessageVisibilityRequest) {
         require_once dirname(__FILE__) . '/Model/ChangeMessageVisibilityRequest.php';
         $request = new Amazon_SQS_Model_ChangeMessageVisibilityRequest($request);
     }
     require_once dirname(__FILE__) . '/Model/ChangeMessageVisibilityResponse.php';
     return Amazon_SQS_Model_ChangeMessageVisibilityResponse::fromXML($this->_invoke($this->_convertChangeMessageVisibility($request)));
 }