Skip to content

Commit

Permalink
sm readme cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Miserlou committed Feb 8, 2018
1 parent abfbbd7 commit 13e22ca
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -532,13 +532,13 @@ Similarly, for a [Simple Notification Service](https://aws.amazon.com/sns/) even
]
```

For configuring Lex Bot's Intent triggered events
For configuring Lex Bot's intent triggered events:
```javascript
"bot_events": [
{
"function": "lexbot.handlers.book_appointment.handler",
"event_source": {
"arn": "arn:aws:lex:us-east-1:029992932068:intent:TmpTestLexEventNames:$LATEST", // optional. In future it will be used to configure the intent
"arn": "arn:aws:lex:us-east-1:01234123123:intent:TestLexEventNames:$LATEST", // optional. In future it will be used to configure the intent
"intent":"intentName", // name of the bot event configured
"invocation_source":"DialogCodeHook", // either FulfillmentCodeHook or DialogCodeHook
}
Expand All @@ -547,7 +547,7 @@ For configuring Lex Bot's Intent triggered events

```

Events can also take keyword arguments.
Events can also take keyword arguments:
```javascript
"events": [
{
Expand All @@ -558,7 +558,7 @@ Events can also take keyword arguments.
]
```

To get the keyword arguments you will need to look inside the event dict.
To get the keyword arguments you will need to look inside the event dictionary:

```python
def your_recurring_function(event, context):
Expand Down

0 comments on commit 13e22ca

Please sign in to comment.