Values.SendEventRequestSourceSends an event to a room. Use this within your application’s business logic to send events to clients of a room; e.g., to notify clients to change the way the chat UI is rendered.
type nonrec t = {roomIdentifier : RoomIdentifier.t;Identifier of the room to which the event will be sent. Currently this must be an ARN.
*)eventName : EventName.t;Application-defined name of the event to send to clients.
*)attributes : EventAttributes.t option;Application-defined metadata to attach to the event sent to clients. The maximum length of the metadata is 1 KB total.
*)}val make :
?attributes:??? ->
roomIdentifier:RoomIdentifier.t ->
eventName:EventName.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Map of
([> `String of String_.t ] * [> `String of String_.t ]) list
| `String of RoomIdentifier.t ])
list ]