public function getMediaStatistic($mediaId,
                                      $startTime,
                                      $endTime,
                                      $aggregate,
                                      $options = array())
    {
        list($config) = $this->parseOptions($options, 'config');
        if (empty($mediaId)) {
            throw new BceClientException("The parameter mediaId should NOT be null or empty string");
        }
        $params = array();
        if (!empty($startTime)) {
            $params['startTime'] = $startTime;
        }
        if (!empty($endTime)) {
            $params['endTime'] = $endTime;
        }
        if (!empty($aggregate)) {
            $params['aggregate'] = $aggregate;
        }

        return $this->sendRequest(
            HttpMethod::GET,
            array(
                'config' => $config,
                'params' => $params,
            ),
            "/statistic/media/$mediaId"
        );
    }