diff -r 5e7a0fedabdf -r 877f952ae2bd web/lib/Zend/Service/Amazon/Ec2/Instance.php --- a/web/lib/Zend/Service/Amazon/Ec2/Instance.php Thu Mar 21 17:31:31 2013 +0100 +++ b/web/lib/Zend/Service/Amazon/Ec2/Instance.php Thu Mar 21 19:50:53 2013 +0100 @@ -15,9 +15,9 @@ * @category Zend * @package Zend_Service_Amazon * @subpackage Ec2 - * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com) + * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License - * @version $Id: Instance.php 22046 2010-04-28 22:12:32Z shahar $ + * @version $Id: Instance.php 24593 2012-01-05 20:35:02Z matthew $ */ /** @@ -32,12 +32,16 @@ * @category Zend * @package Zend_Service_Amazon * @subpackage Ec2 - * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com) + * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License */ class Zend_Service_Amazon_Ec2_Instance extends Zend_Service_Amazon_Ec2_Abstract { /** + * Constant for Micro Instance Type + */ + const MICRO = 't1.micro'; + /** * Constant for Small Instance TYpe */ const SMALL = 'm1.small'; @@ -168,7 +172,6 @@ if(isset($options['monitor']) && $options['monitor'] === true) { $params['Monitoring.Enabled'] = true; } - $response = $this->sendRequest($params); $xpath = $response->getXPath();