Amazon Pinpoint

Introduction

In the identity-idp repo, we gather information about Amazon Pinpoint support for voice and SMS messaging. Support information is obtained using the make update_pinpoint_supporting_countries script. The script gathers support information from:

  1. pinpoint_supported_countries.yml is the file that has programmatically generated information about Pinpoint supports. Information can be found on Pinpoint’s website.
  2. pinpoint_overrides.yml is the file that we manually update when we have to make changes to supported countries.

Data is then combined in country_dialing_codes.yml.

All of the above documents are in the config/ folder.

Notes

The script has proven to be fragile when Amazon adds/deletes contents from the any of the source pages. Added footnotes are a common reason why script failures happen. Ways that script-related failures have been fixed in the past include:

  • Make updates to the SMS support script.
  • Making manual additions/deletions to to pinpoint_overrides.yml
  • Re-running the GitLab pipeline.