EventBridgeClient.start_replay
rboto-eventbridge==0.4.0 · Service index · Types
Model summary (excerpt): 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...
Install and imports
from rboto import EventBridgeClient
from rboto_eventbridge.types import (
ReplayDestination,
StartReplayOutput,
)
Signature
async def start_replay(
*,
replay_name: str,
event_source_arn: str,
event_start_time: str,
event_end_time: str,
destination: ReplayDestination,
description: str | None = None,
) -> StartReplayOutput: ...
Arguments without defaults are required. None omits an optional request argument. Static types do not validate resource existence, permissions, lengths, ranges, or conditional service requirements.
Arguments
| Argument | Required | Model notes (excerpt) |
|---|---|---|
replay_name |
Yes | The name of the replay to start. |
event_source_arn |
Yes | The ARN of the archive to replay events from. |
event_start_time |
Yes | A time stamp for the time to start replaying events. Only events that occurred between the EventStartTime and EventEndTime are replayed. |
event_end_time |
Yes | A time stamp for the time to stop replaying events. Only events that occurred between the EventStartTime and EventEndTime are replayed. |
destination |
Yes | A ReplayDestination object that includes details about the destination for the replay. |
description |
No | A description for the replay to start. |
Output
StartReplayOutput.
Read-only native attributes, accessed as response.field. Collection getters materialize Python values; to_dict() recursively materializes a mapping. Streams are consumed once.
| Field | Type | Presence | References |
|---|---|---|---|
replay_arn |
str | None |
Always present | — |
state |
ReplayStateOutput | None |
Always present | ReplayStateOutput |
state_reason |
str | None |
Always present | — |
replay_start_time |
str | None |
Always present | — |
| None means a value can be absent. Output mappings include every declared key; optional input keys may be omitted. Unknown output enum/union variants are not automatically valid inputs.
Related types
ReplayDestination, StartReplayOutput
Follow these links for nested inputs and outputs; recursive types link back to the same type page.
Pagination and streaming
No generated paginator for this operation.
No output stream.
Errors
Import from rboto_eventbridge.exceptions:
InternalError, InvalidEventPatternError, LimitExceededError, ResourceAlreadyExistsError, ResourceNotFoundError.
Other service failures use the service base error; credential, transport and timeout failures use shared errors.