Skip to content

Commit e667eed

Browse files
committed
Remove v2 code from README
1 parent b24530a commit e667eed

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,12 +65,12 @@ You can get the AWS service builder object from anywhere that the ZF2 service lo
6565
classes). The following example instantiates an Amazon DynamoDB client and creates a table in DynamoDB.
6666

6767
```php
68-
use Aws\Sdk as Aws;
68+
use Aws\Sdk;
6969

7070
public function indexAction()
7171
{
72-
$aws = $this->getServiceLocator()->get(Aws::class);
73-
$client = $aws->create('DynamoDb');
72+
$aws = $this->getServiceLocator()->get(Sdk::class);
73+
$client = $aws->createDynamoDb();
7474

7575
$table = 'posts';
7676

0 commit comments

Comments
 (0)