public interface SnsOperations
| Modifier and Type | Method and Description |
|---|---|
com.amazonaws.services.sns.model.PublishResult |
publish(String topicArn,
String messageText,
Map<String,com.amazonaws.services.sns.model.MessageAttributeValue> messageAttributes,
com.amazonaws.services.sns.AmazonSNS amazonSNS)
Sends a message to all of a topic's subscribed endpoints.
|
com.amazonaws.services.sns.model.PublishResult publish(String topicArn, String messageText, Map<String,com.amazonaws.services.sns.model.MessageAttributeValue> messageAttributes, com.amazonaws.services.sns.AmazonSNS amazonSNS)
topicArn - the topic to publish the message tomessageText - the text of the messagemessageAttributes - the optional SNS message attributesamazonSNS - the client for accessing AWS SNSCopyright © 2021. All rights reserved.