event

Create Notification

A request to send a notification. This is the service's public "please notify someone" entry point.

Event

Event Overview

This is the one event in RIO that is designed to be published by anyone. The rule that picks it up filters on detail-type alone, with no source filter (infrastructure/template.yaml:398-405), so any service on the bus can ask for a notification to be sent.nnIt does not use the standard audit envelope. Its payload is small and practical: who to tell, what to say, and over which channel.nnEntries are batched into a single put_events call (service.py:564).

Envelope

FieldValue
Bus{env}-rio-events
sourcerio.forecast-notification
detail-typeCreate Notification
detail.event_name(none - this event uses its own compact shape, not the audit envelope)
Emitted atlambda/src/forecast_notification/service.py:671 and :733

Who consumes it

The dispatch Lambda in this same service, via CreateNotificationRule. It then delivers over SES or Google Chat and writes the attempt to the DynamoDB log table.

Payload Schema

Event-driven architecture documentation: RIO
Warning
<SchemaViewer/> failed to load Tried to parse schema from /codebuild/output/src1982355745/src/codestar-connections.us-east-1.amazonaws.com/git-http/668283410145/us-east-1/8d3378b8-d63d-4c40-95ee-dd418fded170/CE-Nova/rio-event-catalog/src/domains/PlatformServices/services/NotificationService/events/CreateNotification/schema.json, but it failed: Expected ',' or '}' after property value in JSON at position 173 (line 4 column 83)