Ejemplo n.º 1
0
 /**
  * Describe Snapshot Attribute 
  * Returns information about an attribute of a snapshot.
  * Only one attribute can be specified per call.
  * @see http://docs.amazonwebservices.com/AWSEC2/2009-11-30/DeveloperGuide/ApiReference-Query-DescribeSnapshotAttribute.html
  * @param mixed $request array of parameters for Amazon_EC2_Model_DescribeSnapshotAttributeRequest request
  * or Amazon_EC2_Model_DescribeSnapshotAttributeRequest object itself
  * @see Amazon_EC2_Model_DescribeSnapshotAttribute
  * @return Amazon_EC2_Model_DescribeSnapshotAttributeResponse Amazon_EC2_Model_DescribeSnapshotAttributeResponse
  *
  * @throws Amazon_EC2_Exception
  */
 public function describeSnapshotAttribute($request)
 {
     if (!$request instanceof Amazon_EC2_Model_DescribeSnapshotAttributeRequest) {
         require_once 'Amazon/EC2/Model/DescribeSnapshotAttributeRequest.php';
         $request = new Amazon_EC2_Model_DescribeSnapshotAttributeRequest($request);
     }
     require_once 'Amazon/EC2/Model/DescribeSnapshotAttributeResponse.php';
     return Amazon_EC2_Model_DescribeSnapshotAttributeResponse::fromXML($this->_invoke($this->_convertDescribeSnapshotAttribute($request)));
 }
Ejemplo n.º 2
0
 /**
  * Describe Snapshot Attribute 
  * Returns information about an attribute of a snapshot.
  * Only one attribute can be specified per call.  
  * @see http://docs.amazonwebservices.com/AWSEC2/2009-11-30/DeveloperGuide/ApiReference-Query-DescribeSnapshotAttribute.html      
  * @param mixed $request array of parameters for Amazon_EC2_Model_DescribeSnapshotAttribute request or Amazon_EC2_Model_DescribeSnapshotAttribute object itself
  * @see Amazon_EC2_Model_DescribeSnapshotAttribute
  * @return Amazon_EC2_Model_DescribeSnapshotAttributeResponse Amazon_EC2_Model_DescribeSnapshotAttributeResponse
  *
  * @throws Amazon_EC2_Exception
  */
 public function describeSnapshotAttribute($request)
 {
     require_once 'Amazon/EC2/Model/DescribeSnapshotAttributeResponse.php';
     return Amazon_EC2_Model_DescribeSnapshotAttributeResponse::fromXML($this->_invoke('DescribeSnapshotAttribute'));
 }