Interface SnsOperations

All Known Implementing Classes:
SnsTemplate

public interface SnsOperations
High level SNS operations.
Since:
3.0
Author:
Maciej Walkowiak, Hardik Singh Behl
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    sendNotification(String topic, SnsNotification<?> notification)
    Sends a notification to a topic.
    boolean
    topicExists(String topicArn)
    Checks if topic with given ARN exists.
  • Method Details

    • sendNotification

      void sendNotification(String topic, SnsNotification<?> notification)
      Sends a notification to a topic.
      Parameters:
      topic - - the topic
      notification - - the notification
    • topicExists

      boolean topicExists(String topicArn)
      Checks if topic with given ARN exists.
      Parameters:
      topicArn - - ARN of the topic
      Returns:
      true if topic exists, false otherwise