equal
deleted
inserted
replaced
13 * to license@zend.com so we can send you a copy immediately. |
13 * to license@zend.com so we can send you a copy immediately. |
14 * |
14 * |
15 * @category Zend |
15 * @category Zend |
16 * @package Zend_Service_Amazon |
16 * @package Zend_Service_Amazon |
17 * @subpackage Ec2 |
17 * @subpackage Ec2 |
18 * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com) |
18 * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) |
19 * @license http://framework.zend.com/license/new-bsd New BSD License |
19 * @license http://framework.zend.com/license/new-bsd New BSD License |
20 * @version $Id: CloudWatch.php 20096 2010-01-06 02:05:09Z bkarwin $ |
20 * @version $Id: CloudWatch.php 24593 2012-01-05 20:35:02Z matthew $ |
21 */ |
21 */ |
22 |
22 |
23 /** |
23 /** |
24 * @see Zend_Service_Amazon_Ec2_Abstract |
24 * @see Zend_Service_Amazon_Ec2_Abstract |
25 */ |
25 */ |
30 * Ec2 Instances. |
30 * Ec2 Instances. |
31 * |
31 * |
32 * @category Zend |
32 * @category Zend |
33 * @package Zend_Service_Amazon |
33 * @package Zend_Service_Amazon |
34 * @subpackage Ec2 |
34 * @subpackage Ec2 |
35 * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com) |
35 * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) |
36 * @license http://framework.zend.com/license/new-bsd New BSD License |
36 * @license http://framework.zend.com/license/new-bsd New BSD License |
37 */ |
37 */ |
38 class Zend_Service_Amazon_Ec2_CloudWatch extends Zend_Service_Amazon_Ec2_Abstract |
38 class Zend_Service_Amazon_Ec2_CloudWatch extends Zend_Service_Amazon_Ec2_Abstract |
39 { |
39 { |
40 /** |
40 /** |
279 if(!in_array($dimKey, $this->_validDimensionsKeys, true)) continue; |
279 if(!in_array($dimKey, $this->_validDimensionsKeys, true)) continue; |
280 $options['Dimensions.member.' . $x . '.Name'] = $dimKey; |
280 $options['Dimensions.member.' . $x . '.Name'] = $dimKey; |
281 $options['Dimensions.member.' . $x . '.Value'] = $dimVal; |
281 $options['Dimensions.member.' . $x . '.Value'] = $dimVal; |
282 $x++; |
282 $x++; |
283 } |
283 } |
284 |
284 |
285 unset($options['Dimensions']); |
285 unset($options['Dimensions']); |
286 } |
286 } |
287 |
287 |
288 $params = array_merge($params, $options); |
288 $params = array_merge($params, $options); |
289 |
289 |