Skip to main content

EventBridgeDelivery

Trait EventBridgeDelivery 

Source
pub trait EventBridgeDelivery: Send + Sync {
    // Required method
    fn put_event(
        &self,
        source: &str,
        detail_type: &str,
        detail: &str,
        event_bus_name: &str,
    );
}
Expand description

Trait for putting events onto an EventBridge bus from cross-service integrations.

Required Methods§

Source

fn put_event( &self, source: &str, detail_type: &str, detail: &str, event_bus_name: &str, )

Put an event onto the specified event bus. The implementation should handle rule matching and target delivery.

Implementors§