AWS Lex fulfillment service for idear
./gradlew shadowJar
./gradlew migrateFunction
The LexFulfillment Lambda function responds to Lex in accordance with the Lex Response Format.
The message
field is used as intended - plays an audible prompt to the user by TTS.
Unfortunately, responseCard
is not available to speech requests, so sessionAttributes
are used to send commands back to the IDE:
-
invokeAction
: invokes the named IntelliJ Action - built-in or custom actions are both supported -
pressKeystroke
: a comma-delimited list of integer values may be dispatched to the IDE -
Verbosity
: Lex insists on responses having a non-emptymessage
, but in Idear not all commands require audible feedback.- '
INFO
' if an audible prompt is required (eg "what's the name of the class"). - '
DEBUG
' for prompts which may be useful for the visually impaired - '
ALL
' where nobody would be interested in hearing the message
- '