Beispiel #1
0
	/**
	 * Constructor
	 *
	 * @param string $id The Amazon account ID
	 * @param string $secret The Amazon account secret
	 * @param string $action The API action
	 * @param string $endpoint The URL at amazon to call
	 */
	public function __construct($action,$id=null,$secret=null,$endpoint=null)
	{
		parent::__construct($action,$id,$secret,$endpoint);
		
		$this->endpoint='http://queue.amazonaws.com/';

		$this->parameters['Version'] = '2008-01-01';      
	}
Beispiel #2
0
 /**
  * Constructor
  *
  * @param string $id The Amazon account ID
  * @param string $secret The Amazon account secret
  * @param string $action The API action
  * @param string $endpoint The URL at amazon to call
  */
 public function __construct($action, $id = null, $secret = null, $endpoint = null)
 {
     parent::__construct($action, $id, $secret, $endpoint);
     if (!$this->endpoint) {
         $this->endpoint = 'https://ec2.amazonaws.com/';
     }
     $this->parameters['Version'] = '2008-08-08';
 }
Beispiel #3
0
	/**
	 * Constructor
	 *
	 * @param string $id The Amazon account ID
	 * @param string $secret The Amazon account secret
	 * @param string $action The API action
	 * @param string $endpoint The URL at amazon to call
	 */
	public function __construct($action,$id=null,$secret=null,$endpoint=null)
	{
		parent::__construct($action,$id,$secret,$endpoint);
	
		$this->parameters['Version'] = '2007-11-07';      
		
		if (!$this->endpoint)
			$this->endpoint='https://sdb.amazonaws.com/';
	}
Beispiel #4
0
 /**
  * Constructor
  *
  * @param string $id The Amazon account ID
  * @param string $secret The Amazon account secret
  * @param string $action The API action
  * @param string $endpoint The URL at amazon to call
  */
 public function __construct($action, $id = null, $secret = null, $endpoint = null)
 {
     parent::__construct($action, $id, $secret, $endpoint);
     $this->endpoint = 'http://sns.us-east-1.amazonaws.com/';
     $this->parameters['Version'] = '2010-03-31';
 }