|
void
|
addPermission(AddPermissionRequest addPermissionRequest)
Adds a statement to a topic's access control policy, granting access for the specified AWS accounts to the
specified actions.
|
|
ConfirmSubscriptionResult
|
confirmSubscription(ConfirmSubscriptionRequest confirmSubscriptionRequest)
The ConfirmSubscription action verifies an endpoint owner's intent to receive messages by validating the token
sent to the endpoint by an earlier Subscribe action.
|
|
void
|
connect(String accessKey, String secretKey)
Login to Amazon SNS
|
|
String
|
connectionId()
Connection identifier
|
|
CreateTopicResult
|
createTopic(CreateTopicRequest createTopicRequest)
The CreateTopic action creates a topic to which notifications can be published.
|
|
void
|
deleteTopic(DeleteTopicRequest deleteTopicRequest)
The DeleteTopic action deletes a topic and all its subscriptions.
|
|
void
|
disconnect()
Disconnect
|
|
String
|
getAccessKey()
|
|
GetSubscriptionAttributesResult
|
getSubscriptionAttributes(GetSubscriptionAttributesRequest getSubscriptionAttributesRequest)
The GetSubscriptionAttribtues action returns all of the properties of a subscription.
|
|
GetTopicAttributesResult
|
getTopicAttributes(GetTopicAttributesRequest getTopicAttributesRequest)
The GetTopicAttributes action returns all of the properties of a topic.
|
|
boolean
|
isConnected()
Check if the connector's instance is connected
|
|
ListSubscriptionsResult
|
listSubscriptions(ListSubscriptionsRequest listSubscriptionsRequest)
The ListSubscriptions action returns a list of the requester's subscriptions.
|
|
ListSubscriptionsByTopicResult
|
listSubscriptionsByTopic(ListSubscriptionsByTopicRequest listSubscriptionsByTopicRequest)
The ListSubscriptionsByTopic action returns a list of the subscriptions to a specific topic.
|
|
ListTopicsResult
|
listTopics(ListTopicsRequest listTopicsRequest)
The ListTopics action returns a list of the requester's topics.
|
|
PublishResult
|
publish(PublishRequest publishRequest)
The Publish action sends a message to all of a topic's subscribed endpoints.
|
|
void
|
removePermission(RemovePermissionRequest removePermissionRequest)
The RemovePermission action removes a statement from a topic's access control policy.
|
|
void
|
setAccessKey(String accessKey)
|
|
void
|
setSubscriptionAttributes(SetSubscriptionAttributesRequest setSubscriptionAttributesRequest)
The SetSubscriptionAttributes action allows a subscription owner to set an attribute of the topic to a new value.
|
|
void
|
setTopicAttributes(SetTopicAttributesRequest setTopicAttributesRequest)
The SetTopicAttributes action allows a topic owner to set an attribute of the topic to a new value.
|
|
SubscribeResult
|
subscribe(SubscribeRequest subscribeRequest)
The Subscribe action prepares to subscribe an endpoint by sending the endpoint a confirmation message.
|
|
void
|
unsubscribe(UnsubscribeRequest unsubscribeRequest)
The Unsubscribe action deletes a subscription.
|