publish to aws sns without SDK code example
Example: check result statusCode amazon sms api
$meta = $response_object->get('@metadata');
if($meta['statusCode'] === 200){
echo "Message Sent";
}
$meta = $response_object->get('@metadata');
if($meta['statusCode'] === 200){
echo "Message Sent";
}