Struct aws_sdk_eventbridge::client::fluent_builders::StartReplay
source · pub struct StartReplay { /* 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 StartReplay
impl StartReplay
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<StartReplay, AwsResponseRetryClassifier>, SdkError<StartReplayError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<StartReplay, AwsResponseRetryClassifier>, SdkError<StartReplayError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(self) -> Result<StartReplayOutput, SdkError<StartReplayError>>
pub async fn send(self) -> Result<StartReplayOutput, SdkError<StartReplayError>>
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 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 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 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 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 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 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.
Trait Implementations§
source§impl Clone for StartReplay
impl Clone for StartReplay
source§fn clone(&self) -> StartReplay
fn clone(&self) -> StartReplay
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more