EventBridge / Client / start_replay



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.

See also: AWS API Documentation

Request Syntax

response = client.start_replay(
    EventStartTime=datetime(2015, 1, 1),
    EventEndTime=datetime(2015, 1, 1),
        'Arn': 'string',
        'FilterArns': [
  • ReplayName (string) –


    The name of the replay to start.

  • Description (string) – A description for the replay to start.

  • EventSourceArn (string) –


    The ARN of the archive to replay events from.

  • EventStartTime (datetime) –


    A time stamp for the time to start replaying events. Only events that occurred between the EventStartTime and EventEndTime are replayed.

  • EventEndTime (datetime) –


    A time stamp for the time to stop replaying events. Only events that occurred between the EventStartTime and EventEndTime are replayed.

  • Destination (dict) –


    A ReplayDestination object that includes details about the destination for the replay.

    • Arn (string) – [REQUIRED]

      The ARN of the event bus to replay event to. You can replay events only to the event bus specified to create the archive.

    • FilterArns (list) –

      A list of ARNs for rules to replay events to.

      • (string) –

Return type:



Response Syntax

    'ReplayArn': 'string',
    'StateReason': 'string',
    'ReplayStartTime': datetime(2015, 1, 1)

Response Structure

  • (dict) –

    • ReplayArn (string) –

      The ARN of the replay.

    • State (string) –

      The state of the replay.

    • StateReason (string) –

      The reason that the replay is in the state.

    • ReplayStartTime (datetime) –

      The time at which the replay started.


  • EventBridge.Client.exceptions.ResourceNotFoundException

  • EventBridge.Client.exceptions.ResourceAlreadyExistsException

  • EventBridge.Client.exceptions.InvalidEventPatternException

  • EventBridge.Client.exceptions.LimitExceededException

  • EventBridge.Client.exceptions.InternalException