News for hackers. Stuff that matters.
Re:AWS Pinpoint Launches Two-Way Text Messaging by zitterbewegung on Tuesday September 26, 2017 @02:51PM (#15341508)
Yea, I tried to use SNS today but couldn't find any example code for Python. I got frustrated and signed up with twilio. After signing up and doing their test I was able to click directly to the Python example.
Re:AWS Pinpoint Launches Two-Way Text Messaging by ranman on Tuesday September 26, 2017 @08:51PM (#15344014)
1. I love Twilio and I recommend it over pinpoint most of the time. The API is objectively easier and the documentation is better.

2.

    import boto3
    sns = boto3.client('sns')
    number = '+12345678900'
    sns.publish(PhoneNumber=number, Message='Hello, World')
Disclaimer: I work for AWS and wrote the post
Re:AWS Pinpoint Launches Two-Way Text Messaging by marksomnian on Wednesday September 27, 2017 @01:57AM (#15345238)
OT: why on Earth would you call your library boto3, instead of something obvious, like aws?

I can't be the first person who was confused by this.

Re:AWS Pinpoint Launches Two-Way Text Messaging by ranman on Wednesday September 27, 2017 @01:34PM (#15350190)
Re:AWS Pinpoint Launches Two-Way Text Messaging by ranman on Thursday September 28, 2017 @03:51AM (#15355512)
Here's the right twitter link sorry: https://twitter.com/garnaat/status/913093232917086209
Re:AWS Pinpoint Launches Two-Way Text Messaging by Kocrachon on Tuesday September 26, 2017 @02:54PM (#15341526)
I admit I don't use SNS but the boto3 docs are usually really well documented.
Re:AWS Pinpoint Launches Two-Way Text Messaging by wickawic on Tuesday September 26, 2017 @03:00PM (#15341585)
the integration between the python code and SNS is relatively well documented, but it is missing examples for how to actually achieve real-world results (such as sending yourself a text message).
Re:AWS Pinpoint Launches Two-Way Text Messaging by zitterbewegung on Tuesday September 26, 2017 @05:40PM (#15342755)
Responding to this and the parent it was the lack of examples that made me change my behavior. Not the lack of documentation for boto3.