8000 Missing required client configuration options. · pluginscart/dynamodb-php@3e5cf3f · GitHub
[go: up one dir, main page]

Skip to content

Commit 3e5cf3f

Browse files
authored
Missing required client configuration options.
[InvalidArgumentException] Missing required client configuration options: version: (string) A "version" configuration value is required! Specifying a version constraint ensures that your code will not be affected by a breaking change made to the service. For example: "2012-08-10" You may provide "latest" to the "version" configuration value to utilize the most recent available API version that your client's API provider can find. Note: Using 'latest' in a production application is not recommended!
1 parent eb891f2 commit 3e5cf3f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ require_once '/path/to/DynamoDBWrapper.php'; // this module
2020
$ddb = new DynamoDBWrapper(array(
2121
'key' => 'YOUR_KEY',
2222
'secret' => 'YOUR_SECRET_KEY',
23-
'region' => 'SOME_REGION'
23+
'region' => 'SOME_REGION',
24+
'version' => 'latest'
2425
));
2526
```
2627
then, you can access DynamoDB through this instance.

0 commit comments

Comments
 (0)
0