start_replay
async
¶
start_replay(
replay_name: ReplayName,
event_source_arn: ArchiveArn,
event_start_time: Timestamp,
event_end_time: Timestamp,
destination: ReplayDestination,
*,
config_overrides: Optional[AsyncEventBridgeClientConfig] = 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/async_event_bridge.py
3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 | |