publish to sns using requests 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";
}