Struct aws_sdk_eventbridge::types::Replay
source · #[non_exhaustive]pub struct Replay {
pub replay_name: Option<String>,
pub event_source_arn: Option<String>,
pub state: Option<ReplayState>,
pub state_reason: Option<String>,
pub event_start_time: Option<DateTime>,
pub event_end_time: Option<DateTime>,
pub event_last_replayed_time: Option<DateTime>,
pub replay_start_time: Option<DateTime>,
pub replay_end_time: Option<DateTime>,
}
Expand description
A Replay
object that contains details about a replay.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.replay_name: Option<String>
The name of the replay.
event_source_arn: Option<String>
The ARN of the archive to replay event from.
state: Option<ReplayState>
The current state of the replay.
state_reason: Option<String>
A description of why the replay is in the current state.
event_start_time: Option<DateTime>
A time stamp for the time to start replaying events. This is determined by the time in the event as described in Time.
event_end_time: Option<DateTime>
A time stamp for the time to start replaying events. Any event with a creation time prior to the EventEndTime
specified is replayed.
event_last_replayed_time: Option<DateTime>
A time stamp for the time that the last event was replayed.
replay_start_time: Option<DateTime>
A time stamp for the time that the replay started.
replay_end_time: Option<DateTime>
A time stamp for the time that the replay completed.
Implementations§
source§impl Replay
impl Replay
sourcepub fn replay_name(&self) -> Option<&str>
pub fn replay_name(&self) -> Option<&str>
The name of the replay.
sourcepub fn event_source_arn(&self) -> Option<&str>
pub fn event_source_arn(&self) -> Option<&str>
The ARN of the archive to replay event from.
sourcepub fn state(&self) -> Option<&ReplayState>
pub fn state(&self) -> Option<&ReplayState>
The current state of the replay.
sourcepub fn state_reason(&self) -> Option<&str>
pub fn state_reason(&self) -> Option<&str>
A description of why the replay is in the current state.
sourcepub fn event_start_time(&self) -> Option<&DateTime>
pub fn event_start_time(&self) -> Option<&DateTime>
A time stamp for the time to start replaying events. This is determined by the time in the event as described in Time.
sourcepub fn event_end_time(&self) -> Option<&DateTime>
pub fn event_end_time(&self) -> Option<&DateTime>
A time stamp for the time to start replaying events. Any event with a creation time prior to the EventEndTime
specified is replayed.
sourcepub fn event_last_replayed_time(&self) -> Option<&DateTime>
pub fn event_last_replayed_time(&self) -> Option<&DateTime>
A time stamp for the time that the last event was replayed.
sourcepub fn replay_start_time(&self) -> Option<&DateTime>
pub fn replay_start_time(&self) -> Option<&DateTime>
A time stamp for the time that the replay started.
sourcepub fn replay_end_time(&self) -> Option<&DateTime>
pub fn replay_end_time(&self) -> Option<&DateTime>
A time stamp for the time that the replay completed.
Trait Implementations§
source§impl PartialEq for Replay
impl PartialEq for Replay
impl StructuralPartialEq for Replay
Auto Trait Implementations§
impl Freeze for Replay
impl RefUnwindSafe for Replay
impl Send for Replay
impl Sync for Replay
impl Unpin for Replay
impl UnwindSafe for Replay
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
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>
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>
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