list_replays
async
¶
list_replays(
*,
config_overrides: Optional[AsyncCloudWatchEventsClientConfig] = None,
name_prefix: Optional[ReplayName] = None,
state: Optional[ReplayState] = None,
event_source_arn: Optional[Arn] = 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[Arn], 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 to retrieve the next set of results.
-
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_cloudwatch_events/_services/async_cloud_watch_events.py
2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 | |