start_replay
¶
start_replay(
replay_name: ReplayName,
event_source_arn: ArchiveArn,
event_start_time: Timestamp,
event_end_time: Timestamp,
destination: ReplayDestination,
*,
config_overrides: Optional[EventBridgeClientConfig] = None,
description: Optional[ReplayDescription] = None,
) -> StartReplayResponse
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.
Parameters:
-
replay_name(ReplayName) –The name of the replay to start.
-
description(Optional[ReplayDescription], default:None) –A description for the replay to start.
-
event_source_arn(ArchiveArn) –The ARN of the archive to replay events from.
-
event_start_time(Timestamp) –A time stamp for the time to start replaying events. Only events that occurred between the
EventStartTimeandEventEndTimeare replayed. -
event_end_time(Timestamp) –A time stamp for the time to stop replaying events. Only events that occurred between the
EventStartTimeandEventEndTimeare replayed. -
destination(ReplayDestination) –A
ReplayDestinationobject that includes details about the destination for the replay.
Raises:
-
InternalException–This exception occurs due to unexpected causes.
-
InvalidEventPatternException–The event pattern is not valid.
-
LimitExceededException–The request failed because it attempted to create resource beyond the allowed service quota.
-
ResourceAlreadyExistsException–The resource you are trying to create already exists.
-
ResourceNotFoundException–An entity that you specified does not exist.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_eventbridge/_services/event_bridge.py
3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 | |