code: def event(
          title,
          text,
          alert_type=None,
          aggregation_key=None,
          source_type_name=None,
          date_happened=None,
          priority=None,
          tags=None,
          hostname=None,
      ):
          
docs: Send an event.