Package | Description |
---|---|
com.amazonaws.services.sns |
|
com.amazonaws.services.sns.model |
Modifier and Type | Method and Description |
---|---|
PublishResult |
AmazonSNSClient.publish(PublishRequest request)
Sends a message to an Amazon SNS topic, a text message (SMS message) directly to a phone number, or a message to
a mobile platform endpoint (when you specify the
TargetArn ). |
PublishResult |
AmazonSNS.publish(PublishRequest publishRequest)
Sends a message to an Amazon SNS topic, a text message (SMS message) directly to a phone number, or a message to
a mobile platform endpoint (when you specify the
TargetArn ). |
PublishResult |
AbstractAmazonSNS.publish(PublishRequest request) |
Future<PublishResult> |
AmazonSNSAsyncClient.publishAsync(PublishRequest request) |
Future<PublishResult> |
AmazonSNSAsync.publishAsync(PublishRequest publishRequest)
Sends a message to an Amazon SNS topic, a text message (SMS message) directly to a phone number, or a message to
a mobile platform endpoint (when you specify the
TargetArn ). |
Future<PublishResult> |
AbstractAmazonSNSAsync.publishAsync(PublishRequest request) |
Future<PublishResult> |
AmazonSNSAsyncClient.publishAsync(PublishRequest request,
AsyncHandler<PublishRequest,PublishResult> asyncHandler) |
Future<PublishResult> |
AmazonSNSAsync.publishAsync(PublishRequest publishRequest,
AsyncHandler<PublishRequest,PublishResult> asyncHandler)
Sends a message to an Amazon SNS topic, a text message (SMS message) directly to a phone number, or a message to
a mobile platform endpoint (when you specify the
TargetArn ). |
Future<PublishResult> |
AbstractAmazonSNSAsync.publishAsync(PublishRequest request,
AsyncHandler<PublishRequest,PublishResult> asyncHandler) |
Modifier and Type | Method and Description |
---|---|
Future<PublishResult> |
AmazonSNSAsyncClient.publishAsync(PublishRequest request,
AsyncHandler<PublishRequest,PublishResult> asyncHandler) |
Future<PublishResult> |
AmazonSNSAsync.publishAsync(PublishRequest publishRequest,
AsyncHandler<PublishRequest,PublishResult> asyncHandler)
Sends a message to an Amazon SNS topic, a text message (SMS message) directly to a phone number, or a message to
a mobile platform endpoint (when you specify the
TargetArn ). |
Future<PublishResult> |
AbstractAmazonSNSAsync.publishAsync(PublishRequest request,
AsyncHandler<PublishRequest,PublishResult> asyncHandler) |
Future<PublishResult> |
AmazonSNSAsyncClient.publishAsync(String topicArn,
String message,
AsyncHandler<PublishRequest,PublishResult> asyncHandler)
Simplified method form for invoking the Publish operation with an AsyncHandler.
|
Future<PublishResult> |
AmazonSNSAsync.publishAsync(String topicArn,
String message,
AsyncHandler<PublishRequest,PublishResult> asyncHandler)
Simplified method form for invoking the Publish operation with an AsyncHandler.
|
Future<PublishResult> |
AbstractAmazonSNSAsync.publishAsync(String topicArn,
String message,
AsyncHandler<PublishRequest,PublishResult> asyncHandler)
Simplified method form for invoking the Publish operation with an AsyncHandler.
|
Future<PublishResult> |
AmazonSNSAsyncClient.publishAsync(String topicArn,
String message,
String subject,
AsyncHandler<PublishRequest,PublishResult> asyncHandler)
Simplified method form for invoking the Publish operation with an AsyncHandler.
|
Future<PublishResult> |
AmazonSNSAsync.publishAsync(String topicArn,
String message,
String subject,
AsyncHandler<PublishRequest,PublishResult> asyncHandler)
Simplified method form for invoking the Publish operation with an AsyncHandler.
|
Future<PublishResult> |
AbstractAmazonSNSAsync.publishAsync(String topicArn,
String message,
String subject,
AsyncHandler<PublishRequest,PublishResult> asyncHandler)
Simplified method form for invoking the Publish operation with an AsyncHandler.
|
Modifier and Type | Method and Description |
---|---|
PublishRequest |
PublishRequest.addMessageAttributesEntry(String key,
MessageAttributeValue value)
Add a single MessageAttributes entry
|
PublishRequest |
PublishRequest.clearMessageAttributesEntries()
Removes all the entries added into MessageAttributes.
|
PublishRequest |
PublishRequest.clone() |
PublishRequest |
PublishRequest.withMessage(String message)
The message you want to send.
|
PublishRequest |
PublishRequest.withMessageAttributes(Map<String,MessageAttributeValue> messageAttributes)
Message attributes for Publish action.
|
PublishRequest |
PublishRequest.withMessageDeduplicationId(String messageDeduplicationId)
This parameter applies only to FIFO (first-in-first-out) topics.
|
PublishRequest |
PublishRequest.withMessageGroupId(String messageGroupId)
This parameter applies only to FIFO (first-in-first-out) topics.
|
PublishRequest |
PublishRequest.withMessageStructure(String messageStructure)
Set
MessageStructure to json if you want to send a different message for each protocol. |
PublishRequest |
PublishRequest.withPhoneNumber(String phoneNumber)
The phone number to which you want to deliver an SMS message.
|
PublishRequest |
PublishRequest.withSubject(String subject)
Optional parameter to be used as the "Subject" line when the message is delivered to email endpoints.
|
PublishRequest |
PublishRequest.withTargetArn(String targetArn)
If you don't specify a value for the
TargetArn parameter, you must specify a value for the
PhoneNumber or TopicArn parameters. |
PublishRequest |
PublishRequest.withTopicArn(String topicArn)
The topic you want to publish to.
|
Copyright © 2024. All rights reserved.