list_replays
¶
list_replays(
*,
config_overrides: Optional[EventBridgeClientConfig] = None,
name_prefix: Optional[ReplayName] = None,
state: Optional[ReplayState] = None,
event_source_arn: Optional[ArchiveArn] = None,
next_token: Optional[NextToken] = None,
limit: Optional[LimitMax100] = None,
) -> ListReplaysResponse
Lists your replays. You can either list all the replays or you can provide a prefix to match to the replay names. Filter parameters are exclusive.
Parameters:
-
name_prefix(Optional[ReplayName], default:None) –A name prefix to filter the replays returned. Only replays with name that match the prefix are returned.
-
state(Optional[ReplayState], default:None) –The state of the replay.
-
event_source_arn(Optional[ArchiveArn], default:None) –The ARN of the archive from which the events are replayed.
-
next_token(Optional[NextToken], default:None) –The token returned by a previous call, which you can use to retrieve the next set of results.
The value of
nextTokenis a unique pagination token for each page. To retrieve the next page of results, make the call again using the returned token. Keep all other arguments unchanged.Using an expired pagination token results in an
HTTP 400 InvalidTokenerror. -
limit(Optional[LimitMax100], default:None) –The maximum number of replays to retrieve.
Raises:
-
InternalException–This exception occurs due to unexpected causes.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_eventbridge/_services/event_bridge.py
2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 | |