list_test_sources
async
¶
list_test_sources(
test_id: TestId,
service_arn: Arn,
*,
config_overrides: Optional[Asyncresiliencehubv2ClientConfig] = None,
type: Optional[TestSourceType] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[NextToken] = None,
) -> ListTestSourcesResponse
Lists the monitoring sources attached to a test, optionally filtered by type.
Parameters:
-
test_id(TestId) –The identifier of the test to list sources for.
-
service_arn(Arn) –The ARN of the service the test belongs to.
-
type(Optional[TestSourceType], 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
4543 4544 4545 4546 4547 4548 4549 4550 4551 4552 4553 4554 4555 4556 4557 4558 4559 4560 4561 4562 4563 4564 4565 4566 4567 4568 4569 4570 4571 4572 4573 4574 4575 4576 4577 4578 4579 4580 4581 4582 4583 4584 4585 4586 4587 4588 4589 4590 4591 4592 4593 4594 4595 4596 4597 4598 4599 4600 4601 4602 4603 4604 4605 4606 4607 4608 4609 | |