public function __construct() { $sdk = new Sdk(['version' => 'latest', 'debug' => false, 'retries' => 3, 'credentials' => ['key' => CustomCredentials::SNS_KEY, 'secret' => CustomCredentials::SNS_SECRET], 'Sns' => ['region' => 'sa-east-1']]); $this->sns = $sdk->createSns(); $this->generatePlatformApplicationArn(); }