def publish( topicArn: String, message: String ): Future[PublishResult] = publish(new PublishRequest(topicArn, message))
The method above says it returns a Future[PublishResult]
However, this calls :
def publish( publishRequest: PublishRequest ): Future[PublishResult] = wrapAsyncMethod(client.publishAsync, publishRequest)
which returns wrapAsyncMethod(client.publishAsync, publishRequest)
which actually returns a Future[Nothing]
This means you cannot tell if you have successfully publishes to SNS.