in src/main/scala/com/gu/flexible/snapshotter/logic/SNSLogic.scala [37:46]
def publish(topicArn: String, message: String)(implicit client: AmazonSNS): PublishResult = {
log.info(s"Sending to SNS: $message")
val result = client.publish(
new PublishRequest().
withTopicArn(topicArn).
withMessage(message)
)
log.info(s"Sent to SNS with message ID: ${result.getMessageId}")
result
}