Exemplo n.º 1
0
 public function testDefaultConfig()
 {
     $config = AwsClient::defaultConfig();
     $this->assertNotEmpty($config);
     $this->assertArrayHasKey('region', $config);
     $this->assertEquals($config['region'], Config::get('aws.region'));
 }
Exemplo n.º 2
0
 public function __construct($config = array())
 {
     parent::__construct($config);
     $this->config['region'] = 'us-east-1';
     //cloudfront only uses us-east-1
     $this->client = new CloudFrontClient($this->config);
 }
Exemplo n.º 3
0
 public function __construct($config = array())
 {
     parent::__construct($config);
     $this->client = new S3Client($this->config);
 }
Exemplo n.º 4
0
 public function __construct($config = array())
 {
     parent::__construct($config);
     $this->client = new URLRequest();
 }