samedi 4 juillet 2015

setting differnt region for differnt services of AWS in zend framework 2

I am using Aws php sdk for zf2 and using its two services ,first one is ses(mail service) and other one is S3 service.I have these services already in different regions ,so by using the config file(aws.local.php) ,i can only specify one at a time as per default.So i want to use two differnt regions ,one for s3 and one for ses.how i can do that.below is sample code i am using for s3.

 $aws= $this->getServiceLocator()->get('aws');
        $client = $aws->get('s3');




Aucun commentaire:

Enregistrer un commentaire