Пример #1
0
 /**
  * Disassociate Address 
  * The DisassociateAddress operation disassociates the specified elastic IP
  * address from the instance to which it is assigned. This is an idempotent
  * operation. If you enter it more than once, Amazon EC2 does not return an error.
  * 
  * @see http://docs.amazonwebservices.com/AWSEC2/2008-12-01/DeveloperGuide/ApiReference-Query-DisassociateAddress.html
  * @param mixed $request array of parameters for Amazon_EC2_Model_DisassociateAddressRequest request
  * or Amazon_EC2_Model_DisassociateAddressRequest object itself
  * @see Amazon_EC2_Model_DisassociateAddress
  * @return Amazon_EC2_Model_DisassociateAddressResponse Amazon_EC2_Model_DisassociateAddressResponse
  *
  * @throws Amazon_EC2_Exception
  */
 public function disassociateAddress($request)
 {
     if (!$request instanceof Amazon_EC2_Model_DisassociateAddressRequest) {
         require_once 'Amazon/EC2/Model/DisassociateAddressRequest.php';
         $request = new Amazon_EC2_Model_DisassociateAddressRequest($request);
     }
     require_once 'Amazon/EC2/Model/DisassociateAddressResponse.php';
     return Amazon_EC2_Model_DisassociateAddressResponse::fromXML($this->_invoke($this->_convertDisassociateAddress($request)));
 }
Пример #2
0
 /**
  * Disassociate Address 
  * The DisassociateAddress operation disassociates the specified elastic IP
  * address from the instance to which it is assigned. This is an idempotent
  * operation. If you enter it more than once, Amazon EC2 does not return an error.
  *   
  * @see http://docs.amazonwebservices.com/AWSEC2/2008-12-01/DeveloperGuide/ApiReference-Query-DisassociateAddress.html      
  * @param mixed $request array of parameters for Amazon_EC2_Model_DisassociateAddress request or Amazon_EC2_Model_DisassociateAddress object itself
  * @see Amazon_EC2_Model_DisassociateAddress
  * @return Amazon_EC2_Model_DisassociateAddressResponse Amazon_EC2_Model_DisassociateAddressResponse
  *
  * @throws Amazon_EC2_Exception
  */
 public function disassociateAddress($request)
 {
     require_once 'Amazon/EC2/Model/DisassociateAddressResponse.php';
     return Amazon_EC2_Model_DisassociateAddressResponse::fromXML($this->_invoke('DisassociateAddress'));
 }