SNS block send SMS for specific countries

1

Hello. Does it possible to block countries for SMS sending in SMS settings (SNS service)

  • Following up. Did anyone figure out a way?

1 Risposta
0

Unfortunately, SNS does not support such feature yet. However, if needed be, as a workaround you may build a custom lambda that filters the messages with unwanted country code and then processes the Publish API [1] on rest of the messages.In short you may add logic to simply check country code for entered phone number and deny PublishAPI based on these results.

For any new feature release, refer to AWS blogs [2] and Whats new [3] page

References: 1] https://docs.aws.amazon.com/sns/latest/api/API_Publish.html 2] https://aws.amazon.com/blogs/aws/ 3] https://aws.amazon.com/new/

con risposta un anno fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande