pub struct StartReplayFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to StartReplay
.
Starts the specified replay. Events are not necessarily replayed in the exact same order that they were added to the archive. A replay processes events to replay based on the time in the event, and replays them using 1 minute intervals. If you specify an EventStartTime
and an EventEndTime
that covers a 20 minute time range, the events are replayed from the first minute of that 20 minute range first. Then the events from the second minute are replayed. You can use DescribeReplay
to determine the progress of a replay. The value returned for EventLastReplayedTime
indicates the time within the specified time range associated with the last event replayed.
Implementations§
source§impl StartReplayFluentBuilder
impl StartReplayFluentBuilder
sourcepub fn as_input(&self) -> &StartReplayInputBuilder
pub fn as_input(&self) -> &StartReplayInputBuilder
Access the StartReplay as a reference.
sourcepub async fn send(
self
) -> Result<StartReplayOutput, SdkError<StartReplayError, HttpResponse>>
pub async fn send( self ) -> Result<StartReplayOutput, SdkError<StartReplayError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<StartReplayOutput, StartReplayError, Self>
pub fn customize( self ) -> CustomizableOperation<StartReplayOutput, StartReplayError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn replay_name(self, input: impl Into<String>) -> Self
pub fn replay_name(self, input: impl Into<String>) -> Self
The name of the replay to start.
sourcepub fn set_replay_name(self, input: Option<String>) -> Self
pub fn set_replay_name(self, input: Option<String>) -> Self
The name of the replay to start.
sourcepub fn get_replay_name(&self) -> &Option<String>
pub fn get_replay_name(&self) -> &Option<String>
The name of the replay to start.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A description for the replay to start.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A description for the replay to start.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
A description for the replay to start.
sourcepub fn event_source_arn(self, input: impl Into<String>) -> Self
pub fn event_source_arn(self, input: impl Into<String>) -> Self
The ARN of the archive to replay events from.
sourcepub fn set_event_source_arn(self, input: Option<String>) -> Self
pub fn set_event_source_arn(self, input: Option<String>) -> Self
The ARN of the archive to replay events from.
sourcepub fn get_event_source_arn(&self) -> &Option<String>
pub fn get_event_source_arn(&self) -> &Option<String>
The ARN of the archive to replay events from.
sourcepub fn event_start_time(self, input: DateTime) -> Self
pub fn event_start_time(self, input: DateTime) -> Self
A time stamp for the time to start replaying events. Only events that occurred between the EventStartTime
and EventEndTime
are replayed.
sourcepub fn set_event_start_time(self, input: Option<DateTime>) -> Self
pub fn set_event_start_time(self, input: Option<DateTime>) -> Self
A time stamp for the time to start replaying events. Only events that occurred between the EventStartTime
and EventEndTime
are replayed.
sourcepub fn get_event_start_time(&self) -> &Option<DateTime>
pub fn get_event_start_time(&self) -> &Option<DateTime>
A time stamp for the time to start replaying events. Only events that occurred between the EventStartTime
and EventEndTime
are replayed.
sourcepub fn event_end_time(self, input: DateTime) -> Self
pub fn event_end_time(self, input: DateTime) -> Self
A time stamp for the time to stop replaying events. Only events that occurred between the EventStartTime
and EventEndTime
are replayed.
sourcepub fn set_event_end_time(self, input: Option<DateTime>) -> Self
pub fn set_event_end_time(self, input: Option<DateTime>) -> Self
A time stamp for the time to stop replaying events. Only events that occurred between the EventStartTime
and EventEndTime
are replayed.
sourcepub fn get_event_end_time(&self) -> &Option<DateTime>
pub fn get_event_end_time(&self) -> &Option<DateTime>
A time stamp for the time to stop replaying events. Only events that occurred between the EventStartTime
and EventEndTime
are replayed.
sourcepub fn destination(self, input: ReplayDestination) -> Self
pub fn destination(self, input: ReplayDestination) -> Self
A ReplayDestination
object that includes details about the destination for the replay.
sourcepub fn set_destination(self, input: Option<ReplayDestination>) -> Self
pub fn set_destination(self, input: Option<ReplayDestination>) -> Self
A ReplayDestination
object that includes details about the destination for the replay.
sourcepub fn get_destination(&self) -> &Option<ReplayDestination>
pub fn get_destination(&self) -> &Option<ReplayDestination>
A ReplayDestination
object that includes details about the destination for the replay.
Trait Implementations§
source§impl Clone for StartReplayFluentBuilder
impl Clone for StartReplayFluentBuilder
source§fn clone(&self) -> StartReplayFluentBuilder
fn clone(&self) -> StartReplayFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for StartReplayFluentBuilder
impl !RefUnwindSafe for StartReplayFluentBuilder
impl Send for StartReplayFluentBuilder
impl Sync for StartReplayFluentBuilder
impl Unpin for StartReplayFluentBuilder
impl !UnwindSafe for StartReplayFluentBuilder
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