Example usage for Java com.amazonaws.services.sns AmazonSNS fields, constructors, methods, implement or subclass
The text is from its open source code.
ConfirmSubscriptionResult | confirmSubscription(ConfirmSubscriptionRequest confirmSubscriptionRequest) Verifies an endpoint owner's intent to receive messages by validating the token sent to the endpoint by an earlier |
CreatePlatformEndpointResult | createPlatformEndpoint( CreatePlatformEndpointRequest createPlatformEndpointRequest) Creates an endpoint for a device and mobile app on one of the supported push notification services, such as FCM and APNS. |
CreateTopicResult | createTopic(CreateTopicRequest createTopicRequest) Creates a topic to which notifications can be published. |
CreateTopicResult | createTopic(String name) Simplified method form for invoking the CreateTopic operation. |
DeleteTopicResult | deleteTopic(DeleteTopicRequest deleteTopicRequest) Deletes a topic and all its subscriptions. |
DeleteTopicResult | deleteTopic(String topicArn) Simplified method form for invoking the DeleteTopic operation. |
ResponseMetadata | getCachedResponseMetadata(AmazonWebServiceRequest request) Returns additional metadata for a previously executed successful request, typically used for debugging issues where a service isn't acting as expected. |
ListTopicsResult | listTopics() Simplified method form for invoking the ListTopics operation. |
PublishResult | publish(String topicArn, String message) Simplified method form for invoking the Publish operation. |
PublishResult | publish(PublishRequest publishRequest) Sends a message to an Amazon SNS topic or sends a text message (SMS message) directly to a phone number. |
void | setEndpoint(String endpoint) Overrides the default endpoint for this client ("https://sns.us-east-1.amazonaws.com"). |
void | setRegion(Region region) An alternative to AmazonSNS#setEndpoint(String) , sets the regional endpoint for this client's service calls. |
SetTopicAttributesResult | setTopicAttributes(SetTopicAttributesRequest setTopicAttributesRequest) Allows a topic owner to set an attribute of the topic to a new value. |
void | shutdown() Shuts down this client object, releasing any resources that might be held open. |
SubscribeResult | subscribe(SubscribeRequest subscribeRequest) Prepares to subscribe an endpoint by sending the endpoint a confirmation message. |
SubscribeResult | subscribe(String topicArn, String protocol, String endpoint) Simplified method form for invoking the Subscribe operation. |
UnsubscribeResult | unsubscribe(UnsubscribeRequest unsubscribeRequest) Deletes a subscription. |
UnsubscribeResult | unsubscribe(String subscriptionArn) Simplified method form for invoking the Unsubscribe operation. |