pub struct EventBridgeDeliveryImpl { /* private fields */ }Expand description
Implements EventBridgeDelivery so other services (SES) can put events on an EventBridge bus with full rule matching and target delivery.
Implementations§
Source§impl EventBridgeDeliveryImpl
impl EventBridgeDeliveryImpl
pub fn new(state: SharedEventBridgeState, delivery: Arc<DeliveryBus>) -> Self
Trait Implementations§
Source§impl EventBridgeDelivery for EventBridgeDeliveryImpl
impl EventBridgeDelivery for EventBridgeDeliveryImpl
Source§fn put_event(
&self,
source: &str,
detail_type: &str,
detail: &str,
event_bus_name: &str,
)
fn put_event( &self, source: &str, detail_type: &str, detail: &str, event_bus_name: &str, )
Put an event onto the specified event bus in the default account.
The implementation should handle rule matching and target delivery.
Source§fn put_event_to_account(
&self,
source: &str,
detail_type: &str,
detail: &str,
event_bus_name: &str,
target_account_id: &str,
)
fn put_event_to_account( &self, source: &str, detail_type: &str, detail: &str, event_bus_name: &str, target_account_id: &str, )
Put an event onto the specified event bus owned by
target_account_id.
Used for cross-account delivery where the source service (e.g. Scheduler)
has a target ARN containing the destination account. The default impl
falls back to the default-account put_event for backwards compat —
real implementations should override and route to the target account’s
state.Auto Trait Implementations§
impl Freeze for EventBridgeDeliveryImpl
impl !RefUnwindSafe for EventBridgeDeliveryImpl
impl Send for EventBridgeDeliveryImpl
impl Sync for EventBridgeDeliveryImpl
impl Unpin for EventBridgeDeliveryImpl
impl UnsafeUnpin for EventBridgeDeliveryImpl
impl !UnwindSafe for EventBridgeDeliveryImpl
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more