@defer.inlineCallbacks
    def get_event(self, event_id, check_redacted=True,
                  get_prev_content=False, allow_rejected=False,
                  allow_none=False):
        events = yield self._get_events(
            [event_id],
            check_redacted=check_redacted,
            get_prev_content=get_prev_content,
            allow_rejected=allow_rejected,
        )

        if not events and not allow_none:
            raise RuntimeError("Could not find event %s" % (event_id,))

        defer.returnValue(events[0] if events else None)
:type aws_access_key_id: string
dataset/ETHPy150Open matrix-org/synapse/synapse/storage/events.py/EventsStore.get_event--crossover with--dataset/ETHPy150Open darcyliu/storyboard/boto/__init__.py/connect_emr