You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/docs/aws/services/sns.mdx
+45Lines changed: 45 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -186,6 +186,37 @@ awslocal sns unsubscribe \
186
186
LocalStack’s SNS implementation offers additional endpoints for developers located at `/_aws/sns`.
187
187
These endpoints provide the ability to access different SNS internals, like Platform Endpoint messages which are not sent to those platforms, or Subscription Tokens which you might not be able to retrieve otherwise.
SNS will now publish messages to your HTTP endpoint, even if it did not confirm itself the subscription.
530
561
562
+
563
+
### Phone opt-outs
564
+
565
+
For testing purposes, LocalStack provides an internal developer endpoint to add phone numbers to the SNS opt-out list.
566
+
567
+
In AWS, phone number opt-outs are typically handled via inbound SMS keywords (for example, `STOP`) or managed through Amazon Pinpoint. Since inbound SMS handling and Pinpoint integration are outside the scope of LocalStack’s SNS emulation, this endpoint allows you to opt-out phone numbers directly for local testing.
568
+
569
+
This is a LocalStack internal endpoint, not part of the AWS SNS public API.
570
+
571
+
```
572
+
POST /_aws/sns/phone-opt-outs
573
+
```
574
+
575
+
531
576
## Resource Browser
532
577
533
578
The LocalStack Web Application provides a Resource Browser for managing SNS topics.
0 commit comments