For the given event build ARN and return the configured function
(self, event)
| 663 | return None |
| 664 | |
| 665 | def get_function_from_bot_intent_trigger(self, event): |
| 666 | """ |
| 667 | For the given event build ARN and return the configured function |
| 668 | """ |
| 669 | intent = event.get("currentIntent") |
| 670 | if intent: |
| 671 | intent = intent.get("name") |
| 672 | if intent: |
| 673 | return self.settings.AWS_BOT_EVENT_MAPPING.get("{}:{}".format(intent, event.get("invocationSource"))) |
| 674 | |
| 675 | def get_function_for_cognito_trigger(self, trigger): |
| 676 | """ |