list_test_run_sources
async
¶
list_test_run_sources(
test_run_id: TestRunId,
service_arn: Arn,
*,
config_overrides: Optional[Asyncresiliencehubv2ClientConfig] = None,
type: Optional[TestRunSourceType] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[NextToken] = None,
) -> ListTestRunSourcesResponse
Lists the monitoring source snapshots captured for a test run, optionally filtered by type.
Parameters:
-
test_run_id(TestRunId) –The identifier of the test run to list sources for.
-
service_arn(Arn) –The ARN of the service the test run belongs to.
-
type(Optional[TestRunSourceType], default:None) –Filter sources by type.
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
4364 4365 4366 4367 4368 4369 4370 4371 4372 4373 4374 4375 4376 4377 4378 4379 4380 4381 4382 4383 4384 4385 4386 4387 4388 4389 4390 4391 4392 4393 4394 4395 4396 4397 4398 4399 4400 4401 4402 4403 4404 4405 4406 4407 4408 4409 4410 4411 4412 4413 4414 4415 4416 4417 4418 4419 4420 4421 4422 4423 4424 4425 4426 4427 4428 | |