<?php

require 'vendor/autoload.php';


use Aws\Sns\SnsClient;


$client = SnsClient::factory(array(

        'region'  => 'ap-northeast-2',

        'version' => 'latest',

        'credentials' => [

                'key'    => '<키>',

                'secret' => '<비밀키>',

        ],

));


$response = $client->publish(

array(

        'TopicArn' => '토픽arn',

        'Message' => 'Hello World!!',

        'Subject' => 'This is PHP Test!!',

)

);



-----------------------------------------------------------

코드는 저게 다인데..
환경 및 선행적으로 처리해야할 문제 때문에 몇시간을 삽질 했넹.
암튼~ 썩쎅쓰~