ZF-8238: Move Protected EC2 Information out of Zend_Service_Amazon_Abstract to Z_S_A_Ec2_Abstract

Description

move the following from the base amazon abstract class to the ec2 abstract class


    /**
     * @var string Amazon Region
     */
    protected static $_defaultRegion = null;

    /**
     * An array that contains all the valid Amazon Ec2 Regions.
     *
     * @var array
     */
    protected static $_validEc2Regions = array('eu-west-1', 'us-east-1');

    /**
     * Method to fetch the AWS Region
     *
     * @return string
     */
    protected function _getRegion()
    {
        return (!empty($this->_region)) ? $this->_region . '.' : '';
    }

Comments

We are moving the region code from the main amazon abstract class so this needs to happen as well.

Fixed r18913.