list_test_run_source_events
async
¶
list_test_run_source_events(
test_run_id: TestRunId,
service_arn: Arn,
source_arn: TestRunSourceArn,
*,
config_overrides: Optional[Asyncresiliencehubv2ClientConfig] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[NextToken] = None,
) -> ListTestRunSourceEventsResponse
Lists the state-change events observed for a test run monitoring source. Events are returned for one source per call, in chronological order.
Parameters:
-
test_run_id(TestRunId) –The identifier of the test run to list source events for.
-
service_arn(Arn) –The ARN of the service the test run belongs to.
-
source_arn(TestRunSourceArn) –The ARN of the monitoring source to list events for, such as the ARN of a CloudWatch alarm. If the source was not monitored during the test run, the response is an empty list.
Raises:
-
AccessDeniedException–Access denied — caller lacks required permissions.
-
InternalServerException–Internal service error.
-
ResourceNotFoundException–Resource not found.
-
ValidationException–Validation error — invalid input parameters.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_resiliencehubv2/_services/async_resiliencehubv2.py
4272 4273 4274 4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 4306 4307 4308 4309 4310 4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 4331 4332 4333 | |