@@ -20,11 +20,11 @@ |
||
| 20 | 20 | |
| 21 | 21 | return [ |
| 22 | 22 | 'default' => [ |
| 23 | - 'host' => getenv('CLUSTERPOINT_HOST'), |
|
| 24 | - 'account_id' => getenv('CLUSTERPOINT_ACCOUNT_ID'), |
|
| 25 | - 'username' => getenv('CLUSTERPOINT_USERNAME'), |
|
| 26 | - 'password' => getenv('CLUSTERPOINT_PASSWORD'), |
|
| 27 | - 'debug' => getenv('CLUSTERPOINT_DEBUG_MODE'), |
|
| 23 | + 'host' => getenv('CLUSTERPOINT_HOST'), |
|
| 24 | + 'account_id' => getenv('CLUSTERPOINT_ACCOUNT_ID'), |
|
| 25 | + 'username' => getenv('CLUSTERPOINT_USERNAME'), |
|
| 26 | + 'password' => getenv('CLUSTERPOINT_PASSWORD'), |
|
| 27 | + 'debug' => getenv('CLUSTERPOINT_DEBUG_MODE'), |
|
| 28 | 28 | ], |
| 29 | 29 | 'development' => [ |
| 30 | 30 | 'host' => 'https://api-eu.clusterpoint.com/v4/', |
@@ -85,6 +85,9 @@ discard block |
||
| 85 | 85 | return $query; |
| 86 | 86 | } |
| 87 | 87 | |
| 88 | + /** |
|
| 89 | + * @param DynamoDbException $exception |
|
| 90 | + */ |
|
| 88 | 91 | protected function throwAwsPostError($exception) |
| 89 | 92 | { |
| 90 | 93 | switch ($exception->getAwsErrorCode()) { |
@@ -121,6 +124,9 @@ discard block |
||
| 121 | 124 | return $query; |
| 122 | 125 | } |
| 123 | 126 | |
| 127 | + /** |
|
| 128 | + * @param DynamoDbException $exception |
|
| 129 | + */ |
|
| 124 | 130 | protected function throwAwsPutError($exception) |
| 125 | 131 | { |
| 126 | 132 | switch ($exception->getAwsErrorCode()) { |