Skip to content

Commit bd5da03

Browse files
author
Rob McCauley
committed
doc updates
1 parent 3b3c320 commit bd5da03

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

aws/Amazon-IOT/webapp-thing/thing1.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<html>
22

33
<head>
4-
<title>waterPump Thing : Alexa to AWS IOT to Web Browser</title>
4+
<title> Thing1 : Alexa to AWS IOT to Web Browser</title>
55

66
<script type="text/javascript" src="./bower_components/mqttws/mqttws31.js"></script>
77
<script type="text/javascript" src="./bower_components/moment/moment.js"></script>

labs/Recipe/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ Steps:
7070
#### Enable the table within your Lambda code
7171
Steps:
7272
1. Review your Lambda function code within the AWS Lambda console.
73-
1. Locate the line ```// alexa.dynamoDBTableName = 'RecipeSkillTable'; ``` which is at around line 40.
73+
1. Locate the line ```// alexa.dynamoDBTableName = 'RecipeSkillTable'; ``` which is at around line 53.
7474
1. Uncomment out this line by removing the first two ```//``` characters.
7575
1. Scroll up and click the blue "Save" button.
7676
1. Test your skill. Open the skill, say "begin cooking", and then say "stop". You may encounter errors the first couple of times the skill runs. This is okay. The skill code is setting up a new table in DynamoDB which may take 60 seconds to complete.

labs/Recipe/src/index.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ var welcomeCardImg = {
4040

4141
var Alexa = require('alexa-sdk');
4242

43-
var AWS = require('aws-sdk');
44-
var AWSregion = 'us-east-1'; // us-east-1
43+
var AWS = require('aws-sdk'); // this is defined to enable a DynamoDB connection from local testing
44+
var AWSregion = 'us-east-1'; // eu-west-1
4545
AWS.config.update({
4646
region: AWSregion
4747
});
@@ -159,7 +159,6 @@ var handlers = {
159159
this.emit(':tell', this.t('STOP'));
160160
},
161161
'AMAZON.StopIntent': function () {
162-
163162
this.emit(':tell', this.t('STOP'));
164163
},
165164
'SessionEndedRequest': function () {

0 commit comments

Comments
 (0)