(handlerInput: HandlerInput)
| 20 | } |
| 21 | const LaunchRequestHandler: RequestHandler = { |
| 22 | canHandle(handlerInput: HandlerInput): boolean { |
| 23 | return handlerInput.requestEnvelope.request.type === 'LaunchRequest' || |
| 24 | handlerInput.requestEnvelope.request.type === 'IntentRequest' && |
| 25 | handlerInput.requestEnvelope.request.intent.name === 'AMAZON.NavigateHomeIntent'; |
| 26 | }, |
| 27 | async handle(handlerInput: HandlerInput): Promise<Response> { |
| 28 | const speechText = 'Hey, it\'s Pancakes the CDK Otter here, what would you like to know?'; |
| 29 | const repromptText = 'You can ask what CDK Patterns I have, if you like!'; |
nothing calls this directly
no outgoing calls
no test coverage detected