예제 #1
0
 /**
  * Describe Vpn Gateways 
  * Gives you information about your VPN gateways. You can filter the results to return
  * information only about VPN gateways that match criteria you specify. For example,
  * you could ask to get information about a particular VPN gateway (or all) only if the
  * gateway's state is pending or available. You can specify multiple filters (e.g., the
  * VPN gateway is in a particular Availability Zone and the gateway's state is pending or
  * available). The result includes information for a particular VPN gateway only if the
  * gateway matches all your filters. If there's no match, no special message is returned;
  * the response is simply empty.
  * @see http://docs.amazonwebservices.com/AWSEC2/2009-11-30/DeveloperGuide/ApiReference-Query-DescribeVpnGateways.html
  * @param mixed $request array of parameters for Amazon_EC2_Model_DescribeVpnGatewaysRequest request
  * or Amazon_EC2_Model_DescribeVpnGatewaysRequest object itself
  * @see Amazon_EC2_Model_DescribeVpnGateways
  * @return Amazon_EC2_Model_DescribeVpnGatewaysResponse Amazon_EC2_Model_DescribeVpnGatewaysResponse
  *
  * @throws Amazon_EC2_Exception
  */
 public function describeVpnGateways($request)
 {
     if (!$request instanceof Amazon_EC2_Model_DescribeVpnGatewaysRequest) {
         require_once 'Amazon/EC2/Model/DescribeVpnGatewaysRequest.php';
         $request = new Amazon_EC2_Model_DescribeVpnGatewaysRequest($request);
     }
     require_once 'Amazon/EC2/Model/DescribeVpnGatewaysResponse.php';
     return Amazon_EC2_Model_DescribeVpnGatewaysResponse::fromXML($this->_invoke($this->_convertDescribeVpnGateways($request)));
 }
예제 #2
0
 /**
  * Describe Vpn Gateways 
  * Gives you information about your VPN gateways. You can filter the results to return
  * information only about VPN gateways that match criteria you specify. For example,
  * you could ask to get information about a particular VPN gateway (or all) only if the
  * gateway's state is pending or available. You can specify multiple filters (e.g., the
  * VPN gateway is in a particular Availability Zone and the gateway's state is pending or
  * available). The result includes information for a particular VPN gateway only if the
  * gateway matches all your filters. If there's no match, no special message is returned;
  * the response is simply empty.  
  * @see http://docs.amazonwebservices.com/AWSEC2/2009-11-30/DeveloperGuide/ApiReference-Query-DescribeVpnGateways.html      
  * @param mixed $request array of parameters for Amazon_EC2_Model_DescribeVpnGateways request or Amazon_EC2_Model_DescribeVpnGateways object itself
  * @see Amazon_EC2_Model_DescribeVpnGateways
  * @return Amazon_EC2_Model_DescribeVpnGatewaysResponse Amazon_EC2_Model_DescribeVpnGatewaysResponse
  *
  * @throws Amazon_EC2_Exception
  */
 public function describeVpnGateways($request)
 {
     require_once 'Amazon/EC2/Model/DescribeVpnGatewaysResponse.php';
     return Amazon_EC2_Model_DescribeVpnGatewaysResponse::fromXML($this->_invoke('DescribeVpnGateways'));
 }