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){