From 0f1de6a3f7ec7e8f8d845d81b350b779aacfac53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Federico=20Nicol=C3=A1s=20Motta?= Date: Thu, 10 Dec 2015 17:58:23 -0300 Subject: [PATCH] Change to get service in AWS 3 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 696e57a..246f01d 100644 --- a/README.md +++ b/README.md @@ -53,7 +53,7 @@ Getting all balancer names from AWS: ```php $awssdk = Yii::$app->awssdk->getAwsSdk(); -$elb = $awssdk->get('elasticloadbalancing'); +$elb = $awssdk->createElasticloadbalancing(); $load_balancers = $elb->describeLoadBalancers()->toArray(); if (isset($load_balancers['LoadBalancerDescriptions'])){ foreach ($load_balancers['LoadBalancerDescriptions'] as $balancer){