fork download
  1. {
  2. "name": "UserIdentificationSystemBot",
  3. "locale": "en-US",
  4. "intents": [
  5. {
  6. "name": "RegisterUser",
  7. "slots": [
  8. {
  9. "name": "Username",
  10. "type": "AMAZON.AlphaNumeric",
  11. "slotConstraint": "Required"
  12. },
  13. {
  14. "name": "Email",
  15. "type": "AMAZON.EmailAddress",
  16. "slotConstraint": "Required"
  17. },
  18. {
  19. "name": "PhoneNumber",
  20. "type": "AMAZON.PhoneNumber",
  21. "slotConstraint": "Required"
  22. },
  23. {
  24. "name": "Password",
  25. "type": "AMAZON.Password",
  26. "slotConstraint": "Required"
  27. }
  28. ],
  29. "fulfillmentActivity": {
  30. "type": "LambdaFunction",
  31. "codeHook": {
  32. "uri": "arn:aws:lambda:YOUR_FUNCTION_ARN",
  33. "messageVersion": "1.0"
  34. }
  35. }
  36. },
  37. {
  38. "name": "AuthenticateUser",
  39. "slots": [
  40. {
  41. "name": "Username",
  42. "type": "AMAZON.AlphaNumeric",
  43. "slotConstraint": "Required"
  44. },
  45. {
  46. "name": "Password",
  47. "type": "AMAZON.Password",
  48. "slotConstraint": "Required"
  49. }
  50. ],
  51. "fulfillmentActivity": {
  52. "type": "LambdaFunction",
  53. "codeHook": {
  54. "uri": "arn:aws:lambda:YOUR_FUNCTION_ARN",
  55. "messageVersion": "1.0"
  56. }
  57. }
  58. },
  59. {
  60. "name": "PasswordRecovery",
  61. "slots": [
  62. {
  63. "name": "Email",
  64. "type": "AMAZON.EmailAddress",
  65. "slotConstraint": "Required"
  66. }
  67. ],
  68. "fulfillmentActivity": {
  69. "type": "LambdaFunction",
  70. "codeHook": {
  71. "uri": "arn:aws:lambda:YOUR_FUNCTION_ARN",
  72. "messageVersion": "1.0"
  73. }
  74. }
  75. },
  76. {
  77. "name": "UpdateSecuritySettings",
  78. "slots": [
  79. {
  80. "name": "SessionExpiration",
  81. "type": "AMAZON.TIME",
  82. "slotConstraint": "Required"
  83. },
  84. {
  85. "name": "PasswordPolicy",
  86. "type": "AMAZON.AlphaNumeric",
  87. "slotConstraint": "Required"
  88. },
  89. {
  90. "name": "MFASettings",
  91. "type": "AMAZON.AlphaNumeric",
  92. "slotConstraint": "Required"
  93. }
  94. ],
  95. "fulfillmentActivity": {
  96. "type": "LambdaFunction",
  97. "codeHook": {
  98. "uri": "arn:aws:lambda:YOUR_FUNCTION_ARN",
  99. "messageVersion": "1.0"
  100. }
  101. }
  102. }
  103. ]
  104. }
  105.  
  106.  
Success #stdin #stdout #stderr 0.03s 6820KB
stdin
Standard input is empty
stdout
Standard output is empty
stderr
ERROR: /home/5nBrKp/prog:105:0: Syntax error: Unexpected end of file
ERROR: '$runtoplevel'/0: Undefined procedure: program/0
   Exception: (3) program ? EOF: exit