list_replays
(**kwargs)¶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.
See also: AWS API Documentation
Request Syntax
response = client.list_replays(
NamePrefix='string',
State='STARTING'|'RUNNING'|'CANCELLING'|'COMPLETED'|'CANCELLED'|'FAILED',
EventSourceArn='string',
NextToken='string',
Limit=123
)
dict
Response Syntax
{
'Replays': [
{
'ReplayName': 'string',
'EventSourceArn': 'string',
'State': 'STARTING'|'RUNNING'|'CANCELLING'|'COMPLETED'|'CANCELLED'|'FAILED',
'StateReason': 'string',
'EventStartTime': datetime(2015, 1, 1),
'EventEndTime': datetime(2015, 1, 1),
'EventLastReplayedTime': datetime(2015, 1, 1),
'ReplayStartTime': datetime(2015, 1, 1),
'ReplayEndTime': datetime(2015, 1, 1)
},
],
'NextToken': 'string'
}
Response Structure
(dict) --
Replays (list) --
An array of Replay
objects that contain information about the replay.
(dict) --
A Replay
object that contains details about a replay.
ReplayName (string) --
The name of the replay.
EventSourceArn (string) --
The ARN of the archive to replay event from.
State (string) --
The current state of the replay.
StateReason (string) --
A description of why the replay is in the current state.
EventStartTime (datetime) --
A time stamp for the time to start replaying events. This is determined by the time in the event as described in Time.
EventEndTime (datetime) --
A time stamp for the time to start replaying events. Any event with a creation time prior to the EventEndTime
specified is replayed.
EventLastReplayedTime (datetime) --
A time stamp for the time that the last event was replayed.
ReplayStartTime (datetime) --
A time stamp for the time that the replay started.
ReplayEndTime (datetime) --
A time stamp for the time that the replay completed.
NextToken (string) --
The token returned by a previous call to retrieve the next set of results.
Exceptions
EventBridge.Client.exceptions.InternalException