Example usage for Java com.amazonaws.services.sns AmazonSNSClient fields, constructors, methods, implement or subclass
The text is from its open source code.
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. |
AmazonSNSClientBuilder | builder() |
CreateTopicResult | createTopic(CreateTopicRequest request) Creates a topic to which notifications can be published. |
CreateTopicResult | createTopic(String name) |
DeleteTopicResult | deleteTopic(DeleteTopicRequest request) Deletes a topic and all its subscriptions. |
DeleteTopicResult | deleteTopic(String topicArn) |
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. |
GetTopicAttributesResult | getTopicAttributes(GetTopicAttributesRequest request) Returns all of the properties of a topic. |
GetTopicAttributesResult | getTopicAttributes(String topicArn) |
ListSubscriptionsResult | listSubscriptions() |
ListSubscriptionsByTopicResult | listSubscriptionsByTopic(ListSubscriptionsByTopicRequest request) Returns a list of the subscriptions to a specific topic. |
ListSubscriptionsByTopicResult | listSubscriptionsByTopic(String topicArn) |
ListTopicsResult | listTopics(ListTopicsRequest request) Returns a list of the requester's topics. |
ListTopicsResult | listTopics(String nextToken) |
ListTopicsResult | listTopics() |
PublishResult | publish(PublishRequest request) Sends a message to an Amazon SNS topic or sends a text message (SMS message) directly to a phone number. |
PublishResult | publish(String topicArn, String message, String subject) |
void | setEndpoint(String endpoint) Overrides the default endpoint for this client. |
void | setRegion(Region region) An alternative to AmazonWebServiceClient#setEndpoint(String) , sets the regional endpoint for this client's service calls. |
SetTopicAttributesResult | setTopicAttributes(String topicArn, String attributeName, String attributeValue) |
void | shutdown() Shuts down this client object, releasing any resources that might be held open. |
SubscribeResult | subscribe(SubscribeRequest request) Prepares to subscribe an endpoint by sending the endpoint a confirmation message. |
UnsubscribeResult | unsubscribe(UnsubscribeRequest request) Deletes a subscription. |
UnsubscribeResult | unsubscribe(String subscriptionArn) |