Back to Aws Doc Sdk Examples

Amazon Pinpoint SMS and Voice API JavaScript SDK v2 code examples

javascript/example_code/pinpoint-sms-voice/README.md

latest2.5 KB
Original Source

Amazon Pinpoint SMS and Voice API JavaScript SDK v2 code examples

Purpose

This is a workspace where you can find examples for the Amazon Pinpoint SMS and Voice API using AWS SDK for JavaScript version 2 (v2).

Amazon Pinpoint is a flexible and scalable outbound and inbound marketing communications service. You can connect with customers over channels like email, SMS, push, or voice.

Code examples

API examples

Important

  • As an AWS best practice, grant this code least privilege, or only the permissions required to perform a task. For more information, see Grant least privilege in the AWS Identity and Access Management User Guide.
  • This code has not been tested in all AWS Regions. Some AWS services are available only in specific AWS Regions. For more information, see the AWS Regional Services List on the AWS website.
  • Running this code might result in charges to your AWS account.

Running the code

Prerequisites

Most of these code example files can be run with very little to no modification. For example, to use Node.js to run the pinpoint_send_voice_message_sms_voice_api.js file, replace the hard-coded values in the file with your own values, save the file, and then run the file. For example:

node pinpoint_send_voice_message_sms_voice_api.js

Resources