


module.exports = {
canHandle(handlerInput) {
const { request } = handlerInput.requestEnvelope;
return request.type === 'IntentRequest'
&& request.intent.name === '<INTENT_NAME>';
},
handle(handlerInput) {
// do any required operations like API calls
// or just respond
return handlerInput.responseBuilder
.speak('Alexa will speak this out')
// Will keep the session, useful for dialogs
.reprompt('Alexa will wait for your further input if you add this')
.getResponse();
}
}

console.log and check Cloudwatch
