Skip to content

Commit 7abccc1

Browse files
committed
Merge branch 'tmp/2.2.5' into develop
2 parents dafc56e + d1b1f17 commit 7abccc1

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/SA/SnsHandler.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,16 @@
44

55
use Aws\Credentials\CredentialProvider;
66
use Aws\DynamoDb\Marshaler;
7+
use Aws\DynamoDb\DynamoDbClient;
8+
use Aws\Sns\SnsClient;
79

810
class SnsHandler {
911
// AWS DynamoDB handler
1012
private $ddb;
1113

1214
// AWS region for SQS
1315
private $region;
16+
private $marshaler;
1417

1518
// AWS SNS handler
1619
private $sns;
@@ -26,13 +29,13 @@ public function __construct($region = false) {
2629

2730
$provider = CredentialProvider::defaultProvider();
2831

29-
$this->sns = new \Aws\Sns\SnsClient([
32+
$this->sns = new SnsClient([
3033
"region" => $region,
3134
"version" => "latest",
3235
"credentials" => $provider,
3336
]);
3437

35-
$this->ddb = new \Aws\DynamoDb\DynamoDbClient([
38+
$this->ddb = new DynamoDbClient([
3639
"region" => $region,
3740
"version" => "latest",
3841
"credentials" => $provider,

0 commit comments

Comments
 (0)