Shows how to use the AWS SDK for Java with Amazon Simple Notification Service (Amazon SNS).
Amazon SNS enables applications, end-users, and devices to instantly send and receive notifications from the cloud.
- Create a platform endpoint for push notifications
- Create and publish to a FIFO topic
- Publish a large message
- Set a dead-letter queue for a subscription
- Publish SMS messages to a topic
- As an AWS best practice, grant this code least privilege, or only the permissions required to perform a task. For more information, see Grant Least Privilege in the AWS Identity and Access Management User Guide.
- This code has not been tested in all AWS Regions. Some AWS services are available only in specific Regions. For more information, see the AWS Region Table on the AWS website.
- Running this code might result in charges to your AWS account.
- You must have an AWS account, and have your default credentials and AWS Region configured as described in the AWS Tools and SDKs Shared Configuration and Credentials Reference Guide.
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0