Here is how to copy and paste your Lambda function ARN to the Skill endpoint.
- Within the AWS Lambda function page, the ARN, or Amazon Resource Name, is shown near the top right, such as
arn:aws:lambda:us-east-1:333304287777:function:HelloWorld
- Copy this ARN
- Go to the browser tab at
developer.amazon.com
and navigate into your skill's Configuration page. - Click the radio button for Service Endpoint Type: AWS Lambda ARN
- Pick a geographical region that is closest to your target customers
- Click into the textbox that appears, and Paste.
- Scroll down and click Save.
- You should see a green checkbox next to the Configuration menu item.
- If you get an error, confirm you have previously added an ASK Trigger to your Lambda function.
Review your Lambda source code, and update the target phone number:
const mobileNumber = '+1508259846'; // be sure to change this to YOUR mobile number
Open your skill and say 'hello'. Verify that you receive a TXT message with emoji. You can reply to the TXT with STOP to control future messages from AWS SNS.
See the Testing guide for more testing options.
Back to the [Home Page](../../README.md#title)