Пример #1
0
 /**
  * Describe Vpn Connections 
  * Gives you information about your VPN connections.
  * Important
  * We strongly recommend you use HTTPS when calling this operation because the
  * response contains sensitive cryptographic information for configuring your customer gateway.
  * You can filter the results to return information only about VPN connections
  * that match criteria you specify. For example, you could ask to get information
  * about a particular VPN connection (or all) only if the VPN's state is pending
  * or available. You can specify multiple filters (e.g., the VPN connection is
  * associated with a particular VPN gateway, and the gateway's state is
  * pending or available). The result includes information for a particular
  * VPN connection only if the VPN connection 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-DescribeVpnConnections.html
  * @param mixed $request array of parameters for Amazon_EC2_Model_DescribeVpnConnectionsRequest request
  * or Amazon_EC2_Model_DescribeVpnConnectionsRequest object itself
  * @see Amazon_EC2_Model_DescribeVpnConnections
  * @return Amazon_EC2_Model_DescribeVpnConnectionsResponse Amazon_EC2_Model_DescribeVpnConnectionsResponse
  *
  * @throws Amazon_EC2_Exception
  */
 public function describeVpnConnections($request)
 {
     if (!$request instanceof Amazon_EC2_Model_DescribeVpnConnectionsRequest) {
         require_once 'Amazon/EC2/Model/DescribeVpnConnectionsRequest.php';
         $request = new Amazon_EC2_Model_DescribeVpnConnectionsRequest($request);
     }
     require_once 'Amazon/EC2/Model/DescribeVpnConnectionsResponse.php';
     return Amazon_EC2_Model_DescribeVpnConnectionsResponse::fromXML($this->_invoke($this->_convertDescribeVpnConnections($request)));
 }
Пример #2
0
 /**
  * Describe Vpn Connections 
  * Gives you information about your VPN connections.
  * Important
  * We strongly recommend you use HTTPS when calling this operation because the
  * response contains sensitive cryptographic information for configuring your customer gateway.
  * You can filter the results to return information only about VPN connections
  * that match criteria you specify. For example, you could ask to get information
  * about a particular VPN connection (or all) only if the VPN's state is pending
  * or available. You can specify multiple filters (e.g., the VPN connection is
  * associated with a particular VPN gateway, and the gateway's state is
  * pending or available). The result includes information for a particular
  * VPN connection only if the VPN connection 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-DescribeVpnConnections.html      
  * @param mixed $request array of parameters for Amazon_EC2_Model_DescribeVpnConnections request or Amazon_EC2_Model_DescribeVpnConnections object itself
  * @see Amazon_EC2_Model_DescribeVpnConnections
  * @return Amazon_EC2_Model_DescribeVpnConnectionsResponse Amazon_EC2_Model_DescribeVpnConnectionsResponse
  *
  * @throws Amazon_EC2_Exception
  */
 public function describeVpnConnections($request)
 {
     require_once 'Amazon/EC2/Model/DescribeVpnConnectionsResponse.php';
     return Amazon_EC2_Model_DescribeVpnConnectionsResponse::fromXML($this->_invoke('DescribeVpnConnections'));
 }