pub struct EventBridgeState {Show 14 fields
pub account_id: String,
pub region: String,
pub buses: BTreeMap<String, EventBus>,
pub rules: BTreeMap<(String, String), EventRule>,
pub events: Vec<PutEvent>,
pub archives: BTreeMap<String, Archive>,
pub connections: BTreeMap<String, Connection>,
pub api_destinations: BTreeMap<String, ApiDestination>,
pub replays: BTreeMap<String, Replay>,
pub partner_event_sources: BTreeMap<String, PartnerEventSource>,
pub endpoints: BTreeMap<String, Endpoint>,
pub lambda_invocations: Vec<LambdaInvocation>,
pub log_deliveries: Vec<LogDelivery>,
pub step_function_executions: Vec<StepFunctionExecution>,
}Fields§
§account_id: String§region: String§buses: BTreeMap<String, EventBus>§rules: BTreeMap<(String, String), EventRule>§events: Vec<PutEvent>§archives: BTreeMap<String, Archive>§connections: BTreeMap<String, Connection>§api_destinations: BTreeMap<String, ApiDestination>§replays: BTreeMap<String, Replay>§partner_event_sources: BTreeMap<String, PartnerEventSource>Partner event sources: name -> PartnerEventSource
endpoints: BTreeMap<String, Endpoint>Endpoints: name -> Endpoint
lambda_invocations: Vec<LambdaInvocation>Recorded Lambda invocations (stub deliveries).
log_deliveries: Vec<LogDelivery>Recorded CloudWatch Logs deliveries (stub deliveries).
step_function_executions: Vec<StepFunctionExecution>Recorded Step Functions executions (stub deliveries).
Implementations§
Trait Implementations§
Source§impl AccountState for EventBridgeState
impl AccountState for EventBridgeState
Source§fn new_for_account(account_id: &str, region: &str, _endpoint: &str) -> Self
fn new_for_account(account_id: &str, region: &str, _endpoint: &str) -> Self
Create a fresh, empty state for the given account.
Source§fn inherit_from(&mut self, _sibling: &Self)
fn inherit_from(&mut self, _sibling: &Self)
Called after a new account state is created via
MultiAccountState::get_or_create,
with a reference to an existing sibling state. Services can override
this to propagate shared resources (e.g. body caches) to the new state.Source§impl Clone for EventBridgeState
impl Clone for EventBridgeState
Source§fn clone(&self) -> EventBridgeState
fn clone(&self) -> EventBridgeState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EventBridgeState
impl Debug for EventBridgeState
Source§impl<'de> Deserialize<'de> for EventBridgeState
impl<'de> Deserialize<'de> for EventBridgeState
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for EventBridgeState
impl RefUnwindSafe for EventBridgeState
impl Send for EventBridgeState
impl Sync for EventBridgeState
impl Unpin for EventBridgeState
impl UnsafeUnpin for EventBridgeState
impl UnwindSafe for EventBridgeState
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more