This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Adapted from https://docs.aws.amazon.com/sns/latest/dg/sms_publish-to-phone.html#sms_publish_sdk | |
# Disclaimer: this is sample code for demonstration purposes only | |
import boto3 | |
from botocore.exceptions import ClientError | |
# The AWS Region that you want to use to send the message. For a list of | |
# AWS Regions where the Amazon Pinpoint API is available, see | |
# https://docs.aws.amazon.com/pinpoint/latest/apireference/ | |
region = "us-west-2" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Adapted from https://docs.aws.amazon.com/pinpoint/latest/developerguide/send-messages-sms.html | |
# Disclaimer: this is sample code for demonstration purposes only | |
import boto3 | |
from botocore.exceptions import ClientError | |
# The AWS Region that you want to use to send the message. For a list of | |
# AWS Regions where the Amazon Pinpoint API is available, see | |
# https://docs.aws.amazon.com/pinpoint/latest/apireference/ | |
region = "us-west-2" |
by John Rotenstein (jorote.at.amazon.com)
Broadcast from Sydney, Australia
Companion information for the show on Twitch.
- AWS Chat Room -- Come join us!
- Search for newest AWS Questions without an accepted answer
- Good Stack Overflow Citizen by Jeff Atwood - YouTube - A great (but long) video about writing good answers