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?

preguntada hace 2 años501 visualizaciones
1 Respuesta
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/

respondido hace un año

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas