This file contains hidden or 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
console.log('Loading event'); | |
var AWS = require('aws-sdk'); | |
var dynamodb = new AWS.DynamoDB({apiVersion: '2012-08-10'}); | |
var tableName = "RegisterChatbot_Registrations"; | |
// Close dialog with the customer, reporting fulfillmentState of Failed or Fulfilled | |
function close(sessionAttributes, fulfillmentState, message) { | |
return { | |
sessionAttributes, | |
dialogAction: { |
NewerOlder