Registry / messaging / sns
library2.42.2javamavenunverified

The AWS Java SDK for Amazon SNS module holds the client classes for communicating with Amazon Simple Notification Service.

<dependency> <groupId>software.amazon.awssdk</groupId> <artifactId>sns</artifactId> <version>2.42.2</version> </dependency>
INSTALL
IMPORT
SIG · SNS
S
sns
messagingjavav2.42.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

SnsClient
✓ software.amazon.awssdk.services.sns.SnsClient

Minimal usage of AWS SNS client to publish a message

import software.amazon.awssdk.services.sns.SnsClient; import software.amazon.awssdk.services.sns.model.PublishRequest; public class Example { public static void main(String[] args) { SnsClient client = SnsClient.create(); PublishRequest request = PublishRequest.builder() .message("Hello") .topicArn("arn:aws:sns:us-east-1:123456789012:MyTopic") .build(); client.publish(request); } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.42.2latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
34 hits · last 30 days
node
32
Resources
sns — mvn dependency:get sns · libregistry