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

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

Introduction

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

The text is from its open source code.

Subclass

com.amazonaws.services.sns.AmazonSNSClient has subclasses.
Click this link to see all its subclasses.

Constructor

AmazonSNSClient(ClientConfiguration clientConfiguration)
Constructs a new client to invoke service methods on Amazon SNS.
AmazonSNSClient(AWSCredentials awsCredentials)
Constructs a new client to invoke service methods on Amazon SNS using the specified AWS account credentials.
AmazonSNSClient(AWSCredentialsProvider awsCredentialsProvider)
Constructs a new client to invoke service methods on Amazon SNS using the specified AWS account credentials provider.
AmazonSNSClient(AwsSyncClientParams clientParams)
Constructs a new client to invoke service methods on Amazon SNS using the specified parameters.
AmazonSNSClient()
Constructs a new client to invoke service methods on Amazon SNS.
AmazonSNSClient(AWSCredentials awsCredentials, ClientConfiguration clientConfiguration)
Constructs a new client to invoke service methods on Amazon SNS using the specified AWS account credentials and client configuration options.
AmazonSNSClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration)
Constructs a new client to invoke service methods on Amazon SNS using the specified AWS account credentials provider and client configuration options.
AmazonSNSClient(AwsSyncClientParams clientParams, boolean endpointDiscoveryEnabled)
Constructs a new client to invoke service methods on Amazon SNS using the specified parameters.

Method

AmazonSNSClientBuilderbuilder()
CreateTopicResultcreateTopic(CreateTopicRequest request)

Creates a topic to which notifications can be published.

CreateTopicResultcreateTopic(String name)
DeleteTopicResultdeleteTopic(DeleteTopicRequest request)

Deletes a topic and all its subscriptions.

DeleteTopicResultdeleteTopic(String topicArn)
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.
GetTopicAttributesResultgetTopicAttributes(GetTopicAttributesRequest request)

Returns all of the properties of a topic.

GetTopicAttributesResultgetTopicAttributes(String topicArn)
ListSubscriptionsResultlistSubscriptions()
ListSubscriptionsByTopicResultlistSubscriptionsByTopic(ListSubscriptionsByTopicRequest request)

Returns a list of the subscriptions to a specific topic.

ListSubscriptionsByTopicResultlistSubscriptionsByTopic(String topicArn)
ListTopicsResultlistTopics(ListTopicsRequest request)

Returns a list of the requester's topics.

ListTopicsResultlistTopics(String nextToken)
ListTopicsResultlistTopics()
PublishResultpublish(PublishRequest request)

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

PublishResultpublish(String topicArn, String message, String subject)
voidsetEndpoint(String endpoint)
Overrides the default endpoint for this client.
voidsetRegion(Region region)
An alternative to AmazonWebServiceClient#setEndpoint(String) , sets the regional endpoint for this client's service calls.
SetTopicAttributesResultsetTopicAttributes(String topicArn, String attributeName, String attributeValue)
voidshutdown()
Shuts down this client object, releasing any resources that might be held open.
SubscribeResultsubscribe(SubscribeRequest request)

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

UnsubscribeResultunsubscribe(UnsubscribeRequest request)

Deletes a subscription.

UnsubscribeResultunsubscribe(String subscriptionArn)