Struct aws_sdk_eventbridge::client::fluent_builders::StartReplay
source · [−]pub struct StartReplay<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* 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
impl<C, M, R> StartReplay<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> StartReplay<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(self) -> Result<StartReplayOutput, SdkError<StartReplayError>> where
R::Policy: SmithyRetryPolicy<StartReplayInputOperationOutputAlias, StartReplayOutput, StartReplayError, StartReplayInputOperationRetryAlias>,
pub async fn send(self) -> Result<StartReplayOutput, SdkError<StartReplayError>> where
R::Policy: SmithyRetryPolicy<StartReplayInputOperationOutputAlias, StartReplayOutput, StartReplayError, StartReplayInputOperationRetryAlias>,
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.
The name of the replay to start.
The name of the replay to start.
A description for the replay to start.
A description for the replay to start.
The ARN of the archive to replay events from.
The ARN of the archive to replay events from.
A time stamp for the time to start replaying events. Only events that occurred between the EventStartTime
and EventEndTime
are replayed.
A time stamp for the time to start replaying events. Only events that occurred between the EventStartTime
and EventEndTime
are replayed.
A time stamp for the time to stop replaying events. Only events that occurred between the EventStartTime
and EventEndTime
are replayed.
A time stamp for the time to stop replaying events. Only events that occurred between the EventStartTime
and EventEndTime
are replayed.
A ReplayDestination
object that includes details about the destination for the replay.
A ReplayDestination
object that includes details about the destination for the replay.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for StartReplay<C, M, R>
impl<C, M, R> Unpin for StartReplay<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for StartReplay<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more