ResilienceHubV2 / Client / list_tests
list_tests¶
- ResilienceHubV2.Client.list_tests(**kwargs)¶
Lists the tests configured for a service.
See also: AWS API Documentation
Request Syntax
response = client.list_tests( serviceArn='string', maxResults=123, nextToken='string' )
- Parameters:
serviceArn (string) –
[REQUIRED]
The ARN of the service to list tests for.
maxResults (integer) – Pagination page size.
nextToken (string) – Pagination token.
- Return type:
dict
- Returns:
Response Syntax
{ 'tests': [ { 'testId': 'string', 'testTemplateArn': 'string', 'serviceArn': 'string', 'totalTestRuns': 123, 'successfulTestRuns': 123, 'creationTime': datetime(2015, 1, 1) }, ], 'nextToken': 'string' }
Response Structure
(dict) –
tests (list) –
The list of test summaries.
(dict) –
Contains summary information about a test.
testId (string) –
The unique identifier of the test.
testTemplateArn (string) –
The ARN of the test template the test was created from.
serviceArn (string) –
The ARN of the service the test belongs to.
totalTestRuns (integer) –
The total number of runs of the test.
successfulTestRuns (integer) –
The number of successful runs of the test.
creationTime (datetime) –
The timestamp when the test was created.
nextToken (string) –
Pagination token.
Exceptions
ResilienceHubV2.Client.exceptions.InternalServerExceptionResilienceHubV2.Client.exceptions.ResourceNotFoundExceptionResilienceHubV2.Client.exceptions.ValidationExceptionResilienceHubV2.Client.exceptions.AccessDeniedException