Java com.amazonaws.services.sns AmazonSNS fields, constructors, methods, implement or subclass

Example usage for Java com.amazonaws.services.sns AmazonSNS fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.amazonaws.services.sns AmazonSNS.

The text is from its open source code.

Implementation

com.amazonaws.services.sns.AmazonSNS has the following implementations.
Click this link to see all its implementation.

Method

ConfirmSubscriptionResultconfirmSubscription(ConfirmSubscriptionRequest confirmSubscriptionRequest)

Verifies an endpoint owner's intent to receive messages by validating the token sent to the endpoint by an earlier Subscribe action.

CreatePlatformEndpointResultcreatePlatformEndpoint( CreatePlatformEndpointRequest createPlatformEndpointRequest)

Creates an endpoint for a device and mobile app on one of the supported push notification services, such as FCM and APNS.

CreateTopicResultcreateTopic(CreateTopicRequest createTopicRequest)

Creates a topic to which notifications can be published.

CreateTopicResultcreateTopic(String name)
Simplified method form for invoking the CreateTopic operation.
DeleteTopicResultdeleteTopic(DeleteTopicRequest deleteTopicRequest)

Deletes a topic and all its subscriptions.

DeleteTopicResultdeleteTopic(String topicArn)
Simplified method form for invoking the DeleteTopic operation.
ResponseMetadatagetCachedResponseMetadata(AmazonWebServiceRequest request)
Returns additional metadata for a previously executed successful request, typically used for debugging issues where a service isn't acting as expected.
ListTopicsResultlistTopics()
Simplified method form for invoking the ListTopics operation.
PublishResultpublish(String topicArn, String message)
Simplified method form for invoking the Publish operation.
PublishResultpublish(PublishRequest publishRequest)

Sends a message to an Amazon SNS topic or sends a text message (SMS message) directly to a phone number.

voidsetEndpoint(String endpoint)
Overrides the default endpoint for this client ("https://sns.us-east-1.amazonaws.com").
voidsetRegion(Region region)
An alternative to AmazonSNS#setEndpoint(String) , sets the regional endpoint for this client's service calls.
SetTopicAttributesResultsetTopicAttributes(SetTopicAttributesRequest setTopicAttributesRequest)

Allows a topic owner to set an attribute of the topic to a new value.

voidshutdown()
Shuts down this client object, releasing any resources that might be held open.
SubscribeResultsubscribe(SubscribeRequest subscribeRequest)

Prepares to subscribe an endpoint by sending the endpoint a confirmation message.

SubscribeResultsubscribe(String topicArn, String protocol, String endpoint)
Simplified method form for invoking the Subscribe operation.
UnsubscribeResultunsubscribe(UnsubscribeRequest unsubscribeRequest)

Deletes a subscription.

UnsubscribeResultunsubscribe(String subscriptionArn)
Simplified method form for invoking the Unsubscribe operation.