list_test_run_source_events
¶
list_test_run_source_events(
test_run_id: TestRunId,
service_arn: Arn,
source_arn: TestRunSourceArn,
*,
config_overrides: Optional[resiliencehubv2ClientConfig] = 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/resiliencehubv2.py
4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 4236 4237 4238 4239 4240 4241 4242 4243 4244 4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 4255 4256 4257 4258 4259 4260 4261 4262 4263 4264 4265 4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 4277 | |